Added translation. taxClassCode.sql removed
gitea/salix/2113-item_data_add_instrastat This commit looks good
Details
gitea/salix/2113-item_data_add_instrastat This commit looks good
Details
This commit is contained in:
parent
7d8e88e884
commit
fe8a0b4583
|
@ -1,23 +0,0 @@
|
|||
ALTER TABLE `vn`.`taxClassCode`
|
||||
DROP FOREIGN KEY `taxClassCode_ibfk_2`,
|
||||
DROP FOREIGN KEY `taxClassCode_ibfk_1`;
|
||||
ALTER TABLE `vn`.`taxClassCode`
|
||||
ADD COLUMN `id` INT NOT NULL AUTO_INCREMENT FIRST,
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY (`id`),
|
||||
DROP INDEX `iva_codigo_id` ;
|
||||
|
||||
ALTER TABLE `vn`.`taxClassCode`
|
||||
ADD UNIQUE INDEX `taxClassCode_unique` (`taxClassFk` ASC, `effectived` ASC, `taxCodeFk` ASC) VISIBLE;
|
||||
|
||||
ALTER TABLE `vn`.`taxClassCode`
|
||||
ADD CONSTRAINT `taxClassCode_taxClassFk`
|
||||
FOREIGN KEY (`taxClassFk`)
|
||||
REFERENCES `vn`.`taxClass` (`id`)
|
||||
ON DELETE RESTRICT
|
||||
ON UPDATE CASCADE,
|
||||
ADD CONSTRAINT `taxClassCode_taxCodeFk`
|
||||
FOREIGN KEY (`taxCodeFk`)
|
||||
REFERENCES `vn`.`taxCode` (`id`)
|
||||
ON DELETE RESTRICT
|
||||
ON UPDATE CASCADE;
|
|
@ -687,11 +687,11 @@ INSERT INTO `vn`.`taxClass`(`id`, `description`, `code`)
|
|||
(1, 'Reduced VAT', 'R'),
|
||||
(2, 'General VAT', 'G');
|
||||
|
||||
INSERT INTO `vn`.`taxClassCode`(`id`, `taxClassFk`, `effectived`, `taxCodeFk`)
|
||||
INSERT INTO `vn`.`taxClassCode`(`taxClassFk`, `effectived`, `taxCodeFk`)
|
||||
VALUES
|
||||
(1, 1, CURDATE(), 1),
|
||||
(2, 1, CURDATE(), 21),
|
||||
(3, 2, CURDATE(), 2);
|
||||
(1, CURDATE(), 1),
|
||||
(1, CURDATE(), 21),
|
||||
(2, CURDATE(), 2);
|
||||
|
||||
INSERT INTO `vn`.`intrastat`(`id`, `description`, `taxClassFk`, `taxCodeFk`)
|
||||
VALUES
|
||||
|
|
|
@ -7,21 +7,20 @@
|
|||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "number",
|
||||
"id": true
|
||||
},
|
||||
"effectived": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"taxClassFk": {
|
||||
"type": "number",
|
||||
"required": true
|
||||
"required": true,
|
||||
"id": 1
|
||||
},
|
||||
"taxCodeFk": {
|
||||
"type": "number",
|
||||
"required": true
|
||||
"required": true,
|
||||
"id": 2
|
||||
},
|
||||
"effectived": {
|
||||
"type": "date",
|
||||
"required": true,
|
||||
"id": 3
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
|
|
@ -5,4 +5,6 @@ Full name calculates based on tags 1-3. Is not recommended to change it manually
|
|||
No se recomienda cambiarlo manualmente
|
||||
Is active: Activo
|
||||
Expense: Gasto
|
||||
Price in kg: Precio en kg
|
||||
Price in kg: Precio en kg
|
||||
New intrastat: Nuevo intrastat
|
||||
Identifier: Identificador
|
Loading…
Reference in New Issue