本文整理汇总了PHP中inoform::date_fieldFromToday方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::date_fieldFromToday方法的具体用法?PHP inoform::date_fieldFromToday怎么用?PHP inoform::date_fieldFromToday使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::date_fieldFromToday方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo $f->select_field_from_array('origination_type', inv_lot_number::$origination_type_a, ${$class}->origination_type, 'origination_type', '', 1, 1, 1);
?>
</li>
<li><label>Origination Date : </label>
<?php
echo $f->date_fieldAnyDay_r('origination_date', ${$class}->origination_date, 1);
?>
</li>
<li><label>Activation Date : </label>
<?php
echo $f->date_fieldAnyDay_r('activation_date', ${$class}->activation_date, 1);
?>
</li>
<li><label>Expiration Date : </label>
<?php
echo $f->date_fieldFromToday('expiration_date', ${$class}->expiration_date);
?>
</li>
<li><label>Expiration Action </label>
<?php
echo $f->select_field_from_array('expiration_action', inv_lot_number::$expiration_action_a, ${$class}->expiration_action, 'expiration_action', '', '', $readonly);
?>
</li>
<li><label>Supplier S/N : </label> <?php
$f->text_field_d('supplier_sn');
?>
</li>
<li><label>COO : </label> <?php
$f->text_field_d('country_of_origin');
?>
</li>
示例2:
?>
<tr class="sd_so_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
echo $f->date_field('requested_date', ${$class_second}->requested_date, '', '', 'dateFromToday copyValue');
?>
</td>
<td><?php
echo $f->date_fieldFromToday('promise_date', ${$class_second}->promise_date);
?>
</td>
<td><?php
echo $f->date_field('schedule_ship_date', ${$class_second}->schedule_ship_date, '', '', 'dateFromToday copyValue');
?>
</td>
<td><?php
echo $f->date_fieldFromToday('actual_ship_date', ${$class_second}->actual_ship_date, 'always_readonly');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
示例3:
?>
</td>
<td><?php
form::text_field_wid2('seq_number');
?>
</td>
<td><?php
form::text_field_wid2('amount_percentage');
?>
</td>
<td><?php
form::text_field_wid2('due_days');
?>
</td>
<td><?php
echo $f->date_fieldFromToday('due_dates', ${$class_second}->due_dates);
?>
</td>
<td><?php
form::text_field_wid2('due_date_of_month');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
</form>
示例4:
?>
<tr class="sd_quote_line<?php
echo $count;
?>
">
<td><?php
$f->seq_field_d($count);
?>
</td>
<td><?php
echo $f->date_fieldFromToday_d('requested_date', ${$class_second}->requested_date);
?>
</td>
<td><?php
echo $f->date_fieldFromToday('promise_date', ${$class_second}->promise_date);
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
<!-- Showing a blank form for new entry-->
</table>
</div>
<div id="tabsLine-4" class="scrollElement tabContent">
<table class="form_line_data_table">
<thead>
<tr>
示例5:
?>
<i class="generic g_select_employee_name select_popup clickable fa fa-search" data-class_name="hr_employee_v"></i></td>
<td><?php
echo $f->select_field_from_object('region', sys_value_group_line::find_by_parent_id($team_reg_vg_id), 'sys_value_group_line_id', 'code_value', ${$class_second}->region);
?>
</td>
<td><?php
echo $f->select_field_from_object('role', hr_team_header::hr_role(), 'option_line_code', 'option_line_value', ${$class_second}->role);
?>
</td>
<td><?php
echo $f->select_field_from_array('responsibility', hr_team_line::$responsibility_a, ${$class_second}->responsibility);
?>
</td>
<td><?php
echo $f->date_fieldFromToday('start_date', ${$class_second}->start_date);
?>
</td>
<td><?php
echo $f->date_fieldFromToday('end_date', ${$class_second}->end_date);
?>
</td>
<td><?php
$f->text_field_wid2l('objective');
?>
</td>
</tr>
<?php
$count = $count + 1;
}
?>