From 2a121dbbb31d37ced9d7a5702cfe3d827c88c272 Mon Sep 17 00:00:00 2001 From: provira Date: Mon, 13 Jan 2025 10:54:28 +0100 Subject: [PATCH 1/6] fix: added missing translations in InvoiceIn --- src/pages/InvoiceIn/locale/en.yml | 7 +++++++ src/pages/InvoiceIn/locale/es.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/pages/InvoiceIn/locale/en.yml b/src/pages/InvoiceIn/locale/en.yml index 2d1458290..5556f5a7f 100644 --- a/src/pages/InvoiceIn/locale/en.yml +++ b/src/pages/InvoiceIn/locale/en.yml @@ -70,3 +70,10 @@ invoicein: params: account: Ledger account correctingFk: Rectificative +invoiceIn: + list: + issued: Issued + amount: Amount + supplier: Supplier + summary: + booked: Booked Date diff --git a/src/pages/InvoiceIn/locale/es.yml b/src/pages/InvoiceIn/locale/es.yml index e6b323a73..cb84b519a 100644 --- a/src/pages/InvoiceIn/locale/es.yml +++ b/src/pages/InvoiceIn/locale/es.yml @@ -67,3 +67,10 @@ invoicein: params: account: Cuenta contable correctingFk: Rectificativa +invoiceIn: + list: + issued: F. emisión + amount: Importe + supplier: Proveedor + summary: + booked: Fecha contable From eb92c694757b403d8bf71ca255b0e6584f38e28e Mon Sep 17 00:00:00 2001 From: provira Date: Mon, 13 Jan 2025 11:06:01 +0100 Subject: [PATCH 2/6] fix: changed invoiceIn for InvoiceIn --- src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue | 12 ++++++------ src/pages/InvoiceIn/locale/en.yml | 9 +-------- src/pages/InvoiceIn/locale/es.yml | 7 ------- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue index 9ba0df395..2702ef945 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue @@ -166,10 +166,10 @@ const createInvoiceInCorrection = async () => { diff --git a/src/pages/InvoiceIn/locale/en.yml b/src/pages/InvoiceIn/locale/en.yml index e2bb45e60..94db50066 100644 --- a/src/pages/InvoiceIn/locale/en.yml +++ b/src/pages/InvoiceIn/locale/en.yml @@ -1,4 +1,4 @@ -InvoiceIn: +invoicein: serial: Serial isBooked: Is booked list: @@ -66,7 +66,6 @@ InvoiceIn: search: Id or supplier name correctedFk: Corrected isBooked: Is booked -invoicein: - params: account: Ledger account - correctingFk: Rectificative \ No newline at end of file + correctingFk: Rectificative + \ No newline at end of file diff --git a/src/pages/InvoiceIn/locale/es.yml b/src/pages/InvoiceIn/locale/es.yml index e6b323a73..bcb9c0551 100644 --- a/src/pages/InvoiceIn/locale/es.yml +++ b/src/pages/InvoiceIn/locale/es.yml @@ -1,4 +1,4 @@ -InvoiceIn: +invoicein: serial: Serie isBooked: Contabilizada list: @@ -63,7 +63,6 @@ InvoiceIn: params: search: Id o nombre proveedor correctedFk: Rectificada -invoicein: - params: account: Cuenta contable correctingFk: Rectificativa + diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 48d61201c..09873642d 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -355,7 +355,7 @@ watchEffect(selectedRows); Date: Mon, 13 Jan 2025 11:53:55 +0100 Subject: [PATCH 4/6] fix: redirect to sales when confirming lines --- src/pages/Order/Card/OrderLines.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Order/Card/OrderLines.vue b/src/pages/Order/Card/OrderLines.vue index e5b683534..6093addb5 100644 --- a/src/pages/Order/Card/OrderLines.vue +++ b/src/pages/Order/Card/OrderLines.vue @@ -213,9 +213,9 @@ async function handleConfirm() { type: 'positive', }); router.push({ - name: 'TicketList', + name: 'TicketSale', query: { - table: JSON.stringify({ clientFk: descriptorData.store.data.clientFk }), + table: JSON.stringify({ id: route.params.id }), }, }); } From ac589a86266166376250a61c2597febc3c32c698 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 13 Jan 2025 12:21:33 +0100 Subject: [PATCH 5/6] fix: refs #8110 prevent form submit --- src/boot/qformMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/qformMixin.js b/src/boot/qformMixin.js index 187ca6dbc..97d80c670 100644 --- a/src/boot/qformMixin.js +++ b/src/boot/qformMixin.js @@ -31,7 +31,7 @@ export default { console.error(error); } form.addEventListener('keyup', function (evt) { - if (evt.key === 'Enter') { + if (evt.key === 'Enter' && !that.$attrs['prevent-submit']) { const input = evt.target; if (input.type == 'textarea' && evt.shiftKey) { evt.preventDefault(); From 671f30800646b24bcd4e8a45bcf829e621f68fb1 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 13 Jan 2025 13:29:39 +0100 Subject: [PATCH 6/6] revert: revert header --- src/components/ui/CardSummary.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index 52427f3fe..a1de3eee3 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -82,7 +82,7 @@ async function fetch() { - + {{ entity.id + ' - ' + entity.name }}