This commit is contained in:
2021-06-08 19:14:16 +00:00
parent 8aac4ba216
commit 82a1992f95
2 changed files with 14 additions and 12 deletions

View File

@@ -373,22 +373,24 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING: workorder round two electric boogaloo
basics first then increasingly esoteric features
CHECK IF BIZADMIN, ACCOUNTING AND SUPERUSER get two workorders overdue notifications
TODO: work orders with complete by dates set in the past should NOT notify??
accidental mistake could trigger rampant notifications, but then maybe there is a realistic case for this??
which is better to not use it because it's likely an accident or old import or use it so user can see mistake right away??
Tested:
Overdue notification works with one user subscription
changing the close by date / time re-issues overdue notification
Overdue notification works wiht multiple users
overdue: inactive user does not receive notification
overdue: changing the close by date / time re-issues overdue notification
overdue: setting to past triggers immediate notification
Overdue: tags based works
Overdue: contract set complete by date notification works
Statuschange:
Testing:
Be sure to test with multiple subscribers and also inactive subscribers to ensure it does what it says on the box
Test with tags on each one to make sure that works as well
status changed to specific status immediate notification
complete by overdue - make sure that contract sets complete by date properly and that it works with notification when it's changed
status changed to specific status immediate notification
status age, stuck in status
todo: notification of workorder not completed has lorem ipsum text from no apparent place (not in notification sent)

View File

@@ -190,10 +190,10 @@ export default {
temp[i].icon = window.$gz.util.iconForType(temp[i].ayaType);
if (!temp[i].message) {
temp[i].message =
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tristique aliquam luctus. Suspendisse molestie lacus ac varius cursus. Praesent facilisis sem quam, vitae tincidunt ligula porttitor maximus. Sed quis mi commodo, dictum nunc sed, elementum leo. In tincidunt porta risus, et tristique orci congue at.";
}
// if (!temp[i].message) {
// temp[i].message =
// "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tristique aliquam luctus. Suspendisse molestie lacus ac varius cursus. Praesent facilisis sem quam, vitae tincidunt ligula porttitor maximus. Sed quis mi commodo, dictum nunc sed, elementum leo. In tincidunt porta risus, et tristique orci congue at.";
// }
if (temp[i].name == "~SERVER~") {
temp[i].name = vm.$ay.t("Server");
}