http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15364

--- Comment #5 from Martin Stenberg 
<mar...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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