Exemple #1
0
">
           <td><?php 
    form::number_field_wid4s('required_quantity');
    ?>
</td>
           <td><?php 
    form::number_field_wid4sr('issued_quantity');
    ?>
</td>
           <td><?php 
    form::number_field_wid4sr('open_quantity');
    ?>
</td>
           <td></td>
           <td><?php 
    echo $f->select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_fourth}->wip_supply_type, '', 'wip_supply_type', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_fourth}->supply_sub_inventory, '', 'subinventory_id', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_fourth}->supply_sub_inventory), 'locator_id', 'locator', ${$class_fourth}->supply_locator, '', 'locator_id', '', $readonly);
    ?>
</td>
          </tr>
          <?php 
    $count = $count + 1;
}
?>
    ?>
</td>
                <td><?php 
    form::number_field_wid3sr('usage_quantity');
    ?>
</td>
                <td><?php 
    form::number_field_wid3sr('required_quantity');
    ?>
</td>
                <td><?php 
    form::number_field_wid3sr('issued_quantity');
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_third}->wip_supply_type, '', 'wip_supply_type', '', 1);
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_third}->supply_sub_inventory, '', 'subinventory_id', '', 1);
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_third}->supply_sub_inventory), 'locator_id', 'locator', ${$class_third}->supply_locator, '', 'locator_id', '', 1);
    ?>
</td>

               </tr>
               <?php 
    $count = $count + 1;
}
Exemple #3
0
    ?>
         
        <tr class="bom_config_line<?php 
    echo $count;
    ?>
">
         <td><?php 
    form::text_field_wid2('planning_percentage');
    ?>
</td>
         <td><?php 
    form::text_field_wid2('yield');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_second}->wip_supply_type, '', $readonly, '', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->supply_sub_inventory, '', $readonly, 'subinventory_id', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_second}->supply_sub_inventory), 'locator_id', 'locator', ${$class_second}->supply_locator, '', $readonly, 'locator_id', '', '');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
Exemple #4
0
?>
       </li>
       <li><?php 
$f->l_checkBox_field_d('bom_enabled_cb');
?>
</li>
       <li><?php 
$f->l_select_field_from_object('bom_type', item::bom_types(), 'option_line_code', 'option_line_value', ${$class}->bom_type, 'bom_type');
?>
       </li>
       <li><?php 
$f->l_checkBox_field_d('build_in_wip_cb');
?>
</li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', $item->wip_supply_type, 'wip_supply_type', '', $readonly);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_subinventory', subinventory::find_all_of_org_id($item->org_id), 'subinventory_id', 'subinventory', $item->wip_supply_subinventory, 'wip_supply_subinventory', 'subinventory_id', '', $readonly);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_locator', locator::find_all_of_subinventory($item->wip_supply_subinventory), 'locator_id', 'locator', $item->wip_supply_locator, 'wip_supply_locator', 'locator_id', '', $readonly);
?>
       </li>
      </ul>
     </div>
     <div class="second_rowset">
      <div class="panel panel-collapse panel-ino-classy large_box">
       <div class="panel-heading"><div class="panel-title"><?php 
">
          <td>
           <?php 
    echo ino_inline_action(${$class_third}->bom_overhead_rate_assignment_id, array('bom_overhead_id' => ${$class}->bom_overhead_id));
    ?>
          </td>
          <td><?php 
    form::text_field_wid3('bom_overhead_rate_assignment_id');
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('bom_cost_type', bom_cost_type::find_all(), 'cost_type_code', 'cost_type', ${$class_third}->bom_cost_type, '', '', 1, $readonly);
    ?>
</td>
          <td><?php 
    echo form::select_field_from_object('default_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_third}->default_basis, '', $readonly, 'default_basis');
    ?>
 </td>
          <td><?php 
    form::text_field_wid3('rate');
    ?>
</td>
         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </form>
    </div>
    ?>
         </td>
         <td><?php 
    form::text_field_wid2sr('cst_item_cost_line_id');
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('cost_element_type', cst_item_cost_line::cost_element_types(), 'option_line_code', 'option_line_value', ${$class_second}->cost_element_type, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    echo $element_id_stmt;
    ?>
	</td>
         <td><?php 
    echo $f->select_field_from_object('cost_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_second}->cost_basis, '', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    form::number_field_wid2sm('amount');
    ?>
</td>
         <td><?php 
    $f->checkBox_field_wid2('this_level_cb');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
        ?>
</td>
                    <td><?php 
        echo form::select_field_from_object('resource_id', bom_resource::find_all(), 'bom_resource_id', 'resource', ${$class_third}->resource_id, '', $readonly, 'resource_id', '', 1);
        ?>
</td>
                    <td><?php 
        echo form::select_field_from_object('charge_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_third}->charge_basis, '', $readonly, 'default_basis', '', 1);
        ?>
</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, '', '', 1);
        ?>
</td>
                    <td><?php 
        form::number_field_wid3s('assigned_units');
        ?>
</td>
                    <td><?php 
        echo form::checkBox_field('twenty_four_hr_cb', ${$class_third}->twenty_four_hr_cb);
        ?>
</td>
                    <td><?php 
        echo form::checkBox_field('standard_rate_cb', ${$class_third}->standard_rate_cb);
        ?>
</td>
                    <td><?php 
    <ul class="tabMain">
     <li><a href="#tabsLine-1"><?php 
echo gettext('Details');
?>
</a></li>
     <li><a href="#tabsLine-2"><?php 
echo gettext('Future');
?>
 </a></li>
    </ul>
    <div class="tabContainer"> 
     <div id="tabsLine-1" class="tabContent">
      <div class="first_rowset"> 
       <ul class="column header_field"> 
        <li><?php 
$f->l_select_field_from_object('default_basis', bom_header::bom_charge_basis(), 'option_line_id', 'option_line_code', ${$class}->default_basis, 'default_basis', '', '', $readonly);
?>
        </li>
       </ul>
      </div>
      <div class="second_rowset">
       <ul class="three_column">

       </ul>
      </div>
      <!--end of tab1 div three_column-->
     </div> 
     <!--end of tab1-->
     <div id="tabsLine-2" class="tabContent">
      <div class="first_rowset"> 
       <ul class="column five_column"> 
</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 
    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