add ability to search on ranges of charged, owed to adv. invoice report, RT#6407
[freeside.git] / httemplate / search / report_svc_acct.html
index f5a0ff9..59fd1f8 100755 (executable)
@@ -8,11 +8,21 @@
     <TR>
       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
+
     <% include( '/elements/tr-select-agent.html',
-                   ($cgi->param('agentnum') || ''),
-               )
+                   'curr_value'    => scalar( $cgi->param('agentnum') ),
+                   'disable_empty' => 0,
+              )
+    %>
+
+    <% include( '/elements/tr-select-domain.html',
+                   'element_name'  => 'domsvc',
+                   'curr_value'    => scalar( $cgi->param('domsvc') ),
+                   'disable_empty' => 0,
+              )
     %>
 
+
     <SCRIPT type="text/javascript">
       function toggle(what) {
         label = document.getElementById (what + '_label');
 %   }
     
     <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %> 
+
+    <TR>
+      <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
+    </TR>
  
     <TR>
       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>