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
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1098
This commit is contained in:
commit
32dcdf8f8d
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue