#1102 scope en el modelo company
gitea/salix/dev This commit looks good Details

This commit is contained in:
Gerard 2019-02-18 14:46:25 +01:00
parent 3101020220
commit e85c346f45
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ describe('User config', () => {
expect(userLocalBank).toEqual(''); expect(userLocalBank).toEqual('');
expect(userLocalCompany).toEqual(''); expect(userLocalCompany).toEqual('');
expect(userWarehouse).toEqual('Warehouse Three'); expect(userWarehouse).toEqual('Warehouse Three');
expect(userCompany).toEqual('FTH'); expect(userCompany).toEqual('VNH');
}); });
}); });
@ -103,7 +103,7 @@ describe('User config', () => {
expect(userLocalBank).toContain('Pay on receipt'); expect(userLocalBank).toContain('Pay on receipt');
expect(userLocalCompany).toContain('VNL'); expect(userLocalCompany).toContain('VNL');
expect(userWarehouse).toEqual('Warehouse Three'); expect(userWarehouse).toEqual('Warehouse Three');
expect(userCompany).toEqual('FTH'); expect(userCompany).toEqual('VNH');
}); });
it('should now clear the local settings', async() => { it('should now clear the local settings', async() => {

View File

@ -1055,7 +1055,7 @@ INSERT INTO `vn`.`userConfig` (`userFk`, `warehouseFk`, `companyFk`)
(1, 2, 69), (1, 2, 69),
(5, 1, 442), (5, 1, 442),
(9, 1, 442), (9, 1, 442),
(18, 3, 791); (18, 3, 567);
INSERT INTO `vn`.`receipt`(`id`, `invoiceFk`, `amountPaid`, `amountUnpaid`, `payed`, `workerFk`, `bankFk`, `clientFk`, `created`, `companyFk`, `isConciliate`) INSERT INTO `vn`.`receipt`(`id`, `invoiceFk`, `amountPaid`, `amountUnpaid`, `payed`, `workerFk`, `bankFk`, `clientFk`, `created`, `companyFk`, `isConciliate`)
VALUES VALUES