Prevent possible bugs on create item functionality

This commit is contained in:
benguozakinci@gmail.com
2021-09-02 12:00:19 +03:00
parent f0b37c3bc9
commit 5051d04e3e
2 changed files with 16 additions and 9 deletions

View File

@ -313,7 +313,7 @@ const app = new Vue({
let total = 1 * item.price;
let item_taxes = [];
this.onRefFocus(inputRef, index); // trigger initial focus event on input
this.onRefFocus(inputRef, index); // trigger initial focus event on input or description based on type of item added to the list
if (item.tax_ids) {
item.tax_ids.forEach(function (tax_id, index) {