parent
c03fc2ff3f
commit
0ee5d3636c
|
|
@ -295,7 +295,7 @@ namespace NP.Base.Controllers
|
|||
#endregion
|
||||
|
||||
#region 소속선택
|
||||
var isCompany = !string.IsNullOrEmpty(Request["isCompany"]) ? Convert.ToInt32(Request["isCompany"]) : (int?)null;
|
||||
var isCompany = !string.IsNullOrEmpty(Request["isCompany1"]) ? Convert.ToInt32(Request["isCompany1"]) : (int?)null;
|
||||
if (isCompany == 0) //개인
|
||||
{
|
||||
pplog.asno = null;
|
||||
|
|
|
|||
|
|
@ -482,7 +482,7 @@
|
|||
,null etime,null studyplace,null days
|
||||
,CAST(AES_DECRYPT(UNHEX(d.email), <include refid="sql.digest"></include>) AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), <include refid="sql.digest"></include>) AS char) mobile
|
||||
from scdlect a
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,2) and b.isuse=1 and b.isdel=0
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0
|
||||
inner join lect c on c.cmno=b.cmno and c.attrate < 80 and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d')
|
||||
inner join users d on d.userno=c.userno and d.status=1
|
||||
where a.scdno < 3 and a.isuse=1 and a.dtime=#dtime#
|
||||
|
|
@ -493,7 +493,7 @@
|
|||
,null etime,null studyplace,null days
|
||||
,CAST(AES_DECRYPT(UNHEX(d.email), <include refid="sql.digest"></include>) AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), <include refid="sql.digest"></include>) AS char) mobile
|
||||
from scdlect a
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,2) and b.isuse=1 and b.isdel=0
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0
|
||||
inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d')
|
||||
inner join users d on d.userno=c.userno and d.status=1
|
||||
inner join cmex e on e.cmno=c.cmno and e.extype=case when a.scdno=3 then 0 else 1 end and e.isdel=0
|
||||
|
|
@ -506,7 +506,7 @@
|
|||
,null etime,null studyplace,null days
|
||||
,CAST(AES_DECRYPT(UNHEX(d.email), <include refid="sql.digest"></include>) AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), <include refid="sql.digest"></include>) AS char) mobile
|
||||
from scdlect a
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,2) and b.isuse=1 and b.isdel=0
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0
|
||||
inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d')
|
||||
inner join users d on d.userno=c.userno and d.status=1
|
||||
inner join cmsd e on e.cmno=c.cmno and e.sdtype=0 and e.isdel=0
|
||||
|
|
@ -519,7 +519,7 @@
|
|||
,null etime,null studyplace,null days
|
||||
,CAST(AES_DECRYPT(UNHEX(d.email), <include refid="sql.digest"></include>) AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), <include refid="sql.digest"></include>) AS char) mobile
|
||||
from scdlect a
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,2) and b.isuse=1 and b.isdel=0
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0
|
||||
inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d')
|
||||
inner join users d on d.userno=c.userno and d.status=1
|
||||
inner join cmsd e on e.cmno=c.cmno and e.sdtype=1 and e.isdel=0
|
||||
|
|
@ -532,7 +532,7 @@
|
|||
,null etime,null studyplace,null days
|
||||
,CAST(AES_DECRYPT(UNHEX(d.email), <include refid="sql.digest"></include>) AS char) email,CAST(AES_DECRYPT(UNHEX(d.mobile), <include refid="sql.digest"></include>) AS char) mobile
|
||||
from scdlect a
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,2) and b.isuse=1 and b.isdel=0
|
||||
inner join cm b on b.ismaster=0 and b.cshape in (0,1,2) and b.isuse=1 and b.isdel=0
|
||||
inner join lect c on c.cmno=b.cmno and c.status=1 and c.ischanged=0 and date_format(c.edate,'%Y%m%d')=date_format(date_add(now(), interval a.dday day), '%Y%m%d')
|
||||
inner join users d on d.userno=c.userno and d.status=1
|
||||
inner join cmrs e on e.cmno=c.cmno and e.rstype=0 and e.isdel=0
|
||||
|
|
@ -1398,7 +1398,8 @@
|
|||
,l.iscomplete
|
||||
,c.studytime,
|
||||
cc.cname studyplacename,
|
||||
cmis.studyplace
|
||||
cmis.studyplace,
|
||||
l.cdt
|
||||
from payitem a
|
||||
inner join pay b on b.payno=a.payno and b.pstatus in (21,22,51,55) and b.rstatus < 2
|
||||
inner join cm c on c.cmno=a.itemno and c.rstime < <include refid="sql.now"></include> and c.retime > <include refid="sql.now"></include>
|
||||
|
|
@ -1410,7 +1411,7 @@
|
|||
LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace'
|
||||
where a.ptype in (0,1,4) and a.userno=#userno# and a.pstatus in (21,22,51,55) and a.rstatus=0
|
||||
and 1 = case when c.retime = '2099-12-31 23:59:59' and l.stime is not null then 0 else 1 end
|
||||
order by sortpstatus, c.retime desc, b.payno,a.pino
|
||||
order by sortpstatus,l.cdt desc, c.retime desc, b.payno,a.pino
|
||||
) a
|
||||
union all
|
||||
select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9
|
||||
|
|
@ -1460,7 +1461,7 @@
|
|||
LEFT OUTER JOIN comcode cc ON cc.ccode = cmis.studyplace and cc.cgroup ='studyplace'
|
||||
where a.userno=#userno# and a.status=1 and a.ischanged=0
|
||||
and (case when a.sdate is null then b.sstime else a.sdate end) < <include refid="sql.now"></include>
|
||||
order by case when time2 > now() then 1 else 0 end desc ,sortedate desc, time2 desc
|
||||
order by case when time2 > now() then 1 else 0 end asc ,sortedate asc, time2 asc
|
||||
) a
|
||||
union all
|
||||
select a.dtype,a.intval,a.intval2,a.intval3,a.intval4,a.intval5,a.intval6,a.intval7,a.intval8,0 intval9
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
<input type="hidden" name="isCompany" value="@Model.isCompany" />@*업체/개인 선택*@
|
||||
<input type="hidden" name="CM.cmino" id="becmino" value="@Model.CM.cmino" />
|
||||
<input type="hidden" name="CM.cmisno" id="becmisno" value="@Model.CM.cmisno" />
|
||||
<input type="hidden" name="CM.cshape" id="cshape" value="@Model.CM.cshape" />
|
||||
<input type="hidden" name="applicableCM" id="applicableCM" />
|
||||
<h4 class="clsTitle">신청강좌</h4>
|
||||
<ul class="smtList mt0" style="font-weight:500;">
|
||||
<li>
|
||||
|
|
@ -31,27 +33,34 @@
|
|||
string strEduInfo = "";
|
||||
if (Model.SelectCMInningscd.studyplace != null)
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("[{0}교육장]", Model.SelectCMInningscd.studyplacename);
|
||||
strStudyPlaceTmp2 = string.Format("{0}", Model.CM.cname);
|
||||
strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장";
|
||||
strStudyPlaceTmp2 = Model.CM.cname;
|
||||
}
|
||||
else
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("{0}", Model.CM.cname);
|
||||
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} |<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"));
|
||||
} }
|
||||
}
|
||||
}
|
||||
|
||||
<span style="font-size:22px"><label>@Html.Raw("<span class=\"blu\">" + strStudyPlaceTmp + "</span>") @strStudyPlaceTmp2</label></span><br />
|
||||
@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 />
|
||||
}
|
||||
<span><label>@Html.Raw(strEduInfo)</label></span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -33,18 +33,17 @@ else
|
|||
string strEduInfo = "";
|
||||
if (Model.SelectCMInningscd.studyplace != null)
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("[{0}교육장]", Model.SelectCMInningscd.studyplacename);
|
||||
strStudyPlaceTmp2 = string.Format("{0}", Model.CM.cname);
|
||||
strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장";
|
||||
strStudyPlaceTmp2 = Model.CM.cname;
|
||||
}
|
||||
else
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("{0}", Model.CM.cname);
|
||||
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
|
||||
{
|
||||
|
|
@ -53,7 +52,16 @@ else
|
|||
Model.SelectCMInningscd.scdInfoSummary, Model.SelectCMInningscd.eend2, Model.CM.studytime, (Model.CM.isrefund == 1 ? "환급" : "비환급"), Model.CM.infee.ToString("#,0"));
|
||||
}
|
||||
}
|
||||
<span style="font-size:22px"><label>@Html.Raw("<span class=\"blu\">" + strStudyPlaceTmp + "</span>") @strStudyPlaceTmp2</label></span><br />
|
||||
|
||||
|
||||
@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>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -45,27 +45,37 @@
|
|||
string strEduInfo = "";
|
||||
if (Model.SelectCMInningscd.studyplace != null)
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("[{0}교육장]", Model.SelectCMInningscd.studyplacename);
|
||||
strStudyPlaceTmp2 = string.Format("{0}", Model.CM.cname);
|
||||
strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장";
|
||||
strStudyPlaceTmp2 = Model.CM.cname;
|
||||
}
|
||||
else
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("{0}", Model.CM.cname);
|
||||
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 {
|
||||
}
|
||||
else
|
||||
{
|
||||
//Model.SelectCMInningscd.eend2 교육종료일
|
||||
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 />
|
||||
}
|
||||
|
||||
<span style="font-size:22px"><label>@Html.Raw("<span class=\"blu\">"+strStudyPlaceTmp+"</span>") @strStudyPlaceTmp2</label></span><br />
|
||||
<span><label>@Html.Raw(strEduInfo)</label></span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
@ -147,7 +157,7 @@
|
|||
※수료증 소속부분에 기재될 내용으로 소속업체가 없으면 개인을 선택해 주세요.
|
||||
</p>
|
||||
</div>
|
||||
@if (Model.CM.isrefund == 1)
|
||||
@if (Model.CM.isrefund ==1)
|
||||
{
|
||||
<div class="div-rbankInfo">
|
||||
<h4 class="clsTitle">환급금 수령계좌 등록<span style="color: red; font-weight: 700;"> (법인계좌만 입력가능)</span></h4>
|
||||
|
|
@ -160,7 +170,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th class="req">계좌번호</th>
|
||||
<td><input type="text" name="rbankacc" onkeydown="checkSpacebar()" onKeypress='if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97) || (event.keyCode < 128 && event.keyCode > 122)) event.returnValue = false;' id="rbankacc" class="apyIpt" value="@(Model.PPLog != null ? Model.PPLog.rbankacc : string.Empty)" /></td>
|
||||
<td><input type="number" name="rbankacc" onkeydown="checkSpacebar()" onKeypress='if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97) || (event.keyCode < 128 && event.keyCode > 122)) event.returnValue = false;' id="rbankacc" class="apyIpt" value="@(Model.PPLog != null ? Model.PPLog.rbankacc : string.Empty)" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="req">예금주</th>
|
||||
|
|
@ -168,7 +178,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th class="req">고용보험관리번호</th>
|
||||
<td><input type="text" name="eino" onkeydown="checkSpacebar()" onKeypress='if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97) || (event.keyCode < 128 && event.keyCode > 122)) event.returnValue = false;' id="eino" class="apyIpt" value="@(Model.PPLog != null ? Model.PPLog.eino : string.Empty)" /><button type="button" onclick="insuranceguide()" style="margin-left:10px;">고용보험관리번호 안내</button></td>
|
||||
<td><input type="number" name="eino" onkeydown="checkSpacebar()" onKeypress='if ((event.keyCode > 32 && event.keyCode < 48) || (event.keyCode > 57 && event.keyCode < 65) || (event.keyCode > 90 && event.keyCode < 97) || (event.keyCode < 128 && event.keyCode > 122)) event.returnValue = false;' id="eino" class="apyIpt" value="@(Model.PPLog != null ? Model.PPLog.eino : string.Empty)" /><button type="button" onclick="insuranceguide()" style="margin-left:10px;">고용보험관리번호 안내</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -177,7 +187,7 @@
|
|||
}
|
||||
<div id="postlayer" class="daumpost"><a href="#" class="btn btn-xxs btn-select closedaumpost" onclick="closeDaumPostcode();">close</a></div>
|
||||
|
||||
@if (Model.Assign != null)
|
||||
@if (Model.CM.isrefund == 1)
|
||||
{
|
||||
<div class="div-companyInfo">
|
||||
<h4 class="clsTitle">회사정보 확인</h4>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
<input type="hidden" name="isCompany" value="@Model.isCompany" />@*업체/개인 선택*@
|
||||
<input type="hidden" name="CM.cmino" id="becmino" value="@Model.CM.cmino" />
|
||||
<input type="hidden" name="CM.cmisno" id="becmisno" value="@Model.CM.cmisno" />
|
||||
</form>
|
||||
</form><input type="hidden" name="CM.cshape" id="cshape" value="@Model.CM.cshape" />
|
||||
|
||||
<form id="mform" name="mform" method="post" action="/Course/XpayREQ">
|
||||
@Html.HiddenFor(m => m.payno)
|
||||
<input type="hidden" name="cmno" id="cmno" value="@Model.cmno" /> @*강좌번호*@
|
||||
|
|
@ -48,18 +49,17 @@
|
|||
string strEduInfo = "";
|
||||
if (Model.SelectCMInningscd.studyplace != null)
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("[{0}교육장]", Model.SelectCMInningscd.studyplacename);
|
||||
strStudyPlaceTmp2 = string.Format("{0}", Model.CM.cname);
|
||||
strStudyPlaceTmp = Model.SelectCMInningscd.studyplacename + "교육장";
|
||||
strStudyPlaceTmp2 = Model.CM.cname;
|
||||
}
|
||||
else
|
||||
{
|
||||
strStudyPlaceTmp = string.Format("{0}", Model.CM.cname);
|
||||
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
|
||||
{
|
||||
|
|
@ -69,7 +69,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
<span style="font-size:22px"><label>@Html.Raw("<span class=\"blu\">" + strStudyPlaceTmp + "</span>") @strStudyPlaceTmp2</label></span><br />
|
||||
|
||||
@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 />
|
||||
}
|
||||
<span><label>@Html.Raw(strEduInfo)</label></span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -444,7 +444,7 @@
|
|||
//var seq = 0;
|
||||
if (capResult.obj.length < 1) {
|
||||
var li = $("<li />");
|
||||
li.append("<label> - 선택 가능한 교육종료일이 없습니다.</label>");
|
||||
li.append("<label> - 선택 가능한 교육일정이 없습니다.</label>");
|
||||
ulScd.append(li);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -357,9 +357,9 @@
|
|||
msg('교육목적을 선택해주세요.');
|
||||
} else if ($(this).parent().attr('id') == 'msSel5') {
|
||||
msg('등급을 선택해주세요.');
|
||||
} else if ($(this).parent().attr('id') == 'msSel6' ) {
|
||||
} @*else if ($(this).parent().attr('id') == 'msSel6' ) {
|
||||
msg('전문분야를 선택해주세요.');
|
||||
}
|
||||
}*@
|
||||
}
|
||||
});
|
||||
if (@Model.isalreadyreq == 1) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
@model NP.Model.VMMy
|
||||
@{
|
||||
NP.Model.Lect shapeDatapic = Model.Lects.FirstOrDefault();
|
||||
if(shapeDatapic == null)
|
||||
{
|
||||
shapeDatapic = new NP.Model.Lect();
|
||||
}
|
||||
|
||||
}
|
||||
<div class="mpgInfo mpgInfored">
|
||||
|
|
@ -55,7 +60,7 @@
|
|||
</div>
|
||||
</th>
|
||||
<td class="ltaBtn" data-th="교육일정변경 : ">
|
||||
<dl><dd class="blu"><a href="#" onclick="javscript:openScd(@d.cmno,@d.lectno);">변경</a></dd></dl>
|
||||
<dl><dd class="blu"><a href="#" onclick="javscript: openScd(@d.cmno,@d.lectno,@d.cshape);">변경</a></dd></dl>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
|
@ -74,16 +79,9 @@
|
|||
<div>
|
||||
<div>
|
||||
<div class="mpgPopWrap">
|
||||
<div class="mpgPopTitle">
|
||||
@if (Model.cmm.cshape == 1)
|
||||
{
|
||||
<h5>교육장교육 일정변경</h5>
|
||||
}
|
||||
else if (Model.cmm.cshape == 2)
|
||||
{
|
||||
<h5>교육종료일(수료일자) 변경</h5>
|
||||
}
|
||||
<a href="javascript:mpgPopClose();"></a>
|
||||
<div class="mpgPopTitle" id="divTitle">
|
||||
<h5></h5>
|
||||
@* <a href='javascript: mpgPopClose();'></a>*@
|
||||
</div>
|
||||
<div class="mpgPopCont">
|
||||
<div id="divScd"></div>
|
||||
|
|
@ -117,22 +115,34 @@
|
|||
function ps() {
|
||||
window.open("/My/CertSet");
|
||||
}
|
||||
function openScd(cmno, lectno) {
|
||||
function openScd(cmno, lectno, cshape) {
|
||||
vLectno = lectno
|
||||
$(".mpgPop").show();
|
||||
setScd(cmno);
|
||||
setScd(cmno, cshape);
|
||||
}
|
||||
function setScd(cmno) {
|
||||
capp("/focommon/GetScdForMixEdu", { cmno: cmno, lectno: vLectno }, "renderScdInning(" + cmno + ")");
|
||||
function setScd(cmno, cshape) {
|
||||
capp("/focommon/GetScdForMixEdu", { cmno: cmno, lectno: vLectno, cshape: cshape }, "renderScdInning(" + cmno + "," + cshape + ")");
|
||||
//20220809
|
||||
// capp("/focommon/GetScdForMixEdu", { cmno: cmno, lectno: vLectno }, "renderScd");
|
||||
}
|
||||
|
||||
function renderScdInning(cmno) {
|
||||
function renderScdInning(cmno,cshape) {
|
||||
|
||||
let strTmp = "";
|
||||
var divScd = $("#divScd");
|
||||
|
||||
var divTitle = $("#divTitle");
|
||||
divTitle.empty();
|
||||
if (cshape == 1)
|
||||
{
|
||||
strTmp = "<h5> 교육장교육 일정변경 </ul>";
|
||||
}
|
||||
else if (cshape == 2)
|
||||
{
|
||||
strTmp = "<h5> 교육종료일(수료일자) 변경 </ul>";
|
||||
}
|
||||
strTmp += "<a href='javascript: mpgPopClose();'></a>";
|
||||
@*strTmp = strTmp + "<a href='javascript: mpgPopClose();'></a>";*@
|
||||
divTitle.append(strTmp);
|
||||
divScd.empty();
|
||||
|
||||
//강좌일정 태그 생성
|
||||
|
|
@ -173,12 +183,12 @@
|
|||
if (d.isselected == 1) {
|
||||
//spanApplyClass.text("수강신청");
|
||||
//aApplyClass.append(spanApplyClass);
|
||||
pData.html("<label>" + strStudyPlacename + " <label style='color: red'>[접수중] </label>" + radioEduDay + " checked> " + d.scdInfoSummary + "<label style='color: red;display:none;'> (" + d.remainPeople + "명 남음)</label></label>");
|
||||
pData.html("<label>" + strStudyPlacename + " <label style='color: red'>[접수중] </label>" + radioEduDay + " checked> " + d.scdInfoSummary + "<label style='color: red;display:none;'> (" + d.remainPeople + "명 남음)</label></label>");
|
||||
}
|
||||
else {
|
||||
//spanApplyClass.text("수강신청");
|
||||
//aApplyClass.append(spanApplyClass);
|
||||
pData.html("<label>" + strStudyPlacename + " <label style='color: red'>[접수중] </label>" + radioEduDay + "'> " + d.scdInfoSummary + "<label style='color: red;display:none;'> (" + d.remainPeople + "명 남음)</label> " + "</label>");
|
||||
pData.html("<label>" + strStudyPlacename + " <label style='color: red'>[접수중] </label>" + radioEduDay + "'> " + d.scdInfoSummary + "<label style='color: red;display:none;'> (" + d.remainPeople + "명 남음)</label> " + "</label>");
|
||||
//pData.append(aApplyClass);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<h5>
|
||||
<span class="blu">강좌</span>
|
||||
<span class="@(Model.PayItem.cshape == 0 ? "org" : Model.PayItem.cshape == 1 ? "nav_grn" : "nav_blu")">@Model.PayItem.cshapename</span>
|
||||
@Html.Raw(Model.PayItem.isrebate == 1 ? "<span class=\"grn\">환급</span>" : "")
|
||||
@Html.Raw(Model.PayItem.isrebate == 1 ? "<span class=\"grn\">환급과정</span>" : "")
|
||||
<b style="color:@(Model.PayItem.pstatus == 22 ? "red" : "")">@Model.PayItem.itemname</b>
|
||||
</h5>
|
||||
@if (Model.PayItem.sdate != null && Model.PayItem.edate != null)
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@
|
|||
.ltaList h5 span,
|
||||
.ltaList h5 b {font-size:13pt; display:inline-block; vertical-align:middle; height:20px; line-height:20px; margin-right:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
|
||||
.ltaList h5 em {color:#238dfa; font-style:normal;}
|
||||
.ltaList h5 span {color:#fff; /*background:#333583; */padding:0 10px; font-size:10pt;}
|
||||
.ltaList h5 span {color:#fff; /*background:#333583; */padding:0 10px; font-size:10pt;font-weight:300;}
|
||||
.ltaList h5 span.nav_blu {background-color:#333583;}
|
||||
.ltaList h5 span.nav_grn {background-color:#77b743;}
|
||||
.ltaList h5 span.ppl {background:#a404b2}
|
||||
|
|
@ -726,7 +726,7 @@
|
|||
.payTlist h5 {white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
|
||||
.payTlist h5 span,
|
||||
.payTlist b {display:inline-block; vertical-align:middle; height:20px; line-height:20px; font-weight:400;}
|
||||
.payTlist h5 span {margin-right:5px; /*width:40px;*/ text-align:center; color:#fff; font-size:10pt; padding:0 8px;}
|
||||
.payTlist h5 span {margin-right:5px; /*width:40px;*/ text-align:center; color:#fff; font-size:10pt; padding:0 8px;font-weight:300;}
|
||||
.payTlist h5 span.blu {background:#238dfa;}
|
||||
/*.payTlist h5 span.ppl {background:#333583;}*/
|
||||
.payTlist h5 span.nav_blu {background-color:#333583;}
|
||||
|
|
|
|||
|
|
@ -11042,7 +11042,7 @@ span.org {
|
|||
/* 인사말 */
|
||||
.subTxt {
|
||||
font-size: 13pt;
|
||||
color: #666;
|
||||
color: #000;
|
||||
line-height: 1.8em;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue