feat: refs #7921 refs#7921 sendLostExpedition #3149

Merged
sergiodt merged 3 commits from 7921-sendExpeditionLost into dev 2024-10-28 09:42:22 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 6efc2c340c - Show all commits

View File

@ -49,7 +49,7 @@ module.exports = function(Self) {
}, myOptions);
const salesPersonFk = dataExpedition.toJSON().ticket?.client?.salesPersonFk;
const salesPersonFk = dataExpedition.ticket()?.client()?.salesPersonFk;
sergiodt marked this conversation as resolved Outdated
https://gitea.verdnatura.es/verdnatura/salix/src/commit/64bddd4f63273063b7d35f63c993a0c491f62836/back/models/mrw-config.js#L39 exemple sense el toJSON
if (salesPersonFk) {
const url = await Self.app.models.Url.getUrl();

View File

@ -19,7 +19,8 @@
"type": "number"
},
"typeFk": {
"type": "number"
"type": "number",
"required": true
},
"userFk": {
"type": "number"