This commit is contained in:
kdh0120 2020-12-08 01:18:12 +00:00
parent 0dbc8ab406
commit d2f6726931
19 changed files with 140 additions and 82 deletions

View File

@ -1363,7 +1363,7 @@
,c.tyear,c.tseq ,c.tyear,c.tseq
,u.username,u.userid ,u.username,u.userid
,ass.asname ,ass.asname
,e.payno,e.pstatus,e.payamt,e.ptype,e.ispg ,e.payno,e.pstatus,e.payamt,e.ptype,e.ispg,e.pgkey
,f.estart,f.eend ,f.estart,f.eend
,cc.cname studyplacename ,cc.cname studyplacename
,pt.taxno,pt.taxdate ,pt.taxno,pt.taxdate

View File

@ -316,10 +316,11 @@ namespace NP.FO.Controllers
} }
sb2.Append("</ul></li>"); sb2.Append("</ul></li>");
sb2auth.Append("</ul></li>"); sb2auth.Append("</ul></li>");
sbmauth.Append(string.Format("<li class=\"topmenu{1}" + (m.pno == 16 ? "style=\"display:none;\"" : string.Empty) + "\"><a>{0}</a><span></span><ul>", m.pagename, m.pno)); var menu = GetMENUPAGES.Where(w => w.pdepth == 1 && w.isopen == 1 && w.ppno == m.pno && w.pagetype != 4).FirstOrDefault();
sbmauth.Append(string.Format("<li class=\"topmenu{1}" + (m.pno == 16 ? "style=\"display:none;\"" : string.Empty) + "\"><a href=\"#\" onclick=\"gomenu({2}, {3}, '{4}', this)\">{0}</a><span></span><ul>", m.pagename, m.pno,menu.pno,menu.pagetype,menu.pageurl));
if (m.usertype == 0) if (m.usertype == 0)
{ {
sbm.Append(string.Format("<li class=\"topmenu{1}" + (m.pno == 16 ? "style=\"display:none;\"" : string.Empty) + "\"><a>{0}</a><span></span><ul>", m.pagename, m.pno)); sbm.Append(string.Format("<li class=\"topmenu{1}" + (m.pno == 16 ? "style=\"display:none;\"" : string.Empty) + "\"><a href=\"#\" onclick=\"gomenu({2}, {3}, '{4}', this)\">{0}</a><span></span><ul>", m.pagename, m.pno, menu.pno, menu.pagetype, menu.pageurl));
} }
foreach (var m2 in GetMENUPAGES.Where(w => w.pdepth == 1 && w.isopen == 1 && w.ppno == m.pno && w.pagetype != 4)) foreach (var m2 in GetMENUPAGES.Where(w => w.pdepth == 1 && w.isopen == 1 && w.ppno == m.pno && w.pagetype != 4))
{ {

View File

@ -243,6 +243,9 @@ namespace NP.FO.Controllers
{ {
return Redirect("/My/Paies"); return Redirect("/My/Paies");
} }
vm.Pay.mid = (("test".Equals(GetConfig("CST_PLATFORM").Trim())) ? "t" : "") + GetConfig("CST_MID");
String authdata = vm.Pay.mid + vm.Pay.pgkey + GetConfig("LGD_MERTKEY");
vm.PayItems = Dao.Get<PayItem>("pay.mypayitem", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "payno", vm.payno } }); vm.PayItems = Dao.Get<PayItem>("pay.mypayitem", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "payno", vm.payno } });
vm.PayItem = Dao.Get<PayItem>("pay.mypayitem", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "payno", vm.payno } }).FirstOrDefault(); vm.PayItem = Dao.Get<PayItem>("pay.mypayitem", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "payno", vm.payno } }).FirstOrDefault();
vm.intval3 = Dao.Get<PayRfd>("pay.mypayrfd", new System.Collections.Hashtable() { { "payno", vm.Pay.payno }/*,{ "rstatus", 0}*/, { "withoutrstatus" , "4" } }).Count(); vm.intval3 = Dao.Get<PayRfd>("pay.mypayrfd", new System.Collections.Hashtable() { { "payno", vm.Pay.payno }/*,{ "rstatus", 0}*/, { "withoutrstatus" , "4" } }).Count();
@ -425,6 +428,8 @@ namespace NP.FO.Controllers
public ActionResult Document(VMMy vm) public ActionResult Document(VMMy vm)
{ {
ViewBag.reporturl = GetConfig("reporturl"); ViewBag.reporturl = GetConfig("reporturl");
ViewBag.mid = (("test".Equals(GetConfig("CST_PLATFORM").Trim())) ? "t" : "") + GetConfig("CST_MID");
ViewBag.mertkey = GetConfig("LGD_MERTKEY");
if (vm.tabidx == 0) if (vm.tabidx == 0)
{ {
vm.pagerowcount = vm.pagerowcount < 1 ? 10 : vm.pagerowcount; vm.pagerowcount = vm.pagerowcount < 1 ? 10 : vm.pagerowcount;

View File

@ -347,6 +347,15 @@
<Content Include="img\common\paging_next.png" /> <Content Include="img\common\paging_next.png" />
<Content Include="img\common\paging_prev.png" /> <Content Include="img\common\paging_prev.png" />
<Content Include="img\common\pop_close.png" /> <Content Include="img\common\pop_close.png" />
<Content Include="img\common\professor_01.jpg" />
<Content Include="img\common\professor_02.jpg" />
<Content Include="img\common\professor_03.jpg" />
<Content Include="img\common\professor_04.jpg" />
<Content Include="img\common\professor_05.jpg" />
<Content Include="img\common\professor_06.jpg" />
<Content Include="img\common\professor_07.jpg" />
<Content Include="img\common\professor_08.jpg" />
<Content Include="img\common\professor_09.jpg" />
<Content Include="img\common\refund_ico01.png" /> <Content Include="img\common\refund_ico01.png" />
<Content Include="img\common\refund_ico02.png" /> <Content Include="img\common\refund_ico02.png" />
<Content Include="img\common\select_arrow.png" /> <Content Include="img\common\select_arrow.png" />
@ -456,6 +465,7 @@
<Content Include="img\mypage\notice_close.png" /> <Content Include="img\mypage\notice_close.png" />
<Content Include="img\mypage\popup_profile_sample.jpg" /> <Content Include="img\mypage\popup_profile_sample.jpg" />
<Content Include="img\mypage\popup_sign.jpg" /> <Content Include="img\mypage\popup_sign.jpg" />
<Content Include="img\mypage\print.png" />
<Content Include="img\mypage\privacy_img.jpg" /> <Content Include="img\mypage\privacy_img.jpg" />
<Content Include="img\mypage\title_arrow.png" /> <Content Include="img\mypage\title_arrow.png" />
<Content Include="img\mypage\title_arrow_on.png" /> <Content Include="img\mypage\title_arrow_on.png" />

View File

@ -221,7 +221,7 @@ else
} }
function onGoogleLogIn(googleUser) { function onGoogleLogIn(googleUser) {
if (@Request["jointype"] == "1") { if ("@(Request["jointype"])" == "1") {
var profile = googleUser.getBasicProfile(); var profile = googleUser.getBasicProfile();
$("#username").val(profile.getName()); $("#username").val(profile.getName());
$("#email").val(profile.getEmail()); $("#email").val(profile.getEmail());
@ -235,7 +235,7 @@ else
} }
function snsLogin() { function snsLogin() {
if (@Request["jointype"] == "2") { if ("@(Request["jointype"])" == "2") {
var naverLogin = new naver.LoginWithNaverId( var naverLogin = new naver.LoginWithNaverId(
{ {
clientId: "@naverClientId", clientId: "@naverClientId",
@ -277,7 +277,7 @@ else
} }
}); });
} }
if (@Request["jointype"] == "3") { if ("@(Request["jointype"])" == "3") {
$.when( $.when(
Kakao.init("@kakaoClientId"), Kakao.init("@kakaoClientId"),
).done(function () { ).done(function () {

View File

@ -41,7 +41,7 @@
//{ //{
<video id="video1" controls preload="auto" oncontextmenu="return false" controlslist="nodownload" webkit-playsinline style="display:none"></video> <video id="video1" controls preload="auto" oncontextmenu="return false" controlslist="nodownload" webkit-playsinline style="display:none"></video>
//} //}
<iframe id="ifr1" class="staticframe" style="@(Model.ismobile == 1 ? "" : "width: 100%; height: 650px;")"></iframe> <iframe id="ifr1" class="staticframe" style="@(Model.ismobile == 1 ? "" : "width: 100%; height: 820px;")"></iframe>
} }
else if (Model.CMInning.ctype == 2) else if (Model.CMInning.ctype == 2)
{ {

View File

@ -7,8 +7,8 @@
@if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "") @if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "")
{ {
<ul class="schTab"> <ul class="schTab">
<li id="liTab1" class="current"><a href="#">법교육</a></li> <li id="liTab1" class="current" style="font-size:16pt;"><a href="#">건설기술진흥법교육</a></li>
<li id="liTab2"><a href="#">기타교육</a></li> <li id="liTab2" style="font-size:16pt;"><a href="#">기타교육</a></li>
</ul> </ul>
<ul class="schCont"> <ul class="schCont">
<li> <li>
@ -39,8 +39,8 @@
else if (Model.stringval == "1") else if (Model.stringval == "1")
{ {
<ul class="schTab"> <ul class="schTab">
<li id="liTab1"><a href="#">법교육</a></li> <li id="liTab1"><a href="#" style="font-size:16pt;">건설기술진흥법교육</a></li>
<li id="liTab2" class="current"><a href="#">기타교육</a></li> <li id="liTab2" class="current" style="font-size:16pt;"><a href="#">기타교육</a></li>
</ul> </ul>
<ul class="schCont"> <ul class="schCont">
<li> <li>

View File

@ -72,8 +72,8 @@
@if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "") @if (Model.stringval == "0" || Model.stringval == null || Model.stringval == "")
{ {
<ul class="mainTab"> <ul class="mainTab">
<li class="current" id="liTab1"><a href="#">법교육</a></li> <li class="current" id="liTab1"><a href="#" style="font-size:16pt;">건설기술진흥법교육</a></li>
<li id="liTab2"><a href="#">기타교육</a></li> <li id="liTab2"><a href="#" style="font-size:16pt;">기타교육</a></li>
</ul> </ul>
<ul class="mainSch"> <ul class="mainSch">
@ -162,8 +162,8 @@
else if (Model.stringval == "1") else if (Model.stringval == "1")
{ {
<ul class="mainTab"> <ul class="mainTab">
<li id="liTab1"><a href="#">법교육</a></li> <li id="liTab1"><a href="#" style="font-size:16pt;">건설기술진흥법교육</a></li>
<li class="current" id="liTab2"><a href="#">기타교육</a></li> <li class="current" id="liTab2"><a href="#" style="font-size:16pt;">기타교육</a></li>
</ul> </ul>
<ul class="mainSch"> <ul class="mainSch">
<li class="msCont"> <li class="msCont">

View File

@ -1,9 +1,17 @@
@model NP.Model.VMMy @model NP.Model.VMMy
<style> <style>
.lctQr {} .lctQr {
.lctQr > span {color: black;cursor: pointer;} }
.lctQr span.current {color: blue;}
.lctQr > span {
color: black;
cursor: pointer;
}
.lctQr span.current {
color: blue;
}
</style> </style>
<div class="mpgInfo"> <div class="mpgInfo">
<ul> <ul>
@ -55,7 +63,7 @@
<td class="ltaBtn" data-th="위탁계약서 : "> <td class="ltaBtn" data-th="위탁계약서 : ">
@if (item.pstatus == 1) @if (item.pstatus == 1)
{ {
<a href="#" onclick="javascript: educontract(@(item.lectno));">[인쇄]</a> <a href="#" onclick="javascript: educontract(@(item.lectno));"><img src="~/img/mypage/print.png"><br />인쇄</a>
} }
else else
{ {
@ -63,12 +71,12 @@
} }
</td> </td>
<td class="ltaBtn" data-th="입교통지서 : "> <td class="ltaBtn" data-th="입교통지서 : ">
<a href="#" onclick="javascript: eduannotation(@(item.lectno));">[인쇄]</a> <a href="#" onclick="javascript: eduannotation(@(item.lectno));"><img src="~/img/mypage/print.png"><br />[인쇄]</a>
</td> </td>
<td class="ltaBtn" data-th="수료증 : "> <td class="ltaBtn" data-th="수료증 : ">
@if (item.iscomplete == 1) @if (item.iscomplete == 1)
{ {
<a href="#" onclick="javascript: certification(@(item.lectno));">[인쇄]</a> <a href="#" onclick="javascript: certification(@(item.lectno));"><img src="~/img/mypage/print.png"><br />[인쇄]</a>
} }
else else
{ {
@ -76,21 +84,23 @@
} }
</td> </td>
<td class="ltaBtn" data-th="계산서/영수증 : "> <td class="ltaBtn" data-th="계산서/영수증 : ">
@if(item.pstatus == 1) @if (item.pstatus == 1)
{ {
if (item.ptype == 6) if (item.ptype == 6)
{ {
@Html.Raw("-") @Html.Raw("-")
}else if(item.ptype == 1 && item.ispg == 1) }
else if (item.ptype == 1 && item.ispg == 1)
{ {
<a href="#">[카드사 매출전표]</a> <a href="#">[카드사 매출전표]</a>
}else if(item.ptype == 3 && item.ispg == 1) }
else if (item.ptype == 3 && item.ispg == 1)
{ {
<a href="#">[서마터빌]</a> <a href="#">[서마터빌]</a>
} }
else else
{ {
if(item.taxno > 0) if (item.taxno > 0)
{ {
<a href="#">[@(item.taxdate == null ? "신청중" : "발행")]</a> <a href="#">[@(item.taxdate == null ? "신청중" : "발행")]</a>
} }
@ -130,5 +140,18 @@
msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요."); msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요.");
} }
} }
function viewtax(pgkey) {
showReceiptByTID('@(ViewBag.mid)', pgkey, @(ViewBag.mid)+pakey+@(ViewBag.mertkey));
}
</script> </script>
@if (ViewBag.isPayTest == "1")
{
//테스트일 경우
<script language="JavaScript" src="https://pgweb.tosspayments.com:7085/WEB_SERVER/js/receipt_link.js"></script>
}
else
{
//서비스일 경우
<script language="JavaScript" src="https://pgweb.tosspayments.com/WEB_SERVER/js/receipt_link.js"></script>
}
} }

View File

@ -55,11 +55,11 @@
<li> <li>
<select name="mphone1" id="mphone1"> <select name="mphone1" id="mphone1">
<option value=""></option> <option value=""></option>
<option value="010" @(string.IsNullOrEmpty(a.mphone) || !(a.mphone ?? "").Contains("-") ? "" : (a.mphone ?? "").Substring(0, 3) == "010" ? "selected" : "")>010</option> <option value="010" @(string.IsNullOrEmpty(a.mphone.Replace("-","")) ? "" : (a.mphone ?? "").Substring(0, 3) == "010" ? "selected" : "")>010</option>
<option value="011" @(string.IsNullOrEmpty(a.mphone) || !(a.mphone ?? "").Contains("-") ? "" : (a.mphone ?? "").Substring(0, 3) == "011" ? "selected" : "")>011</option> <option value="011" @(string.IsNullOrEmpty(a.mphone.Replace("-","")) ? "" : (a.mphone ?? "").Substring(0, 3) == "011" ? "selected" : "")>011</option>
<option value="016" @(string.IsNullOrEmpty(a.mphone) || !(a.mphone ?? "").Contains("-") ? "" : (a.mphone ?? "").Substring(0, 3) == "016" ? "selected" : "")>016</option> <option value="016" @(string.IsNullOrEmpty(a.mphone.Replace("-","")) ? "" : (a.mphone ?? "").Substring(0, 3) == "016" ? "selected" : "")>016</option>
<option value="017" @(string.IsNullOrEmpty(a.mphone) || !(a.mphone ?? "").Contains("-") ? "" : (a.mphone ?? "").Substring(0, 3) == "017" ? "selected" : "")>017</option> <option value="017" @(string.IsNullOrEmpty(a.mphone.Replace("-","")) ? "" : (a.mphone ?? "").Substring(0, 3) == "017" ? "selected" : "")>017</option>
<option value="019" @(string.IsNullOrEmpty(a.mphone) || !(a.mphone ?? "").Contains("-") ? "" : (a.mphone ?? "").Substring(0, 3) == "019" ? "selected" : "")>019</option> <option value="019" @(string.IsNullOrEmpty(a.mphone.Replace("-","")) ? "" : (a.mphone ?? "").Substring(0, 3) == "019" ? "selected" : "")>019</option>
</select> </select>
</li> </li>
<li>-</li> <li>-</li>

View File

@ -75,7 +75,7 @@
<td> <td>
@if (!string.IsNullOrEmpty(u.birthday)) @if (!string.IsNullOrEmpty(u.birthday))
{ {
<p>u.birthday.Replace("-", ".")</p> <p>@(u.birthday.Replace("-", "."))</p>
} }
</td> </td>
</tr> </tr>

View File

@ -4,7 +4,7 @@
} }
<style> <style>
.bskTitle { .bskTitle {
margin-top : 50px !important; margin-top: 50px !important;
} }
</style> </style>
<h4 class="bskTitle">주문상품 정보</h4> <h4 class="bskTitle">주문상품 정보</h4>
@ -37,24 +37,24 @@
{ {
<tr><th>입금계좌</th><td><span>@Model.Pay.vactbankname | @Model.Pay.vactnum | @Model.Pay.vactname</span></td></tr> <tr><th>입금계좌</th><td><span>@Model.Pay.vactbankname | @Model.Pay.vactnum | @Model.Pay.vactname</span></td></tr>
} }
<tr> <tr>
<th>주문접수일</th> <th>주문접수일</th>
@if (Model.Pay.paylimit != null && Model.PayItem.retime != null) @if (Model.Pay.paylimit != null && Model.PayItem.retime != null)
{
if (Convert.ToDateTime(Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm")) >= Convert.ToDateTime(Model.PayItem.retime.Value.ToString("yyyy-MM-dd HH:mm")))
{ {
if (Convert.ToDateTime(Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm")) >= Convert.ToDateTime(Model.PayItem.retime.Value.ToString("yyyy-MM-dd HH:mm"))) <td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm") @(Model.Pay.ptype == 3 ? string.Format("(만료일 : {0})", (Model.PayItem.retime.Value.ToString("yyyy-MM-dd HH:mm"))) : "")</td>
{
<td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm") @(Model.Pay.ptype == 3 ? string.Format("(만료일 : {0})", (Model.PayItem.retime.Value.ToString("yyyy-MM-dd HH:mm"))) : "")</td>
}
else
{
<td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm") @(Model.Pay.ptype == 3 ? string.Format("(만료일 : {0})", (Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm"))) : "")</td>
}
} }
else else
{ {
<td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm")</td> <td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm") @(Model.Pay.ptype == 3 ? string.Format("(만료일 : {0})", (Model.Pay.paylimit.Value.ToString("yyyy-MM-dd HH:mm"))) : "")</td>
} }
</tr> }
else
{
<td>@Model.Pay.cdt.ToString("yyyy-MM-dd HH:mm")</td>
}
</tr>
<tr> <tr>
<th>주문상태</th> <th>주문상태</th>
<td><b>@Model.Pay.pstatusname</b> @Html.Raw(Model.Pay.ispg == 1 && Model.Pay.rstatus == 0 && Model.Pay.pstatus == 1 && Model.Pay.ptype == 1 ? "<a href=\"#\" onclick=\"viewtax()\" class=\"odrRcpt\" style=\"color:white\">영수증 출력</a>" : "")</td> <td><b>@Model.Pay.pstatusname</b> @Html.Raw(Model.Pay.ispg == 1 && Model.Pay.rstatus == 0 && Model.Pay.pstatus == 1 && Model.Pay.ptype == 1 ? "<a href=\"#\" onclick=\"viewtax()\" class=\"odrRcpt\" style=\"color:white\">영수증 출력</a>" : "")</td>
@ -96,40 +96,40 @@
</table> </table>
} }
<ul class="bskBtn col1"> <ul class="bskBtn col1">
<li><a href="/My/Paies" class="bk">결제현황 이동</a></li> <li><a href="/My/Paies" class="bk">결제현황 이동</a></li>
@if (Model.Pay.ispg != 1 && Model.Pay.rstatus == 0 && Model.Pay.pstatus == 1 && Model.Pay.ptype != 1 && Model.Pay.ptype != 6) @if (Model.Pay.ispg != 1 && Model.Pay.rstatus == 0 && Model.Pay.pstatus == 1 && Model.Pay.ptype != 1 && Model.Pay.ptype != 6)
{
if (Convert.ToDateTime(Convert.ToDateTime(Model.Pay.payoktime).ToString("yyyy-MM-dd")) <= Convert.ToDateTime(DateTime.Now.AddMonths(1).ToString("yyyy-MM-10")))
{ {
if (Convert.ToDateTime(Convert.ToDateTime(Model.Pay.payoktime).ToString("yyyy-MM-dd")) <= Convert.ToDateTime(DateTime.Now.AddMonths(1).ToString("yyyy-MM-10"))) <li><a href="#" onclick="calltax()" class="bk">계산서요청</a></li>
{
<li><a href="#" onclick="calltax()" class="bk">계산서요청</a></li>
}
else
{
<li><a href="#" onclick="alert('계산서 요청 기한이 지나 신청이 불가능합니다.'); return;" class="bk">계산서요청</a></li>
}
} }
@if (Model.Pay.pstatus == 1 && Model.Pay.rstatus != 2 && Model.PayItems.Where(w => w.rstatus == 0).Count() > 0) else
{ {
if (Model.intval3 > 0 && Model.PayRfd != null && (Model.PayRfd.rstatus == 0 || Model.PayRfd.rstatus == 2)) <li><a href="#" onclick="alert('계산서 요청 기한이 지나 신청이 불가능합니다.'); return;" class="bk">계산서요청</a></li>
{ }
<li><a href="#" onclick="refund()" class="bk" style="display:none">환불요청</a></li> }
} @if (Model.Pay.pstatus == 1 && Model.Pay.rstatus != 2 && Model.PayItems.Where(w => w.rstatus == 0).Count() > 0)
else if (Model.intval3 > 0 && Model.PayRfd != null && Model.PayRfd.rstatus == 1) {
{ if (Model.intval3 > 0 && Model.PayRfd != null && (Model.PayRfd.rstatus == 0 || Model.PayRfd.rstatus == 2))
<li><a href="#" onclick="refund('reject')" class="bk">환불요청</a></li> {
} <li><a href="#" onclick="refund()" class="bk" style="display:none">환불요청</a></li>
else }
{ else if (Model.intval3 > 0 && Model.PayRfd != null && Model.PayRfd.rstatus == 1)
<li><a href="#" onclick="refund()" class="bk">환불요청</a></li> {
} <li><a href="#" onclick="refund('reject')" class="bk">환불요청</a></li>
}
else
{
<li><a href="#" onclick="refund()" class="bk">환불요청</a></li>
}
} }
@if (Model.Pay.rstatus < 2 && Model.Pay.pstatus == 22) @if (Model.Pay.rstatus < 2 && Model.Pay.pstatus == 22)
{ {
<li><a href="#" onclick="cancelpay()" class="bk">결제취소</a></li> <li><a href="#" onclick="cancelpay()" class="bk">결제취소</a></li>
} }
</ul> </ul>
<div class="mpgPop mpgPopFull" style="display:none;" id="pop1"> <div class="mpgPop mpgPopFull" style="display:none;" id="pop1">
<div> <div>
@ -423,7 +423,7 @@
<td> <td>
<input type="hidden" name="isownerR" id="isownerR" /> <input type="hidden" name="isownerR" id="isownerR" />
<ul class="bakRadio"> <ul class="bakRadio">
<li><input type="radio" name="isownersR" id="isowner1R" value="1" checked/><label for="isowner1">예</label></li> <li><input type="radio" name="isownersR" id="isowner1R" value="1" checked /><label for="isowner1">예</label></li>
<li><input type="radio" name="isownersR" id="isowner0R" value="0" /><label for="isowner0">아니오</label></li> <li><input type="radio" name="isownersR" id="isowner0R" value="0" /><label for="isowner0">아니오</label></li>
</ul> </ul>
</td> </td>
@ -481,7 +481,7 @@
@Html.Partial("./Partial/filescript") @Html.Partial("./Partial/filescript")
} }
@section scripts{ @section scripts{
<script> <script>
$(document).ready(function () { $(document).ready(function () {
}); });
@ -494,7 +494,8 @@
} }
} }
function viewtax() { function viewtax() {
window.open("https://iniweb.inicis.com/DefaultWebApp/mall/cr/cm/mCmReceipt_head.jsp?noTid=@(Model.Pay.pgkey)&noMethod=1", "pgreceipt", "width=500, height=600, scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0"); @*window.open("https://iniweb.inicis.com/DefaultWebApp/mall/cr/cm/mCmReceipt_head.jsp?noTid=@(Model.Pay.pgkey)&noMethod=1", "pgreceipt", "width=500, height=600, scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0");*@
showReceiptByTID('@(Model.Pay.mid)', '@(Model.Pay.pgkey)', '@(Model.Pay.authdata)');
} }
function calltax() { function calltax() {
if ('@(Model.Pay.rstatus < 2 && Model.Pay.pstatus == 1 || Model.Pay.pstatus == 22?1:0)' == '1') { if ('@(Model.Pay.rstatus < 2 && Model.Pay.pstatus == 1 || Model.Pay.pstatus == 22?1:0)' == '1') {
@ -679,5 +680,15 @@
gogo2(); gogo2();
}); });
} }
</script> </script>
@if (ViewBag.isPayTest == "1")
{
//테스트일 경우
<script language="JavaScript" src="https://pgweb.tosspayments.com:7085/WEB_SERVER/js/receipt_link.js"></script>
}
else
{
//서비스일 경우
<script language="JavaScript" src="https://pgweb.tosspayments.com/WEB_SERVER/js/receipt_link.js"></script>
}
} }

