projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8e51c
)
round the amounts returned by renew_info, RT#4623
author
ivan
<ivan>
Fri, 23 Jan 2009 00:23:32 +0000
(
00:23
+0000)
committer
ivan
<ivan>
Fri, 23 Jan 2009 00:23:32 +0000
(
00:23
+0000)
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
bd95c28
..
cbc3dba
100644
(file)
--- a/
FS/FS/ClientAPI/MyAccount.pm
+++ b/
FS/FS/ClientAPI/MyAccount.pm
@@
-1130,7
+1130,7
@@
sub renew_info {
'bill_date_pretty' => time2str('%x', $_->bill),
'renew_date' => $renew_date,
'renew_date_pretty' => time2str('%x', $renew_date),
- 'amount' =>
$total
,
+ 'amount' =>
sprintf('.%2f', $total)
,
};
}
@cust_pkg;