projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d94b5
)
fix error recharging w/prepaid card caused by rounding off of money value, closes...
author
ivan
<ivan>
Wed, 15 Jun 2005 02:31:28 +0000
(
02:31
+0000)
committer
ivan
<ivan>
Wed, 15 Jun 2005 02:31:28 +0000
(
02:31
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
775523a
..
e3feefa
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-687,7
+687,7
@@
sub insert_cust_pay_prepay {
my $cust_pay = new FS::cust_pay {
'custnum' => $self->custnum,
- 'paid' =>
$amount
,
+ 'paid' =>
sprintf('%.2f', $amount)
,
#'_date' => #date the prepaid card was purchased???
'payby' => 'PREP',
'payinfo' => $payinfo,