Bugzilla – Attachment 170071 Details for
Bug 27339
Display OPAC notes and OPAC messages on check-in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27339: (follow-up) Display opac notes and opac messages on check-in
Bug-27339-follow-up-Display-opac-notes-and-opac-me.patch (text/plain), 3.24 KB, created by
Baptiste Wojtkowski (bwoj)
on 2024-08-05 15:00:37 UTC
(
hide
)
Description:
Bug 27339: (follow-up) Display opac notes and opac messages on check-in
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2024-08-05 15:00:37 UTC
Size:
3.24 KB
patch
obsolete
>From 3cde63081d09af924ffcf3ea600f95cb5aaf4c41 Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <bski@laposte.net> >Date: Mon, 5 Aug 2024 16:56:28 +0200 >Subject: [PATCH] Bug 27339: (follow-up) 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 @@ > <th class="ci-collection">Collection</th> > <th class="ci-patron">Patron</th> > <th class="ci-note">Note</th> >+ <th class="ci-opac-note">Opac Note</th> > </tr> > </thead> > >@@ -1363,9 +1364,6 @@ > [% IF ( riloo.patron.borrowernotes ) %] > <p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes | $raw | html_line_break %]</span></p> > [% END %] >- [% IF ( riloo.patron.opacnote ) %] >- <p><span class="circ-hlt opac-note">[% riloo.patron.opacnote | html %]</span></p> >- [% END %] > [% IF ( riloo.messages.count ) %] > [% FOREACH message IN riloo.messages %] > <p><span class="circ-hlt patron-opac-messages">[% message.message | html %]</span></p> >@@ -1378,6 +1376,11 @@ > <p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</span></p> > [% END %] > </td> >+ <td> >+ [% IF ( riloo.patron.opacnote ) %] >+ <p><span class="circ-hlt opac-note">[% riloo.patron.opacnote | html %]</span></p> >+ [% END %] >+ </td> > </tr> > [% END # /FOREACH riloo %] > </table> <!-- /#checkedintable --> >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27339
:
114856
|
116144
|
170069
|
170070
|
170071
|
176012
|
176072
|
176094
|
176095