summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-01-24 21:53:38 +0000
committerivan <ivan>2009-01-24 21:53:38 +0000
commit6e68833ae99f82bf310fd25b5668c2f4ae646b52 (patch)
treeff6277724387a42ebfb17e96f5d580e1f9b91ed0
parent77ba993cd7a4110d75356d6405f88c460932afd3 (diff)
have the prepay amounts include the current balance, RT#4623
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index f8e26d213..c953c62f6 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -1030,7 +1030,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;