projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbca21
)
show RADIUS usage from last bill to NOW, instead of last bill to next bill
author
ivan
<ivan>
Mon, 5 Feb 2007 11:12:43 +0000
(11:12 +0000)
committer
ivan
<ivan>
Mon, 5 Feb 2007 11:12:43 +0000
(11:12 +0000)
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
675ae0b
..
cb3254f
100644
(file)
--- 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;