{!! Form::open()
->post()
->route('frenteCaixa.fecharPost')
!!}
@php
$estado = $abertura == null ? false : true;
@endphp
@if($estado)
@if(sizeof($caixa) > 0)
@endif
@endif
@php
$somaDinheiro = 0;
@endphp
@if(sizeof($caixa) > 0)
@php
if($key == '01') $somaDinheiro = $tp;
@endphp
@endif
@endforeach
@endif
@php
$somaSuprimento = 0;
$somaSangria = 0;
@endphp
@if(sizeof($caixa) > 0)
@endif
@if($estado)
@if( sizeof($caixa['vendas']) == 0)
{!! Form::close() !!}
Estado: @if($estado) Caixa aberto @if(empresaComFilial()) @if($abertura->filial) Local: {{ $abertura->filial->descricao}} @endif @endif @else Caixa fechado @endif
Total de vendas: {{ sizeof($caixa['vendas']) }}
Valor de abertura: {{ __moeda($abertura->valor) }}
Total por tipo de pagamento:
@foreach($caixa['somaTiposPagamento'] as $key => $tp) @if($tp > 0){{App\Models\VendaCaixa::getTipoPagamento($key)}}
R$ {{ __moeda($tp) }}
| Cliente | Data | Tipo de pagamento | Estado | Nfce/Nfe | Tipo | Valor |
|---|---|---|---|---|---|---|
| {{ $item->cliente->razao_social ?? 'Consumidor' }} | {{ $item->created_at }} | @if($item->tipo_pagamento == '99') Outros @else {{$item->getTipoPagamento($item->tipo_pagamento)}} @endif | {{ $item->estado }} {{ $item->estado_emissao }} | {{ $item->NFcNumero }} {{ $item->numero_nfe }} | {{ $item->tipo }} | {{ __moeda($item->valor_total) }} |
| Nada encontrado | ||||||