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


PHP locator::find_all_of_subinventory方法代码示例

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


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

示例1:

    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $inv_receipt_line->uom_id, '', '', '', $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->number_field('transaction_quantity', ${$class_second}->transaction_quantity, '8', '', '', 1, $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->subinventory_id, '', 'subinventory_id', '', $readonly1);
    ?>
</td>
         <td><?php 
    echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class_second}->subinventory_id), 'locator_id', 'locator', ${$class_second}->locator_id, '', 'locator_id', '', $readonly1);
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
      <!--                  Showing a blank form for new entry-->
     </table>
    </div>
    <div id="tabsLine-3" class="tabContent">
     <table class="form_line_data_table">
      <thead> 
       <tr>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:inv_rma_receipt_template.php

示例2: gettext

   <th><?php echo gettext('Description') ?></th>
   <th><?php echo gettext('Reason') ?></th>
   </thead>
   <tbody class="form_data_line_tbody">
    <tr class="inv_transaction_line0" id="tab2_1">
     <td>
      <?php echo $f->select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->from_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('from_locator_id', locator::find_all_of_subinventory($$class->from_subinventory_id), 'locator_id', 'locator', $$class->from_locator_id, '', 'from_locator_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory', $$class->to_subinventory_id, '', 'subinventory_id', '', $readonly); ?>
     </td>
     <td>
      <?php echo $f->select_field_from_object('to_locator_id', locator::find_all_of_subinventory($$class->to_subinventory_id), 'locator_id', 'locator', $$class->to_locator_id, '', 'to_locator_id', '', $readonly); ?>
     </td>
     <td><?php form::text_field_wid('description'); ?>							</td>
     <td><?php form::text_field_wid('reason'); ?>							</td>
    </tr>
   </tbody>
  </table>
 </div>
 <div id="tabsLine-3" class="tabContent">
  <table class="form_line_data_table">
   <thead>
   <th><?php echo gettext('Document Type') ?></th>
   <th><?php echo gettext('Doc. Number') ?></th>
   <th><?php echo gettext('Doc. Id') ?></th>
   <th><?php echo gettext('Ref Type') ?></th>
   <th><?php echo gettext('Ref Name') ?></th>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:inv_transaction_template.php

示例3:

</td>
           <td><?php 
    form::number_field_wid4sr('open_quantity');
    ?>
</td>
           <td></td>
           <td><?php 
    echo $f->select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_fourth}->wip_supply_type, '', 'wip_supply_type', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_fourth}->supply_sub_inventory, '', 'subinventory_id', '', $readonly);
    ?>
</td>
           <td><?php 
    echo $f->select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_fourth}->supply_sub_inventory), 'locator_id', 'locator', ${$class_fourth}->supply_locator, '', 'locator_id', '', $readonly);
    ?>
</td>
          </tr>
          <?php 
    $count = $count + 1;
}
?>
        </tbody>
       </table>
      </div>
     </form>
    </div>
   </div>
  </div>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:30,代码来源:am_wo_template.php

示例4: foreach

    foreach ($po_detail_object as $po_detail) {
        $class_third = 'po_detail';
        ${$class_third} =& $po_detail;
        ?>
                  <tr class="po_detail<?php 
        echo $count . '-' . $detailCount;
        ?>
 ">
                   <td>
  <?php 
        echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class_second}->receving_org_id), 'subinventory_id', 'subinventory', ${$class_third}->subinventory_id, '', 'subinventory_id copyValue', '');
        ?>
                   </td>
                   <td>
  <?php 
        echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class_third}->subinventory_id), 'locator_id', 'locator', ${$class_third}->locator_id, '', 'locator_id copyValue', '');
        ?>
                   </td>
                   <td><?php 
        $f->text_field_wid3('requestor');
        ?>
</td>
                   <td><?php 
        echo $f->select_field_from_array('invoice_match_type', po_detail::$invoice_match_type_a, ${$class_third}->invoice_match_type);
        ?>
</td>
                  </tr>
                  <?php 
        $detailCount++;
    }
    ?>
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:po_template.php

示例5: __

?>
       </li>
       <li><?php 
