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:
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):
|
||||
@ -333,4 +333,4 @@ def get_conditions(filters):
|
||||
("to_date", " and posting_date<=%(to_date)s")):
|
||||
if filters.get(opts[0]):
|
||||
conditions += opts[1]
|
||||
return conditions
|
||||
return conditions
|
||||
|
Loading…
x
Reference in New Issue
Block a user