Bug 34626: Add waitingdate to holdswaiting patron message

To test:
1. Apply patch
2. Place 2 or more holds for a patron and trigger them so they are waiting holds.
3. Now go to both moremember.tt and circulation.tt for that patron.
4. Confirm that you now see a 'Waiting here since' message.

Signed-off-by: Kelly <kelly@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Lucas Gass 2023-08-25 20:39:07 +00:00 committed by Tomas Cohen Arazi
parent 5d70f71774
commit 4e4a4a2d44
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -212,11 +212,14 @@
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]),
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %]
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %]
<span>Hold placed on [% w.reservedate | $KohaDates %].</span>
<span class="holddate">Hold placed on [% w.reservedate | $KohaDates %].</span>
<br />
<strong class="waitinghere">
[% SET expires_on = w.expirationdate %]
Waiting here [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %]
Waiting here [% IF expires_on %] until [% expires_on | $KohaDates %][% END %].
</strong>
<strong class="waitingsince">
Waiting here since [% w.waitingdate | $KohaDates %].
</strong>
</li>
[% END %]