refactoe issues

This commit is contained in:
Jay Makwana
2020-05-12 21:11:36 +05:30
parent d4a1f1a784
commit 96187870b4
8 changed files with 76 additions and 8 deletions

View File

@ -38,6 +38,8 @@
<base-input
v-model="item.quantity"
:invalid="$v.item.quantity.$error"
:is-input-group="!!item.unit_name"
:input-group-text="item.unit_name"
type="text"
small
@keyup="updateItem"
@ -378,6 +380,7 @@ export default {
this.item.price = item.price
this.item.item_id = item.id
this.item.description = item.description
this.item.unit_name = item.unit_name
if (this.taxPerItem === 'YES' && item.taxes) {
let index = 0
item.taxes.forEach(tax => {