MHD-Behandlung in Fehlermeldung bei unzureichender Lagermenge.
[kivitendo-erp.git] / templates / webpages / generic / select_part_de.html
index 771860e..e49e806 100644 (file)
@@ -21,7 +21,9 @@
      <th class="listheading">Chargennummer</th>
      [% END %]
      [% IF has_bestbefore %]
-     <th class="listheading">Best Before</th>
+     [% IF conf_show_best_before %]
+     <th class="listheading">Mindesthaltbarkeit</th>
+     [% END %]
      [% END %]
      [% IF has_ean %]
      <th class="listheading">EAN</th>
      </td>
      [% END %]
      [% IF has_bestbefore %]
+     [% IF conf_show_best_before %]
      <td>
       <input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
       <input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
       [% HTML.escape(part.bestbefore) %]
      </td>
      [% END %]
+     [% END %]
      [% IF has_ean %]
      <td>
       <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">