This commit is contained in:
hyunho 2020-12-16 02:10:47 +00:00
parent c7f412011f
commit 2d9e8a2920
3 changed files with 17 additions and 16 deletions

View File

@ -13,19 +13,19 @@
<h4 class="clsTitle">신청강좌</h4>
<ul class="smtList mt0">
<li>
<ul class="smtlChk">
<ul class="smtlChk" style="padding-left:0px;">
<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>
<p><label>@(Model.CM.tseq)기 <span class='gry'>@(Model.CM.rsrename) (@(Model.CM.rsretimeToDay)일) </span> @Model.CM.cname<span class='red'> | <span id="spninfee"></span>원</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>
<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'> | <span id="spninfee"></span>원</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>
<p><label>@(Model.CM.tseq)기 <span class='gry'>@(Model.CM.rsrename) (@(Model.CM.rsretimeToDay)일) </span> @Model.CM.cname<span class='red'> | <span id="spninfee"></span>원 ※ 집체교육 선택 필수</span></label></p>
}
@if (Model.CM.applicableCM == "정상접수")
@ -39,7 +39,7 @@
</li>
</ul>
<div class="apyCost">
결제금액 : <span class="red">@Model.CM.infee</span> 원
결제금액 : <span class="red" id="spninfeecost"></span> 원
</div>
</li>
</ul>
@ -314,13 +314,14 @@
});
function initControl() {
$("#spninfee").html(bindComma(@Model.CM.infee));
$("#spninfeecost").html(bindComma(@Model.CM.infee));
setTimeout(function () {
if (@Model.CM.cshape == 2) {
setScd();
}
refundAccountShowHide();
}, 300);
}
function refundAccountShowHide() {
if ($("#rdoRefund01").prop("checked")) {

View File

@ -73,9 +73,9 @@
{
<li>
<div class="smtlCont">
<h5><em class="@(item.cshape == 0 ? "org" : item.cshape == 1? "grn" : "blu")">@(item.cshape == 0 ? "온라인" : item.cshape == 1 ? "교육장" : "혼합")</em> <span>@item.cname</span></h5>
<h5><em style="font-size:15px" class="@(item.cshape == 0 ? "org" : item.cshape == 1? "grn" : "blu")">@(item.cshape == 0 ? "온라인" : item.cshape == 1 ? "교육장" : "혼합")</em> <span style="font-size:22px">@item.cname</span></h5>
<ul class="smtlBtn">
<li><a href="#" class="smtlBtn02" onclick="javascript: getSubCm(@item.cshape, @item.cmno)">조회하기</a></li>
<li style="font-size:18px;"><a href="#" class="smtlBtn02" onclick="javascript: getSubCm(@item.cshape, @item.cmno)">조회하기</a></li>
</ul>
</div>
@if (item.cshape == 1)
@ -245,13 +245,13 @@
var p = $("<p />");
var a = $("<a />", { "onclick": "javascript:openIntro(" + d.cmno + ");" });
var a2 = $("<a />", { "onclick": "javascript:applyClass(" + d.cmno +");" });
var spanIntro = $("<span />", { "class": "smtlChkBtn smtlChk01" ,"style":"right:130px"});
var span = $("<span />", { "class": "smtlChkBtn smtlChk03"});
var spanIntro = $("<span />", { "class": "smtlChkBtn smtlChk01", "style":"right:130px; font-size:18px;"});
var span = $("<span />", { "class": "smtlChkBtn smtlChk03" , "style": "font-size:18px" });
if (d.quota != 0) {
var cnt = d.quota - d.lectcnt;
if (cnt <= 0) {
span = $("<span />", { "class": "smtlChkBtn smtlChk02" });
span = $("<span />", { "class": "smtlChkBtn smtlChk02" ,"style": "font-size:18px" });
span.text("대기접수");
}
else {
@ -263,13 +263,13 @@
}
if (d.cshape == 0) {
p.html("<label>" + d.tseq + "기 <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay +"일) | " + d.infee + "원</span></label>");
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원</span></label>");
}
else if (d.cshape == 1) {
p.html("<label>" + d.tseq + "기 <span class='blu'>[" + d.studyplacename + "교육장] </span><span class='gry'>" + d.rsrename + "</span><span class='red'> (" + d.rsretimeToDay +"일) | "+d.infee+"원</span></label>");
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='blu'>[" + d.studyplacename + "교육장] </span><span class='gry'>" + d.rsrename + "</span><span class='red'> (" + d.rsretimeToDay + "일) | " +bindComma(d.infee)+"원</span></label>");
}
else if (d.cshape == 2) {
p.html("<label>" + d.tseq + "기 <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay +"일) | " + d.infee + "원 ※ 집체교육 선택 필수</span></label>");
p.html("<label style='font-size:18px'>" + d.tseq + "기 | <span class='gry'>" + d.ssrename + "</span><span class='red'> (" + d.ssretimeToDay + "일) | " + bindComma(d.infee) + "원 ※ 집체교육 선택 필수</span></label>");
}
spanIntro.text("강좌소개");
li.append(p);

View File

@ -156,7 +156,7 @@ namespace NP.Model
{
get
{
return rstime == null && retime == null ? "" : string.Format("{0}~{1}", rstime == null ? "" : rstime.Value.ToString("yyyy-MM-dd"), retime == null ? "" : retime.Value.ToString("yyyy-MM-dd"));
return rstime == null && retime == null ? "" : string.Format("{0} ~ {1}", rstime == null ? "" : rstime.Value.ToString("yyyy-MM-dd"), retime == null ? "" : retime.Value.ToString("yyyy-MM-dd"));
}
}
@ -194,7 +194,7 @@ namespace NP.Model
{
get
{
return sstime == null && setime == null ? "" : string.Format("{0}~{1}", sstime == null ? "" : sstime.Value.ToString("yyyy-MM-dd"), setime == null ? "" : setime.Value.ToString("yyyy-MM-dd"));
return sstime == null && setime == null ? "" : string.Format("{0} ~ {1}", sstime == null ? "" : sstime.Value.ToString("yyyy-MM-dd"), setime == null ? "" : setime.Value.ToString("yyyy-MM-dd"));
}
}
public String ssretimeToDay