diff options
Diffstat (limited to 'httemplate/view/cust_main/packages/section.html')
-rwxr-xr-x | httemplate/view/cust_main/packages/section.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html index 4980feeac..217e8c556 100755 --- a/httemplate/view/cust_main/packages/section.html +++ b/httemplate/view/cust_main/packages/section.html @@ -4,17 +4,22 @@ <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Package') |h %></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Status') |h %></TH> <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Contact/Location') |h %></TH> +% if (!$opt{no_services}) { <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Services') |h %></TH> +% } </TR> % #$FS::cust_pkg::DEBUG = 2; % foreach my $cust_pkg (@$packages) { +% # if requested, this can override cust_pkg-group_by_location <& .packagerow, $cust_pkg, + %conf_opt, ( map { $_ => $opt{$_} } qw( cust_main bgcolor no_links cust_location_cache before_pkg_callback before_svc_callback after_svc_callback + cust_pkg-group_by_location + no_services )), - %conf_opt &> % } % } else { # there are no packages @@ -30,10 +35,12 @@ <& package.html, %iopt &> <& status.html, %iopt &> <TD CLASS="inv" BGCOLOR="<% $iopt{bgcolor} %>" WIDTH="20%" VALIGN="top"> - <& contact.html, %iopt &><BR> + <& contact.html, %iopt &> <& location.html, %iopt &> </TD> +% if (!$iopt{no_services}) { <& services.html, %iopt &> +% } </TR> % # insert hidden predecessors to this package, if any % # and a rolldown button to show them |