show RADIUS usage from last bill to NOW, instead of last bill to next bill
authorivan <ivan>
Mon, 5 Feb 2007 11:12:43 +0000 (11:12 +0000)
committerivan <ivan>
Mon, 5 Feb 2007 11:12:43 +0000 (11:12 +0000)
FS/FS/ClientAPI/MyAccount.pm

index 675ae0b..cb3254f 100644 (file)
@@ -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;