View File

@ -14,6 +14,7 @@
<li><a href="#" onclick="gomenu(@(mainlocation.pno), @(mainlocation.pagetype), '@(mainlocation.pageurl??"")', this);">찾아오시는 길</a></li>*@ <li><a href="#" onclick="gomenu(@(mainlocation.pno), @(mainlocation.pagetype), '@(mainlocation.pageurl??"")', this);">찾아오시는 길</a></li>*@
<li><a href="#" onclick="viewlayer(@(mainprivate.pno), this, '개인정보처리방침');" style="color:#2c5ac7;">개인정보처리방침</a></li> <li><a href="#" onclick="viewlayer(@(mainprivate.pno), this, '개인정보처리방침');" style="color:#2c5ac7;">개인정보처리방침</a></li>
<li><a href="#" onclick="viewlayer(@(mainagree.pno), this, '이용약관');">이용약관</a></li> <li><a href="#" onclick="viewlayer(@(mainagree.pno), this, '이용약관');">이용약관</a></li>
<li><a href="#" onclick="gomenu(@(mainintroduce.pno),@(mainintroduce.pagetype), '', this);">교육원소개</a></li>
</ul> </ul>
</div> </div>
<div class="ftAddr"> <div class="ftAddr">

View File

@ -48,6 +48,9 @@
var _ismain = 1; var _ismain = 1;
$("li.topsubmenu@(ViewBag.MenuPage.m1)").addClass("current"); $("li.topsubmenu@(ViewBag.MenuPage.m1)").addClass("current");
$("li.topmenu@(ViewBag.MenuPage.m0)").addClass("current"); $("li.topmenu@(ViewBag.MenuPage.m0)").addClass("current");
$(document).ready(function () {
$('a:contains("마이페이지")').css("color", "#0070C0");
});
</script> </script>
</body> </body>
</html> </html>

