fix invoice hang

This commit is contained in:
MJ Isip
2019-12-19 16:07:00 +08:00
parent 7fc92fb128
commit 6648ab400d
3 changed files with 28 additions and 1 deletions

View File

@ -216,6 +216,16 @@ export default {
});
},
onCancelNewItem() {
this.addNew.modal = false;
this.addNew.title = null;
this.addNew.html = null;
},
onNewItemSubmit() {
document.querySelector('.modal-body form').submit()
},
// Change bank account get money and currency rate
onChangeAccount(account_id) {
axios.get(url + '/banking/accounts/currency', {