diff --git a/src/pages/03_customer-management/BranchPage.vue b/src/pages/03_customer-management/BranchPage.vue
index bf1b8fd7..a88d498b 100644
--- a/src/pages/03_customer-management/BranchPage.vue
+++ b/src/pages/03_customer-management/BranchPage.vue
@@ -9,7 +9,7 @@ import { baseUrl } from 'src/stores/utils';
import useCustomerStore from 'stores/customer';
import useFlowStore from 'stores/flow';
import useOptionStore from 'stores/options';
-import { dialog } from 'stores/utils';
+import { dialog, canAccess } from 'stores/utils';
import { Status } from 'stores/types';
import { Employee } from 'stores/employee/types';
@@ -285,7 +285,7 @@ watch(
@@ -615,7 +615,7 @@ watch(
-
+
{
if (currentTab === 'employee') {
@@ -1391,6 +1391,7 @@ const emptyCreateDialog = ref(false);
/>
+
@@ -3865,6 +3870,7 @@ const emptyCreateDialog = ref(false);
:on-create="customerFormState.dialogModal"
:default-url="customerFormState.defaultCustomerImageUrl"
:hidden-footer="!customerFormState.isImageEdit"
+ :change-disabled="!canAccess('customer', 'edit')"
@add-image="
async (v) => {
if (!v) return;
@@ -4115,6 +4121,7 @@ const emptyCreateDialog = ref(false);
>
@@ -4412,7 +4420,10 @@ const emptyCreateDialog = ref(false);
prefix-id="info"
v-if="!!customerFormState.editCustomerId"
:index="idx"
- :hide-action="customerFormData.status === 'INACTIVE'"
+ :hide-action="
+ customerFormData.status === 'INACTIVE' ||
+ !canAccess('customer', 'edit')
+ "
v-model:customer="customerFormData"
v-model:customer-branch="
customerFormData.customerBranch[idx]