diff options
author | jeff <jeff> | 2007-04-11 04:28:22 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-04-11 04:28:22 +0000 |
commit | 5a322e9cf2be599b4c6bcf3959178506dd5992be (patch) | |
tree | 3c268765b5b416abc0f3095cd426e8a157e2c3a0 /httemplate | |
parent | 8ac30110a4643b9083cc1fb91f672d7297161852 (diff) |
usage suspend vs admin suspend -- avoid actual cust_pkg::suspend except legacy cases
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index b54208b79..c56904690 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -270,12 +270,15 @@ Current packages <% pkg_datestr($cust_pkg, 'setup', $conf) %> </TR> % } else { - - +% if (scalar($cust_pkg->overlimit)) { + <TR> + <TD COLSPAN=<%$colspan%>><FONT COLOR="#FFD000"><B>Overlimit</B></FONT>, <% $billed_or_prepaid %> <% myfreq($part_pkg) %></TD> + </TR> +%}else{ <TR> <TD COLSPAN=<%$colspan%>><FONT COLOR="#00CC00"><B>Active</B></FONT>, <% $billed_or_prepaid %> <% myfreq($part_pkg) %></TD> </TR> - +% } <TR> <TD WIDTH="<%$width%>" ALIGN="right">Setup </TD> <% pkg_datestr($cust_pkg, 'setup', $conf) %> @@ -347,6 +350,13 @@ Current packages </TR> <TR> + <TD ALIGN="right" COLSPAN="2" VALIGN="top" STYLE="padding-bottom:1px;padding-top:0px"><FONT SIZE="-2" COLOR="#FFD000"> + + <% $cust_svc->overlimit ? "Overlimit: ". time2str('%b %o %Y' . ($conf->exists('cust_pkg-display_times') ? ' %l:%M %P' : ''), $cust_svc->overlimit) : '' %> + </FONT></TD> + </TR> + + <TR> <TD ALIGN="right" VALIGN="top" STYLE="padding-bottom:5px;padding-top:0px"><FONT SIZE="-2"> % if ( $curuser->access_right('Recharge customer service') |