]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ct/search.html
%::myconfig dem Client javascript zur Verfügung stellen.
[mfinanz.git] / templates / webpages / ct / search.html
index 2a7748c58678562b0332426ee45d719152715474..933a7d1c063dd39625bece9c993a9bddbb6171fe 100644 (file)
@@ -1,12 +1,12 @@
 [%- USE T8 %]
 [%- USE L %]
 [%- USE HTML %]
+<h1>[% title %]</h1>
+
  <form method="post" action="ct.pl" name="Form">
 
   <input type="hidden" name="db" value="[% HTML.escape(db) %]">
 
-  <div class="listtop">[% title %]</div>
-
   <table>
    <tr>
     <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</th>
    </tr>
    [% END %]
 
+   [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
+   <tr>
+    <th align="right" nowrap>[% 'Salesman' | $T8 %]</th>
+    <td>
+     [% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1) %]
+    </td>
+   </tr>
+   [% END %]
+
    [% CUSTOM_VARIABLES_FILTER_CODE %]
 
    <tr>
         <input name="l_discount" id="l_discount" type="checkbox" class="checkbox" value="Y">
         <label for="l_discount">[% 'Discount' | $T8 %]</label>
        </td>
+       <td>
+        <input name="l_payment" id="l_payment" type="checkbox" class="checkbox" value="Y">
+        <label for="l_payment">[% 'Payment Terms' | $T8 %]</label>
+       </td>
       [% IF IS_CUSTOMER %]
       <td>
        <input name="l_salesman" id="l_salesman" type="checkbox" class="checkbox" value="Y">