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