Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / dunning / show_invoices_master.html
1 [%- USE T8 %]
2 [% USE HTML %]<body>
3  <script type="text/javascript" src="js/checkbox_utils.js"></script>
4  <script type="text/javascript" src="js/common.js"></script>
5  <script type="text/javascript" src="js/dunning.js"></script>
6
7  <div class="listtop" width="100%">[% title %]</div>
8
9  <p>[% 'The columns &quot;Dunning Duedate&quot;, &quot;Total Fees&quot; and &quot;Interest&quot; show data for the previous dunning created for this invoice.' | $T8 %]</p>
10
11  <form name="Form" method="post" action="dn.pl">
12
13   <table width="100%">
14    <th class="listheading" colspan="2">[% 'Current / Next Level' | $T8 %]</th>
15
16    <th class="listheading">
17     <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, [% rowcount %]);">
18     <label for="selectall_active">[% 'Active?' | $T8 %]</label>
19    </th>
20
21    <th class="listheading">
22     <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, [% rowcount %]);">
23     <label for="selectall_email">[% 'eMail?' | $T8 %]</label>
24    </th>
25
26    <th class="listheading">[% 'Customername' | $T8 %]</th>
27    <th class="listheading">[% 'Invno.' | $T8 %]</th>
28    <th class="listheading">[% 'Invdate' | $T8 %]</th>
29    <th class="listheading">[% 'Inv. Duedate' | $T8 %]</th>
30    <th class="listheading">[% 'Amount' | $T8 %]</th>
31    <th class="listheading">[% 'Open Amount' | $T8 %]</th>
32    <th class="listheading">[% 'Dunning Duedate' | $T8 %]</th>
33    <th class="listheading">[% 'Total Fees' | $T8 %]</th>
34    <th class="listheading">[% 'Interest' | $T8 %]</th>
35
36    <!-- Ausgabe der einzelnen Zeilen -->
37
38    [% FOREACH row = DUNNINGS %]
39     <tr class="listrow[% loop.count % 2 %]">
40
41      <td>
42       <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
43       <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
44       [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
45      </td>
46
47      <td>
48       <select name="next_dunning_config_id_[% loop.count %]">
49        [% FOREACH cfg_row = row.DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
50       </select>
51      </td>
52
53      <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
54      <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
55      <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
56      <td>
57       <input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">
58       <a href="is.pl?action=edit&type=invoice&id=[% row.id | url %]">[% HTML.escape(row.invnumber) %]</a>
59      </td>
60      <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
61      <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
62      <td align="right"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
63      <td align="right"><input type="hidden" name="open_amount_[% loop.count %]" size="6" value="[% HTML.escape(row.open_amount) %]">[% HTML.escape(row.open_amount) %]</td>
64      <td>[% HTML.escape(row.next_duedate) %]</td>
65      <td align="right"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
66      <td align="right"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
67     </tr>
68    [% END %]
69   </table>
70
71   <hr size=3 noshade>
72
73   [% PRINT_OPTIONS %]
74
75   <br>
76
77   <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
78   <input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
79
80   <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
81   <input name="nextsub" type="hidden" value="save_dunning">
82
83   <input type="hidden" name="action" value="[% 'Continue' | $T8 %]">
84
85   <input type="submit" name="dummy" value="[% 'Continue' | $T8 %]"
86          [% UNLESS DEBUG_DUNNING %]onclick="this.disabled=true; this.value='[% 'The dunning process started' | $T8 %]'; document.Form.submit()"[% END %]>
87
88  </form>
89 </body>
90 </html>