From 1b16512ddbc18fb36b53b8112011ea871b315586 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 9 Dec 2013 11:22:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=ED=92=88=EC=BF=A0=ED=8F=B0=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9=20=ED=9B=84=20=EC=A3=BC=EB=AC=B8=EC=BF=A0?= =?UTF-8?q?=ED=8F=B0=20=EC=A0=81=EC=9A=A9=EC=8B=9C=20=EA=B8=88=EC=95=A1=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderform.php | 2 +- shop/orderform.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 96d02c7d8..5d0f4eb58 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -908,7 +908,7 @@ $(function() { $("#od_coupon_btn").click(function() { $("#od_coupon_frm").remove(); var $this = $(this); - var price = parseInt($("input[name=org_od_price]").val()); + var price = parseInt($("input[name=org_od_price]").val()) - parseInt($("input[name=item_coupon]").val()); $.post( "./ordercoupon.php", { price: price }, diff --git a/shop/orderform.php b/shop/orderform.php index feae24756..1e736968e 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -1171,7 +1171,7 @@ $(function() { $("#od_coupon_btn").click(function() { $("#od_coupon_frm").remove(); var $this = $(this); - var price = parseInt($("input[name=org_od_price]").val()); + var price = parseInt($("input[name=org_od_price]").val()) - parseInt($("input[name=item_coupon]").val()); $.post( "./ordercoupon.php", { price: price },