$f->l_checkBox_field_d('build_in_wip_cb');
?>
</li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', $item->wip_supply_type, 'wip_supply_type', '', $readonly);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_subinventory', subinventory::find_all_of_org_id($item->org_id), 'subinventory_id', 'subinventory', $item->wip_supply_subinventory, 'wip_supply_subinventory', 'subinventory_id', '', $readonly);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('wip_supply_locator', locator::find_all_of_subinventory($item->wip_supply_subinventory), 'locator_id', 'locator', $item->wip_supply_locator, 'wip_supply_locator', 'locator_id', '', $readonly);
?>
       </li>
      </ul>
     </div>
     <div class="second_rowset">
      <div class="panel panel-collapse panel-ino-classy large_box">
       <div class="panel-heading"><div class="panel-title"><?php 
echo __('Cost Information');
?>
</div></div>
       <div class="panel-body">
        <ul class="column header_field">
         <li><?php 
$f->l_checkBox_field_d('costing_enabled_cb');
?>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:item_template.php

示例6: gettext

</a></li>
     <li><a href="#tabsLine-2"><?php 
echo gettext('Future');
?>
</a></li>
    </ul>
    <div class="tabContainer"> 
     <div id="tabsLine-1" class="tabContent">
      <div> 
       <ul class="column five_column"> 
        <li><?php 
$f->l_select_field_from_object('staging_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->staging_subinventory_id, '', 'subinventory_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_select_field_from_object('staging_locator_id', locator::find_all_of_subinventory(${$class}->staging_subinventory_id), 'locator_id', 'locator', ${$class}->staging_locator_id, '', 'locator_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_text_field_d('default_picking_rule_id');
?>
</li>
        <li><?php 
$f->l_checkBox_field_d('delivery_onpicking_cb');
?>
 </li>
        <li><?php 
$f->l_checkBox_field_d('autosplit_onpicking_cb');
?>
</li>
        <li><?php 
开发者ID:seanla,项目名称:inoERP,代码行数:31,代码来源:shipping_control_template.php

示例7:

    ?>
</td>
         <td><?php 
    form::text_field_wid2('yield');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_second}->wip_supply_type, '', $readonly, '', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->supply_sub_inventory, '', $readonly, 'subinventory_id', '', '');
    ?>
</td>
         <td><?php 
    echo form::select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_second}->supply_sub_inventory), 'locator_id', 'locator', ${$class_second}->supply_locator, '', $readonly, 'locator_id', '', '');
    ?>
</td>
        </tr>
        <?php 
    $count = $count + 1;
}
?>
      </tbody>
      <!--                  Showing a blank form for new entry-->

     </table>
    </div>
   </div>
  </div>
 </form>
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:config_template.php

示例8:

?>
</li>
       <li><?php 
$f->l_date_fieldAnyDay_r('activation_date', ${$class}->activation_date, 1);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('current_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->current_org_id, 'current_org_id', '', '', 1);
?>
       </li>
       <li><?php 
$f->l_select_field_from_object('current_subinventory_id', subinventory::find_all_of_org_id(${$class}->current_org_id), 'subinventory_id', 'subinventory', ${$class}->current_subinventory_id, 'current_subinventory_id', 'subinventory_id', '', 1);
?>
			</li>
       <li><?php 
$f->l_select_field_from_object('current_locator_id', locator::find_all_of_subinventory(${$class}->current_subinventory_id), 'locator_id', 'locator', ${$class}->current_locator_id, '', 'locator_id', '', 1);
?>
       </li>
       <li><?php 
$f->l_text_field_dr('inv_lot_number_id');
?>
             </li>
       <li><?php 
$f->l_text_field_d('country_of_origin');
?>
             </li>
       <li><?php 
$f->l_text_field_dr('parent_serial_number_id');
?>
             </li>
      </ul> 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:serial_number_template.php

示例9:

        ?>
">
             <td><?php 
        $f->seq_field_d($count);
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_array('supply_type', inv_reservation::$supply_type_a, ${$class}->supply_type);
        ?>
</td>
             <td><?php 
        echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, '', 'subinventory_id subinventory');
        ?>
         </td>
             <td><?php 
        echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory(${$class}->subinventory_id), 'locator_id', 'locator', ${$class}->locator_id, '', 'locator_id locator');
        ?>
         </td>
             <td><?php 
        echo $f->val_field_wid('serial_number', 'inv_serial_number', 'serial_number', 'item_id_m');
        echo $f->hidden_field_withCLass('inv_serial_number_id', ${$class}->inv_serial_number_id, 'dontCopy');
        echo $f->hidden_field_withCLass('org_id', ${$class}->org_id, 'popup_value');
        echo $f->hidden_field_withCLass('item_id_m', ${$class}->item_id_m, 'popup_value item_id_m');
        echo $f->hidden_field_withCLass('current_subinventory_id', '', 'popup_value current_subinventory_id');
        echo $f->hidden_field_withCLass('current_locator_id', '', 'popup_value current_locator_id');
        ?>
