default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / search / 477.html
index 2e9f942..9a41261 100644 (file)
@@ -59,15 +59,17 @@ a.download {
   <caption>
     <span class="parttitle"><% $part_titles->{$partname} %></span>
 %   if ( $this_part->{num_errors} > 0 ) {
-%     # disable downloading while it contains errors
-    <span class="errortitle">
-      <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
-    </span>
-%   } else {
-    <a class="download" href="<% $cgi->self_url %>">Download</a>
+%     # show error heading while it contains errors
+      <span class="errortitle">
+        <% emt('This section contains [quant,_1,error].', $this_part->{num_errors}) %>
+      </span>
 %   }
+    <a class="download" href="<% $cgi->self_url %>">Download</a>
   </caption>
 %   my $header = ".header_$partname";
+%   $header .= '_old' if $partname eq 'fbd' && $date < 1569826800; #9/30/2019
+%              # ( halfway between the two filing "as of" dates when it changed
+
 %   my $data = $this_part->{data};
 %   my $error = $this_part->{error};
   <thead>
@@ -169,7 +171,7 @@ if ( $cgi->param('type') eq 'csv' ) {
 my $part_titles = FS::Report::FCC_477->parts;
 
 </%init>
-<%def .header_fbd>
+<%def .header_fbd_old>
   <TR CLASS="head">
     <TD ROWSPAN=2>Census Block</TD>
     <TD ROWSPAN=2>DBA Name</TD>
@@ -186,6 +188,20 @@ my $part_titles = FS::Report::FCC_477->parts;
     <TD>Up</TD>
   </TR>
 </%def>
+<%def .header_fbd>
+  <TR CLASS="head">
+    <TD ROWSPAN=2>Census Block</TD>
+    <TD ROWSPAN=2>DBA Name</TD>
+    <TD ROWSPAN=2>Technology</TD>
+    <TD ROWSPAN=2>Consumer?</TD>
+    <TD COLSPAN=2>Advertised Speed (Mbps)</TD>
+    <TD ROWSPAN=2>Business?</TD>
+  </TR>
+  <TR CLASS="subhead">
+    <TD>Down</TD>
+    <TD>Up</TD>
+  </TR>
+</%def>
 <%def .header_fbs>
   <TR CLASS="head">
     <TD ROWSPAN=2>Census Tract</TD>