parent
0c0a465784
commit
5abe575fbe
|
@ -214,7 +214,7 @@ describe('Ticket Edit sale path', () => {
|
|||
.wait(selectors.claimBasicData.claimStateAutocomplete)
|
||||
.parsedUrl();
|
||||
|
||||
expect(url.hash).toEqual('#!/claim/6/basic-data');
|
||||
expect(url.hash).toEqual('#!/claim/5/basic-data');
|
||||
});
|
||||
|
||||
it('should click on the Claims button of the top bar menu', async() => {
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
::IMPORTANT Any changes in this file are to applyed to mirror file export-data.sh
|
||||
echo USE `account`; > install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info account role roleRole roleInherit >> install/dump/dumpedFixtures.sql
|
||||
echo USE `salix`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info salix ACL fieldAcl>> install/dump/dumpedFixtures.sql
|
||||
echo USE `vn`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc tag alertLevel>> install/dump/dumpedFixtures.sql
|
||||
echo USE `vn2008`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas tarifa_componentes tarifa_componentes_series state bionic_updating_options Grupos Monedas container iva_group_codigo escritos cl_est cl_con cl_res cl_dev cl_mot >> install/dump/dumpedFixtures.sql
|
||||
echo USE `bi`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info bi tarifa_componentes tarifa_componentes_series >> install/dump/dumpedFixtures.sql
|
||||
echo USE `cache`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info cache cache >> install/dump/dumpedFixtures.sql
|
||||
echo USE `hedera`; >> install/dump/dumpedFixtures.sql
|
||||
mysqldump --defaults-file=connect.ini --no-create-info hedera tpvError tpvResponse tpvConfig >> install/dump/dumpedFixtures.sql
|
||||
|
||||
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
::IMPORTANT Any changes in this file are to applyed to mirror file export-structure.sh
|
||||
mysqldump --defaults-file=connect.ini --default-character-set=utf8 --no-data --comments --triggers --routines --events --databases account util vn2008 vn edi bs bi pbx cache salix vncontrol hedera stock > install/dump/structure.sql
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
#IMPORTANT Any changes in this file are to applyed to mirror file export-structure.cmd
|
||||
mysqldump --defaults-file=connect.ini --default-character-set=utf8 --no-data --comments --triggers --routines --events --databases account util vn2008 vn edi bs bi pbx cache salix vncontrol hedera stock > install/dump/structure.sql
|
||||
mysqldump --defaults-file=connect.ini --default-character-set=utf8 --no-data --comments --triggers --routines --events --databases account util vn2008 vn edi bs bi pbx cache salix vncontrol hedera stock postgresql> install/dump/structure.sql
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
/**
|
||||
* Cambios para evitar fallos en local.
|
||||
* Ya está en producción
|
||||
**/
|
||||
|
||||
USE `vn`;
|
||||
CREATE
|
||||
OR REPLACE ALGORITHM = UNDEFINED
|
||||
DEFINER = `root`@`%`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `client` AS
|
||||
SELECT
|
||||
`c`.`id_cliente` AS `id`,
|
||||
`c`.`cliente` AS `name`,
|
||||
`c`.`if` AS `fi`,
|
||||
`c`.`razonSocial` AS `socialName`,
|
||||
`c`.`contacto` AS `contact`,
|
||||
`c`.`domicilio` AS `street`,
|
||||
`c`.`poblacion` AS `city`,
|
||||
`c`.`codPostal` AS `postcode`,
|
||||
`c`.`telefono` AS `phone`,
|
||||
`c`.`movil` AS `mobile`,
|
||||
`c`.`fax` AS `fax`,
|
||||
`c`.`real` AS `isRelevant`,
|
||||
`c`.`e-mail` AS `email`,
|
||||
`c`.`iban` AS `iban`,
|
||||
`c`.`vencimiento` AS `dueDay`,
|
||||
`c`.`Cuenta` AS `accountingAccount`,
|
||||
`c`.`RE` AS `isEqualizated`,
|
||||
`c`.`province_id` AS `provinceFk`,
|
||||
`c`.`invoice` AS `hasToInvoice`,
|
||||
`c`.`credito` AS `credit`,
|
||||
`c`.`Id_Pais` AS `countryFk`,
|
||||
`c`.`activo` AS `isActive`,
|
||||
`c`.`gestdoc_id` AS `gestdocFk`,
|
||||
`c`.`calidad` AS `quality`,
|
||||
`c`.`pay_met_id` AS `payMethodFk`,
|
||||
`c`.`created` AS `created`,
|
||||
`c`.`mail` AS `isToBeMailed`,
|
||||
`c`.`chanel_id` AS `contactChannelFk`,
|
||||
`c`.`sepaVnl` AS `hasSepaVnl`,
|
||||
`c`.`coreVnl` AS `hasCoreVnl`,
|
||||
`c`.`coreVnh` AS `hasCoreVnh`,
|
||||
`c`.`hasLcr` AS `hasLcr`,
|
||||
`c`.`default_address` AS `defaultAddressFk`,
|
||||
`c`.`risk_calculated` AS `riskCalculated`,
|
||||
`c`.`clientes_tipo_id` AS `clientTypeFk`,
|
||||
`c`.`mail_address` AS `mailAddress`,
|
||||
`c`.`cplusTerIdNifFk` AS `cplusTerIdNifFk`,
|
||||
`c`.`invoiceByAddress` AS `hasToInvoiceByAddress`,
|
||||
`c`.`contabilizado` AS `isTaxDataChecked`,
|
||||
`c`.`congelado` AS `isFreezed`,
|
||||
`c`.`creditInsurance` AS `creditInsurance`,
|
||||
`c`.`isCreatedAsServed` AS `isCreatedAsServed`,
|
||||
`c`.`hasInvoiceSimplified` AS `hasInvoiceSimplified`,
|
||||
`c`.`Id_Trabajador` AS `salesPersonFk`,
|
||||
`c`.`vies` AS `isVies`,
|
||||
`c`.`EYPBC` AS `eypbc`,
|
||||
bankEntityFk
|
||||
FROM
|
||||
`vn2008`.`Clientes` `c`;
|
|
@ -550,8 +550,9 @@ INSERT INTO `vn`.`sale`(`id`, `itemFk`, `ticketFk`, `concept`, `quantity`, `pric
|
|||
(11, 1, 16, 'Object1 Gem1 5', 2, 9.10, 0, 0, 0, CURDATE()),
|
||||
(12, 4, 16, 'Object4 Armor2 2', 20, 3.06, 0, 0, 0, CURDATE()),
|
||||
(13, 2, 8, 'Object2 Gem2 3', 15, 1.30, 0, 0, 0, CURDATE()),
|
||||
(14, 1, 19, 'Object1 Gem1 5', 10, 1.50, 0, 0, 0, CURDATE()),
|
||||
(15, 2, 20, 'Object2 Gem2 3', 15, 1.30, 0, 0, 0, CURDATE());
|
||||
(14, 1, 8, 'Object1 Gem1 5', 10, 2.30, 0, 0, 0, CURDATE()),
|
||||
(15, 1, 19, 'Object1 Gem1 5', 10, 1.50, 0, 0, 0, CURDATE()),
|
||||
(16, 2, 20, 'Object2 Gem2 3', 15, 1.30, 0, 0, 0, CURDATE());
|
||||
|
||||
INSERT INTO `vn`.`saleChecked`(`saleFk`, `isChecked`)
|
||||
VALUES
|
||||
|
@ -627,11 +628,16 @@ INSERT INTO `vn`.`saleComponent`(`saleFk`, `componentFk`, `value`)
|
|||
(14, 28, 20.72),
|
||||
(14, 29, -18.72),
|
||||
(14, 39, 0.02),
|
||||
(15, 15, 0.058),
|
||||
(15, 21, 0.002),
|
||||
(15, 28, 5.6),
|
||||
(15, 29, -4.6),
|
||||
(15, 39, 0.01);
|
||||
(15, 15, 0.58),
|
||||
(15, 23, 6.5),
|
||||
(15, 28, 20.72),
|
||||
(15, 29, -18.72),
|
||||
(15, 39, 0.02),
|
||||
(16, 15, 0.058),
|
||||
(16, 21, 0.002),
|
||||
(16, 28, 5.6),
|
||||
(16, 29, -4.6),
|
||||
(16, 39, 0.01);
|
||||
|
||||
INSERT INTO `vn`.`saleTracking`(`saleFk`, `isChecked`, `created`, `originalQuantity`, `workerFk`, `actionFk`, `id`, `stateFk`)
|
||||
VALUES
|
||||
|
@ -966,8 +972,7 @@ INSERT INTO `vn`.`claim`(`id`, `ticketCreated`, `claimStateFk`, `observation`, `
|
|||
( 1, CURDATE(), 1, 'observation one', 101, 18, 1, 0, CURDATE()),
|
||||
( 2, CURDATE(), 2, 'observation two', 101, 18, 2, 0, CURDATE()),
|
||||
( 3, DATE_ADD(CURDATE(), INTERVAL -5 DAY), 3, 'observation three', 101, 18, 3, 0, CURDATE()),
|
||||
( 4, CURDATE(), 3, 'observation four', 104, 18, 1, 0, CURDATE()),
|
||||
( 5, DATE_ADD(CURDATE(), INTERVAL -5 DAY), 3, 'observation five', 104, 18, 3, 0, CURDATE());
|
||||
( 4, CURDATE(), 3, 'observation four', 104, 18, 1, 0, CURDATE());
|
||||
|
||||
INSERT INTO `vn`.`claimBeginning`(`id`, `claimFk`, `saleFk`, `quantity`)
|
||||
VALUES
|
||||
|
@ -975,8 +980,7 @@ INSERT INTO `vn`.`claimBeginning`(`id`, `claimFk`, `saleFk`, `quantity`)
|
|||
( 2, 1, 8, 4),
|
||||
( 3, 2, 10, 10),
|
||||
( 4, 3, 6, 5),
|
||||
( 5, 4, 13, 5),
|
||||
( 6, 5, 13, 3);
|
||||
( 5, 4, 13, 5);
|
||||
|
||||
INSERT INTO `vn`.`claimDestination`(`id`, `description`, `addressFk`)
|
||||
VALUES
|
||||
|
@ -992,8 +996,7 @@ INSERT INTO `vn`.`claimDevelopment`(`id`, `claimFk`, `claimResponsibleFk`, `work
|
|||
( 2, 1, 1, 21, 7 , 2, 2, 5),
|
||||
( 3, 2, 7, 21, 9 , 3, 2, 5),
|
||||
( 4, 3, 7, 21, 15, 8, 2, 5),
|
||||
( 5, 4, 7, 21, 7, 8, 2, 5),
|
||||
( 6, 5, 7, 21, 15, 8, 2, 5);
|
||||
( 5, 4, 7, 21, 7, 8, 2, 5);
|
||||
|
||||
INSERT INTO `hedera`.`tpvMerchant`(`id`, `description`, `companyFk`, `bankFk`, `secretKey`)
|
||||
VALUES
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue