diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 1117225c7..0a3c10f57 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -21,7 +21,7 @@ const customer = computed(() => state.get('customer')); const bankEntityFormData = reactive({ name: null, bic: null, - countryFk: customer.value.countryFk, + countryFk: customer.value?.countryFk, id: null, }); diff --git a/src/pages/Supplier/Card/SupplierAccounts.vue b/src/pages/Supplier/Card/SupplierAccounts.vue index f8fbba0e4..177466478 100644 --- a/src/pages/Supplier/Card/SupplierAccounts.vue +++ b/src/pages/Supplier/Card/SupplierAccounts.vue @@ -113,6 +113,7 @@ const setWireTransfer = async () => { option-label="bic" option-value="id" hide-selected + :roles-allowed-to-create="['financial']" >