Anzeige des offenen Rechnungsbetrags in Spalte im Mahnprozess
[kivitendo-erp.git] / templates / webpages / dunning / show_invoices_de.html
1 [% USE HTML %]<body>
2  <script type="text/javascript" src="js/checkbox_utils.js"></script>
3  <script type="text/javascript" src="js/common.js"></script>
4  <script type="text/javascript" src="js/dunning.js"></script>
5
6  <div class="listtop" width="100%">[% title %]</div>
7
8  <p>Die Spalten &quot;Zahlbar bis&quot;, &quot;Kumulierte Geb&uuml;hren&quot; und &quot;Zinsen&quot; zeigen Daten der letzten f&uuml;r diese Rechnung erzeugten Mahnung.</p>
9
10  <form name="Form" method="post" action="dn.pl">
11
12   <table width="100%">
13    <th class="listheading" colspan="2">Aktuelles / Nächstes Mahnlevel</th>
14
15    <th class="listheading">
16     <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, [% rowcount %]);">
17     <label for="selectall_active">Aktiviert?</label>
18    </th>
19
20    <th class="listheading">
21     <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, [% rowcount %]);">
22     <label for="selectall_email">eMail?</label>
23    </th>
24
25    <th class="listheading">Kundenname</th>
26    <th class="listheading">Rg. Nr.</th>
27    <th class="listheading">Rechnungsdatum</th>
28    <th class="listheading">Rg. Fälligkeit</th>
29    <th class="listheading">Betrag</th>
30    <th class="listheading">Offener Betrag</th>
31    <th class="listheading">Zahlbar bis</th>
32    <th class="listheading">Kumulierte Gebühren</th>
33    <th class="listheading">Zinsen</th>
34
35    <!-- Ausgabe der einzelnen Zeilen -->
36
37    [% FOREACH row = DUNNINGS %]
38     <tr class="listrow[% loop.count % 2 %]">
39
40      <td>
41       <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
42       <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
43       [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
44      </td>
45
46      <td>
47       <select name="next_dunning_config_id_[% loop.count %]">
48        [% 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 %]
49       </select>
50      </td>
51
52      <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
53      <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
54      <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
55      <td>
56       <input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">
57       <a href="is.pl?action=edit&type=invoice&id=[% row.id | url %]">[% HTML.escape(row.invnumber) %]</a>
58      </td>
59      <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
60      <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
61      <td align="right"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
62      <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>
63      <td>[% HTML.escape(row.next_duedate) %]</td>
64      <td align="right"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
65      <td align="right"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
66     </tr>
67    [% END %]
68   </table>
69
70   <hr size=3 noshade>
71
72   [% PRINT_OPTIONS %]
73
74   <br>
75
76   <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
77   <input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
78
79   <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
80   <input name="nextsub" type="hidden" value="save_dunning">
81
82   <input type="hidden" name="action" value="Weiter">
83
84   <input type="submit" name="dummy" value="Weiter"
85          [% UNLESS DEBUG_DUNNING %]onclick="this.disabled=true; this.value='Der Mahnprozess ist gestartet.'; document.Form.submit()"[% END %]>
86
87  </form>
88 </body>
89 </html>