6 <h3>[% LxERP.t8('Stock for part #1', SELF.part.displayable_name) %]</h3>
 
   8 [%- IF SELF.stock_empty && !SELF.part.bin_id  %]
 
   9 <p>[% 'Nothing stocked yet.' | $T8 %]</p>
 
  12   <tr class='listheading'>
 
  13     <th>[% 'Warehouse' | $T8 %]</th>
 
  14     <th>[% 'Bin' | $T8 %]</th>
 
  15     <th>[% 'Qty' | $T8 %]</th>
 
  17 [%- FOREACH wh = SELF.warehouses -%]
 
  18 [%- FOREACH bin = wh.bins -%]
 
  19   [%#- display any bins with stock and default bin -%]
 
  20   [%- SET stock__set = SELF.stock_by_bin.${bin.id} -%]
 
  21   [%- IF stock__set.sum > 0 || SELF.part.bin_id == bin.id -%]
 
  23     <td>[% bin.warehouse.description %]</td>
 
  24     <td>[% bin.description %]</td>
 
  25     <td class='numeric'>[% LxERP.format_amount(stock__set.sum, 2) %]</td>