From 9730e8e96e63a8624d8f4461ffdd53a93a434b79 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 13 May 2021 19:56:29 +0000 Subject: [PATCH] --- ayanova/src/components/work-order-item-labors.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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