Bug 10729: Add phrases configuration for ICU
[koha_fer] / C4 / SIP / ILS.pm
index 5d59850..e2089e8 100644 (file)
@@ -229,7 +229,7 @@ sub pay_fee {
         $trans->screen_msg('Invalid patron barcode.');
         return $trans;
     }
-    $trans->pay($patron->{borrowernumber},$fee_amt);
+    $trans->pay($patron->{borrowernumber},$fee_amt, $pay_type);
     $trans->ok(1);
 
     return $trans;
@@ -254,6 +254,10 @@ sub add_hold {
                return $trans;
        }
 
+    if ( $patron->holds_blocked_by_excessive_fees() ) {
+        $trans->screen_msg("Excessive fees blocking placement of hold.");
+    }
+
    if ($item->fee and $fee_ack ne 'Y') {
                $trans->screen_msg = "Fee required to place hold.";
                return $trans;