@foreach ($data as $cuenta) @endforeach
    MOVIMIENTOS DEL PERIODO  
CUENTA SALDO INICIAL CARGOS ABONOS SALDO ACTUAL
{{ $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) }}
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) }}