From d834a6cd3d0e6322f858b8880ccf4a7ce481c696 Mon Sep 17 00:00:00 2001 From: rollydream Date: Mon, 8 Apr 2013 09:51:00 +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:=20#41=20=EC=A3=BC=EB=AC=B8=EC=84=9C=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EB=AA=A9=EB=A1=9D=20=ED=91=9C=EC=A4=80=ED=99=94=20?= =?UTF-8?q?=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC=201=EC=B0=A8=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/orderlist.php | 326 ++++++++++++++++++----------------- 1 file changed, 165 insertions(+), 161 deletions(-) diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index c8fd0acd9..bc1d5b868 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -62,180 +62,184 @@ if (!$result) { $qstr1 = "sel_field=$sel_field&search=$search&save_search=$search"; $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; ?> + + +
+ + + + + +
+

주문서 목록

+
+

처음

+ - - - - - 건수 :   - - - - - ------------- - - - - - - - - - - - - - - - - -"> + + +

건수

+ +
주문번호주문자회원ID건수 (누적)주문합계주문취소DC입금합계입금취소미수금결제수단수정 삭제
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '; - } - else - { - if ($row['od_temp_bank'] > 0 || $row['od_receipt_bank'] > 0) + // 결제 수단 + $s_receipt_way = $s_br = ""; + if ($row[od_settle_case]) { - //$s_receipt_way = "무통장입금"; - $s_receipt_way = cut_str($row['od_bank_account'],8,""); - $s_br = "
"; + $s_receipt_way = $row['od_settle_case']; + $s_br = '
'; } - - if ($row['od_temp_card'] > 0 || $row['od_receipt_card'] > 0) + else { - // 미수금이 없고 카드결제를 하지 않았다면 카드결제를 선택후 무통장 입금한 경우임 - if ($row['misuamount'] <= 0 && $row['od_receipt_card'] == 0) - ; // 화면 출력하지 않음 - else + if ($row['od_temp_bank'] > 0 || $row['od_receipt_bank'] > 0) { - $s_receipt_way .= $s_br."카드"; - if ($row['od_receipt_card'] == 0) - $s_receipt_way .= "(미승인)"; - $s_br = "
"; + //$s_receipt_way = "무통장입금"; + $s_receipt_way = cut_str($row['od_bank_account'],8,""); + $s_br = "
"; + } + + if ($row['od_temp_card'] > 0 || $row['od_receipt_card'] > 0) + { + // 미수금이 없고 카드결제를 하지 않았다면 카드결제를 선택후 무통장 입금한 경우임 + if ($row['misuamount'] <= 0 && $row['od_receipt_card'] == 0) + ; // 화면 출력하지 않음 + else + { + $s_receipt_way .= $s_br."카드"; + if ($row['od_receipt_card'] == 0) + $s_receipt_way .= "(미승인)"; + $s_br = "
"; + } } } + + if ($row['od_receipt_point'] > 0) + $s_receipt_way .= $s_br."포인트"; + + $s_mod = icon("수정", "./orderform.php?od_id=$row[od_id]&$qstr"); + $s_del = icon("삭제", "javascript:del('./orderdelete.php?od_id={$row['od_id']}&uq_id={$row['uq_id']}&mb_id={$row['mb_id']}&$qstr');"); + + $mb_nick = get_sideview($row['mb_id'], $row['od_name'], $row['od_email'], ''); + + $tot_cnt = ""; + if ($row['mb_id']) + { + $sql2 = " select count(*) as cnt from {$g4['yc4_order_table']} where mb_id = '{$row['mb_id']}' "; + $row2 = sql_fetch($sql2); + $tot_cnt = '('.$row2['cnt'].')'; + } + + $list = $i%2; + ?> + + + + + + + + + + + + + + + + 0) - $s_receipt_way .= $s_br."포인트"; - - $s_mod = icon("수정", "./orderform.php?od_id=$row[od_id]&$qstr"); - $s_del = icon("삭제", "javascript:del('./orderdelete.php?od_id={$row['od_id']}&uq_id={$row['uq_id']}&mb_id={$row['mb_id']}&$qstr');"); - - $mb_nick = get_sideview($row['mb_id'], $row['od_name'], $row['od_email'], ''); - - $tot_cnt = ""; - if ($row['mb_id']) - { - $sql2 = " select count(*) as cnt from {$g4['yc4_order_table']} where mb_id = '{$row['mb_id']}' "; - $row2 = sql_fetch($sql2); - $tot_cnt = '('.$row2['cnt'].')'; - } - - $list = $i%2; - echo " - - - - - - - - - - - - - - - "; - - $tot_itemcount += $row['itemcount']; - $tot_orderamount += $row['orderamount']; - $tot_ordercancel += $row['ordercancel']; - $tot_dc_amount += $row['od_dc_amount']; - $tot_receiptamount += $row['receiptamount']; - $tot_receiptcancel += $row['receiptcancel']; - $tot_misu += $row['misu']; -} -mysql_free_result($result); -if ($i == 0) - echo "\n"; -?> + mysql_free_result($result); + if ($i == 0) + echo ''; + ?> + + + + + + + + + + + + + + +
">주문번호">주문자">회원ID">건수 (누적)" class="order_sum">주문합계">주문취소">DC" class="order_sum">입금합계">입금취소" class="order_outstanding">미수금결제수단관리
수정 삭제
{$row['od_id']}$mb_nick{$row['mb_id']}{$row['itemcount']}건 $tot_cnt".number_format($row['orderamount'])."".number_format($row['ordercancel'])."".number_format($row['od_dc_amount'])."".number_format($row['receiptamount'])."".number_format($row['receiptcancel'])."".number_format($row['misu'])."$s_receipt_way$s_mod $s_del
자료가 한건도 없습니다.
자료가 한건도 없습니다.
합 계
+
- - - 합 계 - 건 - - - - - - - - - - +

- - - - - -
 
+

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

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