Esempio n. 1
0
         </td>
         <td><?php 
    $f->text_field_widr('sys_catalog_value_id');
    ?>
</td>
         <td><?php 
    $f->text_field_widr('line_name');
    ?>
</td>
         <td><?php 
    $f->text_field_widr('description');
    ?>
</td>
         <td><?php 
    if (!empty($val_group_lines)) {
        echo $f->select_field_from_object('line_value', $val_group_lines, 'code', 'code_value', ${$class}->line_value);
    } else {
        $f->text_field_wid('line_value');
    }
    ?>
         </td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
   </form>
  </div>
  </table>
 </div>
 <div id="tabsLine-2" class="tabContent">
  <table class="form_line_data_table">
   <thead>
   <th><?php echo gettext('From SubInv') ?></th>
   <th><?php echo gettext('From Locator') ?></th>
   <th><?php echo gettext('To SubInv') ?></th>
   <th><?php echo gettext('To Locator') ?></th>
   <th><?php echo gettext('Description') ?></th>
   <th><?php echo gettext('Reason') ?></th>
   </thead>
   <tbody class="form_data_line_tbody">
    <tr class="inv_transaction_line0" id="tab2_1">
     <td>
      <?php echo $f->select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->from_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('from_locator_id', locator::find_all_of_subinventory($$class->from_subinventory_id), 'locator_id', 'locator', $$class->from_locator_id, '', 'from_locator_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->to_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_locator_id', locator::find_all_of_subinventory($$class->to_subinventory_id), 'locator_id', 'locator', $$class->to_locator_id, '', 'to_locator_id', '', $readonly); ?>
     </td>
     <td><?php form::text_field_wid('description'); ?>							</td>
     <td><?php form::text_field_wid('reason'); ?>							</td>
    </tr>
   </tbody>
  </table>
     <li><a href="#tabsHeader-3"><?php 
echo gettext('Attachments');
?>
</a></li>
    </ul>
    <div class="tabContainer">
     <div id="tabsHeader-1" class="tabContent">
      <ul class="column header_field two_column_form ">
       <li><?php 
$f = new inoform();
echo $f->hidden_field_withIdClass('hd_subscription_header_id', ${$class}->hd_subscription_header_id, 'hd_subscription_header_id');
$f->l_select_field_from_array('subscription_type', hd_subscription_header::$subscription_type_a, ${$class}->subscription_type, 'subscription_type', '', 1);
?>
</li>
       <li><label>Membership Type</label><?php 
echo $f->select_field_from_object('document_type', option_header::find_options_byName('HD_SUBSCR_DOC_TYPE'), 'option_line_code', 'option_line_value', ${$class}->document_type, 'document_type', $readonly1, '', '');
?>
						 </li>
       <li><?php 
$f->l_text_field_d('first_name');
?>
</li>
       <li><?php 
$f->l_text_field_d('last_name');
?>
</li>
       <li><?php 
$f->l_text_field_d('full_name');
?>
</li>
       <li><?php 
