This commit is contained in:
2022-02-08 00:38:29 +00:00
parent fcc41fc4d0
commit 7455f2fe38
7 changed files with 8 additions and 12 deletions

View File

@@ -913,13 +913,13 @@ export default {
},
canAddOutsideService: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
!this.value.userIsRestrictedType
);
},
showOutsideServices: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
this.value.items[this.activeItemIndex].outsideServices.length > 0 &&
!this.value.userIsRestrictedType
);