From 372167f6fdd618750cfe3f2877a95fc30c1b77af Mon Sep 17 00:00:00 2001 From: Ty Reynolds Date: Thu, 22 Jan 2026 09:41:05 -0500 Subject: [PATCH] updated quote print format --- .../print_formats/quotataion_ns.html | 212 +++++++++++------- 1 file changed, 128 insertions(+), 84 deletions(-) diff --git a/ns_app/print_formats/print_formats/quotataion_ns.html b/ns_app/print_formats/print_formats/quotataion_ns.html index 7080a73..2121227 100644 --- a/ns_app/print_formats/print_formats/quotataion_ns.html +++ b/ns_app/print_formats/print_formats/quotataion_ns.html @@ -1,95 +1,139 @@ - - - - - Quotation - + - +
- - - - - - -
-

{{ doc.company }}

- {% if doc.company_address %} -

{{ doc.company_address }}

- {% endif %} -
-

QUOTATION

-

Quote #: {{ doc.name }}

-

Date: {{ doc.transaction_date }}

- {% if doc.valid_till %} -

Valid Till: {{ doc.valid_till }}

- {% endif %} -
+ {% set company_doc = frappe.get_doc("Company", company) %} - - - - - -
- Quote To:
- {{ doc.customer_name }}
- {% if doc.customer_address %} - {{ doc.customer_address }} - {% endif %} -
- - - - + +
- - - - - + + - - - {% for row in doc.items %} +
ItemDescriptionQtyRateAmount +

{{ company_doc.company_name }}

+

+ 1063 Chestnut Level Road, Quarryville PA 17566
+ {% if company_doc.address %}{{ company_doc.address }}
{% endif %} + {% if company_doc.phone_no %}Phone: {{ company_doc.phone_no }}{% endif %} + {% if company_doc.email %} | Email: {{ company_doc.email }}{% endif %} +

+
+ Quotation: + {{ doc.name }}
+ Date: {{ frappe.utils.formatdate(doc.transaction_date, "MM-dd-yyyy") }}
+ Valid Till: + {{ frappe.utils.formatdate(doc.valid_till, "MM-dd-yyyy") if doc.valid_till else "" }} +
+ + + - - - - - + + - {% endfor %} - -
{{ row.item_code }}{{ row.item_name }}{{ row.qty }}{{ row.rate }}{{ row.amount }} + Terms: + {{ doc.payment_terms_template or "Net 30" }} +
+ - -
-

- Subtotal: - {{ doc.total }} -

+ +
+ {{ doc.customer_name }}
+ {{ doc.address_display or doc.customer_address }} +
- {% for tax in doc.taxes %} -

- {{ tax.account_head }} ({{ tax.rate }}%): - {{ tax.tax_amount }} -

- {% endfor %} + +
+ + {% if doc.terms or doc.note %} + + + + +
+ {% if doc.note %} +
+ {{ doc.note }} +
+ {% endif %} + {% if doc.terms %} +
+ {{ doc.terms }} +
+ {% endif %} +
+ {% endif %} + + + + + + + + + + + + + + {% for row in doc.items %} + + + + + + + + {% endfor %} + +
ItemDescriptionQtyRateAmount
{{ row.item_code }}{{ row.item_name }}{{ row.qty }}{{ row.rate }}{{ row.amount }}
+ + +
+

+ Subtotal:{{ doc.total }} +

+ + {% for tax in doc.taxes %} +

+ {{ tax.account_head }} ({{ tax.rate }}%): + {{ tax.tax_amount }} +

+ {% endfor %} + +

+ Total:{{ doc.grand_total }} +

+
+ +
+ + +
+

+ This quotation is valid until the date listed above and subject to change thereafter. + + Pricing does not include applicable taxes unless otherwise stated. + + Thank you for considering NS Innovations. +

+
-

- Total: - {{ doc.grand_total }} -

- - -{% if doc.terms %} -
-

Terms & Conditions

-

{{ doc.terms }}

-{% endif %} - - -