주문 배송 쿠폰 체크 코드의 오타 수정

This commit is contained in:
chicpro
2014-09-25 10:19:54 +09:00
parent 41ddd59921
commit bb92196cb7
2 changed files with 8 additions and 6 deletions

View File

@ -469,8 +469,9 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php');
from {$g5['g5_shop_coupon_table']}
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
and cp_method = '2'
and cp_start <= '".G5_TIM_YMD."'
and cp_end >= '".G5_TIME_YMD."' ";
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."'
and cp_minimum <= '$tot_sell_price' ";
$res = sql_query($sql);
for($k=0; $cp=sql_fetch_array($res); $k++) {
@ -486,7 +487,7 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php');
from {$g5['g5_shop_coupon_table']}
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
and cp_method = '3'
and cp_start <= '".G5_TIM_YMD."'
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."' ";
$res = sql_query($sql);

View File

@ -494,8 +494,9 @@ require_once('./'.$default['de_pg_service'].'/orderform.1.php');
from {$g5['g5_shop_coupon_table']}
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
and cp_method = '2'
and cp_start <= '".G5_TIM_YMD."'
and cp_end >= '".G5_TIME_YMD."' ";
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."'
and cp_minimum <= '$tot_sell_price' ";
$res = sql_query($sql);
for($k=0; $cp=sql_fetch_array($res); $k++) {
@ -511,7 +512,7 @@ require_once('./'.$default['de_pg_service'].'/orderform.1.php');
from {$g5['g5_shop_coupon_table']}
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
and cp_method = '3'
and cp_start <= '".G5_TIM_YMD."'
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."' ";
$res = sql_query($sql);