]> git.evergreen-ils.org Git - working/Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/Circulation/autorenewnotify-renewal-field.adoc
Lp 1843079: Add renewals remaining to AutoRenew reactor's user data
[working/Evergreen.git] / docs / RELEASE_NOTES_NEXT / Circulation / autorenewnotify-renewal-field.adoc
1 New Fields for AutorenewNotify Event Template
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 Two new fields, `auto_renewal_remaining`, and `total_renewal_remaining` have
5 been added to the AutorenewNotify action/trigger event code.  They will
6 report the number of autorenewals and regular renewals, respectively,
7 remaining on the new circulation if renewed, or on the old circulation
8 if not renewed.  This is provided as a convenience to avoid possibly
9 inaccurate math in the template.  You may access them in the template via
10 the `udata`:
11
12 .................................................
13 Automatic Renewals Remaining: [% udata.auto_renewal_remaining %]
14 Total Renewals Remaining: [% udata.total_renewal_remaining %]
15 .................................................
16