You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two parts to this but they can use the same workflow:
An alert that can't be turned off for over $25 of fines. Customizable delivery.
Optional alerts for reaching a certain fine accrual. Could see this being email for smaller amounts and texts for higher so should be possible to have multiple.
Implementing the mandatory alert:
There is a hook for penalty.patron_exceeds_fines we could set up in action/triggers for the $25 threshold that then feeds into the notification system. There is a repeatability delay we will need to make sure works properly per patron. This should then catch everything each time the fines are generated.
Implementing the optional alerts:
Looks like open-ils.storage.money.open_user_summary.search might do what we need but need to see if it allows searching by patron. Code
Need to make sure everyone we would expect shows up in the 'open user' schema
If it does then we go through the preferences each day around the time of the fine generation and check each user that has configured the alerts. This way there is little load on the database if few people have done the non-mandatory alert.
The text was updated successfully, but these errors were encountered:
There are two parts to this but they can use the same workflow:
Implementing the mandatory alert:
penalty.patron_exceeds_fines
we could set up in action/triggers for the $25 threshold that then feeds into the notification system. There is a repeatability delay we will need to make sure works properly per patron. This should then catch everything each time the fines are generated.Implementing the optional alerts:
open-ils.storage.money.open_user_summary.search
might do what we need but need to see if it allows searching by patron. CodeThe text was updated successfully, but these errors were encountered: