diff --git a/print/templates/reports/driver-route/driver-route.js b/print/templates/reports/driver-route/driver-route.js index b142a446e..2de3d5192 100755 --- a/print/templates/reports/driver-route/driver-route.js +++ b/print/templates/reports/driver-route/driver-route.js @@ -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) diff --git a/print/templates/reports/driver-route/locale/es.yml b/print/templates/reports/driver-route/locale/es.yml index d065d62e0..8f986b0d2 100644 --- a/print/templates/reports/driver-route/locale/es.yml +++ b/print/templates/reports/driver-route/locale/es.yml @@ -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)