YNICTE/FO/Views/Course/ApplyEdu.cshtml

351 lines
15 KiB
Plaintext
Raw Normal View History

2020-11-05 17:02:05 +09:00
@model NP.Model.VMCourse
<form id="applyEduForm" method="post">
<input type="hidden" name="cmno" id="cmno" value="@Model.cmno" /> @*강좌번호*@
<input type="hidden" name="stringval" id="stringval" value="@Model.stringval" /> @*법정교육/기타교육*@
<input type="hidden" name="stringval2" id="stringval2" value="@Model.stringval2" />@*교육유형*@
<input type="hidden" name="stringval3" id="stringval3" value="@Model.stringval3" />@*기술인분류*@
<input type="hidden" name="stringval4" id="stringval4" value="@Model.stringval4" />@*교육목적*@
<input type="hidden" name="stringval5" id="stringval5" value="@Model.stringval5" />@*등급*@
<input type="hidden" name="stringval6" id="stringval6" value="@Model.stringval6" />@*직무분야*@
<input type="hidden" name="scdMonth" id="scdMonth" value="@Model.scdMonth" />@*교육일정 month*@
<h4 class="clsTitle">신청강좌</h4>
<ul class="smtList mt0">
<li>
<ul class="smtlChk">
<li>
@if (Model.CM.cshape == 0)
{
<p><label>@(Model.CM.tseq)기 <span class='gry'>@(Model.CM.rsrename) (@(Model.CM.rsretimeToDay)일) </span> @Model.CM.cname<span class='red'> | @(Model.CM.infee)원</span></label></p>
}
else if (Model.CM.cshape == 1)
{
<p><label>@(Model.CM.tseq)기 <span class='blu'>[@(Model.CM.studyplacename) 교육장] </span><span class='gry'>@Model.CM.rsrename (@(Model.CM.rsretimeToDay)일) </span> @Model.CM.cname<span class='red'> | @(Model.CM.infee)원</span></label></p>
}
else if (Model.CM.cshape == 2)
{
<p><label>@(Model.CM.tseq)기 <span class='gry'>@(Model.CM.rsrename) (@(Model.CM.rsretimeToDay)일) </span> @Model.CM.cname<span class='red'> | @(Model.CM.infee)원 ※ 집체교육 선택 필수</span></label></p>
}
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
@if (Model.CM.applicableCM == "정상접수")
{
<span class="smtlChkBtn smtlChk01">정상접수</span>
}
else
{
<span class="smtlChkBtn smtlChk02">대기접수</span>
}
</li>
</ul>
<div class="apyCost">
결제금액 : <span class="red">@Model.CM.infee</span> 원
</div>
</li>
</ul>
2020-11-02 16:59:33 +09:00
2020-11-06 11:20:26 +09:00
@if (Model.CM.cshape == 2 && Model.CM.applicableCM == "정상접수")
2020-11-05 17:02:05 +09:00
{
<h4 class="clsTitle">교육일정선택</h4>
<select id="selMonth">
@for (int i = 1; i <= 12; i++)
{
<option @(DateTime.Now.Month == i ? "selected" : "") value="@(i)">@(i)월</option>
}
</select>
<span>&nbsp;&nbsp;&nbsp;※지정하신 일자가 수료일자가 됩니다.</span>
2020-11-05 17:30:15 +09:00
<br /><br />
2020-11-06 09:13:04 +09:00
<ul id="ulScd"></ul>
2020-11-05 17:02:05 +09:00
}
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
@if (Model.CM.cshape == 1)
{
<h4 class="clsTitle">교육비 지원</h4>
<table class="clsTable">
<tbody>
<tr>
<th>교육비 지원</th>
<td>
<ul class="bakRadio">
2020-11-05 17:30:15 +09:00
<li><input type="radio" name="rdoRefund" id="rdoRefund01" checked><label for="rdoRefund01">환급</label></li>
<li><input type="radio" name="rdoRefund" id="rdoRefund02"><label for="rdoRefund02">비환급</label></li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
</tbody>
</table>
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
<p class="subDsc mt10">※ 고용보험에 가입되어 있는 재직자의 경우에만 교육비 중 기준된 일정금액 환급이 가능 하며 대표이사, 대표이사의 직계가족 또는 고용보험 미 가입자는 환급이 불가 합니다.</p>
2020-11-02 16:59:33 +09:00
2020-11-05 17:30:15 +09:00
<div id="divRefundAccount" style="display:none">
<h4 class="clsTitle">환급 지급계좌 등록</h4>
<table class="clsTable">
<tbody>
<tr>
<th>은행명</th>
2020-11-06 11:20:26 +09:00
<td><input type="text" name="refundBank" id="refundBank" class="apyIpt" /></td>
2020-11-05 17:30:15 +09:00
</tr>
<tr>
<th>계좌번호</th>
2020-11-06 11:20:26 +09:00
<td><input type="text" name="refundAccount" id="refundAccount" class="apyIpt" /></td>
2020-11-05 17:30:15 +09:00
</tr>
<tr>
<th>예금주</th>
2020-11-06 11:20:26 +09:00
<td><input type="text" name="refundAccountOwner" id="refundAccountOwner" class="apyIpt" /></td>
2020-11-05 17:30:15 +09:00
</tr>
</tbody>
</table>
<p class="subDsc mt10">※ 환급금액 지급받는 계좌이므로 반드시 소속된 사업장의 법인계좌정보만 입력하여 주시기 바랍니다. (개인계좌 또는 사업주 개인의 계좌로는 환급이 불가합니다)</p>
</div>
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
}
2020-11-05 17:30:15 +09:00
<div id="postlayer" class="daumpost"><a href="#" class="btn btn-xxs btn-select closedaumpost" onclick="closeDaumPostcode();">close</a></div>
2020-11-05 17:02:05 +09:00
<h4 class="clsTitle">회사정보 확인</h4>
<table class="clsTable">
<tbody>
<tr>
<th>회사명</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x=>x.Assign.asname, new { @class = "apylpt"})</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>사업자등록번호</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.brno, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>대표자성명</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.ceoname, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>주소</th>
<td>
2020-11-06 11:20:26 +09:00
<ul class="apyAddr postbox">
<li>
@Html.TextBoxFor(x => x.Assign.post, new { @class = "postno", @style = "background-color:#ddd;", @readonly = true })
</li>
<li>
@Html.TextBoxFor(x => x.Assign.address1, new { @class = "postadr", @style = "background-color:#ddd;", @readonly = true, @placeholder = "주소입력" })
</li>
<li>
@Html.TextBoxFor(x => x.Assign.address2, new { @class = "postadrsub", @style = "background-color:#ddd;", @placeholder = "나머지 주소입력" })
</li>
2020-11-05 17:30:15 +09:00
<li>
<a href="#" onclick="getpost2(this);">우편번호검색</a>
</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
<tr>
<th>업태</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.btype, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>종목</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.bkind, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>고용보험관리번호</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.eino, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>담당자성명</th>
2020-11-06 11:20:26 +09:00
<td>@Html.TextBoxFor(x => x.Assign.mname, new { @class = "apylpt" })</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>담당자연락처</th>
<td>
<ul class="usrPhn">
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.Assign.mphone1)</li>
2020-11-05 17:02:05 +09:00
<li>-</li>
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.Assign.mphone2)</li>
2020-11-05 17:02:05 +09:00
<li>-</li>
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.Assign.mphone3)</li>
2020-11-05 17:02:05 +09:00
</ul>
</tr>
<tr>
<th>계산서받을 이메일</th>
<td>
<ul class="clsMail">
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.Assign.taxemail1)</li>
<li></li>
<li>@Html.TextBoxFor(x => x.Assign.taxemail2)</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
2020-11-06 14:20:19 +09:00
<tr>
<th>사업자등록증</th>
<td>
<input type="file" id="brFile" name="brFile" />
</td>
</tr>
2020-11-05 17:02:05 +09:00
</tbody>
</table>
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
<h4 class="clsTitle">개인정보 확인</h4>
<table class="clsTable">
<tbody>
<tr>
<th>이름</th>
2020-11-06 11:20:26 +09:00
<td><p>@Html.TextBoxFor(x => x.User.username, new { @class = "apylpt" })</p></td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>주민등록번호</th>
<td>
<ul class="usrNum">
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.userpno1)</li>
2020-11-05 17:02:05 +09:00
<li>-</li>
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.userpno2)</li>
</ul> </td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>휴대전화</th>
<td>
<ul class="usrPhn">
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.mobile1)</li>
2020-11-05 17:02:05 +09:00
<li>-</li>
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.mobile2)</li>
2020-11-05 17:02:05 +09:00
<li>-</li>
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.mobile3)</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<ul class="clsMail">
2020-11-06 11:20:26 +09:00
<li>@Html.TextBoxFor(x => x.User.email1)</li>
<li></li>
<li>@Html.TextBoxFor(x => x.User.email2)</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
<tr>
<th>주소</th>
<td>
2020-11-06 11:20:26 +09:00
<ul class="apyAddr postbox">
<li>
@Html.TextBoxFor(x => x.User.post, new { @class = "postno", @style = "background-color:#ddd;", @readonly = true })
</li>
<li>
@Html.TextBoxFor(x => x.User.address1, new { @class = "postadr", @style = "background-color:#ddd;", @readonly = true, @placeholder = "주소입력" })
</li>
<li>
@Html.TextBoxFor(x => x.User.address2, new { @class = "postadrsub", @style = "background-color:#ddd;", @placeholder = "나머지 주소입력" })
</li>
2020-11-05 17:30:15 +09:00
<li>
<a href="#" onclick="getpost2(this);">우편번호검색</a>
</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
<tr>
<th>채용형태</th>
<td>
<ul class="bakRadio">
2020-11-06 11:20:26 +09:00
<li>
@Html.RadioButtonFor(model => model.User.isassignuser, "1", new { @name = "recruit", @checked = "checked" })정규직
</li>
<li>
@Html.RadioButtonFor(model => model.User.isassignuser, "0", new { @name = "recruit" })비정규직
</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
<tr>
<th>직위</th>
2020-11-06 11:20:26 +09:00
<td>
@Html.TextBoxFor(x => x.User.uduty, new { @class = "apylpt"})
</td>
2020-11-05 17:02:05 +09:00
</tr>
<tr>
<th>학력</th>
<td>
<ul class="bakRadio">
2020-11-06 11:20:26 +09:00
<li>
@Html.RadioButtonFor(model => model.User.slevel, "0", new { @name = "eduGrade", @checked = "checked" })기타
</li>
<li>
@Html.RadioButtonFor(model => model.User.slevel, "1", new { @name = "eduGrade" })고졸
</li>
<li>
@Html.RadioButtonFor(model => model.User.slevel, "2", new { @name = "eduGrade" })학사
</li>
<li>
@Html.RadioButtonFor(model => model.User.slevel, "3", new { @name = "eduGrade" })석사
</li>
<li>
@Html.RadioButtonFor(model => model.User.slevel, "4", new { @name = "eduGrade" })박사
</li>
2020-11-05 17:02:05 +09:00
</ul>
</td>
</tr>
</tbody>
</table>
2020-11-02 16:59:33 +09:00
2020-11-05 17:02:05 +09:00
<ul class="clsBtn solo">
2020-11-06 14:20:19 +09:00
@if (Model.CM.applicableCM == "정상접수")
{
<li><a href="#" onclick="javascript: applyEdu(1);">수강신청</a></li>
}
else
{
<li><a href="#"onclick="javascript:applyEdu(6)">수강대기 신청</a></li>
}
2020-11-05 17:02:05 +09:00
</ul>
2020-11-05 17:30:15 +09:00
2020-11-05 17:02:05 +09:00
</form>
2020-11-05 17:30:15 +09:00
@section scriptsHeader{
@Html.Partial("./Partial/ScriptPost")
}
2020-11-05 17:02:05 +09:00
<script type="text/javascript">
$(document).ready(function () {
2020-11-05 17:30:15 +09:00
initControl();
2020-11-05 17:02:05 +09:00
$("#selMonth").change(function () {
2020-11-06 09:13:04 +09:00
setScd();
2020-11-05 17:02:05 +09:00
});
2020-11-05 17:30:15 +09:00
$("input[name='rdoRefund']").change(function () {
refundAccountShowHide();
});
2020-11-05 17:02:05 +09:00
});
2020-11-05 17:30:15 +09:00
function initControl() {
$("#selMonth").val(@Model.scdMonth);
2020-11-06 09:13:04 +09:00
setTimeout(function () {
setScd();
refundAccountShowHide();
}, 300);
2020-11-06 11:20:26 +09:00
2020-11-05 17:30:15 +09:00
}
function refundAccountShowHide() {
if ($("#rdoRefund01").prop("checked")) {
$("#divRefundAccount").show();
}
else {
$("#divRefundAccount").hide();
}
}
2020-11-06 09:13:04 +09:00
function setScd() {
capp("/focommon/GetScdForMixEdu", { cmno: @Model.cmno, month: $("#selMonth").val() }, "renderScd");
}
function renderScd() {
var ulScd = $("#ulScd");
ulScd.empty();
$.each(capResult.obj, function (i, d) {
var li = $("<li />");
if (d.remainPeople <= 0)
{
li.append("<input type='radio' name='rdoScds' id='rdo_"+d.cmisno+"'> "+d.scdInfoSummary+"<label style='color: red'> (종료)</label>");
}
else
{
li.append("<input type='radio' name='rdoScds' id='rdo_" + d.cmisno + "'> " + d.scdInfoSummary + "<label style='color: red'> (" + d.remainPeople+"명 남음)</label>");
}
ulScd.append(li);
});
}
2020-11-06 14:20:19 +09:00
function applyEdu() {
capfileform('/fcommon/paytaxsave', 'mform', 'cbgogo');
}
2020-11-05 17:02:05 +09:00
</script>