Fix route tickets
This commit is contained in:
parent
aa535fb6c7
commit
963c4ade83
|
@ -188,8 +188,8 @@ const confirmRemove = (ticket) => {
|
||||||
.dialog({
|
.dialog({
|
||||||
component: VnConfirm,
|
component: VnConfirm,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
title: t('confirmDeletion'),
|
title: t('Confirm removal from route'),
|
||||||
message: t('confirmDeletionMessage'),
|
message: t('Are you sure you want to remove this ticket from the route?'),
|
||||||
promise: () => removeTicket(ticket),
|
promise: () => removeTicket(ticket),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -326,10 +326,14 @@ const openSmsDialog = async () => {
|
||||||
class="q-mr-md cursor-pointer"
|
class="q-mr-md cursor-pointer"
|
||||||
color="primary"
|
color="primary"
|
||||||
@click="setHighestPriority(row, rows)"
|
@click="setHighestPriority(row, rows)"
|
||||||
/>
|
>
|
||||||
|
<QTooltip>
|
||||||
|
{{ t('Assign highest priority') }}
|
||||||
|
</QTooltip>
|
||||||
|
</QIcon>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="row.priority"
|
v-model="row.priority"
|
||||||
is-outlined
|
dense
|
||||||
@blur="updatePriority(row)"
|
@blur="updatePriority(row)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -393,7 +397,7 @@ const openSmsDialog = async () => {
|
||||||
<QPageSticky :offset="[20, 20]">
|
<QPageSticky :offset="[20, 20]">
|
||||||
<QBtn fab icon="add" color="primary" @click="openTicketsDialog">
|
<QBtn fab icon="add" color="primary" @click="openTicketsDialog">
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ t('newRoute') }}
|
{{ t('Add ticket') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</QPageSticky>
|
</QPageSticky>
|
||||||
|
@ -415,10 +419,6 @@ const openSmsDialog = async () => {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
|
||||||
newRoute: New Route
|
|
||||||
confirmDeletion: Confirm deletion
|
|
||||||
confirmDeletionMessage: Are you sure you want to delete this ticket?
|
|
||||||
es:
|
es:
|
||||||
Order: Orden
|
Order: Orden
|
||||||
Street: Dirección fiscal
|
Street: Dirección fiscal
|
||||||
|
@ -428,8 +428,8 @@ es:
|
||||||
Warehouse: Almacén
|
Warehouse: Almacén
|
||||||
Packages: Bultos
|
Packages: Bultos
|
||||||
Packaging: Encajado
|
Packaging: Encajado
|
||||||
confirmDeletion: Confirmar eliminación
|
Confirm removal from route: Remover de la ruta
|
||||||
confirmDeletionMessage: Seguro que quieres eliminar este ticket?
|
Are you sure you want to remove this ticket from the route?: ¿Seguro que quieres remover este ticket de la ruta?
|
||||||
Sort routes: Ordenar rutas
|
Sort routes: Ordenar rutas
|
||||||
Open buscaman: Abrir buscaman
|
Open buscaman: Abrir buscaman
|
||||||
Delete priority: Borrar orden
|
Delete priority: Borrar orden
|
||||||
|
@ -437,4 +437,5 @@ es:
|
||||||
Assign highest priority: Asignar máxima prioridad
|
Assign highest priority: Asignar máxima prioridad
|
||||||
Send SMS to all clients: Mandar sms a todos los clientes de las rutas
|
Send SMS to all clients: Mandar sms a todos los clientes de las rutas
|
||||||
Send SMS to the selected tickets: Enviar SMS a los tickets seleccionados
|
Send SMS to the selected tickets: Enviar SMS a los tickets seleccionados
|
||||||
|
Add ticket: Añadir ticket
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue