本文整理匯總了PHP中Inventory::updateStock方法的典型用法代碼示例。如果您正苦於以下問題:PHP Inventory::updateStock方法的具體用法?PHP Inventory::updateStock怎麽用?PHP Inventory::updateStock使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Inventory
的用法示例。
在下文中一共展示了Inventory::updateStock方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: putUILog
<?php
include "redirect.php";
include "../includes/db_lib.php";
putUILog('update_stock', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$lid = $_REQUEST['lid'];
$r_id = $_REQUEST['r_id'];
$remarks = $_REQUEST['remarks'];
$lot = $_REQUEST['lot'];
$n_lot = $_REQUEST['n_lot'];
$e_date = $_REQUEST['yyyy_e'] . "-" . $_REQUEST['mm_e'] . "-" . $_REQUEST['dd_e'];
$manu = $_REQUEST['manu'];
$sup = $_REQUEST['sup'];
$cost = $_REQUEST['cost'];
$r_date = $_REQUEST['yyyy_r'] . "-" . $_REQUEST['mm_r'] . "-" . $_REQUEST['dd_r'];
Inventory::updateStock($lid, $r_id, $lot, $n_lot, $e_date, $manu, $sup, $cost, $r_date, $remarks);
//$lid, $r_id, $lot, $n_lot, $e_date, $manu, $sup, $cost, $r_date, $remarks
$url = "Location: ../stock_lots.php?id=" . $r_id;
header($url);