예제 #1
0
<?php

include_once "../../../include/basics/header.inc";
?>
<script src="bom_overhead.js"></script>

<div id="json_save_header"> <?php 
json_save('bom', 'bom_overhead', 'overhead', 'bom_overhead_id');
?>
</div>
<div id="json_save_line"><?php 
json_saveLineData('bom', 'bom_overhead_resource_assignment', 'resource_id', 'bom_overhead_resource_assignment_id');
?>
</div>
<div id="json_save_line2"><?php 
json_saveLineData2('bom', 'bom_overhead_rate_assignment', 'department_id', 'bom_overhead_rate_assignment_id');
?>
</div>
<div id="json_delete_line"> <?php 
json_delete('bom_overhead');
?>
 </div>
<div id="json_bom_overhead_find_all">
  <?php 
if (!empty($_GET['org_id']) && ($_GET['find_all_bom_overhead'] = 1)) {
    $org_id = $_GET['org_id'];
    $bom_overhead_of_org = bom_overhead::find_all_of_org_id($org_id);
    if (count($bom_overhead_of_org) == 0) {
        return false;
    } else {
        foreach ($bom_overhead_of_org as $key => $value) {
예제 #2
0
<?php

include_once "../../../include/basics/header.inc";
?>
<script src="option.js"></script>

<div id="json_delete_line"> <?php 
json_delete('sys_value_group_line', 'sys_value_group_line_id');
?>
 </div>
<div id="json_save_header"> <?php 
json_save('sys', 'sys_value_group_header', 'value_group', 'sys_value_group_header_id');
?>
</div>
<div id="json_save_line"><?php 
json_saveLineData('sys', 'sys_value_group_line', 'code', 'sys_value_group_line_id');
?>
</div>

<?php 
include_template('footer.inc');
<?php

include_once "../../../include/basics/header.inc";
?>
<script src="bom_standard_operation.js"></script>

<div id="json_save_header"> <?php 
json_save('bom', 'bom_standard_operation', 'standard_operation', 'bom_standard_operation_id');
?>
</div>
<div id="json_save_line"><?php 
json_saveLineData('bom', 'bom_standard_operation_resource_assignment', 'resource_sequence', 'bom_standard_operation_resource_assignment_id');
?>
</div>
<div id="json_delete_line"> <?php 
json_delete('bom_standard_operation');
?>
 </div>
<div id="json_bom_standard_operation_find_all">
  <?php 
if (!empty($_GET['org_id']) && ($_GET['find_all_bom_standard_operation'] = 1)) {
    $org_id = $_GET['org_id'];
    $bom_standard_operation_of_org = bom_standard_operation::find_all_of_org_id($org_id);
    if (count($bom_standard_operation_of_org) == 0) {
        return false;
    } else {
        foreach ($bom_standard_operation_of_org as $key => $value) {
            echo '<option value="' . $value->bom_standard_operation_id . '"';
            echo '>' . $value->bom_standard_operation . '</option>';
        }
    }