Bugzilla – Attachment 176095 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.74 KB, created by
Lucas Gass (lukeg)
on 2025-01-02 16:40:54 UTC
(
hide
)
Description:
Bug 27339: (follow-up) Display opac notes and opac messages on check-in
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-01-02 16:40:54 UTC
Size:
3.74 KB
patch
obsolete
>From 22e06b3141140b31c90b4043273994a664a6f6de 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. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 9 ++++++--- > 2 files changed, 8 insertions(+), 3 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index cf3beff5585..6b3ca0f85e2 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1784,6 +1784,8 @@ modules: > columnname: borrower > - > columnname: itemnote >+ - >+ columnname: opacnote > > view_holdsqueue: > holds-table: >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 d6699696754..376c0a1b446 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -1275,6 +1275,7 @@ > <th class="ci-collection">Collection</th> > <th class="ci-patron">Patron</th> > <th class="ci-note">Note</th> >+ <th class="ci-opacnote">Opac Note</th> > </tr> > </thead> > >@@ -1378,9 +1379,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> >@@ -1393,6 +1391,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.39.2
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