Total de vendas: {{sizeof($vendas)}}
@if($abertura != null)Inicio do caixa: {{ \Carbon\Carbon::parse($abertura->created_at)->format('d/m/Y H:i:s')}}
Total por tipo de pagamento:
@foreach($somaTiposPagamento as $key => $tp)
@if($tp > 0)
@endif
@endforeach
{{App\Models\VendaCaixa::getTipoPagamento($key)}}
R$ {{number_format($tp, 2, ',', '.')}}
| Cliente | Data | Tipo de pagamento | Estado | NFCe/NFe | Tipo | Valor | |
|---|---|---|---|---|---|---|---|
| {{ $v->cliente->razao_social ?? 'NAO IDENTIFCADO' }} | {{ \Carbon\Carbon::parse($v->created_at)->format('d/m/Y H:i:s')}} | @if($v->tipo_pagamento == '99') Ver @else {{$v->getTipoPagamento($v->tipo_pagamento)}} @endif | {{ $v->estado }} | @if($v->tipo == 'PDV'){{ $v->NFcNumero > 0 ? $v->NFcNumero : '--' }} | @else{{ $v->NfNumero > 0 ? $v->NfNumero : '--' }} | @endif{{ $v->tipo }} | {{ number_format($v->valor_total, 2, ',', '.') }} | @php if(!$v->consignado && !$v->rascunho) $soma += $v->valor_total; @endphp
@if(sizeof($vendas) == 0)