fix: fixed company filter
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jon Elias 2025-02-07 07:51:18 +01:00
parent 04a65bc1e0
commit ec01c6b0c2
1 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,11 @@ module.exports = Self => {
type: 'integer',
description: 'The client id',
http: {source: 'query'}
}, {
arg: 'companyFk',
type: 'integer',
description: 'The company id',
http: {source: 'query'}
},
{
arg: 'fi',
@ -148,6 +153,7 @@ module.exports = Self => {
i.hasPdf,
i.customsAgentFk,
c.socialName AS clientSocialName,
i.companyFk,
co.code AS companyCode,
ca.fiscalName AS customsAgentName
FROM invoiceOut i