<li><a href="#" rel="deliveries">[% 'Supplies' | $T8 %]</a></li>
[%- END %]
<li><a href="#" rel="vcnotes">[% 'Notes' | $T8 %]</a></li>
- [%- IF CUSTOM_VARIABLES.size %]
+ [%- IF CUSTOM_VARIABLES.CT.size %]
<li><a href="#" rel="custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
[%- END %]
</ul>
<tr>
<th align="right" nowrap>[% 'Phone' | $T8 %]</th>
- <td><input name="phone" size="30" maxlength="30" value="[% HTML.escape(phone) %]"></td>
+ <td><input name="phone" size="30" value="[% HTML.escape(phone) %]"></td>
</tr>
<tr>
</td>
[%- IF is_customer && !conf_vertreter %]
<th align="right">[% 'Salesman' | $T8 %]</th>
- <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, show_empty=1, title='safe_name')) %]</td>
+ <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, with_empty=1, title='safe_name')) %]</td>
[%- END %]
</tr>
</table>
<br style="clear: left" />
</div>
- [%- IF CUSTOM_VARIABLES.size %]
+ [%- IF CUSTOM_VARIABLES.CT.size %]
<div id="custom_variables" class="tabcontent">
<p>
<table>
- [%- FOREACH var = CUSTOM_VARIABLES %]
+ [%- FOREACH var = CUSTOM_VARIABLES.CT %]
<tr>
<td align="right" valign="top">[% HTML.escape(var.description) %]</td>
<td valign="top">[% var.HTML_CODE %]</td>