| |
|
MOVIMIENTOS DEL PERIODO |
|
| CUENTA |
SALDO INICIAL |
CARGOS |
ABONOS |
SALDO ACTUAL |
@foreach ($data as $cuenta)
| {{ $cuenta['concept'] }}
|
{{ $cuenta['initial_credit'] >= 0 ? '$' . number_format($cuenta['initial_credit'], 2) : '-$' . number_format($cuenta['initial_credit'] * -1, 2) }}
|
{{ $cuenta['period_charges'] >= 0 ? '$' . number_format($cuenta['period_charges'], 2) : '-$' . number_format($cuenta['period_charges'] * -1, 2) }}
|
{{ $cuenta['period_credit'] >= 0 ? '$' . number_format($cuenta['period_credit'], 2) : '-$' . number_format($cuenta['period_credit'] * -1, 2) }}
|
{{ $cuenta['final_credit'] >= 0 ? '$' . number_format($cuenta['final_credit'], 2) : '-$' . number_format($cuenta['final_credit'] * -1, 2) }}
|
@endforeach
| TOTALES |
{{ $total_initial_credit >= 0 ? '$' . number_format($total_initial_credit, 2) : '-$' . number_format($total_initial_credit * -1, 2) }}
|
{{ $total_period_charges >= 0 ? '$' . number_format($total_period_charges, 2) : '-$' . number_format($total_period_charges * -1, 2) }}
|
{{ $total_period_credit >= 0 ? '$' . number_format($total_period_credit, 2) : '-$' . number_format($total_period_credit * -1, 2) }}
|
{{ $total_final_credit >= 0 ? '$' . number_format($total_final_credit, 2) : '-$' . number_format($total_final_credit * -1, 2) }}
|