本文整理汇总了PHP中org::find_all_business方法的典型用法代码示例。如果您正苦于以下问题:PHP org::find_all_business方法的具体用法?PHP org::find_all_business怎么用?PHP org::find_all_business使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org
的用法示例。
在下文中一共展示了org::find_all_business方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gettext
<div id="tabsHeader">
<ul class="tabMain">
<li><a href="#tabsHeader-1"><?php echo gettext('Basic Info') ?></a></li>
<li><a href="#tabsHeader-2"><?php echo gettext('Finance') ?></a></li>
<li><a href="#tabsHeader-3"><?php echo gettext('Address Details') ?></a></li>
<li><a href="#tabsHeader-4"><?php echo gettext('Note') ?></a></li>
<li><a href="#tabsHeader-5"><?php echo gettext('Attachments') ?></a></li>
<li><a href="#tabsHeader-6"><?php echo gettext('Actions') ?></a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php $f->l_text_field_dr_withSearch('po_header_id') ?>
<a name="show" href="form.php?class_name=po_header&<?php echo "mode=$mode"; ?>" class="show document_id po_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php $f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $$class->bu_org_id, 'bu_org_id', '', 1, $readonly1); ?> </li>
<li><?php $f->l_select_field_from_array('po_type', po_header::$po_type_a, $$class->po_type, 'po_type', '', 1, $readonly1, $readonly1); ?> </li>
<li><?php $f->l_text_field_d('po_number', 'primary_column2'); ?> </li>
<li><?php $f->l_text_field_d('release_number'); ?>
<?php echo $f->hidden_field_withId('ref_po_header_id', $$class->ref_po_header_id); ?>
</li>
<li><?php $f->l_select_field_from_object('status', po_header::po_status(), 'option_line_code', 'option_line_value', $$class->po_status, 'po_status', 'dont_copy', '', 1); ?></li>
<li><?php
echo $f->l_val_field_dm('supplier_name', 'supplier', 'supplier_name', '', 'supplier_name', 'vf_select_supplier_name');
echo $f->hidden_field_withId('supplier_id', $$class->supplier_id);
?><i class="generic g_select_supplier_name select_popup clickable fa fa-search" data-class_name="supplier"></i></li>
<li><?php
echo $f->l_val_field_d('supplier_number', 'supplier', 'supplier_number', '', '', 'vf_select_supplier_number');
?><i class="generic g_select_supplier_number select_popup clickable fa fa-search" data-class_name="supplier"></i></li>
<li><label><?php echo gettext('Supplier Site') ?></label><?php
$supplier_site_obj = !empty($$class->supplier_id) ? supplier_site::find_by_parent_id($$class->supplier_id) : array();
示例2: Name
themes/images/serach.png" class="sd_so_header_id select_popup">
SO Header Id</label><?php
echo form::text_field('sd_so_header_id', $sd_so_header->sd_so_header_id, '15', '25', '', 'System Number', 'sd_so_header_id', $readonly1);
?>
<a name="show" href="form.php?class_name=sd_so_header" class="show sd_so_header_id">
<img src="<?php
echo HOME_URL;
?>
themes/images/refresh.png"/></a>
</li>
<li><label>SO Number</label><?php
echo $f->text_field_d('so_number', 'primary_column2');
?>
</li>
<li><label>BU Name(1)</label><?php
echo form::select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $sd_so_header->bu_org_id, 'bu_org_id', $readonly1, '', '');
?>
</li>
<li><label>Document Type(2) </label>
<?php
echo $f->select_field_from_object('document_type', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', $sd_so_header->document_type, 'document_type', 'medium', 1, $readonly1);
?>
</li>
<li><?php
echo $f->hidden_field_withId('ar_customer_id', ${$class}->ar_customer_id);
?>
<label class="auto_complete"><img src="<?php
echo HOME_URL;
?>
themes/images/serach.png" class="ar_customer_id select_popup clickable">
Customer Name</label> <?php
示例3: __
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('ar_transaction_header_id');
?>
<a name="show" href="form.php?class_name=ar_transaction_header&<?php
echo "mode={$mode}";
?>
" class="show document_id ar_transaction_header_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_text_field_d('transaction_number', 'primary_column2');
?>
</li>
<li><?php
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('transaction_type', ar_transaction_type::find_all(), 'ar_transaction_type_id', 'ar_transaction_type', ${$class}->transaction_type, 'transaction_type', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('ledger_id', gl_ledger::find_all(), 'gl_ledger_id', 'ledger', ${$class}->ledger_id, 'ledger_id', '', '', $readonly1, 1);
?>
</li>
<li><label><?php
echo __('Period Name');
?>
</label><?php
if (!empty($period_name_stmt)) {
示例4: gettext
<li><label><i class="po_asl_line_id select_popup clickable fa fa-search"></i>
<?php
echo gettext('ASL Line Id');
?>
</label>
<?php
echo $f->text_field('po_asl_line_id', $po_asl_line_id_h, '', 'po_asl_line_id');
?>
<a name="show" href="form.php?class_name=po_asl_document&<?php
echo "mode={$mode}";
?>
" class="show document_id po_asl_document_id">
<i class='fa fa-refresh'/></i></a>
</li>
<li><?php
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $bu_org_id, 'bu_org_id', '', 1, 1);
?>
</li>
<li><label><?php
echo gettext('Supplier Name');
?>
</label>
<?php
echo $f->text_field('supplier_name', $supplier_name);
echo $f->hidden_field_withId('supplier_id', $supplier_id);
?>
</li>
<li><label><?php
echo gettext('Supplier Site Name');
?>
</label><?php
示例5:
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_from', ${$class_second}->effective_from);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_to', ${$class_second}->effective_to);
?>
</td>
<td><?php
echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->org_id, '', 'resource_type_control');
?>
</td>
<td><?php
$f->text_field_wid2('employee_name', 'select employee resource_type_control');
echo $f->hidden_field_withCLass('hr_employee_id', ${$class_second}->hr_employee_id, 'resource_type_control employee');
?>
<i class="select_employee_name select_popup clickable fa fa-search"></i></td>
</tr>
<?php
$count = $count + 1;
}
?>
</tbody>
</table>
</div>
示例6: ino_inline_action
<tr class="prj_nlr_line<?php
echo $count;
?>
">
<td>
<?php
echo ino_inline_action($prj_nlr_line->prj_nlr_line_id, array('prj_nlr_header_id' => $prj_nlr_header->prj_nlr_header_id));
?>
</td>
<td><?php
$f->text_field_d2sr('prj_nlr_line_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->bu_org_id);
?>
</td>
<td><?php
$f->text_field_d2('description');
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_from', ${$class_second}->effective_from);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay('effective_to', ${$class_second}->effective_to);
?>
</td>
<td><?php
示例7: gettext
?>
" >Print Quote</a>
</li>
<li id="document_status"><label><?php
echo gettext('Action');
?>
</label>
<?php
echo $f->select_field_from_array('action', sd_quote_header::$action_a, ${$class}->action, 'action');
?>
</li>
<li><label><?php
echo gettext('SO BU Name');
?>
</label><?php
echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class}->bu_org_id, 'bu_org_id', '', '', 1);
?>
</li>
</ul>
</div>
</div>
</div>
</div>
</form>
</div>
<div id="form_line" class="form_line"><span class="heading"><?php
echo gettext('Quote Lines & Shipments');
?>
</span>
<form action="" method="post" id="quote_site" name="sd_quote_line">
示例8: gettext
<div class="row small-left-padding">
<div id="form_all">
<div id="form_headerDiv">
<form action="" method="post" id="mdm_tax_code_line" name="tax_code_line">
<span class="heading"><?php
echo gettext('Tax Codes');
?>
</span>
<div id="form_serach_header" class="tabContainer">
<label><?php
echo gettext('Business Org');
?>
</label></label>
<?php
echo $f->select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', $org_id_h, 'org_id', $readonly1);
?>
<a name="show" href="form.php?class_name=mdm_tax_code&<?php
echo "mode={$mode}";
?>
" class="show document_id mdm_tax_code_id">
<i class="fa fa-refresh"></i></a>
</div>
<div id ="form_line" class="mdm_tax_code"><span class="heading">Tax Details </span>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Tax Code');
?>
</a></li>
<li><a href="#tabsLine-2"><?php
echo gettext('Control');
示例9: __
<div id="form_all">
<span class="heading"><?php
echo __('Approval Limit Assignment');
?>
</span>
<div id="form_serach_header" class="tabContainer"><ul class="inline_list">
<li><?php
$f->l_select_field_from_object('position_id', hr_position::find_all(), 'hr_position_id', 'position_name', $position_id_h, 'position_id', $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('job_id', hr_job::find_all(), 'hr_job_id', 'job_name', $job_id_h, 'job_id', $readonly1);
?>
</li>
<li><?php
$f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $bu_org_id_h, 'bu_org_id', $readonly1);
?>
</li>
<li><a name="show" href="form.php?class_name=hr_approval_limit_assignment&<?php
echo "mode={$mode}";
?>
"
class="show2 document_id hr_approval_limit_assignment_id"><i class="fa fa-refresh"></i></a> </li>
</ul>
</div>
<div id="form_headerDiv">
<form action="" method="post" id="hr_approval_limit_assignment_line" name="approval_limit_assignment_line">
<div id="tabsLine">
<div id ="form_line" class="hr_approval_limit_assignment">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
示例10: __
<div class="row small-left-padding">
<div id="form_all">
<div id="form_headerDiv">
<form method="post" id="mdm_tax_code_line" name="tax_code_line">
<span class="heading"><?php
echo __('Tax Codes');
?>
</span>
<div id="form_serach_header" class="tabContainer">
<label><?php
echo __('Business Org');
?>
</label></label>
<?php
echo $f->select_field_from_object('org_id', org::find_all_business(), 'org_id', 'org', $org_id_h, 'org_id', 'action');
?>
<a name="show" href="form.php?class_name=mdm_tax_code&<?php
echo "mode={$mode}";
?>
" class="show document_id mdm_tax_code_id action">
<i class="fa fa-refresh"></i></a>
</div>
<div id ="form_line" class="mdm_tax_code"><span class="heading">Tax Details </span>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo __('Tax Code');
?>
</a></li>
<li><a href="#tabsLine-2"><?php
echo __('Control');
示例11: ino_inline_action
">
<td><?php
echo ino_inline_action(${$class_second}->prj_burden_list_line_id, array('prj_burden_list_header_id' => ${$class}->prj_burden_list_header_id));
?>
</td>
<td><?php
form::number_field_wid2sr('prj_burden_list_line_id');
?>
</td>
<td><?php
echo $f->select_field_from_object('prj_burden_costcode_id', prj_burden_costcode::find_all(), 'prj_burden_costcode_id', 'costcode', ${$class_second}->prj_burden_costcode_id, '', 'medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', ${$class_second}->bu_org_id, '', 'bu_org_id copyValue medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->number_field('multiplier', ${$class_second}->multiplier);
?>
</td>
<td><?php
echo $f->number_field('burden_value', ${$class_second}->burden_value);
?>
</td>
<td><?php
echo $f->text_field('formula', ${$class_second}->formula);
?>
</td>
<td><?php
示例12: gettext
<li><a href="#tabsHeader-1"><?php echo gettext('Basic Info') ?></a></li>
<li><a href="#tabsHeader-2"><?php echo gettext('Basic - 2') ?></a></li>
<li><a href="#tabsHeader-3"><?php echo gettext('Finance') ?></a></li>
<li><a href="#tabsHeader-4"><?php echo gettext('Address Details') ?></a></li>
<li><a href="#tabsHeader-5"><?php echo gettext('Note') ?></a></li>
<li><a href="#tabsHeader-6"><?php echo gettext('Attachments') ?></a></li>
<li><a href="#tabsHeader-7"><?php echo gettext('Actions') ?></a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php $f->l_text_field_dr_withSearch('sd_so_header_id') ?>
<a name="show" href="form.php?class_name=sd_so_header&<?php echo "mode=$mode"; ?>" class="show document_id sd_so_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php $f->l_text_field_d('so_number', 'primary_column2'); ?></li>
<li><?php $f->l_select_field_from_object('bu_org_id', org::find_all_business(), 'org_id', 'org', $sd_so_header->bu_org_id, 'bu_org_id', $readonly1, '', ''); ?> </li>
<li><?php $f->l_select_field_from_object('document_type', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', $sd_so_header->document_type, 'document_type', 'medium', 1, $readonly1); ?> </li>
<li><?php
echo $f->l_val_field_dm('customer_name', 'ar_customer', 'customer_name', '', 'customer_name', 'vf_select_customer_name');
echo $f->hidden_field_withId('ar_customer_id', $$class->ar_customer_id);
?><i class="generic g_select_customer_name select_popup clickable fa fa-search" data-class_name="ar_customer"></i></li>
<li><?php
echo $f->l_val_field_d('customer_number', 'ar_customer', 'customer_number', '', '', 'vf_select_customer_number');
?><i class="generic g_select_customer_number select_popup clickable fa fa-search" data-class_name="ar_customer"></i></li>
<li><?php $f->l_select_field_from_object('ar_customer_site_id', $customer_site_obj, 'ar_customer_site_id', 'customer_site_name', $$class->ar_customer_site_id, 'ar_customer_site_id', 'ar_customer_site_id', '', $readonly1); ?> </li>
<li><?php $f->l_text_field_dr('so_status') ?></li>
<li><?php $f->l_select_field_from_array('order_source_type', sd_so_header::$order_source_type_a, $$class->order_source_type, 'order_source_type', '', 1, 1); ?> </li>
</ul>
</div>
<div id="tabsHeader-2" class="tabContent">
<ul class="column header_field">