diff --git a/src/components/ui/VnConfirm.vue b/src/components/ui/VnConfirm.vue index 668621474..83a2008a1 100644 --- a/src/components/ui/VnConfirm.vue +++ b/src/components/ui/VnConfirm.vue @@ -51,7 +51,7 @@ async function confirm() { } diff --git a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue index 55cdade21..b9e2c084a 100644 --- a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue +++ b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue @@ -2,8 +2,9 @@ import { toRefs, ref } from 'vue'; import TicketLackDialog from './TicketLackDialog.vue'; import { useSession } from 'src/composables/useSession'; -import { useVnConfirm } from 'composables/useVnConfirm'; +// import { useVnConfirm } from 'composables/useVnConfirm'; import { useI18n } from 'vue-i18n'; +// import VnConfirm from 'components/ui/VnConfirm.vue'; const { t } = useI18n(); const $props = defineProps({ @@ -20,10 +21,12 @@ const { ticket } = toRefs($props); const session = useSession(); const token = session.getTokenMultimedia(); -const { openConfirmationModal } = useVnConfirm(); +// const { openConfirmationModal } = useVnConfirm(); const ticketRef = ref(null); const hasRowsSelected = ref(false); +// const confirmationModal = ref(false); async function splitAll() { + // confirmationModal.value = true; ticketRef.value.split({ all: true }); // openConfirmationModal( // t('Confirm splitAll'), @@ -34,7 +37,12 @@ async function splitAll() { }