refactor(route.tickets): updated error description

This commit is contained in:
Carlos Jimenez Ruiz 2021-12-01 15:26:01 +01:00
parent cfdef6d090
commit 8285a8a8e9
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -9,6 +9,6 @@ Tickets to add: Tickets a añadir
Ticket not found: No se ha encontrado el ticket 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 The selected ticket is not suitable for this route: El ticket seleccionado no es apto para esta ruta
PC: CP PC: CP
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's vehicle doesn't have a delivery point: El vehículo de la ruta no tiene un punto de entrega
The route doesn't have a vehicle: La ruta no tiene un vehículo The route doesn't have a vehicle: La ruta no tiene un vehículo
Population: Población Population: Población