@extends('default.layout') @section('content')
NF-e | Cliente | Valor | Tipo de pagamento | Data |
---|---|---|---|---|
{{$x->NfNumero}} | {{$x->cliente->razao_social}} | {{number_format($x->valor_total, 2, ',', '.')}} | {{$x->getTipoPagamento($x->tipo_pagamento)}} | {{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}} |
DINHEIRO | {{ number_format($total_nfe_dinheiro, 2, ',', '.') }} | |||
CHEQUE | {{ number_format($total_nfe_cheque, 2, ',', '.') }} | |||
CARTAO CREDITO | {{ number_format($total_nfe_credito, 2, ',', '.') }} | |||
CARTAO DEBITO | {{ number_format($total_nfe_debito, 2, ',', '.') }} | |||
PRAZO (Crédito Loja) | {{ number_format($total_nfe_prazo, 2, ',', '.') }} | |||
OUTROS | {{ number_format($total_nfe_outros, 2, ',', '.') }} | |||
TOTAL | {{ number_format($total_nfe, 2, ',', '.') }} |
NFC-e | Cliente | Valor | Tipo de pagamento | Data | ||
---|---|---|---|---|---|---|
{{$x->NFcNumero}} | @if($x->cliente){{$x->cliente->razao_social}} | @elseNAO IDENTIFICADO | @endif{{number_format($x->valor_total, 2, ',', '.')}} | @if($x->tipo_pagamento == 99 && ($x->valor_pagamento_1 > 0 || $x->valor_pagamento_2 > 0 || $x->valor_pagamento_3 > 0) )
@if($x->valor_pagamento_1 > 0)
{{ $x->tipo_pagamento_1.' ..: R$ '.$x->valor_pagamento_1 }}
@endif @if($x->valor_pagamento_2 > 0) {{ $x->tipo_pagamento_2.' ..: R$ '.$x->valor_pagamento_2 }} @endif @if($x->valor_pagamento_3 > 0) {{ $x->tipo_pagamento_3.' ..: R$ '.$x->valor_pagamento_3 }} @endif |
@else
{{$x->getTipoPagamento($x->tipo_pagamento)}} | @endif{{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}} |
DINHEIRO | {{ number_format($total_nfce_dinheiro, 2, ',', '.') }} | |||||
CHEQUE | {{ number_format($total_nfce_cheque, 2, ',', '.') }} | |||||
CARTAO CREDITO | {{ number_format($total_nfce_credito, 2, ',', '.') }} | |||||
CARTAO DEBITO | {{ number_format($total_nfce_debito, 2, ',', '.') }} | |||||
PRAZO (Crédito Loja) | {{ number_format($total_nfce_prazo, 2, ',', '.') }} | |||||
OUTROS | {{ number_format($total_nfce_outros, 2, ',', '.') }} | |||||
TOTAL | {{ number_format($total_nfce, 2, ',', '.') }} |
Forma de Pagamento | |
---|---|
DINHEIRO | {{ number_format($total_nfe_dinheiro +$total_nfce_dinheiro, 2, ',', '.') }} |
CHEQUE | {{ number_format($total_nfe_cheque + $total_nfce_cheque, 2, ',', '.') }} |
CARTAO CREDITO | {{ number_format($total_nfe_credito + $total_nfce_credito, 2, ',', '.') }} |
CARTAO DEBITO | {{ number_format($total_nfe_debito + $total_nfce_debito, 2, ',', '.') }} |
PRAZO (Crédito Loja) | {{ number_format($total_nfe_prazo + $total_nfce_prazo, 2, ',', '.') }} |
OUTROS | {{ number_format($total_nfe_outros + $total_nfce_outros, 2, ',', '.') }} |
TOTAL | {{ number_format($total_nfe + $total_nfce, 2, ',', '.') }} |