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