View File

@ -2371,8 +2371,10 @@ span.org {color: #ff5a00;}
.tchCont {margin-top: 30px;} .tchCont {margin-top: 30px;}
.tchCont h4 {height: 60px; line-height: 58px; text-align: center; border: solid 1px #d6d6d6; font-size: 16pt; font-weight: 500;} .tchCont h4 {height: 60px; line-height: 58px; text-align: center; border: solid 1px #d6d6d6; font-size: 16pt; font-weight: 500;}
.tchCont h4 span {font-weight: 300; font-size: 13pt;} .tchCont h4 span {font-weight: 300; font-size: 13pt;}
.tchCont > img {width: 27%; display: inline-block; margin:30px 1%; vertical-align:top;}
.tchCont > ul {width: 70%; display: inline-block;}
.tchCont > ul:after {content: ''; display: table; clear: both;} .tchCont > ul:after {content: ''; display: table; clear: both;}
.tchCont > ul > li {margin-top: 30px; float: left; width: 50%; position: relative; padding-left: 170px;} .tchCont > ul > li {margin-top: 30px; position: relative; padding-left: 170px;}
.tchCont > ul > li > h5 {width: 150px; height: 50px; line-height: 50px; text-align: center; background: #f9f9f9; font-size: 12pt; font-weight: 500; position: absolute; left: 0; top: 0;} .tchCont > ul > li > h5 {width: 150px; height: 50px; line-height: 50px; text-align: center; background: #f9f9f9; font-size: 12pt; font-weight: 500; position: absolute; left: 0; top: 0;}
.tchCont > ul > li > ul {min-height: 50px;} .tchCont > ul > li > ul {min-height: 50px;}
.tchCont > ul > li > ul > li {position: relative; padding-left: 8px; font-size: 11pt; color: #666; margin-bottom: 5px;} .tchCont > ul > li > ul > li {position: relative; padding-left: 8px; font-size: 11pt; color: #666; margin-bottom: 5px;}
@ -2539,7 +2541,8 @@ span.org {color: #ff5a00;}
.inRulCnt {display: block; height: auto;} .inRulCnt {display: block; height: auto;}
.inRulCnt > div {display: block; padding: 10px;} .inRulCnt > div {display: block; padding: 10px;}
.tchCont > img {margin-top: 15px; width:37%;}
.tchCont > ul {width: 60%;}
} }

View File

@ -1102,6 +1102,7 @@ namespace NP.Model
return (estart != null && estart > Convert.ToDateTime("1900-01-01")) ? estart.ToShortDateString() : ""; return (estart != null && estart > Convert.ToDateTime("1900-01-01")) ? estart.ToShortDateString() : "";
} }
} }
public String pgkey { get; set; }
} }
/// <summary> /// <summary>
/// 자격검정시험 /// 자격검정시험