This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
<v-date-picker
|
||||
:value="dateValue"
|
||||
:locale="languageName"
|
||||
show-adjacent-months
|
||||
@input="updateDateValue"
|
||||
>
|
||||
<v-btn text color="primary" @click="$emit('input', null)">{{
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
<v-date-picker
|
||||
:value="dateValue"
|
||||
:locale="languageName"
|
||||
show-adjacent-months
|
||||
@input="updateDateValue"
|
||||
>
|
||||
<v-btn text color="primary" @click="$emit('input', null)">{{
|
||||
|
||||
@@ -915,13 +915,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
|
||||
);
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
@@ -588,7 +588,7 @@ export default {
|
||||
value: "quantity"
|
||||
});
|
||||
|
||||
//todo: property indicatingh if this woitem has *any* suggested quantities and removed it if not
|
||||
//todo: property indicatingh if this woitem has *any* suggested quantities and removed it if not
|
||||
if (this.form().showMe(this, "WorkOrderItemPartSuggestedQuantity")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartSuggestedQuantity"),
|
||||
@@ -621,8 +621,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//not sure about this one, removed it for now
|
||||
//not sure about this one, removed it for now
|
||||
// if (this.form().showMe(this, "PurchaseOrderItemSerialNumbers")) {
|
||||
// headers.push({
|
||||
// text: this.$ay.t("PurchaseOrderItemSerialNumbers"),
|
||||
|
||||
@@ -1023,13 +1023,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