From 9d58758029016dcb147537ee111ce002b271b10b Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 11 Apr 2013 21:05:42 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=9E=90:=20=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=A3=BC=EB=AC=B8=EB=82=B4=EC=97=AD=20=EC=A3=BC=EB=AC=B8?= =?UTF-8?q?=EA=B0=9C=EB=B3=84=EB=82=B4=EC=97=AD=20=EC=A3=BC=EB=AC=B8?= =?UTF-8?q?=ED=86=B5=ED=95=A9=EB=82=B4=EC=97=AD=20=ED=91=9C=EC=A4=80?= =?UTF-8?q?=ED=99=94=20=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/orderlist.php | 2 +- adm/shop_admin/orderlist2.php | 360 +++++++++++++---------------- adm/shop_admin/orderstatuslist.php | 6 +- css/admin.css | 7 +- 4 files changed, 176 insertions(+), 199 deletions(-) diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index f0535c017..c853c8b74 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -109,7 +109,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌 - + diff --git a/adm/shop_admin/orderlist2.php b/adm/shop_admin/orderlist2.php index b94fe33f9..862dd21cc 100644 --- a/adm/shop_admin/orderlist2.php +++ b/adm/shop_admin/orderlist2.php @@ -4,7 +4,7 @@ include_once('./_common.php'); auth_check($auth[$sub_menu], "r"); -$g4['title'] = '주문서관리'; +$g4['title'] = '주문통합내역'; include_once (G4_ADMIN_PATH.'/admin.head.php'); $where = " where "; @@ -67,213 +67,185 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) $tot_misu += $row['misu']; } -//$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search"; -$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$search"; -$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; +//$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search"; +$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$search"; +$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; + +$listall = ''; +if ($search) // 검색렬일 때만 처음 버튼을 보여줌 + $listall = '전체목록'; ?> - - - - - - - - - - - -
'>처음 - - - - - 건수 :  
+ + + + + + +
+ 주문내역 검색 + + + 전체 주문내역 건 + + + + +
+ +
+

주문통합내역 목록

+

주의! 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.

- ------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '; - } - else - { - if ($lines[$i]['od_temp_bank'] > 0 || $lines[$i]['od_receipt_bank'] > 0) + // 결제 수단 + $s_receipt_way = $s_br = ""; + if ($lines[$i]['od_settle_case']) { - //$s_receipt_way = "무통장입금"; - $s_receipt_way = cut_str($lines[$i]['od_bank_account'],8,""); - $s_br = "
"; + $s_receipt_way = $lines[$i]['od_settle_case']; + $s_br = '
'; } - - if ($lines[$i]['od_temp_card'] > 0 || $lines[$i]['od_receipt_card'] > 0) + else { - // 미수금이 없고 카드결제를 하지 않았다면 카드결제를 선택후 무통장 입금한 경우임 - if ($lines[$i]['misuamount'] <= 0 && $lines[$i]['od_receipt_card'] == 0) - ; // 화면 출력하지 않음 - else + if ($lines[$i]['od_temp_bank'] > 0 || $lines[$i]['od_receipt_bank'] > 0) { - $s_receipt_way .= $s_br."카드"; - if ($lines[$i]['od_receipt_card'] == 0) - $s_receipt_way .= '(미승인)'; - $s_br = '
'; + //$s_receipt_way = "무통장입금"; + $s_receipt_way = cut_str($lines[$i]['od_bank_account'],8,""); + $s_br = "
"; + } + + if ($lines[$i]['od_temp_card'] > 0 || $lines[$i]['od_receipt_card'] > 0) + { + // 미수금이 없고 카드결제를 하지 않았다면 카드결제를 선택후 무통장 입금한 경우임 + if ($lines[$i]['misuamount'] <= 0 && $lines[$i]['od_receipt_card'] == 0) + ; // 화면 출력하지 않음 + else + { + $s_receipt_way .= $s_br."카드"; + if ($lines[$i]['od_receipt_card'] == 0) + $s_receipt_way .= '(미승인)'; + $s_br = '
'; + } } } + + if ($lines[$i]['od_receipt_point'] > 0) + $s_receipt_way .= $s_br.'포인트'; + ?> + + + + + + + + + + + + + + + + '.cut_str($row2['it_name'],35).'
'; + $it_name .= print_item_options($row2['it_id'], $row2['it_opt1'], $row2['it_opt2'], $row2['it_opt3'], $row2['it_opt4'], $row2['it_opt5'], $row2['it_opt6']); + + $sub_amount = $row2['ct_qty'] * $row2['ct_amount']; + $sub_point = $row2['ct_qty'] * $row2['ct_point']; + ?> + + + + + + + + + + + 0) - $s_receipt_way .= $s_br.'포인트'; + if ($i == 0) + echo ''; + ?> + +
주문번호주문자회원ID건수주문합계주문취소DC입금합계입금취소미수금결제수단수정 삭제
상품명판매가수량포인트상태소계
합 계
">주문번호
주문일시
">주문자/입금자
">회원ID
">건수">주문합계">주문취소">DC">입금합계">입금취소">미수금결제수단관리
상품명판매가수량포인트소계상태
합 계 +

