Preview Mode bei Imports
[kivitendo-erp.git] / templates / webpages / ar / search.html
index 9245d6b..d0f529d 100644 (file)
@@ -1,9 +1,10 @@
 [%- USE T8 %]
+[%- USE L %]
 <body>
 
  <form method=post name="search" action=[% script %]>
 
-  <table width=100%>
+  <table width=100% border="0">
   <tr><th class=listtop>[% title %]</th></tr>
   <tr height="5"></tr>
   <tr>
       <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
       <td colspan=3><input name=ordnumber size=20></td>
      </tr>
+     <tr>
+      <th align="right">[% 'Employee' | $T8 %]</th>
+      <td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
+     </tr>
+    <tr>
+     <th align="right">[% 'Salesman' | $T8 %]</th>
+     <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
+     </tr>
      <tr>
       <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
       <td colspan=3><input name=transaction_description size=40></td>
             -%]
       </td>
      </tr>
+    [% IF SHOW_BUSINESS_TYPES %]
+     <tr>
+      <th align="right" nowrap>[% 'Customer type' | $T8 %]</th>
+      <td colspan="3">
+          [%- INCLUDE 'generic/multibox.html'
+                 name          =  'business_id',
+                 style         = "width: 250px",
+                 DATA          =  ALL_BUSINESS_TYPES,
+                 id_key        = 'id',
+                 label_key     = 'description',
+                 limit         = vclimit,
+                 show_empty    = 1,
+                 allow_textbox = 0,
+            -%]
+      </td>
+     </tr>
+    [% END %]
      <tr>
       <th align=right nowrap>[% 'From' | $T8 %]</th>
       <td>
            <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Subtotal' | $T8 %]</td>
            <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
-           <td nowrap>[% 'Project Number' | $T8 %]</td>
+           <td nowrap>[% 'Document Project Number' | $T8 %]</td>
            <td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Transaction description' | $T8 %]</td>
           </tr>