feat(Supplier): refs #6828 add companySize
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-11-11 10:32:17 +01:00
parent a254cb19cd
commit f7a29cd9c7
4 changed files with 9 additions and 2 deletions

View File

@ -2476,7 +2476,8 @@ INSERT INTO `vn`.`dmsType`
(20, 'Reclamación', 1, 1, 'claim'),
(21, 'Entrada', 1, 1, 'entry'),
(22, 'Proveedor', 1, 1, 'supplier'),
(23, 'Termografos', 35, 35, 'thermograph');
(23, 'Termografos', 35, 35, 'thermograph'),
(24, 'Sello de calidad', 1, 1, 'qualitySeal');
INSERT INTO `vn`.`dms`(`id`, `dmsTypeFk`, `file`, `contentType`, `workerFk`, `warehouseFk`, `companyFk`, `hardCopyNumber`, `hasFile`, `reference`, `description`, `created`)
VALUES

View File

@ -0,0 +1,2 @@
ALTER TABLE vn.supplier ADD companySize ENUM('small', 'medium', 'big') NULL;

View File

@ -43,7 +43,8 @@ module.exports = Self => {
'sageWithholdingFk',
'workerFk',
'supplierActivityFk',
'healthRegister'
'healthRegister',
'companySize'
],
include: [
{

View File

@ -113,6 +113,9 @@
},
"isVies": {
"type": "boolean"
},
"companySize": {
"type": "string"
}
},
"relations": {