projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
af02b5d
)
have the prepay amounts include the current balance, RT#4623
author
ivan
<ivan>
Sat, 24 Jan 2009 21:53:35 +0000
(21:53 +0000)
committer
ivan
<ivan>
Sat, 24 Jan 2009 21:53:35 +0000
(21:53 +0000)
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
213f6b4
..
a85d63e
100644
(file)
--- a/
FS/FS/ClientAPI/MyAccount.pm
+++ b/
FS/FS/ClientAPI/MyAccount.pm
@@
-1120,7
+1120,7
@@
sub renew_info {
#return { 'error' => 'No active packages to renew.' } unless @cust_pkg;
- my $total =
0
;
+ my $total =
$cust_main->balance
;
my @array = map {
$total += $_->part_pkg->base_recur;