{%- macro add_header(page_num, max_pages, doc, letter_head, no_letterhead, footer, print_settings=None, 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") }} | {{ _("Quantity") }} | {{ _("Rate") }} | {{ _("Amount") }} | ||
| {{ loop.index }} |
|
{{ item.get_formatted("qty", 0) }} {{ item.uom }} | {{ item.get_formatted("net_rate", doc) }} | {{ item.get_formatted("net_amount", doc) }} |
|
|||||||
|
|||||||