{% load utils %}
| ID | Name | Contact | Current Balance |
|---|---|---|---|
| {{ doctor.id }} | {{ doctor.name }} | {{ doctor.contact }} | {{ net_balance }} |
The Balance is from: {{ from_date|custom_date_format }} To {{ to_date|custom_date_format }}
| No # | Date | Details | Previous Balance | Credit | Debit | Balance |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ balance.placed_at|date:'Y-m-d' }} | {{ balance.details }} | {{ balance.previous_balance }} | {{ balance.credit }} | {{ balance.debit }} | {{ balance.current_balance }} |
| Total (the amounts are in AFN) | {{ total_credit }} | {{ total_debit }} | {{ net_balance }} | |||