diff --git a/ayanova/src/components/work-order-item-labors.vue b/ayanova/src/components/work-order-item-labors.vue index b573d93c..cf520973 100644 --- a/ayanova/src/components/work-order-item-labors.vue +++ b/ayanova/src/components/work-order-item-labors.vue @@ -532,7 +532,7 @@ export default { taxCodeChange(newName) { this.value.items[this.activeWoItemIndex].labors[ this.activeItemIndex - ].taxCodeSaleViz = newName; + ].taxName = newName; }, newItem() { let newIndex = this.value.items[this.activeWoItemIndex].labors.length; @@ -550,10 +550,16 @@ export default { noChargeQuantity: 0, serviceBankId: null, taxCodeSaleId: null, - taxCodeSaleViz: null, - basePrice: 0, + taxName: null, price: 0, - manualDiscountPct: 0, + cost: 0, + listPrice: 0, + taxAPct: 0, + taxBPct: 0, + taxOnTax: false, + taxAViz: 0, + taxBViz: 0, + lineTotalViz: 0, isDirty: true, workOrderItemId: this.value.items[this.activeWoItemIndex].id, uid: Date.now() //used for error tracking / display