From f42a3185c898c57f8eeb50c5ef127f2cd6ce7101 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 4 Mar 2014 18:08:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EB=AC=B8=EB=82=B4=EC=97=AD=20?= =?UTF-8?q?=EC=A3=BC=EB=AC=B8=EB=B2=88=ED=98=B8=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C=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/orderlist.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index 9c5665099..6186a8689 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -303,6 +303,16 @@ if(!sql_query(" select mb_id from {$g5['g5_shop_order_delete_table']} limit 1 ", if($row['od_mobile']) $od_mobile = '(M)'; + // 주문번호에 - 추가 + switch(strlen($row['od_id'])) { + case 16: + $disp_od_id = substr($row['od_id'],0,8).'-'.substr($row['od_id'],8); + break; + default: + $disp_od_id = substr($row['od_id'],0,6).'-'.substr($row['od_id'],6); + break; + } + // 주문 번호에 에스크로 표시 $od_paytype = ''; if($default['de_escrow_use'] && $row['od_escrow']) @@ -331,7 +341,7 @@ if(!sql_query(" select mb_id from {$g5['g5_shop_order_delete_table']} limit 1 ",
--> - +