X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=7fbefa14be2e30ed8c09bd1af4b73a4beb61204f;hb=eab5690e7cd970706f709ac0ef4f1c3e317fcd7d;hp=9c2fbc94d573b29e7402f7aa72d8dbbaf8471c25;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 9c2fbc94d..7fbefa14b 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -284,6 +284,21 @@ Service #<% $svcnum %> % } +% my %ulabel = ( seconds => 'Seconds', +% upbytes => 'Upload bytes', +% downbytes => 'Download bytes', +% totalbytes => 'Total bytes', +% ); +% foreach my $uf ( keys %ulabel ) { +% my $tf = $uf . "_threshold"; +% if ( $svc_acct->$tf ne '' ) { + + <% $ulabel{$uf} %> remaining + <% $svc_acct->$uf %> + + +% } +% } % foreach my $attribute ( grep /^radius_/, $svc_acct->fields ) { % $attribute =~ /^radius_(.*)$/; % my $pattribute = $FS::raddb::attrib{$1};