#212 결제필드 간소화 작업 중

This commit is contained in:
chicpro
2013-06-13 18:02:01 +09:00
parent 21da1ac432
commit 55153185c2
21 changed files with 175 additions and 217 deletions

View File

@ -15,7 +15,7 @@ if (!$od['od_id']) {
alert("존재하는 주문이 아닙니다.");
}
if ($od['od_temp_bank'] > 0 && $od['od_receipt_bank'] == 0) {
if ($od['od_temp_amount'] > 0 && $od['od_receipt_amount'] == 0) {
;
} else {
alert("취소할 수 있는 주문이 아닙니다.", G4_SHOP_URL."/orderinquiryview.php?od_id=$od_id&uq_id=$uq_id");
@ -31,7 +31,9 @@ sql_query(" update {$g4['shop_order_table']} set od_send_cost = '0', od_temp_poi
// 주문취소 회원의 포인트를 되돌려 줌
if ($od['od_receipt_point'] > 0) {
insert_point($member['mb_id'], $od['od_receipt_point'], "주문번호 $od_id 본인 취소");
if(!$default['de_mileage_use'])
insert_point($member['mb_id'], $od['od_receipt_point'], "주문번호 $od_id 본인 취소");
insert_mileage($member['mb_id'], $od['od_receipt_point'], "주문번호 $od_id 본인 취소", $od_id);
}
goto_url(G4_SHOP_URL."/orderinquiryview.php?od_id=$od_id&uq_id=$uq_id");