6 [% SET list_spool__callback = href _ '&sort=' _ sort %]
8 <h1>[% title | html %]</h1>
10 <form method="post" action="bp.pl" id="form">
13 <table class="tbl-horizontal">
15 <th>[% LxERP.t8("Printer") %]</th>
16 <td>[% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %]</td>
19 <th>[% 'Options' | $T8 %]</th>
20 <td>[% FOREACH option IN options %][% option %][% ', ' UNLESS loop.last %][% END %]</td>
27 <table class="tbl-list">
30 <th>[% L.checkbox_tag('checkall_box', checkall='input.check_all') %]</td>
31 <th>[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
33 <th>[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
36 <th>[% L.link(href _ '&sort=ordnumber', LxERP.t8('Order')) %]</td>
39 <th>[% L.link(href _ '&sort=quonumber', LxERP.t8('Quotation')) %]</td>
41 <th>[% L.link(href _ '&sort=name', vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor')) %]</td>
42 <th>[% 'Spoolfile' | $T8 %]</td>
46 [% FOREACH row = SPOOL %]
48 <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>
49 <td>[% row.transdate %]</td>
51 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
54 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.ordnumber) %]</td>
57 <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
59 <td>[% row.name | html %]</td>
60 <td>[% L.link(LXCONFIG.paths.spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
65 [% L.hidden_tag('rowcount', SPOOL.size) %]
67 [% L.hidden_tag('callback', callback) %]
68 [% L.hidden_tag('title', title) %]
69 [% L.hidden_tag('vc', vc) %]
70 [% L.hidden_tag('type', type) %]
71 [% L.hidden_tag('sort', sort) %]
72 [% L.hidden_tag('account', account) %]
74 [% L.hidden_tag('transdateto', transdateto) %]
75 [% L.hidden_tag('transdatefrom', transdatefrom) %]
76 [% L.hidden_tag('invnumber', invnumber) %]
77 [% L.hidden_tag('ordnumber', ordnumber) %]
78 [% L.hidden_tag('quonumber', quonumber) %]
79 [% L.hidden_tag('customer', customer) %]
80 [% L.hidden_tag('vendor', vendor) %]
82 </div><!-- /.wrapper -->