mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +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})
|
datasets.append({'name': _('Vat Amount (AED)'), 'values': vat_amount})
|
||||||
|
|
||||||
chart = {
|
chart = {
|
||||||
|
"type": "bar",
|
||||||
|
"fieldtype": "Currency"
|
||||||
"data": {
|
"data": {
|
||||||
'labels': labels,
|
'labels': labels,
|
||||||
'datasets': datasets
|
'datasets': datasets
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
chart["type"] = "bar"
|
|
||||||
chart["fieldtype"] = "Currency"
|
|
||||||
return chart
|
return chart
|
||||||
|
|
||||||
def append_vat_on_sales(data, filters):
|
def append_vat_on_sales(data, filters):
|
||||||
|
|||||||
Reference in New Issue
Block a user