order 테이블에 주문금액 등 기록되도록 수정

This commit is contained in:
chicpro
2013-09-10 15:55:58 +09:00
parent 3d4ccc4505
commit b5313b7bde
21 changed files with 385 additions and 631 deletions

View File

@ -159,6 +159,7 @@ if(!$default['de_card_test']) {
$sql = " update {$g4['shop_order_table']}
set od_receipt_amount = od_receipt_amount + '$ipgm_mnyx',
od_receipt_time = '$tx_tm',
od_status = '".G4_OD_STATUS_SETTLE."',
od_shop_memo = concat(od_shop_memo, \"\\n개인결제 ".$row['pp_id']." 로 결제완료 - ".$receipt_time."\")
where od_id = '{$row['od_id']}' ";
sql_query($sql, FALSE);
@ -167,7 +168,8 @@ if(!$default['de_card_test']) {
// 주문서 UPDATE
$sql = " update {$g4['shop_order_table']}
set od_receipt_amount = '$ipgm_mnyx',
od_receipt_time = '$tx_tm'
od_receipt_time = '$tx_tm',
od_status = '".G4_OD_STATUS_SETTLE."'
where od_id = '$order_no'
and od_tno = '$tno' ";
sql_query($sql, FALSE);