Bugzilla – Attachment 7922 Details for
Bug 7597
fines not recording the right info in the stats table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7597 - Part 3 - fines not recording the right info in the stats table
SIGNED-OFF-Bug-7597---Part-3---fines-not-recording.patch (text/plain), 1.26 KB, created by
Nicole C. Engard
on 2012-02-28 14:58:03 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7597 - Part 3 - fines not recording the right info in the stats table
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-02-28 14:58:03 UTC
Size:
1.26 KB
patch
obsolete
>From 8803d30b8035aace6405d257f0ade62d9266c59f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 28 Feb 2012 09:34:59 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 7597 - Part 3 - fines not recording the right info in the stats table > >This commit fixes writeoff_all to write off only the amount outstanding >for each fine being written off, rather than the original amount owed. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> > >Tested all three patches together and was able to write off single >and multiple fines and the data was correct in the stats table. >--- > members/pay.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/members/pay.pl b/members/pay.pl >index 9343c90..3aecbe6 100755 >--- a/members/pay.pl >+++ b/members/pay.pl >@@ -182,7 +182,7 @@ sub writeoff_all { > > # my $borrowernum = $input->param("borrowernumber$value"); > my $itemno = $input->param("itemnumber$value"); >- my $amount = $input->param("amount$value"); >+ my $amount = $input->param("amountoutstanding$value"); > my $accountno = $input->param("accountno$value"); > WriteOff( $borrowernumber, $accountno, $itemno, $accounttype, $amount, $branch ); > } >-- >1.7.2.3
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 7597
:
7913
|
7914
|
7915
|
7916
|
7917
|
7919
|
7920
|
7921
| 7922 |
8020
|
8021
|
8026
|
8100
|
8198