本文整理汇总了PHP中form::number_field_wid2方法的典型用法代码示例。如果您正苦于以下问题:PHP form::number_field_wid2方法的具体用法?PHP form::number_field_wid2怎么用?PHP form::number_field_wid2使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form
的用法示例。
在下文中一共展示了form::number_field_wid2方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
</tr>
</thead>
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($po_line_object as $po_line) {
?>
<tr class="po_line<?php echo $count ?>">
<td><?php $f->seq_field_d($count) ?></td>
<td><?php echo $f->select_field_from_object('price_list_header_id', mdm_price_list_header::find_all_purchasing_pl(), 'mdm_price_list_header_id', 'price_list', $$class_second->price_list_header_id, '', 'medium copyValue'); ?>
</td>
<td><?php echo $f->date_fieldAnyDay('price_date', $$class_second->price_date, 'copyValue') ?></td>
<td><?php echo $f->number_field('unit_price', $$class_second->unit_price); ?></td>
<td><?php echo $f->number_field('line_price', $$class_second->line_price); ?></td>
<td><?php echo $f->select_field_from_object('tax_code_id', mdm_tax_code::find_all_inTax_by_bu_org_id($$class->bu_org_id), 'mdm_tax_code_id', 'tax_code', $$class_second->tax_code_id, '', 'input_tax medium', '', $readonly, '', '', '', 'percentage') ?></td>
<td><?php form::number_field_wid2('tax_amount'); ?></td>
<td><?php $f->text_field_d2sr('gl_line_price'); ?></td>
<td><?php $f->text_field_d2sr('gl_tax_amount'); ?></td>
<td><?php form::text_field_wid2('line_description'); ?></td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
<div id="tabsLine-3" class="scrollElement tabContent">
<table class="form_line_data_table">
示例2: empty
?>
</td>
<td><?php
form::number_field_wid2('total_dr');
?>
</td>
<td><?php
form::number_field_wid2('total_cr');
?>
</td>
<td><?php
form::number_field_wid2('total_ac_dr');
?>
</td>
<td><?php
form::number_field_wid2('total_ac_cr');
?>
</td>
<td><?php
$status = empty(${$class_second}->status) ? 'U' : ${$class_second}->status;
echo $f->text_field('status', $status, 8, '', 'copy', '', 1);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
示例3:
?>
</td>
<td><?php
form::number_field_wid2m('inv_unit_price');
?>
</td>
<td><?php
form::text_field_wid2m('inv_line_price');
?>
</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
示例4:
?>
</td>
<td><?php
echo $f->select_field_from_object('price_list_header_id', mdm_price_list_header::find_all_sales_pl(), 'mdm_price_list_header_id', 'price_list', ${$class_second}->price_list_header_id, '', 'medium copyValue');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('price_date', ${$class_second}->price_date);
?>
</td>
<td><?php
form::number_field_wid2('unit_price');
?>
</td>
<td><?php
form::number_field_wid2('line_price');
?>
</td>
<td><a target="_blank" href="form.php?class_name=sd_so_header&sd_so_header_id=<?php
echo $hd_svo_line->sd_so_header_id;
?>
" ><i class="fa fa-file-text-o margin-left-20"></i></a></td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</div>
示例5: array
?>
</td>
<td><?php
echo form::checkBox_field('count_point_cb', ${$class_second}->count_point_cb);
?>
</td>
<td><?php
echo form::checkBox_field('auto_charge_cb', ${$class_second}->auto_charge_cb);
?>
</td>
<td><?php
echo form::checkBox_field('backflush_cb', ${$class_second}->backflush_cb);
?>
</td>
<td><?php
form::number_field_wid2('minimum_transfer_quantity');
?>
</td>
<td class="add_detail_values"><i class="fa fa-arrow-circle-down add_detail_values_img"></i>
<!--</td></tr>-->
<?php
$am_wo_routing_line_id = $am_wo_routing_line->am_wo_routing_line_id;
if (!empty($am_wo_routing_line_id)) {
$am_wo_routing_detail_object = am_wo_routing_detail::find_by_wipWo_lineId($am_wo_routing_line_id);
} else {
$am_wo_routing_detail_object = array();
}
if (count($am_wo_routing_detail_object) == 0) {
$am_wo_routing_detail = new am_wo_routing_detail();
$am_wo_routing_detail_object = array();
array_push($am_wo_routing_detail_object, $am_wo_routing_detail);
示例6:
?>
</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
form::number_field_wid2('description');
?>
</td>
</tr>
<?php
$fa_depreciation_method_rate_object_ai->next();
if ($fa_depreciation_method_rate_object_ai->key() == $position + $per_page) {
break;
}
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
<div id="tabsLine-2" class="tabContent">
示例7:
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('expense_date', ${$class_second}->expense_date);
?>
</td>
<td><?php
form::number_field_wid2('receipt_amount');
?>
</td>
<td><?php
$f->text_field_wid2('purpose');
?>
</td>
<td><?php
form::number_field_wid2('exchange_rate');
?>
</td>
<td><?php
form::text_field_wid2('vendor_name');
?>
</td>
<td><?php
form::text_field_wid2('vendor_details');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例8:
?>
">
<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>
</div>
</form>
</div>
示例9:
</td>
<td><?php
$f->text_field_wid2r('asset_id');
$f->hidden_field('asset_number', ${$class_second}->asset_number);
?>
</td>
<td><?php
form::number_field_wid2('depreciation_amount');
?>
</td>
<td><?php
form::number_field_wid2('unschedule_amount');
?>
</td>
<td><?php
form::number_field_wid2('total_depreciation_amount');
?>
</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
示例10: gettext
<th><?php echo gettext('Weight UOM') ?></th>
<th><?php echo gettext('Total Weight') ?></th>
<th><?php echo gettext('Volume UOM') ?></th>
<th><?php echo gettext('Total Volume') ?></th>
</tr>
</thead>
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($sd_delivery_line_object as $sd_delivery_line) {
?>
<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>
</div>
</form>
</div>
<div id="js_data">