本文整理汇总了PHP中subinventory类的典型用法代码示例。如果您正苦于以下问题:PHP subinventory类的具体用法?PHP subinventory怎么用?PHP subinventory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了subinventory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</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;
}
?>
</tbody>
</table>
</div>
</form>
示例2: __
?>
</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
echo __('Cost Information');
?>
</div></div>
<div class="panel-body">
示例3:
echo form::select_field_from_object('type', subinventory::subinventory_type(), 'option_line_code', 'option_line_code', ${$class}->type, 'type', $readonly);
?>
</td>
<td>
<?php
form::text_field_wid('subinventory');
?>
</td>
<td>
<?php
form::text_field_wid('description');
?>
</td>
<td>
<?php
echo form::select_field_from_object('locator_control', subinventory::locator_control(), 'option_line_code', 'option_line_code', ${$class}->locator_control, 'locator_control', $readonly);
?>
</td>
<td>
<?php
echo form::checkBox_field('allow_negative_balance_cb' . $count, ${$class}->allow_negative_balance_cb, 'allow_negative_balance_cb', $readonly);
?>
</td>
<td><?php
form::text_field_wids('default_cost_group');
?>
</td>
</tr>
<?php
$count = $count + 1;
示例4: inoform
$f = new inoform();
$bc = new ino_barcode();
$trnx_a = ['SUB_INV' => 'Subinventory Transfer', 'PUR_REQ' => 'Purchase Requisition'];
?>
<div id ="form_header" ><span class="heading">Barcoded Min Max Board </span>
<div class="tabContainer">
<ul class="inRow asperWidth headerBgColor">
<li><lable>Inventory Org </lable>
<?php
echo form::select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $org_id, 'org_id');
?>
</li>
<li><lable>Sub Inventory </lable>
<?php
echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id($org_id), 'subinventory_id', 'subinventory', $subinventory_id, 'subinventory_id');
?>
</li>
<li><lable>Planner </lable>
<?php
echo $f->text_field('planner', '');
?>
</li>
<li><lable>Type </lable>
<?php
echo $f->select_field_from_object('make_buy', item::manufacturing_item_types(), 'option_line_code', 'option_line_value', '', 'make_buy');
?>
</li>
<li> <a name="show" href="form.php?class_name=fp_minmax_barcode_board_v" class="show onhand_id">
<i class="fa fa-refresh"></i></a> </li>
示例5: ino_inline_action
<tr class="locator_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class}->locator_id, array('locator_id' => ${$class}->locator_id));
?>
</td>
<td>
<?php
echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id');
?>
</td>
<td>
<?php
echo $f->select_field_from_object('subinventory_id', subinventory::find_all(), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'subinventory_id');
?>
</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
示例6: gettext
</a></li>
<li><a href="#tabsLine-2"><?php
echo gettext('Action');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('scope_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->scope_org_id, 'scope_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('scope_sub_inventory_id', subinventory::find_all_of_org_id(${$class}->scope_org_id), 'subinventory_id', 'subinventory', ${$class}->scope_sub_inventory_id, '', 'subinventory_id', '', $readonly);
?>
</li>
<li><?php
$f->l_text_field_d('scope_org_hirearchy_id');
?>
</li>
<li><?php
$f->l_select_field_from_object('scope_product_line', item::product_line(), 'option_line_code', 'option_line_value', ${$class}->scope_product_line, 'scope_product_line', '', '', $readonly);
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('from_date', ${$class}->from_date);
?>
</li>
<li><?php
示例7:
?>
</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;
}
?>
</tbody>
</table>
</div>
示例8:
?>
</td>
<td><?php
$f->text_field_d2s('item_number', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2('item_description', 'always_readonly');
?>
</td>
<td><?php
echo $f->select_field_from_object('line_uom_id', uom::find_all(), 'uom_id', 'uom_name', $sd_delivery_line->line_uom_id, '', '', '', $readonly1);
?>
</td>
<td><?php
echo $f->select_field_from_object('staging_subinventory_id', subinventory::find_all_of_org_id(${$class}->shipping_org_id), 'subinventory_id', 'subinventory', ${$class_second}->staging_subinventory_id, '', 'subinventory_id', '', $readonly1);
?>
</td>
<td><?php
echo $f->select_field_from_object('staging_locator_id', locator::find_all_of_subinventory(${$class_second}->staging_subinventory_id), 'locator_id', 'locator', ${$class_second}->staging_locator_id, '', 'locator_id', '', $readonly1);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
示例9:
</thead>
<tbody class="inv_transaction_values">
<tr class="inv_transaction_row0" id="tab2_1">
<td>
<?php
echo form::select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->from_subinventory_id, '', $readonly, 'subinventory_id');
?>
</td>
<td>
<?php
echo form::select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, '', $readonly, 'locator_id');
?>
</td>
<td>
<?php
echo form::select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->to_subinventory_id, '', $readonly, 'subinventory_id');
?>
</td>
<td>
<?php
echo form::select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class}->to_subinventory_id), 'locator_id', 'locator', ${$class}->to_locator_id, '', $readonly, 'locator_id');
?>
</td>
</tr>
</tbody>
</table>
</div>
<div id="tabsLine-3" class="tabContent">
<table class="form_line_data_table">
<thead>
<tr>
示例10: array
break;
case 'BUSINESS':
echo $f->select_field_from_object('association_level_value', $org->findAll_business(), 'org_id', 'org', ${$class}->association_level_value, '', '', 1);
break;
case 'INVENTORY':
echo $f->select_field_from_object('association_level_value', $org->findAll_inventory(), 'org_id', 'org', ${$class}->association_level_value, '', '', 1);
break;
case 'FROM_SUBINV':
$org_id_sub = null;
if (!empty(${$class}->association_level_value)) {
$subinv_i = subinventory::find_by_id(${$class}->association_level_value);
$org_id_sub = $subinv_i->org_id;
}
echo $f->select_field_from_object('', $org->findAll_inventory(), 'org_id', 'org', $org_id_sub, '', 'org_id', 1);
echo '</td><td>';
echo $f->select_field_from_object('association_level_value', subinventory::find_all(), 'subinventory_id', array('subinventory', 'org_id'), ${$class}->association_level_value, '', 'subinventory_id', 1);
break;
case 'USER':
echo $f->select_field_from_object('association_level_value', user::find_all(), 'user_id', 'username', ${$class}->association_level_value, '', '', 1);
break;
}
?>
</td>
<td>
<?php
echo $f->select_field_from_object('bc_label_format_header_id', bc_label_format_header::find_all(), 'bc_label_format_header_id', 'format_name', ${$class}->bc_label_format_header_id, '', '', 1) . "</td>";
?>
</td>
</tr>
<?php
$count = $count + 1;
示例11:
?>
</td>
<td><?php
echo $f->date_fieldAnyDay_r('origination_date', ${$class}->origination_date, 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay_r('activation_date', ${$class}->activation_date, 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->current_org_id, 'current_org_id', '', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_subinventory_id', subinventory::find_all_of_org_id(${$class}->current_org_id), 'subinventory_id', 'subinventory', ${$class}->current_subinventory_id, 'current_subinventory_id', 'subinventory_id', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_locator_id', locator::find_all_of_subinventory(${$class}->current_subinventory_id), 'locator_id', 'locator', ${$class}->current_locator_id, '', 'locator_id', '', 1);
?>
</td>
<td><?php
$f->text_field_d('inv_lot_number_id');
?>
</td>
<td><?php
$f->text_field_d('country_of_origin');
?>
</td>
</tr>
示例12: subinventory
<?php
include_once "../../../includes/basics/basics.inc";
?>
<?php
if (!empty($_GET['org_id']) && ($_GET['find_all_subinventory'] = 1)) {
echo '<div id="json_subinventory_find_all">';
$subinv = new subinventory();
$subinv->org_id = $_GET['org_id'];
$subinventory_of_org = $subinv->findAll_ofOrgid();
if (empty($subinventory_of_org)) {
return false;
} else {
echo '<option value=""></option>';
foreach ($subinventory_of_org as $key => $value) {
echo '<option value="' . $value->subinventory_id . '"';
echo '>' . $value->subinventory . '</option>';
}
}
echo '</div>';
}
?>
示例13:
</td>
<td><?php
form::number_field_drs('inv_location_default_id');
?>
</td>
<td><?php
echo $f->hidden_field('item_id_m', ${$class}->item_id_m);
$f->text_field_wid('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->select_field_from_object('default_type', inv_location_default::location_default_types(), 'option_line_code', 'option_line_value', ${$class}->default_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 copyValue', '');
?>
</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 copyValue', '');
?>
</td>
</tr>
<?php
$location_default_object_ai->next();
if ($location_default_object_ai->key() == $position + $per_page) {
break;
}
$count = $count + 1;
}
?>
示例14: __
$f->l_text_field_dr_withSearch('locator_id');
?>
<a name="show" href="form.php?class_name=locator&<?php
echo "mode={$mode}";
?>
" class="show document_id locator_id"><img src="<?php
echo HOME_URL;
?>
themes/images/refresh.png"/></a>
</li>
<li><?php
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('subinventory_id', subinventory::find_all(), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'subinventory_id', '', '', $readonly);
?>
</li>
<li><label><?php
echo __('Locator Structure');
?>
</label><?php
echo locator::locator_structure();
?>
</li>
<li><?php
$f->l_text_field_d('locator');
?>
</li>
<li><?php
$f->l_text_field_d('alias');
示例15:
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></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, '', 'small', '', 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('schedule_date', ${$class_second}->schedule_date);
?>
</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);
?>
</td>
<td><?php
echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class_second}->subinventory_id), 'locator_id', 'locator', ${$class_second}->locator_id, '', 'locator_id', '', 1);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="tabContent">