projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix error recharging w/prepaid card caused by rounding off of money value, closes...
[freeside.git]
/
FS
/
FS
/
cust_main.pm
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,