<th align="right"><translate>Representative</translate></th>
<td>
[%- INCLUDE generic/multibox.html
- name = 'salesman_id',
- DATA = ALL_SALESMAN_BUSINESSES,
- show_empty = 1,
- id_key = 'id',
- label_key = 'description',
+ name = 'salesman_id',
+ DATA = ALL_SALESMAN_CUSTOMERS,
+ id_key = 'id',
+ label_key = 'name',
-%]
</td>
</tr>
</tr>
<tr>
- <th align="right" nowrap><translate>Company Name</translate></th>
+ <th align="right" nowrap>[% IF is_customer %]<translate>Customer Name</translate>[%- ELSE %]<translate>Vendor Name</translate>[%- END %]</th>
<td><input name="name" size="35" maxlength="75" value="[% HTML.escape(name) %]"></td>
</tr>
label_key = 'description',
-%]
</td>
- [%- IF is_customer && !use_vertreter %]
+ [%- IF is_customer && !conf_vertreter %]
<th align="right"><translate>Salesman</translate></th>
<td>
[%- INCLUDE generic/multibox.html