결제수단별 주문금액에서 포인트 금액 빼도록 수정

This commit is contained in:
chicpro
2013-11-18 16:40:46 +09:00
parent 7dd44713e6
commit 170525b1e3

View File

@ -63,7 +63,7 @@ function get_order_settle_sum($date)
// 결제수단별 합계
foreach($case as $val)
{
$sql = " select sum(od_cart_price + od_send_cost + od_send_cost2 - od_cart_coupon - od_coupon - od_send_coupon) as price,
$sql = " select sum(od_cart_price + od_send_cost + od_send_cost2 - od_receipt_point - od_cart_coupon - od_coupon - od_send_coupon) as price,
count(*) as cnt
from {$g5['g5_shop_order_table']}
where SUBSTRING(od_time, 1, 10) = '$date'