[Koha-bugs] [Bug 15986] Add a script for sending hold waiting reminder notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 4 16:24:03 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15986

--- Comment #40 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Séverine Queune from comment #36)
> This patch works fine !
> But I won't sign it because of 2 points : 
> - I can't test the sms part, I don't know how it works and how to use the
> feature
> - I've got a question about the content of the message : when there several
> holds, only the informations about the oldest reserve (for what I saw) are
> displayed. Fields coming from the items or biblio tables can't be used. I
> know it's happening for some other notices so don't Failed the patch because
> of this point, but I regret I couldn't use the <<count>> or
> <<items.content>> datas as it is recommended for some other notices, I think
> it could be useful for patron to have some details about the waiting holds.

- sms part works exactly like email up to the sending of the message, so
testing is the same, just need to confirm it makes it into the queue

- the notice supports template toolkit, so you can get other holds information
like:
Dear [% borrower.firstname %] [% borrower.surname %],

Your hold for [% hold.biblio.title %] is waiting since [% hold.waitingdate %]

[% IF borrower.holds.count > 0 %]
  You also have other holds:
  [% FOREACH hold IN borrower.holds %]
    [% hold.biblio.title %] : [% hold.found %]
  [% END %]
[% END %]

That could be cleaned up and made fancier, but just to give an idea

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list