@@ -, +, @@
selected fine
---
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 2 --
members/paycollect.pl | 5 +----
2 files changed, 1 insertion(+), 6 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
@@ -110,7 +110,6 @@ function moneyFormat(textObj) {
-
@@ -167,7 +166,6 @@ function moneyFormat(textObj) {
-
--- a/members/paycollect.pl
+++ a/members/paycollect.pl
@@ -70,7 +70,6 @@ my $writeoff = $input->param('writeoff_individual');
my $select_lines = $input->param('selected');
my $select = $input->param('selected_accts');
my $payment_note = uri_unescape $input->param('payment_note');
-my $accountno;
my $accountlines_id;
if ( $individual || $writeoff ) {
@@ -83,7 +82,6 @@ if ( $individual || $writeoff ) {
$accountlines_id = $input->param('accountlines_id');
my $amount = $input->param('amount');
my $amountoutstanding = $input->param('amountoutstanding');
- $accountno = $input->param('accountno');
my $itemnumber = $input->param('itemnumber');
my $description = $input->param('description');
my $title = $input->param('title');
@@ -93,7 +91,6 @@ if ( $individual || $writeoff ) {
$template->param(
accounttype => $accounttype,
accountlines_id => $accountlines_id,
- accountno => $accountno,
amount => $amount,
amountoutstanding => $amountoutstanding,
title => $title,
@@ -143,7 +140,7 @@ if ( $total_paid and $total_paid ne '0.00' ) {
{
borrowernumber => $borrowernumber,
amountoutstanding => { '<>' => 0 },
- accountno => { 'IN' => \@acc },
+ accountlines_id => { 'IN' => \@acc },
},
{ order_by => 'date' }
);
--