X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=4fdcbda002b9fd931139322695442f7f7f1d7fd7;hb=dd9b159a345823b05d14ada6f3d7a1252c50756b;hp=9282beb9555818e6444291d5d0a5da9d3410d83d;hpb=7d026c7c58d00ec0f48beedf8a8c221738863772;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 9282beb95..4fdcbda00 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -4,7 +4,7 @@ [%- USE L %] [%- 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') %]
@@ -28,6 +28,7 @@ limit = vclimit, show_empty = 1, allow_textbox = 1, + class = 'initial_focus', -%] @@ -52,6 +53,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') %] @@ -60,6 +67,14 @@ [% '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 %] @@ -79,6 +94,14 @@ -%] + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] + + [% vctypelabel %] + + [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %] + + + [%- END %] [% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] @@ -99,6 +122,25 @@ [% L.date_tag('reqdateto') %] +[%- 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 %] [% 'Include in Report' | $T8 %] @@ -121,7 +163,7 @@ - + [%- END %] @@ -144,6 +186,12 @@ +[% IF is_order %] + + + + +[% END %] @@ -174,6 +222,8 @@ + [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %] + [%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %] @@ -205,7 +255,7 @@ - + @@ -219,6 +269,24 @@ +[% IF type == 'sales_quotation' %] + + + + + + +[%- END %] + + + + + + + + + + [% HTML.escape(vclabel) %] @@ -253,6 +321,3 @@ - - -