I do not think you can do that, accountlines are not passed when the notice is generated.
You could take a look at the template toolkit syntax, something like [% patron.account.balance %] should display what you want. But this is a new feature and you will have to rewrite the whole template of the notice. *could* *should*, I did not test. Regards, Jonathan On Wed, 6 Jun 2018 at 12:10 Walker-Headon, Niamh - Systems Librarian < [email protected]> wrote: > Dear Jonathan, > > I am on 17.11. I have tried several different fields in an attempt to get > the information I want into the notice, but to no avail. > > This is what I have so far: > > [notices and slips] > > <br> > > <br> > > <br> > > <br> > > <br> > > <br> > > <<borrowers.firstname>> <<borrowers.surname>><br> > > <<borrowers.address>><br> > > <<borrowers.address2>><br> > > <<borrowers.city>><br> > > <<borrowers.zipcode>><br> > > <<borrowers.state>><br> > > <br> > > <br> > > Dear <<borrowers.firstname>> <<borrowers.surname>>, > > <br> > > Our records show that the following items on your Library account [ card > number: <<borrowers.cardnumber>>] are seriously overdue at Library IT > Tallaght, if the overdue item/s are not returned to the library you will be > charged for the replacement cost below. > > <p>Please contact the library regarding this matter immediately. <b> ONCE > ITEMS ARE RETURNED YOU WILL NOT BE CHARGED </b> however you may be blocked > from services.</p> > > <br> > > <br> > > Borrowers with overdue items may not be able to view exam results online. > > <br> > > <br> > > The following item(s) is/are currently overdue:<br> > > <br> > > <item> > > <br> > > -<B><i>"<<biblio.title>>"</B>by <<biblio.author>></i><br> > > Barcode: <<items.barcode>> > > <br><B>Replacement charge in EURO: <<items.price>></b><br></item><br> > > <br> > > <br> > > <b>TOTAL AMOUNT OUTSTANDING ON YOUR ACCOUNT: is available by logging into > your library account<<accountlines.outstandingamount>></b> > > <BR> > > <BR> > > Thank you for your prompt attention to this matter. > > <br> > > <br> > > Library > > <<branches.branchaddress1>><br> > > <<branches.branchaddress2>>, <<branches.branchaddress3>><br> > > Phone: <<branches.branchphone>><br> > > Email: <<branches.branchemail>><br> > > > > Yours, > > *Niamh* > > > > *From:* Jonathan Druart [mailto:[email protected]] > *Sent:* 06 June 2018 14:57 > *To:* Walker-Headon, Niamh - Systems Librarian > *Cc:* [email protected] > *Subject:* Re: [Koha] Koha - notices and slips: how to include total > amount outstanding on a notice > > > > Hello, > > > > Which version of Koha are you using? > > And which notices do you want to modify? IIRC longoverdue.pl only sends > CHECKIN. > > > > Regards, > > Jonathan > > > > On Wed, 6 Jun 2018 at 07:41 Walker-Headon, Niamh - Systems Librarian < > [email protected]> wrote: > > Dear Fellow Koha Users, > I was wondering if anyone has managed to figure out how to include the > total amount outstanding in a notice. > In our case we do not charge fines, but once an item is subjected to the ' > longoverdue.pl' process the replacement cost of the item is added to the > patrons' accounts. We want to include the total amount in the notice re > same, in addition to the replacement cost,[which we have in the notice] but > can't seem to find the right table/column to include. > > I hope that makes sense. > > Any advice would be very welcome! > Yours, > > Niamh Walker-Headon BA, MSc LIS, ALAI. > Systems Librarian | Humanities Subject Liaison > Library, Institute of Technology, Tallaght, Dublin 24, Ireland. > > > Niamh Bean Uí hÉidín BA, MSc LIS, ALAI. > Leabharlannaí córas |Leabharlannai sainábhair daonnachtaí. > An Leabharlann, Institúid Technolaíocha, Tamhlacht, BÁC 24, Éireann. > > Tel: 00 353 (0)1 4042151 <+353%201%20404%202151> > Web: http://library.it-tallaght.ie<http://library.it-tallaght.ie/> > Find us on Facebook<https://www.facebook.com/LIbraryittallaght/> | > Follow us on Twitter<https://twitter.com/LibraryITT> > > > Tel: 00 353 (0)1 4042151 <+353%201%20404%202151> > Idirlíon: http://library.it-tallaght.ie<http://library.it-tallaght.ie/> > Ar Facebook<https://www.facebook.com/LIbraryittallaght/> |Ar Twitter< > https://twitter.com/LibraryITT> > > > > > > The contents and any attachment of this e-mail are private and > confidential. > They are intended only for the use of the intended addressee. If you are > not the intended addressee, or the person responsible for delivering it to > the intended addressee, you are notified that any copying, forwarding, > publication, review or delivery of this e-mail or any attachments to anyone > else or any other use of its contents is strictly prohibited. You are > prohibited from reading any part of this e-mail or any attachments. If you > have received this e-mail in error, please notify the system manager. > Unauthorised disclosure or communication or other use of the contents of > this e-mail or any part thereof may be prohibited by law and may constitute > a criminal offence. Internet e-mails are not necessarily secure. The > Institute does not accept responsibility for changes made to this message > after it was sent. Unless stated to the contrary, any opinions expressed > in this message are personal to the author and may not be attributed to the > Institute. > _______________________________________________ > Koha mailing list http://koha-community.org > [email protected] > https://lists.katipo.co.nz/mailman/listinfo/koha > > > The contents and any attachment of this e-mail are private and > confidential. > They are intended only for the use of the intended addressee. If you are > not the intended addressee, or the person responsible for delivering it to > the intended addressee, you are notified that any copying, forwarding, > publication, review or delivery of this e-mail or any attachments to anyone > else or any other use of its contents is strictly prohibited. You are > prohibited from reading any part of this e-mail or any attachments. If you > have received this e-mail in error, please notify the system manager. > Unauthorised disclosure or communication or other use of the contents of > this e-mail or any part thereof may be prohibited by law and may constitute > a criminal offence. Internet e-mails are not necessarily secure. The > Institute does not accept responsibility for changes made to this message > after it was sent. Unless stated to the contrary, any opinions expressed > in this message are personal to the author and may not be attributed to the > Institute. > _______________________________________________ Koha mailing list http://koha-community.org [email protected] https://lists.katipo.co.nz/mailman/listinfo/koha

