<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>