diff --git a/adm/shop_admin/deliverylist.php b/adm/shop_admin/deliverylist.php index f7db663cc..f971a237d 100644 --- a/adm/shop_admin/deliverylist.php +++ b/adm/shop_admin/deliverylist.php @@ -33,13 +33,12 @@ if ($sel_ca_id != "") { if ($sel_field == "") $sel_field = "od_id"; -$sql_common = " from {$g4['shop_order_table']} a - left join {$g4['shop_cart_table']} b on (a.od_id=b.od_id) +$sql_common = " from {$g4['shop_order_table']} $sql_search "; // 테이블의 전체 레코드수만 얻음 if ($chk_misu) { - $sql = " select a.od_id, a.*, "._MISU_QUERY_." $sql_common group by od_id having misu <= 0 "; + $sql = " select *, "._MISU_QUERY_." $sql_common having misu <= 0 "; $result = sql_query($sql); $total_count = mysql_num_rows($result); } @@ -90,7 +89,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌 @@ -112,8 +111,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌 @@ -298,37 +287,36 @@ if(openwin != null) {
주문총액
-
원
+
원
- 0) { ?> + 0) { ?>
상품할인
-
원
+
원
- 0) { ?> + 0) { ?>
결제할인
-
원
+
원
- 0) { ?> + 0) { ?>
배송비
-
원
+
원
- 0) { ?> + 0) { ?>
배송비할인
-
원
+
원
- 0) { ?> + 0) { ?>
추가배송비
-
원
+
원
총계
@@ -346,8 +334,7 @@ if(openwin != null) { 0) + if ($od['od_cancel_amount'] > 0) { ?> - 결제취소 금액 - - - 0) - { - ?> - - 환불 금액 - + 취소/환불 금액 +