X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=1fccfc415e9a9cb2f1fa41a52e01ed5839d149c3;hb=2e8dd1d85541033e1b4f5fe2f41da528e860c6e5;hp=22d83b017cfffae9366803bcd79242c2d42271d4;hpb=fca2825c79e6740fd511a2f86df9cb1ff898bfdf;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 22d83b017..1fccfc415 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,36 +53,27 @@ [% HTML.escape(ordlabel) %] +[% IF is_order %] + + [% LxERP.t8("Customer Order Number") %] + [% L.input_tag("cusordnumber", '', style="width: 250px") %] + +[% END %] [% 'Employee' | $T8 %] - - [%- INCLUDE 'generic/multibox.html' - name = 'employee_id', - style = 'width: 250px', - DATA = ALL_EMPLOYEES, - id_key = 'id', - label_sub = 'employee_labels', - limit = vclimit, - show_empty = 1, - allow_textbox = 0, - default = ' ', - -%] - + [% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %] [% 'Salesman' | $T8 %] - - [%- INCLUDE 'generic/multibox.html' - name = 'salesman_id', - style = 'width: 250px', - DATA = ALL_SALESMEN, - id_key = 'id', - label_sub = 'salesman_labels', - limit = vclimit, - show_empty = 1, - allow_textbox = 0, - -%] - + [% 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 %] @@ -102,28 +94,32 @@ -%] + [%- 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 %] - - + [% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] - - + [% L.date_tag('transdateto') %] [% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] - - + [% L.date_tag('reqdatefrom') %] [% 'Bis' | $T8 %] - - + [% L.date_tag('reqdateto') %] @@ -171,6 +167,12 @@ +[% IF is_order %] + + + + +[% END %] @@ -196,6 +198,14 @@ + + + + + + [%- L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %] + [%- L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %] + @@ -240,6 +250,16 @@ + + + + + + + + + + [% HTML.escape(vclabel) %] @@ -268,21 +288,9 @@ - -
- - -