Merge pull request 'MASTER_hotFix(driver-route): if not have tickets' (!1098) from hotFix-driver-route-pdf into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1098
This commit is contained in:
Joan Sanchez 2022-10-20 12:32:34 +00:00
commit 32dcdf8f8d
2 changed files with 0 additions and 4 deletions

View File

@ -14,9 +14,6 @@ module.exports = {
const routes = await this.fetchRoutes(ids);
const tickets = await this.fetchTickets(ids);
if (!tickets || !tickets.id)
throw new Error('This route(s) not have ticket(s)');
const map = new Map();
for (let route of routes)

View File

@ -23,4 +23,3 @@ import: Importe
route: Ruta
routeId: Ruta {0}
ticket: Ticket
This route(s) not have ticket(s): Esta ruta(s) no tiene ticket(s)