$search_tip = 'Products ID, Code or Name (seperate by comma if > 1)';
$content .= '<div style="margin:20px 0;">';
$content .= $segment_combo;
$content .= '</div>';
//SPECIAL BUTTON TO OPEN LEVELLING OVERVIEW
$content .= '<div class=buttons-left" style="margin-bottom:10px;">' . '<input type="button" id="load-daily-nrf-orders" value="Show/Reload Daily Non-Refill Orders Overview" />' . '<input type="button" id="reload-main-table" value="Reload Table" />' . '</div>' . '<div id="daily-nrf-overview" style="display:none;margin-bottom:20px;">' . '</div>';
$content .= '<div id="search-box" style="margin:20px 0;">';
$content .= 'Search Products <input type="text" id="keywords" value="' . $search_tip . '" class="iwbutton input2 notice" title="Search specific products by ID, code or name" />';
$content .= '<input type="button" id="showreclist" value="Generate List" title="Show Recommendation List" />';
//$content .= '<input type="button" id="togglethumbs" value="Toggle Product Thumbnails" title="Show or hide product thumbnails for each items" />';
$content .= '</div>';
$content .= '<div id="depo-reclist"></div>';
//UPDATE FORM TEMPLATE
$suppliers_combo = '<select name="suppliers_id"><option value="0">Please select...</option>' . loadComboListFromArray($class_do->getOutsourceSuppliers()) . '</select>';
$price = '<input type="text" name="price" class="w100"/>';
$price .= '<select name="price_cur"><option value="0"></option>' . loadComboListFromArray($class_do->getOutsourceSuppliersCurrencies()) . '</select>';
$outsourcing_form .= '<div id="osform-box" style="margin-left:100px;">';
$outsourcing_form .= '<input type="hidden" name="aid" />';
$outsourcing_form .= '<table class="form" border="0" cellpadding="0" cellspacing="0">';
$outsourcing_form .= '<tr><td class="w100">Product ID</td><td><input type="text" name="pid" class="w100" readonly="readonly" /></td></tr>';
$outsourcing_form .= '<tr><td>Length</td><td><input type="text" name="length" class="w100" readonly="readonly" /></td></tr>';
$outsourcing_form .= '<tr><td>EAN</td><td><input type="text" name="ean" class="w100" readonly="readonly" /></td></tr>';
$outsourcing_form .= '<tr><td>Total Quantity</td><td><input type="text" name="qty_full" class="w100" /></td></tr>';
$outsourcing_form .= '<tr><td>Batch Size</td><td><input type="text" name="qty_batch" class="w100" /></td></tr>';
$outsourcing_form .= '<tr><td>Total Orders</td><td><input type="text" name="qty_multiplier" class="w100" readonly="readonly" /></td></tr>';
$outsourcing_form .= '<tr><td>Suppliers</td><td>' . $suppliers_combo . '</td></tr>';
$outsourcing_form .= '<tr><td>Price</td><td>' . $price . '</td></tr>';
$outsourcing_form .= '</table>';
$outsourcing_form .= '<div class="buttons"><input id="osform-submit" type="button" value="Create Outsourcing Order" /><input type="button" value="Close" class="simplemodal-close" /></div>';
$outsourcing_form .= '</div>';
//#osform-box