From 68b5309149690a579aff46418992aed05d8b7088 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Mon, 5 Aug 2024 16:56:28 +0200 Subject: [PATCH] Bug 27339: Display opac notes and opac messages on check-in Adds Opac note (borrowers.opacnote) and Opac messages (messages table) during check-in. Test plan: 1- Add an Opac note and one or several Opac messages to a patron. 2- Checkout and check-in an item for this patron. 3- Check that Opac note and Opac message(s) are not displayed on check-in. 4- Apply the patch. 5- Checkout and check-in an item for this patron. 7- Check that Opac note and Opac message(s) are displayed on check-in in two columns. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 535d403..c01752b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1260,6 +1260,7 @@ Collection Patron Note + Opac Note @@ -1363,9 +1364,6 @@ [% IF ( riloo.patron.borrowernotes ) %]

[% riloo.patron.borrowernotes | $raw | html_line_break %]

[% END %] - [% IF ( riloo.patron.opacnote ) %] -

[% riloo.patron.opacnote | html %]

- [% END %] [% IF ( riloo.messages.count ) %] [% FOREACH message IN riloo.messages %]

[% message.message | html %]

@@ -1378,6 +1376,11 @@

[% riloo.itemnotes_nonpublic | html %]

[% END %] + + [% IF ( riloo.patron.opacnote ) %] +

[% riloo.patron.opacnote | html %]

+ [% END %] + [% END # /FOREACH riloo %] -- 2.43.0