From e11b8a98113b1da72a466f7f4a289e1e9c3d2166 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 11 May 2021 17:17:24 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 ++ ayanova/src/components/work-order-item-labors.vue | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 402b5472..e5e8a5c6 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -308,6 +308,8 @@ todo: many biz objects are not using new PUT methodology CURRENTLY DOING: labors todo: wo set prices on save, also do need to lookup during entry for grid?? (like po?) +ORDER: Travel, tasks, parts, loans, units, outside service + TODO: test new from scratch wo regularly diff --git a/ayanova/src/components/work-order-item-labors.vue b/ayanova/src/components/work-order-item-labors.vue index b582368f..e2ebbb97 100644 --- a/ayanova/src/components/work-order-item-labors.vue +++ b/ayanova/src/components/work-order-item-labors.vue @@ -620,6 +620,7 @@ export default { id: 0, concurrency: 0, userId: null, + userViz: null, serviceStartDate: window.$gz.locale.nowUTC8601String(), serviceStopDate: window.$gz.locale.nowUTC8601String(), //TODO:sb now plus one hour to match v7 serviceRateId: null, @@ -628,6 +629,7 @@ export default { noChargeQuantity: 0, serviceBankId: null, taxCodeSaleId: null, + taxCodeSaleViz: null, basePrice: 0, price: 0, manualDiscountPct: 0, @@ -847,8 +849,12 @@ export default { x.noChargeQuantity, this.pvm.languageName ), - taxCodeSaleViz: taxCodeSaleViz, - manualDiscountPct: manualDiscountPct + "TODO PCT", + taxCodeSaleViz: x.taxCodeSaleViz, + manualDiscountPct: + window.$gz.locale.decimalLocalized( + x.manualDiscountPct, + this.pvm.languageName + ) + "%", basePrice: window.$gz.locale.currencyLocalized( x.basePrice,