order 테이블에 주문금액 등 기록되도록 수정
This commit is contained in:
@ -1511,7 +1511,11 @@ function forderform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
var tot_sell_amount = parseInt($("input[name=od_amount]").val());
|
||||
var od_amount = parseInt(f.od_amount.value);
|
||||
var send_cost = parseInt(f.od_send_cost.value);
|
||||
var send_cost2 = parseInt(f.od_send_cost2.value);
|
||||
var send_coupon = parseInt(f.od_send_coupon.value);
|
||||
|
||||
var max_point = 0;
|
||||
if (typeof(f.max_temp_point) != "undefined")
|
||||
max_point = parseInt(f.max_temp_point.value);
|
||||
@ -1529,7 +1533,7 @@ function forderform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (temp_point > tot_sell_amount) {
|
||||
if (temp_point > od_amount) {
|
||||
alert("상품 주문금액(배송비 제외) 보다 많이 포인트결제할 수 없습니다.");
|
||||
f.od_temp_point.select();
|
||||
return false;
|
||||
@ -1564,6 +1568,8 @@ function forderform_check(f)
|
||||
}
|
||||
}
|
||||
|
||||
var tot_amount = od_amount + send_cost + send_cost2 - send_coupon - temp_point;
|
||||
|
||||
if (document.getElementById("od_settle_iche")) {
|
||||
if (document.getElementById("od_settle_iche").checked) {
|
||||
if (tot_amount - temp_point < 150) {
|
||||
|
||||
Reference in New Issue
Block a user