?> </td> <td><?php echo form::select_field_from_object('resource_schedule', bom_header::bom_schedule_option(), 'option_line_code', 'option_line_value', ${$class_third}->resource_schedule, '', $readonly, 'default_basis', '', 1); ?> </td> <td><?php form::number_field_wid3s('assigned_units'); ?> </td> <td><?php echo form::checkBox_field('standard_rate_cb', ${$class_third}->standard_rate_cb); ?> </td> <td><?php echo form::select_field_from_object('charge_type', bom_resource::charge_type(), 'option_line_code', 'option_line_value', ${$class_third}->charge_type, '', $readonly, '', '', 1); ?> </td> </tr> <?php $detailCount++; } ?> </tbody> </table> </div> <div id="tabsDetail-2-1" class="tabContent"> <table class="form form_detail_data_table detail"> <thead> <tr> <th><?php
</ul> </td> <td><?php form::number_field_wid3sr('routing_sequence'); ?> </td> <td><?php echo form::select_field_from_object('department_id', bom_department::find_all(), 'bom_department_id', 'department', ${$class_third}->department_id, 'department_id', 1); ?> </td> <td><?php form::text_field_wid3sr('resource_sequence'); ?> </td> <td><?php echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_third}->resource_id, '', 1, 'resource_id', '', 1); ?> </td> <td><?php form::number_field_wids('transaction_quantity'); ?> </td> <td><?php form::number_field_wid3sr('required_quantity'); ?> </td> <td><?php form::number_field_wid3sr('applied_quantity'); ?> </td> <td><?php
</td> <td><?php form::text_field_wid2('bom_overhead_resource_assignment_id'); ?> </td> <td><?php echo $f->select_field_from_object('bom_cost_type', bom_cost_type::find_all(), 'cost_type_code', 'cost_type', ${$class_second}->bom_cost_type, '', '', 1, $readonly); ?> </td> <td><?php $f->text_field_wid2r('bom_cost_type_description'); ?> </td> <td> <?php echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_second}->resource_id, '', $readonly, 'resource_id'); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </form> </div> </div> <div id="tabsLine-2" class="tabContent"> <div id ="form_line2" class="form_line2">
?> </li> <li><?php $f->l_text_field_d('resource'); ?> </li> <li><?php $f->l_text_field_d('description'); ?> </li> <li><?php $f->l_select_field_from_object('resource_type', bom_resource::resource_type(), 'option_line_code', 'option_line_value', ${$class}->resource_type, '', '', 1, $readonly1); ?> </li> <li><?php $f->l_select_field_from_object('charge_type', bom_resource::charge_type(), 'option_line_code', 'option_line_value', ${$class}->charge_type, '', '', 1, $readonly); ?> </li> <li><?php $f->l_select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom', '', 1, $readonly1); ?> </li> <li><?php $f->l_status_field_d('status'); ?> </li> </ul> </div> <div id="tabsHeader-2" class="tabContent"> <ul class="column header_field">
<?php include_once "../../../include/basics/basic.inc"; ?> <div id="json_bom_resource_find_all"> <?php if (!empty($_GET['org_id']) && ($_GET['find_all_bom_resource'] = 1)) { $org_id = $_GET['org_id']; $bom_resource_of_org = bom_resource::find_all_of_org_id($org_id); if (count($bom_resource_of_org) == 0) { return false; } else { foreach ($bom_resource_of_org as $key => $value) { echo '<option value="' . $value->bom_resource_id . '"'; echo '>' . $value->bom_resource . '</option>'; } } } ?> </div>
?> </td> <td><?php form::number_field_wid2s('assigned_units'); ?> </td> <td><?php echo form::checkBox_field('twenty_four_hr_cb', ${$class_second}->twenty_four_hr_cb); ?> </td> <td><?php echo form::checkBox_field('standard_rate_cb', ${$class_second}->standard_rate_cb); ?> </td> <td><?php echo form::select_field_from_object('charge_type', bom_resource::charge_type(), 'option_line_code', 'option_line_code', ${$class_second}->charge_type, 'charge_type', $readonly); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </div> </form> </div> </div> </div>