#8581 invoiceIn e2e #1452

Merged
jorgep merged 153 commits from 8581-invoiceinE2e into dev 2025-03-20 08:58:01 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 6dc23f4a26 - Show all commits

View File

@ -62,8 +62,6 @@ async function checkToBook(id) {
async function toBook(id) {
let err = false;
let message = t('globals.dataSaved');
try {
await axios.post(`InvoiceIns/${id}/toBook`);
store.data.isBooked = true;
@ -71,7 +69,7 @@ async function toBook(id) {
err = true;
throw e;
} finally {
if (!err) notify({ type: 'positive', message });
if (!err) notify({ type: 'positive', message: t('globals.dataSaved') });
}
}
</script>