Merge branch 'dev' into 4268-client_list_scroll
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2022-06-30 08:13:59 +00:00
commit dab8c60f77
2 changed files with 2 additions and 17 deletions

View File

@ -200,22 +200,7 @@ module.exports = Self => {
return {'t.routeFk': {neq: null}};
return {'t.routeFk': null};
case 'pending':
if (value) {
return {and: [
{'st.alertLevel': 0},
{'st.code': {nin: [
'OK',
'BOARDING',
'PRINTED',
'PRINTED_AUTO',
'PICKER_DESIGNED'
]}}
]};
} else {
return {and: [
{'st.alertLevel': {gt: 0}}
]};
}
return {'st.isNotValidated': value};
case 'id':
case 'clientFk':
case 'agencyModeFk':

View File

@ -153,7 +153,7 @@ describe('ticket filter()', () => {
const secondRow = result[1];
const thirdRow = result[2];
expect(result.length).toEqual(12);
expect(result.length).toEqual(17);
expect(firstRow.state).toEqual('Entregado');
expect(secondRow.state).toEqual('Entregado');
expect(thirdRow.state).toEqual('Entregado');