add latitude/longitude to prospects, customers and package locations, RT#15539
[freeside.git] / httemplate / view / cust_main / packages / section.html
index 45365a0..85f0c79 100755 (executable)
@@ -5,12 +5,12 @@
 
 <TR>
 % #my $width = $show_location ? 'WIDTH="25%"' : 'WIDTH="33%"';
-  <TH CLASS="grid" BGCOLOR="#cccccc">Package</TH>
-  <TH CLASS="grid" BGCOLOR="#cccccc">Status</TH>
+  <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Package') |h %></TH>
+  <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Status') |h %></TH>
 %   if ( $show_location ) {
-  <TH CLASS="grid" BGCOLOR="#cccccc">Location</TH>
+  <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Location') |h %></TH>
 % }
-  <TH CLASS="grid" BGCOLOR="#cccccc">Services</TH>
+  <TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Services') |h %></TH>
 </TR>
 
 % #$FS::cust_pkg::DEBUG = 2;
 %     }
 %
 %     my %iopt = (
-%       'bgcolor'  => $bgcolor,
-%       'cust_pkg' => $cust_pkg,
-%       'part_pkg' => $cust_pkg->part_pkg,
+%       'bgcolor'   => $bgcolor,
+%       'cust_pkg'  => $cust_pkg,
+%       'part_pkg'  => $cust_pkg->part_pkg,
+%       'cust_main' => $opt{'cust_main'},
 %       %conf_opt,
 %     );
 %
 
   <!--pkgnum: <% $cust_pkg->pkgnum %>-->
   <TR>
-    <% include('package.html',  %iopt) %>
-    <% include('status.html',   %iopt) %>
+    <& package.html, %iopt &>
+    <& status.html, %iopt &>
 %     if ( $show_location ) {
-    <% include('location.html', %iopt) %>
+    <& location.html, %iopt &>
 %     }
-    <% include('services.html', %iopt) %>
+    <& services.html, %iopt &>
   </TR>
 
 %   } #foreach $cust_pkg
@@ -83,7 +84,10 @@ my %conf_opt = (
   #for services.html
   'svc_external-skip_manual'  => $conf->exists('svc_external-skip_manual'),
   'legacy_link'               => $conf->exists('legacy_link'),
-  'svc_broadband-manage_link' => scalar($conf->config('svc_broadband-manage_link')),
+  'manage_link'               => scalar($conf->config('svc_broadband-manage_link')),
+  'manage_link_text'          => scalar($conf->config('svc_broadband-manage_link_text')),
+  'manage_link_loc'           => scalar($conf->config('svc_broadband-manage_link_loc')),
+  'manage_link-new_window'    => $conf->exists('svc_broadband-manage_link-new_window'),
   'maestro-status_test'       => $conf->exists('maestro-status_test'),
   'cust_pkg-large_pkg_size'   => $conf->config('cust_pkg-large_pkg_size'),
 
@@ -91,5 +95,4 @@ my %conf_opt = (
   'show_location'             => $show_location,
 );
 
-
 </%init>