fix: refs #6897 travel filter
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-08-30 12:35:10 +02:00
parent e8010d0f18
commit 26d93ef474
2 changed files with 18 additions and 2 deletions

View File

@ -71,7 +71,16 @@ module.exports = Self => {
arg: 'continent',
type: 'string',
description: 'The continent code'
}, {
arg: 'shipmentHour',
type: 'time',
description: 'The shipment hour'
},
{
arg: 'landingHour',
type: 'time',
description: 'The landing hour'
}
],
returns: {
type: ['Object'],
@ -130,6 +139,8 @@ module.exports = Self => {
t.isReceived,
t.m3,
t.kg,
t.shipmentHour,
t.landingHour,
t.cargoSupplierFk,
t.totalEntries,
am.name agencyModeName,

View File

@ -44,8 +44,13 @@
},
"agencyModeFk": {
"type": "number"
}
},
},
"shipmentHour": {
"type": "time"
},
"landingHour": {
"type": "time"
},
"relations": {
"agency": {
"type": "belongsTo",