<i class="select_serial_number_id generic select_popup clickable fa fa-search" data-class_name="inv_serial_number"></i></td> 
             <td><?php 
        echo $f->text_field_widr('onhand', 'always_readonly');
        ?>
</td>
开发者ID:rusli-nasir,项目名称:inoERP,代码行数:31,代码来源:inv_reservation_template_ma.php

示例10:

  $$class->reservable_onhand = $onhand_i->reservable_onhand;
 }else{
  $$class->onhand =  $$class->reservable_onhand = null;
 }
 if (!empty($$class->inv_serial_number_id)) {
  $inv_serial_number_i = inv_serial_number::find_by_id($$class->inv_serial_number_id);
  $$class->serial_number = $inv_serial_number_i->serial_number;
 }else{
  $$class->serial_number =  null;
 }
 ?>         
 <tr class="inv_reservation_line<?php echo $count ?>">
  <td><?php $f->seq_field_d($count); ?></td>
  <td><?php echo $f->select_field_from_array('supply_type', inv_reservation::$supply_type_a, $$class->supply_type); ?></td>
  <td><?php echo $f->select_field_from_object('subinventory_id', subinventory::find_all_of_org_id($$class->org_id), 'subinventory_id', 'subinventory' ,$$class->subinventory_id,  '' , 'subinventory_id subinventory'); ?>         </td>
  <td><?php echo $f->select_field_from_object('locator_id', locator::find_all_of_subinventory($$class->subinventory_id), 'locator_id', 'locator' , $$class->locator_id, '', 'locator_id locator'); ?>         </td>
  <td><?php
   echo $f->val_field_wid('serial_number', 'inv_serial_number', 'serial_number', 'item_id_m');
   echo $f->hidden_field('inv_serial_number_id', $$class->inv_serial_number_id);
   echo $f->hidden_field_withCLass('org_id', '', 'popup_value');
   echo $f->hidden_field_withCLass('item_id_m', '', 'popup_value item_id_m');
   echo $f->hidden_field_withCLass('current_subinventory_id', '', 'popup_value current_subinventory_id');
   echo $f->hidden_field_withCLass('current_locator_id', '', 'popup_value current_locator_id');
   ?><i class="select_serial_number_id generic select_popup clickable fa fa-search" data-class_name="inv_serial_number"></i></td> 
  <td><?php echo $f->text_field_widr('onhand' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('reservable_onhand' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('onhand_id' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('supply_comment'); ?></td>
  <td><?php echo $f->text_field_widr('s_reference_key_name' ,'always_readonly'); ?></td>
  <td><?php echo $f->text_field_widr('s_reference_key_value' ,'always_readonly'); ?></td>
 </tr>
开发者ID:henryzi,项目名称:inoERP,代码行数:31,代码来源:inv_reservation_template_ma.php

示例11: gettext

echo form::select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->from_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class}->from_subinventory_id), 'locator_id', 'locator', ${$class}->from_locator_id, '', $readonly, 'locator_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->to_subinventory_id, '', $readonly, 'subinventory_id');
?>
         </td>
         <td>
          <?php 
echo form::select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class}->to_subinventory_id), 'locator_id', 'locator', ${$class}->to_locator_id, '', $readonly, 'locator_id');
?>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-3" class="tabContent">
      <table class="form_line_data_table">
       <thead> 
        <tr>
         <th><?php 
echo gettext('Document Type');
?>
</th>
         <th><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:31,代码来源:wip_wo_completion_template.php

示例12:

         
         <tr  class="wip_wol_transaction_line<?php 
    echo $count;
    ?>
">
          <td></td>
          <td><?php 
    echo $f->select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', $wip_wo_bom->wip_supply_type, '', 'wip_supply_type', '', $readonly);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', $wip_wo_bom->supply_sub_inventory, '', 'subinventory_id', '', $readonly);
    ?>
