Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 6583-addOnlyDestination
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2024-12-17 13:44:11 +01:00
commit 52a0e718c7
1 changed files with 9 additions and 0 deletions

View File

@ -98,6 +98,11 @@ module.exports = Self => {
arg: 'countryFk', arg: 'countryFk',
type: 'number', type: 'number',
description: 'The country id filter' description: 'The country id filter'
},
{
arg: 'payMethod',
type: 'string',
description: 'The payment method filter'
} }
], ],
returns: { returns: {
@ -165,6 +170,8 @@ module.exports = Self => {
case 'clientFk': case 'clientFk':
param = `t.${param}`; param = `t.${param}`;
return {[param]: value}; return {[param]: value};
case 'payMethod':
return {'c.payMethodFk': value};
} }
}); });
@ -205,6 +212,8 @@ module.exports = Self => {
u.name userName, u.name userName,
c.salesPersonFk, c.salesPersonFk,
c.credit, c.credit,
c.payMethodFk payMethodFk,
pm.id payMethodId,
pm.name payMethod, pm.name payMethod,
z.hour zoneLanding, z.hour zoneLanding,
z.name zoneName, z.name zoneName,