1 [%- USE T8 %][%- USE L %]
3 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
6 <form method="post" name="search" action="dn.pl" id="form">
10 <th align="right">[% 'Customer' | $T8 %]</th>
12 <input name="customer" size="35" class="initial_focus">
16 [% IF SHOW_DEPARTMENT_SELECTION %]
18 <th align="right">[% 'Department' | $T8 %]</th>
20 [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
25 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
27 <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
29 <select name="dunning_level">
31 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
38 <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
39 <td colspan="3"><input name="invnumber" size="20"></td>
43 <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
44 <td colspan="3"><input name="ordnumber" size="20"></td>
48 <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
49 <td colspan="3">[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1) %]</td>
53 <th align="right" nowrap>[% 'Type' | $T8 %]</th>
54 <th>[% L.select_tag('invoice', [ ['t', LxERP.t8('Invoice (No Dunning Fees)')], ['f', LxERP.t8('AR transactions (Dunning Fees)')], ], with_empty=1) %]
58 <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
59 <td colspan="3"><input name="notes" size="40"></td>
62 <th align="right" nowrap>[% 'Country' | $T8 %]</th>
63 <td colspan="3"><input name="country" size="40"></td>
66 <tr><td colspan="2"><hr size="3" noshade></td></tr>
69 <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
70 <td><input name="minamount" size="6"></td>
74 <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
75 <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
79 <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
80 <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
83 <th align="right" nowrap><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
84 <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>