X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch_master.html;h=a21ddcb3a760bf3456a72dd78633d03f6c33e7ab;hb=73a404b58ebe0de883558b898ee07ae3499461b7;hp=39363283364f6573dced0db61fe33867808d8d96;hpb=df005c490a2d6a9b7e50ea44fc7557e39ce7d6ca;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search_master.html b/templates/webpages/oe/search_master.html index 393632833..a21ddcb3a 100644 --- a/templates/webpages/oe/search_master.html +++ b/templates/webpages/oe/search_master.html @@ -1,5 +1,7 @@ [%- USE HTML %] +[%- USE T8 %] [%- SET vclabel = vc == 'customer' ? 'Customer' : 'Vendor' %] +[%- SET vcnumberlabel = vc == 'customer' ? 'Customer Number' : 'Vendor Number' %]
@@ -59,7 +61,7 @@ label_sub = 'employee_labels', limit = vclimit, show_empty = 1, - allow_textbox = 1, + allow_textbox = 0, default = ' ', -%] @@ -75,7 +77,7 @@ label_sub = 'salesman_labels', limit = vclimit, show_empty = 1, - allow_textbox = 1, + allow_textbox = 0, -%] @@ -87,7 +89,7 @@ Project Number [%- INCLUDE 'generic/multibox.html' - name = 'project_id', + name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id', style = "width: 250px", DATA = ALL_PROJECTS, id_key = 'id', @@ -99,9 +101,9 @@ - From + [% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %] - + Bis @@ -110,6 +112,18 @@ + + [% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %] + + + + + Bis + + + + + Include in Report @@ -153,7 +167,7 @@ - + @@ -214,6 +228,23 @@ + + [% HTML.escape(vclabel) %] + + + + + + + + + + + + + + + [%- IF type == 'sales_order' %]
[%- END %] @@ -229,6 +260,8 @@