本文整理汇总了PHP中inoform::text_field_d2sr方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::text_field_d2sr方法的具体用法?PHP inoform::text_field_d2sr怎么用?PHP inoform::text_field_d2sr使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::text_field_d2sr方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
foreach ($prj_revenue_line_object as $prj_revenue_line) {
${$class_second}->project_number = !empty(${$class_second}->prj_project_header_id) ? prj_project_header::find_by_id(${$class_second}->prj_project_header_id)->project_number : '';
${$class_second}->task_number = !empty(${$class_second}->prj_project_line_id) ? prj_project_line::find_by_id(${$class_second}->prj_project_line_id)->task_number : '';
?>
<tr class="prj_revenue_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($prj_revenue_line->prj_revenue_line_id, array('prj_revenue_header_id' => $prj_revenue_header->prj_revenue_header_id));
?>
</td>
<td><?php
$f->text_field_d2sr('prj_revenue_line_id', 'line_id always_readonly');
?>
</td>
<td><?php
$f->text_field_d2sr('line_number', 'lines_number always_readonly');
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_d2('revenue_category');
?>
</td>
<td><?php
示例2:
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($prj_resource_list_line_object as $prj_resource_list_line) {
?>
<tr class="prj_resource_list_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_d2sr('prj_resource_list_line_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('job_id', hr_job::find_all(), 'hr_job_id', 'job_name', ${$class_second}->hr_job_id, '', 'resource_type_control');
?>
</td>
<td><?php
echo $f->select_field_from_object('prj_expenditure_type_id', prj_expenditure_type_header::find_all(), 'prj_expenditure_type_header_id', 'expenditure_type', ${$class_second}->prj_expenditure_type_id, '', 'resource_type_control');
?>
</td>
<td><?php
echo $f->select_field_from_object('expenditure_category', prj_expenditure_type::prj_expenditure_category(), 'option_line_code', 'option_line_value', ${$class_second}->expenditure_category, '', 'resource_type_control');
?>
</td>
<td><?php
示例3: array
$line_action_a = ['REPLENISH' => 'Replenish', 'SET_FULL' => 'Full', 'ON_HOLD' => 'On Hold', 'CANCEL' => 'Cancelled'];
foreach ($fp_kanban_line_object as $fp_kanban_line) {
$readonly_ss = ${$class_second}->supply_status == 'FULL' ? '' : true;
?>
<tr class="fp_kanban_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($fp_kanban_line->fp_kanban_line_id, array('fp_kanban_header_id' => $fp_kanban_header->fp_kanban_header_id));
?>
</td>
<td><?php
$f->text_field_d2sr('fp_kanban_line_id');
?>
</td>
<td><?php
$f->text_field_d2('card_number');
?>
</td>
<td><?php
echo $f->select_field_from_array('card_type', fp_kanban_line::$card_type_a, ${$class_second}->card_type, '', 'medium');
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
示例4:
?>
</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;
}
示例5: array
<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
echo $f->date_fieldAnyDay('schedule_date', ${$class_second}->schedule_date);
?>
</td>
<td><?php
示例6: array
?>
" data-line_status="<?php
echo ${$class_second}->status;
?>
">
<td>
<?php
echo ino_inline_action(${$class_second}->inv_interorg_transfer_line_id, array('from_org_id' => ${$class}->from_org_id, 'to_org_id' => ${$class}->to_org_id, 'inv_interorg_transfer_header_id' => ${$class}->inv_interorg_transfer_header_id, 'transaction_type_id' => ${$class}->transaction_type_id));
?>
</td>
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
$f->text_field_d2sr('inv_interorg_transfer_line_id', 'lineId');
?>
</td>
<td><?php
$f->text_field_wid2s('line_number', 'lines_number');
?>
</td>
<td><?php
$f->text_field_wid2sr('item_id_m');
?>
</td>
<td><?php
$f->val_field_wid2m('item_number', 'item', 'item_number', '', 'vf_select_item_number');
echo $f->hidden_field_withCLass('transactable_cb', '1', 'popup_value');
echo $f->hidden_field_withCLass('org_id1', ${$class}->from_org_id, 'org_id popup_value');
?>
示例7: array
$count = 0;
foreach ($prj_agreement_line_object as $prj_agreement_line) {
${$class_second}->project_number = !empty(${$class_second}->prj_project_header_id) ? prj_project_header::find_by_id(${$class_second}->prj_project_header_id)->project_number : '';
?>
<tr class="prj_agreement_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($prj_agreement_line->prj_agreement_line_id, array('prj_agreement_header_id' => $prj_agreement_header->prj_agreement_header_id));
?>
</td>
<td><?php
$f->text_field_d2sr('prj_agreement_line_id');
?>
</td>
<td><?php
$f->val_field_wid2m('project_number', 'prj_project_header', 'project_number', '', 'select project_number');
echo $f->hidden_field('prj_project_header_id', ${$class_second}->prj_project_header_id);
?>
<i class="generic select_project_number select_popup clickable fa fa-search" data-class_name="prj_project_header"></i></td>
<!-- <td><?php
// $f->text_field_wid2('task_number', 'select project_number');
// echo $f->hidden_field('prj_project_line_id', $$class_second->prj_project_line_id);
?>
<i class="select_project_number select_popup clickable fa fa-search"></i></td>-->
<td><?php
echo $f->date_fieldAnyDay('allocation_date', ${$class_second}->allocation_date);
?>