This commit is contained in:
@@ -780,7 +780,10 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LaborCostViz")) {
|
||||
if (
|
||||
this.form().showMe(this, "LaborCostViz") &&
|
||||
this.value.hasTravelAndLaborRateCosts
|
||||
) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Cost"),
|
||||
align: "right",
|
||||
|
||||
@@ -654,7 +654,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "LoanCost")) {
|
||||
if (this.form().showMe(this, "LoanCost") && this.value.hasLoanItemCosts) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Cost"),
|
||||
align: "right",
|
||||
|
||||
@@ -758,7 +758,10 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "TravelCostViz")) {
|
||||
if (
|
||||
this.form().showMe(this, "TravelCostViz") &&
|
||||
this.value.hasTravelAndLaborRateCosts
|
||||
) {
|
||||
headers.push({
|
||||
text: this.$ay.t("Cost"),
|
||||
align: "right",
|
||||
|
||||
Reference in New Issue
Block a user