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'),
|
(1, 'Reduced VAT', 'R'),
|
||||||
(2, 'General VAT', 'G');
|
(2, 'General VAT', 'G');
|
||||||
|
|
||||||
INSERT INTO `vn`.`taxClassCode`(`id`, `taxClassFk`, `effectived`, `taxCodeFk`)
|
INSERT INTO `vn`.`taxClassCode`(`taxClassFk`, `effectived`, `taxCodeFk`)
|
||||||
VALUES
|
VALUES
|
||||||
(1, 1, CURDATE(), 1),
|
(1, CURDATE(), 1),
|
||||||
(2, 1, CURDATE(), 21),
|
(1, CURDATE(), 21),
|
||||||
(3, 2, CURDATE(), 2);
|
(2, CURDATE(), 2);
|
||||||
|
|
||||||
INSERT INTO `vn`.`intrastat`(`id`, `description`, `taxClassFk`, `taxCodeFk`)
|
INSERT INTO `vn`.`intrastat`(`id`, `description`, `taxClassFk`, `taxCodeFk`)
|
||||||
VALUES
|
VALUES
|
||||||
|
|
|
@ -7,21 +7,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
|
||||||
"type": "number",
|
|
||||||
"id": true
|
|
||||||
},
|
|
||||||
"effectived": {
|
|
||||||
"type": "date",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"taxClassFk": {
|
"taxClassFk": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"required": true
|
"required": true,
|
||||||
|
"id": 1
|
||||||
},
|
},
|
||||||
"taxCodeFk": {
|
"taxCodeFk": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"required": true
|
"required": true,
|
||||||
|
"id": 2
|
||||||
|
},
|
||||||
|
"effectived": {
|
||||||
|
"type": "date",
|
||||||
|
"required": true,
|
||||||
|
"id": 3
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
|
|
|
@ -6,3 +6,5 @@ Full name calculates based on tags 1-3. Is not recommended to change it manually
|
||||||
Is active: Activo
|
Is active: Activo
|
||||||
Expense: Gasto
|
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