Bugzilla – Attachment 96603 Details for
Bug 24171
Cannot do automatic renewal with itemBarcodeFallbackSearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24171: Check auto_renew if confirmation is needed
Bug-24171-Check-autorenew-if-confirmation-is-neede.patch (text/plain), 2.87 KB, created by
Jonathan Druart
on 2019-12-23 13:07:39 UTC
(
hide
)
Description:
Bug 24171: Check auto_renew if confirmation is needed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-12-23 13:07:39 UTC
Size:
2.87 KB
patch
obsolete
>From bbbf695e475c3927aff7f5847ec28166d9dcb83d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 23 Dec 2019 14:06:06 +0100 >Subject: [PATCH] Bug 24171: Check auto_renew if confirmation is needed > >Test plan: >Add some fines >Check auto_renew and check an item out, using a title keyword >Pick one item >You get the confirmation box >=> Notice that the auto_renew checkbox is checked >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >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 afccab3c08..daca2c41c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -565,9 +565,17 @@ > [% UNLESS ( noissues ) %] > <div id="set-automatic-renewal" class="circ-setting"> > [% IF NEEDSCONFIRMATION %] >- <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> >+ [% IF auto_renew %] >+ <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" /> >+ [% ELSE %] >+ <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> >+ [% END %] > [% ELSE %] >- <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> >+ [% IF auto_renew %] >+ <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" /> >+ [% ELSE %] >+ <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> >+ [% END %] > [% END %] > > <label for="auto_renew">Automatic renewal</label> >-- >2.11.0
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 24171
:
96361
|
96362
|
96603
|
96726
|
96727
|
98254
|
98255