diff options
author | ivan <ivan> | 2007-02-05 11:12:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-02-05 11:12:43 +0000 |
commit | 528d77167b1af6fde15ec1902361b74968d7d432 (patch) | |
tree | 3710869bf6e89bf93a86288a44aae1ae58f8bef6 | |
parent | dcbca21adce59e19ee6c602c648c1033869e116b (diff) |
show RADIUS usage from last bill to NOW, instead of last bill to next bill
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 675ae0b66..cb3254f74 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -610,7 +610,8 @@ sub list_svc_usage { my $freq = $svc_acct->cust_svc->cust_pkg->part_pkg->freq; my $start = $svc_acct->cust_svc->cust_pkg->setup; - my $end = $svc_acct->cust_svc->cust_pkg->bill; # or time? + #my $end = $svc_acct->cust_svc->cust_pkg->bill; # or time? + my $end = time; unless($p->{beginning}){ $p->{beginning} = $svc_acct->cust_svc->cust_pkg->last_bill; |