diff --git a/burundi_compliance/burundi_compliance/doctype/ebms_settings/ebms_settings.json b/burundi_compliance/burundi_compliance/doctype/ebms_settings/ebms_settings.json index 6132901..1f9e730 100644 --- a/burundi_compliance/burundi_compliance/doctype/ebms_settings/ebms_settings.json +++ b/burundi_compliance/burundi_compliance/doctype/ebms_settings/ebms_settings.json @@ -20,7 +20,6 @@ "the_taxpayers_commercial_register_number", "the_taxpayers_tax_center", "subject_to_vat", - "exempted_from_vat", "column_break_xego", "system_identification_given_by_obr", "type_of_taxpayer", @@ -249,12 +248,6 @@ "fieldtype": "Data", "label": "Stock Movement Cron Format" }, - { - "default": "0", - "fieldname": "exempted_from_vat", - "fieldtype": "Check", - "label": "Exon\u00e9r\u00e9 \u00e0 la TVA" - }, { "default": "0", "fieldname": "assujetti_au_pf", @@ -264,7 +257,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-04-10 09:08:59.913123", + "modified": "2024-04-11 11:11:41.140980", "modified_by": "Administrator", "module": "Burundi Compliance", "name": "eBMS Settings", diff --git a/burundi_compliance/burundi_compliance/print_format/pos_e_invoice/pos_e_invoice.json b/burundi_compliance/burundi_compliance/print_format/pos_e_invoice/pos_e_invoice.json index 01fef1b..5424bbf 100644 --- a/burundi_compliance/burundi_compliance/print_format/pos_e_invoice/pos_e_invoice.json +++ b/burundi_compliance/burundi_compliance/print_format/pos_e_invoice/pos_e_invoice.json @@ -9,14 +9,14 @@ "docstatus": 0, "doctype": "Print Format", "font_size": 14, - "html": "\n\n
\n \n \n\n {{ doc.company }}
\n {{ doc.select_print_heading or _(\"Invoice\") }}
\n
\n {{ _(\"Receipt No\") }}: {{ doc.name }}
\n {{ _(\"Invoice Identifier\") }}: {{ doc.custom_invoice_identifier }}
\n {{ _(\"Cashier\") }}: {{ doc.owner }}
\n {{ _(\"Customer\") }}: {{ doc.customer_name }}
\n {{ _(\"Date\") }}: {{ doc.get_formatted(\"posting_date\") }}
\n {{ _(\"Time\") }}: {{ doc.get_formatted(\"posting_time\") }}
\n
{{ _(\"Item\") }} | \n{{ _(\"Qty\") }} | \n{{ _(\"Amount\") }} | \n
---|---|---|
\n {{ item.item_code }}\n {%- if item.item_name != item.item_code -%}\n {{ item.item_name }}\n {%- endif -%}\n {%- if item.serial_no -%}\n {{ _(\"SR.No\") }}: \n {{ item.serial_no | replace(\"\\n\", \", \") }}\n {%- endif -%}\n | \n {{ item.qty }} @ {{ item.get_formatted(\"rate\") }} | \n {{ item.get_formatted(\"amount\") }} | \n
\n {{ _(\"Total Excl. Tax\") }}\n | \n\n {{ doc.get_formatted(\"net_total\", doc) }}\n | \n {% else %}\n\n {{ _(\"Total\") }}\n | \n\n {{ doc.get_formatted(\"total\", doc) }}\n | \n {% endif %}\n
\n {% if '%' in row.description %}\n {{ row.description }}\n {% else %}\n {{ row.description }}@{{ row.rate }}%\n {% endif %}\n | \n\n {{ row.get_formatted(\"tax_amount\", doc) }}\n | \n||
\n {{ _(\"Discount\") }}\n | \n\n {{ doc.get_formatted(\"discount_amount\") }}\n | \n||
\n {{ _(\"Grand Total\") }}\n | \n\n {{ doc.get_formatted(\"grand_total\") }}\n | \n||
\n {{ _(\"Rounded Total\") }}\n | \n\n {{ doc.get_formatted(\"rounded_total\") }}\n | \n||
\n {{ row.mode_of_payment }}\n | \n\n {{ row.get_formatted(\"amount\", doc) }}\n | \n||
\n {{ _(\"Paid Amount\") }}\n | \n\n {{ doc.get_formatted(\"paid_amount\") }}\n | \n||
\n {{ _(\"Change Amount\") }}\n | \n\n {{ doc.get_formatted(\"change_amount\") }}\n | \n
{{ doc.terms or \"\" }}
\n{{ _(\"Thank you, please visit again.\") }}
\n\n\n", + "html": "\n\n\n \n \n\n {{ _(\"Receipt No\") }}: {{ doc.name }}
\n {{ _(\"Invoice Identifier\") }}: {{ doc.custom_invoice_identifier }}
\n {{ _(\"Cashier\") }}: {{ doc.owner }}
\n {{ _(\"Date\") }}: {{ doc.get_formatted(\"posting_date\") }}
\n {{ _(\"Time\") }}: {{ doc.get_formatted(\"posting_time\") }}
\n
Personne physique: {%set customer_doc=frappe.get_doc(\"Customer\", doc.customer_name)%}\n {% if customer_doc %}\n {% if customer_doc.customer_type==\"Company\" %}\n Soci\u00e9t\u00e9\n {% else %}\n Personne physique\n {% endif %}\n {% endif %}\n
\nNom et pr\u00e9nom ou Raison sociale: {{ doc.customer_name }}
\nNIF : {{ doc.tax_id }}
\nR\u00e9sident \u00e0 : {{ doc.customer_address }}
\nAssujetti \u00e0 la TVA:\n {% if doc.exempt_from_sales_tax == 1 %}\n NON\n {% else %}\n OUI\n {% endif %}\n
\n{{ _(\"Item\") }} | \n{{ _(\"Qty\") }} | \n{{ _(\"Amount\") }} | \n
---|---|---|
\n {{ item.item_code }}\n {%- if item.item_name != item.item_code -%}\n {{ item.item_name }}\n {%- endif -%}\n {%- if item.serial_no -%}\n {{ _(\"SR.No\") }}: \n {{ item.serial_no | replace(\"\\n\", \", \") }}\n {%- endif -%}\n | \n {{ item.qty }} @ {{ item.get_formatted(\"rate\") }} | \n {{ item.get_formatted(\"amount\") }} | \n
\n {{ _(\"Total Excl. Tax\") }}\n | \n\n {{ doc.get_formatted(\"net_total\", doc) }}\n | \n {% else %}\n\n {{ _(\"Total\") }}\n | \n\n {{ doc.get_formatted(\"total\", doc) }}\n | \n {% endif %}\n
\n {% if '%' in row.description %}\n {{ row.description }}\n {% else %}\n {{ row.description }}@{{ row.rate }}%\n {% endif %}\n | \n\n {{ row.get_formatted(\"tax_amount\", doc) }}\n | \n||
\n {{ _(\"Discount\") }}\n | \n\n {{ doc.get_formatted(\"discount_amount\") }}\n | \n||
\n {{ _(\"Grand Total\") }}\n | \n\n {{ doc.get_formatted(\"grand_total\") }}\n | \n||
\n {{ _(\"Rounded Total\") }}\n | \n\n {{ doc.get_formatted(\"rounded_total\") }}\n | \n||
\n {{ row.mode_of_payment }}\n | \n\n {{ row.get_formatted(\"amount\", doc) }}\n | \n||
\n {{ _(\"Paid Amount\") }}\n | \n\n {{ doc.get_formatted(\"paid_amount\") }}\n | \n||
\n {{ _(\"Change Amount\") }}\n | \n\n {{ doc.get_formatted(\"change_amount\") }}\n | \n
{{ doc.terms or \"\" }}
\n{{ _(\"Thank you, please visit again.\") }}
\n\n\n", "idx": 0, "line_breaks": 0, "margin_bottom": 15.0, "margin_left": 15.0, "margin_right": 15.0, "margin_top": 15.0, - "modified": "2024-03-20 06:42:40.521605", + "modified": "2024-04-11 12:02:54.114860", "modified_by": "Administrator", "module": "Burundi Compliance", "name": "POS E-Invoice", diff --git a/burundi_compliance/burundi_compliance/print_format/sales_e_invoice/e-invoice.html b/burundi_compliance/burundi_compliance/print_format/sales_e_invoice/e-invoice.html index 6f500a9..97baeea 100644 --- a/burundi_compliance/burundi_compliance/print_format/sales_e_invoice/e-invoice.html +++ b/burundi_compliance/burundi_compliance/print_format/sales_e_invoice/e-invoice.html @@ -177,7 +177,7 @@ {%else%} OUI {% endif %} -