This commit is contained in:
@@ -636,22 +636,6 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "ExpenseTaxAPct")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("TaxCodeTaxA"),
|
||||
align: "right",
|
||||
value: "taxAPct"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "ExpenseTaxBPct")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("TaxCodeTaxB"),
|
||||
align: "right",
|
||||
value: "taxBPct"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "ExpenseTaxAViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("TaxAAmt"),
|
||||
@@ -668,14 +652,6 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "ExpenseTaxOnTax")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("TaxCodeTaxOnTax"),
|
||||
align: "center",
|
||||
value: "taxOnTax"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "ExpenseLineTotalViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("LineTotal"),
|
||||
@@ -724,18 +700,6 @@ export default {
|
||||
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,
|
||||
|
||||
@@ -723,7 +723,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LaborCost")) {
|
||||
if (this.form().showMe(this, "LaborCostViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Cost"),
|
||||
align: "right",
|
||||
@@ -731,7 +731,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LaborListPrice")) {
|
||||
if (this.form().showMe(this, "LaborListPriceViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("ListPrice"),
|
||||
align: "right",
|
||||
@@ -739,7 +739,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LaborPrice")) {
|
||||
if (this.form().showMe(this, "LaborPriceViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PriceOverride"),
|
||||
align: "right",
|
||||
@@ -747,7 +747,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LaborPrice")) {
|
||||
if (this.form().showMe(this, "LaborPriceViz")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Price"),
|
||||
align: "right",
|
||||
@@ -755,13 +755,13 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
// if (this.form().showMe(this, "WorkOrderItemLaborTaxRateSaleID")) {
|
||||
// headers.push({
|
||||
// text: this.$ay.t("Tax"),
|
||||
// align: "left",
|
||||
// value: "taxName"
|
||||
// });
|
||||
// }
|
||||
if (this.form().showMe(this, "WorkOrderItemLaborTaxRateSaleID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Tax"),
|
||||
align: "left",
|
||||
value: "taxCodeSaleViz"
|
||||
});
|
||||
}
|
||||
|
||||
// if (this.form().showMe(this, "LaborTaxAPct")) {
|
||||
// headers.push({
|
||||
@@ -864,18 +864,7 @@ export default {
|
||||
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,
|
||||
taxCodeSaleViz: x.taxCodeSaleViz,
|
||||
priceOverride: window.$gz.locale.currencyLocalized(
|
||||
x.priceOverride,
|
||||
this.pvm.languageName,
|
||||
|
||||
Reference in New Issue
Block a user