#6900 rectificative filter #2845

Merged
jorgep merged 9 commits from 6900-fineTunningInvoiceIn into dev 2024-08-09 10:32:14 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 8ab049be0d - Show all commits

View File

@ -157,8 +157,8 @@ module.exports = Self => {
case 'correctingFk':
if (!correcteds.length && !args.correctingFk) return;
Review

Si no pongo esto forma un where vacío.

Si no pongo esto forma un where vacío.
return args.correctingFk
? {['ii.id']: {inq: correcteds.map(x => x.correctingFk)}}
: {['ii.id']: {nin: correcteds.map(x => x.correctingFk)}};
? {'ii.id': {inq: correcteds.map(x => x.correctingFk)}}
: {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
case 'correctedFk':
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
case 'supplierActivityFk':