Bugzilla – Attachment 42778 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 Followup] - Show ability to pay only if JavaScript is enabled
Bug-11622-QA-Followup---Show-ability-to-pay-only-i.patch (text/plain), 2.29 KB, created by
Kyle M Hall (khall)
on 2015-09-22 12:58:48 UTC
(
hide
)
Description:
Bug 11622 [QA Followup] - Show ability to pay only if JavaScript is enabled
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-09-22 12:58:48 UTC
Size:
2.29 KB
patch
obsolete
>From 0b69c7211fe0b389f4c3f2af60cdc1df8d44ef8a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 22 Sep 2015 08:40:01 -0400 >Subject: [PATCH] Bug 11622 [QA Followup] - Show ability to pay only if JavaScript is enabled > >--- > .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 6 ++++-- > 1 files changed, 4 insertions(+), 2 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 aefad49..7bf893c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -93,7 +93,7 @@ > [% IF ENABLE_OPAC_PAYMENTS %] > <td> > [% IF ACCOUNT_LINE.amountoutstanding > 0 %] >- <input name="accountline" type="checkbox" class="checkbox-pay" id="checkbox-pay-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.accountlines_id %]"> >+ <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 %] > </td> >@@ -133,7 +133,7 @@ > </table> > > [% IF ENABLE_OPAC_PAYMENTS %] >- <fieldset> >+ <fieldset class="pay-online hidden"> > <legend>Pay selected fines and charges</legend> > <span class="help-block"><h3>Payment method</h3></span> > <div class="control-group"> >@@ -174,6 +174,8 @@ > [% BLOCK jsinclude %] > <script type="text/javascript"> > $( document ).ready(function() { >+ $(".pay-online").removeClass("hidden"); >+ > $("#amount-to-pay-label").hide(); > > $(".checkbox-pay").change( function() { >-- >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