@foreach($info->ITENS as $item)
{{ $item->ESPECIE }} |
{{ $item->SERIE }} |
{{ $item->DESC_NUMERO }} |
{{ $item->DIA_EMISSAO }} |
{{ $item->EMPRESA_UF }} |
{{ number_format($item->VALOR_CONTABIL, 2, ',' , '.') }} |
|
{{ $item->OBSERVACAO }} |
@php $valorContabil = $valorContabil + $item->VALOR_CONTABIL;
|
@foreach($item->DETALHAMENTO_ITEM as $detItem)
@php $baseCalculoIcms = $baseCalculoIcms + $detItem->BASECALCULO_ICMS;
@php $baseCalculoIpi = $baseCalculoIpi + $detItem->BASECALCULO_IPI;
@php $impostoDebitadoIcms = $impostoDebitadoIcms + $detItem->IMPOSTO_ICMS;
@php $impostoDebitadoIpi = $impostoDebitadoIpi + $detItem->IMPOSTO_IPI;
@php $isentasIcms = $isentasIcms + $detItem->ISENTAS_ICMS;
@php $isentasIpi = $isentasIcms + $detItem->ISENTAS_IPI;
@php $outrasIcms = $outrasIcms + $detItem->OUTRAS_ICMS;
@php $outrasIpi = $outrasIpi + $detItem->OUTRAS_IPI;
{{ number_format($detItem->VALOR_CONTABIL, 2, ',' , '.') }} |
{{ $detItem->CFOP_CODIGO }} |
ICMS |
{{ number_format($detItem->BASECALCULO_ICMS, 2, ',' , '.') }} |
{{ number_format($detItem->ALIQUOTA_ICMS, 2, ',' , '.') }} |
{{ number_format($detItem->IMPOSTO_ICMS, 2, ',' , '.') }} |
{{ number_format($detItem->ISENTAS_ICMS, 2, ',' , '.') }} |
{{ number_format($detItem->OUTRAS_ICMS, 2, ',' , '.') }} |
|
IPI |
{{ number_format($detItem->BASECALCULO_IPI, 2, ',' , '.') }} |
{{ number_format($detItem->ALIQUOTA_IPI, 2, ',' , '.') }} |
{{ number_format($detItem->IMPOSTO_IPI, 2, ',' , '.') }} |
{{ number_format($detItem->ISENTAS_IPI, 2, ',' , '.') }} |
{{ number_format($detItem->OUTRAS_IPI, 2, ',' , '.') }} |
|
@endforeach
|
@endforeach
Totalizadores: |
{{ number_format($valorContabil, 2, ',' , '.') }} |
|
ICMS |
{{ number_format($baseCalculoIcms, 2, ',' , '.') }} |
|
{{ number_format($impostoDebitadoIcms, 2, ',' , '.') }} |
{{ number_format($isentasIcms, 2, ',' , '.') }} |
{{ number_format($outrasIcms, 2, ',' , '.') }} |
|
IPI |
{{ number_format($baseCalculoIpi, 2, ',' , '.') }} |
|
{{ number_format($impostoDebitadoIpi, 2, ',' , '.') }} |
{{ number_format($isentasIpi, 2, ',' , '.') }} |
{{ number_format($outrasIpi, 2, ',' , '.') }} |
|