MHD-Behandlung in Fehlermeldung bei unzureichender Lagermenge.
[kivitendo-erp.git] / templates / webpages / generic / select_part_de.html
index abf7a72..e49e806 100644 (file)
@@ -9,7 +9,7 @@
   <input type="hidden" name="remap_parts_id" value="[% HTML.escape(remap_parts_id) %]">
   <input type="hidden" name="remap_partnumber" value="[% HTML.escape(remap_partnumber) %]">
 
-  <div class="listtop">Artikel ausw&auml;hlen</div>
+  <div class="listtop">Artikel oder Erzeugnis ausw&auml;hlen</div>
 
   <p>
    <table>
      [% IF has_charge %]
      <th class="listheading">Chargennummer</th>
      [% END %]
+     [% IF has_bestbefore %]
+     [% IF conf_show_best_before %]
+     <th class="listheading">Mindesthaltbarkeit</th>
+     [% END %]
+     [% END %]
+     [% IF has_ean %]
+     <th class="listheading">EAN</th>
+     [% END %]
     </tr>
 
     [% FOREACH part = PARTS %]
       [% 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) %]">
+      [% HTML.escape(part.ean) %]
+     [% END %]
+     </td>
     </tr>
     [% END %]
    </table>