Bug 16895 [QA Followup] - Don't require fee payment to be exact full payment

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2017-04-19 09:29:13 -04:00
parent 7e62964107
commit 8b528ab09d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ sub pay {
if ($fee_id) {
my $fee = Koha::Account::Lines->find($fee_id);
if ( $fee && $fee->amountoutstanding == $amt ) {
if ( $fee ) {
$account->pay(
{
amount => $amt,