[% 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,
class = 'initial_focus',
-%]
|
[%- 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', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %] |
[% 'Salesman' | $T8 %] |
[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='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 %] |
[% L.date_tag('transdatefrom') %]
|
[% 'Bis' | $T8 %] |
[% L.date_tag('transdateto') %]
|
[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] |
[% L.date_tag('reqdatefrom') %]
|
[% 'Bis' | $T8 %] |
[% L.date_tag('reqdateto') %]
|
[% 'Include in Report' | $T8 %] |
|
|