Folhas de Caixa

@if($permissao->criar_folha_caixa) Criar @endif
@foreach ($folhas as $folha) @endforeach
Data Turno Vendas Declarado Depósito Ação
{{ date('d/m/Y', strtotime($folha->data_folha_caixa)) }} {{ $folha->turno }}
{{ explode(' ', $folha->operadores_postos->nome_operador ?? '-')[0] }}
{{ number_format($folha->total_vendas, 2, ',', '.') }} € {{ number_format($folha->formas_pagamento_folha->sum('total_bruto'), 2, ",", ".") }} € @php $dataDeposito = $folha->formas_pagamento_folha->where('formaPagamento.nome_forma_pagamento', 'Numerário')->first(); @endphp @if($dataDeposito && $dataDeposito->data_programada_deposito) {{ date('d/m', strtotime($dataDeposito->data_programada_deposito)) }} @else - @endif