mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
refactor(UAE VAT 201): Update erpnext/regional/report/uae_vat_201/uae_vat_201.py
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7b771d139c
commit
d322181fd7
@@ -65,14 +65,14 @@ def get_chart(emirates, amounts_by_emirate):
|
||||
datasets.append({'name': _('Vat Amount (AED)'), 'values': vat_amount})
|
||||
|
||||
chart = {
|
||||
"data": {
|
||||
'labels': labels,
|
||||
'datasets': datasets
|
||||
}
|
||||
"type": "bar",
|
||||
"fieldtype": "Currency"
|
||||
"data": {
|
||||
'labels': labels,
|
||||
'datasets': datasets
|
||||
}
|
||||
}
|
||||
|
||||
chart["type"] = "bar"
|
||||
chart["fieldtype"] = "Currency"
|
||||
return chart
|
||||
|
||||
def append_vat_on_sales(data, filters):
|
||||
|
||||
Reference in New Issue
Block a user