X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;h=fe9f283c7df8f02ec086b40f55bc4e192307e053;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=7c82978313878a8ba90ce327cc040a4f875c8e24;hpb=e91ed1c4a81c25757f812b3ec8238645b836b235;p=freeside.git
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html
index 7c8297831..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 before_pkg_callback before_svc_callback after_svc_callback
+ 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 %>
+% }