8144-devToTest_2448 #3216
|
@ -49,7 +49,7 @@ module.exports = function(Self) {
|
||||||
|
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
const salesPersonFk = dataExpedition.toJSON().ticket?.client?.salesPersonFk;
|
const salesPersonFk = dataExpedition.ticket()?.client()?.salesPersonFk;
|
||||||
|
|
||||||
if (salesPersonFk) {
|
if (salesPersonFk) {
|
||||||
const url = await Self.app.models.Url.getUrl();
|
const url = await Self.app.models.Url.getUrl();
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"typeFk": {
|
"typeFk": {
|
||||||
"type": "number"
|
"type": "number",
|
||||||
|
"required": true
|
||||||
},
|
},
|
||||||
"userFk": {
|
"userFk": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
|
Loading…
Reference in New Issue