enable CardFortress in test database, #71513
[freeside.git] / httemplate / search / report_sales_commission.html
index cc17e6b..9ad9e6a 100644 (file)
@@ -4,30 +4,20 @@
 
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
-<& /elements/tr-select-agent.html,
-     'onchange'      => 'agent_changed(this)',
-&>
-
-<SCRIPT TYPE="text/javascript">
-
-  function agent_changed(what) {
-    salesnum_agentnum_changed(what);
-  }
-
-  <&| /elements/onload.js &>
-  agent_changed(document.getElementById('agentnum'))
-  </&>
-
-</SCRIPT>
-
-<& /elements/tr-select-sales.html &>
+<& /elements/tr-select-agent-sales.html &>
 
 <& /elements/tr-checkbox.html,
-     'label' => 'Customer sales person if there is no package sales person',
-     'field' => 'cust_main_sales',
-     'value' => 'Y',
+    'label' => 'Customer sales person if there is no package sales person',
+    'field' => 'cust_main_sales',
+    'value' => 'Y',
 &>
 
+<& /elements/tr-checkbox.html,
+    'label' => 'Show paid sales only',
+    'field' => 'paid',
+    'value' => 'Y',
+&> 
+
 <& /elements/tr-input-beginning_ending.html &>
 
 </TABLE>