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