From 6e68833ae99f82bf310fd25b5668c2f4ae646b52 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 24 Jan 2009 21:53:38 +0000 Subject: have the prepay amounts include the current balance, RT#4623 --- FS/FS/ClientAPI/MyAccount.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FS') 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; -- cgit v1.2.1