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