od_temp_point 필드 제거

This commit is contained in:
chicpro
2013-08-29 16:00:10 +09:00
parent d7ee1597c0
commit b08ad7e332
5 changed files with 2 additions and 15 deletions

View File

@ -122,7 +122,7 @@ $pg_anchor = '<ul class="anchor">
else
{
$settle_method .= '미입력';
if ($row['od_temp_point']) $settle_method .= '포인트';
if ($row['od_receipt_point']) $settle_method .= '포인트';
}
?>
<tr>

View File

@ -601,7 +601,6 @@ CREATE TABLE IF NOT EXISTS `shop_order` (
`od_send_coupon` int(11) NOT NULL DEFAULT '0',
`od_send_cost2` int(11) NOT NULL DEFAULT '0',
`od_temp_amount` int(11) NOT NULL DEFAULT '0',
`od_temp_point` int(11) NOT NULL DEFAULT '0',
`od_receipt_amount` int(11) NOT NULL DEFAULT '0',
`od_receipt_point` int(11) NOT NULL DEFAULT '0',
`od_bank_account` varchar(255) NOT NULL DEFAULT '',

View File

@ -301,7 +301,6 @@ $i_amount = $i_amount + $i_send_cost + $i_send_cost2 - $i_temp_point - $i_send_c
if ($od_settle_case == "무통장")
{
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_receipt_point = $i_temp_point;
$od_receipt_amount = 0;
}
@ -310,7 +309,6 @@ else if ($od_settle_case == "계좌이체")
include G4_MSHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -327,7 +325,6 @@ else if ($od_settle_case == "가상계좌")
include G4_MSHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_receipt_point = $i_temp_point;
$od_tno = $tno;
@ -343,7 +340,6 @@ else if ($od_settle_case == "휴대폰")
include G4_MSHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -357,7 +353,6 @@ else if ($od_settle_case == "신용카드")
include G4_MSHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -431,7 +426,6 @@ $sql = " insert {$g4['shop_order_table']}
od_send_cost2 = '$od_send_cost2',
od_coupon = '$tot_od_cp_amount',
od_temp_amount = '$od_temp_amount',
od_temp_point = '$od_temp_point',
od_receipt_amount = '$od_receipt_amount',
od_receipt_point = '$od_receipt_point',
od_bank_account = '$od_bank_account',

View File

@ -295,7 +295,6 @@ $i_amount = $i_amount + $i_send_cost + $i_send_cost2 - $i_temp_point - $i_send_c
if ($od_settle_case == "무통장")
{
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_receipt_point = $i_temp_point;
$od_receipt_amount = 0;
}
@ -304,7 +303,6 @@ else if ($od_settle_case == "계좌이체")
include G4_SHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -321,7 +319,6 @@ else if ($od_settle_case == "가상계좌")
include G4_SHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_receipt_point = $i_temp_point;
$od_tno = $tno;
@ -337,7 +334,6 @@ else if ($od_settle_case == "휴대폰")
include G4_SHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -351,7 +347,6 @@ else if ($od_settle_case == "신용카드")
include G4_SHOP_PATH.'/kcp/pp_ax_hub.php';
$od_temp_amount = $i_amount;
$od_temp_point = $i_temp_point;
$od_tno = $tno;
$od_receipt_amount = $amount;
@ -425,7 +420,6 @@ $sql = " insert {$g4['shop_order_table']}
od_send_cost2 = '$od_send_cost2',
od_coupon = '$tot_od_cp_amount',
od_temp_amount = '$od_temp_amount',
od_temp_point = '$od_temp_point',
od_receipt_amount = '$od_receipt_amount',
od_receipt_point = '$od_receipt_point',
od_bank_account = '$od_bank_account',

View File

@ -64,7 +64,7 @@ sql_query(" update {$g4['shop_cart_table']} set ct_status = '취소' where od_id
// 주문 취소
$cancel_memo = addslashes($cancel_memo);
sql_query(" update {$g4['shop_order_table']} set od_send_cost = '0', od_send_cost2 = '0', od_temp_point = '0', od_receipt_amount = '0', od_receipt_point = '0', od_shop_memo = concat(od_shop_memo,\"\\n주문자 본인 직접 취소 - ".G4_TIME_YMDHIS." (취소이유 : {$cancel_memo})\") where od_id = '$od_id' ");
sql_query(" update {$g4['shop_order_table']} set od_send_cost = '0', od_send_cost2 = '0', od_receipt_amount = '0', od_receipt_point = '0', od_shop_memo = concat(od_shop_memo,\"\\n주문자 본인 직접 취소 - ".G4_TIME_YMDHIS." (취소이유 : {$cancel_memo})\") where od_id = '$od_id' ");
// 주문취소 회원의 포인트를 되돌려 줌
if ($od['od_receipt_point'] > 0)