YNICTE/BO/Views/user/urprint.cshtml

52 lines
2.3 KiB
Plaintext

@model NP.Model.VMUser
@{
Layout = "~/Views/Shared/_PrintLayout.cshtml";
ViewBag.PopupMenuName = "영남건설기술교육원 강의이력";
}
<div id="print_area" style="width: 680px; margin: 0 auto; padding-top: 20px;">
<div class="text-center printtitle">영남건설기술교육원 강의이력</div>
<div>
<h5 style="font-weight: bold;">강사명 : @(Model.User.username)(@(Model.User.email))</h5>
</div>
<div class="table-responsive" id="excel3">
<table class="table table-striped b-t b-light">
<thead>
<tr>
<th width="20">No</th>
<th>기수</th>
<th>과정분류</th>
<th>강좌명(분반)</th>
<th>강의기간</th>
<th>강의료</th>
</tr>
</thead>
<tbody class="data" id="tbody3">
@foreach (var item in Model.CMPRs)
{
<tr>
<td>@item.rno</td>
<td>@item.tmname</td>
<td>@item.cgname</td>
<td class="text-left">@item.cname (@item.classno)</td>
<td>@string.Format("{0} ~{1}", item.sstime == null ? "" : item.sstime.Value.ToString("yy-MM-dd"), item.setime == null ? "" : item.setime.Value.ToString("yy-MM-dd"))</td>
<td class="text-right">@item.pfee.ToString("#,0")</td>
</tr>
}
</tbody>
</table>
</div>
</div>
<div class="printNonArea" style="height: 85px;">&nbsp;</div>
<div style="text-align: center; position: fixed; z-index: 1; bottom: 0; left: 0; right: 0; background-color: #fff; padding: 10px 0; border: 1px solid #ddd;" class="printNonArea">
<div style="color: red;" class="text-center">* 인쇄설정에서 머리글과 바닥글을 표시제외하고 배경이미지를 활성화 해주세요.</div>
<div style="height: 38px; margin-top: 5px;">
<a class="btn btn-lg btn-info" href="#" title="인쇄" onclick="fnPrint();">인쇄</a>
<a class="btn btn-default btn-lg" href="#" title="취소" onclick="self.close();">취소</a>
</div>
</div>
@section scripts{
<script>
</script>
}