{
{
es:
- Warehouse: Almacén
+ Address: Consignatario
ETA date: Fecha ETA
ETA hour: Hora ETA
Description: Descripción
diff --git a/src/pages/Route/Roadmap/RoadmapSummary.vue b/src/pages/Route/Roadmap/RoadmapSummary.vue
index 9aa8f40d7..e9969c2f7 100644
--- a/src/pages/Route/Roadmap/RoadmapSummary.vue
+++ b/src/pages/Route/Roadmap/RoadmapSummary.vue
@@ -35,9 +35,9 @@ onUnmounted(hideRightDrawer);
const columns = ref([
{
- name: 'warehouse',
- label: t('Warehouse'),
- field: (row) => dashIfEmpty(row?.warehouse?.name),
+ name: 'address',
+ label: t('Address'),
+ field: (row) => dashIfEmpty(row?.address?.nickname),
sortable: true,
align: 'left',
},
@@ -54,8 +54,17 @@ const filter = {
{ relation: 'supplier' },
{ relation: 'worker' },
{
- relation: 'expeditionTruck',
- scope: { include: [{ relation: 'warehouse' }] },
+ relation: 'roadmapStop',
+ scope: {
+ include: [
+ {
+ relation: 'address',
+ scope: {
+ fields: ['nickname'],
+ },
+ },
+ ],
+ },
},
],
};
@@ -151,11 +160,9 @@ const openAddStopDialog = () => {