[cosmetics] Cheque Print format 1
diff --git a/erpnext/accounts/print_format/cheque_printing_format/cheque_printing_format.json b/erpnext/accounts/print_format/cheque_printing_format/cheque_printing_format.json
index 617b7d6..dc07b27 100755
--- a/erpnext/accounts/print_format/cheque_printing_format/cheque_printing_format.json
+++ b/erpnext/accounts/print_format/cheque_printing_format/cheque_printing_format.json
@@ -3,9 +3,9 @@
  "doc_type": "Journal Voucher", 
  "docstatus": 0, 
  "doctype": "Print Format", 
- "html": "<div style=\"position: relative\">\n\n\t{% if letter_head and not no_letterhead %}{{ letter_head }}{%- endif -%}\n\t<h3 align=right>{{ _(\"Payment Advice\") }}</h3><hr>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"To\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.pay_to_recd_from }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Voucher No\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.name }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Voucher Date\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ frappe.utils.formatdate(doc.voucher_date) }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Reference / Cheque No\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.cheque_no }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Reference / Cheque Date\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ frappe.utils.formatdate(doc.cheque_date) }}</div>\n\t</div>\n\t<br>\n\t<p>{{ _(\"This amount is in full / part settlement of the listed bills\") }}:</p>\n\t<hr>\n\t<div class=\"row\">\n        <div class=\"col-sm-4\"><label align=right>{{ _(\"Total Amount\") }}</label></div>\n        <div class=\"col-sm-8\"><label>{{ doc.total_amount }}/-<br>{{ doc.total_amount_in_words }}</label></div>\n        </div>\n        <hr>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"References\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.remark }}</div>\n\t</div>\n\t<hr>\n\t<div style=\"position: absolute; top: 14cm; left: 0cm;\">\n\t\tPrepared By</div>\n\t<div style=\"position: absolute; top: 14cm; left: 5.5cm;\">\n\t\tAuthorised Signatory</div>\n\t<div style=\"position: absolute; top: 14cm; left: 11cm;\">\n\t\tReceived Payment as Above</div>\n\t<div style=\"position: absolute; top: 16.4cm; left: 5.9cm;\">\n\t\t<strong>_____________</strong></div>\n\t<div style=\"position: absolute; top: 16.7cm; left: 6cm;\">\n\t\t<strong>A/C Payee</strong></div>\n\t<div style=\"position: absolute; top: 16.7cm; left: 5.9cm;\">\n\t\t<strong>_____________</strong></div>\n\t<div style=\"position: absolute; top: 16.9cm; left: 12cm;\">\n\t\t{{ frappe.utils.formatdate(doc.cheque_date) }}</div>\n\t<div style=\"position: absolute; top: 17.9cm; left: 1cm;\">\n\t\t{{ doc.pay_to_recd_from }}</div>\n\t<div style=\"position: absolute; top: 18.6cm; left: 1cm; width: 7cm;\">\n\t\t{{ doc.total_amount_in_words }}</div>\n\t<div style=\"position: absolute; top: 19.7cm; left: 12cm;\">\n\t\t{{ doc.total_amount }}</div>\n</div>", 
+ "html": "<div style=\"position: relative\">\n\n\t{%- from \"templates/print_formats/standard_macros.html\" import add_header -%}\n<div class=\"page-break\">\n    {%- if not doc.get(\"print_heading\") and not doc.get(\"select_print_heading\") \n        and doc.set(\"select_print_heading\", _(\"Payment Advice\")) -%}{%- endif -%}\n    {{ add_header(0, 1, doc, letter_head, no_letterhead) }}\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Voucher Date\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ frappe.utils.formatdate(doc.voucher_date) }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Reference / Cheque No\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.cheque_no }}</div>\n\t</div>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"Reference / Cheque Date\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ frappe.utils.formatdate(doc.cheque_date) }}</div>\n\t</div>\n\t<br>\n\t<p>{{ _(\"This amount is in full / part settlement of the listed bills\") }}:</p>\n\t<hr>\n\t<div class=\"row\">\n        <div class=\"col-sm-4\"><label align=right>{{ _(\"Total Amount\") }}</label></div>\n        <div class=\"col-sm-8\"><label>{{ doc.total_amount }}/-<br>{{ doc.total_amount_in_words }}</label></div>\n        </div>\n        <hr>\n\t<div class=\"row\">\n\t  <div class=\"col-sm-4\"><label align=right>{{ _(\"References\") }}</label></div>\n\t  <div class=\"col-sm-8\">{{ doc.remark }}</div>\n\t</div>\n\t<hr>\n\t<div style=\"position: absolute; top: 14cm; left: 0cm;\">\n\t\tPrepared By</div>\n\t<div style=\"position: absolute; top: 14cm; left: 5.5cm;\">\n\t\tAuthorised Signatory</div>\n\t<div style=\"position: absolute; top: 14cm; left: 11cm;\">\n\t\tReceived Payment as Above</div>\n\t<div style=\"position: absolute; top: 16.4cm; left: 5.9cm;\">\n\t\t<strong>_____________</strong></div>\n\t<div style=\"position: absolute; top: 16.7cm; left: 6cm;\">\n\t\t<strong>A/C Payee</strong></div>\n\t<div style=\"position: absolute; top: 16.7cm; left: 5.9cm;\">\n\t\t<strong>_____________</strong></div>\n\t<div style=\"position: absolute; top: 16.9cm; left: 12cm;\">\n\t\t{{ frappe.utils.formatdate(doc.cheque_date) }}</div>\n\t<div style=\"position: absolute; top: 17.9cm; left: 1cm;\">\n\t\t{{ doc.pay_to_recd_from }}</div>\n\t<div style=\"position: absolute; top: 18.6cm; left: 1cm; width: 7cm;\">\n\t\t{{ doc.total_amount_in_words }}</div>\n\t<div style=\"position: absolute; top: 19.7cm; left: 12cm;\">\n\t\t{{ doc.total_amount }}</div>\n</div>", 
  "idx": 1, 
- "modified": "2014-08-28 14:41:51.888412", 
+ "modified": "2014-08-29 16:41:49.896932", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Cheque Printing Format",