7525-devToTest #419
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue