本文整理汇总了PHP中inoform::l_date_fieldFromToday方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_date_fieldFromToday方法的具体用法?PHP inoform::l_date_fieldFromToday怎么用?PHP inoform::l_date_fieldFromToday使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::l_date_fieldFromToday方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
<?php
echo gettext('Employee Name');
?>
</label><?php
$f->text_field_d('employee_name');
?>
<?php
echo $f->hidden_field_withId('employee_id', ${$class}->employee_id);
?>
</li>
<li><?php
$f->l_text_field_dr('identification_id');
?>
</li>
<li><?php
$f->l_date_fieldFromToday('requsted_date', ${$class}->requsted_date);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('approved_date', ${$class}->approved_date);
?>
</li>
<li data-employee_type="approver"><label><i class="hr_employee_id select_popup clickable fa fa-search"></i>
<?php
echo gettext('Approver');
?>
</label><?php
$f->text_field_dr('approved_by');
echo $f->hidden_field_withId('approved_by_employee_id', ${$class}->approved_by_employee_id);
?>
</li>
示例2: gettext
<ul class="tabMain">
<li><a href="#tabsHeader-1"><?php
echo gettext('Basic Info');
?>
</a></li>
<li><a href="#tabsHeader-2"><?php
echo gettext('Line Defaults');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
echo $f->l_date_fieldFromToday('count_date', ${$class}->count_date, 1);
?>
</li>
<li><label><img src="<?php
echo HOME_URL;
?>
themes/images/serach.png" class="inv_count_header_id select_popup clickable">
<?php
echo gettext('Inventory Count Name');
?>
</label> <?php
echo $f->hidden_field_withId('inv_count_header_id', $inv_count_header_id_h);
?>
<?php
$f->text_field_dm('count_name');
?>
示例3:
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_select_field_from_object('wip_accounting_group_id', wip_accounting_group::find_by_orgId(${$class}->org_id), 'wip_accounting_group_id', 'wip_accounting_group', ${$class}->wip_accounting_group_id, 'wip_accounting_group_id', '', 1, 'readonly1');
?>
<li><?php
$f->l_select_field_from_object('completion_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->completion_sub_inventory, '', 'subinventory_id', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('completion_locator', locator::find_all_of_subinventory(${$class}->completion_sub_inventory), 'locator_id', 'locator', ${$class}->completion_locator, '', 'locator_id', '', $readonly);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('completion_date', ${$class}->completion_date);
?>
</li>
</ul>
</div>
</div>
<div id="tabsHeader-3" class="tabContent">
<div id="comments">
<div id="comment_list">
<?php
echo !empty($comments) ? $comments : "";
?>
</div>
<div id ="display_comment_form">
<?php
$reference_table = 'wip_wol_transaction';
示例4:
<a name="show" href="form.php?class_name=bc_label_format_header&<?php
echo "mode={$mode}";
?>
" class="show document_id bc_label_format_header_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field_d('format_name');
?>
</li>
<li><?php
$f->l_select_field_from_object('label_type', bc_label_format_header::label_type(), 'option_line_code', 'option_line_value', ${$class}->label_type);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('disable_date', ${$class}->disable_date);
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_checkBox_field_d('default_cb');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div class="large_shadow_box">
<ul class="column one_column">
示例5:
?>
</li>
<li><?php
$f->l_date_fieldAnyDay('payment_term_date', ${$class}->payment_term_date);
?>
</li>
<li><?php
$f->l_select_field_from_object('doc_currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class}->doc_currency, 'doc_currency', '', 1, $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('ledger_currency', option_header::currencies(), 'option_line_code', 'option_line_code', ${$class}->currency, 'currency', 'currency', 1, 1);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('agreement_start_date', ${$class}->agreement_start_date);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('agreement_end_date', ${$class}->agreement_start_date);
?>
</li>
<li><?php
$f->l_select_field_from_object('exchange_rate_type', gl_currency_conversion::currency_conversion_type(), 'option_line_code', 'option_line_code', ${$class}->exchange_rate_type, 'exchange_rate_type', '', 1, $readonly);
?>
</li>
<li><?php
$f->l_number_field('exchange_rate', ${$class}->exchange_rate, '', 'exchange_rate');
?>
</li>
<li><?php