Bugzilla – Attachment 44427 Details for
Bug 11622
Add ability to pay fees and fines from OPAC via PayPal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11622 [QA Follouwp] - Display payment block only if there is something to pay
Bug-11622-QA-Follouwp---Display-payment-block-only.patch (text/plain), 2.26 KB, created by
Kyle M Hall (khall)
on 2015-11-04 16:06:52 UTC
(
hide
)
Description:
Bug 11622 [QA Follouwp] - Display payment block only if there is something to pay
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-11-04 16:06:52 UTC
Size:
2.26 KB
patch
obsolete
>From f317f8019385179873f5e1b02ea72df60730894b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 24 Sep 2015 08:11:03 -0400 >Subject: [PATCH] Bug 11622 [QA Follouwp] - Display payment block only if there is something to pay > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >index 7bf893c..a5723d7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -1,6 +1,7 @@ > [% USE Koha %] > [% USE KohaDates %] > [% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %] >+[% SET DISPLAY_PAYMENT_BLOCK = 0 %] > > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your fines and charges</title> >@@ -93,6 +94,7 @@ > [% IF ENABLE_OPAC_PAYMENTS %] > <td> > [% IF ACCOUNT_LINE.amountoutstanding > 0 %] >+ [% SET DISPLAY_PAYMENT_BLOCK = 1 %] > <input class="checkbox-pay pay-online hidden" name="accountline" type="checkbox" id="checkbox-pay-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.accountlines_id %]"> > <input type="hidden" id="amount-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.amountoutstanding %]" /> > [% END %] >@@ -132,7 +134,7 @@ > > </table> > >- [% IF ENABLE_OPAC_PAYMENTS %] >+ [% IF ENABLE_OPAC_PAYMENTS && DISPLAY_PAYMENT_BLOCK %] > <fieldset class="pay-online hidden"> > <legend>Pay selected fines and charges</legend> > <span class="help-block"><h3>Payment method</h3></span> >-- >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 11622
:
24753
|
24754
|
24756
|
40520
|
40521
|
40522
|
40523
|
42241
|
42351
|
42352
|
42594
|
42649
|
42702
|
42705
|
42715
|
42733
|
42774
|
42775
|
42777
|
42778
|
42842
|
42843
|
42857
|
42858
|
42859
|
42860
|
42861
|
42862
|
42863
|
42864
|
42865
|
44419
|
44420
|
44421
|
44422
|
44423
|
44424
|
44425
|
44426
|
44427
|
46143
|
46144
|
46145
|
46146
|
46147
|
46148
|
46149
|
46150
|
46151