https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30901

Kyle M Hall <k...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135687|0                           |1
        is obsolete|                            |
 Attachment #135689|0                           |1
        is obsolete|                            |

--- Comment #4 from Kyle M Hall <k...@bywatersolutions.com> ---
Created attachment 135690
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135690&action=edit
Bug 30901: Add Renewals method to CirculationRules template plugin

It would be useful to be able to report renewals used/remaining in some notices
and slips.

Test Plan:
1) Apply this patch
2) Add the following to the RENEWAL notices:
--
[% USE CirculationRules %]
[% SET renewals = CirculationRules.Renewals( borrower.id, item.id ) %]
You have used [% renewals.count %] of [% renewals.allowed %], you have [%
renewals.remaining %] renewals left.
--
3) Trigger a renewal notice
4) Verify the text is correct!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to