X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;fp=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;h=217e8c556a28645549e38c4981bd22681d9e6f82;hp=4980feeac9d4dd0a1c004b3f657380bc3b8c7260;hb=847c27d7683856f420ed5306cb0ca395f1a6eb60;hpb=6f8edbafb0401dd2224d3698397bcb16ffad1580
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 @@
<% mt('Package') |h %> |
<% mt('Status') |h %> |
<% mt('Contact/Location') |h %> |
+% if (!$opt{no_services}) {
<% mt('Services') |h %> |
+% }
% #$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 &>
- <& contact.html, %iopt &>
+ <& contact.html, %iopt &>
<& location.html, %iopt &>
|
+% if (!$iopt{no_services}) {
<& services.html, %iopt &>
+% }
% # insert hidden predecessors to this package, if any
% # and a rolldown button to show them