<?php $count = 0; $f = new inoform(); if (!empty($search_result)) { foreach ($search_result as $inv_reservation) { if (!empty($$class->sd_so_line_id)) { $so_details = sd_so_all_v::find_by_soLineId($$class->sd_so_line_id); $$class->so_number = $so_details->so_number; $$class->so_line_number = $so_details->line_number; } ?> <tr class="inv_reservation_line<?php echo $count ?>"> <td><?php $f->seq_field_d($count); ?></td> <td><?php echo $f->select_field_from_array('demand_type', inv_reservation::$demand_type_a, $$class->demand_type); ?></td> <td><?php echo $f->val_field_wid('so_number', 'sd_so_all_v', 'so_number', '', 'select so_number'); echo $f->hidden_field_withCLass('sd_so_header_id', $$class->sd_so_header_id ,'dontCopy'); echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id'); echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup dontCopy'); echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m'); ?><i class="select_so_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td> <td><?php echo $f->val_field_wid('so_line_number', 'sd_so_all_v', 'line_number', 'sd_so_line_id', 'select so_line_number line_number'); echo $f->hidden_field('sd_so_line_id', $$class->sd_so_line_id); echo $f->hidden_field_withCLass('shipping_org_id', '', 'popup_value org_id'); echo $f->hidden_field_withCLass('sd_so_header_id', '', 'popup_value sd_so_header_id_popup dontCopy'); echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m'); ?><i class="select_so_line_number generic select_popup clickable fa fa-search" data-class_name="sd_so_all_v"></i></td> <td><?php $f->text_field_wid('demand_comment'); ?></td> <td><?php $f->text_field_widr('d_reference_key_name' , 'always_readonly'); ?></td> <td><?php $f->text_field_widr('d_reference_key_value' , 'always_readonly'); ?></td>
"> <td> <?php echo ino_inline_action($fa_asset_component->fa_asset_component_id, array('fa_asset_id' => $fa_asset->fa_asset_id)); ?> </td> <td><?php $f->text_field_widr('fa_asset_component_id', 'always_readonly'); ?> </td> <td><?php $f->text_field_wids('line_number'); ?> </td> <td><?php echo $f->val_field_wid('component_asset_number', 'fa_asset', 'asset_number', '', ''); echo $f->hidden_field_withCLass('component_asset_id', $fa_asset_component->component_asset_id, 'fa_asset_id'); ?> <i class="generic g_select_asset_number select_popup clickable fa fa-search" data-class_name="fa_asset"></i> </td> <td><?php $f->text_field_wid('component_asset_description'); ?> </td> <td><?php $f->text_field_wid('component_type'); ?> </td> <td><?php $f->text_field_wid('source_type'); ?>