update fixtures for ticketComponents

This commit is contained in:
Bernat 2018-04-11 12:56:16 +02:00
parent 22a5f8d495
commit ec90f70c56
1 changed files with 22 additions and 6 deletions

View File

@ -422,7 +422,12 @@ INSERT INTO `vn`.`sale`(`id`, `itemFk`, `ticketFk`, `concept`, `quantity`, `pric
VALUES
( 1, 1, 1, 'Gem of Time', 5 , 1.5, 0, 0, 0, CURDATE()),
( 2, 1, 1, 'Gem of Time', 2 , 1.5, 0, 0, 0, CURDATE()),
( 3, 2, 2, 'Mjolnir' , 10, 4 , 0, 0, 0, CURDATE());
( 3, 2, 2, 'Mjolnir' , 10, 4 , 0, 0, 0, CURDATE()),
( 4, 2, 2, 'Iron Patriot' , 10, 4 , 0, 0, 0, CURDATE()),
( 5, 2, 2, 'Gem of Mind' , 10, 4 , 0, 0, 0, CURDATE()),
( 6, 2, 2, 'Gem of Mind' , 10, 4 , 0, 0, 0, CURDATE()),
( 7, 2, 2, 'Mjolnir' , 10, 4 , 0, 0, 0, CURDATE()),
( 8, 2, 2, 'Mark I' , 10, 4 , 0, 0, 0, CURDATE());
INSERT INTO `vn`.`saleChecked`(`saleFk`, `isChecked`)
VALUES
@ -437,14 +442,25 @@ INSERT INTO `vn`.`componentTypeRate`(`id`, `type`)
INSERT INTO `vn`.`componentRate`(`id`, `name`, `componentTypeRate`, `classRate`, `tax`, `isRenewable`)
VALUES
( 1, 'Special price', 1, NULL, NULL, 1),
( 2, 'Delivery', 2, NULL, NULL, 1),
( 3, 'Mana', 3, 1, NULL, 0 );
( 1, 'Special price', 1, NULL, NULL, 1),
( 2, 'Delivery 1', 1, NULL, NULL, 1),
( 3, 'Delivery 2', 1, NULL, NULL, 1),
( 4, 'Delivery 3', 2, NULL, NULL, 1),
( 5, 'Delivery 4', 2, NULL, NULL, 0),
( 6, 'Delivery 5', 2, NULL, NULL, 0),
( 7, 'Delivery 6', 2, NULL, NULL, 0),
( 8, 'Mana', 3, 1, NULL, 0 );
INSERT INTO `vn`.`saleComponent`(`saleFk`, `componentFk`, `value`)
VALUES
( 1, 1, 0.5),
( 2, 2, 1.2 );
( 1, 1, 1),
( 2, 2, 2.5),
( 3, 3, 3),
( 4, 4, 4.5),
( 5, 5, 5),
( 6, 6, 6.5),
( 7, 7, 7),
( 8, 2, 1.2 );
INSERT INTO `vn`.`itemBarcode`(`id`, `itemFk`, `code`)