Angebotssuche: Einige Strings waren noch nciht von Auftrag->Angebot übersetzt.
[kivitendo-erp.git] / templates / webpages / oe / sales_order_de.html
index 5f4a019..1cd3a42 100644 (file)
@@ -1,12 +1,11 @@
 [% USE HTML %]
 <tr>
  <td>
-  <input type="checkbox" id="cb_show_details" name="show_details" [%- IF show_details %] checked[% END %]>
-  <label for="cb_show_details">Details anzeigen</label><br>
+  <input type="button" id="cb_show_details" name="show_details" value='Detailsanzeige'>
   <script type="text/javascript">
    $('#cb_show_details').click(function(){ $('[id$="row2"]').toggle() });
   </script>
-  <table width="100%">
+  <table id='display_row' width="100%">
    <tr class="listheading">[% FOREACH header = HEADER %][% IF header.display %]
     <th align="left" nowrap width="[% header.width %]" class="listheading">[% header.value %]</th>[% END %][% END %]
    </tr>
      </td></tr>
    [% END %]
 
- <!--  <script type='text/javascript'>
-     $(document).ready( $('[name^="description_"]').autocomplete("ic.pl?action=ajax_autocomplete&INPUT_ENCODING=UTF8") );
-   </script> -->
-
   </table>
  </td>
 </tr>
-[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
-  { script => 'ic.pl', column => 'description', selector => '[name^="description_"]' },
-  { script => 'ic.pl', column => 'partnumber',  selector => '[name^="partnumber_"]'  },
-]
-%]
+<script type='text/javascript'>
+  $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>