This commit is contained in:
2021-07-14 19:58:28 +00:00
parent e63f7f1162
commit e33413b539
4 changed files with 10 additions and 4 deletions

View File

@@ -782,7 +782,7 @@ export default {
if (
this.form().showMe(this, "LaborCostViz") &&
this.value.hasTravelAndLaborRateCosts
this.value.userCanViewLaborOrTravelRateCosts
) {
headers.push({
text: this.$ay.t("Cost"),

View File

@@ -654,7 +654,10 @@ export default {
});
}
if (this.form().showMe(this, "LoanCost") && this.value.hasLoanItemCosts) {
if (
this.form().showMe(this, "LoanCost") &&
this.value.userCanViewLoanerCosts
) {
headers.push({
text: this.$ay.t("Cost"),
align: "right",

View File

@@ -919,7 +919,10 @@ export default {
});
}
if (this.form().showMe(this, "PartCost") && this.value.hasPartCosts) {
if (
this.form().showMe(this, "PartCost") &&
this.value.userCanViewPartCosts
) {
headers.push({
text: this.$ay.t("Cost"),
align: "right",

View File

@@ -760,7 +760,7 @@ export default {
if (
this.form().showMe(this, "TravelCostViz") &&
this.value.hasTravelAndLaborRateCosts
this.value.userCanViewLaborOrTravelRateCosts
) {
headers.push({
text: this.$ay.t("Cost"),