This commit is contained in:
gerard 2018-07-10 15:36:59 +02:00
parent 6c54b2d9e2
commit 7ecefab8ce
1 changed files with 0 additions and 2 deletions

View File

@ -34,11 +34,9 @@ module.exports = Self => {
let travelDates = await model.Agency.getFirstShipped(params.ticket);
let shipped = new Date(travelDates.vShipped);
shipped.setMinutes(shipped.getMinutes() + shipped.getTimezoneOffset());
console.log(shipped);
let landed = new Date(travelDates.vLanded);
landed.setMinutes(landed.getMinutes() + landed.getTimezoneOffset());
console.log(shipped);
let newTicketParams = {
clientFk: params.ticket.clientFk,