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무통장입금카드입금포인트입금입금취소미수금
자료가 한건도 없습니다.
자료가 한건도 없습니다.
합 계
+ } + ?> + + + + 합 계 + + + + + + + + + + + + + - +