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