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
/
csv_export_options.html
diff --git
a/templates/webpages/report_generator/csv_export_options.html
b/templates/webpages/report_generator/csv_export_options.html
index
ee7f442
..
0857151
100644
(file)
--- a/
templates/webpages/report_generator/csv_export_options.html
+++ b/
templates/webpages/report_generator/csv_export_options.html
@@
-1,19
+1,9
@@
[%- USE T8 %]
[%- USE T8 %]
-[%
USE HTML %]<body>
+[%
- USE HTML %]
- <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) %]">
@@
-21,7
+11,6
@@
<input type="hidden" name="report_generator_csv_options_set" value="1">
<input type="hidden" name="report_generator_dispatch_to" value="">
<input type="hidden" name="report_generator_csv_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>
@@
-49,8
+38,8
@@
<td align="right">[% 'Separator chararacter' | $T8 %]</td>
<td>
<select name="report_generator_csv_options_sep_char" style="width: 300px">
<td align="right">[% 'Separator chararacter' | $T8 %]</td>
<td>
<select name="report_generator_csv_options_sep_char" style="width: 300px">
- <option value=";"
selected
>;</option>
- <option value=",">,</option>
+ <option value=";">;</option>
+ <option value=","
selected
>,</option>
<option value=":">:</option>
<option value="TAB">TAB ([% 'The tabulator character' | $T8 %])</option>
</select>
<option value=":">:</option>
<option value="TAB">TAB ([% 'The tabulator character' | $T8 %])</option>
</select>
@@
-72,16
+61,18
@@
<td valign="top">
<input type="checkbox" name="report_generator_csv_options_headers" id="report_generator_csv_options_headers" value="1" checked>
<label for="report_generator_csv_options_headers">[% 'Include column headings' | $T8 %]</label>
<td valign="top">
<input type="checkbox" name="report_generator_csv_options_headers" id="report_generator_csv_options_headers" value="1" checked>
<label for="report_generator_csv_options_headers">[% 'Include column headings' | $T8 %]</label>
+ <input type="checkbox" name="report_generator_csv_options_for_import" id="report_generator_csv_options_for_import" value="1">
+ <label for="report_generator_csv_options_for_import">[% 'Make compatible for import' | $T8 %]</label>
</td>
</tr>
</table>
</td>
</tr>
</table>
- <p>
- <input type="submit" class="submit" onclick="submit_report_generator_form('report_generator_export_as_csv')" value="[% 'Export as CSV' | $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>