fix: fix invoiceOut filter
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
65a4578e15
commit
2267942368
|
@ -14,6 +14,12 @@ module.exports = Self => {
|
||||||
description: 'Filter defining where, order, offset, and limit - must be a JSON-encoded string',
|
description: 'Filter defining where, order, offset, and limit - must be a JSON-encoded string',
|
||||||
http: {source: 'query'}
|
http: {source: 'query'}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
arg: 'id',
|
||||||
|
type: 'number',
|
||||||
|
description: 'The invoiceOut id',
|
||||||
|
http: {source: 'query'}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
arg: 'search',
|
arg: 'search',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -106,6 +112,8 @@ module.exports = Self => {
|
||||||
return {'i.created': value};
|
return {'i.created': value};
|
||||||
case 'clientFk':
|
case 'clientFk':
|
||||||
return {'i.clientFk': value};
|
return {'i.clientFk': value};
|
||||||
|
case 'id':
|
||||||
|
return {'i.id': value};
|
||||||
case 'fi':
|
case 'fi':
|
||||||
return {'c.fi': value};
|
return {'c.fi': value};
|
||||||
case 'amount':
|
case 'amount':
|
||||||
|
|
Loading…
Reference in New Issue