本文整理汇总了PHP中inoform::l_date_fieldFromToday_m方法的典型用法代码示例。如果您正苦于以下问题:PHP inoform::l_date_fieldFromToday_m方法的具体用法?PHP inoform::l_date_fieldFromToday_m怎么用?PHP inoform::l_date_fieldFromToday_m使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类inoform
的用法示例。
在下文中一共展示了inoform::l_date_fieldFromToday_m方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Name
?>
</li>
<li><?php
$f->l_select_field_from_object('currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class}->currency, 'currency', '', 1, 1);
?>
</li>
<li><?php
$f->l_select_field_from_object('doc_currency', option_header::currencies(), 'option_line_code', 'option_line_value', ${$class}->doc_currency, 'doc_currency', '', 1, $readonly1);
?>
</li>
<li><label>Period Name(3)</label><?php
echo $period_name_stmt;
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('document_date', ${$class}->document_date);
?>
</li>
<li><?php
$f->l_text_field_dm('journal_name');
?>
</li>
<li><?php
$f->l_text_field_d('description');
?>
</li>
<li><?php
$f->l_select_field_from_object('balance_type', ${$class}->gl_balance_type(), 'option_line_code', 'option_line_value', ${$class}->balance_type, 'balance_type', '', 1, $readonly1);
?>
</li>
<li><?php
示例2: gettext
echo gettext('Asset Retirement Details');
?>
</span>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Basics');
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<div class="first_rowset">
<ul class="column header_field two_column_form">
<li><?php
$f->l_date_fieldFromToday_m('retire_date', ${$class}->retire_date);
?>
</li>
<li><?php
$f->l_text_field_d('source_type');
?>
</li>
<li><?php
$f->l_text_field_dr('original_cost');
?>
</li>
<li><?php
$f->l_text_field_dr('current_cost');
?>
</li>
<li><?php
示例3: gettext
<li><label><i class="wo_number select_popup clickable fa fa-search"></i>
<?php
echo gettext('WO Number');
?>
</label><?php
$f->text_field_d('wo_number');
echo $f->hidden_field_withId('wip_wo_header_id', ${$class}->wip_wo_header_id);
echo $f->hidden_field_withCLass('wo_status', 'RELEASED', 'popup_value');
?>
</li>
<li><?php
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('transaction_date', ${$class}->transaction_date);
?>
</li>
<li><?php
$f->l_select_field_from_object('transaction_type', wip_move_transaction::wip_transactions(), 'option_line_code', 'option_line_value', ${$class}->transaction_type, 'transaction_type', '', 1, 1, 1);
?>
<a name="show2" href="form.php?class_name=wip_resource_transaction&<?php
echo "mode={$mode}";
?>
" class="show2 document_id wip_resource_transaction_id">
<i class="fa fa-refresh"></i></a>
</li>
</ul>
</div>
</div>
示例4:
<li><?php
$f->l_val_field_d('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?>
</li>
<li><?php
$f->l_text_field_d('item_description');
?>
</li>
<li><?php
$f->l_select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom_id, 'uom_id', 'uom_id', '', $readonly1);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('need_by_date', ${$class}->need_by_date, 1);
?>
</li>
<li><?php
$f->l_number_field_dm('demand_quantity');
?>
</li>
<li><?php
$f->l_text_field_d('reason');
?>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div> <?php
示例5:
echo !empty(${$class}->wo_status) ? ${$class}->wo_status : "NA";
?>
</span>
</li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<div>
<ul class="column header_field">
<li id="document_status">
<?php
$f->l_select_field_from_array('wo_status', am_wo_header::$wo_status_a, ${$class}->wo_status, 'wo_status', '', '', 1);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('start_date', ${$class}->start_date);
?>
</li>
<li><?php
$f->l_date_fieldFromToday('completion_date', ${$class}->completion_date);
?>
</li>
<li><?php
$f->l_number_field('quantity', ${$class}->quantity);
?>
</li>
<li><?php
$f->l_text_field_d('schedule_group');
?>
</li>
<li><?php