diff --git a/ns_app/print_formats/print_formats/ns_dunning_double_window.html b/ns_app/print_formats/print_formats/ns_dunning_double_window.html new file mode 100644 index 0000000..55256ea --- /dev/null +++ b/ns_app/print_formats/print_formats/ns_dunning_double_window.html @@ -0,0 +1,160 @@ + + +
+ + {% set company_doc = frappe.get_doc("Company", company) %} + + + + + + + +
+

+ {{ company_doc.company_name }} +

+

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

+
+ Payment Reminder
+ {{ doc.name }}
+ Date: {{ frappe.utils.formatdate(doc.posting_date, "MM-dd-yyyy") }} +
+ + + + + + + +
+ Customer: {{ doc.customer }}
+ Amount Due: + ${{ doc.grand_total }} +
+ + +
+ {{ doc.customer_name }}
+ {{ doc.address_display or doc.customer_address }} +
+ + +
+ + +
+
+ PAYMENT REMINDER +
+
+ Our records show the following invoice(s) are past due. Please remit payment at your earliest convenience. +
+
+ + + + + + + + + + + + + + {% for row in doc.invoices %} + + + + + + + + {% endfor %} + +
InvoiceDue DateDays OverdueOutstandingInterest
{{ row.sales_invoice }} + {{ frappe.utils.formatdate(row.due_date, "MM-dd-yyyy") }} + + {{ row.overdue_days }} + + ${{ row.outstanding_amount }} + + ${{ row.interest }} +
+ + +
+

+ Total Outstanding:${{ doc.total_outstanding }} +

+ {% if doc.dunning_fee and doc.dunning_fee > 0 %} +

+ Dunning Fee:${{ doc.dunning_fee }} +

+ {% endif %} + {% if doc.total_interest and doc.total_interest > 0 %} +

+ Total Interest:${{ doc.total_interest }} +

+ {% endif %} +

+ Amount Due: + ${{ doc.grand_total }} +

+
+ +
+ + +
+

+We value your business and would like to resolve this promptly. Please contact us if you have any questions or if payment has already been sent. + +We accept payments by check or over the phone using a debit or credit card. + +Thank you for your prompt attention — NS Innovations +

+
+ +
diff --git a/ns_app/print_formats/print_formats/quotation_double_window.html b/ns_app/print_formats/print_formats/quotation_double_window.html new file mode 100644 index 0000000..601622b --- /dev/null +++ b/ns_app/print_formats/print_formats/quotation_double_window.html @@ -0,0 +1,153 @@ + + +
+ + {% set company_doc = frappe.get_doc("Company", company) %} + + + + + + + +
+

+ {{ company_doc.company_name }} +

+

+ 1063 Chestnut Level Road
+ Quarryville PA 17566
+ {% 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 "" }} +
+ + + + + + + +
+ Terms: + {{ doc.payment_terms_template or "Net 30" }} +
+ + +
+ {{ doc.customer_name }}
+ {{ doc.address_display or doc.customer_address }} +
+ + +
+ + {% 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. +

+
+ +
diff --git a/ns_app/print_formats/print_formats/sales_order_double_window.html b/ns_app/print_formats/print_formats/sales_order_double_window.html new file mode 100644 index 0000000..e7d79f7 --- /dev/null +++ b/ns_app/print_formats/print_formats/sales_order_double_window.html @@ -0,0 +1,163 @@ + + +
+ + {% set company_doc = frappe.get_doc("Company", company) %} + + + + + + + +
+

+ {{ company_doc.company_name }} +

+

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

+
+ Sales Order
+ {{ doc.name }}
+ Date: {{ frappe.utils.formatdate(doc.transaction_date, "MM-dd-yyyy") }} +
+ + + + + + + +
+ {% if doc.delivery_date %} + Delivery Date: + {{ frappe.utils.formatdate(doc.delivery_date, "MM-dd-yyyy") }}
+ {% endif %} + Terms: {{ doc.payment_terms_template or "Net 30" }} +
+ + +
+ {{ doc.customer_name }}
+ {{ doc.address_display or doc.customer_address }} +
+ +
+ + {% if doc.custom_subscription_data or doc.custom_invoice_notes %} + + + + +
+ {% if doc.custom_subscription_data %} +
+ {{ doc.custom_subscription_data }} +
+ {% endif %} + {% if doc.custom_invoice_notes %} +
+ {{ doc.custom_invoice_notes }} +
+ {% 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 Sales Order is not an invoice. +Pricing and availability subject to confirmation. + +Thank you for your business. +

+
+ +