?> </td> <td><?php $f->seq_field_d($count); ?> </td> <td><?php $f->text_field_wid2sr('bom_routing_line_id', 'line_id always_readonly'); ?> </td> <td><?php $f->text_field_d2s('routing_sequence', 'lines_number'); ?> </td> <td><?php echo form::select_field_from_object('standard_operation_id', bom_standard_operation::find_all(), 'bom_standard_operation_id', 'standard_operation', ${$class_second}->standard_operation_id, '', $readonly); ?> </td> <td><?php echo form::checkBox_field('referenced_cb', ${$class_second}->referenced_cb); ?> </td> <td><?php echo form::select_field_from_object('department_id', bom_department::find_all(), 'bom_department_id', 'department', ${$class_second}->department_id, '', $readonly, '', '', 1); ?> </td> <td><?php form::text_field_wid2('description'); ?> </td> <td><?php
json_save('bom', 'bom_standard_operation', 'standard_operation', 'bom_standard_operation_id'); ?> </div> <div id="json_save_line"><?php json_saveLineData('bom', 'bom_standard_operation_resource_assignment', 'resource_sequence', 'bom_standard_operation_resource_assignment_id'); ?> </div> <div id="json_delete_line"> <?php json_delete('bom_standard_operation'); ?> </div> <div id="json_bom_standard_operation_find_all"> <?php if (!empty($_GET['org_id']) && ($_GET['find_all_bom_standard_operation'] = 1)) { $org_id = $_GET['org_id']; $bom_standard_operation_of_org = bom_standard_operation::find_all_of_org_id($org_id); if (count($bom_standard_operation_of_org) == 0) { return false; } else { foreach ($bom_standard_operation_of_org as $key => $value) { echo '<option value="' . $value->bom_standard_operation_id . '"'; echo '>' . $value->bom_standard_operation . '</option>'; } } } ?> </div>