재고 가감함수 ip_type 기본값 변경
This commit is contained in:
@ -5,7 +5,7 @@ include_once('./_common.php');
|
|||||||
//print_r2($_POST); exit;
|
//print_r2($_POST); exit;
|
||||||
|
|
||||||
// 상품옵션별재고 또는 상품재고에 더하기
|
// 상품옵션별재고 또는 상품재고에 더하기
|
||||||
function add_io_stock($it_id, $ct_qty, $io_id="", $io_type="")
|
function add_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
|
||||||
{
|
{
|
||||||
global $g5;
|
global $g5;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ function add_io_stock($it_id, $ct_qty, $io_id="", $io_type="")
|
|||||||
|
|
||||||
|
|
||||||
// 상품옵션별재고 또는 상품재고에서 빼기
|
// 상품옵션별재고 또는 상품재고에서 빼기
|
||||||
function subtract_io_stock($it_id, $ct_qty, $io_id="", $io_type="")
|
function subtract_io_stock($it_id, $ct_qty, $io_id="", $io_type=0)
|
||||||
{
|
{
|
||||||
global $g5;
|
global $g5;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user