Email: Kosmetik
[kivitendo-erp.git] / templates / webpages / generic / select_part.html
index f081041..fe18fe6 100644 (file)
@@ -21,7 +21,7 @@
      <th class="listheading">[% 'Charge number' | $T8 %]</th>
      [% END %]
      [% IF has_bestbefore %]
-     [% IF conf_show_best_before %]
+     [% IF INSTANCE_CONF.get_show_bestbefore %]
      <th class="listheading">[% 'Best Before' | $T8 %]</th>
      [% END %]
      [% END %]
@@ -39,6 +39,8 @@
      <td>
       <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
       <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
+      <input type="hidden" name="new_warehouse_id_[% loop.count %]" value="[% HTML.escape(part.warehouse_id) %]">
+      <input type="hidden" name="new_bin_id_[% loop.count %]" value="[% HTML.escape(part.bin_id) %]">
       [% HTML.escape(part.number) %]
      </td>
 
@@ -55,7 +57,7 @@
      </td>
      [% END %]
      [% IF has_bestbefore %]
-     [% IF conf_show_best_before %]
+     [% IF INSTANCE_CONF.get_show_bestbefore %]
      <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) %]">