projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kunden/Lieferanten: UStId/Steuernr. eindeutig: Prüfung im Controller
[kivitendo-erp.git]
/
templates
/
webpages
/
report_generator
/
pdf_export_options.html
diff --git
a/templates/webpages/report_generator/pdf_export_options.html
b/templates/webpages/report_generator/pdf_export_options.html
index
41eb6c0
..
86594b5
100644
(file)
--- a/
templates/webpages/report_generator/pdf_export_options.html
+++ b/
templates/webpages/report_generator/pdf_export_options.html
@@
-1,21
+1,12
@@
[%- USE T8 %]
[%- USE T8 %]
-[%
USE HTML %][% USE LxERP %]<body>
+[%
- USE HTML %][%- USE LxERP %]
- [%- SET default_margin = LxERP.format_amount(1.5) %]
+ [%- SET default_ymargin = LxERP.format_amount(1.5) %]
+ [%- SET default_xmargin = LxERP.format_amount(0.8) %]
- <script type="text/javascript">
- <!--
- function submit_report_generator_form(nextsub) {
- document.report_generator_form.report_generator_dispatch_to.value = nextsub;
- document.report_generator_form.submit();
- }
+ <h1>[% HTML.escape(title) %]</h1>
- -->
- </script>
-
- <div class="listheading" width="100%">[% HTML.escape(title) %]</div>
-
- <form action="[% HTML.escape(script) %]" method="post" name="report_generator_form">
+ <form action="[% HTML.escape(script) %]" method="post" name="report_generator_form" id="report_generator_form">
[%- FOREACH var = HIDDEN %]
<input type="hidden" name="[% HTML.escape(var.key) %]" value="[% HTML.escape(var.value) %]">
[%- FOREACH var = HIDDEN %]
<input type="hidden" name="[% HTML.escape(var.key) %]" value="[% HTML.escape(var.value) %]">
@@
-23,7
+14,6
@@
<input type="hidden" name="report_generator_pdf_options_set" value="1">
<input type="hidden" name="report_generator_dispatch_to" value="">
<input type="hidden" name="report_generator_pdf_options_set" value="1">
<input type="hidden" name="report_generator_dispatch_to" value="">
- <input type="hidden" name="action" value="report_generator_dispatcher">
<table>
<tr>
<table>
<tr>
@@
-84,22
+74,22
@@
<tr>
<td align="right">[% 'Top' | $T8 %]</td>
<tr>
<td align="right">[% 'Top' | $T8 %]</td>
- <td><input name="report_generator_pdf_options_margin_top" size="4" value="[% HTML.escape(default_margin) %]"> cm</td>
+ <td><input name="report_generator_pdf_options_margin_top" size="4" value="[% HTML.escape(default_
y
margin) %]"> cm</td>
</tr>
<tr>
<td align="right">[% 'Left' | $T8 %]</td>
</tr>
<tr>
<td align="right">[% 'Left' | $T8 %]</td>
- <td><input name="report_generator_pdf_options_margin_left" size="4" value="[% HTML.escape(default_margin) %]"> cm</td>
+ <td><input name="report_generator_pdf_options_margin_left" size="4" value="[% HTML.escape(default_
x
margin) %]"> cm</td>
</tr>
<tr>
<td align="right">[% 'Bottom' | $T8 %]</td>
</tr>
<tr>
<td align="right">[% 'Bottom' | $T8 %]</td>
- <td><input name="report_generator_pdf_options_margin_bottom" size="4" value="[% HTML.escape(default_margin) %]"> cm</td>
+ <td><input name="report_generator_pdf_options_margin_bottom" size="4" value="[% HTML.escape(default_
y
margin) %]"> cm</td>
</tr>
<tr>
<td align="right">[% 'Right' | $T8 %]</td>
</tr>
<tr>
<td align="right">[% 'Right' | $T8 %]</td>
- <td><input name="report_generator_pdf_options_margin_right" size="4" value="[% HTML.escape(default_margin) %]"> cm</td>
+ <td><input name="report_generator_pdf_options_margin_right" size="4" value="[% HTML.escape(default_
x
margin) %]"> cm</td>
</tr>
<tr>
</tr>
<tr>
@@
-134,11
+124,10
@@
[% END %]
</table>
[% END %]
</table>
- <p>
- <input type="submit" class="submit" onclick="submit_report_generator_form('report_generator_export_as_pdf')" value="[% 'Export as PDF' | $T8 %]">
- <input type="submit" class="submit" onclick="submit_report_generator_form('report_generator_back')" value="[% 'Back' | $T8 %]">
- </p>
+[%- IF CONTROLLER_DISPATCH %]
+ <input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]">
+[%- ELSE %]
+ <input type="hidden" name="action" value="report_generator_dispatcher">
+[%- END %]
</form>
</form>
-</body>
-</html>