From 777f556b1446fef10816e7a6eae22daef52824f6 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Thu, 23 Jun 2016 20:25:37 +0530 Subject: [PATCH] [fixes] set default values to cheque print and set background image only if attachment exist --- .../cheque_print_template.js | 5 +++- .../cheque_print_template.json | 25 ++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.js b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.js index dea3af6772..6a430eb02b 100644 --- a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.js +++ b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.js @@ -17,7 +17,6 @@ frappe.ui.form.on('Cheque Print Template', { var template = '
\
\