From 8eb0d74c4a4d99bac56bcb0346f4631953dec0e1 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 8 May 2013 13:16:30 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderform.php | 2 +- mobile/shop/orderinquiry.php | 2 +- mobile/shop/orderinquirycancel.php | 38 ------------------------------ shop/orderform.php | 2 +- shop/orderinquiry.php | 2 +- 5 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 mobile/shop/orderinquirycancel.php diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 962c9ac82..7a92361d7 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -11,7 +11,7 @@ else { } if (get_cart_count($tmp_uq_id) == 0) - alert('장바구니가 비어 있습니다.', './cart.php'); + alert('장바구니가 비어 있습니다.', G4_SHOP_URL.'/cart.php'); // 포인트 결제 대기 필드 추가 //sql_query(" ALTER TABLE `$g4[shop_order_table]` ADD `od_temp_point` INT NOT NULL AFTER `od_temp_card` ", false); diff --git a/mobile/shop/orderinquiry.php b/mobile/shop/orderinquiry.php index 93e9ed020..1b9f7e7ff 100644 --- a/mobile/shop/orderinquiry.php +++ b/mobile/shop/orderinquiry.php @@ -47,7 +47,7 @@ if (!$is_member) $row = sql_fetch($sql); if ($row['od_id']) { set_session("ss_uq_id_inquiry", $row['uq_id']); - goto_url(G4_ShOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']); + goto_url(G4_SHOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']); } } diff --git a/mobile/shop/orderinquirycancel.php b/mobile/shop/orderinquirycancel.php deleted file mode 100644 index a62e98bee..000000000 --- a/mobile/shop/orderinquirycancel.php +++ /dev/null @@ -1,38 +0,0 @@ - 0 && $od['od_receipt_bank'] == 0) { - ; -} else { - alert("취소할 수 있는 주문이 아닙니다.", G4_SHOP_URL."/orderinquiryview.php?od_id=$od_id&uq_id=$uq_id"); -} - -// 장바구니 자료 취소 -sql_query(" update {$g4['shop_cart_table']} set ct_status = '취소' where uq_id = '$uq_id' "); - -// 주문 취소 -$cancel_memo = addslashes($cancel_memo); -//sql_query(" update $g4[shop_order_table] set od_temp_point = '0', od_receipt_point = '0', od_shop_memo = concat(od_shop_memo,\"\\n주문자 본인 직접 취소 - {$g4['time_ymdhis']} (취소이유 : {$cancel_memo})\") where uq_id = '$uq_id' "); -sql_query(" update {$g4['shop_order_table']} set od_send_cost = '0', od_temp_point = '0', od_receipt_point = '0', od_shop_memo = concat(od_shop_memo,\"\\n주문자 본인 직접 취소 - ".G4_TIME_YMDHIS." (취소이유 : {$cancel_memo})\") where uq_id = '$uq_id' "); - -// 주문취소 회원의 포인트를 되돌려 줌 -if ($od['od_receipt_point'] > 0) { - insert_point($member['mb_id'], $od['od_receipt_point'], "주문번호 $od_id 본인 취소"); -} - -goto_url(G4_SHOP_URL."/orderinquiryview.php?od_id=$od_id&uq_id=$uq_id"); -?> \ No newline at end of file diff --git a/shop/orderform.php b/shop/orderform.php index 352c213e9..f41a98283 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -16,7 +16,7 @@ else { } if (get_cart_count($tmp_uq_id) == 0) - alert('장바구니가 비어 있습니다.', './cart.php'); + alert('장바구니가 비어 있습니다.', G4_SHOP_URL.'/cart.php'); // 포인트 결제 대기 필드 추가 //sql_query(" ALTER TABLE `$g4[shop_order_table]` ADD `od_temp_point` INT NOT NULL AFTER `od_temp_card` ", false); diff --git a/shop/orderinquiry.php b/shop/orderinquiry.php index 2f5145fd9..fa52fce17 100644 --- a/shop/orderinquiry.php +++ b/shop/orderinquiry.php @@ -52,7 +52,7 @@ if (!$is_member) $row = sql_fetch($sql); if ($row['od_id']) { set_session("ss_uq_id_inquiry", $row['uq_id']); - goto_url(G4_ShOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']); + goto_url(G4_SHOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']); } }