포인트관련 자바스크립트 오류 수정
This commit is contained in:
@ -1052,7 +1052,7 @@ function calculate_temp_point()
|
|||||||
var send_cost = parseInt($("input[name=od_send_cost]").val());
|
var send_cost = parseInt($("input[name=od_send_cost]").val());
|
||||||
var point_per = <?php echo $default['de_point_per']; ?>;
|
var point_per = <?php echo $default['de_point_per']; ?>;
|
||||||
var temp_point = parseInt((sell_amount + send_cost) * (point_per / 100) / 100) * 100;
|
var temp_point = parseInt((sell_amount + send_cost) * (point_per / 100) / 100) * 100;
|
||||||
var point = <?php echo $member_point; ?>
|
var point = <?php echo (int)$member_point; ?>
|
||||||
|
|
||||||
if(temp_point > point)
|
if(temp_point > point)
|
||||||
temp_point = point;
|
temp_point = point;
|
||||||
|
|||||||
Reference in New Issue
Block a user