fix: correct role name from 'account' to 'accountant' and update route syntax
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-03-24 10:36:46 +07:00
parent 4a88a7fc55
commit 4e61762130

View file

@ -143,7 +143,7 @@ function initMenu() {
'admin', 'admin',
'branch_manager', 'branch_manager',
'head_of_accountant', 'head_of_accountant',
'account', 'accountant',
'head_of_sale', 'head_of_sale',
'sale', 'sale',
]), ]),
@ -175,7 +175,7 @@ function initMenu() {
'admin', 'admin',
'branch_manager', 'branch_manager',
'head_of_accountant', 'head_of_accountant',
'account', 'accountant',
'head_of_sale', 'head_of_sale',
'sale', 'sale',
]), ]),
@ -213,7 +213,7 @@ function initMenu() {
children: [ children: [
{ {
label: 'usage', label: 'usage',
route: `/manual`, route: '/manual',
}, },
], ],
}, },
@ -500,8 +500,9 @@ onMounted(async () => {
</span> </span>
</div> </div>
<!-- v-if="!mini" -->
<q-btn <q-btn
v-if="!mini" v-if="false"
dense dense
flat flat
rounded rounded