Relátorio de Lucro
@if($data_inicial && $data_final)
Periodo: {{$data_inicial}} - {{$data_final}}
@endif
DATA
LUCRO PDV
LUCRO VENDA NF-e
SOMA
@foreach($lucros as $key => $v)
{{$v['data']}}
{{number_format($v['valor_caixa'], 2)}}
{{number_format($v['valor'], 2)}}
{{number_format($v['valor'] + $v['valor_caixa'], 2)}}
@endforeach
Total lucro:
R$ {{number_format($somaLucro, 2)}}