<기능개선>

1. PMS NO : 6638
2. (주요)작업내용 :
2. 현재 신청 중인 교육 페이지에서 -선택 가능한 교육 종료일이 없습니다 => -선택 가능한 교육일정이 없습니다.
로 문구변경 단 교육장교육일 경우에만 
3. 수강신청 조회 한 페이지에서 접수중 위에 교육장 선택 추가 (교육장교육 신철 시 교육장 선택탭? 이 있는데 온라인 교육은 미적용상태.
4.  온라인교육 신청 시 소속선택 부분에서 업체선택 시 업체정보란이 나오지 않아 정보 입력이 불가능
그 상태에서 수강신청을 누르면 알림창이 출력되며 신청이 되지 않음
5. 문구수정 
6. 문구추가
7번 문구삭제 및 추가
8번 나의 할 일에서 교육장은 안보이게

(1) 
FO\Views\Course\SmartSearch.cshtml 
FO\Views\Course\ApplyEdu.cshtml
FO\Views\Course\ApplyAgree.cshtml
FO\Views\Course\ApplyPay.cshtml
FO\Views\Course\ApplyComplete.cshtml
Model\BaseModel.cs
FO\Views\My\Index.cshtml
Dao\MyBatis\Maps\Lect.xml
This commit is contained in:
ljs0531 2022-09-04 10:12:46 +00:00
parent 0ee5d3636c
commit a147990fa3
8 changed files with 390 additions and 329 deletions

View File

@ -1368,9 +1368,10 @@
,a.time5,a.time6 ,a.time5,a.time6
,a.rno ,a.rno
,a.iscomplete ,a.iscomplete
,a.studytime, ,a.studytime
a.studyplacename studyplacename, ,a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from( from(
select 1 dtype select 1 dtype
,d.tyear intval,d.tseq intval2,c.cshape intval3,a.pstatus intval4,case when e.rfdno is null then 0 else 1 end intval5,a.isrebate intval6,a.itemno intval7 ,d.tyear intval,d.tseq intval2,c.cshape intval3,a.pstatus intval4,case when e.rfdno is null then 0 else 1 end intval5,a.isrebate intval6,a.itemno intval7
@ -1400,6 +1401,7 @@
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace, cmis.studyplace,
l.cdt l.cdt
,c.cshape
from payitem a from payitem a
inner join pay b on b.payno=a.payno and b.pstatus in (21,22,51,55) and b.rstatus &lt; 2 inner join pay b on b.payno=a.payno and b.pstatus in (21,22,51,55) and b.rstatus &lt; 2
inner join cm c on c.cmno=a.itemno and c.rstime &lt; <include refid="sql.now"></include> and c.retime &gt; <include refid="sql.now"></include> inner join cm c on c.cmno=a.itemno and c.rstime &lt; <include refid="sql.now"></include> and c.retime &gt; <include refid="sql.now"></include>
@ -1425,6 +1427,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 2 dtype select 2 dtype
,c.tyear intval,c.tseq intval2,b.cshape intval3,0 intval4,0 intval5,a.isrebate intval6,a.cmno intval7,0 intval8 ,c.tyear intval,c.tseq intval2,b.cshape intval3,0 intval4,0 intval5,a.isrebate intval6,a.cmno intval7,0 intval8
@ -1452,6 +1455,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join pay e on e.payno = a.payno inner join pay e on e.payno = a.payno
inner join cm b on b.cmno=a.cmno inner join cm b on b.cmno=a.cmno
@ -1475,6 +1479,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 3 dtype select 3 dtype
,1 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,1 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8
@ -1488,6 +1493,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>--> inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>-->
inner join cminning c on c.cmno=b.cmno and c.isonline=1 and c.isscd = 0 inner join cminning c on c.cmno=b.cmno and c.isonline=1 and c.isscd = 0
@ -1511,6 +1517,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 3 dtype select 3 dtype
,2 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,2 intval,c.iseq intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8
@ -1524,6 +1531,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include> and b.cshape=1--> inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include> and b.cshape=1-->
left outer join comcode bc on bc.ccode=b.studyplace left outer join comcode bc on bc.ccode=b.studyplace
@ -1547,6 +1555,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 3 dtype select 3 dtype
,3 intval,0 intval2,b.classno intval3,c.extype intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,3 intval,0 intval2,b.classno intval3,c.extype intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8
@ -1560,6 +1569,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>--> inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>-->
left outer join comcode bc on bc.ccode=b.studyplace left outer join comcode bc on bc.ccode=b.studyplace
@ -1583,6 +1593,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 3 dtype select 3 dtype
,4 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,4 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8
@ -1594,8 +1605,9 @@
,row_number() over(order by b.setime) rno ,row_number() over(order by b.setime) rno
,a.iscomplete ,a.iscomplete
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname as studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>--> inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>-->
left outer join comcode bc on bc.ccode=b.studyplace left outer join comcode bc on bc.ccode=b.studyplace
@ -1619,6 +1631,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 3 dtype select 3 dtype
,5 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8 ,5 intval,0 intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,a.cmno intval7,0 intval8
@ -1632,6 +1645,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from lect a from lect a
inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>--> inner join cm b on b.cmno=a.cmno <!--and b.sstime &lt; <include refid="sql.now"></include> and b.setime &gt; <include refid="sql.now"></include>-->
left outer join comcode bc on bc.ccode=b.studyplace left outer join comcode bc on bc.ccode=b.studyplace
@ -1655,6 +1669,7 @@
,a.studytime, ,a.studytime,
a.studyplacename studyplacename, a.studyplacename studyplacename,
a.studyplace a.studyplace
,a.cshape
from ( from (
select 4 dtype select 4 dtype
,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7,0 intval8 ,a.scdno intval,a.dday intval2,b.classno intval3,0 intval4,0 intval5,0 intval6,b.cmno intval7,0 intval8
@ -1666,6 +1681,7 @@
,b.studytime, ,b.studytime,
cc.cname studyplacename, cc.cname studyplacename,
cmis.studyplace cmis.studyplace
,b.cshape
from alarms a from alarms a
inner join cm b on b.cmno=a.cmexno inner join cm b on b.cmno=a.cmexno
inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0 inner join lect c on c.cmno=b.cmno and c.userno=a.userno and c.status=1 and c.ischanged=0

View File

@ -78,6 +78,16 @@ else
</div> </div>
</li> </li>
</ul> </ul>
<p class="subTxt">
<br />
<h4 class="clsTitle">교육비 입금기한 안내</h4>
- 온라인교육 : 신청일로 부터 한 달 이내<br />
- 교육장교육 : 교육시작일로 부터 7일 전까지 (단, 교육시작일이 7일 이내 인 경우 교육시작일 전 까지)<br />
</p>
if (Model.Pay.isready == 0 || Model.Pay.pstatus == 1 || Model.Pay.pstatus == 22) if (Model.Pay.isready == 0 || Model.Pay.pstatus == 1 || Model.Pay.pstatus == 22)
{ {
<h4 class="clsTitle">결제정보</h4> <h4 class="clsTitle">결제정보</h4>
@ -101,7 +111,7 @@ else
</tr> </tr>
<tr> <tr>
<th>주문접수일</th> <th>주문접수일</th>
<td>@DateTime.Now.ToString("yyyy-MM-dd HH:mm") (만료일: @Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm"))</td> <td>@DateTime.Now.ToString("yyyy-MM-dd HH:mm") @*(만료일: @Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm"))*@</td>
</tr> </tr>
} }
<tr> <tr>
@ -111,7 +121,7 @@ else
</tbody> </tbody>
</table> </table>
<ul class="clsBtn society"> <ul class="clsBtn society">
<li><a href="/My/Paies">결제현황 이동</a></li> <li><a href="/My/Paies">결제현황 관리</a></li>
<li><a href="/My/Index">마이페이지</a></li> <li><a href="/My/Index">마이페이지</a></li>
<li><a href="/">계속 신청하기</a></li> <li><a href="/">계속 신청하기</a></li>
</ul> </ul>

View File

@ -187,8 +187,8 @@
} }
<div id="postlayer" class="daumpost"><a href="#" class="btn btn-xxs btn-select closedaumpost" onclick="closeDaumPostcode();">close</a></div> <div id="postlayer" class="daumpost"><a href="#" class="btn btn-xxs btn-select closedaumpost" onclick="closeDaumPostcode();">close</a></div>
@if (Model.CM.isrefund == 1) @*@if (Model.CM.isrefund == 1)
{ {*@
<div class="div-companyInfo"> <div class="div-companyInfo">
<h4 class="clsTitle">회사정보 확인</h4> <h4 class="clsTitle">회사정보 확인</h4>
<p class="subDsc">*는 필수 입력사항입니다.</p> <p class="subDsc">*는 필수 입력사항입니다.</p>
@ -273,7 +273,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
} @*}*@
<h4 class="clsTitle">개인정보 확인</h4> <h4 class="clsTitle">개인정보 확인</h4>
<p class="subDsc">*는 필수 입력사항입니다.</p> <p class="subDsc">*는 필수 입력사항입니다.</p>
@Html.HiddenFor(x => x.User.userno) @Html.HiddenFor(x => x.User.userno)
@ -442,6 +442,9 @@
setScd(); setScd();
}); });
// 환급여부 체크하면 소속선택(div-isCompany)hide 환급금수령계좌(div-rbankInfo) show 회사정보확인(div-companyInfo) show
$("input:radio[name='isrebate']").on("click",function () { $("input:radio[name='isrebate']").on("click",function () {
$(".div-companyInfo").find(".clsTable").find("tr th").removeClass("req"); $(".div-companyInfo").find(".clsTable").find("tr th").removeClass("req");
if ($(this).val() == "1") { if ($(this).val() == "1") {
@ -450,7 +453,7 @@
$("input:radio[name='isCompany'][value='1']").click(); $("input:radio[name='isCompany'][value='1']").click();
$(".uduty").show(); $(".uduty").show();
$(".div-companyInfo").find(".clsTable").find("tr th.offreq").addClass("req"); $(".div-companyInfo").find(".clsTable").find("tr th.offreq").addClass("req");
} }// 비환급 체크하면 소속선택 show 환급금수령계좌 hide 보여진 소속선택에서 개인(val == 0) 체크하면 업체정보 hide
else { else {
$(".div-isCompany").show(); $(".div-isCompany").show();
$(".div-rbankInfo").hide(); $(".div-rbankInfo").hide();

View File

@ -95,6 +95,22 @@
</li> </li>
</ul> </ul>
<p class="subTxt">
<br />
<h4 class="clsTitle">교육비 환급대상자의 입금방법(중요)</h4>
<span style="font-size:18px;"><strong>■ 카드결제 시</strong></span><br />
- 반드시 <span style="color : red;">소속 회사의 법인카드로</span> 결제 해 주세요. <span style="color : red;"><strong>(개인카드 결제 시 환급불가)</strong></span><br />
- 카드결제 후 <span style="color : red;">결제한 카드 앞면을 복사하여</span> 입교 시 지참해 주세요.<br />
<span style="font-size:14px;">※ 결제 한 카드가 법인명의라는 것을 <span style="color : red;">노동부에 증빙하기 위하여 필요한 서류</span> 이며 회사 명이 잘 보이도록 <span style="color : red;">앞면 만 복사하시면</span> 됩니다.</span><br /><br />
<span style="font-size:18px;"><strong>■ 무통장입금 시</strong></span><br />
- 계좌이체로 입금하실 경우 반드시 <span style="color : red;">법인계좌에서</span> 이체가 되어야 합니다. <span style="color : red;"><strong>(타 계좌에서 이체 시 환급불가)</strong></span><br />
- 입금자명은 반드시 <span style="color : red;">소속회사 + 교육생이름</span> 으로 기재해주세요.<br /><br />
&nbsp;&nbsp;예) 현대건설 이지은 인 경우 -> 현대건설이지은<br /><br />
<span style="font-size:16px;"><strong>■ 환급대상자는 <span style="color : red;">계산서 의무 발행</span> 이므로 현금영수증 발행이 불가 합니다.</strong></span><br />
</p>
<h4 class="clsTitle">결제방법(신용카드 선택 시 계산서 발급불가)</h4> <h4 class="clsTitle">결제방법(신용카드 선택 시 계산서 발급불가)</h4>
<ul class="apyRdo"> <ul class="apyRdo">
@if (Model.CM.infee > 0) @if (Model.CM.infee > 0)

View File

@ -427,7 +427,7 @@
} }
// 교육장소 생성하기 // 교육장소 생성하기
if (cshape != 2 && strStudyPlaceTag != '') { if (/*cshape != 2 &&*/ strStudyPlaceTag != '') {
divPlace.append(strStudyPlaceTag); divPlace.append(strStudyPlaceTag);
divPlace.show(); divPlace.show();
} }
@ -441,12 +441,20 @@
var ulScd = $("#ulScd" + cmno); var ulScd = $("#ulScd" + cmno);
ulScd.empty(); ulScd.empty();
//var seq = 0; //var seq = 0;
if (capResult.obj.length < 1) { //2022-08-31 cshape == 1 교육장교육일때 cshape == 2 온라인교육일때
if (cshape == 1) {
var li = $("<li />"); var li = $("<li />");
li.append("<label> - 선택 가능한 교육일정이 없습니다.</label>"); li.append("<label> - 선택 가능한 교육일정이 없습니다.</label>");
ulScd.append(li); ulScd.append(li);
} }
else if (cshape == 2) {
var li = $("<li />");
li.append("<label> - 선택 가능한 교육종료일이 없습니다.</label>");
ulScd.append(li);
}
$.each(capResult.obj, function (i, d) { $.each(capResult.obj, function (i, d) {
var li = $("<li />"); var li = $("<li />");

View File

@ -165,7 +165,7 @@
} }
@*<a href="@(d.intval5 != 1 && d.intval4 == 1 && d.intval8 == 1 ? "/CRoom/Index?croomlectno=" + d.longval : d.intval5 != 1 && d.intval4 == 1 && d.intval8 == 0 @*<a href="@(d.intval5 != 1 && d.intval4 == 1 && d.intval8 == 1 ? "/CRoom/Index?croomlectno=" + d.longval : d.intval5 != 1 && d.intval4 == 1 && d.intval8 == 0
? "/My/Ready" : d.intval5 != 1 && d.intval4 == 51 ? "/Course/ApplyPay" : d.intval5 != 1 && d.intval4 == 21 ? "/Course/ApplyPay?payno=" + d.longval2 : "/My/PayInfo?payno=" + d.longval2)" class="gocroom">*@ ? "/My/Ready" : d.intval5 != 1 && d.intval4 == 51 ? "/Course/ApplyPay" : d.intval5 != 1 && d.intval4 == 21 ? "/Course/ApplyPay?payno=" + d.longval2 : "/My/PayInfo?payno=" + d.longval2)" class="gocroom">*@
<a href="/MY/Paies" data-cshape=@d.intval3 class="gocroom"> <a href="/MY/Paies" onClick="alert('감사합니다')" data-cshape=@d.intval3 class="gocroom">
<h5> <h5>
<span class="@(d.intval3 == 0 ? "org" : d.intval3 == 1 ? "nav_grn" : "nav_blu")">@(d.intval3 == 0 ? "온라인교육" : d.intval3 == 1 ? "교육장교육" : "온라인교육")</span> <span class="@(d.intval3 == 0 ? "org" : d.intval3 == 1 ? "nav_grn" : "nav_blu")">@(d.intval3 == 0 ? "온라인교육" : d.intval3 == 1 ? "교육장교육" : "온라인교육")</span>
@if (d.studyplace == null) @if (d.studyplace == null)
@ -241,9 +241,11 @@
<ul class="mpgnList" id="mpgl01"> <ul class="mpgnList" id="mpgl01">
@foreach (var d in Model.Datas.Where(w => w.dtype == 3).OrderBy(o => o.intval)) @foreach (var d in Model.Datas.Where(w => w.dtype == 3).OrderBy(o => o.intval))
{ {
if(d.cshape != 1) {
<li> <li>
<div> <div>
<a href="/CRoom/Index?croomlectno=@d.longval" data-cshape=@d.intval3 class="gocroom"> @*<a href="/CRoom/Index?croomlectno=@d.longval" data-cshape=@d.intval3 class="gocroom">*@
<a href="/CRoom/Index?croomlectno=@d.longval" data-cshape=@d.cshape class="gocroom">
@if (d.intval == 1) @if (d.intval == 1)
{ {
<h5><span>[학습]</span>@d.strval (@(d.intval3)반)</h5> <h5><span>[학습]</span>@d.strval (@(d.intval3)반)</h5>
@ -278,6 +280,8 @@
</div> </div>
</li> </li>
} }
}
</ul> </ul>
@if (Model.Datas.Where(w => w.dtype == 3).Count() < 1) @if (Model.Datas.Where(w => w.dtype == 3).Count() < 1)
{ {

View File

@ -490,6 +490,10 @@ namespace NP.Model
public class Data : BaseModel public class Data : BaseModel
{ {
/// <summary>
/// 강의유형 0: 온라인, 1: 교육장, 2: 혼합(온+오프)
/// </summary>
public int cshape { get; set; }
/// <summary> /// <summary>
/// 20220804 비교구문 추가 /// 20220804 비교구문 추가
/// </summary> /// </summary>