[%- USE L %] [%- USE HTML %] [%- USE LxERP %] [%- USE T8 %] [%- USE url %] [%- SET list_spool__callback = href _ '&sort=' _ sort %]

[% title | html %]

[% FOREACH option IN options %] [% option %] [% ', ' UNLESS loop.last %] [% END %]

[%- IF is_invoice %] [%- END %] [%- IF is_order %] [%- END %] [%- IF is_quotation %] [%- END %] [%- FOREACH row = SPOOL %] [%- IF is_invoice %] [%- END %] [%- IF is_order %] [%- END %] [%- IF is_quotation %] [%- END %] [%- END %] [% L.hidden_tag('rowcount', SPOOL.size) %]
[% L.checkbox_tag('checkall_box', checkall='input.check_all') %] [% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %][% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %][% L.link(href _ '&sort=ordnumber', LxERP.t8('Order')) %][% L.link(href _ '&sort=quonumber', LxERP.t8('Quotation')) %][% L.link(href _ '&sort=name', vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor')) %] [% 'Spoolfile' | $T8 %]
[% SET list_spool__checked='checked_' _ loop.count; L.checkbox_tag(list_spool__checked, checked=$list_spool__checked, class='check_all') IF row.new_file %] [% row.transdate %][% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %][% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.ordnumber) %][% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %][% row.name | html %] [% L.link(spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]


[% L.hidden_tag('callback', callback) %] [% L.hidden_tag('title', title) %] [% L.hidden_tag('vc', vc) %] [% L.hidden_tag('type', type) %] [% L.hidden_tag('sort', sort) %] [% L.hidden_tag('account', account) %] [% L.hidden_tag('transdateto', transdateto) %] [% L.hidden_tag('transdatefrom', transdatefrom) %] [% L.hidden_tag('invnumber', invnumber) %] [% L.hidden_tag('ordnumber', ordnumber) %] [% L.hidden_tag('quonumber', quonumber) %] [% L.hidden_tag('customer', customer) %] [% L.hidden_tag('vendor', vendor) %] [% L.submit_tag('action', LxERP.t8('Remove'), confirm=LxERP.t8('Are you sure you want to remove the marked entries from the queue?')) %] [% L.submit_tag('action', LxERP.t8('Print')) %] [% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %]