From fd3e00ee412331d0fe94e654bfe1c43bb8a74ba5 Mon Sep 17 00:00:00 2001 From: lch Date: Mon, 3 May 2021 02:11:03 +0000 Subject: [PATCH] =?UTF-8?q?-=20=ED=99=98=EA=B8=89=EA=B8=88,=20=ED=9A=8C?= =?UTF-8?q?=EC=82=AC=EC=A0=95=EB=B3=B4,=20=EA=B0=9C=EC=9D=B8=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20*=EB=8A=94=20=ED=95=84=EC=88=98=20=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=EC=82=AC=ED=95=AD=EC=9E=85=EB=8B=88=EB=8B=A4.=20?= =?UTF-8?q?=EB=AC=B8=EA=B5=AC=20=EC=B6=94=EA=B0=80=20-=20=ED=99=98?= =?UTF-8?q?=EA=B8=89=EA=B8=88=20=EC=8B=A0=EC=B2=AD=EC=8B=9C=20=EC=9D=80?= =?UTF-8?q?=ED=96=89=EB=AA=85,=20=EA=B3=84=EC=A2=8C=EB=B2=88=ED=98=B8,=20?= =?UTF-8?q?=EC=98=88=EA=B8=88=EC=A3=BC=20=EC=9E=85=EB=A0=A5=ED=8F=BC?= =?UTF-8?q?=EC=B2=B4=ED=81=AC=20-=20=ED=99=98=EA=B8=89=EA=B8=88=20?= =?UTF-8?q?=EB=B9=84=EC=8B=A0=EC=B2=AD=EC=8B=9C=20=EC=9D=80=ED=96=89?= =?UTF-8?q?=EB=AA=85,=20=EA=B3=84=EC=A2=8C=EB=B2=88=ED=98=B8,=20=EC=98=88?= =?UTF-8?q?=EA=B8=88=EC=A3=BC=20null=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Base/Controller/FCommon.cs | 17 +++++--- FO/Views/Course/ApplyEdu.cshtml | 76 +++++++++++++++++---------------- 2 files changed, 50 insertions(+), 43 deletions(-) diff --git a/Base/Controller/FCommon.cs b/Base/Controller/FCommon.cs index 926028f..6e1f068 100644 --- a/Base/Controller/FCommon.cs +++ b/Base/Controller/FCommon.cs @@ -275,14 +275,19 @@ namespace NP.Base.Controllers } if (!string.IsNullOrEmpty(Request["cmisno"])) ppllog.cmisno = Convert.ToInt64(Request["cmisno"]); + if (!string.IsNullOrEmpty(Request["isrebate"])) ppllog.isrebate = Convert.ToInt32(Request["isrebate"]); - if (!string.IsNullOrEmpty(Request["rbankname"])) - ppllog.rbankname = Request["rbankname"].ToString(); - if (!string.IsNullOrEmpty(Request["rbankacc"])) - ppllog.rbankacc = Request["rbankacc"].ToString(); - if (!string.IsNullOrEmpty(Request["rbankowner"])) - ppllog.rbankowner = Request["rbankowner"].ToString(); + + if (!string.IsNullOrEmpty(Request["isrebate"]) && Convert.ToInt32(Request["isrebate"]) == 1) + { + if (!string.IsNullOrEmpty(Request["rbankname"])) + ppllog.rbankname = Request["rbankname"].ToString(); + if (!string.IsNullOrEmpty(Request["rbankacc"])) + ppllog.rbankacc = Request["rbankacc"].ToString(); + if (!string.IsNullOrEmpty(Request["rbankowner"])) + ppllog.rbankowner = Request["rbankowner"].ToString(); + } if (!string.IsNullOrEmpty(Request["isaccommodation"])) ppllog.isaccommodation = Convert.ToInt32(Request["isaccommodation"].ToString()); diff --git a/FO/Views/Course/ApplyEdu.cshtml b/FO/Views/Course/ApplyEdu.cshtml index b3b0f08..61aaa68 100644 --- a/FO/Views/Course/ApplyEdu.cshtml +++ b/FO/Views/Course/ApplyEdu.cshtml @@ -87,19 +87,15 @@ @if (Model.CM.cshape == 1) { -

합숙여부

- - } - - @if (Model.CM.cshape == 1) - { +

합숙여부

+

교육비 지원

@@ -118,19 +114,20 @@

※ 고용보험에 가입되어 있는 재직자의 경우에만 교육비 중 기준된 일정금액 환급이 가능 하며 대표이사, 대표이사의 직계가족 또는 고용보험 미 가입자는 환급이 불가 합니다.

- + - + - + @@ -141,23 +138,24 @@ }
close

