From a72cdde31d4fa8cc252241bd0041eb9f32a7197f 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 Signed-off-by: Tomas Cohen Arazi --- C4/Items.pm | 5 +---- .../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 a8d75f701e..f8c7d58025 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 53e73735f9..c8f9238287 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 %] -- 2.39.5