@foreach ($data as $key => $row) @if ($i == 21) @endif @endforeach

FECHA

No. DE EVENTO

TIPO PÓLIZA / OPERACIÓN

PÓLIZA

DESCRIPCIÓN

MONTO

SALDO

DEBE

HABER

{{ $row['policy_date'] }}

{{ $row['event_code'] }}

{{ $row['type'] }}

{{ $row['invoice'] }}

{{ strlen($row['policy_concept']) > 90 ? substr($row['policy_concept'], 0, 87) . '...' : $row['policy_concept'] }}

{{ '$' . number_format($row['cargo'], 2) }} {{ '$' . number_format($row['abono'], 2) }} {{ '$' . number_format($row['calculated_balance'], 2) }}

SUBTOTAL

${{ number_format($subtotal_cargo, 2) }}

${{ number_format($subtotal_abono, 2) }}

${{ number_format($subtotal_saldo, 2) }}

SUBTOTAL

${{ number_format($subtotal_charge, 2) }}

${{ number_format($subtotal_credit, 2) }}

 

TOTAL

${{ number_format($saldo_total,2) }}