da8d94752b8fd3b076c005888a3a8336993bec2a
[kivitendo-erp.git] / templates / webpages / dunning / add.html
1 [%- USE T8 %]
2 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
3 <script type="text/javascript">
4  <!--
5      function setup_controls() {
6        fokus();
7        setupDateFormat('[% myconfig_dateformat %]', '[% 'Wrong date format!' | $T8 %]');
8        setupPoints('[% myconfig_numberformat %]', '[% 'wrongformat' | $T8 %]');
9      }
10    -->
11 </script>
12
13 <body onLoad="setup_controls();">
14
15  <div class="listtop">[% title %]</div>
16
17  <form method="post" name="search" action="dn.pl">
18
19   <table>
20    <tr>
21     <th align="right">[% 'Customer' | $T8 %]</th>
22     <td colspan="3">
23      [% IF SHOW_CUSTOMER_SELECTION %]
24       <select name="customer">
25        <option></option>
26        [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
27       </select>
28       [% ELSE %]
29       <input name="customer" size="35">
30      [% END %]
31     </td>
32    </tr>
33
34    [% IF SHOW_DUNNING_LEVEL_SELECTION %]
35     <tr>
36      <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
37      <td colspan="3">
38       <select name="dunning_level">
39        <option></option>
40        [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
41       </select>
42      </td>
43     </tr>
44    [% END %]
45
46    [% IF SHOW_DEPARTMENT_SELECTION %]
47     <tr>
48      <th align="right">[% 'Department' | $T8 %]</th>
49      <td colspan="3">
50       <select name="department">
51        <option></option>
52        [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
53       </select>
54      </td>
55     </tr>
56    [% END %]
57
58    <tr>
59     <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
60     <td colspan="3"><input name="invnumber" size="20"></td>
61    </tr>
62
63    <tr>
64     <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
65     <td colspan="3"><input name="ordnumber" size="20"></td>
66    </tr>
67
68    <tr>
69     <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
70     <td colspan="3"><input name="notes" size="40"></td>
71    </tr>
72    <tr>
73     <th align="right" nowrap>[% 'Country' | $T8 %]</th>
74     <td colspan="3"><input name="country" size="40"></td>
75    </tr>
76
77    <tr><td colspan="2"><hr size="3" noshade></td></tr>
78
79    <tr>
80     <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
81     <td><input name="minamount" size="6"></td>
82    </tr>
83
84    <tr>
85     <th align="right" nowrap>[% 'Group Invoices' | $T8 %]</th>
86     <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
87    </tr>
88   </table>
89
90   <input type="hidden" name="nextsub" value="show_invoices">
91
92   <br>
93   <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
94
95  </form>
96
97 </body>
98
99 </html>