From 7af5c4aefcab3873706a88c28edad05602086300 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 8 Dec 2015 14:25:10 +0530 Subject: [PATCH] [fix] Print format for bank reco statement --- .../bank_reconciliation_statement.html | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) 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")] %}

{%= __("Bank Reconciliation Statement") %}

-

{%= filters.account && (filters.account + ", ") || "" %} {%= filters.company %}

+

{%= filters.account %}


@@ -16,31 +16,31 @@ {% for(var i=0, l=data.length; i - - - + + - - + + {% } else { %} - - - + + + {% } %} {% } %}
{%= 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"]) %}
{%= 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"]) %}