Bugzilla – Attachment 33037 Details for
Bug 10860
On-site checkouts (was In-House Use)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10860 [QA Followup] - Use Koha.Preference
Bug-10860-QA-Followup---Use-KohaPreference.patch (text/plain), 2.35 KB, created by
Kyle M Hall
on 2014-10-31 10:23:05 UTC
(
hide
)
Description:
Bug 10860 [QA Followup] - Use Koha.Preference
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2014-10-31 10:23:05 UTC
Size:
2.35 KB
patch
obsolete
>From 7dec93830656bbfa77f62982775bc6c50f313c67 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 31 Oct 2014 05:31:24 -0400 >Subject: [PATCH] Bug 10860 [QA Followup] - Use Koha.Preference > >--- > circ/circulation.pl | 1 - > .../prog/en/modules/circ/circulation.tt | 6 +++--- > 2 files changed, 3 insertions(+), 4 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 64e5e55..497f16e 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -586,7 +586,6 @@ $template->param( > canned_bor_notes_loop => $canned_notes, > debarments => GetDebarments({ borrowernumber => $borrowernumber }), > todaysdate => dt_from_string()->set(hour => 23)->set(minute => 59), >- onsite_checkout_forced => C4::Context->preference("OnSiteCheckoutsForce"), > ); > > output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index e1179d7..c971f04 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -485,7 +485,7 @@ No patron matched <span class="ex">[% message %]</span> > > [% IF ( borrowernumber ) %] > <div class="yui-g"> >-[% IF !noissues || onsite_checkout_forced %] >+[% IF !noissues || Koha.Preference('OnSiteCheckoutsForce') %] > [% IF ( flagged ) %] > <div class="yui-u first"> > [% ELSE %] >@@ -559,7 +559,7 @@ No patron matched <span class="ex">[% message %]</span> > [% IF ( noissues ) %]<div>[% ELSE %]<div class="yui-u">[% END %] > > [% IF flagged %] >- [% IF NOT noissues || ( noissues && onsite_checkout_forced ) %] >+ [% IF NOT noissues || ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] > <div id="circmessages" class="circmessage attention"> > [% ELSE %] > <h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4> >@@ -568,7 +568,7 @@ No patron matched <span class="ex">[% message %]</span> > <h3> > [% IF noissues %] > Cannot check out! >- [% IF onsite_checkout_forced %] >+ [% IF Koha.Preference('OnSiteCheckoutsForce') %] > <span style="color:red;">Only on-site checkouts are allowed</span> > [% END %] > [% ELSE %] >-- >1.7.2.5
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 10860
:
20959
|
20960
|
20961
|
21195
|
21642
|
22461
|
26089
|
26114
|
26123
|
26185
|
26191
|
26192
|
31388
|
31507
|
31548
|
31664
|
31665
|
32213
|
32214
|
32216
|
32223
|
32579
|
32580
|
32581
|
32954
|
32979
|
32980
|
32981
|
32982
|
32983
|
32984
|
32997
|
32998
|
33031
|
33032
|
33033
|
33034
|
33035
|
33036
|
33037
|
33105
|
33106
|
33107
|
33108
|
33109
|
33110
|
33111
|
33163
|
33165