From f63dd0f9a383f10a838e5cd31badf6f4127bf014 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 17 May 2023 09:05:28 +0200 Subject: [PATCH] refs #5334 datos --- modules/worker/front/department/card/index.html | 2 +- modules/worker/front/department/card/index.js | 3 ++- modules/worker/front/routes.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/worker/front/department/card/index.html b/modules/worker/front/department/card/index.html index b9ae1a87b..032939600 100644 --- a/modules/worker/front/department/card/index.html +++ b/modules/worker/front/department/card/index.html @@ -1,5 +1,5 @@ - + diff --git a/modules/worker/front/department/card/index.js b/modules/worker/front/department/card/index.js index c7bf32569..9b1ccf08d 100644 --- a/modules/worker/front/department/card/index.js +++ b/modules/worker/front/department/card/index.js @@ -4,7 +4,8 @@ import ModuleCard from 'salix/components/module-card'; class Controller extends ModuleCard { reload() { const filter = { - fields: ['chatName', 'notificationEmail'], + fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName', + 'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'], include: [ { relation: 'client', diff --git a/modules/worker/front/routes.json b/modules/worker/front/routes.json index 4314a6401..a24cf9722 100644 --- a/modules/worker/front/routes.json +++ b/modules/worker/front/routes.json @@ -25,7 +25,7 @@ }, {"state": "worker.card.workerLog", "icon": "history"} ], "department": [ - {"state": "worker.deparment.card.basicData", "icon": "settings"} + {"state": "worker.department.card.basicData", "icon": "settings"} ] }, "keybindings": [