{{ date('d/m/Y', strtotime($item->fecha)) }} |
{{-- {{ $item->tipo }} | --}}
{{$item->file_code}}
|
@if ($item->tipo_documento_id == 1)
CCF -
@endif
@if ($item->tipo_documento_id == 2)
FE -
@endif
@if ($item->tipo_documento_id == 3)
CF -
@endif
@if ($item->tipo_documento_id == 4)
NC -
@endif
@if ($item->tipo_documento_id == 5)
FSE -
@endif
@if ($item->tipo_documento_id == 6)
Q -
@endif
@if ($item->tipo_documento_id == 6)
ND -
@endif
{{$item->documento_code }}
@if($item->anulada == 1)
-ANULADO
@endif
|
@if($item->tipo_documento_id != 4)
{{ date('d/m/Y', strtotime($item->fechaDoc)) }}
@endif
|
{{-- $
| --}}
@if ($item->tipo != 'abono')
$
@php
$total_cargos+=$item->montoT;
@endphp
@else
$
@endif
|
@if ($item->tipo == 'abono')
$
@php
$total_abonos+=$item->montoT;
@endphp
@else
$
@endif
|
@if ($item->tipo == 'abono')
$
@else
$
@endif
@php
$total_saldos +=$saldo;
@endphp
|
@php
$i++;
@endphp
@endforeach