mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
@@ -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, 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