-[%- USE T8 %]
+[%- USE T8 %][%- USE L %]
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
<h1>[% title %]</h1>
- <form method="post" name="search" action="dn.pl">
+ <form method="post" name="search" action="dn.pl" id="form">
<table>
<tr>
</td>
</tr>
+ [% IF SHOW_DEPARTMENT_SELECTION %]
+ <tr>
+ <th align="right">[% 'Department' | $T8 %]</th>
+ <td colspan="3">
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
+ </td>
+ </tr>
+ [% END %]
+
[% IF SHOW_DUNNING_LEVEL_SELECTION %]
<tr>
<th align="right">[% 'Next Dunning Level' | $T8 %]</th>
<td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
</tr>
</table>
-
- <input type="hidden" name="nextsub" value="show_invoices">
-
- <br>
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
-
</form>