7 <h1>[% title | html %]</h1>
9 [%- INCLUDE 'common/flash.html' -%]
12 <thead class="listheading">
14 <th>[% 'Dunning number' | $T8 %]</th>
15 <th width="250px">[% 'Invoice Number' | $T8 %]</th>
16 <th>[% 'Include original Invoices?' | $T8 %]</th>
17 <th>[% 'eMail?' | $T8 %]</th>
18 <th>[% 'Status' | $T8 %]</th>
22 [% FOREACH s = status -%]
23 <tr class=[%- IF s.error %]"listrow_error"[% ELSE %]"listrow"[% END %]>
24 <td>[% IF !s.error %][% P.link_tag('dn.pl?action=show_dunning&showold=1&dunning_id=' _ s.dunning_id, s.dunning_id) %][% END %]</td>
25 <td>[% s.invnumbers.join(", ") %]</td>
26 <td>[% s.print_original_invoice ? LxERP.t8('Yes') : LxERP.t8('No') %]</td>
27 <td>[% s.send_email ? LxERP.t8('Yes') : LxERP.t8('No') %]</td>
28 <td>[% s.error ? s.error : LxERP.t8('Ok') %]</td>
34 [%- IF pdf_filename && pdf_content -%]
35 <script type="text/javascript">
37 $(function() {kivi.save_file('[% pdf_content.encode_base64 %]', 'application/pdf', 0, '[% pdf_filename %]');});