<tbody class="form_data_line_tbody"> <tr class="inv_transaction_line0" id="tab4_1"> <td><?php $f->ac_field_widm('account_id'); ?> </td> <td><?php form::text_field_wid('unit_cost'); ?> </td> <td><?php form::text_field_wid('costed_amount'); ?> </td> <td><?php form::text_field_wid('gl_journal_header_id'); ?> </td> </tr> </tbody> </table> </div> <div id="tabsLine-5" class="tabContent scrollElement"> <?php $ls_trclass = 'inv_transaction_line'; $line_object_ls = array(${$class}); $each_line_ls = $class; $line_class_name_sl =& $class; $ref_key_name = 'inv_transaction'; $ref_key_val = 'inv_transaction_id'; include_once HOME_DIR . '/includes/template/lot_serial_template.inc';
</table> </div> <div id="tabsLine-4" class="tabContent"> <table class="form_line_data_table"> <thead> <th><?php echo gettext('Account') ?></th> <th><?php echo gettext('Unit Cost') ?></th> <th><?php echo gettext('Costed Amount') ?></th> <th><?php echo gettext('Journal Header Id') ?></th> </thead> <tbody class="form_data_line_tbody"> <tr class="inv_transaction_line0" id="tab4_1"> <td><?php $f->ac_field_widm('account_id'); ?></td> <td><?php form::text_field_wid('unit_cost'); ?></td> <td><?php form::text_field_wid('costed_amount'); ?></td> <td><?php form::text_field_wid('gl_journal_header_id'); ?></td> </tr> </tbody> </table> </div> <div id="tabsLine-5" class="tabContent scrollElement"> <?php $ls_trclass = 'inv_transaction_line'; $line_object_ls = array($$class); $each_line_ls = $class; $line_class_name_sl = &$class; $ref_key_name = 'inv_transaction'; $ref_key_val = 'inv_transaction_id'; include_once HOME_DIR . '/includes/template/lot_serial_template.inc' ?> </div>
?> "> <td><?php $f->seq_field_d($count); ?> </td> <td><?php $f->text_field_wid('description', 'dontCopy'); ?> </td> <td><?php $f->status_field_d('status'); ?> </td> <td><?php form::text_field_wid('mdm_tax_region_id'); ?> </td> </tr> <?php $sales_region_object_ai->next(); if ($sales_region_object_ai->key() == $position + $per_page) { break; } $count = $count + 1; } ?> </tbody> </table> </div>
</li> <li><label>Revision</label> <?php echo form::checkBox_field('rev_enabled_cb', ${$class}->rev_enabled_cb, 'rev_enabled_cb', $readonly); ?> </li> <li><label>Rev Number</label><?php form::text_field_wid('rev_number'); ?> </li> <li><label>Sales Person</label><?php form::text_field_wid('sales_person'); ?> </li> <li><label>Description</label><?php form::text_field_wid('description'); ?> </li> </ul> </div> </div> <div id="tabsHeader-2" class="tabContent"> <div> <ul class="column four_column"> <li><label>Doc Currency : </label> <?php echo $f->select_field_from_object('document_currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class}->document_currency, 'document_currency', 'currency', 1, $readonly); ?> </li> <li><label>Payment Term : </label> <?php
?> </td> <td class="single_line"><?php echo locator::locator_structure(); ?> </td> <td><?php echo form::text_field_widsr('locator_id'); ?> </td> <td><?php form::text_field_wid('locator'); ?> </td> <td><?php form::text_field_wid('alias'); ?> </td> <td><?php echo form::extra_field(${$class}->ef_id, '10', $readonly); ?> </td> <td><?php echo form::status_field(${$class}->status, $readonly); ?> </td> </tr> <?php $count = $count + 1; } }
echo form::extra_field(${$class}->ef_id, '10', $readonly); ?> </td> <td> <?php echo form::status_field(${$class}->status, $readonly); ?> </td> <td> <?php echo form::checkBox_field('rev_enabled_cb' . $count, ${$class}->rev_enabled_cb, 'rev_enabled_cb', $readonly); ?> </td> <td> <?php form::text_field_wid('rev_number'); ?> </td> </tr> <?php $count = $count + 1; } } ?> </tbody> <!-- Showing a blank form for new entry--> </table> </div>
<div id="tabsHeader-3" class="tabContent"> <div> <ul class="column header_field"> <li><label>Common BOM Item Id: </label> <?php form::text_field_widsr('item_id_m'); ?> </li> <li><label>Item Number : </label> <?php form::text_field_wid('commonBom_item_number'); ?> </li> <li><label>Description: </label> <?php form::text_field_wid('commonBom_item_description'); ?> </li> </ul> </div> </div> </div> </div> </div> <div id="form_line" class="form_line"><span class="heading">BOM Lines </span> <div id="tabsLine"> <ul class="tabMain"> <li><a href="#tabsLine-1">Main</a></li> <li><a href="#tabsLine-2">Effectivity</a></li>
?> </td> <td><?php form::text_field_wid('tax_regime'); ?> </td> <td><?php form::text_field_wid('tax_jurisdiction'); ?> </td> <td><?php form::text_field_wid('printed_tax_name'); ?> </td> <td><?php form::text_field_wid('offset_tax_code'); ?> </td> </tr> <?php $tax_code_object_ai->next(); if ($tax_code_object_ai->key() == $position + $per_page) { break; } $count = $count + 1; } ?> </tbody> </table> </div>
?> "> <td><?php $f->seq_field_d($count); ?> </td> <td><?php $f->status_field_d('status'); ?> </td> <td><?php form::text_field_wid('tax_regime'); ?> </td> <td><?php form::text_field_wid('tax_jurisdiction'); ?> </td> </tr> <?php $tax_region_object_ai->next(); if ($tax_region_object_ai->key() == $position + $per_page) { break; } $count = $count + 1; } ?> </tbody> </table> </div>
?> </td> <td><?php echo form::select_field_from_object('class', uom::uom_class(), 'option_line_code', 'option_line_code', ${$class}->class, 'class', $readonly); ?> </td> <td><?php form::text_field_wid('description'); ?> </td> <td><?php $f->checkBox_field_d('primary_cb'); ?> </td> <td><?php form::text_field_wid('ef_id'); ?> </td> <td><?php echo form::status_field(${$class}->status, $readonly); ?> </td> <td><?php echo form::checkBox_field('rev_enabled_cb' . $count, ${$class}->rev_enabled_cb, 'rev_enabled_cb', $readonly); ?> </td> <td><?php form::text_field_wids('rev_number'); ?> </td> </tr>
$supplier_site_obj = !empty(${$class}->supplier_id) ? supplier_site::find_by_parent_id(${$class}->supplier_id) : array(); echo $f->select_field_from_object('supplier_site_id', $supplier_site_obj, 'supplier_site_id', 'supplier_site_name', ${$class}->supplier_site_id, 'supplier_site_id', '', '', $readonly1); ?> </li> <li><label>Revision : </label> <?php echo form::checkBox_field('rev_enabled_cb', ${$class}->rev_enabled_cb, 'rev_enabled_cb', $readonly); ?> </li> <li><label>Rev Number : </label> <?php form::text_field_wid('rev_number'); ?> </li> <li><label>Buyer : </label><?php form::text_field_wid('buyer'); ?> </li> <li><label>Description : </label><?php $f->text_field_dl('description'); ?> </li> </ul> </div> </div> <div id="tabsHeader-2" class="tabContent"> <div> <ul class="column five_column"> <li><label>Agreement Start Date : </label> <?php echo $f->date_fieldFromToday('agreement_start_date', ${$class}->agreement_start_date);