@if($origem =='s')
LIVRO DE SAÍDAS
@endif
@if($origem =='e')
LIVRO DE ENTRADAS
@endif
@if($origem =='')
LIVRO DE ENTRADAS E SAÍDA
@endif
@if(isset($comprasNfe) && count($comprasNfe) > 0)
Total de NF-e: {{count($comprasNfe)}}
NF-e |
Fornecedor |
Valor |
Data Contábil |
@foreach($comprasNfe as $x)
{{$x->nf}} |
{{$x->fornecedor->razao_social}} |
{{number_format($x->valor, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($x->data_contabil)->format('d/m/Y')}} |
@endforeach
|
@foreach($CFOPCompras as $c)
| CFOP | {{$c->cfop_entrada}} | {{number_format($c->total, 2, ',', '.')}} |
@endforeach
| | TOTAL | {{ number_format($total_nfe, 2, ',', '.') }} |
@endif
@if(isset($vendasNfe) && count($vendasNfe) > 0)
Total de NF-e: {{count($vendasNfe)}}
NF-e |
Cliente |
Valor |
Data Contábil |
@foreach($vendasNfe as $x)
{{$x->NfNumero}} |
{{$x->cliente->razao_social}} |
{{number_format($x->valor_total, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}} |
@endforeach
|
@foreach($CFOPvendas as $v)
| CFOP | {{$v->cfop_saida}} | {{number_format($v->total, 2, ',', '.')}} |
@endforeach
| | TOTAL | {{ number_format($total_nfe, 2, ',', '.') }} |
@endif
@if(isset($vendasNfce) && count($vendasNfce) > 0)
Total de NFC-e: {{count($vendasNfce)}}
NFC-e |
Cliente |
Valor |
Data Contábil |
@foreach($vendasNfce as $x)
{{$x->NFcNumero}} |
@if($x->cliente)
{{$x->cliente->razao_social}} |
@else
NAO IDENTIFICADO |
@endif
{{number_format($x->valor_total, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}} |
@endforeach
|
@foreach($CFOPvendascaixa as $vi)
| CFOP | {{$vi->cfop_saida}} | {{number_format($vi->total, 2, ',', '.')}} |
@endforeach
| | TOTAL | {{ number_format($total_nfce, 2, ',', '.') }} |
@endif
@if(isset($vendasNfe) && isset($vendasNfce) && count($vendasNfe) > 0 && count($vendasNfce) > 0)
Total Geral:
CFOP |
|
@foreach($CFOPvendas as $v)
NF-e - {{$v->cfop_saida}} | {{number_format($v->total, 2, ',', '.')}} |
@endforeach
@foreach($CFOPvendascaixa as $vi)
NFC-e - {{$vi->cfop_saida}} | {{number_format($vi->total, 2, ',', '.')}} |
@endforeach
TOTAL | {{ number_format($total_nfe + $total_nfce, 2, ',', '.') }} |
@endif
@if(isset($vendasNfe) && isset($vendasNfce) && count($vendasNfe) == 0 && count($vendasNfce) == 0 || isset($comprasNfe) && count($comprasNfe) == 0)
Nenhum movimento encontrado
@endif
@if(isset($vendasNfe) && count($vendasNfe) > 0 || isset($vendasNfce) && count($vendasNfce) > 0 || isset($comprasNfe) && count($comprasNfe) > 0)
@endif