7525-devToTest #419

Merged
alexm merged 177 commits from 7525-devToTest into test 2024-06-04 08:06:27 +00:00
1 changed files with 4 additions and 6 deletions
Showing only changes of commit 2e19194a08 - Show all commits

View File

@ -225,11 +225,7 @@ async function checkToBook() {
async function toBook() {
await axios.post(`InvoiceIns/${entityId.value}/toBook`);
quasar.notify({
type: 'positive',
message: t('globals.dataSaved'),
});
quasar.notify({ type: 'positive', message: t('globals.dataSaved') });
await cardDescriptorRef.value.getData();
setTimeout(() => location.reload(), 500);
@ -245,7 +241,9 @@ async function toUnbook() {
: t('isNotLinked', { bookEntry });
quasar.notify({ type, message });
if (isLinked) await cardDescriptorRef.value.getData();
await cardDescriptorRef.value.getData();
if (!isLinked) setTimeout(() => location.reload(), 500);
}
async function deleteInvoice() {