diff --git a/C4/SIP/ILS/Transaction/FeePayment.pm b/C4/SIP/ILS/Transaction/FeePayment.pm index a9fae17da9..2e5b3364b5 100644 --- a/C4/SIP/ILS/Transaction/FeePayment.pm +++ b/C4/SIP/ILS/Transaction/FeePayment.pm @@ -55,6 +55,7 @@ sub pay { my $account = Koha::Account->new( { patron_id => $borrowernumber } ); + # Bug 16899: Add ability to disallow overpayments for SIP if ($disallow_overpayment) { return { ok => 0 } if $account->balance < $amt; }