CustomerVendor-Controller: Daten in Neu-Anzeige bei Fehler beibehalten
[kivitendo-erp.git] / templates / webpages / ap / search.html
index 52ecaf4..86aba06 100644 (file)
@@ -1,12 +1,10 @@
 [%- USE T8 %]
 [%- USE L %]
-<body>
+<h1>[% title %]</h1>
 
  <form method=post name="search" action=[% script %]>
 
   <table width=100%>
-  <tr><th class=listtop>[% title %]</th></tr>
-  <tr height="5"></tr>
   <tr>
    <td>
     <table>
       <th align=right>[% 'Vendor' | $T8 %]</th>
       <td colspan=3>
             [%- INCLUDE 'generic/multibox.html'
+                 id            = 'vendor',
                  name          = 'vendor',
                  default       = oldvendor,
                  style         = 'width: 250px',
+                 class         = 'initial_focus',
                  DATA          = ALL_VC,
                  id_sub        = 'vc_keys',
                  label_key     = 'name',
                  -%]
       </td>
      </tr>
+    <tr>
+     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
+     <td colspan="3">[% L.input_tag("cp_name", '', size=20) %]</td>
+    </tr>
      <tr>
       <th align=right nowrap>[% 'Department' | $T8 %]</th>
       <td>
    <br>
    <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
   </form>
- <script type="text/javascript">
- <!--
-   $(document).ready(function(){
-    focus();
-    setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
-    setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');
-   })
- //-->
- </script>