</td>
          <td><?php 
    echo $f->select_field_from_object('supply_locator', locator::find_all_of_subinventory($wip_wo_bom->supply_sub_inventory), 'locator_id', 'locator', $wip_wo_bom->supply_locator, '', 'locator_id', '', $readonly);
    ?>
</td>
         </tr>
         <?php 
    $count = $count + 1;
}
?>
       </tbody>
      </table>
     </div>
     <div id="tabsLine-3" class="tabContent">
      <table class="form_line_data_table">
       <thead> 
        <tr>
         <th><?php 
开发者ID:noikiy,项目名称:inoERP,代码行数:30,代码来源:wol_transaction_template.php

示例13:

      <div> 
       <ul class="column header_field"> 
        <li><?php 
$f->l_select_field_from_object('transaction_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->transaction_subinventory_id, '', 'subinventory_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_select_field_from_object('transaction_locator_id', locator::find_all_of_subinventory(${$class}->transaction_subinventory_id), 'locator_id', 'locator', ${$class}->transaction_locator_id, '', 'locator_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_select_field_from_object('return_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class}->return_subinventory_id, '', 'subinventory_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_select_field_from_object('return_locator_id', locator::find_all_of_subinventory(${$class}->transaction_subinventory_id), 'locator_id', 'locator', ${$class}->return_locator_id, '', 'locator_id', '', $readonly);
?>
        </li>
        <li><?php 
$f->l_checkBox_field_d('allow_negative_onhand_cb');
?>
       </li>
        <li><?php 
$f->l_ac_field_d('cogs_ac_id');
?>
</li>
        <li><?php 
$f->l_select_field_from_object('ar_transaction_type_id', ar_transaction_type::find_all(), 'ar_transaction_type_id', 'ar_transaction_type', ${$class}->ar_transaction_type_id, 'transaction_type', '', 1);
?>
        </li>
        <li><label><?php 
开发者ID:ac3gam3r,项目名称:inoERP,代码行数:31,代码来源:inv_control_template.php

示例14:

    ?>
</td>
                <td><?php 
    form::number_field_wid3sr('issued_quantity');
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('wip_supply_type', bom_header::wip_supply_type(), 'option_line_code', 'option_line_value', ${$class_third}->wip_supply_type, '', 'wip_supply_type', '', 1);
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('supply_sub_inventory', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_third}->supply_sub_inventory, '', 'subinventory_id', '', 1);
    ?>
</td>
                <td><?php 
    echo $f->select_field_from_object('supply_locator', locator::find_all_of_subinventory(${$class_third}->supply_sub_inventory), 'locator_id', 'locator', ${$class_third}->supply_locator, '', 'locator_id', '', 1);
    ?>
</td>

               </tr>
               <?php 
    $count = $count + 1;
}
?>
            </tbody>
           </table>
          </div>
         </div>
        </div>
       </div> 
      </form>
开发者ID:petardimic,项目名称:inoERP,代码行数:31,代码来源:wip_move_transaction_template+-+Copy.php

示例15:

    echo $f->select_field_from_object('from_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->from_subinventory_id, '', 'subinventory_id', '');
    ?>
         </td>
         <td>
          <?php 
    echo $f->select_field_from_object('from_locator_id', locator::find_all_of_subinventory(${$class_second}->from_subinventory_id), 'locator_id', 'locator', ${$class_second}->from_locator_id, '', 'from_locator_id', '');
    ?>
         </td>
         <td>
          <?php 
    echo $f->select_field_from_object('to_subinventory_id', subinventory::find_all_of_org_id(${$class}->org_id), 'subinventory_id', 'subinventory', ${$class_second}->to_subinventory_id, '', 'subinventory_id', '');
    ?>
         </td>
         <td>
          <?php 
    echo $f->select_field_from_object('to_locator_id', locator::find_all_of_subinventory(${$class_second}->to_subinventory_id), 'locator_id', 'locator', ${$class_second}->to_locator_id, '', 'to_locator_id', '');
    ?>
         </td>
         <td><?php 
    $f->text_field_wid2('description');
    ?>
							</td>
         <td><?php 
    $f->text_field_wid2r('status', 'always_readonly');
    ?>
				
         <?php 
    echo $f->hidden_field('action', '');
    ?>
		</td>      
         <td><?php 
开发者ID:moxymokaya,项目名称:inoERP,代码行数:31,代码来源:moveorder_template.php


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