--- /dev/null
+Dear Library Member
+According to the library's records, you or your children have the following
+overdue items borrowed from a Horowhenua Library and not yet returned.
+Please return them immediately to avoid increasing fines.
+
+<TMPL_LOOP NAME=BOOKDETAILS><TMPL_VAR NAME=DATE_DUE> <TMPL_VAR NAME=TITLE> <TMPL_VAR NAME=ITEMTYPE> <TMPL_IF NAME=FINE>$<TMPL_VAR NAME=FINE></TMPL_IF>
+</TMPL_LOOP>
--- /dev/null
+Invoice for lost book(s)
+This is an invoice for the replacement cost of items you
+or your children borrowed from the library which have not been returned.
+
+<TMPL_LOOP NAME=BOOKDETAILS><TMPL_VAR NAME=DATE_DUE> <TMPL_VAR NAME=TITLE> <TMPL_VAR NAME=ITEMTYPE> <TMPL_IF NAME=FINE>$<TMPL_VAR NAME=FINE></TMPL_IF> <TMPL_IF NAME=REP>$<TMPL_VAR NAME=REP></TMPL_IF>
+</TMPL_LOOP>
+
+Total Owing: $<TMPL_VAR NAME=OWING>
+
+
+If you return all overdue items, the total owing in fines will be $<TMPL_VAR
+NAME=FINES_TOTAL>
+
+Please deal with this matter immediately. If you need more time to search or pay, or you think a mistake
+has been made, please contact the library straight away. If you do not respond to this letter, this
+account will be handed to a debt collection agency.
+
--- /dev/null
+Dear Library member
+This is a reminder about some items you or your children borrowed from the library
+recently, which are now overdue and incurring fines.
+
+They are:
+<TMPL_LOOP NAME=BOOKDETAILS><TMPL_VAR NAME=DATE_DUE> <TMPL_VAR NAME=TITLE> <TMPL_VAR NAME=ITEMTYPE> <TMPL_IF NAME=FINE>$<TMPL_VAR NAME=FINE></TMPL_IF>
+</TMPL_LOOP>
+
+Please return or renew them as soon as you can.
+Rosalie Blake
+Head of Libraries
--- /dev/null
+Dear <TMPL_VAR NAME="NAME"><p>
+According to the library's records, you or your children have the following overdue
+items borrowed from a Horowhenua Library and not yet returned. Please return them immediately to avoid increasing fines.
+<p>
+<table border=\"1\">
+<TMPL_LOOP NAME=BOOKDETAILS>
+<tr>
+<td><TMPL_VAR NAME=DATE_DUE></td>
+<td><TMPL_VAR NAME=BARCODE></td>
+<td><TMPL_VAR NAME=TITLE></td>
+<td><TMPL_VAR NAME=ITEMTYPE></td>
+<td>$<TMPL_VAR NAME=FINE></td>
+</tr>
+</TMPL_LOOP>
+<table>
--- /dev/null
+Dear <TMPL_VAR NAME="NAME"><p>
+
+Invoice for lost book(s) <br>
+This is an invoice for the replacement cost of items you or your children
+borrowed from the library which have not been returned.
+
+<p>
+<table border=\"1\">
+<TMPL_LOOP NAME=BOOKDETAILS>
+<tr>
+<td><TMPL_VAR NAME=DATE_DUE></td>
+<td><TMPL_VAR NAME=BARCODE></td>
+<td><TMPL_VAR NAME=TITLE></td>
+<td><TMPL_VAR NAME=ITEMTYPE></td>
+<td>$<TMPL_VAR NAME=FINE></td>
+<td>$<TMPL_VAR NAME=REP></td>
+</tr>
+</TMPL_LOOP>
+<table>
+Total Owing: $<TMPL_VAR NAME=OWING> <p>
+If you return all overdue items, the total owing in fines will be $<TMPL_VAR NAME=FINES_TOTAL>
+<br>
+Please deal with this matter
+immediately. If you need more time to search or pay, or you think a mistake
+has been made, please contact the library straight away. If you do not
+respond to this letter, this
+account will be handed to a debt collection agency.
+
+
+
+
+
+
+
+
+
+
+
+
+
--- /dev/null
+Dear <TMPL_VAR NAME="NAME"><p>
+According to the library's records, you or your children have the following overdue
+items borrowed from a Horowhenua Library and not yet returned. Please return them immediately to avoid increasing fines.
+<p>
+<table border=\"1\">
+<TMPL_LOOP NAME=BOOKDETAILS>
+<tr>
+<td><TMPL_VAR NAME=DATE_DUE></td>
+<td><TMPL_VAR NAME=BARCODE></td>
+<td><TMPL_VAR NAME=TITLE></td>
+<td><TMPL_VAR NAME=ITEMTYPE></td>
+<td>$<TMPL_VAR NAME=FINE></td>
+</tr>
+</TMPL_LOOP>
+</table>
--- /dev/null
+Dear <TMPL_VAR NAME="NAME"><p>
+Invoice for lost book(s) <br>
+This is an invoice for the replacement cost of items you or your children
+borrowed from the library which have not been returned.
+
+<p>
+<table border=\"1\">
+<TMPL_LOOP NAME=BOOKDETAILS>
+<tr>
+<td><TMPL_VAR NAME=DATE_DUE></td>
+<td><TMPL_VAR NAME=BARCODE></td>
+<td><TMPL_VAR NAME=TITLE></td>
+<td><TMPL_VAR NAME=ITEMTYPE></td>
+<td>$<TMPL_VAR NAME=FINE></td>
+<td>$<TMPL_VAR NAME=REP></td>
+
+</tr>
+</TMPL_LOOP>
+</table>
+Total Owing: $<TMPL_VAR NAME=OWING> <p>
+If you return all overdue items, the total owing in fines will be $<TMPL_VAR NAME=FINES_TOTAL>
+<br>
+Please deal with this matter
+immediately. If you need more time to search or pay, or you think a mistake
+has been made, please contact the library straight away. If you do not
+respond to this letter, this
+account will be handed to a debt collection agency.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- /dev/null
+ovdues @lib ret immed
--- /dev/null
+ovdues @lib pls ret
+