X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=323fd2383fd4b647537b44d69b9a990dcaf87f09;hb=3624b119556731da41e4ad395491ebb067f26565;hp=82db67ccb3e711022d132a11574179591626ae2f;hpb=075bd42af8885aee3c18fe055a2c82b8b43f4cea;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 82db67ccb..323fd2383 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -2,13 +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 %] @@ -51,6 +57,12 @@ +[% IF is_order %] + + + + +[% END %] @@ -59,6 +71,14 @@ + + + + + + + + @@ -78,6 +98,14 @@ -%] + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] + + + + + [%- END %] + + [%- IF type == 'sales_order' %] + + + + + + + [%- END %] + +[%- IF type == 'sales_quotation' %] + + + + + + + + + + +[%- END %] + +[%- IF CT_CUSTOM_VARIABLES.size %] + + + + + [% CT_CUSTOM_VARIABLES_FILTER_CODE %] +[%- END %] + [%- END %] @@ -143,6 +213,12 @@ +[% IF is_order %] + +[% END %] + [%- IF type == 'sales_order' %] + + [%- END %] + + @@ -218,6 +302,24 @@ +[% IF type == 'sales_quotation' %] + + + +[%- END %] + + + + @@ -235,6 +337,9 @@ + + [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] + [%- IF type == 'sales_order' %] [%- END %] @@ -252,4 +357,3 @@ -
@@ -27,9 +28,14 @@ limit = vclimit, show_empty = 1, allow_textbox = 1, + class = 'initial_focus', -%]
[% 'Contact Person' | $T8 %][% L.input_tag("cp_name", '', style="width: 250px") %]
[% 'Department' | $T8 %][% 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 %]
[% vctypelabel %] + [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %] +
[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] @@ -98,6 +126,48 @@ [% L.date_tag('reqdateto') %]
[% '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 %] @@ -120,7 +190,7 @@ - +
+ + +
@@ -153,6 +229,12 @@ + + +
@@ -173,6 +255,8 @@ [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %][%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]
@@ -204,7 +288,7 @@ - +
+ + +
+ + + + + +
[% HTML.escape(vclabel) %]