MHD-Behandlung in Fehlermeldung bei unzureichender Lagermenge.
[kivitendo-erp.git] / templates / webpages / generic / select_part_en.html
index 0b8cb7a..01f6ae3 100644 (file)
      [% IF has_charge %]
      <th class="listheading">Charge number</th>
      [% END %]
+     [% IF has_bestbefore %]
+     [% IF conf_show_best_before %]
+     <th class="listheading">Best Before</th>
+     [% END %]
+     [% END %]
      [% IF has_ean %]
      <th class="listheading">EAN</th>
      [% END %]
       [% HTML.escape(part.chargenumber) %]
      </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) %]">