Bugzilla – Attachment 12057 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]
Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly
Bug-8739---Partial-Fine-Payments-Saving-Amount-Pai.patch (text/plain), 982 bytes, created by
Kyle M Hall (khall)
on 2012-09-07 15:44:46 UTC
(
hide
)
Description:
Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-09-07 15:44:46 UTC
Size:
982 bytes
patch
obsolete
>From 976b29c786ed1b5ebd84b518d255a3cc5267bfaf 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] Bug 8739 - Partial Fine Payments Saving Amount Paid Incorrectly >Content-Type: text/plain; charset="utf-8" > >--- > C4/Accounts.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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.2.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