주문일괄처리 수정중, 주문상태를 상수에서 직접값으로 처리 예를 들어 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

@ -269,7 +269,7 @@ if ($od_settle_case == "무통장")
$od_receipt_point = $i_temp_point;
$od_receipt_price = 0;
$od_misu = $i_price - $od_receipt_price;
$od_status = G5_OD_STATUS_ORDER;
$od_status = '주문';
}
else if ($od_settle_case == "계좌이체")
{
@ -285,7 +285,7 @@ else if ($od_settle_case == "계좌이체")
$od_bank_account = $bank_name;
$pg_price = $amount;
$od_misu = $i_price - $od_receipt_price;
$od_status = G5_OD_STATUS_SETTLE;
$od_status = '입금';
}
else if ($od_settle_case == "가상계좌")
{
@ -300,7 +300,7 @@ else if ($od_settle_case == "가상계좌")
$od_deposit_name = $depositor;
$pg_price = $amount;
$od_misu = $i_price - $od_receipt_price;
$od_status = G5_OD_STATUS_ORDER;
$od_status = '주문';
}
else if ($od_settle_case == "휴대폰")
{
@ -313,7 +313,7 @@ else if ($od_settle_case == "휴대폰")
$od_bank_account = $commid.' '.$mobile_no;
$pg_price = $amount;
$od_misu = $i_price - $od_receipt_price;
$od_status = G5_OD_STATUS_SETTLE;
$od_status = '입금';
}
else if ($od_settle_case == "신용카드")
{
@ -328,7 +328,7 @@ else if ($od_settle_case == "신용카드")
$od_bank_account = $card_name;
$pg_price = $amount;
$od_misu = $i_price - $od_receipt_price;
$od_status = G5_OD_STATUS_SETTLE;
$od_status = '입금';
}
else
{

View File

@ -46,12 +46,14 @@ if(openwin != null) {
<dl id="sod_fin_legend">
<dt>주문</dt>
<dd>주문이 접수되었습니다.</dd>
<dt>입금</dt>
<dd>입금(결제)이 완료 되었습니다.</dd>
<dt>준비</dt>
<dd>상품 준비 중입니다.</dd>
<dt>배송</dt>
<dd>상품 배송 중입니다.</dd>
<dt>완료</dt>
<dd>상품 배송이 완료되었습니다.</dd>
<dd>상품 배송이 완료 되었습니다.</dd>
</dl>
<?php
$st_count1 = $st_count2 = 0;

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);