[% HTML.escape(vclabel) %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = vc,
- default = vc == 'customer' ? oldcustomer : oldvendor,
- style = 'width: 250px',
- DATA = ALL_VC,
- id_sub = 'vc_keys',
- label_key = 'name',
- select = vc_select,
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
-
+ [% L.input_tag(vc, $vcdefault, style=style, class="initial_focus") %]
+
+
+ [% 'Contact Person' | $T8 %]
+ [% L.input_tag("cp_name", '', style=style) %]
[%- IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = 'department_id',
- style = 'width: 250px',
- DATA = ALL_DEPARTMENTS,
- id_key = 'id',
- label_key = 'description',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
-
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style=style) %]
[%- END %]
[% HTML.escape(ordlabel) %]
-
+ [% L.input_tag(ordnrname, "", style=style) %]
+
+[% IF is_order %]
+
+ [% LxERP.t8("Customer Order Number") %]
+ [% L.input_tag("cusordnumber", '', style=style) %]
+[% END %]
[% 'Employee' | $T8 %]
- [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]
+ [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]
[% 'Salesman' | $T8 %]
- [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]
+ [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]
+
+
+ [% 'Steuersatz' | $T8 %]
+ [% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]
+
+
+ [% 'Shipping Point' | $T8 %]
+ [% L.input_tag('shippingpoint', '', style=style) %]
[% 'Transaction description' | $T8 %]
-
-
-
- [% 'Project Number' | $T8 %]
-
- [%- INCLUDE 'generic/multibox.html'
- name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
- style = "width: 250px",
- DATA = ALL_PROJECTS,
- id_key = 'id',
- label_key = 'projectnumber',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
+ [% L.input_tag("transaction_description", "", style=style) %]
+ [% 'Part Description' | $T8 %]
+ [% L.input_tag("parts_description", "", style=style) %]
+
+
+ [% 'Project' | $T8 %]
+ [% P.project.picker("project_id", '', active="both", valid="both", 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) %]
+ [%- END %]
+
+ [% 'Internal Notes' | $T8 %]
+ [% L.input_tag('intnotes', '', style=style) %]
+
+
+ [% 'Phone Notes' | $T8 %]
+ [% L.input_tag('phone_notes', '', style=style) %]
+
[% 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,12 +96,48 @@
[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]
[% L.date_tag('reqdatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('reqdateto') %]
- [% 'Bis' | $T8 %]
+
+
+ [%- IF type == 'sales_order' %]
+
+ [% 'Insert Date' | $T8 %] [% 'From' | $T8 %]
- [% L.date_tag('reqdateto') %]
+ [% 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', '') %]
+ [% '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) %]
+
+
+[%- 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 %]
@@ -120,7 +160,7 @@
- [% 'Delivery Order created' | $T8 %]
+ [% 'Delivery Order(s) for full qty created' | $T8 %]
[%- END %]
@@ -143,6 +183,12 @@
[% HTML.escape(ordlabel) %]
+[% IF is_order %]
+
+
+ [% LxERP.t8("Customer Order Number") %]
+
+[% END %]
@@ -153,11 +199,17 @@
[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]
+ [%- IF type == 'sales_order' %]
+
+
+ [% 'Insert Date' | $T8 %]
+
+ [%- END %]
- [% HTML.escape(vclabel) %]
+ [% HTML.escape(vclabel) %]
@@ -173,6 +225,8 @@
[% 'Customer Number' | $T8 %]
+ [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]
+ [%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]
@@ -197,6 +251,10 @@
[% 'Ertrag prozentual' | $T8 %]
+
+
+ [% 'Payment Terms' | $T8 %]
+
@@ -204,9 +262,13 @@
[% 'Project Number' | $T8 %]
-
+
[% 'Transaction description' | $T8 %]
+
+ [%- L.checkbox_tag('l_department', label => LxERP.t8('Department')) %]
+
+
@@ -217,9 +279,31 @@
[% 'Salesman' | $T8 %]
+
+
+ [% 'Internal Notes' | $T8 %]
+
+[% IF type == 'sales_quotation' %]
- [% HTML.escape(vclabel) %]
+
+
+ [% 'Order probability & expected billing date' | $T8 %]
+
+
+[%- END %]
+
+
+
+ [% 'Remaining Amount' | $T8 %]
+
+
+
+ [% 'Remaining Net Amount' | $T8 %]
+
+
+
+ [% HTML.escape(vclabel) %]
@@ -235,9 +319,9 @@
[% 'USt-IdNr.' | $T8 %]
-[%- IF type == 'sales_order' %]
-
-[%- END %]
+
+ [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
+