This commit is contained in:
2021-05-08 13:40:27 +00:00
parent 98cdd77d4c
commit 6b4993e366
2 changed files with 21 additions and 26 deletions

View File

@@ -55,6 +55,8 @@ todo: workorders - need to set billing and service address from customers on mig
## CLIENT MISC ITEMS ## CLIENT MISC ITEMS
todo: custom required rules only apply to new records!!
todo: Translation: "Physical" address seems wierd, rename to Street address or Delivery address or Service Address or whatever todo: Translation: "Physical" address seems wierd, rename to Street address or Delivery address or Service Address or whatever
todo: broken rules can't save should color save button red in addition to disabled some forms can't see what's what todo: broken rules can't save should color save button red in addition to disabled some forms can't see what's what
todo: Any "Priority" type value in UI that has colors should use ayaFireAlt icon instead of round circle which is for minor status only todo: Any "Priority" type value in UI that has colors should use ayaFireAlt icon instead of round circle which is for minor status only
@@ -153,6 +155,8 @@ todo: cypress testing for load testing etc
## SERVER MISC ITEMS ## SERVER MISC ITEMS
todo: custom required rules only apply to new records!!
todo: Reports need to generate under a file name that is informative (this applies to every object) todo: Reports need to generate under a file name that is informative (this applies to every object)
This is because it will be a common case to need to email them to customers or other users or whatever and it is very helpful to know what it is by name alone. This is because it will be a common case to need to email them to customers or other users or whatever and it is very helpful to know what it is by name alone.
i.e. a workorder should generate a report that can be saved as "Workorder_1" or whatever, i.e. a workorder should generate a report that can be saved as "Workorder_1" or whatever,

View File

@@ -417,12 +417,7 @@ export default {
*/ */
let headers = []; let headers = [];
if ( if (this.form().showMe(this, "WorkOrderItemScheduledUserStartDate")) {
this.form().showMe(
this,
"ScheduledUsers.WorkOrderItemScheduledUserStartDate"
)
) {
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemScheduledUserStartDate"), text: this.$ay.t("WorkOrderItemScheduledUserStartDate"),
align: "right", align: "right",
@@ -430,12 +425,7 @@ export default {
}); });
} }
if ( if (this.form().showMe(this, "WorkOrderItemScheduledUserStopDate")) {
this.form().showMe(
this,
"ScheduledUsers.WorkOrderItemScheduledUserStopDate"
)
) {
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemScheduledUserStopDate"), text: this.$ay.t("WorkOrderItemScheduledUserStopDate"),
align: "right", align: "right",
@@ -444,10 +434,7 @@ export default {
} }
if ( if (
this.form().showMe( this.form().showMe(this, "WorkOrderItemScheduledUserEstimatedQuantity")
this,
"ScheduledUsers.WorkOrderItemScheduledUserEstimatedQuantity"
)
) { ) {
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemScheduledUserEstimatedQuantity"), text: this.$ay.t("WorkOrderItemScheduledUserEstimatedQuantity"),
@@ -456,17 +443,21 @@ export default {
}); });
} }
headers.push({ if (this.form().showMe(this, "WorkOrderItemScheduledUserUserID")) {
text: this.$ay.t("WorkOrderItemScheduledUserUserID"), headers.push({
align: "left", text: this.$ay.t("WorkOrderItemScheduledUserUserID"),
value: "userViz" align: "left",
}); value: "userViz"
});
}
headers.push({ if (this.form().showMe(this, "WorkOrderItemScheduledUserServiceRateID")) {
text: this.$ay.t("WorkOrderItemScheduledUserServiceRateID"), headers.push({
align: "left", text: this.$ay.t("WorkOrderItemScheduledUserServiceRateID"),
value: "rateViz" align: "left",
}); value: "rateViz"
});
}
return headers; return headers;
}, },