Browse Source

feat(uae vat 201): update desk page entry

develop
Mohammad Hasnain 4 years ago
parent
commit
4d99d695a3
  1. 8
      erpnext/accounts/desk_page/accounting/accounting.json
  2. 2
      erpnext/regional/report/uae_vat_201/uae_vat_201.py

8
erpnext/accounts/desk_page/accounting/accounting.json

@ -83,7 +83,7 @@
{
"hidden": 0,
"label": "Value-Added Tax (VAT UAE)",
"links": "[\n {\n \"label\": \"UAE VAT Settings\",\n \"name\": \"UAE VAT Settings\",\n \"type\": \"doctype\"\n },\n {\n \"is_query_report\": true,\n \"label\": \"UAE VAT 201\",\n \"name\": \"UAE VAT 201\",\n \"type\": \"report\"\n }\n]"
"links": "[\n {\n \"country\": \"United Arab Emirates\",\n \"is_query_report\": true,\n \"label\": \"UAE VAT 201\",\n \"name\": \"UAE VAT 201\",\n \"type\": \"report\"\n },\n {\n \"country\": \"United Arab Emirates\",\n \"label\": \"UAE VAT Settings\",\n \"name\": \"UAE VAT Settings\",\n \"type\": \"doctype\"\n }\n]"
}
],
"category": "Modules",
@ -103,8 +103,8 @@
"idx": 0,
"is_standard": 1,
"label": "Accounting",
"modified": "2020-10-08 20:31:46.022470",
"modified_by": "Administrator",
"modified": "2020-11-06 23:30:39.515679",
"modified_by": "moha@gmail.com",
"module": "Accounts",
"name": "Accounting",
"onboarding": "Accounts",
@ -158,4 +158,4 @@
"type": "Dashboard"
}
]
}
}

2
erpnext/regional/report/uae_vat_201/uae_vat_201.py

@ -30,14 +30,12 @@ def get_columns():
"label": _("Amount (AED)"),
"fieldtype": "Currency",
"width": 125,
"options": "currency"
},
{
"fieldname": "vat_amount",
"label": _("VAT Amount (AED)"),
"fieldtype": "Currency",
"width": 150,
"options": "currency"
}
]

Loading…
Cancel
Save