From 33e5bfb14caa69495dc295a02a744f2775950a8a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 30 Oct 2014 00:10:00 +0100 Subject: [PATCH] Bug 10860: Follow-up - staff reading record - capitalization fix "Checked out" - display new tabs only when feature is activated - fixes a qa script complaint about POD in Items.pm Signed-off-by: Kyle M Hall --- C4/Items.pm | 5 +---- koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt | 7 +++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index a8d75f7..f8c7d58 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -2571,10 +2571,7 @@ sub GetAnalyticsCount { =head2 GetItemHolds -=over 4 -$holds = &GetItemHolds($biblionumber, $itemnumber); - -=back + $holds = &GetItemHolds($biblionumber, $itemnumber); This function return the count of holds with $biblionumber and $itemnumber diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt index 53e7373..c8f9238 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt @@ -1,4 +1,5 @@ [% USE KohaDates %] +[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Circulation History for [% INCLUDE 'patron-title.inc' %] [% INCLUDE 'doc-head-close.inc' %] @@ -55,11 +56,13 @@
+ [% IF Koha.Preference('On-site checkouts') %] + [% END %]
@@ -117,7 +120,7 @@ [% IF issue.returndate %] [% issue.returndate | $KohaDates %] [% ELSE %] - Checked Out + Checked out [% END %] -- 1.9.1