+ + / +
+ +
+ 수정 + 삭제 +
+
    +
  • +
+
자료가 한건도 없습니다.
+
- $s_mod = icon("수정", "./orderform.php?od_id={$lines[$i]['od_id']}&$qstr"); - $s_del = icon("삭제", "javascript:del('./orderdelete.php?od_id={$lines[$i]['od_id']}&uq_id={$lines[$i]['uq_id']}&mb_id={$lines[$i]['mb_id']}&$qstr&list=2');"); - - if ($i>0) - echo ''; - - $list = $i%2; - echo " - - {$lines[$i]['od_id']} - ".cut_str($lines[$i]['od_name'],30,"")." - {$lines[$i]['mb_id']} - {$lines[$i]['itemcount']}건 - ".number_format($lines[$i]['orderamount'])." - ".number_format($lines[$i]['ordercancel'])." - ".number_format($lines[$i]['od_dc_amount'])." - ".number_format($lines[$i]['receiptamount'])." - ".number_format($lines[$i]['receiptcancel'])." - ".number_format($lines[$i]['misu'])." - $s_receipt_way - $s_mod $s_del - "; - - // 상품개별출력 - $sql2 = " select c.it_name, - b.* - from {$g4['shop_order_table']} a - left join {$g4['shop_cart_table']} b on (a.uq_id = b.uq_id) - left join {$g4['shop_item_table']} c on (b.it_id = c.it_id) - where od_id = '{$lines[$i]['od_id']}' "; - $result2 = sql_query($sql2); - for ($k=0; $row2=sql_fetch_array($result2); $k++) - { - $href = G4_SHOP_URL."/item.php?it_id={$row2['it_id']}"; - $it_name = "".cut_str($row2['it_name'],35)."
"; - $it_name .= print_item_options($row2['it_id'], $row2['it_opt1'], $row2['it_opt2'], $row2['it_opt3'], $row2['it_opt4'], $row2['it_opt5'], $row2['it_opt6']); - - $sub_amount = $row2['ct_qty'] * $row2['ct_amount']; - $sub_point = $row2['ct_qty'] * $row2['ct_point']; - - echo " - - - - - - - - -
".get_it_image($row2['it_id'].'_s', 50, 50)."$it_name
- ".number_format($row2['ct_amount'])."  - ".$row2['ct_qty']." - ".number_format($sub_point)."  - ".$row2['ct_status']." - ".number_format($sub_amount)."  - - - "; - } -} - -if ($i == 0) - echo "자료가 한건도 없습니다.\n"; -?> - - - - - - - - - - - -
 
- -주의) 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오. - - + - +
주문상태별 검색 @@ -113,7 +113,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
  • ">품절
  • - @@ -122,7 +122,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌 - +
    diff --git a/css/admin.css b/css/admin.css index 0fab898e2..4522788c2 100644 --- a/css/admin.css +++ b/css/admin.css @@ -323,9 +323,14 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9 .td_sodr_sum {color:#1275d3} .td_sodr_nonpay {color:#ff6600} -/* 주문내역 */ +/* 주문개별내역 */ #sodr_status {text-align:center} +/* 주문통합내역 */ +#sodr_all {text-align:center} +#sodr_all ul {margin:0;padding:0;list-style:none} +#sodr_all ul li {text-align:left} + /* 분류관리 목록 */ .cate_list_lbl {display:inline-block;padding-left:15px;background:url('../adm/shop_admin/img/icon_reply.gif') 0 2px no-repeat}