Bugzilla – Attachment 3624 Details for
Bug 3498
Allow partial fine payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects the structure of the HTML of paycollect.tmpl
0002-Corrects-the-structure-of-the-HTML.patch (text/plain), 1.96 KB, created by
Frédérick Capovilla
on 2011-04-04 13:07:44 UTC
(
hide
)
Description:
Corrects the structure of the HTML of paycollect.tmpl
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-04-04 13:07:44 UTC
Size:
1.96 KB
patch
obsolete
>From adfab946b99220c5bac2e49612ef98cc1c0df5fc Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Mon, 4 Apr 2011 08:53:51 -0400 >Subject: [PATCH] Corrects the structure of the HTML. > >--- > .../prog/en/modules/members/paycollect.tmpl | 4 ++-- > members/paycollect.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >index ac3397e..7e25d79 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >@@ -189,7 +189,7 @@ function moneyFormat(textObj) { > > <form name="payfine" onsubmit="return validatePayment(this);" method="post" action="/cgi-bin/koha/members/paycollect.pl"> > <input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /> >-<input type="hidden" name="selected_accts" id="selected_accts" value="<!-- TMPL_VAR name="selected_accts" --> /> >+<input type="hidden" name="selected_accts" id="selected_accts" value="<!-- TMPL_VAR name="selected_accts" -->" /> > <input type="hidden" name="total" id="total" value="<!-- TMPL_VAR name="total" -->" /> > > <table> >@@ -215,8 +215,8 @@ function moneyFormat(textObj) { > </td> > </tr> > </table> >-</form> > <!-- /TMPL_IF --> >+</form> > </div></div> > > </div> >diff --git a/members/paycollect.pl b/members/paycollect.pl >index 58096e3..c08d63e 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -112,7 +112,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { > } > else { > if ($select) { >- if ( $select =~ /^([\d,]*).+/ ) { >+ if ( $select =~ /^([\d,]*).*/ ) { > $select = $1; # ensure passing no junk > } > my @acc = split /,/, $select; >-- >1.5.6.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 3498
:
1365
|
1366
|
1367
|
1368
|
3359
|
3603
|
3624
|
3715
|
4902
|
5360
|
5361
|
5362
|
5363
|
5383
|
5406