@model NP.Model.VMCM
기본정보
@Html.Partial("./Partial/Select", Model.CGs.Where(w => w.pcgno == null), new ViewDataDictionary { { "special", "reg" }, { "name", "pcgno" }, { "selected", Model.CM.pcgno }, { "df", ":-상위분류" }, { "class", "disp-init" } }) @Html.Partial("./Partial/Select", Model.CGs.Where(w => w.pcgno == Model.CM.pcgno), new ViewDataDictionary { { "special", "reg" }, { "name", "CM.cgno" }, { "selected", Model.CM.cgno }, { "df", ":-과정분류" }, { "class", "disp-init" } })
@Html.TextBoxFor(m => m.CM.cname, new { @class = "form-control disp-init ff", @style = "width: 50%", @maxlength = "100", @placeholder = "패키지명을 입력하세요." })
@*
@Html.Partial("./Partial/Date", Model.CM.sstime == null ? (DateTime?)null : Convert.ToDateTime(Model.CM.sstime), new ViewDataDictionary { { "name", "CM.sstime" } }) ~ @Html.Partial("./Partial/Date", Model.CM.setime == null ? (DateTime?)null : Convert.ToDateTime(Model.CM.setime), new ViewDataDictionary { { "name", "CM.setime" } })
@Html.TextAreaFor(m => m.CM.introhtml, new { @class = "form-control", @style = "resize: none; width: 90%; height: 80px; padding: 3px 5px;" })
*@
@Html.HiddenFor(m => m.intval) @Html.HiddenFor(m => m.CM.cmno) @Html.HiddenFor(m => m.CM.ismaster) @Html.HiddenFor(m=>m.savedata)
강좌추가
강좌정보
@foreach (var item in Model.CMs) { }
삭제 순서 기수 | 유형 | 강좌명 | 분반 정가 할인율 할인가
회원 비회원 회원 비회원
[삭제] @(item.tmname + " | " + item.cshapename + " | " + item.cname + " | " + item.classno + "반") @item.orginfee.ToString("#,0") @item.orgoutfee.ToString("#,0") %
소계 @Model.CMs.Sum(s => s.orginfee).ToString("#,0") @Model.CMs.Sum(s => s.orgoutfee).ToString("#,0") - @Model.CMs.Sum(s => s.infee).ToString("#,0") @Model.CMs.Sum(s => s.outfee).ToString("#,0")
 
저장 @if (Model.CM.cmno > 0) { 삭제 } 목록
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
@Html.Partial("./Partial/CMBox", "bindCM;강좌 검색;0;0") @section styles{ } @section scriptsHeader{ @Html.Partial("./Partial/ScriptDate") } @section scripts{ }