971ef1a67d6d94fe1de1556922762f62f3511d9c
[kivitendo-erp.git] / templates / webpages / dunning / search_master.html
1 [% USE HTML %]<body onLoad="[% onload %]">
2
3  <script type="text/javascript" src="js/common.js"></script>
4
5  <form method="post" name="search" action="dn.pl">
6
7   <div class="listtop">[% title %]</div>
8
9   <table width="100%">
10    <tr height="5"></tr>
11    <tr>
12     <td>
13      <table>
14       <tr>
15        <th align="right"><translate>Customer</translate></th>
16        <td colspan="3">
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>
21           [% END %]
22          </select>
23          [% ELSE %]
24          <input name="customer" size="35">
25         [% END %]
26        </td>
27       </tr>
28
29       [% IF SHOW_DUNNING_LEVELS %]
30        <tr>
31         <th align="right" nowrap><translate>Next Dunning Level</translate></th>
32         <td colspan="3">
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>
36           [% END %]
37          </select>
38         </td>
39        </tr>
40       [% END %]
41
42       [% IF SHOW_DEPARTMENT_DDBOX %]
43        <tr>
44         <th align="right" nowrap><translate>Department</translate></th>
45         <td colspan="3">
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>
49           [% END %]
50          </select>
51         </td>
52        </tr>
53       [% END %]
54
55       <tr>
56        <th align="right" nowrap><translate>Invoice Number</translate></th>
57        <td colspan="3"><input name="invnumber" size="20"></td>
58       </tr>
59
60       <tr>
61        <th align="right" nowrap><translate>Order Number</translate></th>
62        <td colspan="3"><input name="ordnumber" size="20"></td>
63       </tr>
64
65       <tr>
66        <th align="right" nowrap><translate>Notes</translate></th>
67        <td colspan="3"><input name="notes" size="40"></td>
68       </tr>
69
70       <tr>
71        <th align="right" nowrap><translate>Invdate from</translate></th>
72        <td>
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="?">
75        </td>
76        <th align="right" nowrap><translate>To (time)</translate></th>
77        <td>
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="?">
80        </td>
81       </tr>
82
83       <tr>
84        <th align="right" nowrap><translate>Dunning Date from</translate></th>
85        <td>
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="?">
88        </td>
89        <th align="right" nowrap><translate>To (time)</translate></th>
90        <td>
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="?">
93        </td>
94       </tr>
95
96      </table>
97     </td>
98    </tr>
99
100    <tr><td><hr size="3" noshade></td></tr>
101
102    <tr>
103     <td>
104      <table>
105       <tr>
106        <th align="right" nowrap><translate>Show old dunnings</translate></th>
107        <td><input type="checkbox" value="1" name="showold"></td>
108       </tr>
109      </table>
110     </td>
111    </tr>
112   </table>
113
114   <input type="hidden" name="nextsub" value="show_dunning">
115
116   <br>
117
118   <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">
119
120  </form>
121
122  <script type="text/javascript">
123   <!--
124       Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
125       Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
126       Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
127       Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
128     -->
129  </script>
130
131 </body>
132
133 </html>