<body> entfernt.
[kivitendo-erp.git] / templates / webpages / bp / list_spool.html
1 [%- USE L %]
2 [%- USE HTML %]
3 [%- USE LxERP %]
4 [%- USE T8 %]
5 [%- USE url %]
6 [%- SET list_spool__callback = href _ '&sort=' _ sort %]
7 [% L.javascript_tag('jquery.checkall') %]
8
9 <h1>[% title | html %]</h1>
10
11 <form method=post action=bp.pl>
12
13 <p>
14 [% FOREACH option IN options %]
15   [% option %]
16   [% ', ' UNLESS loop.last %]
17 [% END %]
18 </p>
19
20 <table width=100%>
21  <tr>
22   <td class="listheading">[% L.checkbox_tag('checkall_box', checkall='input.check_all') %]</td>
23   <td class="listheading">[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
24 [%- IF is_invoice %]
25   <td class="listheading">[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
26 [%- END %]
27 [%- IF is_order %]
28   <td class="listheading">[% L.link(href _ '&sort=ordnumber', LxERP.t8('Order')) %]</td>
29 [%- END %]
30 [%- IF is_quotation %]
31   <td class="listheading">[% L.link(href _ '&sort=quonumber', LxERP.t8('Quotation')) %]</td>
32 [%- END %]
33   <td class="listheading">[% L.link(href _ '&sort=name', vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor')) %]</td>
34   <td class="listheading">[% 'Spoolfile' | $T8 %]</td>
35  </tr>
36 [%- FOREACH row = SPOOL %]
37  <tr class="listrow[% loop.count %]">
38   <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>
39   <td>[% row.transdate %]</td>
40 [%- IF is_invoice %]
41   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
42 [%- END %]
43 [%- IF is_order %]
44   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.ordnumber) %]</td>
45 [%- END %]
46 [%- IF is_quotation %]
47   <td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
48 [%- END %]
49   <td>[% row.name | html %]</td>
50   <td>[% L.link(spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
51  </tr>
52 [%- END %]
53
54 [% L.hidden_tag('rowcount', SPOOL.size) %]
55
56 </table>
57
58 <hr size=3 noshade>
59 <br>
60
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) %]
67
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) %]
75
76 [% L.submit_tag('action', LxERP.t8('Remove'), confirm=LxERP.t8('Are you sure you want to remove the marked entries from the queue?')) %]
77 [% L.submit_tag('action', LxERP.t8('Print')) %]
78
79 [% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %]
80
81 </form>
82