diff options
author | ivan <ivan> | 2009-01-24 21:53:35 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-01-24 21:53:35 +0000 |
commit | 09cdee33633126e346d69d6f6ee3ebc8aacf9498 (patch) | |
tree | c67b74cdbeeca24e365842e4f80172fa2d274db0 | |
parent | af02b5d04908f5d9382e636475b15c1923f6f967 (diff) |
have the prepay amounts include the current balance, RT#4623
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 213f6b45b..a85d63efe 100644 --- 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; |