"강좌 선택 시 출력되는 강좌정보 내용 변경

1.
교육일: 강좌에 입력되어 있는 학습기간으로 표기 (2021-03-05 ~ 2021-05-01)
 - 강좌가 상시일 경우에만 00일로 표기

2.
현재: 교육비 부분에 회원/비회원으로 출력됨
변경: 교육비 부분에 수강료/합숙비용 이 출력되도록 "
This commit is contained in:
lch 2021-06-09 08:24:35 +00:00
parent c813a803a3
commit 8288a6a520
2 changed files with 6 additions and 4 deletions

View File

@ -102,7 +102,9 @@
+ r.typegrade + ":"
+ r.typejob + ":"
+ r.typejob + ":"
+ r.isaccommodation
+ r.isaccommodation + ":"
+ r.sssetermname + ":"
+ getint(r.accommofee)
+ "\" /></td><td>" + r.rnorvt + "</td><td>" + r.cmno + "</td><td>" + r.pcgname + " | " + r.cgname + "</td><td>" + r.tmname + "</td><td>" + r.cshapename + "</td>" +
(@(issingle?1:0)== 1 ? ("<td class=\"text-left link\"><a href=\"#\" onclick=\"$(this).closest('tr').find('input.autocheck').prop('checked', true);selectcm()\">[" + r.ismastername + "] " + r.cnameclassno.replace(/:/gi, '|').replace(/;/gi, '|') + "</a></td>"): ("<td class=\"text-left\">" + r.cnameclassno.replace(/:/gi, '|').replace(/;/gi, '|') + "</td>")) +
"</tr>");

View File

@ -228,11 +228,11 @@
});
});
function bindCM(vs) {
var v = vs.split(':');
var v = vs.split(':');
setv("cmno", v[0]);
$("#cmname").text(v[2] + " | " + v[8] + " | " + v[1]);
$("#ssseterm").text("교육일 : " + v[9] + "일");
$("#fee").text("교육비 : 회원 " + bindComma3(v[5]) + "원 | 비회원 " + bindComma3(v[6]) + "원");
$("#ssseterm").text("교육일 : " + v[17]);
$("#fee").text("교육비 : 수강료 " + bindComma3(v[5]) + "원 | 합숙비용 " + bindComma3(v[18]) + "원");
$("#layertable tbody tr:gt(0)").remove();
$("#layertable tbody tr").first().attr("data-cmno", v[0]);
$("th.cm,th.payamtcash,th.payamtcard,td.payamtcash,td.payamtcard").addClass("hide");