[%- USE T8 %]
[%- USE HTML %]
-[%- USE L %]
- <script type="text/javascript" src="js/common.js"></script>
+[%- USE L %][%- USE P -%]
+<h1>[% title %]</h1>
- <form method="post" name="search" action="dn.pl">
+[% INCLUDE 'common/flash.html' %]
- <div class="listtop">[% title %]</div>
+ <form method="post" name="search" action="dn.pl" id="form">
<table width="100%">
- <tr height="5"></tr>
<tr>
<td>
<table>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
- <td colspan="3">
- [% IF SHOW_CUSTOMER_DDBOX %]
- <select id='customer' name="customer_id">
- <option value=""></option>
- [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
- [% END %]
- </select>
- [% ELSE %]
- <input id='customer' name="customer" size="35">
- [% END %]
- </td>
+ <td colspan="3">[% P.input_tag("customer", "", size="35", class="initial_focus") %]</td>
</tr>
[% IF SHOW_DUNNING_LEVELS %]
</tr>
[% END %]
- [% IF SHOW_DEPARTMENT_DDBOX %]
+ [% IF ALL_DEPARTMENTS.as_list.size %]
<tr>
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
<td colspan="3">
</td>
</tr>
</table>
-
- <input type="hidden" name="nextsub" value="show_dunning">
-
- <br>
-
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
-
</form>
-