6 [%- SET list_spool__callback = href _ '&sort=' _ sort %]
8 <h1>[% title | html %]</h1>
10 <form method="post" action="bp.pl" id="form">
13 [% LxERP.t8("Printer") %]: [% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %]
17 [% FOREACH option IN options %]
19 [% ', ' UNLESS loop.last %]
25 <td class="listheading">[% L.checkbox_tag('checkall_box', checkall='input.check_all') %]</td>
26 <td class="listheading">[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
28 <td class="listheading">[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
31 <td class="listheading">[% L.link(href _ '&sort=ordnumber', LxERP.t8('Order')) %]</td>
33 [%- IF is_quotation %]
34 <td class="listheading">[% L.link(href _ '&sort=quonumber', LxERP.t8('Quotation')) %]</td>
36 <td class="listheading">[% L.link(href _ '&sort=name', vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor')) %]</td>
37 <td class="listheading">[% 'Spoolfile' | $T8 %]</td>
39 [%- FOREACH row = SPOOL %]
40 <tr class="listrow[% loop.count %]">
41 <td>[% SET list_spool__checked='checked_' _ loop.count; L.checkbox_tag(list_spool__checked, checked=$list_spool__checked, class='check_all') IF row.new_file %]</td>
42 <td>[% row.transdate %]</td>
44 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
47 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.ordnumber) %]</td>
49 [%- IF is_quotation %]
50 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
52 <td>[% row.name | html %]</td>
53 <td>[% L.link(LXCONFIG.paths.spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
57 [% L.hidden_tag('rowcount', SPOOL.size) %]
61 [% L.hidden_tag('callback', callback) %]
62 [% L.hidden_tag('title', title) %]
63 [% L.hidden_tag('vc', vc) %]
64 [% L.hidden_tag('type', type) %]
65 [% L.hidden_tag('sort', sort) %]
66 [% L.hidden_tag('account', account) %]
68 [% L.hidden_tag('transdateto', transdateto) %]
69 [% L.hidden_tag('transdatefrom', transdatefrom) %]
70 [% L.hidden_tag('invnumber', invnumber) %]
71 [% L.hidden_tag('ordnumber', ordnumber) %]
72 [% L.hidden_tag('quonumber', quonumber) %]
73 [% L.hidden_tag('customer', customer) %]
74 [% L.hidden_tag('vendor', vendor) %]