[%- USE T8 %]
[%- USE L %]
-<body>
-
-<form method=post action="[% script %]">
+<h1>[% 'DATEX - Export Assistent' | $T8 %]</h1>
+<form method="post" action="[% script %]" id="form">
<table width=100%>
- <tr>
- <th class=listtop>[% 'DATEX - Export Assistent' | $T8 %]</th>
- </tr>
<tr>
<th align=left>[% 'Zeitraum' | $T8 %]</th>
</tr>
</table>
</td>
</tr>
+ [% IF ALL_DEPARTMENTS.as_list.size %]
+ <tr>
+ <th align=left>[% 'Department' | $T8 %]</th>
+ </tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <td align=left>[% 'Department' | $T8 %]</td>
+ <td align=left></td>
+ <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ [% END %]
<tr>
<td><hr size=3 noshade></td>
</tr>
<input type=hidden name=abrechnungsnr value="[% abrechnungsnr %]">
<input type=hidden name=exporttype value="[% exporttype %]">
-
-<input type=hidden name=nextsub value=export3>
-
-<br>
-<input type=submit class=submit name=action value="[% 'Continue' | $T8 %]">
</form>
-
-</body>
-</html>