X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch_master.html;h=cc0a2cbf3c1b497cd228cf984f621d32bdf056fc;hb=c6f47607c5b8d926ca7abb222606e90313b7aaea;hp=752ea37fa422787f9b39dcae5e2da9fe4f2d4950;hpb=90c872ee5a3f7b50a58b73133e5e0eaaadc53b5b;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search_master.html b/templates/webpages/oe/search_master.html index 752ea37fa..cc0a2cbf3 100644 --- a/templates/webpages/oe/search_master.html +++ b/templates/webpages/oe/search_master.html @@ -1,5 +1,6 @@ [%- USE HTML %] [%- SET vclabel = vc == 'customer' ? 'Customer' : 'Vendor' %] +[%- SET vcnumberlabel = vc == 'customer' ? 'Customer Number' : 'Vendor Number' %]
@@ -59,7 +60,7 @@ label_sub = 'employee_labels', limit = vclimit, show_empty = 1, - allow_textbox = 1, + allow_textbox = 0, default = ' ', -%] @@ -75,7 +76,7 @@ label_sub = 'salesman_labels', limit = vclimit, show_empty = 1, - allow_textbox = 1, + allow_textbox = 0, -%] @@ -87,7 +88,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', @@ -226,6 +227,23 @@ + + [% HTML.escape(vclabel) %] + + + + + + + + + + + + + + + [%- IF type == 'sales_order' %]
[%- END %]