From 6969daf90fbc9905417f492b49a997b991b9f555 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 5 Mar 2024 09:18:10 -0300 Subject: [PATCH] Revert "Add links to invoice out summary table" This reverts commit b010f8ec3ef6de9169fdca22e9cb79c347f19ed2. --- .../InvoiceOut/Card/InvoiceOutSummary.vue | 35 ++++++------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue index d74969319..5a56a3957 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue @@ -7,8 +7,6 @@ import { toCurrency, toDate } from 'src/filters'; import CardSummary from 'components/ui/CardSummary.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import { getUrl } from 'src/composables/getUrl'; -import TicketDescriptorProxy from 'src/pages/Ticket/Card/TicketDescriptorProxy.vue'; -import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; onMounted(async () => { fetch(); @@ -69,33 +67,29 @@ const taxColumns = ref([ const ticketsColumns = ref([ { name: 'item', - label: t('invoiceOut.summary.ticketId'), + label: 'invoiceOut.summary.ticketId', field: (row) => row.id, sortable: true, - align: 'left', }, { name: 'quantity', - label: t('invoiceOut.summary.nickname'), + label: 'invoiceOut.summary.nickname', field: (row) => row.nickname, sortable: true, - align: 'left', }, { name: 'landed', - label: t('invoiceOut.summary.shipped'), + label: 'invoiceOut.summary.shipped', field: (row) => row.shipped, format: (value) => toDate(value), sortable: true, - align: 'left', }, { name: 'landed', - label: t('invoiceOut.summary.totalWithVat'), + label: 'invoiceOut.summary.totalWithVat', field: (row) => row.totalWithVat, format: (value) => toCurrency(value), sortable: true, - align: 'left', }, ]); @@ -150,21 +144,12 @@ const ticketsColumns = ref([ {{ t('invoiceOut.summary.tickets') }} - -