Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / ct / search.html
index 260ad85..6557628 100644 (file)
     <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
     <td><input name="email" size="35"></td>
    </tr>
+   <tr>
+    <th align="right" nowrap>[% 'All phone numbers' | $T8 %]</th>
+    <td><input name="all_phonenumbers" size="35"></td>
+   </tr>
    <tr>
     <th align="right" nowrap>[% 'Contact person (surname)' | $T8 %]</th>
     <td><input name="cp_name" size="35"></td>
         <label for="l_id">[% 'ID' | $T8 %]</label>
        </td>
        <td>
-        <input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y" checked>
-        <label for="l_[% db %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label>
+        <input name="l_[% db | html %]number" id="l_[% db | html %]number" type="checkbox" class="checkbox" value="Y" checked>
+        <label for="l_[% db | html %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label>
        </td>
        <td>
         <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
         <label for="l_invoice_mail">[% 'Email of the invoice recipient' | $T8 %]</label>
        </td>
       </tr>
+      [% END %]
       <tr>
        <td>
         <input name="l_ustid" id="l_ustid" type="checkbox" class="checkbox" value="Y">
         <label for="l_ustid">[% 'VAT ID' | $T8 %]</label>
        </td>
+       <td>
+        <input name="l_main_contact_person" id="l_main_contact_person" type="checkbox" class="checkbox" value="Y">
+        <label for="l_main_contact_person">[% 'Main Contact Person' | $T8 %]</label>
+       </td>
+      [% IF !IS_CUSTOMER %]
+      </tr>
+      [% ELSE %]
        <td>
         <input name="l_creditlimit" id="l_creditlimit" type="checkbox" class="checkbox" value="Y">
         <label for="l_creditlimit">[% 'Credit Limit' | $T8 %]</label>
         <input name="l_commercial_court" id="l_commercial_court" type="checkbox" class="checkbox" value="Y">
         <label for="l_commercial_court">[% 'Commercial court' | $T8 %]</label>
        </td>
-       <td>
-        <input name="l_main_contact_person" id="l_main_contact_person" type="checkbox" class="checkbox" value="Y">
-        <label for="l_main_contact_person">[% 'Main Contact Person' | $T8 %]</label>
-       </td>
 
-       <td>
       </tr>
       <tr>
        <td>
         <input name="l_delivery_order_mail" id="l_delivery_order_mail" type="checkbox" class="checkbox" value="Y">
         <label for="l_delivery_order_mail">[% 'Email of the delivery order recipient' | $T8 %]</label>
        </td>
+        <td>
+        <input name="l_department_1" id="l_department_1" type="checkbox" class="checkbox" value="Y">
+        <label for="l_department_1">[% 'Department' | $T8 %] 1</label>
+       </td>
+       <td>
+        <input name="l_department_2" id="l_department_2" type="checkbox" class="checkbox" value="Y">
+        <label for="l_department_2">[% 'Department' | $T8 %] 2</label>
+       </td>
+        <td></td>
       </tr>
-
-
       [% END %]
 
       [% CUSTOM_VARIABLES_INCLUSION_CODE %]