From 5888069c04f9f00ac2637a0de4cfe98ace4b34c9 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 12 Jun 2013 09:49:46 +0900 Subject: [PATCH] =?UTF-8?q?#209=20=EC=A0=95=EC=95=A1=ED=95=A0=EC=9D=B8=20?= =?UTF-8?q?=EC=BF=A0=ED=8F=B0=EC=97=90=EC=84=9C=20=EC=B5=9C=EB=8C=80?= =?UTF-8?q?=ED=95=A0=EC=9D=B8=20=EA=B8=88=EC=95=A1=20=EC=9E=85=EB=A0=A5=20?= =?UTF-8?q?=EB=85=B8=EC=B6=9C=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/couponform.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adm/shop_admin/couponform.php b/adm/shop_admin/couponform.php index 619313116..18792d24d 100644 --- a/adm/shop_admin/couponform.php +++ b/adm/shop_admin/couponform.php @@ -149,6 +149,7 @@ $(function() { $("#tr_cp_target").find("input").attr("required", false).removeClass("required"); + $("#tr_cp_maximum").hide(); $("#tr_cp_trunc").hide(); $("#cp_method_btn").click(function() { @@ -222,10 +223,12 @@ function change_type(cp_type) if(cp_type == "0") { $("#cp_amount_unit").text("원"); $("#cp_amount_unit").closest("tr").find("label").text("할인금액"); + $("#tr_cp_maximum").hide(); $("#tr_cp_trunc").hide(); } else { $("#cp_amount_unit").text("%"); $("#cp_amount_unit").closest("tr").find("label").text("할인비율"); + $("#tr_cp_maximum").show(); $("#tr_cp_trunc").show(); } }