Bugzilla – Attachment 71127 Details for
Bug 17698
Make patron notes show up on staff dashboard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17698: [FOLLOW-UP] Koha Objects, access borrower through patron sub
Bug-17698-FOLLOW-UP-Koha-Objects-access-borrower-t.patch (text/plain), 3.26 KB, created by
Aleisha Amohia
on 2018-02-01 21:56:18 UTC
(
hide
)
Description:
Bug 17698: [FOLLOW-UP] Koha Objects, access borrower through patron sub
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2018-02-01 21:56:18 UTC
Size:
3.26 KB
patch
obsolete
>From 9348e91c3b9641c1716d3e8eb996a7679d1da628 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 6 Jul 2017 01:28:06 +0000 >Subject: [PATCH] Bug 17698: [FOLLOW-UP] Koha Objects, access borrower through > patron sub > >See Comment 27 >This is ready to be tested. >--- > circ/branchtransfers.pl | 7 ++++++- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt | 4 ++-- > 2 files changed, 8 insertions(+), 3 deletions(-) > >diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl >index c1d30cb..98bf783 100755 >--- a/circ/branchtransfers.pl >+++ b/circ/branchtransfers.pl >@@ -36,6 +36,7 @@ use Koha::AuthorisedValues; > use Koha::Holds; > use Koha::Items; > use Koha::Patrons; >+use Koha::Checkouts; > > ############################################### > # Getting state >@@ -228,6 +229,9 @@ foreach my $code ( keys %$messages ) { > > # use Data::Dumper; > # warn "FINAL ============= ".Dumper(@trsfitemloop); >+ >+my $pending_checkout_notes = Koha::Checkouts->search({ noteseen => 0 })->count; >+ > $template->param( > found => $found, > reserved => $reserved, >@@ -242,7 +246,8 @@ $template->param( > setwaiting => $setwaiting, > trsfitemloop => \@trsfitemloop, > errmsgloop => \@errmsgloop, >- CircAutocompl => C4::Context->preference("CircAutocompl") >+ CircAutocompl => C4::Context->preference("CircAutocompl"), >+ pending_checkout_notes => $pending_checkout_notes, > ); > > # Checking if there is a Fast Cataloging Framework >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >index aa44abe..62c087d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >@@ -131,7 +131,7 @@ > <td>[% note.item.biblio.title %] - [% note.item.biblio.author %] (<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% note.item.biblionumber %]">[% note.item.barcode %]</a>)</td> > <td>[% note.note %]</td> > <td>[% note.notedate | $KohaDates %]</td> >- <td>[% IF note.borrower.title %][% note.borrower.title [% END %][% note.borrower.firstname %] [% note.borrower.surname %] (<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% note.borrower.borrowernumber %]">[% note.borrower.cardnumber %]</a>)</td> >+ <td>[% IF note.patron.title %][% note.patron.title [% END %][% note.patron.firstname %] [% note.patron.surname %] (<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% note.patron.borrowernumber %]">[% note.patron.cardnumber %]</a>)</td> > <td> > [% IF ( note.noteseen == 0 ) %] > <span id="status_[% note.issue_id %]">Not seen</span> >@@ -162,7 +162,7 @@ > > [% END %] <!-- selected_count --> > >- </div> <!-- yui-imain --> >+ </div> <!-- yui-main --> > > [% IF Koha.Preference('CircSidebar') %] > </div> >-- >2.1.4
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 17698
:
57851
|
58779
|
58780
|
58786
|
59480
|
59638
|
59762
|
59778
|
59809
|
59828
|
59829
|
59957
|
61857
|
62337
|
62351
|
64662
|
64683
|
64835
|
71100
|
71126
|
71127
|
72875
|
72876
|
72877
|
73004
|
73005
|
73006
|
73839
|
73840
|
73841
|
74044
|
74193
|
75837
|
75838
|
75839
|
75840
|
75841
|
75842
|
76011
|
76012
|
76028
|
76029
|
76030
|
76031
|
76032
|
76033
|
76034
|
76035
|
76036
|
76037
|
89964
|
90037