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