refactor(route.tickets): updated error description
This commit is contained in:
parent
cfdef6d090
commit
8285a8a8e9
|
@ -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 => {
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue