diff --git a/erpnext/accounts/print_format/sales_invoice_print_format/sales_invoice_print_format.html b/erpnext/accounts/print_format/sales_invoice_print_format/sales_invoice_print_format.html index 745c918b8aa..d74ba323301 100644 --- a/erpnext/accounts/print_format/sales_invoice_print_format/sales_invoice_print_format.html +++ b/erpnext/accounts/print_format/sales_invoice_print_format/sales_invoice_print_format.html @@ -204,6 +204,7 @@ print_heading_template=None) -%} {{ _("Bill From") }}:
{% if doc.customer_address %} {% set customer_address = frappe.get_doc("Address", doc.customer_address) %} + {{ doc.customer_name }}
{{ customer_address.address_line1 or "" }} {% if customer_address.address_line2 %}{{ customer_address.address_line2 }}{% endif %}
{{ customer_address.city or "" }} {{ customer_address.state or "" }} {{ customer_address.pincode or "" }} {{ customer_address.country or "" }}
@@ -212,6 +213,7 @@ print_heading_template=None) -%} {{ _("Bill To") }}:
{% if doc.company_address %} {% set company_address_display = frappe.get_doc("Address", doc.company_address) %} + {{ doc.company }}
{{ company_address_display.address_line1 or "" }} {% if company_address_display.address_line2 %}{{ company_address_display.address_line2 }}{% endif %}
{{ company_address_display.city or "" }} {{ company_address_display.state or "" }} {{ company_address_display.pincode or "" }} {{ company_address_display.country or "" }}