From ab79178a5d9077be8d130dea76a3dfb0da8c35fb Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 11 Apr 2007 04:29:49 +0000 Subject: usage suspend vs admin suspend -- avoid actual cust_pkg::suspend except legacy cases (backport) --- httemplate/view/cust_main/packages.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'httemplate') 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) %> % } else { - - +% if (scalar($cust_pkg->overlimit)) { + + >Overlimit, <% $billed_or_prepaid %> <% myfreq($part_pkg) %> + +%}else{ >Active, <% $billed_or_prepaid %> <% myfreq($part_pkg) %> - +% } Setup  <% pkg_datestr($cust_pkg, 'setup', $conf) %> @@ -346,6 +349,13 @@ Current packages <% FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) %> + + + + <% $cust_svc->overlimit ? "Overlimit: ". time2str('%b %o %Y' . ($conf->exists('cust_pkg-display_times') ? ' %l:%M %P' : ''), $cust_svc->overlimit) : '' %> + + + -- cgit v1.2.1