mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fix: group item wise tax details by tax row
(cherry picked from commit 57bd1facf5)
# Conflicts:
# erpnext/regional/italy/utils.py
This commit is contained in:
@@ -141,6 +141,17 @@ def download_zip(files, output_filename):
|
|||||||
|
|
||||||
def get_invoice_summary(items, taxes):
|
def get_invoice_summary(items, taxes):
|
||||||
summary_data = frappe._dict()
|
summary_data = frappe._dict()
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
taxes_wise_tax_details = {}
|
||||||
|
|
||||||
|
for d in item_wise_tax_details:
|
||||||
|
if d.tax_row not in taxes_wise_tax_details:
|
||||||
|
taxes_wise_tax_details[d.tax_row] = []
|
||||||
|
|
||||||
|
taxes_wise_tax_details[d.tax_row].append(d)
|
||||||
|
|
||||||
|
>>>>>>> 57bd1facf5 (fix: group item wise tax details by tax row)
|
||||||
for tax in taxes:
|
for tax in taxes:
|
||||||
# Include only VAT charges.
|
# Include only VAT charges.
|
||||||
if tax.charge_type == "Actual":
|
if tax.charge_type == "Actual":
|
||||||
|
|||||||
Reference in New Issue
Block a user