회사정보 확인

+

*는 필수 입력사항입니다.

@Html.HiddenFor(x => x.Assign.asno)
은행명*은행명
계좌번호*계좌번호
예금주*예금주
- + - + - + - + - + - + - + - + - + - +
회사명*회사명 @Html.TextBoxFor(x => x.Assign.asname, new { @class = "apylpt", @maxlength = "100" })
사업자등록번호*사업자등록번호 @Html.TextBoxFor(x => x.Assign.brno, new { @class = "apylpt", @maxlength = "10" })
대표자성명*대표자성명 @Html.TextBoxFor(x => x.Assign.ceoname, new { @class = "apylpt", @maxlength = "50" })
주소*주소
  • @@ -176,23 +174,23 @@
업태*업태 @Html.TextBoxFor(x => x.Assign.btype, new { @class = "apylpt", @maxlength = "50" })
종목*종목 @Html.TextBoxFor(x => x.Assign.bkind, new { @class = "apylpt", @maxlength = "50" })
고용보험관리번호*고용보험관리번호 @Html.TextBoxFor(x => x.Assign.eino, new { @class = "apylpt", @maxlength = "30" })
담당자성명*담당자성명 @Html.TextBoxFor(x => x.Assign.mname, new { @class = "apylpt", @maxlength = "30" })
담당자연락처*담당자연락처
  • @Html.TextBoxFor(x => x.Assign.mphone1, new { @maxlength = "3" })
  • @@ -203,7 +201,7 @@
계산서받을 이메일*계산서받을 이메일
  • @Html.TextBoxFor(x => x.Assign.taxemail1, new { @maxlength = "100" })
  • @@ -222,15 +220,16 @@

개인정보 확인

+

*는 필수 입력사항입니다.

@Html.HiddenFor(x => x.User.userno) - + - + - + - + - + - + - + - +
이름*이름

@Html.TextBoxFor(x => x.User.username, new { @class = "apylpt", @maxlength = "10", @style = "background-color:#ddd;", @readonly = true })

주민등록번호*주민등록번호
  • @Html.TextBoxFor(x => x.User.userpno1, new { @maxlength = "6" })
  • @@ -240,7 +239,7 @@
휴대전화*휴대전화
  • @Html.TextBoxFor(x => x.User.mobile1, new { @maxlength = "3" })
  • @@ -252,7 +251,7 @@
이메일*이메일
  • @Html.TextBoxFor(x => x.User.email1, new { @maxlength = "100" })
  • @@ -262,7 +261,7 @@
주소*주소
  • @@ -281,7 +280,7 @@
채용형태*채용형태
  • @@ -294,13 +293,13 @@
직위*직위 @Html.TextBoxFor(x => x.User.uduty, new { @class = "apylpt", @maxlength = "20" })
학력*학력
  • @@ -383,7 +382,7 @@ $("#divRefundAccount").show(); } else { - $("#divRefundAccount").hide(); + $("#divRefundAccount").hide(); } } @@ -430,7 +429,10 @@ } function applyEdu() { - if ($("#User_userpno1").val() == "" || $("#User_userpno1").val() == null) { + if ($("input:radio[name='rdoRefund']:checked").val() == "1" && check("rbankname", null, "은행명을 등록해주세요.")) { } + else if ($("input:radio[name='rdoRefund']:checked").val() == "1" && check("rbankacc", null, "계좌번호를 등록해주세요.")) { } + else if ($("input:radio[name='rdoRefund']:checked").val() == "1" && check("rbankowner", null, "예금주를 등록해주세요.")) { } + else if ($("#User_userpno1").val() == "" || $("#User_userpno1").val() == null) { focus("User_userpno1"); msg("주민등록번호 앞자리를 입력하십시오."); }