마이페이지>증빙서류출력 :
"출력조건 추가 - 추가조건 : 미입금자 - 수강기간 : 상시일 경우 상시 로만 출력 (결제완료가 되지 않았기 때문에 수강기간 표기가 불가능) - 결제금액 : 미결제 (1,000원) 으로 출력 - 위탁계약서, 입교통지서, 수료증 : - 로 출력 * 현재 스마트검색으로 수강신청 시 계산서 신청한 사람의 경우 입금 전에는 계산서 요청 정보를 직접 확인이 불가능 함"
This commit is contained in:
parent
5d9633cecb
commit
5e08267d78
|
|
@ -1508,7 +1508,7 @@
|
|||
<select id="lect.lecture.document" parameterClass="hashtable" resultClass="lect">
|
||||
select a.*
|
||||
from (
|
||||
select a.lectno,a.userno,a.iscomplete,a.sdate,a.edate
|
||||
select a.lectno,a.userno,a.iscomplete,a.sdate,a.edate,a.status
|
||||
,b.cmno,b.cname,b.cshape
|
||||
,b.rstime,b.retime
|
||||
,b.sstime,b.setime
|
||||
|
|
@ -1550,7 +1550,7 @@
|
|||
left outer join comcode cc on cc.ccode = b.studyplace
|
||||
left outer join paytax pt on pt.payno = e.payno and ifnull(pt.iscancel,0) =0
|
||||
left outer join payvbankin pv on pv.payno = a.payno
|
||||
where a.status=1 and a.ischanged=0
|
||||
where a.status in (1,2) and a.ischanged=0
|
||||
<isNotNull property="cdts">and a.cdt >= #cdts#</isNotNull>
|
||||
<isNotNull property="cdte">and a.cdt <= #cdte#</isNotNull>
|
||||
<isNotNull property="asname">and ass.asname like concat('%',#asname#,'%')</isNotNull>
|
||||
|
|
|
|||
|
|
@ -60,28 +60,47 @@
|
|||
<b>@item.cname</b>
|
||||
</h5>
|
||||
<dl class="ltaDl">
|
||||
@if (item.cshape == 1)
|
||||
@if (item.status == 1)
|
||||
{
|
||||
<dd>교육기간 : @item.sdate.Value.ToString("yy-MM-dd") ~ @(item.edate.Value.ToString("yy-MM-dd"))</dd>
|
||||
if (item.cshape == 1)
|
||||
{
|
||||
<dd>교육기간 : @item.sdate.Value.ToString("yy-MM-dd") ~ @(item.edate.Value.ToString("yy-MM-dd"))</dd>
|
||||
}
|
||||
else
|
||||
{
|
||||
<dd>
|
||||
수강기간 : @item.sdate.Value.ToString("yy-MM-dd") ~ @(item.edate.Value.ToString("yy-MM-dd"))
|
||||
@if (item.cshape == 2 && item.estart > Convert.ToDateTime("1900-01-01") && item.eend > Convert.ToDateTime("1900-01-01"))
|
||||
{
|
||||
@:| 집체교육기간 : @("[" + item.studyplacename + "] " + string.Format("{0}", item.estart.ToString("yy-MM-dd")))
|
||||
}
|
||||
</dd>
|
||||
|
||||
}
|
||||
<dd>결제금액 : @(item.payamt)원</dd>
|
||||
}
|
||||
else
|
||||
{
|
||||
<dd>
|
||||
수강기간 : @item.sdate.Value.ToString("yy-MM-dd") ~ @(item.edate.Value.ToString("yy-MM-dd"))
|
||||
@if (item.cshape == 2 && item.estart > Convert.ToDateTime("1900-01-01") && item.eend > Convert.ToDateTime("1900-01-01"))
|
||||
var isAllDays = (item.retime == null ? String.Empty : Convert.ToDateTime(item.retime).ToString("yyyy-MM-dd")) == "2099-12-31";
|
||||
if (isAllDays)
|
||||
{
|
||||
if (item.cshape == 1)
|
||||
{
|
||||
@:| 집체교육기간 : @("[" + item.studyplacename + "] " + string.Format("{0}", item.estart.ToString("yy-MM-dd")))
|
||||
<dd>교육기간 : 상시</dd>
|
||||
}
|
||||
</dd>
|
||||
|
||||
else
|
||||
{
|
||||
<dd>수강기간 : 상시</dd>
|
||||
}
|
||||
}
|
||||
<dd>미결제 : @(item.payamt)원</dd>
|
||||
}
|
||||
<dd>결제금액 : @(item.payamt)원</dd>
|
||||
</dl>
|
||||
</a>
|
||||
</div>
|
||||
</th>
|
||||
<td class="ltaBtn" data-th="위탁계약서 : ">
|
||||
@if (item.pstatus == 1 && item.isrebate == 1)
|
||||
@if (item.pstatus == 1 && item.isrebate == 1 && item.status == 1)
|
||||
{
|
||||
<a href="#" onclick="javascript: educontract(@(item.lectno));"><img src="~/img/mypage/print.png"><br />인쇄</a>
|
||||
}
|
||||
|
|
@ -91,10 +110,17 @@
|
|||
}
|
||||
</td>
|
||||
<td class="ltaBtn" data-th="입교통지서 : ">
|
||||
<a href="#" onclick="javascript: eduannotation(@(item.lectno));"><img src="~/img/mypage/print.png"><br />[인쇄]</a>
|
||||
@if (item.status == 1)
|
||||
{
|
||||
<a href="#" onclick="javascript: eduannotation(@(item.lectno));"><img src="~/img/mypage/print.png"><br />[인쇄]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
</td>
|
||||
<td class="ltaBtn" data-th="수료증 : ">
|
||||
@if (item.iscomplete == 1)
|
||||
@if (item.iscomplete == 1 && item.status == 1)
|
||||
{
|
||||
<a href="#" onclick="javascript: certification(@(item.lectno));"><img src="~/img/mypage/print.png"><br />[인쇄]</a>
|
||||
}
|
||||
|
|
@ -161,7 +187,26 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
if (item.ptype == 3 && item.ispg == 1 && item.iscashrct != 1 && item.taxno > 0) /*가상계좌*/
|
||||
{
|
||||
if (item.iscancel != 1 && item.taxdate2 != null && !string.IsNullOrEmpty(item.mgtkey) && item.statecode >= 300) /*취소 and 발행일 and 세금계산서문서번호 */
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
else if (item.iscancel == 1) /*취소시 일반영수증*/
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
else
|
||||
{
|
||||
<a href="#" onclick="showtax('@(item.payno)')">[신청중]</a>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue