@endif
Periodo: {{$data_inicial}} - {{$data_final}}
@endif| Data | Vendas | Contas a receber | Conta crédito | Conta a pagar | Resultado |
|---|---|---|---|---|---|
| {{$f['data']}} | Total R$ {{number_format($f['venda']+$f['venda_caixa'], 2, ',', '.')}} |
R$ {{number_format($f['conta_receber'], 2, ',', '.')}} | R$ {{number_format($f['credito_venda'], 2, ',', '.')}} | R$ {{number_format($f['conta_pagar'], 2, ',', '.')}} |
@if($resultado > 0)
R$ {{number_format($resultado, 2, ',', '.')}}@elseif($resultado == 0)R$ {{number_format($resultado, 2, ',', '.')}}@elseR$ {{number_format($resultado, 2, ',', '.')}}@endif |
@php
$totalVenda += $f['venda']+$f['venda_caixa'];
$totalContaReceber += $f['conta_receber'];
$totalContaPagar += $f['conta_pagar'];
$totalCredito += $f['credito_venda'];
$totalResultado += $resultado;
@endphp