Bugzilla – Attachment 53106 Details for
Bug 16854
request.tt: Logic to display messages broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 16854: request.tt: Logic to display messages broken
SIGNED-OFFBug-16854-requesttt-Logic-to-display-mes.patch (text/plain), 1.61 KB, created by
Héctor Eduardo Castro Avalos
on 2016-07-05 16:23:42 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 16854: request.tt: Logic to display messages broken
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-07-05 16:23:42 UTC
Size:
1.61 KB
patch
obsolete
>From 51798df2bd2ce3d7e1cacd94d47cdd8a3a321b82 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 4 Jul 2016 03:48:40 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 16854: request.tt: Logic to display messages > broken > >This patch fixes broken logic in >koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt > >To verify, see initial comment. > >To test: >- Apply patch >- Have a patron with a restricion and with outstanding fines > greater than defined in syspref 'maxoutstanding' >- Place a hold for this patron and verify, that messages > 'Patron has restrictions' and 'Patron has outstanding fines...' > appear > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index bcca2d2..d35ce1a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -292,7 +292,7 @@ function checkMultiHold() { > </div> > [% END %] > >-[% IF ( expiry || diffbranch ) %] >+[% IF ( expiry || diffbranch || restricted || ( amount_outstanding && Koha.Preference('maxoutstanding') && amount_outstanding > Koha.Preference('maxoutstanding') ) ) %] > <div class="dialog message"><ul> > [% IF ( expiry ) %] > <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a>: <strong>Account has expired</strong></li> >-- >1.7.10.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 16854
:
53102
|
53106
|
53127