From b43985b9db209f9cf5bdef15b050ea4629dfbdba Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 4 Dec 2023 15:26:19 +0100 Subject: [PATCH] refs #5835 refactor --- src/i18n/en/index.js | 2 +- src/i18n/es/index.js | 2 +- src/pages/InvoiceIn/Card/InvoiceInSummary.vue | 18 +++++++++++------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 522c11100..26d37ae5a 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -347,7 +347,7 @@ export default { }, invoiceOut: { pageTitles: { - invoiceOuts: 'Invoices Out', + invoiceOuts: 'Create invoice', list: 'List', createInvoiceOut: 'Create invoice out', summary: 'Summary', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index d4deed5ee..791ba85f0 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -347,7 +347,7 @@ export default { }, invoiceOut: { pageTitles: { - invoiceOuts: 'Fact. emitidas', + invoiceOuts: 'Crear factura', list: 'Listado', createInvoiceOut: 'Crear fact. emitida', summary: 'Resumen', diff --git a/src/pages/InvoiceIn/Card/InvoiceInSummary.vue b/src/pages/InvoiceIn/Card/InvoiceInSummary.vue index a5057ddd5..b3b4f37b6 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInSummary.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInSummary.vue @@ -193,6 +193,10 @@ function taxRate(taxableBase, rate) { } return 0; } + +function getLink(param) { + return `#/invoice-in/${entityId.value}/${param}`; +}