当前位置: 首页>>代码示例>>PHP>>正文


PHP org类代码示例

本文整理汇总了PHP中org的典型用法代码示例。如果您正苦于以下问题:PHP org类的具体用法?PHP org怎么用?PHP org使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了org类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

</a></li>
    </ul>
    <div class="tabContainer"> 
     <div id="tabsHeader-1" class="tabContent">
      <ul class="column header_field"> 
       <li><?php 
echo $f->l_text_field_dr_withSearch('legal_id');
?>
        <a name="show" href="form.php?class_name=legal&<?php 
echo "mode={$mode}";
?>
" class="show document_id legal_id">
         <i class="fa fa-refresh"></i></a> 
       </li>
       <li><?php 
$f->l_select_field_from_object('org_id', org::find_all_legal(), 'org_id', 'org', $legal->org_id, 'org', '', '', $readonly);
?>
					</li>
       <li><?php 
$f->l_status_field_d('status');
?>
</li>
       <li><?php 
$f->l_checkBox_field_d('rev_enabled');
?>
</li>
       <li><?php 
$f->l_text_field_d('rev_number');
?>
    </li>
      </ul>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:legal_template.php

示例2: gl_ledger

<?php

include_once "../../../includes/basics/basics.inc";
global $f;
if (!empty($_GET['bu_org_id']) && !empty($_GET['find_bu_details'])) {
    $data = [];
    $bu_org_id = $_GET['bu_org_id'];
    $ar_transaction_type = ar_transaction_type::find_all_by_buOrgId($bu_org_id);
    $ar_trnx_type_stmt = $f->select_field_from_object('transaction_type', $ar_transaction_type, 'ar_transaction_type_id', 'ar_transaction_type', '', 'transaction_type', '', 1);
    $data['ar_transaction_type'] = $ar_trnx_type_stmt;
    $legal_org_id = org::find_by_id($bu_org_id)->legal_org_id;
    $ledger_id = legal::find_by_orgId($legal_org_id)->ledger_id;
    $data['ledger_id'] = $ledger_id;
    if (!empty($ledger_id)) {
        $ledger = new gl_ledger();
        $ledger_i = $ledger->findBy_id($ledger_id);
        if ($ledger_i) {
            $data['currency'] = $ledger_i->currency_code;
            $gp = new gl_period();
            $all_open_periods = $gp->find_all_periods($ledger_id, 'OPEN');
            $period_id = $gp->current_open_period($ledger_id, 'OPEN')->gl_period_id;
            $period_name_stmt = $f->select_field_from_object('period_id', $all_open_periods, 'gl_period_id', 'period_name', $period_id, 'period_id', '', 1);
            $data['period_name_stmt'] = $period_name_stmt;
            $data['period_id'] = $period_id;
            $data['output_tax'] = $f->select_field_from_object('tax_code_id', mdm_tax_code::find_all_outTax_by_bu_org_id($bu_org_id), 'mdm_tax_code_id', 'tax_code', '', '', 'output_tax medium', '', '', '', '', '', 'percentage');
        }
    }
    if (count($data) == 0) {
        return false;
    } else {
        echo header('Content-Type: application/json');
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:json_bu.php

示例3: foreach

 </thead>
 <tbody class="form_data_line_tbody">
  <?php
  $count = 0;
  foreach ($po_line_object as $po_line) {
   ?>         
   <tr class="po_line<?php echo $count ?>">
    <td>
     <?php
     echo ino_inline_action($$class_second->po_line_id, array('po_header_id' => $$class->po_header_id));
     ?>
    </td>
    <td><?php $f->seq_field_d($count) ?></td>
    <td><?php $f->text_field_wid2sr('po_line_id', 'always_readonly line_id'); ?></td>
    <td><?php echo form::text_field('line_number', $$class_second->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number'); ?></td>
    <td><?php echo $f->select_field_from_object('receving_org_id', org::find_all_inventory(), 'org_id', 'org', $$class_second->receving_org_id, '', 'org_id copyValue', 1, $readonly); ?></td>
    <td><?php echo $f->select_field_from_object('line_type', po_line::po_line_types(), 'option_line_code', 'option_line_value', $$class_second->line_type, '', 'copyValue', 1, $readonly); ?></td>
    <td><?php
     $f->val_field_wid2('item_number', 'item', 'item_number', 'receving_org_id');
     echo $f->hidden_field_withCLass('item_id_m', $$class_second->item_id_m,'dont_copy_r');
     echo $f->hidden_field_withCLass('purchased_cb', '1', 'popup_value');
     echo $f->hidden_field('processing_lt', '');
     ?>
     <i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
    <td><?php
     if (!empty($$class_second->item_id_m) && !empty($$class_second->receving_org_id)) {
      $revision_name_a = inv_item_revision::find_by_itemIdM_orgId($$class_second->item_id_m, $$class_second->receving_org_id);
     } else {
      $revision_name_a = array();
     }
     echo $f->select_field_from_object('revision_name', $revision_name_a, 'revision_name', 'revision_name', $$class_second->revision_name, '', 'small');
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:po_template.php

示例4: gettext

         <?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');
?>
        <a name="show2" href="form.php?class_name=wip_move_transaction&<?php 
echo "mode={$mode}";
?>
" class="show2 document_id wip_wo_header_id">
         <i class="fa fa-refresh"></i></a> 
       </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, $readonly1);
?>
       </li> 
       <li><?php 
$f->l_text_field_dr('wip_move_transaction_id');
?>
</li>
      </ul>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:wip_move_transaction_template.php

示例5: echo

<form action=""  method="post" id="inv_transaction"  name="inv_transaction">
 <?php echo (!empty($hidden_stmt)) ? $hidden_stmt : ""; ?> 
 <!--create empty form or a single id when search is not clicked and the id is referred from other page -->
 <span class="heading"><?php echo gettext('Inventory Transaction ') ?></span> 
 <div class='tabContainer'>
  <ul class='column header_field'>
   <li>
    <?php $f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id, 'org_id', '', 1, $readonly1); ?>  </li>
   <li>
    <?php
    echo!(empty($id_array)) ? $f->l_select_field_from_object('transaction_type_id', transaction_type::find_some_byIdArray($id_array), 'transaction_type_id', 'transaction_type', $$class->transaction_type_id, 'transaction_type_id', '', 1, $readonly1) :
     $f->l_select_field_from_object('transaction_type_id', transaction_type::find_all(), 'transaction_type_id', 'transaction_type', $$class->transaction_type_id, 'transaction_type_id', '', 1, $readonly1);
    ?>
   </li>
  </ul>
 </div>

 <div id ="form_line" class="form_line"><span class="heading">Transaction Details </span>
  <div id="tabsLine">
   <ul class="tabMain">
    <li><a href="#tabsLine-1"><?php echo gettext('General Info') ?></a></li>
    <li><a href="#tabsLine-2"><?php echo gettext('Transfer') ?> </a></li>
    <li><a href="#tabsLine-3"><?php echo gettext('Reference') ?> </a></li>
    <li><a href="#tabsLine-4"><?php echo gettext('Finance') ?></a></li>
    <li><a href="#tabsLine-5"><?php echo gettext('Lot & Serial') ?></a></li>
   </ul>
   <div class="tabContainer"> 
    <div id="tabsLine-1" class="tabContent">
     <table class="form_line_data_table">
      <thead> 
       <tr>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:inv_transaction_template.php

示例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 
开发者ID:jsec516,项目名称:inoERP,代码行数:30,代码来源:nlr_template.php

示例7:

    ?>
</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>
开发者ID:ruidikz,项目名称:inoERP,代码行数:31,代码来源:resource_list_template.php

示例8:

<div id="page_print">
 <div id="print_header">
  <div class="half_page left logo">
   <div class="logo">
    <img src="<?php 
echo HOME_URL . $si->logo_path;
?>
" class="logo_image" /></div>
   <h2><?php 
echo $si->site_name;
?>
 Invoice</h2> 
  </div>
  <div class="half_page right bu_details"><?php 
echo !empty(${$class}->bu_org_id) ? org::print_orgDetails_inLine(${$class}->bu_org_id) : "";
?>
 </div>
 </div>
 <div id="print_body">
  <div class="full_page">
   <div class="half_page left header_info">
    <ul class="column header_field">
     <li><label>Transaction Number : </label><?php 
echo ${$class}->transaction_number;
?>
 </li>
     <li><label>Type : </label><?php 
echo ${$class}->transaction_class;
?>
 </li>
     <li><label>Description : </label><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:ar_transaction_all_v.php

示例9: 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');
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:tax_code_template.php

示例10: gettext

      <div> 
       <ul class="column three_column"> 
        <li><label><?php 
echo gettext('Enterprise Name');
?>
</label> 
         <?php 
echo $f->select_field_from_object('enterprise_org_id', org::find_all_enterprise(), 'org_id', 'org', ${$class}->enterprise_org_id, 'enterprise_org_id', '', '', $readonly1);
?>
        </li>
        <li><label><?php 
echo gettext('Legal Org');
?>
</label> 
         <?php 
echo $f->select_field_from_object('legal_org_id', org::find_all_legal(), 'org_id', 'org', ${$class}->legal_org_id, 'legal_org_id', 'legal_org_id', '', $readonly1);
?>
</li>
        <li><?php 
$f->l_text_field_dr('ledger');
?>
</li>
        <li><?php 
$f->l_ac_field_d('cash_ac_id');
?>
</li>
       </ul>
      </div> 
     </div>
    </div>
   </div> 
开发者ID:xplitz27,项目名称:inoERP,代码行数:31,代码来源:business_template.php

示例11: coa

?>
</th>
   <th>As of <?php 
echo $last_period;
?>
</th>
  </tr>
 </thead>
 <tbody>
  <tr class="label_one">
   <td>SALES :</td><td></td><td></td>
  </tr>
  <?php 
if (!empty($_GET['org_id'][0])) {
    $org_id = $_GET['org_id'][0];
    $org_fin_details = org::find_financial_details_from_orgId($org_id);
    if (!empty($org_fin_details)) {
        $coa_id = $org_fin_details->coa_id;
    }
}
if (empty($coa_id)) {
    $coa_id = 1;
}
$coa = new coa();
$coa->coa_id = $coa_id;
$coa->only_parent = true;
$coa->account_qualifier = 'R';
$total_income = 0;
$gbv = new gl_balance_v();
$gbv->period_id_for_fs = $period_id;
$gbv->account_code_low_limit = $coa->field4_low = '400000';
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:income_statement_detail_template.php

示例12:

      </ul>
     </div>
    </div>
    <div id="tabsLine-4" class="tabContent">
     <div class="first_rowset"> 
      <ul class="column header_field">
       <li><?php 
$f->l_select_field_from_object('order_type_id', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', ${$class_second}->order_type_id, 'document_type', 'medium');
?>
						 </li>
       <li><?php 
$f->l_select_field_from_object('price_list_id', mdm_price_list_header::find_all_sales_pl(), 'mdm_price_list_header_id', 'price_list', ${$class_second}->price_list_id);
?>
</li>
       <li><?php 
$f->l_select_field_from_object('internal_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->internal_org_id, 'internal_org_id');
?>
  </li>
       <li><?php 
$f->l_text_field('fob', ${$class_second}->fob);
?>
</li> 
       <li><?php 
$f->l_text_field('freight_terms', ${$class_second}->freight_terms);
?>
</li> 
       <li><?php 
$f->l_text_field('transportation', ${$class_second}->transportation);
?>
</li> 
       <li><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:customer_template.php

示例13: __

 <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 
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:limit_assignment_template.php

示例14:

    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('sourcing_type', po_sourcing_rule_line::po_sourcing_type(), 'option_line_code', 'option_line_value', ${$class_second}->sourcing_type, 'sourcing_type', '', 1, $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('rank');
    ?>
</td>
         <td><?php 
    $f->text_field_d2s('allocation');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('source_from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->source_from_org_id, 'source_from_org_id', $readonly);
    ?>
</td>
         <td><?php 
    $f->text_field_wid2sr('supplier_id');
    ?>
</td>
         <td><?php 
    $f->text_field_wid2('supplier_name', 'select_supplier_name');
    ?>
          <img src="<?php 
    echo HOME_URL;
    ?>
themes/images/serach.png" class="select_supplier_name select_popup clickable"></td>
         <td><?php 
    echo $supplier_site_name_statement;
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:sourcing_rule_template.php

示例15: locator_v

         $locator = new locator_v();
         $locator->org_id = !empty($param['org_id'][0]) ? $param['org_id'][0] : '';
         $locator->subinventory_id = !empty($param['subinventory_id'][0]) ? $param['subinventory_id'][0] : '';
         $locator->locator_id = !empty($param['locator_id'][0]) ? $param['locator_id'][0] : '';
         $data_obj_a = $locator->findBy_parameter();
         break;
     case 'SUBINV':
         $sub = new subinventory();
         $sub->org_id = !empty($param['org_id'][0]) ? $param['org_id'][0] : '';
         $sub->subinventory_id = !empty($param['subinventory_id'][0]) ? $param['subinventory_id'][0] : '';
         $data_obj_a = $sub->findBy_parameter_withOrgDetails();
         break;
     case 'ORG':
     case 'INV':
         $org_id = !empty($param['org_id'][0]) ? $param['org_id'][0] : '';
         $data_obj_a = org::find_by_id($org_id);
         break;
     default:
         break;
 }
 if (!empty($data_obj_a) && is_array($data_obj_a)) {
     foreach ($data_obj_a as $data_obj) {
         $bc_lr = new bc_label_request();
         $bc_lr->sys_printer_id = $sl->sys_printer_id;
         $bc_lr->bc_label_format_header_id = $sl->bc_label_format_header_id;
         $xml_content = $bc_lr->generate_label($data_obj);
         $bc_lr->print_XMLlabel($xml_content);
     }
     $err_msg .= '<br>Label is Successfullyprinted';
 } else {
     if (!empty($data_obj_a)) {
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:json_static_label.php


注:本文中的org类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。