diff --git a/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.html b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.html index d74938327e..ee77085ca5 100644 --- a/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.html +++ b/erpnext/accounts/report/bank_reconciliation_statement/bank_reconciliation_statement.html @@ -2,7 +2,7 @@ {%= frappe.boot.letter_heads[frappe.defaults.get_default("letter_head")] %}
| {%= dateutil.str_to_user(data[i][__("Posting Date")]) %} | -{%= data[i][__("Journal Entry")] %} | -{%= __("Against") %}: {%= data[i][__("Against Account")] %}
- {% if (data[i][__("Reference")]) { %}
- {%= __("Reference") %}: {%= data[i][__("Reference")] %} - {% if (data[i][__("Ref Date")]) { %} - {%= __("Reference Date") %}: {%= dateutil.str_to_user(data[i][__("Ref Date")]) %} + | {%= dateutil.str_to_user(data[i]["posting_date"]) %} | +{%= data[i]["journal_entry"] %} | +{%= __("Against") %}: {%= data[i]["against_account"] %}
+ {% if (data[i]["reference"]) { %}
+ {%= __("Reference") %}: {%= data[i]["reference"] %} + {% if (data[i]["ref_date"]) { %} + {%= __("Reference Date") %}: {%= dateutil.str_to_user(data[i]["ref_date"]) %} {% } %} {% } %} - {% if (data[i][__("Clearance Date")]) { %} - {%= __("Clearance Date") %}: {%= dateutil.str_to_user(data[i][__("Clearance Date")]) %} + {% if (data[i]["clearance_date"]) { %} + {%= __("Clearance Date") %}: {%= dateutil.str_to_user(data[i]["clearance_date"]) %} {% } %} |
- {%= format_currency(data[i][__("Debit")]) %} | -{%= format_currency(data[i][__("Credit")]) %} | +{%= format_currency(data[i]["debit"]) %} | +{%= format_currency(data[i]["credit"]) %} | {% } else { %}
| - | {%= data[i][__("Journal Entry")] %} | -{%= format_currency(data[i][__("Debit")]) %} | -{%= format_currency(data[i][__("Credit")]) %} | +{%= data[i]["journal_entry"] %} | +{%= format_currency(data[i]["debit"]) %} | +{%= format_currency(data[i]["credit"]) %} |