DATE | PARTICULARS | {% if(filters.show_remarks) { %}REMARKS | {% } %}DEBIT | CREDIT | BALANCE | {%= frappe.datetime.str_to_user(data[i].posting_date) %} |
{%= data[i].voucher_type %} {%= data[i].voucher_no %}
{% if(!(filters.party || filters.account)) { %}
{%= data[i].party || data[i].account %}
{% } %} {% if(data[i].bill_no) { %} {%= __("Supplier Invoice No") %}: {%= data[i].bill_no %} {% } %} |
{% if(filters.show_remarks) { %}
{% if(data[i].remarks != "No Remarks" && data[i].remarks != "") { %}
{%= __("Remarks") %}: {%= data[i].remarks %} {% } %} |
{% } %}
{% if data[i].debit != 0 %} {%= format_currency(data[i].debit, filters.presentation_currency) %} {% } %} | {% if data[i].credit != 0 %} {%= format_currency(data[i].credit, filters.presentation_currency) %} {% } %} | {% } else { %}{% if(i == 0) { %} {%= frappe.datetime.str_to_user(filters.from_date) %} {% } %} | {% if(i == l-2) { %} {%= "Total" %} {% } else { %} {% if(i == l-1) { %} {%= "Closing [Opening + Total] " %} {% } else { %} {%= frappe.format(data[i].account, {fieldtype: "Link"}) || " " %} {% } %} {% } %} | {% if(filters.show_remarks) { %}{% } %} | {% if(i != 0){ %} {% if(i != l-1){ %} {%= data[i].account && format_currency(data[i].debit, filters.presentation_currency) %} {% } %} {% } %} | {% if(i != 0){ %} {% if(i != l-1){ %} {%= data[i].account && format_currency(data[i].credit, filters.presentation_currency) %} {% } %} {% } %} | {% } %} {% if(i == l-1) { %}{%= format_currency(data[i].balance, filters.presentation_currency) %} {% if(data[i].balance < 0){ %}Cr{% } %} {% if(data[i].balance > 0){ %}Dr{% } %} | {% } else { %}{% if(i != l-2) { %} {%= format_currency(data[i].balance, filters.presentation_currency) %} {% } %} | {% } %} {% endfor%}
Printed On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}