From b5313b7bde9926914842e580bcb811e2537d50d2 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 10 Sep 2013 15:55:58 +0900 Subject: [PATCH] =?UTF-8?q?order=20=ED=85=8C=EC=9D=B4=EB=B8=94=EC=97=90=20?= =?UTF-8?q?=EC=A3=BC=EB=AC=B8=EA=B8=88=EC=95=A1=20=EB=93=B1=20=EA=B8=B0?= =?UTF-8?q?=EB=A1=9D=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/deliverylist.php | 30 ++---- adm/shop_admin/index.php | 25 ++--- adm/shop_admin/orderform.php | 71 +++---------- adm/shop_admin/orderlist.php | 140 ++++++++++---------------- adm/shop_admin/orderlist2.php | 62 ++++-------- adm/shop_admin/orderreceiptupdate.php | 4 +- adm/shop_admin/personalpayform.php | 2 +- adm/shop_admin/sale1date.php | 116 +++++++++------------ adm/shop_admin/sale1month.php | 114 ++++++++------------- adm/shop_admin/sale1today.php | 104 ++++++++----------- adm/shop_admin/sale1year.php | 113 ++++++++------------- extend/shop.extend.php | 25 ++--- extend/shop.extend2.php | 10 ++ install/shop.sql | 9 +- mobile/shop/orderform.php | 9 +- mobile/shop/orderformupdate.php | 27 ++--- mobile/shop/orderinquiryview.php | 57 ++++------- shop/orderform.php | 10 +- shop/orderformupdate.php | 27 ++--- shop/orderinquiryview.php | 57 ++++------- shop/settle_kcp_common.php | 4 +- 21 files changed, 385 insertions(+), 631 deletions(-) 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) - { - ?> - - 환불 금액 - + 취소/환불 금액 +