Bugzilla – Attachment 156169 Details for
Bug 22873
C4::SIP::ILS::Transation::FeePayment->pay $disallow_overpayment does nothing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22873: Add comment to explain what disallow_overpayment is for
Bug-22873-Add-comment-to-explain-what-disallowover.patch (text/plain), 868 bytes, created by
Kyle M Hall (khall)
on 2023-09-25 14:17:54 UTC
(
hide
)
Description:
Bug 22873: Add comment to explain what disallow_overpayment is for
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-09-25 14:17:54 UTC
Size:
868 bytes
patch
obsolete
>From 898125a126722d4844910a80bb12a8bdb5ff46d9 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 25 Sep 2023 10:11:03 -0400 >Subject: [PATCH] Bug 22873: Add comment to explain what disallow_overpayment > is for > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/SIP/ILS/Transaction/FeePayment.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/SIP/ILS/Transaction/FeePayment.pm b/C4/SIP/ILS/Transaction/FeePayment.pm >index a9fae17da9a..2e5b3364b54 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; > } >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22873
:
156168
| 156169