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


PHP item::find_by_item_id_m方法代码示例

本文整理汇总了PHP中item::find_by_item_id_m方法的典型用法代码示例。如果您正苦于以下问题:PHP item::find_by_item_id_m方法的具体用法?PHP item::find_by_item_id_m怎么用?PHP item::find_by_item_id_m使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在item的用法示例。


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

示例1: gettext

echo gettext('Source Type');
?>
</th>
           <th><?php 
echo gettext('Calculate');
?>
</th>
          </tr>
         </thead>
         <tbody class="form_data_line_tbody">
          <?php 
$count = 0;
if (!empty($search_result)) {
    foreach ($search_result as $fp_kanban_header) {
        if (!empty(${$class}->item_id_m)) {
            $item_i = item::find_by_item_id_m(${$class}->item_id_m);
            ${$class}->item_number = $item_i->item_number;
            ${$class}->item_description = $item_i->item_description;
        } else {
            ${$class}->item_number = null;
            ${$class}->item_description = null;
        }
        ?>
         
            <tr class="fp_kanban_header_line<?php 
        echo $count;
        ?>
">
             <td>    
              <ul class="inline_action">
               <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
开发者ID:xplitz27,项目名称:inoERP,代码行数:31,代码来源:fp_kanban_header_template_ma.php

示例2: gettext

      <th><?php 
echo gettext('Item Description');
?>
</th>
      <th><?php 
echo gettext('UOM');
?>
</th>
     </tr>
    </thead>
    <tbody class="form_data_line_tbody3 wip_wo_bom_values" >
     <?php 
$count = 0;
foreach ($hd_svo_actuals_object as $hd_svo_actuals) {
    if (!empty($hd_svo_actuals->item_id_m)) {
        $item = item::find_by_item_id_m($hd_svo_actuals->item_id_m);
        ${$class_fourth}->billing_item_number = $item->item_number;
        ${$class_fourth}->billing_description = $item->item_description;
        ${$class_fourth}->billing_uom = $item->uom_id;
    }
    ?>
         
      <tr class="hd_svo_actuals<?php 
    echo $count;
    ?>
">
       <td>    
        <ul class="inline_action">
         <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
         <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
         <li><input type="checkbox" name="line_id_cb" value="<?php 
开发者ID:seanla,项目名称:inoERP,代码行数:31,代码来源:svo_template.php

示例3: gettext

echo gettext('Line Price');
?>
</th>
        <th><?php 
echo gettext('Additional');
?>
</th>
       </tr>
      </thead>
      <tbody class="form_data_line_tbody">
       <?php 
$count = 0;
foreach ($hd_subscription_line_object as $hd_subscription_line) {
    ${$class_second}->line_type = empty($hd_subscription_line->hd_subscription_line_id) ? 'COMPULSORY' : ${$class_second}->line_type;
    ${$class_second}->uom_id = empty(${$class_second}->uom_id) ? '46' : ${$class_second}->uom_id;
    ${$class_second}->item_number = !empty(${$class_second}->item_id_m) ? item::find_by_item_id_m(${$class_second}->item_id_m)->item_number : '';
    ?>
         
        <tr class="hd_subscription_line<?php 
    echo $count;
    ?>
">
         <td>
          <?php 
    echo ino_inline_action($hd_subscription_line->hd_subscription_line_id, array('hd_subscription_header_id' => $hd_subscription_header->hd_subscription_header_id));
    ?>
         </td>
         <td><?php 
    $f->seq_field_d($count);
    ?>
</td>
开发者ID:rusli-nasir,项目名称:inoERP,代码行数:31,代码来源:subscription_template.php

示例4: gettext

      <th><?php 
echo gettext('Item Description');
?>
</th>
      <th><?php 
echo gettext('UOM');
?>
</th>
     </tr>
    </thead>
    <tbody class="form_data_line_tbody3 wip_wo_bom_values" >
     <?php 
$count = 0;
foreach ($prj_status_actuals_object as $prj_status_actuals) {
    if (!empty($prj_status_actuals->item_id_m)) {
        $item = item::find_by_item_id_m($prj_status_actuals->item_id_m);
        ${$class_fourth}->billing_item_number = $item->item_number;
        ${$class_fourth}->billing_description = $item->item_description;
        ${$class_fourth}->billing_uom = $item->uom_id;
    }
    ?>
         
      <tr class="prj_status_actuals<?php 
    echo $count;
    ?>
">
       <td>    
        <ul class="inline_action">
         <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
         <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
         <li><input type="checkbox" name="line_id_cb" value="<?php 
开发者ID:xplitz27,项目名称:inoERP,代码行数:31,代码来源:prj_status_template.php

示例5: gettext

   <th><?php echo gettext('Item Number') ?></th>
   <th><?php echo gettext('Description') ?></th>
   <th><?php echo gettext('UOM') ?></th>
   <th><?php echo gettext('Date') ?></th>
   <th><?php echo gettext('Demand Qty') ?></th>
   <th><?php echo gettext('Reason') ?></th>
  </tr>
 </thead>
 <tbody class="form_data_line_tbody">
  <?php
  $count = 0;
  $f = new inoform();
  if (!empty($search_result)) {
   foreach ($search_result as $inv_reservation) {
    if (!empty($$class->item_id_m)) {
     $item_i = item::find_by_item_id_m($$class->item_id_m);
     $$class->item_number = $item_i->item_number;
     $$class->item_description = $item_i->item_description;
    }
    ?>         
    <tr class="inv_reservation_line<?php echo $count ?>">
     <td>    
      <ul class="inline_action">
       <li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
       <li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
       <li><input type="checkbox" name="line_id_cb" value="<?php echo ($inv_reservation->inv_reservation_id); ?>"></li>           
      </ul>
     </td>
     <td><?php $f->seq_field_d($count); ?></td>
     <td><?php $f->text_field_dr('inv_reservation_id', 'always_readonly'); ?></td>
     <td><?php echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id ,'','org_id_primary'); ?>       </td>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:inv_reservation_template_ma.php

示例6: __

         <th><?php 
echo __('Consolidate');
?>
</th>
         <th><?php 
echo __('Last Service');
?>
</th>
        </tr>
       </thead>
       <tbody class="form_data_line_tbody">
        <?php 
$count = 0;
foreach ($am_ms_activity_reference_object as $am_ms_activity_reference) {
    if (!empty(${$class_second}->activity_item_id_m)) {
        $activity_item_i = item::find_by_item_id_m(${$class_second}->activity_item_id_m);
        ${$class_second}->activity_item_number = !empty($activity_item_i->item_number) ? $activity_item_i->item_number : '';
    } else {
        ${$class_second}->activity_item_number = '';
    }
    ?>
         
         <tr class="am_ms_activity_reference<?php 
    echo $count;
    ?>
">
          <td>
           <?php 
    echo ino_inline_action(${$class_second}->am_ms_activity_reference_id, array('am_maintenance_schedule_id' => ${$class}->am_maintenance_schedule_id));
    ?>
          </td>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:maintenance_schedule_template.php


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