commit | 056276c60e467be1ff35df6621e87360fb8c5c9f | [log] [tgz] |
---|---|---|
author | Saurabh <saurabh6790@gmail.com> | Wed Jan 11 15:50:09 2017 +0530 |
committer | Saurabh <saurabh6790@gmail.com> | Wed Jan 11 15:50:09 2017 +0530 |
tree | a2a1e288e66a64e6ace64f084e9c6fb375afdaf2 | |
parent | ffa5ffe6076e2693594fa75b4fc7dbcffb11f4e3 [diff] |
[minor][fix] show date in user format
diff --git a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py index 752ecda..5b7d73f 100644 --- a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py +++ b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py
@@ -35,7 +35,7 @@ </span> <span style="top:%(date_dist_from_top_edge)s cm; left:%(date_dist_from_left_edge)scm; position: absolute;"> - {{doc.reference_date or '' }} + {{ frappe.utils.formatdate(doc.reference_date) or '' }} </span> <span style="top:%(acc_no_dist_from_top_edge)scm;left:%(acc_no_dist_from_left_edge)scm; position: absolute;">