Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / dunning / add.html
1 [%- USE T8 %][%- USE L %]
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" id="form">
6
7   <table>
8    <tr>
9     <th align="right">[% 'Customer' | $T8 %]</th>
10     <td colspan="3">
11       <input name="customer" size="35" class="initial_focus">
12     </td>
13    </tr>
14
15    [% IF SHOW_DEPARTMENT_SELECTION %]
16     <tr>
17      <th align="right">[% 'Department' | $T8 %]</th>
18      <td colspan="3">
19      [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
20      </td>
21     </tr>
22    [% END %]
23
24    [% IF SHOW_DUNNING_LEVEL_SELECTION %]
25     <tr>
26      <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
27      <td colspan="3">
28       <select name="dunning_level">
29        <option></option>
30        [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
31       </select>
32      </td>
33     </tr>
34    [% END %]
35
36    <tr>
37     <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
38     <td colspan="3"><input name="invnumber" size="20"></td>
39    </tr>
40
41    <tr>
42     <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
43     <td colspan="3"><input name="ordnumber" size="20"></td>
44    </tr>
45
46    <tr>
47     <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
48     <td colspan="3"><input name="notes" size="40"></td>
49    </tr>
50    <tr>
51     <th align="right" nowrap>[% 'Country' | $T8 %]</th>
52     <td colspan="3"><input name="country" size="40"></td>
53    </tr>
54
55    <tr><td colspan="2"><hr size="3" noshade></td></tr>
56
57    <tr>
58     <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
59     <td><input name="minamount" size="6"></td>
60    </tr>
61
62    <tr>
63     <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
64     <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
65    </tr>
66
67    <tr>
68     <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
69     <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
70    </tr>
71    <tr>
72     <th align="right" nowrap><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
73     <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>
74    </tr>
75   </table>
76  </form>