projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Part-Controller: HTML-Template: kein hidden in Tabellen ausserhalb von Daten
[kivitendo-erp.git]
/
templates
/
webpages
/
bp
/
list_spool.html
diff --git
a/templates/webpages/bp/list_spool.html
b/templates/webpages/bp/list_spool.html
index
02e4b26
..
51e7382
100644
(file)
--- a/
templates/webpages/bp/list_spool.html
+++ b/
templates/webpages/bp/list_spool.html
@@
-3,12
+3,15
@@
[%- USE LxERP %]
[%- USE T8 %]
[%- USE url %]
[%- USE LxERP %]
[%- USE T8 %]
[%- USE url %]
-[% SET list_spool__callback = href _ '&sort=' _ sort %]
-<body>
+[%- SET list_spool__callback = href _ '&sort=' _ sort %]
<h1>[% title | html %]</h1>
<h1>[% title | html %]</h1>
-<form method=post action=bp.pl>
+<form method="post" action="bp.pl" id="form">
+
+<p>
+ [% LxERP.t8("Printer") %]: [% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %]
+</p>
<p>
[% FOREACH option IN options %]
<p>
[% FOREACH option IN options %]
@@
-19,7
+22,7
@@
<table width=100%>
<tr>
<table width=100%>
<tr>
- <td class="listheading">
</td>
+ <td class="listheading">
[% L.checkbox_tag('checkall_box', checkall='input.check_all') %]
</td>
<td class="listheading">[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
[%- IF is_invoice %]
<td class="listheading">[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
<td class="listheading">[% L.link(href _ '&sort=transdate', LxERP.t8('Date')) %]</td>
[%- IF is_invoice %]
<td class="listheading">[% L.link(href _ '&sort=invoice', LxERP.t8('Invoice')) %]</td>
@@
-35,7
+38,7
@@
</tr>
[%- FOREACH row = SPOOL %]
<tr class="listrow[% loop.count %]">
</tr>
[%- FOREACH row = SPOOL %]
<tr class="listrow[% loop.count %]">
- <td>[% SET list_spool__checked='checked_' _ loop.count; L.checkbox_tag(list_spool__checked, checked=$list_spool__checked) IF row.new_file %]</td>
+ <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>
<td>[% row.transdate %]</td>
[%- IF is_invoice %]
<td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
<td>[% row.transdate %]</td>
[%- IF is_invoice %]
<td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.invnumber) %]</td>
@@
-47,7
+50,7
@@
<td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
[%- END %]
<td>[% row.name | html %]</td>
<td>[% L.link(url(row.module _ '.pl', action='edit' ,type=type, callback=list_spool__callback, id=row.id), row.quonumber) %]</td>
[%- END %]
<td>[% row.name | html %]</td>
- <td>[% L.link(spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
+ <td>[% L.link(
LXCONFIG.paths.
spool _ '/' _ row.spoolfile, row.spoolfile) %][% L.hidden_tag('spoolfile_' _ loop.count, row.spoolfile) %]</td>
</tr>
[%- END %]
</tr>
[%- END %]
@@
-55,9
+58,6
@@
</table>
</table>
-<hr size=3 noshade>
-<br>
-
[% L.hidden_tag('callback', callback) %]
[% L.hidden_tag('title', title) %]
[% L.hidden_tag('vc', vc) %]
[% L.hidden_tag('callback', callback) %]
[% L.hidden_tag('title', title) %]
[% L.hidden_tag('vc', vc) %]
@@
-72,15
+72,4
@@
[% L.hidden_tag('quonumber', quonumber) %]
[% L.hidden_tag('customer', customer) %]
[% L.hidden_tag('vendor', vendor) %]
[% L.hidden_tag('quonumber', quonumber) %]
[% L.hidden_tag('customer', customer) %]
[% L.hidden_tag('vendor', vendor) %]
-
-[% L.submit_tag('action', LxERP.t8('Remove')) %]
-[% L.submit_tag('action', LxERP.t8('Print')) %]
-
-[% L.select_tag('printer', L.options_for_select(ALL_PRINTERS, title='printer_description')) %]
-
</form>
</form>
-
-</body>
-</html>
-
-