@extends('relatorios.v2.base') @section('report_name', 'Relátorio de Lucro') @section('report_name_subtitle') @if($data_inicial && $data_final)

Periodo: {{$data_inicial}} - {{$data_final}}

@endif @endsection @section('content')
@foreach($lucros as $v) @endforeach
DATA LUCRO PDV LUCRO VENDA NF-e SOMA
{{$v['data']}} R$ {{number_format($v['valor_caixa'], 2)}} R$ {{number_format($v['valor'], 2)}} R$ {{number_format($v['valor'] + $v['valor_caixa'], 2)}}

Total lucro: R$ {{number_format($somaLucro, 2)}}

@endsection