Funktionalität für Mindesthaltbarkeitsdatum hinzugefügt.
[kivitendo-erp.git] / templates / webpages / oe / search_en.html
index 5d3d103..fe150bd 100644 (file)
@@ -1,5 +1,6 @@
 [%- USE HTML %]
 [%- SET vclabel = vc == 'customer' ? 'Customer' : 'Vendor' %]
+[%- SET vcnumberlabel = vc == 'customer' ? 'Customer Number' : 'Vendor Number' %]
 <body>
 
 <form method="post" action="oe.pl">
                  show_empty    = 1,
                  allow_textbox = 1,
                  -%]
+[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
+  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
+]
+%]
      </td>
     </tr>
 [%- IF ALL_DEPARTMENTS.size %]
         </td>
        </tr>
        <tr>
-        <td colspan=4 align=left><b>Customer</td>
+        <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
        </tr>
        <tr>
+        <td>
+         <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
+         <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
+        </td>
         <td>
          <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
          <label for="l_country">Country</label>