fix: replace colour by inkFk
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
f7d953d392
commit
44a3059e91
|
@ -30,9 +30,9 @@ module.exports = Self => {
|
|||
description: 'Supplier id',
|
||||
},
|
||||
{
|
||||
arg: 'colour',
|
||||
arg: 'inkFk',
|
||||
type: 'string',
|
||||
description: 'Colour\'s item',
|
||||
description: 'InkFk\'s item',
|
||||
},
|
||||
{
|
||||
arg: 'size',
|
||||
|
@ -91,7 +91,7 @@ module.exports = Self => {
|
|||
|
||||
const filterKeyOrder = [
|
||||
'itemFk', 'force', 'days', 'longName', 'supplier',
|
||||
'colour', 'size', 'originFk',
|
||||
'inkFk', 'size', 'originFk',
|
||||
'lack', 'warehouseFk', 'categoryFk', 'typeFk'
|
||||
];
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ describe('Item Lack', () => {
|
|||
|
||||
it('should return data with filter.longname', async() => {
|
||||
const filter = {
|
||||
longname: 'Ranged weapon pistol 9mm'
|
||||
longName: 'Ranged weapon pistol 9mm'
|
||||
};
|
||||
const result = await models.Ticket.itemLack(ctx, filter, options);
|
||||
|
||||
|
@ -43,7 +43,7 @@ describe('Item Lack', () => {
|
|||
|
||||
it('should return data with filter.color', async() => {
|
||||
const filter = {
|
||||
colour: 'WHT'
|
||||
inkFk: 'WHT'
|
||||
};
|
||||
const result = await models.Ticket.itemLack(ctx, filter, options);
|
||||
|
||||
|
|
Loading…
Reference in New Issue