From 4e4a4a2d44096dd9c1ae2dec65c6272e2967f908 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 25 Aug 2023 20:39:07 +0000 Subject: [PATCH] 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 Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/includes/patron_messages.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc index e343f175c3..3a52c777c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -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 %] - Hold placed on [% w.reservedate | $KohaDates %]. + Hold placed on [% w.reservedate | $KohaDates %].
[% 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 %]. + + + Waiting here since [% w.waitingdate | $KohaDates %]. [% END %] -- 2.39.2