This commit is contained in:
parent
cf57456590
commit
81c4fb075d
|
|
@ -0,0 +1,134 @@
|
|||
@model NP.Model.VMMy
|
||||
|
||||
<style>
|
||||
.lctQr {}
|
||||
.lctQr > span {color: black;cursor: pointer;}
|
||||
.lctQr span.current {color: blue;}
|
||||
</style>
|
||||
<div class="mpgInfo">
|
||||
<ul>
|
||||
<li>증빙자료는 현금영수증이나 전자세금계산서 중 하나만 출력할 수 있습니다.</li>
|
||||
<li>환급금 지급내역서는 환급을 신청한 강좌만 출력하실 수 있습니다.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="lctQr">
|
||||
<span class="@(Model.tabidx == 0 ? "current" : "" )" id="lblAll">신규과정</span> |
|
||||
<span class="@(Model.tabidx == 1 ? "current" : "" )" id="lblOff">2021년 이전과정</span>
|
||||
</div>
|
||||
<table class="lctAply">
|
||||
<colgroup>
|
||||
<col width="*" />
|
||||
<col width="10%" />
|
||||
<col width="10%" />
|
||||
<col width="10%" />
|
||||
<col width="10%" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>강좌명</th>
|
||||
<th>위탁계약서</th>
|
||||
<th>입교통지서</th>
|
||||
<th>수료증</th>
|
||||
<th>계산서/영수증</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.Lects)
|
||||
{
|
||||
<tr>
|
||||
<th>
|
||||
<div class="ltaList">
|
||||
<a href="#" style="cursor:default">
|
||||
<h5>
|
||||
<em>@(item.tseq)기</em>
|
||||
<span class="nav">@item.cshapename</span>
|
||||
@Html.Raw(item.isrebate == 1 ? "<span class=\"grn\">환급</span>" : "")
|
||||
<b>@item.cname</b>
|
||||
</h5>
|
||||
<dl class="ltaDl">
|
||||
<dd>신청기간 : @item.rstime.Value.ToString("yy/MM/dd") ~ @(item.retime.Value.ToString("yy/MM/dd")) | @(item.cshape == 2 ? "집체":"")교육기간 : @(item.cshape == 2 ? "["+item.studyplacename+"]" : "") @item.sstime.Value.ToString("yy/MM/dd") ~ @(item.setime.Value.ToString("yy/MM/dd"))</dd>
|
||||
<dd>결제금액 : @(item.payamt)원</dd>
|
||||
</dl>
|
||||
</a>
|
||||
</div>
|
||||
</th>
|
||||
<td class="ltaBtn" data-th="위탁계약서 : ">
|
||||
@if (item.pstatus == 1)
|
||||
{
|
||||
<a href="#" onclick="javascript: educontract(@(item.lectno));">[인쇄]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
</td>
|
||||
<td class="ltaBtn" data-th="입교통지서 : ">
|
||||
<a href="#" onclick="javascript: eduannotation(@(item.lectno));">[인쇄]</a>
|
||||
</td>
|
||||
<td class="ltaBtn" data-th="수료증 : ">
|
||||
@if (item.iscomplete == 1)
|
||||
{
|
||||
<a href="#" onclick="javascript: certification(@(item.lectno));">[인쇄]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
</td>
|
||||
<td class="ltaBtn" data-th="계산서/영수증 : ">
|
||||
@if(item.pstatus == 1)
|
||||
{
|
||||
if (item.ptype == 6)
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}else if(item.ptype == 1 && item.ispg == 1)
|
||||
{
|
||||
<a href="#">[카드사 매출전표]</a>
|
||||
}else if(item.ptype == 3 && item.ispg == 1)
|
||||
{
|
||||
<a href="#">[서마터빌]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
if(item.taxno > 0)
|
||||
{
|
||||
<a href="#">[@(item.taxdate == null ? "신청중" : "발행")]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a href="#">[요청]</a>
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.Raw("-")
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
@Html.Pager2((int)Model.pagenum, 10, Model.pagerowcount, Model.pagetotalcount)
|
||||
@section scripts{
|
||||
<script>
|
||||
function certification(lectno) {
|
||||
var pop = window.open('@ViewBag.reporturl/certification.aspx?lectno='+lectno, "certprint", "width=" + (screen.availWidth) + ", height=" + (screen.availHeight) + ", scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0");
|
||||
if (pop == null) {
|
||||
msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요.");
|
||||
}
|
||||
}
|
||||
function educontract(lectno) {
|
||||
var pop = window.open('@ViewBag.reporturl/educontract.aspx?lectno='+lectno, "certprint", "width=" + (screen.availWidth) + ", height=" + (screen.availHeight) + ", scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0");
|
||||
if (pop == null) {
|
||||
msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요.");
|
||||
}
|
||||
}
|
||||
function eduannotation(lectno) {
|
||||
var pop = window.open('@ViewBag.reporturl/eduannotation.aspx?lectno='+lectno, "certprint", "width=" + (screen.availWidth) + ", height=" + (screen.availHeight) + ", scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0");
|
||||
if (pop == null) {
|
||||
msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요.");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
}
|
||||
Loading…
Reference in New Issue