localDB Update
This commit is contained in:
parent
f2c4a9048d
commit
9f5b42d149
|
@ -98,6 +98,7 @@ describe('Add credit path', () => {
|
|||
|
||||
it(`should edit the credit`, done => {
|
||||
nightmare
|
||||
.clearInput(selectors.credit.creditInput)
|
||||
.type(selectors.credit.creditInput, 999)
|
||||
.click(selectors.credit.saveButton)
|
||||
.wait(selectors.globalItems.snackbarIsActive)
|
||||
|
|
|
@ -152,6 +152,7 @@ describe('Add greuge path', () => {
|
|||
|
||||
it(`should create a new greuge with all its data`, done => {
|
||||
nightmare
|
||||
.clearInput(selectors.greuge.amountInput)
|
||||
.type(selectors.greuge.amountInput, 999)
|
||||
.type(selectors.greuge.descriptionInput, 'new armor for Batman!')
|
||||
.click(selectors.greuge.saveButton)
|
||||
|
|
|
@ -791,14 +791,6 @@ BEGIN
|
|||
Id_Trabajador = vn.getWorker();
|
||||
END IF;
|
||||
|
||||
IF !(NEW.Credito <=> OLD.Credito) AND IFNULL(NEW.Credito, 0) >= 0
|
||||
THEN
|
||||
INSERT INTO credit SET
|
||||
Id_Cliente = NEW.Id_Cliente,
|
||||
amount = NEW.Credito,
|
||||
Id_Trabajador = vEmployee;
|
||||
END IF;
|
||||
|
||||
-- Avisar al comercial si ha llegado la documentación sepa/core
|
||||
|
||||
IF NEW.sepavnl AND !OLD.sepavnl THEN
|
||||
|
|
|
@ -361,8 +361,7 @@ SET character_set_client = utf8;
|
|||
/*!50001 CREATE VIEW `clientCredit` AS SELECT
|
||||
1 AS `id`,
|
||||
1 AS `clientFk`,
|
||||
1 AS `workerFk`,
|
||||
1 AS `__employeeFk`,
|
||||
1 AS `employeeFk`,
|
||||
1 AS `amount`,
|
||||
1 AS `created`*/;
|
||||
SET character_set_client = @saved_cs_client;
|
||||
|
@ -1068,6 +1067,7 @@ SET @saved_cs_client = @@character_set_client;
|
|||
SET character_set_client = utf8;
|
||||
/*!50001 CREATE VIEW `itemType` AS SELECT
|
||||
1 AS `id`,
|
||||
1 AS `code`,
|
||||
1 AS `name`,
|
||||
1 AS `categoryFk`,
|
||||
1 AS `life`,
|
||||
|
@ -2310,7 +2310,7 @@ SET character_set_client = @saved_cs_client;
|
|||
/*!50001 SET collation_connection = utf8_general_ci */;
|
||||
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
||||
/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */
|
||||
/*!50001 VIEW `clientCredit` AS select `c`.`id` AS `id`,`c`.`Id_Cliente` AS `clientFk`,`c`.`Id_Trabajador` AS `workerFk`,`c`.`Id_Trabajador` AS `__employeeFk`,`c`.`amount` AS `amount`,`c`.`odbc_date` AS `created` from `vn2008`.`credit` `c` */;
|
||||
/*!50001 VIEW `clientCredit` AS select `c`.`id` AS `id`,`c`.`Id_Cliente` AS `clientFk`,`c`.`Id_Trabajador` AS `employeeFk`,`c`.`amount` AS `amount`,`c`.`odbc_date` AS `created` from `vn2008`.`credit` `c` */;
|
||||
/*!50001 SET character_set_client = @saved_cs_client */;
|
||||
/*!50001 SET character_set_results = @saved_cs_results */;
|
||||
/*!50001 SET collation_connection = @saved_col_connection */;
|
||||
|
@ -3084,7 +3084,7 @@ SET character_set_client = @saved_cs_client;
|
|||
/*!50001 SET collation_connection = utf8_general_ci */;
|
||||
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
||||
/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */
|
||||
/*!50001 VIEW `itemType` AS select `t`.`tipo_id` AS `id`,`t`.`Tipo` AS `name`,`t`.`reino_id` AS `categoryFk`,`t`.`life` AS `life`,`t`.`Id_Trabajador` AS `workerFk` from `vn2008`.`Tipos` `t` */;
|
||||
/*!50001 VIEW `itemType` AS select `t`.`tipo_id` AS `id`,`t`.`Id_Tipo` AS `code`,`t`.`Tipo` AS `name`,`t`.`reino_id` AS `categoryFk`,`t`.`life` AS `life`,`t`.`Id_Trabajador` AS `workerFk` from `vn2008`.`Tipos` `t` */;
|
||||
/*!50001 SET character_set_client = @saved_cs_client */;
|
||||
/*!50001 SET character_set_results = @saved_cs_results */;
|
||||
/*!50001 SET collation_connection = @saved_col_connection */;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue