$form->show_generic_error($locale->text("The source warehouse does not contain any bins.")) if (0 == scalar @{ $warehouse->{BINS} });
- map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bindescription chargenumber partunit);
+ map { $form->{"l_$_"} = 'Y' } qw(parts_id qty warehouseid binid partnumber partdescription bindescription chargenumber partunit ean);
$form->{sort} = 'bindescription';
my @contents = WH->get_warehouse_report("warehouse_id" => $form->{warehouse_id},
<th class="listheading"><translate>Part Number</translate></th>
<th class="listheading"><translate>Part Description</translate></th>
<th class="listheading"><translate>Charge Number</translate></th>
+ <th class="listheading"><translate>EAN</translate></th>
<th class="listheading"><translate>Available qty</translate></th>
<th class="listheading" colspan="2"><translate>Transfer qty</translate></th>
<th class="listheading" colspan="2"><translate>Destination warehouse and bin</translate></th>
<input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
<input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
<input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
+ <input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
<td>[% HTML.escape(row.bindescription) %]</td>
<td>[% HTML.escape(row.partnumber) %]</td>
<td>[% HTML.escape(row.partdescription) %]</td>
<td>[% HTML.escape(row.chargenumber) %]</td>
+ <td>[% HTML.escape(row.ean) %]</td>
<td>[% HTML.escape(row.qty) %]</td>
<td><input name="qty_[% loop.count %]" size="8" style="text-align: right"></td>
<td>