This commit is contained in:
parent
3d5674128f
commit
2e19194a08
|
@ -225,11 +225,7 @@ async function checkToBook() {
|
||||||
|
|
||||||
async function toBook() {
|
async function toBook() {
|
||||||
await axios.post(`InvoiceIns/${entityId.value}/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();
|
await cardDescriptorRef.value.getData();
|
||||||
setTimeout(() => location.reload(), 500);
|
setTimeout(() => location.reload(), 500);
|
||||||
|
@ -245,7 +241,9 @@ async function toUnbook() {
|
||||||
: t('isNotLinked', { bookEntry });
|
: t('isNotLinked', { bookEntry });
|
||||||
|
|
||||||
quasar.notify({ type, message });
|
quasar.notify({ type, message });
|
||||||
if (isLinked) await cardDescriptorRef.value.getData();
|
await cardDescriptorRef.value.getData();
|
||||||
|
|
||||||
|
if (!isLinked) setTimeout(() => location.reload(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function deleteInvoice() {
|
async function deleteInvoice() {
|
||||||
|
|
Loading…
Reference in New Issue