#8581 invoiceIn e2e #1452
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue