]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ap/search.html
date error in mapping
[mfinanz.git] / templates / webpages / ap / search.html
index 5b6eb3a6a21010029b65fdbc626ca0980e366ceb..080b726f16c43f9547fbdec79508e9fe078b10bd 100644 (file)
@@ -4,6 +4,7 @@
 <h1>[% title %]</h1>
 
  <form method="post" name="search" action="ap.pl" id="form">
+  [% L.hidden_tag("sort", "transdate") %]
 
   <table width=100%>
   <tr>
       <th align=right>[% 'Vendor' | $T8 %]</th>
       <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
      </tr>
-    <tr>
-     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
-     <td>[% L.input_tag("cp_name", '', style=style) %]</td>
-    </tr>
+     <tr>
+      <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
+      <td>[% L.input_tag("cp_name", '', style=style) %]</td>
+     </tr>
      <tr>
       <th align=right nowrap>[% 'Department' | $T8 %]</th>
       <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
       <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
       <td>[% L.input_tag("ordnumber", "", 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>[% '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" nowrap>[% 'Transaction description' | $T8 %]</th>
+      <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
      <tr>
       <th align=right nowrap>[% 'Notes' | $T8 %]</th>
       <td>[% L.input_tag("notes", "", style=style) %]</td>
       <td>[% L.input_tag("parts_description", "", style=style) %]</td>
      </tr>
      <tr>
-      <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
+      <th align="right">[% 'Internal Notes' | $T8 %]</th>
+      <td>[% L.input_tag("intnotes", "", style=style) %]</td>
       <th align="right">[% 'Part Number' | $T8 %]</th>
       <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
      </tr>
+     <tr>
+      <th align="right">[% 'Full Text' | $T8 %]</th>
+      <td>[% L.input_tag('fulltext', '', style=style) %]</td>
+     </tr>
+     <tr>
+      <th align="right">[% 'Project Number' | $T8 %]</th>
+      <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
+     </tr>
      <tr>
       <th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
       <td>
        [% L.date_tag('transdatefrom') %]
        [% 'Bis' | $T8 %]
        [% L.date_tag('transdateto') %]
-     </td>
-    </tr>
-   <input type=hidden name=sort value=transdate>
+      </td>
+     </tr>
+     <tr>
+      <th align=right nowrap>[% 'Due Date' | $T8 %]</th>
+      <td>
+       [% L.date_tag('duedatefrom') %]
+       [% 'Bis' | $T8 %]
+       [% 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>
+     <tr>
+      <th align=right nowrap>[% 'Insert Date' | $T8 %]</th>
+      <td>
+       [% L.date_tag('insertdatefrom') %]
+       [% 'Bis' | $T8 %]
+       [% L.date_tag('insertdateto') %]
+      </td>
+     </tr>
    </table>
     </td>
     </tr>
           <tr>
            <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Notes' | $T8 %]</td>
+           <td align=right><input name="l_intnotes" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Internal Notes' | $T8 %]</td>
            <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'Employee' | $T8 %]</td>
            <td align=right><input name="l_department" 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>[% 'Document Project Number' | $T8 %]</td>
+           <td align="right"><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 %]></td>
+           <td nowrap>[% 'Transaction description' | $T8 %]</td>
          </tr>
           <tr>
            <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
            <td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
            <td nowrap>[% 'direct debit' | $T8 %]</td>
           </tr>
+          <tr>
+           <td align=right><input name="l_debit_chart" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Debit Account' | $T8 %]</td>
+           <td align=right><input name="l_insertdate" class=checkbox type=checkbox value=Y></td>
+           <td nowrap>[% 'Insert Date' | $T8 %]</td>
+           <td align=right><input name="l_items" id="l_items" class=checkbox type=checkbox value=Y>
+           <td nowrap>[% 'Positions' | $T8 %]</td>
+          </tr>
          <tr>
-          <td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
+          <td colspan=4 align=left><b>[% 'Vendor' | $T8 %]</b></td>
          </tr>
          <tr>
            <td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>