Bugzilla – Attachment 12256 Details for
Bug 8739
Partial Fine Payments Saving Amount Paid Incorrectly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly
SIGNED-OFF-Bug-8739---Partial-Fine-Payments-Saving.patch (text/plain), 1.08 KB, created by
Owen Leonard
on 2012-09-14 21:05:58 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-09-14 21:05:58 UTC
Size:
1.08 KB
patch
obsolete
>From 2246e3cb0ce9b44b6113793c427607ae7a1cd0be Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 7 Sep 2012 11:44:22 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 8739 - Partial Fine Payments Saving Amount > Paid Incorrectly >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Confirmed using test plan that the display is corrected. >--- > C4/Accounts.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Accounts.pm b/C4/Accounts.pm >index 3606393..d49985e 100644 >--- a/C4/Accounts.pm >+++ b/C4/Accounts.pm >@@ -762,7 +762,7 @@ sub makepartialpayment { > . 'description, accounttype, amountoutstanding, itemnumber, manager_id) ' > . ' VALUES (?, ?, now(), ?, ?, ?, 0, ?, ?)'; > >- $dbh->do( $insert, undef, $borrowernumber, $nextaccntno, $amount, >+ $dbh->do( $insert, undef, $borrowernumber, $nextaccntno, 0 - $amount, > "Payment, thanks - $user", 'Pay', $data->{'itemnumber'}, $manager_id); > > UpdateStats( $user, 'payment', $amount, '', '', '', $borrowernumber, $accountno ); >-- >1.7.9.5
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 8739
:
12057
| 12256