주문일괄처리 수정중, 주문상태를 상수에서 직접값으로 처리 예를 들어 G5_OD_STATUS_SETTLE 결제완료 -> 입금

This commit is contained in:
gnuboard
2013-10-04 18:01:43 +09:00
parent c4cd9bff0c
commit 0641581bc1
7 changed files with 162 additions and 50 deletions

View File

@ -159,7 +159,7 @@ if(!$default['de_card_test']) {
$sql = " update {$g5['g5_shop_order_table']}
set od_receipt_price = od_receipt_price + '$ipgm_mnyx',
od_receipt_time = '$tx_tm',
od_status = '".G5_OD_STATUS_SETTLE."',
od_status = '입금',
od_shop_memo = concat(od_shop_memo, \"\\n개인결제 ".$row['pp_id']." 로 결제완료 - ".$receipt_time."\")
where od_id = '{$row['od_id']}' ";
sql_query($sql, FALSE);
@ -169,7 +169,7 @@ if(!$default['de_card_test']) {
$sql = " update {$g5['g5_shop_order_table']}
set od_receipt_price = '$ipgm_mnyx',
od_receipt_time = '$tx_tm',
od_status = '".G5_OD_STATUS_SETTLE."'
od_status = '입금'
where od_id = '$order_no'
and od_tno = '$tno' ";
sql_query($sql, FALSE);