diff options
Diffstat (limited to 'httemplate/view')
| -rwxr-xr-x | httemplate/view/svc_acct.cgi | 8 | 
1 files changed, 6 insertions, 2 deletions
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<BR>'; +    print ' since last bill ('. time2str("%C", $last_bill). ')'. +    print ' - '. $plandata{recur_included_hours}. ' total hours in plan<BR>' +      if length($plandata{recur_included_hours});    } else {      print ' (no billing cycle available for unaudited account)<BR>';    } @@ -102,6 +103,9 @@ if (    $part_svc->part_export('sqlradius')    print 'Input: <B>'. sprintf("%.3f", $input). '</B> megabytes<BR>';    print 'Output: <B>'. sprintf("%.3f", $output). '</B> megabytes<BR>'; +  my $href = qq!<A HREF="${p}search/sqlradius.cgi?svcnum=$svcnum!; +  print qq!View sessions: this billing cycle | $href">all sessions</A>!; +    print '<BR>';  }  | 
