fix(04): role sale agent
This commit is contained in:
parent
8335f6cad6
commit
aaa168b565
1 changed files with 3 additions and 2 deletions
|
|
@ -146,14 +146,15 @@ const { t } = useI18n();
|
||||||
const baseUrl = ref<string>(import.meta.env.VITE_API_BASE_URL);
|
const baseUrl = ref<string>(import.meta.env.VITE_API_BASE_URL);
|
||||||
|
|
||||||
const priceDisplay = computed(() => ({
|
const priceDisplay = computed(() => ({
|
||||||
price: !isRoleInclude(['agency']),
|
price: !isRoleInclude(['sale_agent']),
|
||||||
agentPrice: isRoleInclude([
|
agentPrice: isRoleInclude([
|
||||||
'admin',
|
'admin',
|
||||||
'head_of_admin',
|
'head_of_admin',
|
||||||
|
'head_of_sale',
|
||||||
'system',
|
'system',
|
||||||
'owner',
|
'owner',
|
||||||
'accountant',
|
'accountant',
|
||||||
'agency',
|
'sale_agent',
|
||||||
]),
|
]),
|
||||||
serviceCharge: isRoleInclude([
|
serviceCharge: isRoleInclude([
|
||||||
'admin',
|
'admin',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue