@@ -25,13 +25,17 @@
id_sub = 'vc_keys',
label_key = 'name',
select = vc_select,
- limit = vclimit,
+ limit = MYCONFIG.vclimit,
show_empty = 1,
allow_textbox = 1,
class = 'initial_focus',
-%]
|
+
+ [% 'Contact Person' | $T8 %] |
+ [% L.input_tag("cp_name", '', style="width: 250px") %] |
+
[%- IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %] |
@@ -42,7 +46,7 @@
DATA = ALL_DEPARTMENTS,
id_key = 'id',
label_key = 'description',
- limit = vclimit,
+ limit = MYCONFIG.vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
@@ -53,6 +57,12 @@
[% HTML.escape(ordlabel) %] |
|
+[% IF is_order %]
+
+ [% LxERP.t8("Customer Order Number") %] |
+ [% L.input_tag("cusordnumber", '', style="width: 250px") %] |
+
+[% END %]
[% 'Employee' | $T8 %] |
[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %] |
@@ -77,12 +87,12 @@
[% 'Project Number' | $T8 %] |
[%- INCLUDE 'generic/multibox.html'
- name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
+ name = MYCONFIG.vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
label_key = 'projectnumber',
- limit = vclimit,
+ limit = MYCONFIG.vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
@@ -116,6 +126,48 @@
[% L.date_tag('reqdateto') %]
|
+
+ [%- IF type == 'sales_order' %]
+
+ [% 'Insert Date' | $T8 %] [% 'From' | $T8 %] |
+
+ [% L.date_tag('insertdatefrom') %]
+ |
+ [% 'Bis' | $T8 %] |
+
+ [% L.date_tag('insertdateto') %]
+ |
+
+ [%- END %]
+
+[%- IF type == 'sales_quotation' %]
+
+ [% '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') %]
+ |
+
+
+ [% 'Order probability' | $T8 %] |
+
+ [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
+ [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
+ |
+
+[%- END %]
+
+[%- IF CT_CUSTOM_VARIABLES.size %]
+
+ |
+ [% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %] |
+
+ [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
+[%- END %]
+
[% 'Include in Report' | $T8 %] |
@@ -138,7 +190,7 @@
|
-
+
|
[%- END %]
@@ -161,6 +213,12 @@
+[% IF is_order %]
+
+
+
+ |
+[% END %]
@@ -171,6 +229,12 @@
|
+ [%- IF type == 'sales_order' %]
+
+
+
+ |
+ [%- END %]
@@ -217,6 +281,10 @@
|
+
+
+
+ |
@@ -224,7 +292,7 @@
|
-
+
|
@@ -238,6 +306,24 @@
+[% IF type == 'sales_quotation' %]
+
+
+
+
+ |
+
+[%- END %]
+
+
+
+
+ |
+
+
+
+ |
+
[% HTML.escape(vclabel) %] |
@@ -255,6 +341,9 @@
+
+ [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
+
[%- IF type == 'sales_order' %]
|
[%- END %]