This commit is contained in:
2021-05-13 23:10:27 +00:00
parent 5120825125
commit 1cf4f90fd6
2 changed files with 81 additions and 78 deletions

View File

@@ -631,6 +631,81 @@ export default {
}
return ret;
}
//,
// itemList: function() {
// return this.value.items[this.activeWoItemIndex].labors.map((x, i) => {
// return {
// index: i,
// id: x.id,
// serviceStartDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
// x.serviceStartDate,
// this.pvm.timeZoneName,
// this.pvm.languageName,
// this.pvm.hour12
// ),
// serviceStopDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
// x.serviceStopDate,
// this.pvm.timeZoneName,
// this.pvm.languageName,
// this.pvm.hour12
// ),
// serviceRateQuantity: window.$gz.locale.decimalLocalized(
// x.serviceRateQuantity,
// this.pvm.languageName
// ),
// serviceRateViz: x.serviceRateViz,
// userViz: x.userViz,
// noChargeQuantity: window.$gz.locale.decimalLocalized(
// x.noChargeQuantity,
// this.pvm.languageName
// ),
// cost: window.$gz.locale.currencyLocalized(
// x.cost,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// listPrice: window.$gz.locale.currencyLocalized(
// x.listPrice,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// price: window.$gz.locale.currencyLocalized(
// x.price,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// taxName: x.taxName,
// taxAPct:
// window.$gz.locale.decimalLocalized(
// x.taxAPct,
// this.pvm.languageName
// ) + "%",
// taxBPct:
// window.$gz.locale.decimalLocalized(
// x.taxBPct,
// this.pvm.languageName
// ) + "%",
// taxOnTax: x.taxOnTax,
// taxAViz: window.$gz.locale.currencyLocalized(
// x.taxAViz,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// taxBViz: window.$gz.locale.currencyLocalized(
// x.taxBViz,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// lineTotalViz: window.$gz.locale.currencyLocalized(
// x.lineTotalViz,
// this.pvm.languageName,
// this.pvm.currencyName
// ),
// serviceDetails: x.serviceDetails
// };
// });
// }
},
computed: {
isDeleted: function() {
@@ -863,7 +938,8 @@ export default {
x.lineTotalViz,
this.pvm.languageName,
this.pvm.currencyName
)
),
serviceDetails: x.serviceDetails
};
});
},