[%- USE HTML %]
[%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
+[%- SET vcnumberlabel = vc == 'customer' ? 'Kundennummer' : 'Lieferantennummer' %]
<body>
<form method="post" action="oe.pl">
label_sub = 'employee_labels',
limit = vclimit,
show_empty = 1,
- allow_textbox = 1,
+ allow_textbox = 0,
default = ' ',
-%]
</td>
label_sub = 'salesman_labels',
limit = vclimit,
show_empty = 1,
- allow_textbox = 1,
+ allow_textbox = 0,
-%]
</td>
</tr>
<th align="right">Projektnummer</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',
<label for="l_salesman">Verkäufer/in</label>
</td>
</tr>
+ <tr>
+ <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">Land</label>
+ </td>
+ <td>
+ <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
+ <label for="l_ustid">USt-IdNr.</label>
+ </td>
+ </tr>
[%- IF type == 'sales_order' %]
<tr><td colspan="3"><hr></td></tr>
[%- END %]