@model NP.Model.VMCRoom @{ }
출결이력조회
@foreach (var d in Model.LectInnings) { }
[@(d.iseq)회] @d.ititle
@if (d.cshape == 2 && d.isonline == 0) {
} else {
@(d.isonline == 0 && d.istatus == 2 ? "출석완료" : d.isonline == 0 && d.idate < DateTime.Now ? "결석" : d.isonline == 0 ? "출석전" : d.stime == null ? "학습전(0%)" : d.istatus == 2 ? "학습완료" : string.Format("학습중({0}%)", d.sttime > 0 ? (d.totstudy * 100 / (d.sttime * 60)) : 0))
@(d.isonline == 0 ? (d.cshape != 2 ? "강의시작일" : "집체교육") : "강의기간") : @(d.isonline == 0 ? (d.cshape != 2 ? string.Format("{0} {1}:{2}", d.idate.ToString("MM/dd"), d.ist.Substring(0, 2), d.ist.Substring(2, 2)) : d.eend.ToString("MM/dd")) : (d.sdate.ToString("MM/dd") + " ~ " + d.edate.ToString("MM/dd")))
@if (d.isonline == 0) { if (d.cshape != 2) {
강의실 : @(d.icontent ?? "-")
} else {
장소 : @(d.cname ?? "-")
} }
}
  • @if (d.fileno > 0) { 교안보기 } @if (d.fileno < 1 && !string.IsNullOrEmpty(d.tfurl)) { 교안보기 }
  • @if (d.isonline == 1) { //학습기간 종료후에도 시청은 가능하고, 출석인정은 되지않도록 변경 2021-01-25 학습하기 }
@Html.Partial("./Partial/MobileChk", null, new ViewDataDictionary { { "bindmethod", "cbchkmobile" } }) @Html.Partial("./Partial/OkCert3", null, new ViewDataDictionary { }) @section scriptsHeader{ } @section scripts{ }