Merge pull request 'fix: refs #6897 fix filter' (!2901) from 6897-entryMigrationFilterFix into dev
gitea/salix/pipeline/head There was a failure building this commit Details

Reviewed-on: #2901
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-08-30 10:58:01 +00:00
commit cde5e20260
4 changed files with 28 additions and 2 deletions

View File

@ -109,6 +109,11 @@ module.exports = Self => {
arg: 'days', arg: 'days',
type: 'number', type: 'number',
description: `N days interval` description: `N days interval`
},
{
arg: 'invoiceAmount',
type: 'number',
description: `The invoice amount`
} }
], ],
returns: { returns: {
@ -192,6 +197,7 @@ module.exports = Self => {
e.companyFk, e.companyFk,
e.gestDocFk, e.gestDocFk,
e.invoiceInFk, e.invoiceInFk,
e.invoiceAmount,
t.landed, t.landed,
s.name supplierName, s.name supplierName,
s.nickname supplierAlias, s.nickname supplierAlias,

View File

@ -74,6 +74,9 @@
}, },
"observationEditorFk": { "observationEditorFk": {
"type": "number" "type": "number"
},
"invoiceAmount": {
"type": "number"
} }
}, },
"relations": { "relations": {

View File

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

View File

@ -44,6 +44,12 @@
}, },
"agencyModeFk": { "agencyModeFk": {
"type": "number" "type": "number"
},
"shipmentHour": {
"type": "string"
},
"landingHour": {
"type": "string"
} }
}, },
"relations": { "relations": {
@ -64,3 +70,4 @@
} }
} }
} }