diff --git a/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html b/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html index 233083b1f34..392b3af0dc1 100644 --- a/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html +++ b/erpnext/accounts/print_format/print_format_sales_invoice/print_format_sales_invoice.html @@ -2,23 +2,26 @@ print_heading_template=None) -%} {% if letter_head and not no_letterhead %}
|
-
-
- Customer Name:
- Bill to:
-
-
- {{ doc.customer_name }}
- {{ doc.address_display or "" }}
- |
-
-
-
-
- Invoice Number:
- Invoice Date:
- Payment Due Date:
-
-
- {{ doc.name }}
- {{ frappe.utils.format_date(doc.posting_date) }}
- {{ frappe.utils.format_date(doc.due_date) }}
- |
-
| {{ _("No") }} | -{{ _("Item") }} | -{{ _("HSN/SAC") }} | -{{ _("Quantity") }} | -{{ _("Rate") }} | -{{ _("Amount") }} | -||
| {{ loop.index }} | -
-
-
- {% if item.image %}
-
-
-
- {% endif %}
- {{ item.item_name }}
+
+ |
-
+
+ Customer Name:
+ Bill to:
+
+
{{ doc.customer_name }}
+ {{ doc.address_display or "" }}
{{ item.gst_hsn_code }} |
- {{ item.get_formatted("qty", 0) }} {{ item.uom }} |
- {{ item.get_formatted("net_rate", doc) }} |
- {{ item.get_formatted("net_amount", doc) }} |
+
+ |
+
+ Invoice Number:
+ Invoice Date:
+ Payment Due Date:
+
+
+ {{ doc.name }}
+ {{ frappe.utils.format_date(doc.posting_date) }}
+ {{ frappe.utils.format_date(doc.due_date) }}
+ |
| + + | ||||||||||||||||||||||
| {{ _("No") }} | +{{ _("Item") }} | +{{ _("HSN/SAC") }} | +{{ _("Quantity") }} | +{{ _("Rate") }} | +{{ _("Amount") }} | +|||
| {{ loop.index }} | +
+
+
+
+ {% if item.image %}
+
+
+
+ {% endif %}
+ {{ item.item_name }}
+ |
-
-
|
- {{ item.gst_hsn_code }} | +{{ item.get_formatted("qty", 0) }} {{ item.uom }} | +{{ item.get_formatted("net_rate", doc) }} | +{{ item.get_formatted("net_amount", doc) }} | + + {% endfor %} + +
| + + |
|
-
| {{ _("HSN/SAC") }} | -{{ _("Taxable Amount") }} | - {% for row in doc.taxes %} -{{ row.description }} ({{ row.rate }}%) | - {% endfor %} -
| {{ item.gst_hsn_code }} | -{{ item.get_formatted("base_net_amount", doc) }} | - {% for row in doc.taxes %} {% set tax_amount = item.base_net_amount * (row.rate / 100) %} -- {{ frappe.format_value(tax_amount, {"fieldtype": "Currency"}, doc) }} | - {% endfor %}
|
+
+ {{ _("In Words: ") }}{{ doc.in_words }}
+
+ |
+ {{ _("Grand Total:") }} | ++ + {{ doc.get_formatted("grand_total", doc) }} + + | +
| {{ _("HSN/SAC") }} | +{{ _("Taxable Amount") }} | + {% for row in doc.taxes %} +{{ row.description }} ({{ row.rate }}%) | + {% endfor %} +
| {{ item.gst_hsn_code }} | +{{ item.get_formatted("base_net_amount", doc) }} | + {% for row in doc.taxes %} {% set tax_amount = item.base_net_amount * (row.rate / 100) %} ++ {{ frappe.format_value(tax_amount, {"fieldtype": "Currency"}, doc) }} + | + {% endfor %} +
| - {{ _("Customer Name") }}: {{doc.customer_name }} - | -- {{ _("Payment Due Date") }}: {{ - frappe.utils.format_date(doc.due_date) }} - | -
| {{ _("Invoice Number") }}: {{ doc.name }} | -- {{ _("Invoice Date") }}: {{ - frappe.utils.format_date(doc.posting_date) }} - | -
| {{ _("Bill From") }}: {{ address }} |
- {{ _("Bill To") }}: {{ company_address_display }} |
-
| {{ _("No") }} | -{{ _("Item") }} | -{{ _("Quantity") }} | -{{ _("Rate") }} | -{{ _("Amount") }} | ++ {{ _("Customer Name") }}: {{doc.customer_name }} + | ++ {{ _("Payment Due Date") }}: {{ + frappe.utils.format_date(doc.due_date) }} + |
| {{ loop.index }} | -{{ item.item_name }} | -{{ item.get_formatted("qty", 0) }} {{ item.uom }} | -{{ item.get_formatted("net_rate", doc) }} | -{{ item.get_formatted("net_amount", doc) }} | +{{ _("Invoice Number") }}: {{ doc.name }} | ++ {{ _("Invoice Date") }}: {{ + frappe.utils.format_date(doc.posting_date) }} + |
{{ _("Total in words") }}
-| {{ _("Sub Total:") }} | -{{ doc.get_formatted("total", doc) }} | -
| - {{ _("Discount") }} ({{ doc.additional_discount_percentage }}%): - | -{{ doc.get_formatted("discount_amount", doc) }} | -
| {{ _("Tax") }} ({{ tax_rate }}%): | -{{ doc.get_formatted("total_taxes_and_charges", doc) }} | -
| {{ _("Grand Total:") }} | -{{ doc.get_formatted("grand_total", doc) }} | -
| {{ _("HSN/SAC") }} | -{{ _("Taxable Amount") }} | - {% for row in doc.taxes %} -{{ row.description }} | - {% endfor %} +{{ _("No") }} | +{{ _("Item") }} | +{{ _("Quantity") }} | +{{ _("Rate") }} | +{{ _("Amount") }} |
| {{ item.gst_hsn_code }} | -{{ item.get_formatted("base_net_amount", doc) }} | - {% for row in doc.taxes %} {% set tax_amount = item.base_net_amount * (row.rate / 100) %} -- ({{ (row.rate) }}%) {{ frappe.format_value(tax_amount, {"fieldtype": "Currency"}, doc) - }} + | {{ loop.index }} | +{{ item.item_name }} | +{{ item.get_formatted("qty", 0) }} {{ item.uom }} | +{{ item.get_formatted("net_rate", doc) }} | ++ {{ item.get_formatted("net_amount", doc) }} | - {% endfor %}
{{ _("Total in words") }}
+| {{ _("Sub Total:") }} | +{{ doc.get_formatted("total", doc) }} | +
| + {{ _("Discount") }} ({{ doc.additional_discount_percentage }}%): + | +{{ doc.get_formatted("discount_amount", doc) }} | +
| {{ _("Tax") }} ({{ tax_rate }}%): | +{{ doc.get_formatted("total_taxes_and_charges", doc) }} | +
| {{ _("Grand Total:") }} | +{{ doc.get_formatted("grand_total", doc) }} | +
| {{ _("HSN/SAC") }} | +{{ _("Taxable Amount") }} | + {% for row in doc.taxes %} +{{ row.description }} | + {% endfor %} +
| {{ item.gst_hsn_code }} | +{{ item.get_formatted("base_net_amount", doc) }} | + {% for row in doc.taxes %} {% set tax_amount = item.base_net_amount * (row.rate / 100) + %} ++ ({{ (row.rate) }}%) {{ frappe.format_value(tax_amount, {"fieldtype": "Currency"}, + doc) }} + | + {% endfor %} +