diff --git a/src/components/01_branch-management/FormBank.vue b/src/components/01_branch-management/FormBank.vue
index 183b2434..dbc1dd47 100644
--- a/src/components/01_branch-management/FormBank.vue
+++ b/src/components/01_branch-management/FormBank.vue
@@ -6,6 +6,7 @@ import { onMounted, ref, watch } from 'vue';
import { deleteItem } from 'stores/utils';
import { QSelect } from 'quasar';
import { AddButton, DeleteButton } from 'components/button';
+import ToggleButton from '../button/ToggleButton.vue';
const optionStore = useOptionStore();
@@ -113,13 +114,10 @@ watch(
{{ $t('accountStatus') }}
-
{
-
-
+ {
const res =
@@ -1316,6 +1312,13 @@ watch(currentHq, () => {
props.row.status === 'ACTIVE'
"
/>
+
+ {{
+ props.row.status !== 'INACTIVE'
+ ? $t('switchOnLabel')
+ : $t('switchOffLabel')
+ }}
+
@@ -1498,16 +1501,15 @@ watch(currentHq, () => {
-
-
+ {
@@ -1521,11 +1523,14 @@ watch(currentHq, () => {
props.row.status = res.status;
}
"
- :model-value="
- props.row.status === 'CREATED' ||
- props.row.status === 'ACTIVE'
- "
/>
+
+ {{
+ props.row.status !== 'INACTIVE'
+ ? $t('switchOnLabel')
+ : $t('switchOffLabel')
+ }}
+
@@ -2017,11 +2022,9 @@ watch(currentHq, () => {
- {
if (!currentNode) return;