From a52e75f51c77462c7466e5003c9878c117180edb Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 18 Dec 2023 12:24:13 -0300 Subject: [PATCH] Add i18n to negative bases table header --- .../InvoiceOut/InvoiceOutNegativeBases.vue | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue b/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue index d0e45724e..3595a650d 100644 --- a/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue +++ b/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue @@ -116,70 +116,70 @@ const tableColumnComponents = { }, }; -const columns = ref([ +const columns = computed(() => [ { - label: 'company', + label: t('invoiceOut.negativeBases.company'), field: 'company', name: 'company', align: 'left', }, { - label: 'country', + label: t('invoiceOut.negativeBases.country'), field: 'country', name: 'country', align: 'left', }, { - label: 'clientId', + label: t('invoiceOut.negativeBases.clientId'), field: 'clientId', name: 'clientId', align: 'left', }, { - label: 'client', + label: t('invoiceOut.negativeBases.client'), field: 'clientSocialName', name: 'client', align: 'left', }, { - label: 'amount', + label: t('invoiceOut.negativeBases.amount'), field: 'amount', name: 'amount', align: 'left', format: (value) => toCurrency(value), }, { - label: 'base', + label: t('invoiceOut.negativeBases.base'), field: 'taxableBase', name: 'base', align: 'left', }, { - label: 'ticketId', + label: t('invoiceOut.negativeBases.ticketId'), field: 'ticketFk', name: 'ticketId', align: 'left', }, { - label: 'active', + label: t('invoiceOut.negativeBases.active'), field: 'isActive', name: 'active', align: 'left', }, { - label: 'hasToInvoice', + label: t('invoiceOut.negativeBases.hasToInvoice'), field: 'hasToInvoice', name: 'hasToInvoice', align: 'left', }, { - label: 'verifiedData', + label: t('invoiceOut.negativeBases.verifiedData'), field: 'isTaxDataChecked', name: 'verifiedData', align: 'left', }, { - label: 'comercial', + label: t('invoiceOut.negativeBases.comercial'), field: 'comercialName', name: 'comercial', align: 'left',