From 915fcc0166217bdf84344495fab0df4d08c945e1 Mon Sep 17 00:00:00 2001 From: Shllokkk Date: Sun, 12 Apr 2026 13:07:41 +0530 Subject: [PATCH] fix: minor changes in print template --- .../accounts_payable/accounts_payable.html | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/erpnext/accounts/report/accounts_payable/accounts_payable.html b/erpnext/accounts/report/accounts_payable/accounts_payable.html index 46b40017034..a1b03dad5a8 100644 --- a/erpnext/accounts/report/accounts_payable/accounts_payable.html +++ b/erpnext/accounts/report/accounts_payable/accounts_payable.html @@ -78,6 +78,10 @@ font-weight: 500; } + .report-subtitle { + margin: 10px 0 14px; + } + @media print { @page { size: A4; @@ -92,31 +96,34 @@
-
{%= __(report.report_name) %}
- -
-
-
- {%= __("Supplier") %}: - {%= (filters.party.length && filters.party.join(", ")) || __("All Parties") %} + {% if (subtitle && subtitle.trim()) { %} +
+ {{ subtitle }} +
+ {% } else { %} +
+
+
+ {%= __("Supplier") %}: + {%= (filters.party.length && filters.party.join(", ")) || __("All Parties") %} +
+
+ +
+
+ {%= __("Report Date") %}: + {%= frappe.datetime.str_to_user(filters.report_date) %} +
+ {% } %} -
-
- {%= __("Report Date") %}: - {%= frappe.datetime.str_to_user(filters.report_date) %} -
-
-
- -