| {%= __("Date") %} | {%= __("Voucher Details") %} | {% if(filters.show_remarks) { %}{%= __("Remarks") %} | {% } %}{%= __("Debit") %} | {%= __("Credit") %} | {%= __("Balance") %} | {% if(is_entry) { %} {%= frappe.datetime.str_to_user(row.posting_date) %} {% } else if(i == 0) { %} {%= frappe.datetime.str_to_user(filters.from_date) %} {% } %} |
{% if(is_entry) { %}
{%= 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(is_second_last) { %}
{%= __("Total") %}
{% } else if(is_last) { %}
{%= __("Closing [Opening + Total] ") %}
{% } else { %}
{%= frappe.format(row.account, {fieldtype: "Link"}) || " " %}
{% } %}
{% } %}
|
{% if(filters.show_remarks) { %}
{% if(is_entry && row.remarks && row.remarks != "No Remarks") { %} {%= row.remarks %} {% } %} | {% } %}{% if(is_entry) { %} {% if(row.debit != 0) { %} {%= format_currency(row.debit, filters.presentation_currency) %} {% } %} {% } else if(i != 0 && !is_last) { %} {%= row.account && format_currency(row.debit, filters.presentation_currency) %} {% } %} | {% if(is_entry) { %} {% if(row.credit != 0) { %} {%= format_currency(row.credit, filters.presentation_currency) %} {% } %} {% } else if(i != 0 && !is_last) { %} {%= row.account && format_currency(row.credit, filters.presentation_currency) %} {% } %} | {% if(is_last) { %} {%= format_currency(row.balance, filters.presentation_currency) %} {% if(row.balance < 0) { %} Cr{% } %} {% if(row.balance > 0) { %} Dr{% } %} {% } else { %} {%= format_currency(row.balance, filters.presentation_currency) %} {% } %} | {% } %}
|---|
{%= __("Printed on {0}", [ frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) ]) %}