[Koha-bugs] [Bug 15364] fines and invoices in letter templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 17 13:50:20 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15364
--- Comment #5 from Martin Stenberg <martin at bugs.koha-community.org.xinxidi.net> ---
Created attachment 45768
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45768&action=edit
Bug 15364: accountlines variable in letters
Add accountlines variable to letter templates for advance_notices and
overdue_notices.
Test plan
=========
1. Edit the overdue notice template to look like this:
<accountline><<accountlines.amountoutstanding>> -
<<accountlines.description>></accountline>
Total: <<accountlines.total>>
2. Make sure at least one patron has at least one accountline, if not, create
one by checking out an item with a past due date.
3. run bin/cronjobs/overdue_notices.pl and check the generated mail content
4. run bin/cronjobs/advance_notices.pl and check the generated mail content
5. generated mail content should look something like this:
$5 - Fine
$10 - Rent
Total: $15
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list