[% HTML.escape(vclabel) %] |
- [% L.input_tag(vc, $vcdefault, style=style, class="initial_focus") %] |
+ [% L.input_tag(vc, $vcdefault, style=style, class="initial_focus") %] |
[% 'Contact Person' | $T8 %] |
- [% L.input_tag("cp_name", '', style=style) %] |
+ [% L.input_tag("cp_name", '', style=style) %] |
[%- IF ALL_DEPARTMENTS.size %]
@@ -32,12 +32,12 @@
[%- END %]
[% HTML.escape(ordlabel) %] |
- |
+ [% L.input_tag(ordnrname, "", style=style) %] |
[% IF is_order %]
[% LxERP.t8("Customer Order Number") %] |
- [% L.input_tag("cusordnumber", '', style=style) %] |
+ [% L.input_tag("cusordnumber", '', style=style) %] |
[% END %]
@@ -54,26 +54,24 @@
[% 'Shipping Point' | $T8 %] |
- [% L.input_tag('shippingpoint', '', style=style) %] |
+ [% L.input_tag('shippingpoint', '', style=style) %] |
[% 'Transaction description' | $T8 %] |
- |
-
+ [% L.input_tag("transaction_description", "", style=style) %] |
[% 'Part Description' | $T8 %] |
- |
+ [% L.input_tag("parts_description", "", style=style) %] |
[% 'Project' | $T8 %] |
- [% P.project_picker("project_id", '', style=style) %] |
-
+ [% P.project.picker("project_id", '', style=style) %] |
[% 'Part Number' | $T8 %] |
- |
+ [% L.input_tag("parts_partnumber", "", style=style) %] |
[%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
[% vctypelabel %] |
-
+ |
[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style=style) %]
|
@@ -82,9 +80,7 @@
[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] |
[% L.date_tag('transdatefrom') %]
- |
- [% 'Bis' | $T8 %] |
-
+ [% 'Bis' | $T8 %]
[% L.date_tag('transdateto') %]
|
@@ -92,9 +88,7 @@
[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] |
[% L.date_tag('reqdatefrom') %]
- |
- [% 'Bis' | $T8 %] |
-
+ [% 'Bis' | $T8 %]
[% L.date_tag('reqdateto') %]
|
@@ -104,9 +98,7 @@
[% 'Insert Date' | $T8 %] [% 'From' | $T8 %] |
[% L.date_tag('insertdatefrom') %]
- |
- [% 'Bis' | $T8 %] |
-
+ [% 'Bis' | $T8 %]
[% L.date_tag('insertdateto') %]
|
@@ -116,16 +108,14 @@
[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %] |
- [% L.date_tag('expected_billing_date_from', '' 'BL') %]
- |
- [% 'Expected billing date' | $T8 %] [% 'Bis' | $T8 %] |
-
- [% L.date_tag('expected_billing_date_to', '' 'BL') %]
+ [% L.date_tag('expected_billing_date_from', '') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('expected_billing_date_to', '') %]
|
[% 'Order probability' | $T8 %] |
-
+ |
[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
[% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
|
@@ -267,6 +257,10 @@
+
+ [%- L.checkbox_tag('l_department', label => LxERP.t8('Department')) %] |
+
+
@@ -316,9 +310,6 @@
[% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
-[%- IF type == 'sales_order' %]
- |
|
-[%- END %]