@props(['rows','real'=>false])
| Cuota | Fecha | Balance inicial | Capital | Interés | Cargos | Seguro | Total | @if($real)Pagado | Estado | @endifBalance final |
|---|---|---|---|---|---|---|---|---|---|---|
| {{$real?$row->installment_number:$row['number']}} | {{$real?$row->due_date->format('d/m/Y'):$row['due_date']}} | RD$ {{$real?$row->opening_balance:$row['opening_balance']}} | RD$ {{$real?$row->principal_due:$row['principal']}} | RD$ {{$real?$row->interest_due:$row['interest']}} | RD$ {{$real?$row->fees_due:$row['fees']}} | RD$ {{$real?$row->insurance_due:$row['insurance']}} | RD$ {{$real?$row->total_due:$row['total']}} | @if($real)RD$ {{$row->amount_paid}} | {{$row->statusLabel()}} | @endifRD$ {{$real?$row->closing_balance:$row['closing_balance']}} |