Bug 16895 [QA Followup] - Don't require fee payment to be exact full payment
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 19 Apr 2017 13:29:13 +0000 (09:29 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 14:59:53 +0000 (10:59 -0400)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/SIP/ILS/Transaction/FeePayment.pm

index 9cedce5..fe49197 100644 (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,