feat: refs #7921 refs#7921 sendLostExpedition #3149
|
@ -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
|
||||
|
||||
if (salesPersonFk) {
|
||||
const url = await Self.app.models.Url.getUrl();
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
"type": "number"
|
||||
},
|
||||
"typeFk": {
|
||||
"type": "number"
|
||||
"type": "number",
|
||||
"required": true
|
||||
},
|
||||
"userFk": {
|
||||
"type": "number"
|
||||
|
|
Loading…
Reference in New Issue
64bddd4f63/back/models/mrw-config.js (L39)
exemple sense el toJSON