This commit is contained in:
@@ -58,7 +58,9 @@ todo: workorders - need to set billing and service address from customers on mig
|
|||||||
todo: notifications screen add delete all menu item that will just remove all the notifications present
|
todo: notifications screen add delete all menu item that will just remove all the notifications present
|
||||||
Maybe a checkbox and delete selected and select all?? That way can also be a dual useful feature
|
Maybe a checkbox and delete selected and select all?? That way can also be a dual useful feature
|
||||||
also should delete *from* the client so that it deletes only what it has in view so user doesn't accidentally delete unseen yet to be delivered ones?
|
also should delete *from* the client so that it deletes only what it has in view so user doesn't accidentally delete unseen yet to be delivered ones?
|
||||||
|
todo: notification new bell alert count add to title so shows in task bar when not in view?
|
||||||
|
like messenger "(1)" "(23)" etc
|
||||||
|
|
||||||
todo: notifications new count seems to be double getting on each iteration
|
todo: notifications new count seems to be double getting on each iteration
|
||||||
todo: Seeding UI keep track of timing and later down the road when firmed up, provide estimate (average server will take):
|
todo: Seeding UI keep track of timing and later down the road when firmed up, provide estimate (average server will take):
|
||||||
2021-05-31 10:26:45.4801|INFO|Seeder|Small level sample data seeded in 27 seconds
|
2021-05-31 10:26:45.4801|INFO|Seeder|Small level sample data seeded in 27 seconds
|
||||||
@@ -373,8 +375,7 @@ todo: many biz objects are not using new PUT methodology
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING: workorder round two electric boogaloo
|
CURRENTLY DOING: notification duration display for testing workorder status age notification in app and in email
|
||||||
basics first then increasingly esoteric features
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -397,7 +398,9 @@ Testing:
|
|||||||
status age, stuck in status
|
status age, stuck in status
|
||||||
Test also as EMAIL notification as this is all also a test to find bugs in notification now rather than later
|
Test also as EMAIL notification as this is all also a test to find bugs in notification now rather than later
|
||||||
|
|
||||||
todo: notification of workorder not completed has lorem ipsum text from no apparent place (not in notification sent)
|
todo: in-app notification page should include duration for duration events in the display
|
||||||
|
will require adding duration to notifyevent
|
||||||
|
also, not sure about the placement of the title and event name, maybe need to be flipped?
|
||||||
|
|
||||||
todo: notify event list table needs to show status of workorder (all fields) ideally
|
todo: notify event list table needs to show status of workorder (all fields) ideally
|
||||||
otherwise if you have multiple wostatusage notifications they all appear the same
|
otherwise if you have multiple wostatusage notifications they all appear the same
|
||||||
|
|||||||
@@ -174,6 +174,38 @@ export default {
|
|||||||
hour12: hour12
|
hour12: hour12
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
///////////////////////////////////////////
|
||||||
|
// Turn a duration value into a display
|
||||||
|
//
|
||||||
|
durationLocalized(value) {
|
||||||
|
let theDays = 0;
|
||||||
|
let theHours = 0;
|
||||||
|
let theMinutes = 0;
|
||||||
|
let theSeconds = 0;
|
||||||
|
|
||||||
|
if (value == null) {
|
||||||
|
return "";
|
||||||
|
} else {
|
||||||
|
let work = vm.value.split(":");
|
||||||
|
//has days?
|
||||||
|
if (work[0].includes(".")) {
|
||||||
|
let dh = work[0].split(".");
|
||||||
|
theDays = Number(dh[0]);
|
||||||
|
theHours = Number(dh[1]);
|
||||||
|
} else {
|
||||||
|
theHours = Number(work[0]);
|
||||||
|
}
|
||||||
|
theMinutes = Number(work[1]);
|
||||||
|
//has milliseconds? (ignore them)
|
||||||
|
if (work[2].includes(".")) {
|
||||||
|
let dh = work[2].split(".");
|
||||||
|
theSeconds = Number(dh[0]);
|
||||||
|
} else {
|
||||||
|
theSeconds = Number(work[2]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
todo: finish this then move on to the UI part and jam this in
|
||||||
|
},
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Convert a utc date to local time zone
|
// Convert a utc date to local time zone
|
||||||
// and return time portion only in iso 8601
|
// and return time portion only in iso 8601
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
>{{ i.uiayatype }}</template
|
>{{ i.uiayatype }}</template
|
||||||
>
|
>
|
||||||
<div class="mt-4" v-if="i.message">{{ i.message }}</div>
|
<div class="mt-4" v-if="i.message">{{ i.message }}</div>
|
||||||
|
<div class="mt-4" v-if="i.ageValue != '00:00:00'">
|
||||||
|
{{ i.ageValue }}
|
||||||
|
</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
|
|||||||
Reference in New Issue
Block a user