diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue
new file mode 100644
index 000000000..4492aae40
--- /dev/null
+++ b/src/components/CreateBankEntityForm.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+en:
+ name: Name *
+es:
+ name: Nombre *
+
diff --git a/src/pages/Worker/WorkerCreate.vue b/src/pages/Worker/WorkerCreate.vue
index 3a40278b9..eff4bb8a5 100644
--- a/src/pages/Worker/WorkerCreate.vue
+++ b/src/pages/Worker/WorkerCreate.vue
@@ -38,6 +38,10 @@ const newWorkerForm = ref({
city: null,
street: null,
name: null,
+ email: null,
+ bossFk: null,
+ iban: null,
+ bankEntityFk: null,
});
const filtersOptions = reactive({
@@ -112,7 +116,6 @@ const onFetchWorkerConfig = (workerConfig) => {
url-create="Workers/new"
model="worker"
:form-initial-data="newWorkerForm"
- :observe-form-changes="false"
>
@@ -170,7 +173,7 @@ const onFetchWorkerConfig = (workerConfig) => {
:label="t('worker.create.city')"
v-model="data.city"
:options="filtersOptions.towns"
- option-value="id"
+ option-value="name"
option-label="name"
hide-selected
>