| {%= __("Date").toLocaleUpperCase() %} | {%= __("Particulars").toLocaleUpperCase() %} | {% if(filters.show_remarks) { %}{%= __("Remarks").toLocaleUpperCase() %} | {% } %}{%= __("Debit").toLocaleUpperCase() %} | {%= __("Credit").toLocaleUpperCase() %} | {%= __("Balance").toLocaleUpperCase() %} | {% if(row.posting_date) { %} {%= frappe.datetime.str_to_user(row.posting_date) %} {% } else if(i == 0) { %} {%= frappe.datetime.str_to_user(filters.from_date) %} {% } %} |
{% if(row.posting_date) { %}
{%= row.voucher_type %} {%= row.voucher_no %}
{% if(!(filters.party || filters.account)) { %}
{%= row.party || row.account %}
{% } %} {% if(row.bill_no) { %} {%= __("Supplier Invoice No") %}: {%= row.bill_no %} {% } %} {% } else { %} {% if(i == l-2) { %} {%= __("Total") %} {% } else if(i == l-1) { %} {%= __("Closing [Opening + Total] ") %} {% } else { %} {%= frappe.format(row.account, {fieldtype: "Link"}) || " " %} {% } %} {% } %} |
{% if(filters.show_remarks) { %}
{% if(row.posting_date && row.remarks != "No Remarks" && row.remarks != "") { %} {%= row.remarks %} {% } %} | {% } %}{% if(row.posting_date) { %} {% if(row.debit != 0) { %} {%= format_currency(row.debit, filters.presentation_currency) %} {% } %} {% } else if(i != 0 && i != l-1) { %} {%= row.account && format_currency(row.debit, filters.presentation_currency) %} {% } %} | {% if(row.posting_date) { %} {% if(row.credit != 0) { %} {%= format_currency(row.credit, filters.presentation_currency) %} {% } %} {% } else if(i != 0 && i != l-1) { %} {%= row.account && format_currency(row.credit, filters.presentation_currency) %} {% } %} | {% if(i == l-1) { %} {%= format_currency(row.balance, filters.presentation_currency) %} {% if(row.balance < 0){ %}Cr{% } %} {% if(row.balance > 0){ %}Dr{% } %} {% } else if(i != l-2) { %} {%= format_currency(row.balance, filters.presentation_currency) %} {% } %} | {% endfor %}
|---|
{%= __("Printed on {0}", [ frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) ]) %}