]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/do/stock_in_form_master.html
Eingabe, Anzeige und Filter für Mindesthaltbarkeitsanzeige ist
[kivitendo-erp.git] / templates / webpages / do / stock_in_form_master.html
index 6b2caab24ab6f76bfd287e3d4fa02151ecbd99bb..e8c411b3a90a7e620b1e9d4a2fb403cc8c70fe04 100644 (file)
@@ -92,7 +92,9 @@
      <th class="listheading"><translate>Warehouse</translate></th>
      <th class="listheading"><translate>Bin</translate></th>
      <th class="listheading"><translate>Charge Number</translate></th>
+     [% IF conf_show_best_before %]
      <th class="listheading"><translate>Best Before</translate></th>
+     [% END %]
      <th align="right" class="listheading"><translate>Qty</translate></th>
      <th align="right" class="listheading"><translate>Unit</translate></th>
     </tr>
      <td>[% HTML.escape(row.warehouse_description) %]</td>
      <td>[% HTML.escape(row.bin_description) %]</td>
      <td>[% HTML.escape(row.chargenumber) %]</td>
+     [% IF conf_show_best_before %]
      <td>[% HTML.escape(row.bestbefore) %]</td>
+     [% END %]
      <td>[% HTML.escape(LxERP.format_amount(row.qty)) %]</td>
      <td>[% HTML.escape(row.unit) %]</td>
 
 
      <td><select name="bin_id_[% loop.count %]" id="bin_id_[% loop.count %]"></select></td>
      <td><input name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]"></td>
-
+     [% IF conf_show_best_before %]
      <td>
        <input name="bestbefore_[% loop.count %]" id="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]" size="11" title="[% myconfig_dateformat %]">
        <input type="button" name="b_bestbefore_[% loop.count %]" id="bestbefore_trigger_[% loop.count %]" value="?">
      </td>
-
+     [% END %]
      <td><input name="qty_[% loop.count %]" size="12" value="[% HTML.escape(LxERP.format_amount(row.qty)) %]"></td>
 
      <td>
  </form>
 
  [%- IF NOT delivered %]
+ [% IF conf_show_best_before %]
   <script type="text/javascript">
     <!--
     [%- FOREACH row = STOCK_INFO %]
     [%- END %]
     //-->
   </script>
+  [% END %]
   [%- END %]
 
 </body>