This commit is contained in:
@@ -423,14 +423,10 @@ CURRENTLY DOING:
|
|||||||
|
|
||||||
Subcontractor / tech limited modifications
|
Subcontractor / tech limited modifications
|
||||||
|
|
||||||
- Remove all costs from workorder for parts unless have inventory-limited, inventory, bizadminfull or Accounting roles
|
- Do not send work order items that don't have restricted user scheduled in them and also some other subitems as per below
|
||||||
not sent over wire / populated
|
- At server have biz rules that prevent changes to fields / objects that are restricted as per below
|
||||||
not shown as fields in UI of workorder anywhere
|
- At client have code to set restricted user restricted fields to read-only or hide as necessary per below
|
||||||
|
|
||||||
- Remove sections from work order for low rights users as per below
|
- Remove sections from work order for low rights users as per below
|
||||||
|
|
||||||
- go over initialize.js and for low rights roles restrict as per below
|
|
||||||
|
|
||||||
- Test login as each low rights type and confirm works as planned below
|
- Test login as each low rights type and confirm works as planned below
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -780,7 +780,10 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form().showMe(this, "LaborCostViz")) {
|
if (
|
||||||
|
this.form().showMe(this, "LaborCostViz") &&
|
||||||
|
this.value.hasTravelAndLaborRateCosts
|
||||||
|
) {
|
||||||
headers.push({
|
headers.push({
|
||||||
text: this.$ay.t("Cost"),
|
text: this.$ay.t("Cost"),
|
||||||
align: "right",
|
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({
|
headers.push({
|
||||||
text: this.$ay.t("Cost"),
|
text: this.$ay.t("Cost"),
|
||||||
align: "right",
|
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({
|
headers.push({
|
||||||
text: this.$ay.t("Cost"),
|
text: this.$ay.t("Cost"),
|
||||||
align: "right",
|
align: "right",
|
||||||
|
|||||||
Reference in New Issue
Block a user