本文整理匯總了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;
}
?>