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("주민등록번호 앞자리를 입력하십시오."); }