diff --git a/adm/shop_admin/sale1date.php b/adm/shop_admin/sale1date.php
index 46ad4d017..845a74bb0 100644
--- a/adm/shop_admin/sale1date.php
+++ b/adm/shop_admin/sale1date.php
@@ -21,7 +21,10 @@ function print_line($save)
|
|
|
+ |
+ |
|
+ |
|
|
|
@@ -55,8 +58,11 @@ $result = sql_query($sql);
주문수 |
주문합계 |
쿠폰 |
- 계좌입금 |
+ 무통장 |
+ 가상계좌 |
+ 계좌이체 |
카드입금 |
+ 휴대폰 |
포인트입금 |
주문취소 |
미수금 |
@@ -81,8 +87,14 @@ $result = sql_query($sql);
$save['orderprice'] += $row['orderprice'];
$save['ordercancel'] += $row['od_cancel_price'];
$save['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$save['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $save['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $save['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $save['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$save['receiptcard'] += $row['od_receipt_price'];
$save['receiptpoint'] += $lines[$i]['od_receipt_point'];
@@ -92,8 +104,14 @@ $result = sql_query($sql);
$tot['orderprice'] += $row['orderprice'];
$tot['ordercancel'] += $row['od_cancel_price'];
$tot['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$tot['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $tot['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $tot['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $tot['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$tot['receiptcard'] += $row['od_receipt_price'];
$tot['receiptpoint '] += $row['od_receipt_point'];
@@ -101,7 +119,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
- echo '| 자료가 없습니다. |
';
+ echo '| 자료가 없습니다. |
';
} else {
print_line($save);
}
@@ -114,7 +132,10 @@ $result = sql_query($sql);
|
|
|
+ |
+ |
|
+ |
|
|
|
diff --git a/adm/shop_admin/sale1month.php b/adm/shop_admin/sale1month.php
index 7c589645d..302e75b29 100644
--- a/adm/shop_admin/sale1month.php
+++ b/adm/shop_admin/sale1month.php
@@ -21,7 +21,10 @@ function print_line($save)
|
|
|
+ |
+ |
|
+ |
|
|
|
@@ -56,8 +59,11 @@ $result = sql_query($sql);
주문수 |
주문합계 |
쿠폰 |
- 계좌입금 |
+ 무통장 |
+ 가상계좌 |
+ 계좌이체 |
카드입금 |
+ 휴대폰 |
포인트입금 |
주문취소 |
미수금 |
@@ -82,8 +88,14 @@ $result = sql_query($sql);
$save['orderprice'] += $row['orderprice'];
$save['ordercancel'] += $row['od_cancel_price'];
$save['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$save['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $save['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $save['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $save['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$save['receiptcard'] += $row['od_receipt_price'];
$save['receiptpoint'] += $row['od_receipt_point'];
@@ -93,8 +105,14 @@ $result = sql_query($sql);
$tot['orderprice'] += $row['orderprice'];
$tot['ordercancel'] += $row['od_cancel_price'];
$tot['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$tot['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $tot['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $tot['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $tot['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$tot['receiptcard'] += $row['od_receipt_price'];
$tot['receiptpoint'] += $row['od_receipt_point'];
@@ -102,7 +120,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
- echo '| 자료가 없습니다. |
';
+ echo '| 자료가 없습니다. |
';
} else {
print_line($save);
}
@@ -115,7 +133,10 @@ $result = sql_query($sql);
|
|
|
+ |
+ |
|
+ |
|
|
|
diff --git a/adm/shop_admin/sale1today.php b/adm/shop_admin/sale1today.php
index 219058b4d..1a112f72c 100644
--- a/adm/shop_admin/sale1today.php
+++ b/adm/shop_admin/sale1today.php
@@ -35,8 +35,11 @@ $result = sql_query($sql);
주문자 |
주문합계 |
쿠폰 |
- 계좌입금 |
+ 무통장 |
+ 가상계좌 |
+ 계좌이체 |
카드입금 |
+ 휴대폰 |
포인트입금 |
주문취소 |
미수금 |
@@ -53,9 +56,15 @@ $result = sql_query($sql);
$href = '';
}
- $receipt_bank = $receipt_card = 0;
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ $receipt_bank = $receipt_card = $receipt_vbank = $receipt_iche = $receipt_hp = 0;
+ if($row['od_settle_case'] == '무통장')
$receipt_bank = $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $receipt_vbank = $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $receipt_iche = $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $receipt_hp = $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$receipt_card = $row['od_receipt_price'];
@@ -66,7 +75,10 @@ $result = sql_query($sql);
|
|
|
+ |
+ |
|
+ |
|
|
|
@@ -75,16 +87,17 @@ $result = sql_query($sql);
$tot['orderprice'] += $row['orderprice'];
$tot['ordercancel'] += $row['od_cancel_price'];
$tot['coupon'] += $row['couponprice'] ;
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
- $tot['receipt_bank'] += $row['od_receipt_price'];
- if($row['od_settle_case'] == '신용카드')
- $tot['receipt_card'] += $row['od_receipt_price'];
+ $tot['receipt_bank'] += $receipt_bank;
+ $tot['receipt_vbank'] += $receipt_vbank;
+ $tot['receipt_iche'] += $receipt_iche;
+ $tot['receipt_card'] += $receipt_card;
+ $tot['receipt_hp'] += $receipt_hp;
$tot['receipt_point'] += $row['od_receipt_point'];
$tot['misu'] += $row['od_misu'];
}
if ($i == 0) {
- echo '| 자료가 없습니다 |
';
+ echo '| 자료가 없습니다 |
';
}
?>
@@ -94,7 +107,10 @@ $result = sql_query($sql);
|
|
|
+ |
+ |
|
+ |
|
|
|
diff --git a/adm/shop_admin/sale1year.php b/adm/shop_admin/sale1year.php
index 6a76f3e85..d0f08fe8b 100644
--- a/adm/shop_admin/sale1year.php
+++ b/adm/shop_admin/sale1year.php
@@ -16,7 +16,10 @@ function print_line($save)
|
|
|
+ |
+ |
|
+ |
|
|
|
@@ -50,8 +53,11 @@ $result = sql_query($sql);
주문수 |
주문합계 |
쿠폰 |
- 계좌입금 |
+ 무통장 |
+ 가상계좌 |
+ 계좌이체 |
카드입금 |
+ 휴대폰 |
포인트입금 |
주문취소 |
미수금 |
@@ -76,8 +82,14 @@ $result = sql_query($sql);
$save['orderprice'] += $row['orderprice'];
$save['ordercancel'] += $row['od_cancel_price'];
$save['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$save['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $save['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $save['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $save['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$save['receiptcard'] += $row['od_receipt_price'];
$save['receiptpoint'] += $row['od_receipt_point'];
@@ -87,8 +99,14 @@ $result = sql_query($sql);
$tot['orderprice'] += $row['orderprice'];
$tot['ordercancel'] += $row['od_cancel_price'];
$tot['ordercoupon'] += $row['couponprice'];
- if($row['od_settle_case'] == '무통장' || $row['od_settle_case'] == '가상계좌' || $row['od_settle_case'] == '계좌이체')
+ if($row['od_settle_case'] == '무통장')
$tot['receiptbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '가상계좌')
+ $tot['receiptvbank'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '계좌이체')
+ $tot['receiptiche'] += $row['od_receipt_price'];
+ if($row['od_settle_case'] == '휴대폰')
+ $tot['receipthp'] += $row['od_receipt_price'];
if($row['od_settle_case'] == '신용카드')
$tot['receiptcard'] += $row['od_receipt_price'];
$tot['receiptpoint'] += $row['od_receipt_point'];
@@ -96,7 +114,7 @@ $result = sql_query($sql);
}
if ($i == 0) {
- echo '| 자료가 없습니다. |
';
+ echo '| 자료가 없습니다. |
';
} else {
print_line($save);
}
@@ -109,7 +127,10 @@ $result = sql_query($sql);
|
|
|
+ |
+ |
|
+ |
|
|
|