diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html index 75c3e8c2054..f463c075793 100644 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html @@ -4,7 +4,7 @@
| {%= __("Date") %} | {%= __("Ref") %} | {%= __("Party") %} | @@ -30,7 +30,7 @@{%= dateutil.str_to_user(data[i][__("Posting Date")]) %} | {%= data[i][__("Voucher Type")] %} @@ -38,21 +38,21 @@ | {%= data[i][__("Customer Name")] || data[i][__("Customer")] || data[i][__("Supplier Name")] || data[i][__("Supplier")] %}
{%= __("Remarks") %}: {%= data[i][__("Remarks")] %} |
- {%= format_currency(data[i][__("Invoiced Amount")], data[i]["currency"]) %} | + {%= format_currency(data[i]["Invoiced Amount"], data[i]["currency"]) %}- {%= format_currency(data[i][__("Paid Amount")], data[i]["currency"]) %} | + {%= format_currency(data[i]["Paid Amount"], data[i]["currency"]) %}- {%= format_currency(data[i][__("Outstanding Amount")], data[i]["currency"]) %} | + {%= format_currency(data[i]["Outstanding Amount"], data[i]["currency"]) %} {% } else { %}{%= __("Total") %} | - {%= format_currency(data[i][__("Invoiced Amount")]) %} | + {%= format_currency(data[i]["Invoiced Amount"]) %}- {%= format_currency(data[i][__("Paid Amount")]) %} | + {%= format_currency(data[i]["Paid Amount"]) %}- {%= format_currency(data[i][__("Outstanding Amount")]) %} | + {%= format_currency(data[i]["Outstanding Amount"]) %} {% } %} {% } else { %} {% if(data[i][__("Customer")] || data[i][__("Supplier")]|| " ") { %} @@ -71,4 +71,4 @@ {% } %}
|---|
Printed On {%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}
\ No newline at end of file +{{ __("Printed On") }}{%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}
\ No newline at end of file diff --git a/erpnext/utilities/web_form/addresses/addresses.py b/erpnext/utilities/web_form/addresses/addresses.py index 2334f8b26d8..3fd10175fb0 100644 --- a/erpnext/utilities/web_form/addresses/addresses.py +++ b/erpnext/utilities/web_form/addresses/addresses.py @@ -4,4 +4,4 @@ import frappe def get_context(context): # do your magic here - pass + context.show_sidebar = True