$id2 = '';
 $id2 .= '<div class="notice" style="' . $show_qty_detail . '"><span class="red"><span id="e' . $eid . 'defqty">' . $qty . '</span> qty</span> &asymp; <span id="e' . $eid . 'unitqtyraw">' . number_format($qty_to_qtytype_raw, 2) . '</span> <span class="e' . $eid . 'unit">' . $stock['qty_type'] . '</span></div>';
 $id2 .= '<div class="smallText notice" style="margin-bottom:10px;' . $show_qty_detail . '"><span id="e' . $eid . 'uqpp">' . $stock['pieces_per_qty_type'] . '</span> qty = 1 <span class="e' . $eid . 'unit">' . $stock['qty_type'] . '</span></div>';
 if ($stock['pieces_per_qty_type'] > 1) {
     //$id2 .= '<div class="smallText notice">1 '.$stock['qty_type'].' = '.$stock['pieces_per_qty_type'].' qty</div>';
     //$id2 .= '<div class="notice">'.number_format($qty_to_qtytype_raw, 2).' '.$stock['qty_type'].' &asymp; '.$qty.' qty</div>';
 }
 $id2 .= '<div><input id="e' . $eid . 'unitqty" type="text" name="qty" value="' . $qty_to_qtytype . '" class="time" /><br /><span class="e' . $eid . 'unit">' . $stock['qty_type'] . '</span></div>';
 //$id3  = '<div>'.$element->displayDIOH($stock['stock']).'</div>';
 //$id3 .= '<br /><span class="smallText notice">'.$stock['stock'].' qty</span>';
 $pt = elements_preorder::getPreordersTemp($eid);
 $urgent_for_process = $pt['sourcing_tab'] > $pt['actual_stock'] + $pt['open_orders'];
 $icon_urgent = $urgent_for_process ? '&nbsp;' . drawIcon('icon-warning-16.png', 'Urgent (Sourcing Tab > Actual Stock + Ordered)') : '';
 $id3 = '<div class="float-right">' . $icon_urgent . '</div>';
 $id3 .= '<div class="eid"><a href="?open=element&amp;id=' . $eid . '&amp;hidemenu=true" class="view_webpage">' . $eid . '</a></div>';
 $id3 .= $element->displayStockInfoTablePreordersTemp();
 $r = $element->displayDIOH($stock['stock']);
 if ($stock['pieces_per_qty_type'] > 1) {
     $r .= '<br /><br /><span title="Safety Delivery Time">(SDT: ' . $element->displaySafetyDT($stock['stock'], $element->suppliers[$suppliers_id]['resourcing_day']) . ')</span>';
 }
 $l = '<span class="' . ($element->calcRefillQuantity($stock['stock'], $current_orders, 1) > 0 ? 'green">ON' : 'red">OFF') . '<span>';
 //$o = displayCurrency('EUR', $element->detail['price']);
 $o = $priceperpice;
 $e = '<input type="text" id="e' . $eid . 'totpri" value="' . number_format($pricedefault, 2) . '" readonly="readonly" class="bold readonly" style="width:100px;text-align:right;" />';
 $e .= '<input type="text" id="e' . $eid . 'totpricr" value="' . $pricecurrdef . '" readonly="readonly" class="bold readonly" style="width:40px;" />';
 $p3 = $qty * $element->detail['weight'] . '&nbsp;gr<input id="e' . $eid . 'weight" type="hidden" value="' . $element->detail['weight'] . '" />';
 $suppliers_options = loadComboListFromArray($suppliers, null, $suppliers_id);
 $t = '<select name="suppliers" size="4" class="input">' . $suppliers_options . '</select>';
 $act = '<input type="button" value="&raquo; ORDER" class="bl green bold" /><br /><input type="button" value="&times; REMOVE" class="bl red" />';
 $act .= $suppliers_params;
 $rowcontent = '<tr id="epo-' . $eid . '-' . $qty . '" class="' . $row . '">';