[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] |
[% P.input_tag(vc, "", class="fixed_width initial_focus wi-normal") %] |
[% IF ALL_BUSINESS_TYPES.size %]
[% vctypelabel %] |
[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key='description', with_empty=1, class='wi-normal') %] |
[% END %]
[% 'Contact Person' | $T8 %] |
[% L.input_tag("cp_name", '', class="fixed_width wi-normal") %] |
[% 'Handling' | $T8 %] |
[% 'Employee' | $T8 %] |
[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class='fixed_width wi-normal') %] |
[% IF is_customer %]
[% 'Salesman' | $T8 %] |
[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class='fixed_width wi-normal') %] |
[% END %] [% IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %] |
[% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_key='description', with_empty=1, class="fixed_width wi-normal") %] |
[% END %]
[% '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') %] |
[% 'Insert Date' | $T8 %] [% #'From' | $T8 %] |
[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] |