Im Lagerstandsbericht nach Warengruppe filtern können.
[kivitendo-erp.git] / templates / webpages / ct / search.html
index 988089d..f948b5f 100644 (file)
@@ -1,6 +1,6 @@
 [%- USE T8 %]
 [%- USE L %]
-[%- USE HTML %]
+[%- USE HTML %][%- USE LxERP -%]
 <h1>[% title %]</h1>
 
  <form method="post" action="ct.pl" name="Form" id="form">
    </tr>
    [% END %]
 
+[% IF IS_CUSTOMER %]
+   <tr>
+     <th align="right" nowrap>[% LxERP.t8("Factur-X/ZUGFeRD settings") %]</th>
+     <td>[% L.select_tag('create_zugferd_invoices', ZUGFERD_SETTINGS, with_empty = 1) %]</td>
+   </tr>
+[% END %]
+
    [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
    <tr>
     <th align="right" nowrap>[% 'Salesman' | $T8 %]</th>
         <input name="l_pricegroup" id="l_pricegroup" type="checkbox" class="checkbox" value="Y">
         <label for="l_pricegroup">[% 'Pricegroup' | $T8 %]</label>
        </td>
+       <td>
+        <input name="l_contact_origin" id="l_contact_origin" type="checkbox" class="checkbox" value="Y">
+        <label for="l_contact_origin">[% 'Origin of personal data' | $T8 %]</label>
+       </td>
+       <td>
+        <input name="l_invoice_mail" id="l_invoice_mail" type="checkbox" class="checkbox" value="Y">
+        <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>
+      [% 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>
+       </td>
+       <td>
+        <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 %]