[%- USE HTML %]
[%- SET vclabel = vc == 'customer' ? '<translate>Customer</translate>' : '<translate>Vendor</translate>' %]
+[%- SET vcnumberlabel = vc == 'customer' ? '<translate>Customer Number</translate>' : '<translate>Vendor Number</translate>' %]
<body>
<form method="post" action="oe.pl">
<th align="right"><translate>Project Number</translate></th>
<td colspan="3">
[%- INCLUDE 'generic/multibox.html'
- name = 'project_id',
+ name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
</td>
</tr>
<tr>
- <td colspan=4 align=left><b><translate>Customer</translate></td>
+ <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
</tr>
<tr>
+ <td>
+ <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
+ <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
+ </td>
<td>
<input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
<label for="l_country"><translate>Country</translate></label>