[Koha] Template toolkit puzzle 2.

Raymund Delahunty r.delahunty at arts.ac.uk
Fri Dec 2 19:31:44 NZDT 2022


Finding a solution to puzzle 1 would be great, but the solution would not be perfect as I cannot alter the subject line of the ODUE notice. My ideal solution would be not to send the ODUE notice to leavers at all, and instead send a separate notice to them using the patron emailer. So I need TT code / a rule to prevent a notice that *should* go out from being sent.

[% IF (borrower.dateexpiry !== CURDATE() %]
  <standard ODUE notice is sent using a subject line appropriate for current students>
[% ELSE %]
  <no email is sent, to the leaver, and my LEAVERS_FIRST notice is sent via the crontab using the patron emailer>
[% END %]

I am working to significantly improve messages to students and being able to use TT code / rules to **prevent** a standard Koha notice going out would be great, but I have no idea how I can do this. I'd appreciate any suggestions... indeed, is this possible?

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


More information about the Koha mailing list