From 306573b1bf3a1c89d3fa1c866b6bd8556348db99 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 20 Mar 2023 15:11:55 +0100 Subject: [PATCH] refs #5439 campos fecha y salesperson --- back/methods/user-config/getUserConfig.js | 4 +++- modules/item/front/request-search-panel/index.html | 14 ++++++++++++++ .../monitor/front/index/search-panel/index.html | 12 ++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/back/methods/user-config/getUserConfig.js b/back/methods/user-config/getUserConfig.js index 4de8049e7..1ea723f52 100644 --- a/back/methods/user-config/getUserConfig.js +++ b/back/methods/user-config/getUserConfig.js @@ -33,7 +33,9 @@ module.exports = function(Self) { let newConfig = { warehouseFk: warehouse.id, companyFk: company.id, - userFk: ctx.req.accessToken.userId + userFk: ctx.req.accessToken.userId, + buyed: ticketResquest.buyed, + salesPersonCode: salesPersonNickname }; userConfig = await models.UserConfig.create(newConfig, myOptions); diff --git a/modules/item/front/request-search-panel/index.html b/modules/item/front/request-search-panel/index.html index 8c9d04b64..1572c6213 100644 --- a/modules/item/front/request-search-panel/index.html +++ b/modules/item/front/request-search-panel/index.html @@ -38,6 +38,20 @@ url="Warehouses"> + + + + + +
+ + + +