]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ar/search.html
date error in mapping
[mfinanz.git] / templates / webpages / ar / search.html
index c32800377d9d6706e27d09e5e55ef993bed9c70a..007e17d2f1cc9e14dfdfd53dbeedd43e2b301e92 100644 (file)
@@ -5,6 +5,7 @@
 
  <form method=post name="search" id="form" action=[% script %]>
   [% L.hidden_tag("action", nextsub) %]
+  [% L.hidden_tag("sort", "transdate") %]
 
   <table width=100% border="0">
   <tr>
      <th align="right">[% 'Salesman' | $T8 %]</th>
      <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]</td>
      </tr>
+     <tr>
+      <th align="right">[% 'Steuersatz' | $T8 %]</th>
+      <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
+     </tr>
      <tr>
       <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
       <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
       <th align="right">[% 'Part Number' | $T8 %]</th>
       <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
      </tr>
+     <tr>
+      <th align=right nowrap>[% 'Shipping Point' | $T8 %]</th>
+      <td>[% L.input_tag("shippingpoint", "", style=style) %]</td>
+      <th align="right">[% 'Ship via' | $T8 %]</th>
+      <td>[% L.input_tag("shipvia", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Name (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptoname", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Department 1 (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptodepartment_1", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Department 2 (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptodepartment_2", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Street (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptostreet", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Zipcode (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptozipcode", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'City (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptocity", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align=right nowarp>[% 'Country (Shipping)' | $T8 %]</th>
+      <td>[% L.input_tag("shiptocountry", "", style=style) %]</td>
+     </tr>
+     <tr>
+      <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
+      <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key="description", style=style) %]</td>
+     </tr>
      <tr>
       <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
+      <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
      </tr>
     [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
      <tr>
       <th>[% 'Show only marked as paid invoices' | $T8 %]</th>
       <td>[% L.checkbox_tag('show_marked_as_closed') %]</td>
      </tr>
+    [% IF INSTANCE_CONF.get_email_journal %]
+     <tr>
+      <th>[% 'Show only not mailed invoices' | $T8 %]</th>
+      <td>[% L.checkbox_tag('show_not_mailed') %]</td>
+     </tr>
+    [% END %]
      <tr>
       <th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
       <td>
        [% L.date_tag('duedateto') %]
      </td>
     </tr>
+     <tr>
+      <th align=right nowrap>[% 'Date Paid' | $T8 %]</th>
+      <td>
+       [% L.date_tag('datepaidfrom') %]
+       [% 'Bis' | $T8 %]
+       [% L.date_tag('datepaidto') %]
+     </td>
+    </tr>
 
 [%- IF CT_CUSTOM_VARIABLES.size %]
     <tr>
       <td></td>
-      <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
+      <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</b></td>
     </tr>
     [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
 [%- END %]
 
-   <input type=hidden name=sort value=transdate>
    </table>
     </td>
     </tr>
            <td nowrap>[% 'Customer Number' | $T8 %]</td>
            <td align=right><input name="l_department" id="l_department" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Department' | $T8 %]</td>
-
+          </tr>
+          <tr>
+           <td align=right><input name="l_donumber" id="l_donumber" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Delivery Order Number' | $T8 %]</td>
+           <td align=right><input name="l_deliverydate" id="l_deliverydate" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Delivery Date' | $T8 %]</td>
           </tr>
           <tr>
            <td align=right><input name="l_netamount" id="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
            <td nowrap>[% 'direct debit' | $T8 %]</td>
           </tr>
           <tr>
-           <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>
+           <td align=right><input name="l_items" id="l_items" class=checkbox type=checkbox value=Y>
+           <td nowrap>[% 'Positions' | $T8 %]</td>
+[% IF INSTANCE_CONF.get_doc_storage -%]
+           <td align=right><input name="l_attachments" id="l_attachments" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Attachments' | $T8 %]</td>
+[% END-%]
+          </tr>
+          <tr>
+           <td colspan=4 align=left><b>[% 'Customer' | $T8 %]</b></td>
           </tr>
           <tr>
            <td align=right><input name="l_customernumber" id="l_customernumber" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Country' | $T8 %]</td>
            <td align=right><input name="l_ustid" id="l_ustid" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
+           <td align=right><input name="l_customer_dunning_lock" id="l_customer_dunning_lock" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Dunning lock' | $T8 %]</td>
+          </tr>
+          <tr>
+           <td colspan=4 align=left><b>[% 'Shipping Address' | $T8 %]</b></td>
+          </tr>
+          <tr>
+           <td align=right><input name="l_shiptoname" id="l_shiptoname" type="checkbox"></td>
+           <td nowrap>[% 'Name' | $T8 %]</td>
+           <td align=right><input name="l_shiptodepartment_1" id="l_shiptodepartment_1" type="checkbox"></td>
+           <td nowrap>[% 'Department 1' | $T8 %]</td>
+           <td align=right><input name="l_shiptodepartment_2" id="l_shiptodepartment_2" type="checkbox"></td>
+           <td nowrap>[% 'Department 2' | $T8 %]</td>
+          </tr>
+          <tr>
+           <td align=right><input name="l_shiptostreet" id="l_shiptostreet" type="checkbox"></td>
+           <td nowrap>[% 'Street' | $T8 %]</td>
+           <td align=right><input name="l_shiptozipcode" id="l_shiptozipcode" type="checkbox"></td>
+           <td nowrap>[% 'Zipcode' | $T8 %]</td>
+           <td align=right><input name="l_shiptocity" id="l_shiptocity" type="checkbox"></td>
+           <td nowrap>[% 'City' | $T8 %]</td>
+           <td align=right><input name="l_shiptocountry" id="l_shiptocountry" type="checkbox"></td>
+           <td nowrap>[% 'Country' | $T8 %]</td>
           </tr>
 
           <table>