refs #5013 eliminado espacio en blanco al final de la cadena y añadidas fixtures
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
dd412606ef
commit
cbe79a964c
|
@ -501,7 +501,8 @@ INSERT INTO `vn`.`observationType`(`id`,`description`, `code`)
|
||||||
(3, 'Delivery', 'delivery'),
|
(3, 'Delivery', 'delivery'),
|
||||||
(4, 'SalesPerson', 'salesPerson'),
|
(4, 'SalesPerson', 'salesPerson'),
|
||||||
(5, 'Administrative', 'administrative'),
|
(5, 'Administrative', 'administrative'),
|
||||||
(6, 'Weight', 'weight');
|
(6, 'Weight', 'weight'),
|
||||||
|
(7, 'InvoiceOut', 'invoiceOut');
|
||||||
|
|
||||||
INSERT INTO `vn`.`addressObservation`(`id`,`addressFk`,`observationTypeFk`,`description`)
|
INSERT INTO `vn`.`addressObservation`(`id`,`addressFk`,`observationTypeFk`,`description`)
|
||||||
VALUES
|
VALUES
|
||||||
|
@ -738,7 +739,9 @@ INSERT INTO `vn`.`ticketObservation`(`id`, `ticketFk`, `observationTypeFk`, `des
|
||||||
(9, 23, 5, 'care with the dog'),
|
(9, 23, 5, 'care with the dog'),
|
||||||
(10, 23, 4, 'Reclama ticket: 8'),
|
(10, 23, 4, 'Reclama ticket: 8'),
|
||||||
(11, 24, 4, 'Reclama ticket: 7'),
|
(11, 24, 4, 'Reclama ticket: 7'),
|
||||||
(12, 11, 3, 'Delivery after 10am');
|
(12, 11, 3, 'Delivery after 10am'),
|
||||||
|
(13, 1, 7, 'observation of ticket one'),
|
||||||
|
(14, 2, 7, 'observation of ticket two');
|
||||||
|
|
||||||
-- FIX for state hours on local, inter_afterInsert
|
-- FIX for state hours on local, inter_afterInsert
|
||||||
-- UPDATE vncontrol.inter SET odbc_date = DATE_ADD(util.VN_CURDATE(), INTERVAL -10 SECOND);
|
-- UPDATE vncontrol.inter SET odbc_date = DATE_ADD(util.VN_CURDATE(), INTERVAL -10 SECOND);
|
||||||
|
|
|
@ -29,6 +29,7 @@ module.exports = {
|
||||||
|
|
||||||
if (ticket.description) this.ticketObservations += ticket.description + ' ';
|
if (ticket.description) this.ticketObservations += ticket.description + ' ';
|
||||||
}
|
}
|
||||||
|
this.ticketObservations = this.ticketObservations.trim();
|
||||||
|
|
||||||
for (let sale of sales) {
|
for (let sale of sales) {
|
||||||
const ticket = map.get(sale.ticketFk);
|
const ticket = map.get(sale.ticketFk);
|
||||||
|
|
Loading…
Reference in New Issue