From f9633eb488bc0a27d6dfada71db606e8d51cc402 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 12 Sep 2013 18:28:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EB=AC=B8=ED=8F=BC=EC=97=90=20?= =?UTF-8?q?=EA=B2=B0=EC=A0=9C=ED=95=A0=EC=9D=B8=20=EB=B0=B0=EC=86=A1?= =?UTF-8?q?=EB=B9=84=ED=95=A0=EC=9D=B8=20=EA=B8=88=EC=95=A1=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderform.php | 15 +++++++++++++++ shop/orderform.php | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 1667a7904..1799eee87 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -572,6 +572,10 @@ ob_end_clean(); + + 결제할인금액 + 0원 + 0) { ?> @@ -581,6 +585,10 @@ ob_end_clean(); + + 배송비할인금액 + 0원 + 총 주문금액 @@ -924,6 +932,9 @@ $(function() { $("input[name=od_price]").val(od_price - price); $("input[name=od_cp_id]").val(cp_id); $("input[name=od_coupon]").val(price); + $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(number_format(String(price))); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰변경").focus(); @@ -943,6 +954,8 @@ $(function() { $("input[name=sc_cp_id]").val(""); $("input[name=od_coupon]").val(0); $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰적용").focus(); @@ -980,6 +993,7 @@ $(function() { $("input[name=sc_cp_id]").val(cp_id); $("input[name=od_send_coupon]").val(price); + $("#sc_cp_price").text(number_format(String(price))); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰변경").focus(); @@ -994,6 +1008,7 @@ $(function() { $("#sc_coupon_cancel").live("click", function() { $("input[name=od_send_coupon]").val(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰적용").focus(); diff --git a/shop/orderform.php b/shop/orderform.php index 441856956..17dd6e0ed 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -810,6 +810,10 @@ function get_intall_file() + + 결제할인금액 + 0원 + 0) { ?> @@ -819,6 +823,10 @@ function get_intall_file() + + 배송비할인금액 + 0원 + 총 주문금액 @@ -1145,6 +1153,9 @@ $(function() { $("input[name=od_price]").val(od_price - price); $("input[name=od_cp_id]").val(cp_id); $("input[name=od_coupon]").val(price); + $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(number_format(String(price))); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰변경").focus(); @@ -1164,6 +1175,8 @@ $(function() { $("input[name=sc_cp_id]").val(""); $("input[name=od_coupon]").val(0); $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰적용").focus(); @@ -1201,6 +1214,7 @@ $(function() { $("input[name=sc_cp_id]").val(cp_id); $("input[name=od_send_coupon]").val(price); + $("#sc_cp_price").text(number_format(String(price))); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰변경").focus(); @@ -1215,6 +1229,7 @@ $(function() { $("#sc_coupon_cancel").live("click", function() { $("input[name=od_send_coupon]").val(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰적용").focus();