Relátorio de Fluxo de Caixa

@foreach($fluxo as $key => $f) @endforeach
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, ',', '.')}}
@else
R$ {{number_format($resultado, 2, ',', '.')}}
@endif
SOMATÓRIO R$ {{number_format($totalVenda, 2, ',', '.')}} R$ {{number_format($totalContaReceber, 2, ',', '.')}} R$ {{number_format($totalCredito, 2, ',', '.')}} R$ {{number_format($totalContaPagar, 2, ',', '.')}} R$ {{number_format($totalResultado, 2, ',', '.')}}