@extends('relatorios.v2.base') @section('report_name') Relátorio de Venda {{$data_inicial}} @endsection @section('style') @endsection @section('content')
@foreach($vendas as $v) @endforeach
VENDA ID HORA DA VENDA ITENS TOTAL
#{{$v['id']}} {{$v['data']}}
    @foreach($v['itens'] as $i)
  1. {{$i->produto->nome}}

    {{$i->quantidade}} ({{$i->produto->unidade_venda}}) x R$ {{number_format($i->valor, 2, ',', '.')}} = R$ {{number_format(($i->quantidade * $i->valor), 2, ',', '.')}}

  2. @if(!$loop->last)
    @endif @endforeach
{{number_format($v['total'], 2)}}

Total de vendas: {{$inc}}

Valor Total: R$ {{number_format($soma, 2)}}

@endsection