Usuário: {{ isset($usuario) ? $usuario->name : '' }}
{{ isset($usuario) ? $usuario->email : ''}}

Relatório de Caixa

Data de início {{ isset($inicio) ? $inicio : '' }} Data Fim {{ isset($fim) ? $fim : ''}}

@if(isset($caixa)) @php $subtotal = 0; $total = 0; @endphp @if(count($caixa) > 0) @php $subtotal = 0; @endphp @foreach($caixa as $i => $cx ) @php $data = new DateTime($cx->created_at); $subtotal += $cx->saldo; @endphp @endforeach @php $total += $subtotal; @endphp @else @endif @endif
{{ $data->format('d/m/Y H:m:s') }} {{ $cx->acao }}
{{ $cx->saldo }}
NÃO HÁ NADA PARA EXIBIR
Total R${{ number_format($total,2,',','') }}