YNICTE/FO/Views/Course/ApplyComplete.cshtml

153 lines
7.9 KiB
Plaintext
Raw Normal View History

2020-11-24 17:34:18 +09:00
@model NP.Model.VMPay
@*<div id="pageTitle">
<h3>신청@(Model.Pay.payresult.Substring(0, 1) == "1" ? "완료" : "실패")</h3>
</div>*@
2021-01-22 10:59:21 +09:00
2020-11-24 17:34:18 +09:00
@if (Model.Pay.payresult.Substring(0, 1) != "1")
2020-11-06 14:20:19 +09:00
{
2020-11-24 17:34:18 +09:00
<h4 class="clsTitle">결제실패</h4>
<div>
@(!string.IsNullOrEmpty(Model.Pay.cancelresult) ? Model.Pay.cancelresult : Model.Pay.payresult.Substring(1))
</div>
2020-11-06 14:20:19 +09:00
<ul class="clsBtn society">
2020-11-24 17:34:18 +09:00
<li><a href="/My/Index">마이페이지</a></li>
<li><a href="/">다시 신청하기</a></li>
2020-11-06 14:20:19 +09:00
</ul>
}
else
{
2021-01-22 10:59:21 +09:00
var isallday = !string.IsNullOrEmpty(Model.CM.retimeymd) ? (Model.CM.retimeymd == "2099-12-31" ? true : false) : false;
2020-11-24 17:34:18 +09:00
<h4 class="clsTitle">신청강좌</h4>
<ul class="smtList mt0" style="font-weight:500;">
2020-11-24 17:34:18 +09:00
<li>
<ul class="smtlChk">
<li>
<p>
<span class="@(Model.CM.cshape == 0 ? "org" : Model.CM.cshape == 1 ? "nav_grn" : "nav_blu")">
@(Model.CM.cshape == 0 ? "온라인" : Model.CM.cshape == 1 ? "교육장교육" : "온라인교육")
</span>
@{
string strStudyPlaceTmp = "";
string strStudyPlaceTmp2 = "";
string strEduInfo = "";
if (Model.SelectCMInningscd.studyplace != null)
{
strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장";
strStudyPlaceTmp2 = Model.CM.cname;
}
else
{
strStudyPlaceTmp = Model.CM.cname;
}
if (Model.CM.cshape == 1)
{
strEduInfo = string.Format("교육기간 {0} | {2}시간과정 |<span class='red'> {3}과정 </span><br /><span style='margin-left:5px;'>교육비 : {4}원</span>",
Model.SelectCMInningscd.scdInfoSummary, Model.SelectCMInningscd.eend2, Model.CM.studytime, (Model.CM.isrefund == 1 ? "환급" : "비환급"), Model.CM.infee.ToString("#,0"));
}
else
{
//Model.SelectCMInningscd.eend2 교육종료일
strEduInfo += string.Format("교육기간 {0} |", Model.SelectCMInningscd.scdInfoSummary);
strEduInfo += string.Format("<span> 교육종료일 {0} </span> | ", Model.SelectCMInningscd.eend2);
strEduInfo += string.Format("{0}시간과정 |", Model.CM.studytime);
strEduInfo += string.Format("<span class='red'> {0}과정 </span><br />", (Model.CM.isrefund == 1 ? "환급" : "비환급"));
strEduInfo += string.Format("<span style='margin-left:5px;' class='red'>집체교육 참석일 : {0}</span><br />", Model.SelectCMInningscd.estart.ToString("yyyy년 MM월 dd일"));
strEduInfo += string.Format("<span style='margin-left:5px;'>교육비 : {0}원</span>", Model.CM.infee.ToString("#,0"));
//strEduInfo = string.Format("교육기간 {0} |<span class='red'> 교육종료일 {1} </span> | {2}시간과정 |<span class='red'> {3}과정 </span><br /><span style='margin-left:5px;'>교육비 : {4}원</span>",
//Model.SelectCMInningscd.scdInfoSummary, Model.SelectCMInningscd.eend2, Model.CM.studytime, (Model.CM.isrefund == 1 ? "환급" : "비환급"), Model.CM.infee.ToString("#,0"));
}
}
@if (Model.SelectCMInningscd.studyplace == null)
{
<span style="font-size:22px"><label><span>@strStudyPlaceTmp</span><span class="blu">@strStudyPlaceTmp2 </span></label></span><br />
}
else if (Model.SelectCMInningscd.studyplace != null)
{
<span style="font-size:22px"><label><span class="blu">[@strStudyPlaceTmp]</span><span>@strStudyPlaceTmp2 </span></label></span><br />
}
<p><label>@Html.Raw(strEduInfo)</label></p>
</p>
2020-11-24 17:34:18 +09:00
</li>
</ul>
<div class="apyCost">
2021-01-07 14:04:52 +09:00
@if (Model.Pay.isaccommodation == 1)
{
2021-01-22 10:59:21 +09:00
<span>총 결제@(Model.Pay.isready == 1 && Model.Pay.pstatus != 1 && Model.Pay.pstatus != 22 ? "예상" : "")금액:<span class="red">@((Model.CM.infee + Model.CM.accommofee).ToString("#,0"))</span> 원 (합숙 : @(Model.CM.accommofee.ToString("#,0"))원 포함)</span>
2021-01-07 14:04:52 +09:00
}
else
{
<span>총 결제@(Model.Pay.isready == 1 && Model.Pay.pstatus != 1 && Model.Pay.pstatus != 22 ? "예상" : "")금액:<span class="red">@Model.CM.infee.ToString("#,0")</span>원</span>
}
2020-11-24 17:34:18 +09:00
</div>
</li>
2020-11-06 14:20:19 +09:00
</ul>
<h4 class="clsTitle">신청하신 교육은 상단 메뉴의 <strong class="red">마이페이지 > 나의강의실</strong> 에서 확인 및 수강이 가능합니다.</h4>
<h4 class="clsTitle">교육비 입금기한 안내</h4>
<p class="subTxt">
<span>- 온라인교육 : 신청일로 부터 한 달 이내<br /></span>
<span> - 교육장교육 : 교육시작일로 부터 7일 전까지 (단, 교육시작일이 7일 이내 인 경우 교육시작일 전 까지)<br /></span>
</p>
2020-11-26 13:49:56 +09:00
if (Model.Pay.isready == 0 || Model.Pay.pstatus == 1 || Model.Pay.pstatus == 22)
2021-01-22 10:59:21 +09:00
{
2020-11-24 17:34:18 +09:00
<h4 class="clsTitle">결제정보</h4>
<table class="clsTable">
<tbody>
<tr>
<th>구매금액</th>
<td>@Model.Pay.payamt.ToString("#,0") 원</td>
</tr>
<tr>
<th>지불방법</th>
<td>@Model.Pay.ptypename</td>
</tr>
@if (Model.Pay.ptype == 3)
2021-01-22 10:59:21 +09:00
{
2020-11-24 17:34:18 +09:00
<tr>
<th>입금계좌</th>
<td>
@Model.Pay.vactbankname | @Model.Pay.vactnum | @Model.Pay.vactname
</td>
</tr>
<tr>
<th>주문접수일</th>
<td>@DateTime.Now.ToString("yyyy-MM-dd HH:mm") @*(만료일: @Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm"))*@</td>
2020-11-24 17:34:18 +09:00
</tr>
}
<tr>
<th>주문상태</th>
<td>@Model.Pay.pstatusname</td>
</tr>
</tbody>
</table>
<ul class="clsBtn society">
<li><a href="/My/Paies">결제관리 이동</a></li>
2020-11-24 17:34:18 +09:00
<li><a href="/My/Index">마이페이지</a></li>
<li><a href="/">계속 신청하기</a></li>
</ul>
}
else
{
<div class="apyScs">
<h5>위 강좌의 대기접수가 완료되었습니다. </h5>
<h6>(대기인원 : <span>@Model.Pay.ccount.ToString("#,0")</span>명)</h6>
<p>※ 결원 발생 시 대기신청 차례에 따라 교육생 연락처로 연락드릴 예정입니다.</p>
<p>※ 교육비 결제는 마이페이지 학습현황의 학습대기에서 가능하며 교육비결제 완료 후 학습을 시작할 수 있습니다.</p>
</div>
<ul class="clsBtn society">
<li><a href="/My/Index">마이페이지</a></li>
<li><a href="/">계속 신청하기</a></li>
</ul>
}
2020-11-06 14:20:19 +09:00
}
2020-11-02 16:59:33 +09:00