Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 6515-hasAnyNegativeBase
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
commit
31c282ac0b
|
@ -31,7 +31,7 @@ describe('docuware upload()', () => {
|
|||
try {
|
||||
const options = {transaction: tx};
|
||||
const user = await models.UserConfig.findById(userId, null, options);
|
||||
await user.updateAttribute('tabletFk', 'Tablet1');
|
||||
await user.updateAttribute('tabletFk', 'Tablet1', options);
|
||||
await models.Docuware.upload(ctx, ticketIds, fileCabinetName, options);
|
||||
|
||||
await tx.rollback();
|
||||
|
|
|
@ -30,7 +30,6 @@ describe('Renew Token', () => {
|
|||
it('should renew token', async() => {
|
||||
const mockDate = new Date(startingTime + 26600000);
|
||||
jasmine.clock().mockDate(mockDate);
|
||||
console.log(startingTime, mockDate)
|
||||
const {id} = await models.VnUser.renewToken(ctx);
|
||||
|
||||
expect(id).not.toEqual(ctx.req.accessToken.id);
|
||||
|
|
|
@ -90,7 +90,7 @@ module.exports = Self => {
|
|||
AND t.refFk IS NULL
|
||||
AND c.typeFk IN ('normal','trust')
|
||||
GROUP BY t.clientFk, negativeBase.taxableBase
|
||||
HAVING amount <> 0`, [args.from, args.to]));
|
||||
HAVING amount < 0`, [args.from, args.to]));
|
||||
|
||||
stmt = new ParameterizedSQL(`
|
||||
SELECT f.*
|
||||
|
|
|
@ -10,13 +10,17 @@ module.exports = Self => {
|
|||
type: 'date',
|
||||
description: 'From date',
|
||||
required: true
|
||||
},
|
||||
{
|
||||
}, {
|
||||
arg: 'to',
|
||||
type: 'date',
|
||||
description: 'To date',
|
||||
required: true
|
||||
}],
|
||||
}, {
|
||||
arg: 'filter',
|
||||
type: 'object',
|
||||
description: 'Filter defining where, order, offset, and limit - must be a JSON-encoded string'
|
||||
},
|
||||
],
|
||||
returns: [
|
||||
{
|
||||
arg: 'body',
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
name: itemShelving
|
||||
columns:
|
||||
id: id
|
||||
itemFk: item
|
||||
shelvingFk: shelving
|
||||
visible: visible
|
||||
created: created
|
||||
grouping: grouping
|
||||
packing: packing
|
||||
packagingFk: package
|
||||
userFk: user
|
||||
isChecked: isChecked
|
||||
buyFk: buy
|
|
@ -0,0 +1,13 @@
|
|||
name: artículo del carro
|
||||
columns:
|
||||
id: id
|
||||
itemFk: artículo
|
||||
shelvingFk: matrícula carro
|
||||
visible: visible
|
||||
created: creado
|
||||
grouping: grouping
|
||||
packing: packing
|
||||
packagingFk: embalaje
|
||||
userFk: usuario
|
||||
isChecked: está revisado
|
||||
buyFk: compra
|
|
@ -20,18 +20,10 @@
|
|||
"type": "number",
|
||||
"required": true
|
||||
},
|
||||
"isPreviousPreparedByPacking": {
|
||||
"type": "boolean",
|
||||
"required": true
|
||||
},
|
||||
"code": {
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
"isPreviousPrepared": {
|
||||
"type": "boolean",
|
||||
"required": true
|
||||
},
|
||||
"isPackagingArea": {
|
||||
"type": "boolean",
|
||||
"required": true
|
||||
|
|
Loading…
Reference in New Issue