https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37034
Thibaud Guillot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167434|0 |1 is obsolete| | --- Comment #2 from Thibaud Guillot <[email protected]> --- Created attachment 167435 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167435&action=edit Bug 37034: Add script to alerts patron when booking ended a day before Test plan: 1) Write a notice template to use datas from this script. For example : " Hello <<borrowers.firstname>>, <<borrowers.surname>> Some bookings ended yesterday: [% FOREACH booking IN bookings %] Booking number [% booking.booking_id %] linked to [% booking.biblio.title %] which was to be taken from the library [% booking.pickup_library.branchname %], ended [% booking.end_date %]. [% END %] " 2) This template can have custom lettercode but don't forget to use it when you launch it. By default (if no lettercode is send to script, 'BOOKINGS_OUTDATED' code will be used) 3) Launch 'perl misc/cronjobs/bookings/bookings_outdated.pl' with args or not 4) Go on message_queue and you can normally see your message. Sponsored by: Association de Gestion des Ĺ’uvres Sociales d'Inria (AGOS) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
