本文整理汇总了PHP中form::number_field_wid2sr方法的典型用法代码示例。如果您正苦于以下问题:PHP form::number_field_wid2sr方法的具体用法?PHP form::number_field_wid2sr怎么用?PHP form::number_field_wid2sr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form
的用法示例。
在下文中一共展示了form::number_field_wid2sr方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlentities
<li><input type="checkbox" name="line_id_cb" value="<?php
echo htmlentities($sys_profile_line->sys_profile_line_id);
?>
"></li>
<li><?php
echo form::hidden_field('sys_profile_header_id', ${$class}->sys_profile_header_id);
?>
</li>
<li><?php
echo form::hidden_field('profile_level', ${$class}->profile_level);
?>
</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>";
示例2: ArrayIterator
$fa_depreciation_method_rate_object_ai = new ArrayIterator($fa_depreciation_method_rate_object);
$fa_depreciation_method_rate_object_ai->seek($position);
while ($fa_depreciation_method_rate_object_ai->valid()) {
$fa_depreciation_method_rate = $fa_depreciation_method_rate_object_ai->current();
?>
<tr class="fa_depreciation_method_rate<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class}->fa_depreciation_method_id, array('fa_depreciation_method_rate_id' => $fa_depreciation_method_rate->fa_depreciation_method_rate_id));
?>
</td>
<td><?php
form::number_field_wid2sr('fa_depreciation_method_rate_id');
?>
</td>
<td><?php
form::number_field_wid2('year');
?>
</td>
<td><?php
form::number_field_wid2('period');
?>
</td>
<td><?php
form::number_field_wid2('rate');
?>
</td>
<td><?php
示例3:
<td><?php
$f->val_field_wid2('transaction_number', 'ap_transaction_header', 'transaction_number', 'supplier_id');
echo $f->hidden_field_withCLass('ap_transaction_header_id', ${$class_second}->ap_transaction_header_id, 'dont_copy_r');
echo $f->hidden_field_withCLass('supplier_id', ${$class}->supplier_id, 'popup_value supplier_id');
?>
<i class="generic g_select_ap_transaction_number select_popup clickable fa fa-search" data-class_name="ap_transaction_header"></i></td>
<td><?php
!empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('amount') : form::number_field_wid2s('amount');
?>
</td>
<td><?php
!empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('exchange_rate') : form::number_field_wid2s('exchange_rate');
?>
</td>
<td><?php
!empty(${$class_second}->ap_payment_line_id) ? form::number_field_wid2sr('gl_amount') : form::number_field_wid2s('gl_amount');
?>
</td>
<td><?php
$f->text_field_wid2r('invoice_amount', 'header_amount dont_copy_r');
?>
</td>
<td><?php
$f->text_field_wid2sr('paid_amount', 'dont_copy_r');
?>
</td>
<td><?php
$f->text_field_wid2sr('remaining_amount', 'dont_copy_r');
?>
</td>
</tr>
示例4: while
$pos_barcode_list_line_object_ai->seek($position);
while ($pos_barcode_list_line_object_ai->valid()) {
$pos_barcode_list_line = $pos_barcode_list_line_object_ai->current();
?>
<tr class="pos_barcode_list_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->pos_barcode_list_line_id, array('pos_barcode_list_header_id' => ${$class}->pos_barcode_list_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('pos_barcode_list_line_id');
?>
</td>
<td><?php
$f->text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
echo $f->number_field('unit_price', ${$class_second}->unit_price, '', '', 'medium');
?>
</td>
<td><?php
echo $f->number_field('quantity', ${$class_second}->quantity);
?>
</td>
<td><?php
示例5:
?>
</td>
<td><?php
echo $f->select_field_from_object('tax_code_id', mdm_tax_code::find_all_outTax_by_bu_org_id(${$class}->bu_org_id), 'mdm_tax_code_id', 'tax_code', ${$class_second}->tax_code_id, '', 'output_tax medium', '', $readonly, '', '', '', 'percentage');
?>
</td>
<td><?php
form::number_field_wid2('tax_amount');
?>
</td>
<td><?php
form::number_field_wid2sr('gl_inv_line_price');
?>
</td>
<td><?php
form::number_field_wid2sr('gl_tax_amount');
?>
</td>
<td><?php
$f->text_field_wid2('line_description');
?>
</td>
<td><?php
$f->text_field_wid2sr('status');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例6:
?>
</td>
<td><?php
$f->ac_field_wid2('depreciation_account_id');
?>
</td>
<td><?php
form::number_field_wid2sr('cost_before_depreciation');
?>
</td>
<td><?php
form::number_field_wid2sr('nbv_before_depreciation');
?>
</td>
<td><?php
form::number_field_wid2sr('salvage_value_bd');
?>
</td>
</tr>
<?php
$fa_depreciation_line_object_ai->next();
if ($fa_depreciation_line_object_ai->key() == $position + $per_page) {
break;
}
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="tabContent">
示例7: ino_inline_action
<tr class="sys_value_group_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class_second}->sys_value_group_line_id, array('sys_value_group_header_id' => ${$class}->sys_value_group_header_id));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
form::number_field_wid2sr('sys_value_group_line_id');
?>
</td>
<td><?php
form::text_field_wid2sm('code');
?>
</td>
<td><?php
form::text_field_wid2('code_value');
?>
</td>
<td><?php
form::text_field_wid2('description');
?>
</td>
<td><?php
示例8: while
$inv_abc_assignment_line_object_ai->seek($position);
while ($inv_abc_assignment_line_object_ai->valid()) {
$inv_abc_assignment_line = $inv_abc_assignment_line_object_ai->current();
?>
<tr class="inv_abc_assignment_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->inv_abc_assignment_line_id, array('inv_abc_assignment_header_id' => ${$class}->inv_abc_assignment_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('inv_abc_assignment_line_id', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2sr('item_id_m');
?>
</td>
<td><?php
$f->text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
$f->text_field_wid2l('item_description');
?>
</td>
<td><?php
示例9: ino_inline_action
<tr class="mdm_price_list_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class_second}->mdm_price_list_line_id, array('mdm_price_list_header_id' => ${$class}->mdm_price_list_header_id));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
form::number_field_wid2sr('mdm_price_list_line_id');
?>
</td>
<td><?php
echo $f->select_field_from_array('line_type', mdm_price_list_line::$line_type_a, ${$class_second}->line_type);
?>
</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>
示例10:
<td><?php
$f->val_field_wid2('transaction_number', 'ar_transaction_header', 'transaction_number', 'ar_customer_id');
echo $f->hidden_field('ar_transaction_header_id', ${$class_second}->ar_transaction_header_id);
echo $f->hidden_field_withCLass('ar_customer_id', ${$class}->ar_customer_id, 'popup_value ar_customer_id');
?>
<i class="generic g_select_ar_transaction_number select_popup clickable fa fa-search" data-class_name="ar_transaction_header"></i></td>
<td><?php
!empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('amount') : $f->text_field_wid2s('amount');
?>
</td>
<td><?php
!empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('exchange_rate') : $f->text_field_wid2s('exchange_rate');
?>
</td>
<td><?php
!empty(${$class_second}->ar_receipt_line_id) ? form::number_field_wid2sr('gl_amount') : $f->text_field_wid2s('gl_amount');
?>
</td>
<td><?php
$f->text_field_wid2sr('invoice_amount', 'header_amount');
?>
</td>
<td><?php
$f->text_field_wid2sr('receipt_amount');
?>
</td>
<td><?php
$f->text_field_wid2r('remaining_amount');
?>
</td>
</tr>
示例11: while
$prj_burden_list_line_object_ai->seek($position);
while ($prj_burden_list_line_object_ai->valid()) {
$prj_burden_list_line = $prj_burden_list_line_object_ai->current();
?>
<tr class="prj_burden_list_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class_second}->prj_burden_list_line_id, array('prj_burden_list_header_id' => ${$class}->prj_burden_list_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('prj_burden_list_line_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('prj_burden_costcode_id', prj_burden_costcode::find_all(), 'prj_burden_costcode_id', 'costcode', ${$class_second}->prj_burden_costcode_id, '', 'medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->bu_org_id, '', 'bu_org_id copyValue medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->number_field('multiplier', ${$class_second}->multiplier);
?>
</td>
<td><?php
示例12: foreach
<th>ar_transaction_line_id</th>
<th>Invoice/CM # </th>
<th>Process Id </th>
<th>View Process</th>
<th>Action</th>
</tr>
</thead>
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($sd_so_line_object as $sd_so_line) {
$sd_so_line->ar_transaction_number = null;
?>
<tr class="sd_so_line<?php echo $count ?>">
<td><?php $f->seq_field_d($count) ?></td>
<td><?php form::number_field_wid2sr('invoiced_quantity'); ?></td>
<td><?php form::text_field_wid2r('ar_transaction_header_id'); ?></td>
<td><?php form::text_field_wid2r('ar_transaction_line_id'); ?></td>
<td><?php form::text_field_wid2r('ar_transaction_number'); ?></td>
<td><?php $f->text_field_wid2r('sys_spd_header_id', 'dont_copy'); ?></td>
<td><a role="button" target="_blank" class="btn btn-sm btn-default dont_copy" href="form.php?class_name=sys_spd_header&sys_spd_header_id=<?php echo $$class_second->sys_spd_header_id; ?>"><?php echo $$class_second->sys_spd_header_id; ?></a></td>
<td><?php echo $f->select_field_from_array('line_action', sd_so_line::$line_action_a, ''); ?></td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
示例13: ArrayIterator
$sd_store_subinventory_object_ai = new ArrayIterator($sd_store_subinventory_object);
$sd_store_subinventory_object_ai->seek($position);
while ($sd_store_subinventory_object_ai->valid()) {
$sd_store_subinventory = $sd_store_subinventory_object_ai->current();
?>
<tr class="sd_store_subinventory<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action($sd_store_subinventory->sd_store_subinventory_id, array('sd_store_id' => ${$class}->sd_store_id));
?>
</td>
<td><?php
form::number_field_wid2sr('sd_store_subinventory_id');
?>
</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 copyValue', '');
?>
</td>
<td><?php
$f->text_field_wid2('floor_number');
?>
</td>
<td><?php
$f->text_field_wid2('building_number');
?>
</td>
示例14: while
$inv_count_schedule_object_ai->seek($position);
while ($inv_count_schedule_object_ai->valid()) {
$inv_count_schedule = $inv_count_schedule_object_ai->current();
?>
<tr class="inv_count_schedule<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->inv_count_schedule_id, array('inv_count_header_id' => ${$class}->inv_count_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('inv_count_schedule_id');
?>
</td>
<td><?php
$f->text_field_d2sr('item_id_m');
?>
</td>
<td><?php
$f->text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
$f->text_field_wid2('item_description');
?>
</td>
<td><?php
示例15: while
$inv_count_schedule_object_ai->seek($position);
while ($inv_count_schedule_object_ai->valid()) {
$inv_count_schedule = $inv_count_schedule_object_ai->current();
?>
<tr class="inv_count_schedule<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->inv_count_schedule_id, array('inv_count_header_id' => ${$class}->inv_count_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('inv_count_schedule_id', 'always_readonly');
?>
</td>
<td><?php
$f->text_field_d2sr('item_id_m');
?>
</td>
<td><?php
$f->text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
$f->text_field_wid2('item_description');
?>
</td>
<td><?php