fix: refs: #8625 fixed agency and vehicle Fk and add select fields on create form #1503

Merged
jtubau merged 4 commits from hotfix_8625_fixCreateNewRoute into master 2025-02-28 09:09:58 +00:00
Member
No description provided.
jtubau added 1 commit 2025-02-26 10:48:44 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
0225dcc736
fix: fixed agency and vehicle Fk and add select fields on create form
jtubau requested review from alexm 2025-02-26 10:49:15 +00:00
jtubau changed title from fix: fixed agency and vehicle Fk and add select fields on create form to fix: refs: #8625 fixed agency and vehicle Fk and add select fields on create form 2025-02-26 10:50:51 +00:00
alexm requested changes 2025-02-26 11:10:54 +00:00
Dismissed
@ -40,1 +40,4 @@
label: t('route.Worker'),
component: 'select',
attrs: {
url: 'Workers/activeWithInheritedRole',
Member

Me suena que hay componente VnSelectWorker creo, para no tener que repitr este codigo

Me suena que hay componente VnSelectWorker creo, para no tener que repitr este codigo
jtubau marked this conversation as resolved
jtubau added 1 commit 2025-02-27 11:45:25 +00:00
gitea/salix-front/pipeline/pr-master There was a failure building this commit Details
1c568227c2
refactor: replace select component with VnSelectWorker in RouteList.vue
jtubau requested review from alexm 2025-02-27 11:45:59 +00:00
alexm requested changes 2025-02-28 06:12:11 +00:00
Dismissed
@ -143,1 +166,4 @@
</template>
<template #column-agencyModeFk="{ row }">
<span>
{{ row?.agencyName }}
Member

En el objeto columns, le puedes poner format: (row) => row?.agencyName
Y te evitas crear el template
Aun se hace asi? @pablone pq me suena que habia q poner column[algo]: null pero no veo ya ese component-prop en VnTable

En el objeto columns, le puedes poner format: (row) => row?.agencyName Y te evitas crear el template Aun se hace asi? @pablone pq me suena que habia q poner column[algo]: null pero no veo ya ese `component-prop` en VnTable
Author
Member

Si, lo arregle en otra rama que hace el test y necesitaba tenerlo arreglado para que funcionara. Me comento lo mismo Segarra y ya esta cambiado allí, ahora lo actualizo aquí.

Si, lo arregle en otra rama que hace el test y necesitaba tenerlo arreglado para que funcionara. Me comento lo mismo Segarra y ya esta cambiado allí, ahora lo actualizo aquí.
@ -144,0 +171,4 @@
</template>
<template #column-vehicleFk="{ row }">
<span>
{{ row?.vehiclePlateNumber }}
Member

Pasa lo mismo aqui

Pasa lo mismo aqui
jtubau marked this conversation as resolved
jtubau added 1 commit 2025-02-28 08:00:35 +00:00
gitea/salix-front/pipeline/pr-master There was a failure building this commit Details
e9660b2687
refactor: rename agencyModeFk to agencyName and vehicleFk to vehiclePlateNumber in RouteList.vue
jtubau requested review from alexm 2025-02-28 08:01:16 +00:00
alexm approved these changes 2025-02-28 08:03:45 +00:00
jtubau added 1 commit 2025-02-28 08:35:04 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
38769d8b0a
Merge branch 'master' into hotfix_8625_fixCreateNewRoute
jtubau merged commit c450a6825c into master 2025-02-28 09:09:58 +00:00
jtubau deleted branch hotfix_8625_fixCreateNewRoute 2025-02-28 09:09:58 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix-front#1503
No description provided.