1 [% USE HTML %]<body onLoad="[% onload %]">
3 <script type="text/javascript" src="js/common.js"></script>
5 <form method="post" name="search" action="dn.pl">
7 <div class="listtop">[% title %]</div>
15 <th align="right"><translate>Customer</translate></th>
17 [% IF SHOW_CUSTOMER_DDBOX %]
18 <select name="customer_id">
19 <option value=""></option>
20 [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
24 <input name="customer" size="35">
29 [% IF SHOW_DUNNING_LEVELS %]
31 <th align="right" nowrap><translate>Next Dunning Level</translate></th>
33 <select name="dunning_level">
34 <option value=""></option>
35 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
42 [% IF SHOW_DEPARTMENT_DDBOX %]
44 <th align="right" nowrap><translate>Department</translate></th>
46 <select name="department_id">
47 <option value=""></option>
48 [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
56 <th align="right" nowrap><translate>Invoice Number</translate></th>
57 <td colspan="3"><input name="invnumber" size="20"></td>
61 <th align="right" nowrap><translate>Order Number</translate></th>
62 <td colspan="3"><input name="ordnumber" size="20"></td>
66 <th align="right" nowrap><translate>Notes</translate></th>
67 <td colspan="3"><input name="notes" size="40"></td>
71 <th align="right" nowrap><translate>Invdate from</translate></th>
73 <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
74 <input type="button" name="transdatefrom" id="trigger1" value="?">
76 <th align="right" nowrap><translate>To</translate></th>
78 <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
79 <input type="button" name="transdateto" id="trigger2" value="?">
84 <th align="right" nowrap><translate>Dunning Date from</translate></th>
86 <input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
87 <input type="button" name="dunningfrom" id="trigger3" value="?">
89 <th align="right" nowrap><translate>To</translate></th>
91 <input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
92 <input type="button" name="dunningto" id="trigger4" value="?">
100 <tr><td><hr size="3" noshade></td></tr>
106 <th align="right" nowrap><translate>Show old dunnings</translate></th>
107 <td><input type="checkbox" value="1" name="showold"></td>
114 <input type="hidden" name="nextsub" value="show_dunning">
116 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
117 <input type="hidden" name="password" value="[% HTML.escape(password) %]">
121 <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">
125 <script type="text/javascript">
127 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
128 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
129 Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
130 Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });