[% HTML.escape(vclabel) %] |
[%- INCLUDE 'generic/multibox.html'
name = vc,
default = vc == 'customer' ? oldcustomer : oldvendor,
style = 'width: 250px',
DATA = ALL_VC,
id_sub = 'vc_keys',
label_key = 'name',
select = vc_select,
limit = vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
|
[%- IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %] |
[%- 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,
-%]
|
[%- END %]
[% HTML.escape(ordlabel) %] |
|
[% 'Employee' | $T8 %] |
[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %] |
[% 'Salesman' | $T8 %] |
[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %] |
[% 'Transaction description' | $T8 %] |
|
[% 'Project Number' | $T8 %] |
[%- INCLUDE 'generic/multibox.html'
name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
label_key = 'projectnumber',
limit = vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
|
[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] |
|
[% 'Bis' | $T8 %] |
|
[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] |
|
[% 'Bis' | $T8 %] |
|
[% 'Include in Report' | $T8 %] |
|
|