This commit is contained in:
2020-12-28 19:22:51 +00:00
parent 78fec10692
commit 344ec5880c
4 changed files with 39 additions and 17 deletions

View File

@@ -455,8 +455,6 @@ function initNavPanel() {
}
//****************** ACCOUNTING
//TODO: NO specific objects yet to check rights for so keeping this as originally written until we get there
//Not sure what this is exactly, probably to do with integration
if (
window.$gz.role.hasRole([
role.BizAdminFull,
@@ -466,23 +464,23 @@ function initNavPanel() {
) {
sub = [];
//FAKE subitem as is still TBD
//RATES
sub.push({
title: "Accounting",
title: "RateList",
icon: "$ayiCalculator",
route: "/acc-accounting",
key: key++
});
sub.push({
title: "TaxCodeList",
icon: "$ayiPercent",
route: "/acc-accounting",
key: key++
});
// ** ACCOUNTING (TOP)
addNavItem(
"Accounting",
"$ayiCalculator",
undefined,
sub,
key++,
"accounting"
);
addNavItem("Accounting", "$ayiCoins", undefined, sub, key++, "accounting");
}
//############# ADMINISTRATION

View File

@@ -167,6 +167,8 @@ export default {
"ReminderList",
"Inventory",
"Accounting",
"TaxCodeList",
"RateList",
"Administration",
"Operations",
"Attachments",