Exemplo n.º 1
0
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>Location</td>';
$form .= '<td><select name="location" class="location">' . loadComboListFromArray($locations_arr, $segment_data['location']) . '</select></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>Description</td>';
$form .= '<td><textarea name="description" style="width:100%;height:50px;">' . $segment_data['description'] . '</textarea></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>No of Racks <span class="red">*</span></td>';
$form .= '<td><input type="text" name="racks" value="' . $class_bin->getTotalRack($segment_id) . '" class="input racks" maxlength="2" style="width:30px;" ' . $readonly . ' /></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>No of Rows per Rack <span class="red">*</span></td>';
$form .= '<td><select name="rows" class="rows" ' . $disabled . '>' . loadComboListFromArray($class_bin->getNumOfRowsArray(), $segment_data['rows']) . '</select><span style="margin-left:20px;">' . $fromtorows . '</span></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>No of Boxes per Row <span class="red">*</span></td>';
$form .= '<td><input type="text" name="cols" value="' . $segment_data['cols'] . '" class="input" maxlength="2" style="width:30px;" ' . $readonly . ' /></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>No of Bins per Box <span class="red">*</span></td>';
$form .= '<td><select name="pieces_per_box" class="ppb" ' . $disabled . '>' . loadComboListFromArray($class_bin->getNumOfBoxArray(), $segment_data['pieces_per_box']) . '</select><span style="margin-left:20px;">' . $fromtoppb . '</span></td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>Used for</td>';
$form .= '<td><input type="radio" name="used_for" class="used_for" value="P" ' . $rdo_p_checked . ' ' . $disabled . ' />&nbsp;Products&nbsp;&nbsp;&nbsp;<input type="radio" name="used_for" class="used_for" value="E" ' . $rdo_e_checked . ' ' . $disabled . ' />&nbsp;Elements</td>';
$form .= '</tr>';
$form .= '<tr>';
$form .= '<td>Warehouse <span class="red">*</span></td>';