diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue index 5a56a3957..d74969319 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue @@ -7,6 +7,8 @@ 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(); @@ -67,29 +69,33 @@ const taxColumns = ref([ const ticketsColumns = ref([ { name: 'item', - label: 'invoiceOut.summary.ticketId', + label: t('invoiceOut.summary.ticketId'), field: (row) => row.id, sortable: true, + align: 'left', }, { name: 'quantity', - label: 'invoiceOut.summary.nickname', + label: t('invoiceOut.summary.nickname'), field: (row) => row.nickname, sortable: true, + align: 'left', }, { name: 'landed', - label: 'invoiceOut.summary.shipped', + label: t('invoiceOut.summary.shipped'), field: (row) => row.shipped, format: (value) => toDate(value), sortable: true, + align: 'left', }, { name: 'landed', - label: 'invoiceOut.summary.totalWithVat', + label: t('invoiceOut.summary.totalWithVat'), field: (row) => row.totalWithVat, format: (value) => toCurrency(value), sortable: true, + align: 'left', }, ]); @@ -144,12 +150,21 @@ const ticketsColumns = ref([ {{ t('invoiceOut.summary.tickets') }} -