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