This commit is contained in:
@@ -74,12 +74,16 @@ This is the required date and time the review must take place. A review display
|
||||
|
||||
The Review date is also used for review [notifications](home-notify-subscriptions.md).
|
||||
|
||||
(Once a review is set to completed date and saved it will cancel any impending notifications for it that haven't been sent yet)
|
||||
|
||||
#### Notes
|
||||
|
||||
Notes is an optional field for entering more details about the review. Notes do _not_ display in the schedule form, only the Name field so the review needs to be opened to view Notes.
|
||||
|
||||
#### Completion date
|
||||
|
||||
Date and time a review has been completed.
|
||||
|
||||
#### Completion notes
|
||||
|
||||
|
||||
@@ -94,9 +98,3 @@ Optional [wiki control](ay-start-form-wiki.md).
|
||||
#### Attached files
|
||||
|
||||
Optional [attachments control](ay-start-form-attachments.md).
|
||||
|
||||
000000000000000000000000000000000000000000000
|
||||
notes:
|
||||
All users can see reviews assigned to them in their home menu
|
||||
Supervisory roles can see all reviews assigned to anyone
|
||||
Reviews display in schedule as ReviewDate start timestamp and 15 minutes long by default as there is no end date to display
|
||||
|
||||
@@ -615,6 +615,7 @@ namespace AyaNova.Biz
|
||||
if (ayaEvent == AyaEvent.Created || ayaEvent == AyaEvent.Modified)
|
||||
{
|
||||
//# REVIEW IMMINENT
|
||||
if (o.CompletedDate == null && o.ReviewDate > DateTime.UtcNow)
|
||||
{
|
||||
//notify users (time delayed)
|
||||
var subs = await ct.NotifySubscription.Where(z => z.EventType == NotifyEventType.ReviewImminent).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user