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