From 049da6c538c952f938af4544a07c688b89c26a17 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 5 Oct 2004 16:28:28 +0000 Subject: RADIUS session viewing --- httemplate/view/svc_acct.cgi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index be58e4e1d..1322a69fd 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -93,8 +93,9 @@ if ( $part_svc->part_export('sqlradius') } if ( $cust_pkg ) { - print ' since last bill ('. time2str("%C", $last_bill). ') - '. - $plandata{recur_included_hours}. ' total hours in plan
'; + print ' since last bill ('. time2str("%C", $last_bill). ')'. + print ' - '. $plandata{recur_included_hours}. ' total hours in plan
' + if length($plandata{recur_included_hours}); } else { print ' (no billing cycle available for unaudited account)
'; } @@ -102,6 +103,9 @@ if ( $part_svc->part_export('sqlradius') print 'Input: '. sprintf("%.3f", $input). ' megabytes
'; print 'Output: '. sprintf("%.3f", $output). ' megabytes
'; + my $href = qq!all sessions!; + print '
'; } -- cgit v1.2.1