Merge branch 'gutschriftbuchung'
[kivitendo-erp.git] / templates / webpages / oe / search_de.html
index 363a3e4..0ebe9e0 100644 (file)
@@ -1,5 +1,6 @@
 [%- USE HTML %]
 [%- SET vclabel = vc == 'customer' ? 'Kunde' : 'Lieferant' %]
+[%- SET vcnumberlabel = vc == 'customer' ? 'Kundennummer' : 'Lieferantennummer' %]
 <body>
 
 <form method="post" action="oe.pl">
@@ -87,7 +88,7 @@
      <th align="right">Projektnummer</th>
      <td colspan="3">
             [%- INCLUDE 'generic/multibox.html'
-                 name          = 'project_id',
+                 name          =  vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id',
                  style         = "width: 250px",
                  DATA          =  ALL_PROJECTS,
                  id_key        = 'id',
         </td>
        </tr>
        <tr>
-        <td colspan=4 align=left><b>Kunde</td>
+        <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
        </tr>
        <tr>
-               <td>
+        <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">Land</label>
+         <label for="l_country">Land</label>
         </td>
-               <td>
+        <td>
          <input name="l_ustid"  id="l_ustid" class="checkbox" type="checkbox" value="Y">
-                <label for="l_ustid">USt-IdNr.</label>
+         <label for="l_ustid">USt-IdNr.</label>
         </td>
        </tr>
 [%- IF type == 'sales_order' %]