[Koha] Template Toolkit edit help please.

Marc VĂ©ron veron at veron.ch
Mon Jul 31 16:56:45 NZST 2017

Hi Ray

It would be a good idea to file the issue in the bug tracker:


Kind regards

Am 31.07.2017 um 05:46 schrieb Raymund Delahunty:
> We have found functionality with auto-renewal in 17.05 which we want to change. When an item that is due for renewal is reserved at the title level, we find that in some circumstances Koha searches for other copies of the same title that are also out on loan, and sends an AUTO_RENEWAL email to ALL the users warning them all of renewal failure, even though copies are in most cases nowhere near the date for renewal. Ideally the person whose item is due today will get the AUTO_RENWAL failure notification, bring the item back, and the other people who have copies on loan are not contacted (and confused!).
> We want to test out whether this can be achieved by an edit to the condition in the template toolkit. So rather this:
> [% ELSIF checkout.auto_renew_error == 'on_reserve' %]
> This item has been reserved by another reader.
> ... we have something like this:
> [% ELSIF checkout.auto_renew_error == 'on_reserve' %] AND [% checkout.date_due %==today]
> This item has been reserved by another reader.
> Can someone please help with the coding of the second condition (if indeed use of a second condition is permissible).
> Thanks.
> Ray Delahunty
> University of the Arts London
> This email and any attachments are intended solely for the addressee and may contain confidential information. If you are not the intended recipient of this email and/or its attachments you must not take any action based upon them and you must not copy or show them to anyone. Please send the email back to us and immediately and permanently delete it and its attachments. Where this email is unrelated to the business of University of the Arts London or of any of its group companies the opinions expressed in it are the opinions of the sender and do not necessarily constitute those of University of the Arts London (or the relevant group company). Where the sender's signature indicates that the email is sent on behalf of UAL Short Courses Limited the following also applies: UAL Short Courses Limited is a company registered in England and Wales under company number 02361261. Registered Office: University of the Arts London, 272 High Holborn, London WC1V 7EY
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list