From 3b054011a6cd66cc8133147071dd405e136b0409 Mon Sep 17 00:00:00 2001 From: rollydream Date: Thu, 4 Apr 2013 14:06:26 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=20:=20#35=20=EC=9B=94=EB=B3=84=20=EB=A7=A4=EC=B6=9C=ED=98=84?= =?UTF-8?q?=ED=99=A9=20=ED=91=9C=EC=A4=80=ED=99=94=20=EB=B0=8F=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=201=EC=B0=A8=20=EC=9E=91=EC=97=85=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=20#33=20#34=20=EC=84=B8=EB=B6=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/sale1date.php | 2 +- adm/shop_admin/sale1month.php | 138 +++++++++++++++++++--------------- adm/shop_admin/sale1today.php | 2 +- 3 files changed, 80 insertions(+), 62 deletions(-) diff --git a/adm/shop_admin/sale1date.php b/adm/shop_admin/sale1date.php index c4bbe905a..35c252fed 100644 --- a/adm/shop_admin/sale1date.php +++ b/adm/shop_admin/sale1date.php @@ -22,7 +22,7 @@ function print_line($save) ?> - + diff --git a/adm/shop_admin/sale1month.php b/adm/shop_admin/sale1month.php index c953aa89c..0a50e3fc5 100644 --- a/adm/shop_admin/sale1month.php +++ b/adm/shop_admin/sale1month.php @@ -4,8 +4,8 @@ include_once('./_common.php'); auth_check($auth[$sub_menu], "r"); -$fr_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $fr_date); -$to_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $to_date); +$fr_month = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $fr_month); +$to_month = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $to_month); $g4['title'] = "$fr_month ~ $to_month 매출현황"; /*레이블 중복 인식과 페이지와의 연결 때문에 month로 바꿈 김혜련 2013-04-04*/ include_once (G4_ADMIN_PATH.'/admin.head.php'); @@ -16,45 +16,60 @@ function print_line($save) static $count = 0; if ($count++ > 0) - echo "\n"; + echo ''; $date = preg_replace("/-/", "", $save['od_date']); - echo " - - $save[od_date] - ".number_format($save['ordercount'])." - ".number_format($save['orderamount'])." - ".number_format($save['ordercancel'] + $save['dc'])." - ".number_format($save['receiptbank'])." - ".number_format($save['receiptcard'])." - ".number_format($save['receiptpoint'])." - ".number_format($save['receiptcancel'])." - ".number_format($save['misu'])." - \n"; + ?> + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + .sale1{text-align:center} + +
+

월별 매출현황

+
주문월주문수주문합계취소+DC무통장입금카드입금포인트입금입금취소미수금
+ + + + + + + + + + + + + + + + + + + + + + + + + + "; -} else { + if ($i == 0) { + echo ''; + } else { print_line($save); -} -?> - - - - - - - - - - - - - -
주문월주문수주문합계취소+DC무통장입금카드입금포인트입금입금취소미수금
자료가 한건도 없습니다.
자료가 한건도 없습니다.
합 계
+ } + ?> + + + + 합 계 + + + + + + + + + + + + + - +