<th class="listheading"><translate>Warehouse</translate></th>
<th class="listheading"><translate>Bin</translate></th>
<th class="listheading"><translate>Charge Number</translate></th>
+ [% IF conf_show_best_before %]
+ <th class="listheading"><translate>Best Before</translate></th>
+ [% END %]
[%- UNLESS delivered %]
<th align="right" class="listheading"><translate>Available qty</translate></th>
[%- END %]
<td>[% HTML.escape(row.warehousedescription) %]</td>
<td>[% HTML.escape(row.bindescription) %]</td>
<td>[% HTML.escape(row.chargenumber) %]</td>
-
+ [% IF conf_show_best_before %]
+ <td>[% HTML.escape(row.bestbefore) %]</td>
+ [% END %]
[%- IF delivered %]
<td>[% HTML.escape(LxERP.format_amount(row.stock_qty)) %]</td>
<input type="hidden" name="warehouse_id_[% loop.count %]" value="[% HTML.escape(row.warehouse_id) %]">
<input type="hidden" name="bin_id_[% loop.count %]" value="[% HTML.escape(row.bin_id) %]">
<input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
+ [% IF conf_show_best_before %]
+ <input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
+ [% END %]
[%- END %]
</table>
</p>