Merge pull request #7451 from saurabh6790/chequeprint_date_fix

[minor][fix] show date in user format
This commit is contained in:
Nabin Hait 2017-01-13 11:36:12 +05:30 committed by GitHub
commit 17cd36b7d5

View File

@ -35,7 +35,7 @@ def create_or_update_cheque_print_format(template_name):
</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;">