diff --git a/package.json b/package.json index e2e75f253..04b75a0b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salix-front", - "version": "24.44.0", + "version": "24.50.0", "description": "Salix frontend", "productName": "Salix", "author": "Verdnatura", @@ -64,4 +64,4 @@ "vite": "^5.1.4", "vitest": "^0.31.1" } -} +} \ No newline at end of file diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index a42be6ef8..2da3aa994 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -9,8 +9,6 @@ import VnRow from 'components/ui/VnRow.vue'; import FormModelPopup from './FormModelPopup.vue'; import { useState } from 'src/composables/useState'; -defineProps({ showEntityField: { type: Boolean, default: true } }); - const emit = defineEmits(['onDataSaved']); const { t } = useI18n(); const bicInputRef = ref(null); @@ -18,17 +16,16 @@ const state = useState(); const customer = computed(() => state.get('customer')); +const countriesFilter = { + fields: ['id', 'name', 'code'], +}; + const bankEntityFormData = reactive({ name: null, bic: null, countryFk: customer.value?.countryFk, - id: null, }); -const countriesFilter = { - fields: ['id', 'name', 'code'], -}; - const countriesOptions = ref([]); const onDataSaved = (...args) => { @@ -44,7 +41,6 @@ onMounted(async () => {