This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user