X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;h=fe9f283c7df8f02ec086b40f55bc4e192307e053;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=4980feeac9d4dd0a1c004b3f657380bc3b8c7260;hpb=f9930edeaceb217a6503fa49078fcff2b588caf8;p=freeside.git
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html
index 4980feeac..fe9f283c7 100755
--- a/httemplate/view/cust_main/packages/section.html
+++ b/httemplate/view/cust_main/packages/section.html
@@ -1,20 +1,29 @@
% if ( @$packages ) {
+
% #my $width = $show_location ? 'WIDTH="25%"' : 'WIDTH="33%"';
+
% #$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
+ #for status.html
+ 'has_cust_payby_auto' => $opt{cust_main}->has_cust_payby_auto,
&>
% }
% } else { # there are no packages
@@ -30,10 +39,12 @@
<& package.html, %iopt &>
<& status.html, %iopt &>
<% mt('Package') |h %>
<% mt('Status') |h %>
<% mt('Contact/Location') |h %>
+% if (!$opt{no_services}) {
<% mt('Services') |h %>
+% }