Wishlist - Action Trigger for periodic billing statement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
We would like an action trigger that that will send an email/text with a patron's "balance owed". We envision the hook to simply happen when the cron script runs. The patron selection should be scoped to the configured "owning library" supplied by the event definition. It would be nice if the patrons that were selected had an email address in the case of "SendEmail" and a non-null "opac.default_
We can utilize the view money.usr_summary. I don't see how the current A/T event definition settings will compare a supplied numeric value against money.usr_
tags: | added: wishlist |
Changed in evergreen: | |
status: | New → In Progress |
assignee: | nobody → Blake GH (blake-j) |
tags: | added: pullrequest |
Changed in evergreen: | |
assignee: | Blake GH (blake-j) → nobody |
Changed in evergreen: | |
status: | In Progress → Triaged |
importance: | Undecided → Wishlist |
milestone: | none → 2.next |
Changed in evergreen: | |
assignee: | nobody → Josh Stompro (u-launchpad-stompro-org) |
Changed in evergreen: | |
assignee: | Josh Stompro (u-launchpad-stompro-org) → nobody |
Changed in evergreen: | |
milestone: | 2.next → 2.12-beta |
Changed in evergreen: | |
milestone: | 2.12-beta → 2.next |
Changed in evergreen: | |
assignee: | nobody → Remington Steed (rjs7) |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
milestone: | 3.next → 3.0-alpha |
tags: | removed: pullrequest |
tags: |
added: actiontrigger circ-billing circulation removed: wishlist |
tags: |
added: needswork removed: needsrepatch |
Changed in evergreen: | |
milestone: | 3.next → none |
Here is what I came up with so far.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ blake/LP1496522 _action_ trigger_ for_periodic_ billing_ statement
This method will target all of the patrons who have ever had a bill in a given org unit (owner of the AT compared to the billing_ou in the view). Then the validator step will weed them out according to the OU library setting. I recommend using a granularity although the stock insert does not setup a granularity. I couldn't decide which granularity to use by default. I suppose "Monthly"