0
0
Fork 0

Fix route tickets

This commit is contained in:
Kevin Martinez 2024-02-22 20:53:17 -03:00
parent aa535fb6c7
commit 963c4ade83
1 changed files with 12 additions and 11 deletions

View File

@ -188,8 +188,8 @@ const confirmRemove = (ticket) => {
.dialog({
component: VnConfirm,
componentProps: {
title: t('confirmDeletion'),
message: t('confirmDeletionMessage'),
title: t('Confirm removal from route'),
message: t('Are you sure you want to remove this ticket from the route?'),
promise: () => removeTicket(ticket),
},
})
@ -326,10 +326,14 @@ const openSmsDialog = async () => {
class="q-mr-md cursor-pointer"
color="primary"
@click="setHighestPriority(row, rows)"
/>
>
<QTooltip>
{{ t('Assign highest priority') }}
</QTooltip>
</QIcon>
<VnInput
v-model="row.priority"
is-outlined
dense
@blur="updatePriority(row)"
/>
</div>
@ -393,7 +397,7 @@ const openSmsDialog = async () => {
<QPageSticky :offset="[20, 20]">
<QBtn fab icon="add" color="primary" @click="openTicketsDialog">
<QTooltip>
{{ t('newRoute') }}
{{ t('Add ticket') }}
</QTooltip>
</QBtn>
</QPageSticky>
@ -415,10 +419,6 @@ const openSmsDialog = async () => {
}
</style>
<i18n>
en:
newRoute: New Route
confirmDeletion: Confirm deletion
confirmDeletionMessage: Are you sure you want to delete this ticket?
es:
Order: Orden
Street: Dirección fiscal
@ -428,8 +428,8 @@ es:
Warehouse: Almacén
Packages: Bultos
Packaging: Encajado
confirmDeletion: Confirmar eliminación
confirmDeletionMessage: Seguro que quieres eliminar este ticket?
Confirm removal from route: Remover de la ruta
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
Open buscaman: Abrir buscaman
Delete priority: Borrar orden
@ -437,4 +437,5 @@ es:
Assign highest priority: Asignar máxima prioridad
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
Add ticket: Añadir ticket
</i18n>