{%- from "templates/print_formats/standard_macros.html" import add_header -%}
| Voucher No: | {{ doc.name }} |
| Date: | {{ frappe.utils.formatdate(doc.creation) }} |
| Account | Party Type | Party | Amount | |
|---|---|---|---|---|
| Debit | ||||
| {{ entries.account }} | {{ entries.party_type }} | {{ entries.party }} | {{ entries.debit }} | |
| Narration {{ entries.remarks }} |
||||
| Total (debit) | {{ frappe.format((gl | sum(attribute="debit")), {fieldtype: "Currency"}) }} | |||
| Credit | ||||
| {{ entries.account }} | {{ entries.party_type }} | {{ entries.party }} | {{ entries.credit }} | |
| Narration {{ entries.remarks }} |
||||
| Total (credit) | {{ frappe.format((gl | sum(attribute="credit")), {fieldtype: "Currency"}) }} | |||