- <select name="business_id"><option value=""></option>
- [% FOREACH bt = ALL_BUSINESS_TYPES %]<option value="[% HTML.escape(bt.id) %]">[% HTML.escape(bt.description) %]</option>[% END %]
- </select>
+ [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %]
+ </td>
+ </tr>
+ [% END %]
+
+ [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
+ <tr>
+ <th align="right" nowrap>[% 'Salesman' | $T8 %]</th>
+ <td>
+ [% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1) %]