?> <i class="select_item_number select_popup clickable fa fa-search"></i></td> <td><?php form::text_field_wid2('item_description'); ?> </td> <td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small'); ?> </td> <td><?php $f->text_field_wid2r('line_status'); ?> </td> <td><?php form::number_field_wid2s('line_quantity'); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </div> <div id="tabsLine-2" class="scrollElement tabContent"> <table class="form_line_data_table"> <thead> <tr> <th>Seq#</th>
form::text_field_widr('item_description'); ?> </li> <li><label>UOM : </label> <?php echo $f->select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom_id', 'uom_id'); ?> </li> <li><label>Total Quantity : </label> <?php form::number_field_dr('total_quantity'); ?> </li> <li><label>Completed Quantity : </label> <?php form::number_field_wid2s('completed_quantity'); ?> </li> </ul> </div> <div class="second_rowset"> <table class="form_line_data_table"><span class="heading">Quantity Status</span> <thead> <tr> <th>Sequence</th> <th>Department</th> <th>Description</th> <th>Queue</th> <th>Running</th>
</td> <td><?php echo $f->text_field('item_number', ${$class_second}->item_number, '20', '', 'select_item_number', '', $readonly); echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m); ?> <i class="select_item_number select_popup clickable fa fa-search"></i></td> <td><?php form::text_field_wid2s('item_description'); ?> </td> <td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small'); ?> </td> <td><?php form::number_field_wid2s('quantity'); ?> </td> <td><?php echo empty(${$class_second}->sd_so_header_id) ? $f->select_field_from_array('add_to_order', $add_to_order_a, '') : ''; ?> </td> <td><?php echo $f->select_field_from_array('logistic_action', hd_svo_line::$action_a, ''); ?> </td> </tr> <?php $count = $count + 1; } ?>
<tr class="am_wo_routing_line<?php echo $count; ?> "> <td> <?php echo ino_inline_action($am_wo_routing_line->am_wo_routing_line_id, array('am_wo_header_id' => ${$class}->am_wo_header_id)); ?> </td> <td><?php $f->text_field_wid2sr('am_wo_routing_line_id'); ?> </td> <td><?php form::number_field_wid2s('routing_sequence'); ?> </td> <td><?php echo form::select_field_from_object('department_id', bom_department::find_all(), 'bom_department_id', 'department', ${$class_second}->department_id, 'department_id', $readonly); ?> </td> <td><?php $f->text_field_wid2('description'); ?> </td> <td><?php echo form::checkBox_field('count_point_cb', ${$class_second}->count_point_cb); ?> </td> <td><?php
<td><?php $f->val_field_wid2('transaction_number', 'ap_transaction_header', 'transaction_number', 'supplier_id'); echo $f->hidden_field_withCLass('ap_transaction_header_id', ${$class_second}->ap_transaction_header_id, 'dont_copy_r'); echo $f->hidden_field_withCLass('supplier_id', ${$class}->supplier_id, 'popup_value supplier_id'); ?> <i class="generic g_select_ap_transaction_number select_popup clickable fa fa-search" data-class_name="ap_transaction_header"></i></td> <td><?php !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('amount') : form::number_field_wid2s('amount'); ?> </td> <td><?php !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('exchange_rate') : form::number_field_wid2s('exchange_rate'); ?> </td> <td><?php !empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('gl_amount') : form::number_field_wid2s('gl_amount'); ?> </td> <td><?php $f->text_field_wid2r('invoice_amount', 'header_amount dont_copy_r'); ?> </td> <td><?php $f->text_field_wid2sr('paid_amount', 'dont_copy_r'); ?> </td> <td><?php $f->text_field_wid2sr('remaining_amount', 'dont_copy_r'); ?> </td> </tr>
?> </td> <td><?php echo $f->date_fieldAnyDay('expense_date', ${$class_second}->expense_date); ?> </td> <td><?php form::number_field_wid2s('receipt_amount'); ?> </td> <td><?php $f->text_field_wid2('purpose'); ?> </td> <td><?php form::number_field_wid2s('exchange_rate'); ?> </td> <td><?php form::text_field_wid2('vendor_name'); ?> </td> <td><?php form::text_field_wid2('vendor_details'); ?> </td> </tr> <?php $count = $count + 1; } ?>
</td> <td><?php form::text_field_wid2('eco_number'); ?> </td> <td><?php echo form::checkBox_field('include_in_rollup_cb', ${$class_second}->include_in_rollup_cb); ?> </td> <td><?php form::number_field_wid2s('yield'); ?> </td> <td><?php form::number_field_wid2s('cumm_yield'); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> <!-- Showing a blank form for new entry--> </table> </div> <div id="tabsLine-3" class="tabContent"> <?php $extra_element_label = 'Data Collection Element';
</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> <td><?php form::number_field_wid2s('efficiency'); ?> </td> <td><?php form::number_field_wid2s('utilization'); ?> </td> <td><?php form::number_field_wid2s('no_of_units'); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </div> </form> </div> </div> </div>
</td> <td><?php $f->seq_field_d($count) ?></td> <td><?php form::text_field_wid2sr('sd_so_line_id', 'line_id'); ?></td> <td><?php echo form::text_field('line_number', $$class_second->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number'); ?></td> <td><?php echo $f->select_field_from_object('line_type', sd_document_type::find_all_line_levels(), 'sd_document_type_id', 'document_type_name', $$class_second->line_type, '', 'medium', 1, $readonly, '', '', '', 'process_flow_id'); ?></td> <td><?php echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', $$class_second->shipping_org_id, '', '', 1, $readonly); ?></td> <td><?php $f->val_field_wid2('item_number', 'item', 'item_number', 'shipping_org_id'); echo $f->hidden_field_withCLass('item_id_m', $$class_second->item_id_m,'dont_copy_r'); echo $f->hidden_field_withCLass('customer_ordered_cb', '1', 'popup_value'); ?> <i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td> <td><?php form::text_field_wid2s('item_description'); ?></td> <td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class_second->uom_id, '', 'small'); ?></td> <td><?php form::number_field_wid2s('line_quantity'); ?></td> <td><?php $f->text_field_wid2r('line_status'); ?></td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </div> <div id="tabsLine-2" class="scrollElement tabContent"> <table class="form_line_data_table"> <thead> <tr> <th><?php echo gettext('Seq') ?>#</th> <th><?php echo gettext('Price List') ?></th>
<td><?php echo form::checkBox_field('required_cb', ${$class_third}->required_cb); ?> </td> <td><?php !empty(${$class_second}->field_name) ? $fielNamereadonly = 1 : ($fielNamereadonly = ''); echo form::text_field('field_name', ${$class_second}->field_name, 20, 50, 1, 'use small letters', '', $fielNamereadonly, 'field_name'); ?> </td> <td> <?php echo $f->select_field_from_object('field_type', content_type::content_field_type(), 'option_line_code', 'option_line_value', ${$class_second}->field_type, '', '', 1, $readonly, 'field_type', ''); ?> </td> <td><?php form::number_field_wid2s('field_num'); ?> </td> <td><?php form::text_field_wid2('field_enum'); ?> </td> <td><?php echo $f->select_field_from_object('option_type', option_header::find_all(), 'option_header_id', 'option_type', ${$class_third}->option_type, '', 'medium'); ?> </td> </tr> <?php $count++; } ?>
?> </td> <td><?php echo form::select_field_from_object('charge_basis', bom_header::bom_charge_basis(), 'option_line_id', 'option_line_code', ${$class_second}->charge_basis, 'charge_basis', $readonly, 'default_basis'); ?> </td> <td><?php form::number_field_wid2s('resource_usage'); ?> </td> <td><?php echo form::select_field_from_object('resource_schedule', bom_header::bom_schedule_option(), 'option_line_id', 'option_line_code', ${$class_second}->resource_schedule, 'resource_schedule', $readonly, 'default_basis'); ?> </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>