Bugzilla – Attachment 93932 Details for
Bug 23788
Writing off multiple fees allows 'overpayment' of those fees
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23788: Rename $select to $selected_accts
Bug-23788-Rename-select-to-selectedaccts.patch (text/plain), 1.68 KB, created by
Kyle M Hall (khall)
on 2019-10-09 17:15:58 UTC
(
hide
)
Description:
Bug 23788: Rename $select to $selected_accts
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-10-09 17:15:58 UTC
Size:
1.68 KB
patch
obsolete
>From 22f3a5de8feede3fe05b82db4389677ded165ea3 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 9 Oct 2019 12:43:54 -0400 >Subject: [PATCH] Bug 23788: Rename $select to $selected_accts > >--- > members/paycollect.pl | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/members/paycollect.pl b/members/paycollect.pl >index 9e25476a0d..25b6652618 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -71,7 +71,7 @@ my $total_paid = $input->param('paid'); > > my $select_lines = $input->param('selected'); > my $pay_individual = $input->param('pay_individual'); >-my $select = $input->param('selected_accts'); >+my $selected_accts = $input->param('selected_accts'); > my $payment_note = uri_unescape scalar $input->param('payment_note'); > my $payment_type = scalar $input->param('payment_type'); > my $accountlines_id; >@@ -165,11 +165,11 @@ if ( $total_paid and $total_paid ne '0.00' ) { > print $input->redirect( > "/cgi-bin/koha/members/pay.pl?borrowernumber=$borrowernumber&payment_id=$payment_id&change_given=$change_given"); > } else { >- if ($select) { >- if ( $select =~ /^([\d,]*).*/ ) { >- $select = $1; # ensure passing no junk >+ if ($selected_accts) { >+ if ( $selected_accts =~ /^([\d,]*).*/ ) { >+ $selected_accts = $1; # ensure passing no junk > } >- my @acc = split /,/, $select; >+ my @acc = split /,/, $selected_accts; > my $note = $input->param('selected_accts_notes'); > > my @lines = Koha::Account::Lines->search( >-- >2.21.0 (Apple Git-122)
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 23788
:
93932
|
93933
|
93934
|
93935
|
93936
|
94276
|
94277
|
94278
|
94786
|
94787
|
94788
|
94789
|
95232
|
95233
|
95234