6 <script type="text/javascript" src="js/common.js"></script>
10 <form method="post" name="search" action="dn.pl" id="form">
14 <table class="tbl-horizontal">
15 <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
18 <th>[% 'Customer' | $T8 %]</th>
19 <td><input type="text" name="customer" class="initial_focus wi-lightwide"></td>
21 [% IF SHOW_DEPARTMENT_SELECTION %]
23 <th align="right">[% 'Department' | $T8 %]</th>
25 [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
29 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
31 <th>[% 'Next Dunning Level' | $T8 %]</th>
33 <select name="dunning_level" class="wi-lightwide">
35 [% FOREACH row = DUNNING %]
36 <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
43 <th>[% 'Invoice Number' | $T8 %]</th>
44 <td><input type="text" name="invnumber" class="wi-lightwide"></td>
47 <th>[% 'Order Number' | $T8 %]</th>
48 <td><input type="text" name="ordnumber" class="wi-lightwide"></td>
51 <th>[% 'Payment Term' | $T8 %]</th>
52 <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1, class="wi-lightwide") %]</td>
55 <th>[% 'Type' | $T8 %]</th>
56 <th>[% L.select_tag('invoice', [ ['t', LxERP.t8('Invoice (No Dunning Fees)')], ['f', LxERP.t8('AR transactions (Dunning Fees)')], ], with_empty=1, class="wi-lightwide") %]
59 <th>[% 'Notes' | $T8 %]</th>
60 <td><input type="text" name="notes" class="wi-lightwide"></td>
62 <tr class="separator below">
63 <th>[% 'Country' | $T8 %]</th>
64 <td><input type="text" name="country" class="wi-lightwide"></td>
67 <th>[% 'Minimum Amount' | $T8 %]</th>
68 <td><input type="text" name="minamount" class="wi-lightwide"></td>
71 <th><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
72 <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
75 <th><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
76 <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
79 <th><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
80 <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>
85 </div><!-- /.wrapper -->