@php $linhas = count($info->ITENS);
@php $valorOutrosDebitos = 0; @php $valorOutrosCreditos = 0; @php $deducoes = 0; @php $valorOutrosDebitosApur = 0; @php $valorEstornoCreditosApur = 0; @php $valorOutrosCreditosApur = 0; @php $valorEstornoDebitosApur = 0; @php $deducoesApur = 0; @foreach($info->OUTROS_DEBITOS as $item) @php $valorOutrosDebitos = $valorOutrosDebitos + $item->VALOR; @endforeach @foreach($info->OUTROS_CREDITOS as $item) @php $valorOutrosCreditos = $valorOutrosCreditos + $item->VALOR; @endforeach @foreach($info->DEDUCOES as $item) @php $deducoes = $deducoes + $item->VALOR; @endforeach @foreach($info->OUTROS_DEBITOS_APUR as $item) @php $valorOutrosDebitosApur = $valorOutrosDebitosApur + $item->VALOR; @endforeach @foreach($info->ESTORNO_CREDITOS_APUR as $item) @php $valorEstornoCreditosApur = $valorEstornoCreditosApur + $item->VALOR; @endforeach @foreach($info->OUTROS_CREDITOS_APUR as $item) @php $valorOutrosCreditosApur = $valorOutrosCreditosApur + $item->VALOR; @endforeach @foreach($info->ESTORNO_DEBITOS_APUR as $item) @php $valorEstornoDebitosApur = $valorEstornoDebitosApur + $item->VALOR; @endforeach @foreach($info->DEDUCOES_APUR as $item) @php $deducoesApur = $deducoesApur + $item->VALOR; @endforeach
Tipo Ocorrência Valor
Outros Débitos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorOutrosDebitos, 2, ',' , '.') }}
Outros Créditos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorOutrosCreditos, 2, ',' , '.') }}
Deduções
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($deducoes, 2, ',' , '.') }}
Resumo da Apuração de ICMS
Outros Débitos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorOutrosDebitosApur, 2, ',' , '.') }}
Estorno Créditos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorEstornoCreditosApur, 2, ',' , '.') }}
Outros Créditos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorOutrosCreditosApur, 2, ',' , '.') }}
Estorno Débitos
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($valorEstornoDebitosApur, 2, ',' , '.') }}
Deduções
{{$item->DESCRICAO}} R$ {{ number_format($item->VALOR, 2, ',' , '.') }}
Total: R$ {{ number_format($deducoesApur, 2, ',' , '.') }}