6 [%- SET list_spool__callback = href _ '&sort=' _ sort %]
 
   7 [% L.javascript_tag('jquery.checkall') %]
 
  10 <h1>[% title | html %]</h1>
 
  12 <form method=post action=bp.pl>
 
  15 [% FOREACH option IN options %]
 
  17   [% ', ' UNLESS loop.last %]
 
  23   <td class="listheading">[% L.checkbox_tag('checkall_box', checkall='input.check_all') %]</td>
 
  24   <td class="listheading">[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
 
  26   <td class="listheading">[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
 
  29   <td class="listheading">[% L.link(href _ '&sort=ordnumber', LxERP.t8('Order')) %]</td>
 
  31 [%- IF is_quotation %]
 
  32   <td class="listheading">[% L.link(href _ '&sort=quonumber', LxERP.t8('Quotation')) %]</td>
 
  34   <td class="listheading">[% L.link(href _ '&sort=name', vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor')) %]</td>
 
  35   <td class="listheading">[% 'Spoolfile' | $T8 %]</td>
 
  37 [%- FOREACH row = SPOOL %]
 
  38  <tr class="listrow[% loop.count %]">
 
  39   <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>
 
  40   <td>[% row.transdate %]</td>
 
  42   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
 
  45   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.ordnumber) %]</td>
 
  47 [%- IF is_quotation %]
 
  48   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
 
  50   <td>[% row.name | html %]</td>
 
  51   <td>[% L.link(spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
 
  55 [% L.hidden_tag('rowcount', SPOOL.size) %]
 
  62 [% L.hidden_tag('callback', callback) %]
 
  63 [% L.hidden_tag('title', title) %]
 
  64 [% L.hidden_tag('vc', vc) %]
 
  65 [% L.hidden_tag('type', type) %]
 
  66 [% L.hidden_tag('sort', sort) %]
 
  67 [% L.hidden_tag('account', account) %]
 
  69 [% L.hidden_tag('transdateto', transdateto) %]
 
  70 [% L.hidden_tag('transdatefrom', transdatefrom) %]
 
  71 [% L.hidden_tag('invnumber', invnumber) %]
 
  72 [% L.hidden_tag('ordnumber', ordnumber) %]
 
  73 [% L.hidden_tag('quonumber', quonumber) %]
 
  74 [% L.hidden_tag('customer', customer) %]
 
  75 [% L.hidden_tag('vendor', vendor) %]
 
  77 [% L.submit_tag('action', LxERP.t8('Remove'), confirm=LxERP.t8('Are you sure you want to remove the marked entries from the queue?')) %]
 
  78 [% L.submit_tag('action', LxERP.t8('Print')) %]
 
  80 [% L.select_tag('printer', L.options_for_select(ALL_PRINTERS, title='printer_description')) %]