+ {%- if not doc.get("print_heading") and not doc.get("select_print_heading")
+ and doc.set("select_print_heading", _("Journal Entry")) -%}{%- endif -%}
+ {{ add_header(0, 1, doc, letter_head, no_letterhead, print_settings) }}
+
+
+
+ | Account |
+ Party Type |
+ Party |
+ Amount |
+
+
+ | Credit |
+
+ {% set total_credit = 0 -%}
+ {% for entries in doc.gl %}
+ {% if entries.debit == 0.0 %}
+
+ | {{ entries.account }} |
+ {{ entries.party_type }} |
+ {{ entries.party }} |
+ {{ entries.credit }} |
+ {% set total_credit = total_credit + entries.credit -%}
+
+
+ | Total (credit) |
+ {{total_credit}} |
+
+ {% endif %}
+ {% endfor %}
+
+ | |
+
+
+ | Debit |
+
+ {% set total_debit = 0 -%}
+ {% for entries in doc.gl %}
+ {% if entries.credit == 0.0 %}
+
+ | {{ entries.account }} |
+ {{ entries.party_type }} |
+ {{ entries.party }} |
+ {% set total_debit = total_debit + entries.debit -%}
+ {{ entries.debit }} |
+
+
+ | Total (debit) |
+ {{total_debit}} |
+
+ {% endif %}
+ {% endfor %}
+
+
+
\ No newline at end of file
diff --git a/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.json b/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.json
new file mode 100644
index 00000000000..927e818e017
--- /dev/null
+++ b/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.json
@@ -0,0 +1,22 @@
+{
+ "align_labels_right": 0,
+ "creation": "2019-02-15 14:13:05.721784",
+ "custom_format": 0,
+ "default_print_language": "en",
+ "disabled": 0,
+ "doc_type": "Journal Entry",
+ "docstatus": 0,
+ "doctype": "Print Format",
+ "font": "Default",
+ "idx": 0,
+ "line_breaks": 0,
+ "modified": "2019-02-15 14:13:05.721784",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Journal Auditing Voucher",
+ "owner": "Administrator",
+ "print_format_builder": 0,
+ "print_format_type": "Server",
+ "show_section_headings": 0,
+ "standard": "Yes"
+}
\ No newline at end of file
diff --git a/erpnext/accounts/print_format/purchase_auditing_voucher/__init__.py b/erpnext/accounts/print_format/purchase_auditing_voucher/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html
new file mode 100644
index 00000000000..c8bd5c21ec5
--- /dev/null
+++ b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html
@@ -0,0 +1,99 @@
+{%- from "templates/print_formats/standard_macros.html" import add_header -%}
+
+ {%- if not doc.get("print_heading") and not doc.get("select_print_heading")
+ and doc.set("select_print_heading", _("Purchase Invoice")) -%}{%- endif -%}
+ {{ add_header(0, 1, doc, letter_head, no_letterhead, print_settings) }}
+
+
+
+ | Supplier Name: | {{ doc.supplier }} |
+ | Due Date: | {{ frappe.utils.formatdate(doc.due_date) }} |
+ | Address: | {{doc.address_display}} |
+ | Contact: | {{doc.contact_display}} |
+ | Mobile no: | {{doc.contact_mobile}} |
+
+
+
+
+ | Voucher No: | {{ doc.name }} |
+ | Date: | {{ frappe.utils.formatdate(doc.creation) }} |
+
+
+
+
+
+
+ | SL |
+ Item Code |
+ Item Name |
+ UOM |
+ Received Qty. |
+ Rejected Qty |
+ Qty |
+ Basic Rate |
+ Amount |
+
+ {% for item in doc.items %}
+
+ | {{ loop.index }} |
+ {{ item.item_code }} |
+ {{ item.item_name }} |
+ {{ item.uom }} |
+ {{ item.received_qty }} |
+ {{ item.rejected_qty }} |
+ {{ item.qty}} |
+ {{ item.rate }} |
+ {{ item.amount }} |
+
+ {% endfor %}
+
+
+
+
+
+ | Total Quantity: | {{ doc.total_qty }} |
+ | Total: | {{doc.total}} |
+ | Net Weight: | {{ doc.total_net_weight }} |
+
+
+
+
+ | Tax and Charges: | {{doc.taxes_and_charges}} |
+ {% for tax in doc.taxes %}
+ | {{ tax.account_head }}: | {{ tax.tax_amount_after_discount_amount }} |
+ {% endfor %}
+ | Taxes and Charges Added: | {{ doc.taxes_and_charges_added }} |
+ | Taxes and Charges Deducted: | {{ doc.taxes_and_charges_deducted }} |
+ | Total Taxes and Charges: | {{ doc.total_taxes_and_charges }} |
+ | Net Payable: | {{ doc.grand_total }} |
+
+
+
+
+
+
+ | SL |
+ Account |
+ Party Type |
+ Party |
+ Credit Amount |
+ Debit Amount |
+
+ {% for entries in doc.gl %}
+
+ | {{ loop.index }} |
+ {{ entries.account }} |
+ {{ entries.party_type }} |
+ {{ entries.party }} |
+ {{ entries.credit }} |
+ {{ entries.debit }} |
+
+ {% endfor %}
+
+ | Total |
+ {{ doc.grand_total|flt }} |
+ {{ doc.grand_total|flt }} |
+
+
+
+
\ No newline at end of file
diff --git a/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.json b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.json
new file mode 100644
index 00000000000..73779d49aab
--- /dev/null
+++ b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.json
@@ -0,0 +1,22 @@
+{
+ "align_labels_right": 0,
+ "creation": "2019-02-14 14:42:35.151611",
+ "custom_format": 0,
+ "default_print_language": "en",
+ "disabled": 0,
+ "doc_type": "Purchase Invoice",
+ "docstatus": 0,
+ "doctype": "Print Format",
+ "font": "Default",
+ "idx": 0,
+ "line_breaks": 0,
+ "modified": "2019-02-14 14:42:35.151611",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Purchase Auditing Voucher",
+ "owner": "Administrator",
+ "print_format_builder": 0,
+ "print_format_type": "Server",
+ "show_section_headings": 0,
+ "standard": "Yes"
+}
\ No newline at end of file
diff --git a/erpnext/accounts/print_format/sales_auditing_voucher/__init__.py b/erpnext/accounts/print_format/sales_auditing_voucher/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html
new file mode 100644
index 00000000000..b3ce888fa56
--- /dev/null
+++ b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html
@@ -0,0 +1,93 @@
+{%- from "templates/print_formats/standard_macros.html" import add_header -%}
+
+ {%- if not doc.get("print_heading") and not doc.get("select_print_heading")
+ and doc.set("select_print_heading", _("Sales Invoice")) -%}{%- endif -%}
+ {{ add_header(0, 1, doc, letter_head, no_letterhead, print_settings) }}
+
+
+
+ | Customer Name: | {{ doc.customer }} |
+ | Due Date: | {{ frappe.utils.formatdate(doc.due_date) }} |
+ | Address: | {{doc.address_display}} |
+ | Contact: | {{doc.contact_display}} |
+ | Mobile no: | {{doc.contact_mobile}} |
+
+
+
+
+ | Voucher No: | {{ doc.name }} |
+ | Date: | {{ frappe.utils.formatdate(doc.creation) }} |
+
+
+
+
+
+
+ | SL |
+ Item Code |
+ Item Name |
+ UOM |
+ Quantity |
+ Basic Rate |
+ Amount |
+
+ {% for item in doc.items %}
+
+ | {{ loop.index }} |
+ {{ item.item_code }} |
+ {{ item.item_name }} |
+ {{ item.uom }} |
+ {{ item.qty}} |
+ {{ item.rate }} |
+ {{ item.amount }} |
+
+ {% endfor %}
+
+
+
+
+
+ | Total Quantity: | {{ doc.total_qty }} |
+ | Total: | {{doc.total}} |
+ | Net Weight: | {{ doc.total_net_weight }} |
+
+
+
+
+ | Tax and Charges: | {{doc.taxes_and_charges}} |
+ {% for tax in doc.taxes %}
+ | {{ tax.account_head }}: | {{ tax.tax_amount_after_discount_amount }} |
+ {% endfor %}
+ | Total Taxes and Charges: | {{ doc.total_taxes_and_charges }} |
+ | Net Payable: | {{ doc.grand_total }} |
+
+
+
+
+
+
+ | SL |
+ Account |
+ Party Type |
+ Party |
+ Credit Amount |
+ Debit Amount |
+
+ {% for entries in doc.gl %}
+
+ | {{ loop.index }} |
+ {{ entries.account }} |
+ {{ entries.party_type }} |
+ {{ entries.party }} |
+ {{ entries.credit }} |
+ {{ entries.debit }} |
+
+ {% endfor %}
+
+ | Total |
+ {{ doc.grand_total|flt }} |
+ {{ doc.grand_total|flt }} |
+
+
+
+
\ No newline at end of file
diff --git a/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.json b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.json
new file mode 100644
index 00000000000..0544e0bc9e8
--- /dev/null
+++ b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.json
@@ -0,0 +1,22 @@
+{
+ "align_labels_right": 0,
+ "creation": "2019-02-15 15:02:51.454754",
+ "custom_format": 0,
+ "default_print_language": "en",
+ "disabled": 0,
+ "doc_type": "Sales Invoice",
+ "docstatus": 0,
+ "doctype": "Print Format",
+ "font": "Default",
+ "idx": 0,
+ "line_breaks": 0,
+ "modified": "2019-02-15 15:02:51.454754",
+ "modified_by": "Administrator",
+ "module": "Accounts",
+ "name": "Sales Auditing Voucher",
+ "owner": "Administrator",
+ "print_format_builder": 0,
+ "print_format_type": "Server",
+ "show_section_headings": 0,
+ "standard": "Yes"
+}
\ No newline at end of file