From 07006980da75073b71d011c09f9e5a3dd68767d3 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 13 Nov 2013 10:12:09 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B7=A8=EC=86=8C=20=EC=A3=BC=EB=AC=B8=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/orderlist.php | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index b39314c4a..3df979c54 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -23,7 +23,18 @@ if ($search != "") { } if ($od_status) { - $where[] = " od_status = '$od_status' "; + switch($od_status) { + case '전체취소': + $where[] = " od_status = '취소' "; + break; + case '부분취소': + $where[] = " od_status IN('주문', '입금', '준비', '배송', '완료') and od_cancel_price > 0 "; + break; + default: + $where[] = " od_status = '$od_status' "; + break; + } + switch ($od_status) { case '주문' : $sort1 = "od_id"; @@ -40,10 +51,6 @@ if ($od_status) { } } -if ($od_status) { - $where[] = " od_status = '$od_status' "; -} - if ($od_settle_case) { $where[] = " od_settle_case = '$od_settle_case' "; } @@ -155,6 +162,10 @@ $listall = '전체목록배송 > + > + + > +
@@ -178,7 +189,7 @@ $listall = '전체목록> > - + > > @@ -290,6 +301,8 @@ $listall = '전체목록 0) + $tr_bg .= 'cancel'; ?>