本文整理汇总了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);