[Koha-bugs] [Bug 12314] "Pay an amount toward all fines" does not save the note
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 27 08:49:41 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12314
--- Comment #1 from paxed <pasi.kallinen at pttk.fi> ---
Looks like in paycollect.pl, $select is "", so recordpayment_selectaccts() is
never called, instead recordpayment() is used. And that doesn't save any
user-supplied note.
I added a quick hack to populate $select:
if (!$select) {
my @tmp = ();
for (my $i = 0; $i < $numaccts; $i++) {
push(@tmp, $accts->[$i]->{'accountlines_id'}) if
($accts->[$i]->{'amountoutstanding'} > 0);
}
$select = join(",", @tmp);
}
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list