GoBD: GDPDU nach GoBD umbenannt
[kivitendo-erp.git] / templates / webpages / gobd / filter.html
diff --git a/templates/webpages/gobd/filter.html b/templates/webpages/gobd/filter.html
new file mode 100644 (file)
index 0000000..aaffd02
--- /dev/null
@@ -0,0 +1,33 @@
+[%- USE HTML %]
+[%- USE T8 %]
+[%- USE L %]
+[%- USE LxERP %]
+
+<h1>[% title | html %]</h1>
+
+[%- PROCESS 'common/flash.html' %]
+
+<p>[% 'This export will include all records in the given time range and all supplicant information from checked entities. You will receive a single zip file. Please extract this file onto the data medium requested by your auditor.' | $T8 %]</p>
+
+<form id='filter_form'>
+
+<table>
+  <tr>
+    <td>[% L.radio_button_tag('method', value='year', checked=1) %]
+    <td>[% 'Year' | $T8 %]</td>
+    <td>[% L.select_tag('year', SELF.available_years, default=current_year) %]</td>
+  </tr>
+  <tr>
+    <td>[% L.radio_button_tag('method') %]
+    <td>[% 'From Date' | $T8 %]</td>
+    <td>[% L.date_tag('from', SELF.from) %]</td>
+    <td>[% 'To Date' | $T8 %]</td>
+    <td>[% L.date_tag('to', SELF.to) %]</td>
+  </tr>
+</table>
+
+[% L.hidden_tag('action', 'GoBD/dispatch') %]
+
+[% L.submit_tag('action_export', LxERP.t8('Export')) %]
+
+</form>