]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/do/search.html
SelfTest Kosmetik
[mfinanz.git] / templates / webpages / do / search.html
index e7fdd3304307185bfcf6ec4c4b10b42e60623f7d..0e723c27a4243f21e98c702846f5cb96beb1d489 100644 (file)
     [%- IF ALL_DEPARTMENTS.size %]
     <tr>
      <th align="right" nowrap>[% 'Department' | $T8 %]</th>
-     <td colspan="3">
-      <select name="department" class="fixed_width">
-       <option></option>
-       [%- FOREACH row = ALL_DEPARTMENTS %]
-       <option[% IF department == row.id %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
-       [%- END %]
-      </select>
-     </td>
+     <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]</td>
     </tr>
     [%- END %]
 
      </td>
     </tr>
 
-    [%- IF is_customer %]
     <tr>
      <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
      <td>
        [% L.date_tag('insertdateto') %]
      </td>
     </tr>
-    [%- END %]
 
     <tr>
      <th align="right">[% 'Include in Report' | $T8 %]</th>