From 7a435bb4f18a629f7c95973bda4b3675efc5b54d Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Wed, 27 Aug 2014 18:10:23 +0530 Subject: [PATCH] [print-template] Credit Note Issue #31 1 --- .../print_format/credit_note/credit_note.json | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/print_format/credit_note/credit_note.json b/erpnext/accounts/print_format/credit_note/credit_note.json index 0b231a3d2a..bbb04635f2 100644 --- a/erpnext/accounts/print_format/credit_note/credit_note.json +++ b/erpnext/accounts/print_format/credit_note/credit_note.json @@ -4,7 +4,43 @@ "doc_type": "Journal Voucher", "docstatus": 0, "doctype": "Print Format", - "html": "
\n\n\t{% if letter_head and not no_letterhead %}{{ letter_head }}{%- endif -%}\n\t

{{ _(\"Credit Note\") }}

\n
\n\t
\n\t
\n\t
{{ doc.pay_to_recd_from }}
\n\t
\n\t
\n\t
\n\t
{{ doc.name }}
\n\t
\n\t
\n\t
\n\t
{{ frappe.utils.formatdate(doc.voucher_date) }}
\n\t
\n\t
\n\t
\n\t
{{ doc.cheque_no }}
\n\t
\n\t
\n\t
\n\t
{{ frappe.utils.formatdate(doc.cheque_date) }}
\n\t
\n\t
\n\t
\n\t
{{ frappe.utils.formatdate(doc.voucher_date) }}
\n\t
\n\t
\n\t

{{ _(\"This amount is in full / part settlement of the listed bills\") }}:

\n\t
\n\t
\n\t
\n\t
{{ \n\t \tfrappe.format_value(doc.total_amount, doc.meta.get_field(\"total_amount\"), doc) }}
\n\t
\n\t
\n\t
\n\t
{{ doc.remark }}
\n\t
\n\n\t
\n\t\tPrepared By
\n\t
\n\t\tAuthorised Signatory
\n\t
\n\t\tReceived Payment as Above
\n\t
\n\t\t_____________
\n\t
\n\t\tA/C Payee
\n\t
\n\t\t_____________
\n\t
\n\t\t{{ frappe.utils.formatdate(doc.cheque_date) }}
\n\t
\n\t\t{{ doc.pay_to_recd_from }}
\n\t
\n\t\t{{ doc.total_amount_in_words }}
\n\t
\n\t\t{{ doc.total_amount }}
\n
", + "html": "

{{ doc.select_print_heading or _("Credit Note") }}

+
+
+
+
{{ doc.name }}
+
+
+
+
{{ frappe.utils.formatdate(doc.voucher_date) }}
+
+
+
+
{{ _("Credit Note ") }}
+
+
+
+
{{ doc.pay_to_recd_from }}
+
+
+ +
+
+
+
+
+
+
+
{{ doc.remark }}
+
+
+
+

+{{ _("For") }} {{ doc.company }},
+
+
+
+{{ _("Authorized Signatory") }}

", "modified": "2014-08-27 14:49:40.088410", "modified_by": "Administrator", "module": "Accounts",