From 42faab094149e91be844315d78209fca31ee6f26 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 12 Jul 2013 10:11:10 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=A3=BC?= =?UTF-8?q?=EB=AC=B8=EC=B7=A8=EC=86=8C=20=EA=B8=B0=EB=8A=A5=20=EC=A4=91=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=EB=90=9C=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderinquiryview.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php index c9de9f58d..b1ec2a7b8 100644 --- a/mobile/shop/orderinquiryview.php +++ b/mobile/shop/orderinquiryview.php @@ -17,6 +17,13 @@ if (!$od['od_id']) { alert("조회하실 주문서가 없습니다.", G4_SHOP_URL); } +// 처리 중인 요청이 있는지.. +$dsp_request = true; +$sql = " select count(*) as cnt from {$g4['shop_request_table']} where od_id = '$od_id' and rq_status = '0' "; +$rq = sql_fetch($sql); +if($rq['cnt']) + $dsp_request = false; + // 결제방법 $settle_case = $od['od_settle_case']; @@ -44,6 +51,9 @@ include_once(G4_MSHOP_PATH.'/_head.php');
상품 배송이 완료되었습니다.
+ 선택 옵션항목 수량 판매가 @@ -91,6 +102,11 @@ include_once(G4_MSHOP_PATH.'/_head.php'); $point = $opt['ct_point'] * $opt['ct_qty']; ?> + + + + + @@ -106,6 +122,13 @@ include_once(G4_MSHOP_PATH.'/_head.php'); $tot_point += $point; $tot_sell_amount += $sell_amount; } + + // 전체 상품의 상태가 주문인지 비교할 때 사용 + $od_count1++; + if($opt['ct_status'] == '주문') + $od_count2++; + + $idx++; } ?> @@ -545,7 +568,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');