]> wagnertech.de Git - mfinanz.git/blob - templates/webpages/dunning/add.html
date error in mapping
[mfinanz.git] / templates / webpages / dunning / add.html
1 [%- USE T8 %][%- USE L %]
2 [% USE LxERP %]
3 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
4 <h1>[% title %]</h1>
5
6  <form method="post" name="search" action="dn.pl" id="form">
7
8   <table>
9    <tr>
10     <th align="right">[% 'Customer' | $T8 %]</th>
11     <td colspan="3">
12       <input name="customer" size="35" class="initial_focus">
13     </td>
14    </tr>
15
16    [% IF SHOW_DEPARTMENT_SELECTION %]
17     <tr>
18      <th align="right">[% 'Department' | $T8 %]</th>
19      <td colspan="3">
20      [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
21      </td>
22     </tr>
23    [% END %]
24
25    [% IF SHOW_DUNNING_LEVEL_SELECTION %]
26     <tr>
27      <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
28      <td colspan="3">
29       <select name="dunning_level">
30        <option></option>
31        [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
32       </select>
33      </td>
34     </tr>
35    [% END %]
36
37    <tr>
38     <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
39     <td colspan="3"><input name="invnumber" size="20"></td>
40    </tr>
41
42    <tr>
43     <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
44     <td colspan="3"><input name="ordnumber" size="20"></td>
45    </tr>
46
47    <tr>
48     <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
49     <td colspan="3">[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1) %]</td>
50    </tr>
51
52    <tr>
53     <th align="right" nowrap>[% 'Type' | $T8 %]</th>
54     <th>[% L.select_tag('invoice', [ ['t', LxERP.t8('Invoice (No Dunning Fees)')], ['f', LxERP.t8('AR transactions (Dunning Fees)')], ], with_empty=1) %]
55    </tr>
56
57    <tr>
58     <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
59     <td colspan="3"><input name="notes" size="40"></td>
60    </tr>
61    <tr>
62     <th align="right" nowrap>[% 'Country' | $T8 %]</th>
63     <td colspan="3"><input name="country" size="40"></td>
64    </tr>
65
66    <tr><td colspan="2"><hr size="3" noshade></td></tr>
67
68    <tr>
69     <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
70     <td><input name="minamount" size="6"></td>
71    </tr>
72
73    <tr>
74     <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
75     <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
76    </tr>
77
78    <tr>
79     <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
80     <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
81    </tr>
82    <tr>
83     <th align="right" nowrap><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
84     <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>
85    </tr>
86   </table>
87  </form>