[%- USE T8 %]
[%- USE HTML %]
+[%- USE LxERP -%][%- USE L -%]
+<h1>[% title %]</h1>
+
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/dunning.js"></script>
- <div class="listtop" width="100%">[% title %]</div>
-
- <form method="post" action="dn.pl" name="Form">
+ <form method="post" action="dn.pl" name="Form" id="form">
<table>
- <tr height="5"></tr>
<tr>
<th class="listheading">[% 'Dunning Level' | $T8 %]</th>
<th class="listheading">[% 'eMail Send?' | $T8 %]</th>
<!-- <th class="listheading">[% 'Auto Send?' | $T8 %]</th> -->
<th class="listheading">[% 'Create invoice?' | $T8 %]</th>
+ <th class="listheading">[% 'Include original Invoices?' | $T8 %]</th>
<th class="listheading">[% 'Fristsetzung' | $T8 %]</th>
<th class="listheading">[% 'Duedate +Days' | $T8 %]</th>
<th class="listheading">[% 'Fee' | $T8 %]</th>
<!-- <td><input type="checkbox" name="auto_[% DUNNING_it.count %]" value="1" [% IF row.auto %]checked[% END %]></td> -->
<td><input type="checkbox" name="create_invoices_for_fees_[% DUNNING_it.count %]" value="1" [% IF row.create_invoices_for_fees %]checked[% END %]></td>
+ <td><input type="checkbox" name="print_original_invoice_[% DUNNING_it.count %]" value="1" [% IF row.print_original_invoice %]checked[% END %]></td>
<td><input name="payment_terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.payment_terms) %]"></td>
<td><input name="terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.terms) %]"></td>
<td><input name="fee_[% DUNNING_it.count %]" size="5" value="[% HTML.escape(row.fee) %]"></td>
<!-- <td><input type="checkbox" name="auto_[% rowcount %]" value="1" checked></td> -->
<td><input type="checkbox" name="create_invoices_for_fees_[% rowcount %]" value="1" checked></td>
+ <td><input type="checkbox" name="print_original_invoice_[% DUNNING_it.count %]" value="1" [% IF row.print_original_invoice %]checked[% END %]></td>
<td><input name="payment_terms_[% rowcount %]" size="3"></td>
<td><input name="terms_[% rowcount %]" size="3"></td>
<td><input name="fee_[% rowcount %]" size="5"></td>
</select>
</td>
</tr>
+ <tr>
+ <th align="right">[% 'Dunning Creator' | $T8 %]</th>
+ <td>[% L.select_tag('dunning_creator', [ [ 'current_employee', LxERP.t8('Current Employee') ],[ 'invoice_employee', LxERP.t8('Employee from the original invoice') ] ], default=dunning_creator) %]
+ </td>
+ </tr>
</table>
- <hr size="3" noshade>
-
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
-
- <input class="submit" type="submit" name="action" value="[% 'Save' | $T8 %]">
-
</form>
-