From 9523991b04c9628dd7e64f98f2c106ca3dc17bb2 Mon Sep 17 00:00:00 2001 From: vicent Date: Fri, 20 Jan 2023 12:45:02 +0100 Subject: [PATCH] fix: mostrar descriptor worker en vez de item --- .../ticket/back/methods/sale-tracking/listSaleTracking.js | 2 +- modules/ticket/front/sale-tracking/index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ticket/back/methods/sale-tracking/listSaleTracking.js b/modules/ticket/back/methods/sale-tracking/listSaleTracking.js index 653703596..98743d8cc 100644 --- a/modules/ticket/back/methods/sale-tracking/listSaleTracking.js +++ b/modules/ticket/back/methods/sale-tracking/listSaleTracking.js @@ -36,7 +36,7 @@ module.exports = Self => { st.originalQuantity, st.created, st.workerFk, - u.nickname userNickname, + u.name, ste.name AS state FROM saleTracking st JOIN sale s ON s.id = st.saleFk diff --git a/modules/ticket/front/sale-tracking/index.html b/modules/ticket/front/sale-tracking/index.html index 86f81c75c..c21eaa46a 100644 --- a/modules/ticket/front/sale-tracking/index.html +++ b/modules/ticket/front/sale-tracking/index.html @@ -101,9 +101,9 @@ {{::saleTracking.originalQuantity}} - {{::sale.item.id}} + class="link" + ng-click="workerDescriptor.show($event, saleTracking.workerFk)"> + {{::saleTracking.name | dashIfEmpty}} {{::saleTracking.state}}