X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=1b9d615f68274d7e835452acc4b867a556907215;hb=b592435b709841b65441d5fef5c41e3ad2c91413;hp=c71e60f6d2bd3ca1b6e6ccc56887cc08eda18afb;hpb=fac049a07ca0a2e5dacf31f297766e3517893a40;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index c71e60f6d..1b9d615f6 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -2,14 +2,14 @@ [%- USE T8 %] [%- USE LxERP %] [%- USE L %] +

[% HTML.escape(title) %]

+ [%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %] [%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %] [%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
-

[% HTML.escape(title) %]

- + + + + [%- IF ALL_DEPARTMENTS.size %] - + [%- END %] +[% IF is_order %] + + + + +[% END %] @@ -61,24 +60,38 @@ + + + + + + + + - + + + + - + + + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] @@ -108,6 +121,48 @@ [% L.date_tag('reqdateto') %] + + [%- IF type == 'sales_order' %] + + + + + + + [%- END %] + +[%- IF type == 'sales_quotation' %] + + + + + + + + + + +[%- END %] + +[%- IF CT_CUSTOM_VARIABLES.size %] + + + + + [% CT_CUSTOM_VARIABLES_FILTER_CODE %] +[%- END %] + [%- END %] @@ -153,6 +208,12 @@ +[% IF is_order %] + +[% END %] + [%- IF type == 'sales_order' %] + + [%- END %] + + + @@ -228,6 +301,24 @@ +[% IF type == 'sales_quotation' %] + + + +[%- END %] + + + + @@ -245,6 +336,9 @@ + + [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] + [%- IF type == 'sales_order' %] [%- END %]
@@ -25,34 +25,33 @@ 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") %]
[% '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="width: 250px") %]
[% HTML.escape(ordlabel) %]
[% LxERP.t8("Customer Order Number") %][% L.input_tag("cusordnumber", '', style="width: 250px") %]
[% 'Employee' | $T8 %] [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %][% 'Salesman' | $T8 %] [% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]
[% 'Steuersatz' | $T8 %][% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style='width: 250px') %]
[% 'Shipping Point' | $T8 %][% L.input_tag('shippingpoint', '', style='width:250px') %]
[% 'Transaction description' | $T8 %][% 'Part Description' | $T8 %]
[% '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, -%] [% 'Part Number' | $T8 %]
[% 'Insert Date' | $T8 %] [% 'From' | $T8 %] + [% L.date_tag('insertdatefrom') %] + [% 'Bis' | $T8 %] + [% L.date_tag('insertdateto') %] +
[% '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) %] +
[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]
[% 'Include in Report' | $T8 %] @@ -130,7 +185,7 @@ - +
+ + +
@@ -163,6 +224,12 @@ + + +
@@ -183,6 +250,8 @@ [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %][%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]
@@ -207,6 +276,10 @@ + + +
@@ -214,7 +287,7 @@ - +
+ + +
+ + + + + +
[% HTML.escape(vclabel) %]