本文整理汇总了PHP中Stock::retriveStockItemByIndendId方法的典型用法代码示例。如果您正苦于以下问题:PHP Stock::retriveStockItemByIndendId方法的具体用法?PHP Stock::retriveStockItemByIndendId怎么用?PHP Stock::retriveStockItemByIndendId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stock
的用法示例。
在下文中一共展示了Stock::retriveStockItemByIndendId方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Stock
<?php
require_once '../../lib/defination.class.php';
include '../../lib/delivery.class.php';
include '../../lib/stock.class.php';
include '../../lib/gatePass.class.php';
// get stock item for combo box
$Stock = new Stock();
$outputStockItem = options_for_select($Stock->retriveStockItemByIndendId($id), 'stock_item_id', 'stock_item_name', true);
// get Indend info for combo box;
$GatePass = new GatePass();
$GatePassNo = options_for_select($GatePass->retriveGatePassMasterNo(), 'gate_pass_id', 'gate_pass_no', true);
$Delivery = new Delivery();
$num = $Delivery->getNewId();
?>
<style type="text/css">
<!--
.style10 {font-size: xx-small; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style11 {font-size: xx-small}
-->
</style>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />
<form id="supplierForm" name="supplierForm" method="post" action="includes/model/delivery_actions.php" >
<div id="note"> </div>
<div id="ajax_content">
<table width="105%" border="0" align="left" cellpadding="2" cellspacing="5" style="float:left" >