Massenerstellen von Rechnungen aus LS: Filtern nach Kundentyp
[kivitendo-erp.git] / templates / webpages / oe / search.html
index fe1df7e..45a6f0a 100644 (file)
@@ -10,7 +10,7 @@
 [%- SET vcdefault = 'old' _ vc %]
 [%- SET style="width: 250px" %]
 
-<form method="post" action="oe.pl">
+<form method="post" action="oe.pl" id="form">
 
 <table width="100%">
  <tr>
     <tr>
      <th align="right">[% 'Transaction description' | $T8 %]</th>
      <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
-
      <th align="right">[% 'Part Description' | $T8 %]</th>
      <td>[% L.input_tag("parts_description", "", style=style) %]</td>
     </tr>
     <tr>
      <th align="right">[% 'Project' | $T8 %]</th>
-     <td>[% P.project_picker("project_id", '', style=style) %]</td>
-
+     <td>[% P.project.picker("project_id", '', style=style) %]</td>
      <th align="right">[% 'Part Number' | $T8 %]</th>
      <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
     </tr>
     <tr>
      <th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
      <td>
-      [% L.date_tag('expected_billing_date_from', '' 'BL') %]
+      [% L.date_tag('expected_billing_date_from', '') %]
       [% 'Bis' | $T8 %]
-      [% L.date_tag('expected_billing_date_to', '' 'BL') %]
+      [% L.date_tag('expected_billing_date_to', '') %]
      </td>
     </tr>
     <tr>
          <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y"[% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]>
          <label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
         </td>
+        <td>
+         [%- L.checkbox_tag('l_department', label => LxERP.t8('Department')) %]</td>
+        </td>
+
        </tr>
        <tr>
         <td>
  </tr>
 </table>
 
-<br>
-<input type="hidden" name="nextsub" value="orders">
 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
-<input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
+<input type="hidden" name="action" value="orders">
 </form>