Esempio n. 4
0
         <td>
          <?php 
    $f = new inoform();
    echo ino_inline_action($hd_sbp_line->hd_sbp_line_id, array('hd_sbp_header_id' => ${$class}->hd_sbp_header_id));
    ?>
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    form::text_field_wid2sr('hd_sbp_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('hd_service_activity_header_id', hd_service_activity_header::find_all(), 'hd_service_activity_header_id', 'activity_name', ${$class_second}->hd_service_activity_header_id);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('start_date', ${$class_second}->start_date);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('end_date', ${$class_second}->end_date);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('description');
    ?>
</td>
        </tr>
Esempio n. 5
0
    ?>
</td>
         <td><?php 
    $f->text_field_d2('description');
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_from', ${$class_second}->effective_from);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldAnyDay('effective_to', ${$class_second}->effective_to);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->org_id, '', 'resource_type_control');
    ?>
						 </td>
         <td><?php 
    $f->text_field_wid2('employee_name', 'select employee resource_type_control');
    echo $f->hidden_field_withCLass('hr_employee_id', ${$class_second}->hr_employee_id, 'resource_type_control employee');
    ?>
<i class="select_employee_name select_popup clickable fa fa-search"></i></td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
Esempio n. 6
0
        <?php 
$f = new inoform();
$count = 0;
foreach ($po_line_object as $po_line) {
    ?>
         
         <tr class="po_line<?php 
    echo $count;
    ?>
">
          <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('price_list_header_id', mdm_price_list_header::find_all_purchasing_pl(), 'mdm_price_list_header_id', 'price_list', ${$class_second}->price_list_header_id, '', 'medium copyValue');
    ?>
          </td>
          <td><?php 
    echo $f->date_fieldAnyDay('price_date', ${$class_second}->price_date, 'copyValue');
    ?>
</td>
          <td><?php 
    echo $f->number_field('unit_price', ${$class_second}->unit_price);
    ?>
</td>
          <td><?php 
    echo $f->number_field('line_price', ${$class_second}->line_price);
    ?>
</td>
          <td><?php 
Esempio n. 7
0
         </li>
      <li><?php 
$f->l_select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, 'from_locator_id', 'locator_id from_subinventory_id', '', $readonly);
?>
         </li>
      <li><?php 
echo $f->l_val_field_d('supplier_name', 'supplier', 'supplier_name', '', 'supplier_name', 'vf_select_supplier_name');
echo $f->hidden_field_withId('supplier_id', ${$class}->supplier_id);
?>
<i class="generic g_select_supplier_name select_popup clickable fa fa-search" data-class_name="supplier"></i></li>
      <li><label><?php 
echo gettext('Supplier Site');
?>
</label><?php 
$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><?php 
$f->l_text_field_d('rfid_reference');
?>
</li>
     </ul>
    </div>
    <div id="tabsHeader-4" class="tabContent">
     <div> 
      <div id="comments">
       <div id="comment_list">
        <?php 
echo !empty($comments) ? $comments : "";
?>
Esempio n. 8
0
">
         <td><?php 
    echo ino_inline_action(${$class_second}->bc_label_format_line_id, array('bc_label_format_header_id' => $bc_label_format_header->bc_label_format_header_id));
    ?>
        
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid2sr('bc_label_format_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('object_name', view::find_all_tables_and_views(), 'TABLE_NAME', 'TABLE_NAME', ${$class_second}->object_name, '', 'medium', 1);
    ?>
 </td>
         <td><?php 
    echo $f->select_field_from_array('sys_field_name', $sys_field_name_a, ${$class_second}->sys_field_name, '', 'medium', 1);
    ?>
 </td>
         <td><?php 
    echo $f->text_field_wid2l('field_name');
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid2l('description');
    ?>
</td>
        </tr>
<div id="view_divId">
 <div id ="form_header"> <span class="heading"> Form Personalization  </span>
  <form action=""  method="post" id="sys_form_personalization_header"  name="sys_form_personalization_header">
   <div class="tabContainer">
    <div id="tabsHeader-1" class="tabContent">
     <div id="form_serach_header" class="tabContainer">
      <label><?php 
$f = new inoform();
echo gettext('Object Name');
?>
</label></label>
      <?php 
echo $f->select_field_from_object('obj_class_name', view::find_all_tables(), 'TABLE_NAME', 'TABLE_NAME', $obj_class_name_h, 'obj_class_name');
?>
      <a name="show" href="form.php?class_name=sys_form_personalization&<?php 
echo "mode={$mode}";
?>
" class="show document_id sys_form_personalization_id">
       <i class="fa fa-refresh"></i></a> 
     </div>
    </div>
   </div>
   <div id="form_line" class="form_line"><span class="heading">Form Personalization Details </span>
    <div id="tabsDetailD">
     <ul class="tabMain">
      <li><a href="#tabsDetailD-1">Template Code</a></li>
      <li><a href="#tabsDetailD-2">Form View</a></li>
     </ul>
     <div class="tabContainer">
      <div id="tabsDetailD-1" class="tabContent">
       <div class="well">Save the custom template @ <strong>themes\default\template</strong> as file name  <strong><?php 
Esempio n. 10
0
</li>
 								</ul>
 							 </td>
 							 <td><?php 
    form::number_field_wid2sr('sys_profile_line_id');
    ?>
</td>
								<?php 
    switch ($profile_level) {
        case 'SITE':
            echo "<td>";
            echo $f->text_field('level_name', 'SITE', '', '', '', 1, 1) . '</td><td>';
            break;
        case 'BUSINESS':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_business(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'INVENTORY':
            echo "<td>";
            echo $f->select_field_from_object('level_name', $org->findAll_inventory(), 'org_id', 'org', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
        case 'USER':
            echo '<td>';
            echo $f->select_field_from_object('level_name', user::find_all(), 'user_id', 'username', ${$class_second}->level_name, '', '', 1) . "</td><td>";
            break;
    }
    if (empty($line_values)) {
        echo $f->text_field_wid2('level_value') . '</td>';
    } else {
        echo $f->select_field_from_object('level_value', $line_values, $line_key, $line_desc, ${$class_second}->level_value, '', '', '') . "</td>";
    }
Esempio n. 11
0
</td>
         <td><?php 
    $f->text_field_wid2sr('component_item_id_m', 'item_id_m');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('component_item_number', 'select_item_number');
    ?>
          <i class="select_item_number select_popup clickable fa fa-search"></i></td>
         <td><?php 
    if (!empty(${$class_second}->component_item_id_m) && !empty(${$class}->org_id)) {
        $revision_name_a = inv_item_revision::find_by_itemIdM_orgId(${$class_second}->component_item_id_m, ${$class}->org_id);
    } else {
        $revision_name_a = array();
    }
    echo $f->select_field_from_object('component_revision', $revision_name_a, 'revision_name', 'revision_name', ${$class_second}->component_revision, '', 'small');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('component_description', 'item_description');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('component_uom', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->component_uom, '', '', '', $readonly);
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('usage_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_second}->usage_basis, '', $readonly, 'usage_basis', '', 1);
    ?>
</td>
         <td><?php 
         
        <tr class="hr_leave_entitlement_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    echo ino_inline_action(${$class_second}->hr_leave_entitlement_line_id, array('hr_leave_entitlement_header_id' => ${$class}->hr_leave_entitlement_header_id));
    ?>
       
         </td>
         <td><?php 
    $f->text_field_wid2sr('hr_leave_entitlement_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('leave_type', hr_leave_type::find_all(), 'hr_leave_type_id', 'leave_type', ${$class_second}->leave_type, '', 'leave_type', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('period', option_header::period_types(), 'option_line_code', 'option_line_value', ${$class_second}->period, '', 'period', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->number_field('leave_per_period', ${$class_second}->leave_per_period);
    ?>
</td>
         <td><?php 
    echo $f->number_field('default_no_of_period', ${$class_second}->default_no_of_period);
    ?>
</td>
Esempio n. 13
0
       <a name="show" href="form.php?class_name=prj_status_header&<?php 
echo "mode={$mode}";
?>
" class="show document_id prj_status_header_id"><i class="fa fa-refresh"></i></a> 
      </li>
      <li><?php 
$f->l_text_field_d('order_number', 'primary_column2');
?>
</li>
      <li><?php 
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
						 </li>
      <li><label>Service Type</label>
       <?php 
echo $f->select_field_from_object('hd_service_type_header_id', hd_service_type_header::find_all(), 'hd_service_type_header_id', 'service_type', ${$class}->hd_service_type_header_id, 'hd_service_type_header_id', 'medium', 1, $readonly1);
?>
						 </li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Name');
?>
</label><?php 
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
echo $f->text_field('customer_name', ${$class}->customer_name, '20', 'customer_name', 'select_customer_name', '', $readonly1);
?>
       <i class="ar_customer_id select_popup clickable fa fa-search"></i></li>
      <li><label class="auto_complete"><?php 
echo gettext('Customer Number');
?>
</label><?php 
$f->text_field_d('customer_number');
         
        <tr class="hr_element_history_line<?php 
    echo $count;
    ?>
">
         <td>
          <?php 
    echo ino_inline_action(${$class_second}->hr_element_history_line_id, array('hr_element_history_header_id' => ${$class}->hr_element_history_header_id));
    ?>
         </td>
         <td><?php 
    $f->text_field_wid2sr('hr_element_history_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('element_id', hr_compensation_element::find_all(), 'hr_compensation_element_id', array('element_name', 'calculation_rule'), ${$class_second}->element_id, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2m('element_value');
    ?>
</td>
         <td><?php 
    $mon_val = hr_element_history_line::find_monetary_value_by_id(${$class_second}->hr_element_history_line_id);
    echo $f->text_field('monetary_value', $mon_val, '', '', '', '', 1);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldFromToday('end_date', ${$class_second}->end_date);
    ?>
</td>
Esempio n. 15
0
<div class="row small-left-padding">
 <div id="form_all">
  <div id="form_headerDiv">
   <form action=""  method="post" id="ec_cart_line"  name="cart_line">
    <span class="heading"><?php 
echo gettext('Cart');
$f = new inoform();
?>
</span>
    <div id="form_serach_header" class="tabContainer">
     <label><?php 
echo gettext('User Name');
?>
</label>
<?php 
echo $f->select_field_from_object('user_id', user::find_all(), 'user_id', 'username', $user_id_h, 'user_id');
?>
     <a name="show" href="form.php?class_name=ec_cart&<?php 
echo "mode={$mode}";
?>
" class="show document_id ec_cart_id">
      <i class="fa fa-refresh"></i></a> 
    </div>
    <div id ="form_line" class="ec_cart"><span class="heading">Product Details </span>
     <div id="tabsLine">
      <ul class="tabMain">
       <li><a href="#tabsLine-1"><?php 
echo gettext('Current Cart');
?>
</a></li>
       <li><a href="#tabsLine-2"><?php 
Esempio n. 16
0
         
        <tr class="qa_cp_assignment_line<?php 
    echo $count;
    ?>
">
         <td>
          <?php 
    echo ino_inline_action($qa_cp_assignment_line->qa_cp_assignment_line_id, array('qa_cp_assignment_header_id' => $qa_cp_assignment_header->qa_cp_assignment_header_id, 'qa_cp_header_id' => $qa_cp_assignment_header->qa_cp_header_id));
    ?>
         </td>
         <td><?php 
    $f->text_field_wid2sr('qa_cp_assignment_line_id', 'always_readonly dontCopy line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('trigger_name', option_header::find_options_byName('QA_COLLECTION_TRIGGER'), 'option_line_code', 'option_line_value', ${$class_second}->trigger_name, '', '', 1);
    ?>
</td> 
         <td><?php 
    echo $f->select_field_from_array('trigger_condition', dbObject::$control_type_a, ${$class_second}->trigger_condition, 1);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('value_from');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('value_to');
    ?>
</td>
        <tr class="prj_project_type_line<?php 
    echo $count;
    ?>
">
         <td>
          <?php 
    echo ino_inline_action($prj_project_type_line->prj_project_type_line_id, array('prj_project_type_header_id' => $prj_project_type_header->prj_project_type_header_id));
    ?>
         </td>

         <td><?php 
    form::text_field_wid2sr('prj_project_type_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('prj_category_header_id', prj_category_header::find_all(), 'prj_category_header_id', 'category', ${$class_second}->prj_category_header_id, '', 'large', 1, $readonly);
    ?>
</td>
         <td><?php 
    form::text_field_wid2r('category_description');
    ?>
</td>
         <td><?php 
    echo $f->checkBox_field_wid2('required_cb');
    ?>
</td> 
        </tr>
        <?php 
    $count = $count + 1;
}
?>
Esempio n. 18
0
           <td>    
            <ul class="inline_action">
             <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
             <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
             <li><input type="checkbox" name="line_id_cb" value="<?php 
    echo htmlentities($hr_location->hr_location_id);
    ?>
"></li>           
            </ul>
           </td>
           <td><?php 
    form::number_field_widsr('hr_location_id');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('country', sys_value_group_line::find_by_parent_id('14'), 'code', 'code_value', $hr_location->country, '', 'medium field_values');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('state', sys_value_group_line::find_by_parent_id('15'), 'code', 'code_value', $hr_location->state, '', 'medium field_values');
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('city', sys_value_group_line::find_by_parent_id('13'), 'code', 'code_value', $hr_location->city, '', 'medium field_values');
    ?>
</td>

           <td><?php 
    echo $f->text_field_widr('combination', 'always_readonly large');
    ?>
</td>
Esempio n. 19
0
        ?>
">
                     <td><?php 
        echo ino_inline_action(${$class_third}->wip_wo_routing_detail_id, array('wip_wo_header_id' => ${$class}->wip_wo_header_id, 'wip_wo_routing_line_id' => ${$class_second}->wip_wo_routing_line_id), 'add_row_detail_img', 'detail_id_cb');
        ?>
                       </td>
                     <td><?php 
        $f->text_field_wid3sr('wip_wo_routing_detail_id');
        ?>
</td>
                     <td><?php 
        $f->text_field_wid3sm('resource_sequence', 'seq_number');
        ?>
</td>
                     <td><?php 
        echo $f->select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_third}->resource_id, '', '', 1, $readonly);
        ?>
</td>
                     <td><?php 
        echo $f->select_field_from_object('charge_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_third}->charge_basis, '', 'small', 1, $readonly);
        ?>
</td>
                     <td><?php 
        form::number_field_wid3sm('resource_usage');
        ?>
</td>
                     <td><?php 
        echo form::select_field_from_object('resource_schedule', bom_header::bom_schedule_option(), 'option_line_code', 'option_line_value', ${$class_third}->resource_schedule, '', $readonly, 'default_basis', '', 1);
        ?>
</td>
                     <td><?php 
Esempio n. 20
0
">
         <td><?php 
    echo ino_inline_action(${$class_second}->hr_team_line_id, array('option_line_code' => $hr_team_header->hr_team_header_id));
    ?>
         </td>
         <td><?php 
    $f->text_field_wid2sr('hr_team_line_id');
    ?>
</td>
         <td><?php 
    echo $f->val_field('member_employee_name', ${$class_second}->member_employee_name, '', '', 'vf_select_member_employee_name employee_name', '', '', 'hr_employee_v', 'employee_name');
    echo $f->hidden_field_withCLass('member_employee_id', ${$class_second}->member_employee_id, 'employee_id');
    ?>
<i class="generic g_select_employee_name select_popup clickable fa fa-search" data-class_name="hr_employee_v"></i></td>
         <td><?php 
    echo $f->select_field_from_object('region', sys_value_group_line::find_by_parent_id($team_reg_vg_id), 'sys_value_group_line_id', 'code_value', ${$class_second}->region);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('role', hr_team_header::hr_role(), 'option_line_code', 'option_line_value', ${$class_second}->role);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('responsibility', hr_team_line::$responsibility_a, ${$class_second}->responsibility);
    ?>
</td>
         <td><?php 
    echo $f->date_fieldFromToday('start_date', ${$class_second}->start_date);
    ?>
</td>
         <td><?php 
            <ul class="column four_column"> 
             <li> <label><img src="<?php 
echo HOME_URL;
?>
themes/images/serach.png" class="inv_lot_number_id select_popup clickable">
               lot Id : </label><?php 
$f->text_field_dsr('inv_lot_number_id');
?>
              <a name="show" href="form.php?class_name=inv_lot_number" class="show inv_lot_number_id">	<img src="<?php 
echo HOME_URL;
?>
themes/images/refresh.png" class="clickable"></a> 
             </li>
             <li><label>Inventory Org </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><label> <?php 
if (empty(${$class}->inv_lot_number_id)) {
    echo "<img src='" . HOME_URL . "themes/images/serach.png' class='select_item_number select_popup clickable'>";
}
?>
 Item Number(2) : </label>
              <?php 
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
?>
              <?php 
if (empty(${$class}->inv_lot_number_id)) {
    $f->text_field_d('item_number', 'select_item_number');
} else {
Esempio n. 22
0
    ?>
</td>
         <td><?php 
    $f->text_field_d2('item_number', 'select_item_number');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('revision_name');
    ?>
</td>
         <td><?php 
    $f->text_field_d2('item_description');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $inv_receipt_line->uom_id, '', '', '', $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->checkBox_field('kit_cb', ${$class_second}->kit_cb, '', 'dontCopy');
    ?>
</td>
         <td><?php 
    echo $f->number_field('transaction_quantity', ${$class_second}->transaction_quantity, '8', '', '', 1, $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->subinventory_id, '', 'subinventory_id', 1, $readonly);
    ?>
</td>
         <td><?php 
Esempio n. 23
0
    ?>
</td>
         <td><?php 
    echo $f->text_field('task_number2', ${$class_second}->task_number, '', '', 'task_number');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2s('task_level_weight');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2s('service_type');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('work_type', prj_work_type::find_all(), 'prj_work_type_id', 'work_type', ${$class_second}->work_type, '', '', 1);
    ?>
</td>
         <td><?php 
    $f->checkBox_field_wid2('allow_charges_cb');
    ?>
</td>    
         <td><?php 
    $f->checkBox_field_wid2('capitalizable_cb');
    ?>
</td>   
         <td><?php 
    $f->text_field_wid2('task_status');
    ?>
</td>
         <td><?php 
        ?>
         
            <tr class="inv_reservation_line<?php 
        echo $count;
        ?>
">
             <td><?php 
        $f->seq_field_d($count);
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_array('supply_type', inv_reservation::$supply_type_a, ${$class}->supply_type);
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, '', 'subinventory_id subinventory');
        ?>
         </td>
             <td><?php 
        echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class}->subinventory_id), 'locator_id', 'locator', ${$class}->locator_id, '', 'locator_id locator');
        ?>
         </td>
             <td><?php 
        echo $f->val_field_wid('serial_number', 'inv_serial_number', 'serial_number', 'item_id_m');
        echo $f->hidden_field_withCLass('inv_serial_number_id', ${$class}->inv_serial_number_id, 'dontCopy');
        echo $f->hidden_field_withCLass('org_id', ${$class}->org_id, 'popup_value');
        echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'popup_value item_id_m');
        echo $f->hidden_field_withCLass('current_subinventory_id', '', 'popup_value current_subinventory_id');
        echo $f->hidden_field_withCLass('current_locator_id', '', 'popup_value current_locator_id');
        ?>
<i class="select_serial_number_id generic select_popup clickable fa fa-search" data-class_name="inv_serial_number"></i></td> 
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid3('value_from');
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid3('value_to');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_array('spec_value', qa_collection_element_action::$spec_value_a, ${$class_third}->spec_value, '', 'medium');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('quality_action', option_header::find_options_byName('QA_QUALITY_ACTION'), 'option_line_code', 'option_line_value', ${$class_third}->quality_action);
    ?>
</td>
         <td><?php 
    echo $f->text_field_wid3('description');
    ?>
</td>
          </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
     </table>
    </div>
   </form>
  $$class->onhand = $onhand_i->onhand;
  $$class->reservable_onhand = $onhand_i->reservable_onhand;
 }else{
  $$class->onhand =  $$class->reservable_onhand = null;
 }
 if (!empty($$class->inv_serial_number_id)) {
  $inv_serial_number_i = inv_serial_number::find_by_id($$class->inv_serial_number_id);
  $$class->serial_number = $inv_serial_number_i->serial_number;
 }else{
  $$class->serial_number =  null;
 }
 ?>         
 <tr class="inv_reservation_line<?php echo $count ?>">
  <td><?php $f->seq_field_d($count); ?></td>
  <td><?php echo $f->select_field_from_array('supply_type', inv_reservation::$supply_type_a, $$class->supply_type); ?></td>
  <td><?php echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory' ,$$class->subinventory_id,  '' , 'subinventory_id subinventory'); ?>         </td>
  <td><?php echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory($$class->subinventory_id), 'locator_id', 'locator' , $$class->locator_id, '', 'locator_id locator'); ?>         </td>
  <td><?php
   echo $f->val_field_wid('serial_number', 'inv_serial_number', 'serial_number', 'item_id_m');
   echo $f->hidden_field('inv_serial_number_id', $$class->inv_serial_number_id);
   echo $f->hidden_field_withCLass('org_id', '', 'popup_value');
   echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
   echo $f->hidden_field_withCLass('current_subinventory_id', '', 'popup_value current_subinventory_id');
   echo $f->hidden_field_withCLass('current_locator_id', '', 'popup_value current_locator_id');
   ?><i class="select_serial_number_id generic select_popup clickable fa fa-search" data-class_name="inv_serial_number"></i></td> 
  <td><?php echo $f->text_field_widr('onhand' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('reservable_onhand' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('onhand_id' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('supply_comment'); ?></td>
  <td><?php echo $f->text_field_widr('s_reference_key_name' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('s_reference_key_value' ,'always_readonly'); ?></td>
form::text_field_drm('item_id_m');
?>
             </li>
             <li><label>Item Number : </label>
              <?php 
form::text_field_dr('item_number');
?>
             </li>
             <li><label>Description: </label>
              <?php 
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>
Esempio n. 28
0
    
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
         <td><?php 
    form::text_field_wid2sr('sd_quote_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('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'medium', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m);
    form::text_field_wid2('item_number', 'select_item_number');
    ?>
          <i class="select_item_number select_popup clickable fa fa-search"></i></td>
         <td><?php 
    form::text_field_wid2('item_description');
    ?>
</td>
         <td><?php 
    $f->number_field('line_quantity', ${$class_second}->line_quantity);
    ?>
</td>
Esempio n. 29
0
    echo ino_inline_action(${$class}->inv_item_relation_id, array('relation_type_h' => $relation_type_h));
    ?>
    
            </td>
            <td><?php 
    form::number_field_drs('inv_item_relation_id', 'always_readonly');
    ?>
</td>
            <td><?php 
    echo $f->hidden_field('from_item_id_m', ${$class}->from_item_id_m);
    $f->text_field_dm('from_item_number', 'select_item_number item_number');
    ?>
<i class="select_item_number_only select_popup clickable fa fa-search"></i>
            </td>
            <td><?php 
    echo $f->select_field_from_object('relation_type', inv_item_relation::item_relation(), 'option_line_code', 'option_line_value', ${$class}->relation_type);
    ?>
</td>
            <td><?php 
    echo $f->hidden_field('to_item_id_m', ${$class}->to_item_id_m);
    $f->text_field_dm('to_item_number', 'select_item_number item_number');
    ?>
<i class="select_item_number_only select_popup clickable fa fa-search"></i></td>
            <td><?php 
    $f->text_field_d('description');
    ?>
</td>
            <td><?php 
    echo $f->date_fieldAnyDay('from_date', ${$class}->from_date);
    ?>
</td>
         <td><?php 
    $f->val_field_wid2m('item_number', 'item', 'item_number', '', 'vf_select_item_number');
    echo $f->hidden_field_withCLass('transactable_cb', '1', 'popup_value');
    echo $f->hidden_field_withCLass('org_id1', ${$class}->from_org_id, 'org_id popup_value');
    ?>
          <i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
         <td><?php 
    $f->text_field_wid2sr('revision_name');
    ?>
</td>
         <td><?php 
    $f->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, '', 'uom_id', 1, $readonly);
    ?>
  </td>
         <td><?php 
    echo $f->number_field('transaction_quantity', ${$class_second}->transaction_quantity, '', '', '', 1, $f->readonly2);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('reason');
    ?>
							</td>

        </tr>
        <?php 
    $count = $count + 1;
}