id_sub = 'vc_keys',
label_key = 'name',
select = vc_select,
- limit = vclimit,
+ limit = MYCONFIG.vclimit,
show_empty = 1,
allow_textbox = 1,
class = 'initial_focus',
[%- IF ALL_DEPARTMENTS.size %]
<tr>
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
- <td colspan="3">
- [%- INCLUDE 'generic/multibox.html'
- name = 'department_id',
- style = 'width: 250px',
- DATA = ALL_DEPARTMENTS,
- id_key = 'id',
- label_key = 'description',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
- </td>
+ <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style="width: 250px") %]</td>
</tr>
[%- END %]
<tr>
</tr>
<tr>
<th align="right">[% 'Transaction description' | $T8 %]</th>
- <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
+ <td><input name="transaction_description" style="width: 250px"></td>
+
+ <th align="right">[% 'Part Description' | $T8 %]</th>
+ <td><input name="parts_description" style="width: 250px"></td>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
+ <td>
[%- INCLUDE 'generic/multibox.html'
- name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
+ name = MYCONFIG.vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
label_key = 'projectnumber',
- limit = vclimit,
+ limit = MYCONFIG.vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
</td>
+
+ <th align="right">[% 'Part Number' | $T8 %]</th>
+ <td><input name="parts_partnumber" style="width: 250px"></td>
</tr>
[%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
<tr>
<input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
<label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
</td>
+ <td>
+ <input name="l_payment_terms" id="l_payment_terms" class="checkbox" type="checkbox" value="Y">
+ <label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
+ </td>
</tr>
<tr>
<td>