add customer status to advanced package report, RT#24631
authorIvan Kohler <ivan@freeside.biz>
Fri, 11 Oct 2013 06:27:40 +0000 (23:27 -0700)
committerIvan Kohler <ivan@freeside.biz>
Fri, 11 Oct 2013 06:27:40 +0000 (23:27 -0700)
httemplate/search/report_cust_pkg.html

index b8c32c6..f9aabfc 100755 (executable)
@@ -4,16 +4,16 @@
 <INPUT TYPE="hidden" NAME="magic" VALUE="bill">
 <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
 
+% unless ( $custnum ) {
+
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
       <TH CLASS="background" COLSPAN=2 ALIGN="left">
-        <FONT SIZE="+1">Search options</FONT>
+        <FONT SIZE="+1">Customer search options</FONT>
       </TH>
     </TR>
 
-% unless ( $custnum ) {
-
     <& /elements/tr-select-agent.html,
                    'curr_value'    => scalar( $cgi->param('agentnum') ),
                    'disable_empty' => 0,
                   'disable_empty' => 1,
     &>
 
+  </TABLE>
+  <BR>
+
 % }
 
+  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+    <TR>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left">
+        <FONT SIZE="+1">Package search options</FONT>
+      </TH>
+    </TR>
+
     <& /elements/tr-select-sales.html,
                   'label'         => 'Package sales person',
                   'curr_value'    => scalar($cgi->param('salesnum')),