Bugzilla – Attachment 49009 Details for
Bug 15397
Pay selected does not works as expected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15397: just a try
Bug-15397-just-a-try.patch (text/plain), 1.86 KB, created by
Jonathan Druart
on 2016-03-11 13:12:21 UTC
(
hide
)
Description:
Bug 15397: just a try
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-11 13:12:21 UTC
Size:
1.86 KB
patch
obsolete
>From e44f577b2b8693173cae90ce653790051c56da89 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 11 Mar 2016 13:11:18 +0000 >Subject: [PATCH] Bug 15397: just a try > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 2 +- > members/paycollect.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >index cb6902c..2c9765d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -198,7 +198,7 @@ function moneyFormat(textObj) { > <form name="payfine" id="payfine" onsubmit="return validatePayment(this);" method="post" action="/cgi-bin/koha/members/paycollect.pl"> > <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrower.borrowernumber %]" /> > <input type="hidden" name="selected_accts" id="selected_accts" value="[% selected_accts %]" /> >- <input type="hidden" name="total" id="total" value="[% total %]" /> >+ <input type="hidden" name="amt" id="amt" value="[% amt %]" /> > > <fieldset class="rows"> > [% IF ( selected_accts ) %]<legend>Pay an amount toward selected fines</legend>[% ELSE %]<legend>Pay an amount toward all fines</legend>[% END %] >diff --git a/members/paycollect.pl b/members/paycollect.pl >index e9de655..fc02a26 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -91,7 +91,7 @@ if ( $individual || $writeoff ) { > notify_level => $notify_level, > payment_note => $payment_note, > ); >-} elsif ($select_lines) { >+} elsif ($select_lines or $select) { > $total_due = $input->param('amt'); > $template->param( > selected_accts => $select_lines, >-- >2.7.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 15397
:
49009
|
49574
|
53486
|
53490
|
53681