[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]
-
- [%- UNLESS SHOW_VC_DROP_DOWN %]
-
- [%- ELSE %]
-
-
- [%- FOREACH row = ALL_VC %]
- [% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]
- [%- END %]
-
-
- [%- END %]
-
+ [% P.input_tag(vc, "", class="fixed_width initial_focus") %]
+
+
+
+ [% 'Contact Person' | $T8 %]
+ [% L.input_tag("cp_name", '', class="fixed_width") %]
@@ -57,45 +41,40 @@
+
+ [% 'Customer Order Number' | $T8 %]
+
+
+
[%- IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %]
-
-
-
- [%- FOREACH row = ALL_DEPARTMENTS %]
- [% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]
- [%- END %]
-
-
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]
[%- END %]
[% 'Employee' | $T8 %]
- [% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]
+ [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]
[%- IF is_customer %]
[% 'Salesman' | $T8 %]
- [% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]
+ [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]
[%- END %]
[% 'Transaction description' | $T8 %]
-
-
-
-
- [% 'Customer Order Number' | $T8 %]
-
+
+ [% 'Part Description' | $T8 %]
+
[% 'Project Number' | $T8 %]
-
+
[%- FOREACH row = ALL_PROJECTS %]
@@ -103,18 +82,48 @@
[%- END %]
+ [% 'Part Number' | $T8 %]
+
+
+
+
+ [% 'Serial Number' | $T8 %]
+
+
+
+ [%- IF ALL_BUSINESS_TYPES.size %]
+
+ [% vctypelabel %]
+
+ [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %]
+
+ [%- END %]
- [% 'From' | $T8 %]
+ [% 'Delivery Order Date' | $T8 %] [% 'From' | $T8 %]
-
-
+ [% L.date_tag('transdatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('transdateto') %]
- [% 'Bis' | $T8 %]
+
+
+
+ [% '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') %]
@@ -162,7 +171,7 @@
-
+
[% 'Customer Order Number' | $T8 %]
@@ -170,13 +179,44 @@
- [% 'Date' | $T8 %]
+ [% 'Delivery Order Date' | $T8 %]
+
+
+
+ [% 'Reqdate' | $T8 %]
+
+ [% IF is_customer %]
+
+
+ [% 'Insert Date' | $T8 %]
+ [%- END %]
+
+
[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]
+
+ [% IF is_customer %]
+
+
+ [% 'Customer Number' | $T8 %]
+
+ [% END %]
+
+
+
+
+
+ [% "Department" | $T8 %]
+
+
+
+
+ [% 'Ship via' | $T8 %]
+
@@ -189,11 +229,6 @@
[% 'Salesman' | $T8 %]
-
-
-
- [% 'Ship via' | $T8 %]
-
@@ -203,7 +238,7 @@
-
+
[% 'Transaction description' | $T8 %]
@@ -214,17 +249,7 @@
-