From 12a470b7d919e3dda0f8955a46fea6ea3a06d88b Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 5 Mar 2024 09:27:44 -0300 Subject: [PATCH] Add links to invoice out summary tickets table --- .../InvoiceOut/Card/InvoiceOutSummary.vue | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue index 5721818e4..d74969319 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue @@ -2,16 +2,14 @@ import { onMounted, ref, computed } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; - +import axios from 'axios'; +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'; -import { getUrl } from 'src/composables/getUrl'; -import { toCurrency, toDate } from 'src/filters'; -import axios from 'axios'; - onMounted(async () => { fetch(); salixUrl.value = await getUrl(''); @@ -70,14 +68,14 @@ const taxColumns = ref([ const ticketsColumns = ref([ { - name: 'id', + name: 'item', label: t('invoiceOut.summary.ticketId'), field: (row) => row.id, sortable: true, align: 'left', }, { - name: 'alias', + name: 'quantity', label: t('invoiceOut.summary.nickname'), field: (row) => row.nickname, sortable: true, @@ -147,21 +145,25 @@ const ticketsColumns = ref([ - +
{{ t('invoiceOut.summary.tickets') }}
-