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) %} -
-
-
- -