[%- USE T8 %] [%- USE L %] [%- USE HTML %][%- USE LxERP %] [%- IF vc == 'customer' %] [%- SET is_customer = '1' %] [%- ELSE %] [%- SET is_customer = '0' %] [%- END %]
[% title %]

[%- IF ALL_DEPARTMENTS.size %] [%- END %] [%- IF is_customer %] [%- END %]
[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] [%- UNLESS SHOW_VC_DROP_DOWN %] [%- ELSE %] [%- END %]
[% 'Delivery Order Number' | $T8 %]
[% 'Order Number' | $T8 %]
[% 'Department' | $T8 %]
[% 'Employee' | $T8 %] [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]
[% 'Salesman' | $T8 %] [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]
[% 'Transaction description' | $T8 %]
[% 'Customer Order Number' | $T8 %]
[% 'Project Number' | $T8 %]
[% 'Serial Number' | $T8 %]
[% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %] [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %]
[% 'Reqdate' | $T8 %] [% 'From' | $T8 %] [% L.date_tag('reqdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto') %]
[% 'Include in Report' | $T8 %] [% IF is_customer %] [% END %]