本文整理汇总了PHP中uom::find_all方法的典型用法代码示例。如果您正苦于以下问题:PHP uom::find_all方法的具体用法?PHP uom::find_all怎么用?PHP uom::find_all使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类uom
的用法示例。
在下文中一共展示了uom::find_all方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</td>
<td><?php
echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'small', 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
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small');
?>
</td>
<td><?php
$f->text_field_wid2r('line_status');
?>
</td>
<td><?php
form::number_field_wid2s('line_quantity');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例2:
?>
</td>
<td><?php
form::text_field_wid('description');
?>
</td>
<td><?php
$f->l_date_fieldAnyDay('effective_from', ${$class}->effective_from);
?>
</td>
<td><?php
$f->l_date_fieldAnyDay('effective_to', ${$class}->effective_to);
?>
</td>
<td><?php
$f->l_select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, 'uom_id', 'uom_id', '', $readonly1);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="scrollElement" class="tabContent">
<table class="form_table">
<thead>
<tr>
示例3:
?>
">
<td><?php
echo ${$class}->adm_task_type_id;
?>
</td>
<td><?php
$f->checkBox_field_d('send_notification_cb');
?>
</td>
<td><?php
$f->checkBox_field_d('schedule_cb');
?>
</td>
<td><?php
echo $f->select_field_from_object('effort_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->effort_uom_id, 'effort_uom_id');
?>
</td>
<td><?php
$f->text_field_d('effort_value');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
示例4:
?>
</td>
<td><?php
form::text_field_wid2sr('item_id_m');
?>
</td>
<td><?php
form::text_field_wid2('item_number');
?>
</td>
<td><?php
form::text_field_wid2('item_description');
?>
</td>
<td><?php
echo form::select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom', ${$class_second}->uom, 'uom');
?>
</td>
<td><?php
form::number_field_wid2s('line_quantity');
?>
</td>
<td class="add_detail_values"><img src="<?php
echo HOME_URL;
?>
themes/images/page_add_icon_16.png" class="add_detail_values_img" alt="add detail values" />
<!--</td></tr>-->
<?php
$po_line_id = $po_line->po_line_id;
if (!empty($po_line_id)) {
示例5: array
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
if (!empty(${$class_fourth}->component_item_id_m) && !empty(${$class}->org_id)) {
$revision_name_a = inv_item_revision::find_by_itemIdM_orgId(${$class_fourth}->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_fourth}->component_revision, '', 'small');
?>
</td>
<td><?php
echo $f->text_field('component_description', ${$class_fourth}->component_description, '20', '', 'item_description', '', $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('component_uom', uom::find_all(), 'uom_id', 'uom_name', ${$class_fourth}->component_uom, '', 'uom_id', '', $readonly);
?>
</td>
<td><?php
echo form::select_field_from_object('usage_basis', bom_header::bom_charge_basis(), 'option_line_code', 'option_line_value', ${$class_fourth}->usage_basis, '', $readonly, 'usage_basis', '', 1);
?>
</td>
<td><?php
form::number_field_wid4sm('usage_quantity');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例6: gettext
'transaction_type_id' => $$class->transaction_type_id));
?>
</td>
<td>
<?php echo $f->text_field_dsr('inv_transaction_id', 'lineId'); ?>
</td>
<td><?php $f->text_field_widsr('item_id_m'); ?></td>
<td><?php
$f->val_field_widm('item_number', 'item', 'item_number', '', 'vf_select_item_number');
echo $f->hidden_field_withCLass('transactable_cb', '1', '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_widsr('revision_name'); ?></td>
<td><?php $f->text_field_wid('item_description'); ?></td>
<td>
<?php echo form::select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, 'uom_id', $readonly); ?>
</td>
<td><?php form::text_field_widsm('quantity'); ?></td>
<td><?php echo $f->checkBox_field('kit_cb', $$class->kit_cb, '', 'dontCopy'); ?></td>
<td> <a class="popup popup-form view-item-config medium" href="form.php?class_name=bom_config_header&mode=9&window_type=popup"> <i class="fa fa-edit"></i></a></td>
<td><?php $f->text_field_widsr('bom_config_header_id'); ?></td>
</tr>
</tbody>
</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>
示例7:
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>
示例8:
<td><?php
echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, '', 'org_id_primary');
?>
</td>
<td><?php
$f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'dontCopy');
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?>
</td>
<td><?php
$f->text_field_wid('item_description');
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, '', 'always_readonly');
?>
</td>
<td><?php
echo $f->date_fieldFromToday_m('need_by_date', ${$class}->need_by_date, 1);
?>
</td>
<td><?php
echo $f->number_field('demand_quantity', ${$class}->demand_quantity, '', '', 'demand_quantity');
?>
</td>
<td><?php
$f->text_field_wid('reason');
?>
</td> </tr>
<?php
示例9: echo
<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 ($inv_reservation->inv_reservation_id); ?>"></li>
</ul>
</td>
<td><?php $f->seq_field_d($count); ?></td>
<td><?php $f->text_field_dr('inv_reservation_id', 'always_readonly'); ?></td>
<td><?php echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id ,'','org_id_primary'); ?> </td>
<td><?php
$f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withCLass('item_id_m', $$class->item_id_m ,'dontCopy');
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?></td>
<td><?php $f->text_field_wid('item_description'); ?></td>
<td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, '', 'always_readonly'); ?> </td>
<td><?php echo $f->date_fieldFromToday_m('need_by_date', $$class->need_by_date, 1) ?></td>
<td><?php echo $f->number_field('demand_quantity', $$class->demand_quantity, '', '', 'demand_quantity'); ?></td>
<td><?php $f->text_field_wid('reason'); ?></td> </tr>
<?php
$count = $count + 1;
}
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="tabContent">
<table class="form_table">
<thead>
<tr>
示例10:
?>
<tr class="sd_delivery_line<?php
echo $count;
?>
">
<td><?php
echo form::select_field_from_object('weight_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->weight_uom_id, 'weight_uom_id', $readonly);
?>
</td>
<td><?php
echo form::number_field_wid2('total_weight');
?>
</td>
<td><?php
echo form::select_field_from_object('volume_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->volume_uom_id, 'volume_uom_id', $readonly);
?>
</td>
<td><?php
echo form::number_field_wid2('total_volume');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</div>
示例11:
?>
</td>
<td><?php
echo $f->text_field_wid2sr('line_source');
?>
</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
echo $f->select_field_from_object('duration_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->duration_uom_id, 'duration_uom_id', 'uom_id', '', $readonly1);
?>
</td>
<td><?php
echo $f->text_field_d2('duration');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('termination_date', ${$class_second}->termination_date);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例12:
?>
</td>
<td><?php
echo $f->text_field('item_id_m', $wip_wo_bom->component_item_id_m, '', '', 'item_id_m', '', 1);
?>
</td>
<td><?php
echo $f->text_field('component_item_number', $item_i->item_number, '20', '', 'select_item_number', '', $readonly);
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->text_field('component_description', $item_i->item_description, '20', '', 'item_description', '', $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $item_i->uom_id, '', 'uom_id', '', $readonly);
?>
</td>
<td><?php
echo $f->number_field('quantity', $wip_wo_bom->usage_quantity, '', '', 'final_quantity', 1);
echo $f->hidden_field('usage_quantity', $wip_wo_bom->usage_quantity);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
示例13:
<div>
<ul class="column four_column">
<li><?php
echo $f->l_number_field('max_units', ${$class}->max_units, '', 'max_units', 'medium');
?>
</li>
<li><?php
echo $f->l_select_field_from_object('max_volume_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->max_volume_uom_id, 'max_volume_uom_id');
?>
</li>
<li><?php
echo $f->l_number_field('max_volume', ${$class}->max_volume, '', 'max_volume', 'medium');
?>
</li>
<li><?php
echo $f->l_select_field_from_object('max_weight_uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->max_weight_uom_id, 'max_weight_uom_id');
?>
</li>
<li><?php
echo $f->l_number_field('max_weight', ${$class}->max_weight, '', 'max_weight', 'medium');
?>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</form>
示例14:
'tax_code_value' => $$class_second->tax_code_value));
?>
</td>
<td><?php $f->seq_field_d($count) ?></td>
<td><?php form::text_field_wid2sr('sd_so_line_id', '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('line_type', sd_document_type::find_all_line_levels(), 'sd_document_type_id', 'document_type_name', $$class_second->line_type, '', 'medium', 1, $readonly, '', '', '', 'process_flow_id'); ?></td>
<td><?php echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', $$class_second->shipping_org_id, '', '', 1, $readonly); ?></td>
<td><?php
$f->val_field_wid2('item_number', 'item', 'item_number', 'shipping_org_id');
echo $f->hidden_field_withCLass('item_id_m', $$class_second->item_id_m,'dont_copy_r');
echo $f->hidden_field_withCLass('customer_ordered_cb', '1', 'popup_value');
?>
<i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
<td><?php form::text_field_wid2s('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'); ?></td>
<td><?php form::number_field_wid2s('line_quantity'); ?></td>
<td><?php $f->text_field_wid2r('line_status'); ?></td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="scrollElement tabContent">
<table class="form_line_data_table">
<thead>
<tr>
示例15: array
echo $f->select_field_from_object('line_type', ar_transaction_line::ar_transaction_line_types(), 'option_line_code', 'option_line_value', ${$class_second}->line_type, '', 'line_type', '', $readonly1);
?>
</td>
<td><?php
$f->val_field_wid2('item_number', 'item', 'item_number', '');
echo $f->hidden_field_withCLass('item_id_m', ${$class_second}->item_id_m, 'dont_copy_r');
echo $f->hidden_field_withCLass('customer_ordered_cb', '1', 'popup_value');
echo $f->hidden_field_withCLass('invoiceable_cb', '1', '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_wid2m('item_description');
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $ar_transaction_line->uom_id);
?>
</td>
<td><?php
form::number_field_wid2sm('inv_line_quantity');
?>
</td>
<td class="add_detail_values"><i class="fa fa-arrow-circle-down add_detail_values_img"></i>
<!--</td></tr>-->
<?php
$ar_transaction_line_id = $ar_transaction_line->ar_transaction_line_id;
if (!empty($ar_transaction_line_id)) {
$ar_transaction_detail_object = ar_transaction_detail::find_by_ar_transaction_lineId($ar_transaction_line_id);
} else {
$ar_transaction_detail_object = array();
}