0 "; break; default: $where[] = " od_status = '$od_status' "; break; } switch ($od_status) { case '주문' : $sort1 = "od_id"; $sort2 = "desc"; break; case '입금' : // 결제완료 $sort1 = "od_receipt_time"; $sort2 = "desc"; break; case '배송' : // 배송중 $sort1 = "od_invoice_time"; $sort2 = "desc"; break; } } if ($od_settle_case) { $where[] = " od_settle_case = '$od_settle_case' "; } if ($od_misu) { $where[] = " od_misu != 0 "; } if ($od_cancel_price) { $where[] = " od_cancel_price != 0 "; } if ($od_refund_price) { $where[] = " od_refund_price != 0 "; } if ($od_receipt_point) { $where[] = " od_receipt_point != 0 "; } if ($od_coupon) { $where[] = " od_coupon != 0 "; } if ($od_escrow) { $where[] = " od_escrow = 1 "; } if ($fr_date && $to_date) { $where[] = " od_time between '$fr_date 00:00:00' and '$to_date 23:59:59' "; } if ($where) { $sql_search = ' where '.implode(' and ', $where); } if ($sel_field == "") $sel_field = "od_id"; if ($sort1 == "") $sort1 = "od_id"; if ($sort2 == "") $sort2 = "desc"; $sql_common = " from {$g5['g5_shop_order_table']} $sql_search "; $sql = " select count(od_id) as cnt " . $sql_common; $row = sql_fetch($sql); $total_count = $row['cnt']; $rows = $config['cf_page_rows']; $total_page = ceil($total_count / $rows); // 전체 페이지 계산 if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지) $from_record = ($page - 1) * $rows; // 시작 열을 구함 $sql = " select *, (od_cart_coupon + od_coupon + od_send_coupon) as couponprice $sql_common order by $sort1 $sort2 limit $from_record, $rows "; $result = sql_query($sql); $qstr1 = "sel_field=$sel_field&search=$search&save_search=$search"; $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; $listall = '전체목록'; ?>
전체 주문내역 0) { ?> 엑셀배송처리
주문상태 > > > > > > > >
결제수단 > > > > > >
기타선택 > > > > > >
주문일자 ~
'; } else { $s_receipt_way = '결제수단없음'; $s_br = '
'; } if ($row['od_receipt_point'] > 0) $s_receipt_way .= $s_br."포인트"; $mb_nick = get_sideview($row['mb_id'], $row['od_name'], $row['od_email'], ''); $od_cnt = 0; if ($row['mb_id']) { $sql2 = " select count(*) as cnt from {$g5['g5_shop_order_table']} where mb_id = '{$row['mb_id']}' "; $row2 = sql_fetch($sql2); $od_cnt = $row2['cnt']; } // 주문 번호에 device 표시 $od_mobile = ''; if($row['od_mobile']) $od_mobile = '(M)'; // 주문 번호에 에스크로 표시 $od_paytype = ''; if($default['de_escrow_use'] && $row['od_escrow']) $od_paytype = '에스크로'; $uid = md5($row['od_id'].$row['od_time'].$row['od_ip']); $invoice_time = is_null_time($row['od_invoice_time']) ? G5_TIME_YMDHIS : $row['od_invoice_time']; $delivery_company = $row['od_delivery_company'] ? $row['od_delivery_company'] : $default['de_delivery_company']; $bg = 'bg'.($i%2); $td_color = 0; if($row['od_cancel_price'] > 0) { $bg .= 'cancel'; $td_color = 1; } ?> '; ?>
주문 내역 목록
">주문번호 주문자 주문자전화 받는분 주문합계
선불배송비포함
입금합계 주문취소 쿠폰 미수금 보기
회원ID 주문상품수 누적주문수
주문상태 결제수단 운송장번호 배송회사 배송일시
보기
비회원
- - -
자료가 없습니다.
    합 계
주문상태에서만 삭제가 가능합니다.

<무통장>인 경우에만 <주문>에서 <입금>으로 변경됩니다. 가상계좌는 입금시 자동으로 <입금>처리됩니다.
<준비>에서 <배송>으로 변경시 <에스크로배송등록>을 체크하시면 에스크로 주문에 한해 KCP에 배송정보가 자동 등록됩니다.
주의! 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.