diff --git a/src/pages/Ticket/Negative/TicketLackDialog.vue b/src/pages/Ticket/Negative/TicketLackDialog.vue
index 9a151608e..99284be02 100644
--- a/src/pages/Ticket/Negative/TicketLackDialog.vue
+++ b/src/pages/Ticket/Negative/TicketLackDialog.vue
@@ -234,17 +234,12 @@ function rowsHasSelected({ keys }) {
const resultSplit = ref([]);
const split = async ({ simple }, data = []) => {
- openConfirmationModal(
- t('Confirm splitAll'),
- t('Are you sure you want to split all tickets?'),
- null,
- () => {
- const body = simple ? data : selectedRows.value;
- axios.post(`Tickets/split`, body).then((data) => {
- resultSplit.value = data;
- });
- }
- );
+ openConfirmationModal(t('Confirm split selected'), t('splitQuestion'), null, () => {
+ const body = simple ? data : selectedRows.value;
+ axios.post(`Tickets/split`, body).then((data) => {
+ resultSplit.value = data;
+ });
+ });
};
defineExpose({ split });
@@ -336,3 +331,12 @@ function getIcon(key, prop) {
+
+
+ en:
+ splitQuestion: Are you sure you want to split all tickets?
+ Confirm split selected: Confirm split selected
+ es:
+ splitQuestion: ¿Estás seguro de separar los tickets seleccionados?
+ Confirm split selected: Confirmar separar tickets seleccionados
+
diff --git a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue
index 57946472a..5118f2b4f 100644
--- a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue
+++ b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue
@@ -22,7 +22,7 @@ const token = session.getTokenMultimedia();
const ticketRef = ref(null);
const hasRowsSelected = ref(false);
-async function splitAll() {
+async function splitSelected() {
ticketRef.value.split({ all: true });
}
@@ -48,12 +48,12 @@ async function splitAll() {
- {{ t('globals.splitAll') }}
+ {{ t('globals.split') }}
diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js
index 53a98e19c..feeb72344 100644
--- a/src/router/modules/ticket.js
+++ b/src/router/modules/ticket.js
@@ -35,7 +35,7 @@ export default {
path: 'negative',
meta: {
title: 'negative',
- icon: 'view_lists',
+ icon: 'view_list',
},
component: () =>
import('src/pages/Ticket/Negative/TicketLackList.vue'),