feat: refs #7921 refs#7921 sendLostExpedition
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2024-10-28 08:57:22 +01:00
parent e775e56120
commit 6efc2c340c
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ module.exports = function(Self) {
}, myOptions);
const salesPersonFk = dataExpedition.toJSON().ticket?.client?.salesPersonFk;
const salesPersonFk = dataExpedition.ticket()?.client()?.salesPersonFk;
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"