From 054468a5eff3d583827661992aeddc23091bfa0c Mon Sep 17 00:00:00 2001 From: diptanilsaha Date: Tue, 7 Oct 2025 16:04:23 +0530 Subject: [PATCH] fix(process statement of accounts): naming of reports (cherry picked from commit 4a4c2188ec5818c02ee83d34e5f2ef25e450c89a) # Conflicts: # erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.html # erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts_accounts_receivable.html --- .../process_statement_of_accounts.html | 4 ++ ...ement_of_accounts_accounts_receivable.html | 54 +++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.html b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.html index 81ebf9744c4..a4d0245fc45 100644 --- a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.html +++ b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.html @@ -13,7 +13,11 @@ {% endif %} +<<<<<<< HEAD

{{ _("STATEMENTS OF ACCOUNTS") }}

+======= +

{{ _("GENERAL LEDGER") }}

+>>>>>>> 4a4c2188ec (fix(process statement of accounts): naming of reports)
{% if filters.party[0] == filters.party_name[0] %}
{{ _("Customer: ") }} {{ filters.party_name[0] }}
diff --git a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts_accounts_receivable.html b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts_accounts_receivable.html index 526c5b01437..5b0e2c08db2 100644 --- a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts_accounts_receivable.html +++ b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts_accounts_receivable.html @@ -8,10 +8,64 @@ } +<<<<<<< HEAD
{% if letter_head.content %}
{{ letter_head.content }}

+======= +
+ {% if letter_head.content %} +
{{ letter_head.content }}
+
+ {% endif %} +
+ + +

{{ _("STATEMENT OF ACCOUNTS") }}

+

+ {{ filters.customer_name }} +

+
+ {% if (filters.tax_id) %} + {{ _("Tax Id: {0}").format(filters.tax_id) }} + {% endif %} +
+
+ {{ _("{0} until {1}").format( + _(filters.ageing_based_on), + frappe.format(filters.report_date, 'Date') + ) }} +
+ +
+
+ {% if(filters.payment_terms) %} + {{ _("Payment Terms:") }} {{ filters.payment_terms }} + {% endif %} +
+
+ {% if(filters.credit_limit) %} + {{ _("Credit Limit:") }} {{ frappe.utils.fmt_money(filters.credit_limit) }} + {% endif %} +
+
+ +{% if(filters.show_future_payments)%} + {% set balance_row = data[-1] %} + + {% set ns = namespace(idx=None) %} + {% for i in report.columns %} + {% if i.fieldname == "age" and ns.idx is none %} + {% set ns.idx = loop.index0 %} +>>>>>>> 4a4c2188ec (fix(process statement of accounts): naming of reports) {% endif %}