routes without vehicle or vehicles without drop off now throw #619

Merged
jgallego merged 5 commits from 2896-route_tickets_refactor into dev 2021-05-10 08:49:24 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ac917b6115 - Show all commits

View File

@ -56,7 +56,7 @@ class Controller extends Section {
this.$http.get(query).then(response => {
if (!response.data)
throw new UserError(`The route's vehicle doesn't have a delivery point`);
throw new UserError(`The route's vehicle doesn't have a departing warehouse`);
return response.data;
}).then(address => {

View File

@ -9,5 +9,5 @@ Tickets to add: Tickets a añadir
Ticket not found: No se ha encontrado el ticket
The selected ticket is not suitable for this route: El ticket seleccionado no es apto para esta ruta
PC: CP
The route's vehicle doesn't have a delivery point: El vehículo de la ruta no tiene un almacén de salida
The route's vehicle doesn't have a departing warehouse: El vehículo de la ruta no tiene un almacén de salida
The route doesn't have a vehicle: La ruta no tiene un vehículo