This commit is contained in:
@@ -55,6 +55,8 @@ todo: workorders - need to set billing and service address from customers on mig
|
||||
|
||||
## 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: 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
|
||||
@@ -153,6 +155,8 @@ todo: cypress testing for load testing etc
|
||||
|
||||
## 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)
|
||||
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,
|
||||
|
||||
@@ -417,12 +417,7 @@ export default {
|
||||
*/
|
||||
let headers = [];
|
||||
|
||||
if (
|
||||
this.form().showMe(
|
||||
this,
|
||||
"ScheduledUsers.WorkOrderItemScheduledUserStartDate"
|
||||
)
|
||||
) {
|
||||
if (this.form().showMe(this, "WorkOrderItemScheduledUserStartDate")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserStartDate"),
|
||||
align: "right",
|
||||
@@ -430,12 +425,7 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (
|
||||
this.form().showMe(
|
||||
this,
|
||||
"ScheduledUsers.WorkOrderItemScheduledUserStopDate"
|
||||
)
|
||||
) {
|
||||
if (this.form().showMe(this, "WorkOrderItemScheduledUserStopDate")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserStopDate"),
|
||||
align: "right",
|
||||
@@ -444,10 +434,7 @@ export default {
|
||||
}
|
||||
|
||||
if (
|
||||
this.form().showMe(
|
||||
this,
|
||||
"ScheduledUsers.WorkOrderItemScheduledUserEstimatedQuantity"
|
||||
)
|
||||
this.form().showMe(this, "WorkOrderItemScheduledUserEstimatedQuantity")
|
||||
) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserEstimatedQuantity"),
|
||||
@@ -456,17 +443,21 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserUserID"),
|
||||
align: "left",
|
||||
value: "userViz"
|
||||
});
|
||||
if (this.form().showMe(this, "WorkOrderItemScheduledUserUserID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserUserID"),
|
||||
align: "left",
|
||||
value: "userViz"
|
||||
});
|
||||
}
|
||||
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserServiceRateID"),
|
||||
align: "left",
|
||||
value: "rateViz"
|
||||
});
|
||||
if (this.form().showMe(this, "WorkOrderItemScheduledUserServiceRateID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemScheduledUserServiceRateID"),
|
||||
align: "left",
|
||||
value: "rateViz"
|
||||
});
|
||||
}
|
||||
|
||||
return headers;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user