echo gettext('Inventory'); ?> </label><?php echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1); ?> </li> <li><?php echo $f->l_select_field_from_array('transaction_type_id', inv_rma_receipt_header::$transaction_type_id_a, ${$class}->transaction_type_id, 'transaction_type_id', '', 1, $readonly1); ?> </li> <li><?php echo $f->l_number_field('receipt_number', ${$class}->receipt_number, '8', '', 'primary_column2', '', $readonly1); ?> </li> <li><?php echo $f->l_date_fieldFromToday('receipt_date', ino_date(${$class}->receipt_date), $readonly1); ?> </li> </ul> </div> <div id="tabsHeader-2" class="tabContent"> <div> <?php echo ino_attachement($file); ?> </div> </div> <div id="tabsHeader-3" class="tabContent"> <div id="comments"> <div id="comment_list"> <?php echo !empty($comments) ? $comments : "";
?> </td> <td><?php form::text_field_wid2sr('rejected_quantity'); ?> </td> <td><?php form::number_field_wid2sr('tomove_quantity'); ?> </td> <td><?php echo form::date_fieldFromToday('start_date', ino_date(${$class_second}->start_date)); ?> </td> <td><?php echo form::date_fieldFromToday('completion_date', ino_date(${$class_second}->completion_date)); ?> </td> <td><?php form::text_field_wid2sr('completed_quantity'); ?> </td> </tr> <?php $count = $count + 1; } ?> </tbody> </table> </div>
?> " class="show document_id inv_moveorder_header_id"><i class="fa fa-refresh"></i></a> </li> <li><?php $f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly1); ?> </li> <li><?php $f->l_text_field('order_number', ${$class}->order_number, '', 'order_number', 'primary_column2', '', $readonly1); ?> </li> <li><label><?php echo gettext('Date'); ?> </label><?php echo $f->date_fieldFromToday_d('transaction_date', ino_date(${$class}->transaction_date), $readonly1); ?> </li> <li><?php echo $f->l_select_field_from_array('transaction_type_id', inv_moveorder_header::$transaction_type_id_a, ${$class}->transaction_type_id, 'transaction_type_id', '', 1, $readonly1, $readonly1); ?> </li> </ul> </div> <div id="tabsHeader-2" class="tabContent"> <div> <?php echo ino_attachement($file); ?> </div> </div> <div id="tabsHeader-3" class="tabContent">
" class="show document_id sd_delivery_header_id"><i class="fa fa-refresh"></i></a> </li> <li><?php $f->l_select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->shipping_org_id, '', '', 1, $readonly1); ?> </li> <li><?php $f->l_text_field_d('delivery_number'); ?> </li> <li><?php $f->l_select_field_from_array('status', sd_delivery_header::$status_a, ${$class}->status, '', '', 1, 1, 1); ?> </li> <li><?php $f->l_date_fieldFromToday('delivery_date', ino_date(${$class}->delivery_date)); ?> </li> </ul> </div> <div id="tabsHeader-2" class="tabContent"> <div> <div id="show_attachment" class="show_attachment"> <div id="file_upload_form"> <ul class="inRow asperWidth"> <li><input type="file" id="attachments" class="attachments" name="attachments[]" multiple/></li> <li> <input type="button" value="Attach" form="file_upload" name="attach_submit" id="attach_submit" class="submit button"></li> <li class="show_loading_small"><img alt="Loading..." src="<?php echo HOME_URL; ?> themes/images/small_loading.gif"/></li>
?> </td> <td><?php form::text_field_wid3('ship_to_location_id'); ?> </td> <td><?php form::number_field_wid3s('quantity'); ?> </td> <td><?php echo form::date_fieldFromToday('need_by_date', ino_date(${$class_third}->need_by_date)); ?> </td> <td><?php echo form::date_fieldFromToday('promise_date', ino_date(${$class_third}->promise_date)); ?> </td> </tr> <?php $detailCount++; } ?> </tbody> </table> </div> <div id="tabsDetail-2-1" class="tabContent"> <table class="form form_detail_data_table detail"> <thead> <tr>
<li><a href="#tabsHeader-1"><?php echo gettext('Basic Info') ?></a></li> <li><a href="#tabsHeader-2"><?php echo gettext('Attachments') ?></a></li> <li><a href="#tabsHeader-3"><?php echo gettext('Actions') ?></a></li> <li><a href="#tabsHeader-4"><?php echo gettext('Note') ?></a></li> </ul> <div class="tabContainer"> <form action="" method="post" id="sd_delivery_header" name="sd_delivery_header"> <div id="tabsHeader-1" class="tabContent"> <ul class="column header_field"> <li><?php $f->l_text_field_dr_withSearch('sd_delivery_header_id'); ?> <a name="show" href="form.php?class_name=sd_delivery_header&<?php echo "mode=$mode"; ?>" class="show document_id sd_delivery_header_id"><i class="fa fa-refresh"></i></a> </li> <li><?php $f->l_select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', $$class->shipping_org_id, '', '', 1, $readonly1); ?> </li> <li><?php $f->l_text_field_d('delivery_number'); ?></li> <li><?php $f->l_select_field_from_array('status', sd_delivery_header::$status_a, $$class->status, '', '', 1, 1, 1) ?> </li> <li><?php $f->l_date_fieldFromToday('delivery_date', ino_date($$class->delivery_date)); ?></li> </ul> </div> <div id="tabsHeader-2" class="tabContent"> <div> <div id="show_attachment" class="show_attachment"> <div id="file_upload_form"> <ul class="inRow asperWidth"> <li><input type="file" id="attachments" class="attachments" name="attachments[]" multiple/></li> <li> <input type="button" value="Attach" form="file_upload" name="attach_submit" id="attach_submit" class="submit button"></li> <li class="show_loading_small"><img alt="Loading..." src="<?php echo HOME_URL; ?>themes/images/small_loading.gif"/></li> </ul> </div> <div id="uploaded_file_details"></div> <?php echo file::attachment_statement($file); ?> </div>