Funktionalität für Mindesthaltbarkeitsdatum hinzugefügt.
[kivitendo-erp.git] / templates / webpages / oe / sales_order_master.html
index 5f7df7d..6072564 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"><translate>Show details</translate></label><br>
+  <input type="button" id="cb_show_details" name="show_details" value='<translate>Show details</translate>'>
   <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>
@@ -28,3 +27,6 @@
   </table>
  </td>
 </tr>
+<script type='text/javascript'>
+  $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>