mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
Merge pull request #28144 from frappe/mergify/bp/version-13-hotfix/pr-27994
fix: incorrect VAT Amount in UAE VAT 201 report (backport #27994)
This commit is contained in:
@@ -122,7 +122,7 @@ def get_total_emiratewise(filters):
|
|||||||
try:
|
try:
|
||||||
return frappe.db.sql("""
|
return frappe.db.sql("""
|
||||||
select
|
select
|
||||||
s.vat_emirate as emirate, sum(i.base_amount) as total, sum(s.total_taxes_and_charges)
|
s.vat_emirate as emirate, sum(i.base_amount) as total, sum(i.tax_amount)
|
||||||
from
|
from
|
||||||
`tabSales Invoice Item` i inner join `tabSales Invoice` s
|
`tabSales Invoice Item` i inner join `tabSales Invoice` s
|
||||||
on
|
on
|
||||||
|
|||||||
Reference in New Issue
Block a user