diff --git a/src/pages/Ticket/Card/TicketDescriptorMenu.vue b/src/pages/Ticket/Card/TicketDescriptorMenu.vue index aec920002..3354da966 100644 --- a/src/pages/Ticket/Card/TicketDescriptorMenu.vue +++ b/src/pages/Ticket/Card/TicketDescriptorMenu.vue @@ -166,16 +166,16 @@ function openConfirmDialog(callback) { }); } -function createPdfDialog() { +function generatePdfDialog() { dialog({ component: VnConfirm, componentProps: { - promise: createPdfInvoice, + promise: generatePdfInvoice, }, }); } -async function createPdfInvoice() { +async function generatePdfInvoice() { const { data } = await axios.get('invoiceOuts', { params: { filter: JSON.stringify({ @@ -478,7 +478,12 @@ async function handleInvoiceOutData() { {{ t('Show Proforma') }} - + @@ -487,7 +492,7 @@ async function handleInvoiceOutData() { @@ -526,7 +531,7 @@ async function handleInvoiceOutData() { {{ t('To clone ticket') }} - + diff --git a/src/pages/Ticket/Card/TicketVolume.vue b/src/pages/Ticket/Card/TicketVolume.vue index e6db759d0..61f9b83d9 100644 --- a/src/pages/Ticket/Card/TicketVolume.vue +++ b/src/pages/Ticket/Card/TicketVolume.vue @@ -130,6 +130,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); :columns="columns" :right-search="false" :column-search="false" + :order="['itemPackingTypeFk']" auto-load >