From 4eebec96532ececa7a17155166a76c6127efcd26 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 14 Feb 2025 14:23:40 +0100 Subject: [PATCH] fix: refs #8388 remove unnecessary condition for unbooking invoice --- src/pages/InvoiceIn/Card/InvoiceInDescriptorMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptorMenu.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptorMenu.vue index 8b039ec27..d47d6cd41 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptorMenu.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptorMenu.vue @@ -89,7 +89,7 @@ async function toUnbook() { : t('isNotLinked', { bookEntry, accountingEntries }); quasar.notify({ type, message }); - if (!isLinked) arrayData.store.data.isBooked = false; + arrayData.store.data.isBooked = false; } async function deleteInvoice() {