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