This commit is contained in:
parent
1272c56e1d
commit
4da3724a67
|
|
@ -940,6 +940,7 @@
|
|||
<dynamic prepend="where">
|
||||
<isNotNull property="pplno" prepend="and">a.pplno=#pplno#</isNotNull>
|
||||
<isNotNull property="userno" prepend="and">a.userno=#userno#</isNotNull>
|
||||
<isNotNull property="istax" prepend="and">b.pstatus > 0</isNotNull>
|
||||
</dynamic>
|
||||
</select>
|
||||
<select id="pay.payresult" parameterClass="hashtable" resultClass="payitem">
|
||||
|
|
|
|||
|
|
@ -657,7 +657,7 @@ namespace NP.FO.Controllers
|
|||
if (vm.Pay.ptype == 3) {
|
||||
try
|
||||
{
|
||||
vm.PPLog = Dao.Get<PPLog>("pay.pplogs", new Hashtable() { { "pplno", vm.pplno }, { "userno", SUserInfo.UserNo } }).FirstOrDefault();
|
||||
vm.PPLog = Dao.Get<PPLog>("pay.pplogs", new Hashtable() { { "pplno", vm.pplno }, { "userno", SUserInfo.UserNo },{"istax",1 } }).FirstOrDefault();
|
||||
if (payno > 0 && vm.PPLog != null && vm.PPLog.pstatus == 22 && vm.PPLog.isbill == 1)
|
||||
{
|
||||
PayTax payTax = new PayTax();
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
}
|
||||
else if(capResult.code == -99){
|
||||
alert("이미 연동된 SNS 계정입니다. SNS 계정을 다시 확인해주세요.");
|
||||
return;
|
||||
goRefresh();
|
||||
}
|
||||
else {
|
||||
alert("SNS 연동에 실패하였습니다. \r\n관리자에게 문의하세요.");
|
||||
|
|
|
|||
|
|
@ -172,15 +172,15 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
if (item.payoktime < Convert.ToDateTime(DateTime.Now.AddMonths(1).ToString("yyyy-MM-11"))) /*입금확인후 익월 10일 이내까지 요청가능*/
|
||||
{
|
||||
@*<a href="#" onclick="calltax(@(item.payno),'@(string.Format("{0}:{1}:{2}:{3}:{4}:{5}:{6}", item.payamt.ToString("#,0") + "원", item.payoktime.ToString("yy-MM-dd"), item.ptypename2, item.ispg == 1 ? "PG" : "현장결제", item.itemname, item.pipayamt.ToString("#,0") + "원", item.pino))')">[요청]</a>*@
|
||||
<a href="#" onclick="viewtax('@(item.pgkey)', '@(Helpers.MD5Hash(ViewBag.mid + item.pgkey + ViewBag.mertkey))')">[인쇄]</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a href="#" onclick="viewtax('@(item.pgkey)', '@(Helpers.MD5Hash(ViewBag.mid + item.pgkey + ViewBag.mertkey))')">[인쇄]</a>
|
||||
}
|
||||
//if (item.payoktime < Convert.ToDateTime(DateTime.Now.AddMonths(1).ToString("yyyy-MM-11"))) /*입금확인후 익월 10일 이내까지 요청가능*/
|
||||
//{
|
||||
<a href="#" onclick="calltax(@(item.payno),'@(string.Format("{0}:{1}:{2}:{3}:{4}:{5}:{6}", item.payamt.ToString("#,0") + "원", item.payoktime.ToString("yy-MM-dd"), item.ptypename2, item.ispg == 1 ? "PG" : "현장결제", item.itemname, item.pipayamt.ToString("#,0") + "원", item.pino))')">[요청]</a>
|
||||
@*<a href="#" onclick="viewtax('@(item.pgkey)', '@(Helpers.MD5Hash(ViewBag.mid + item.pgkey + ViewBag.mertkey))')">[인쇄]</a>*@
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
@*<a href="#" onclick="viewtax('@(item.pgkey)', '@(Helpers.MD5Hash(ViewBag.mid + item.pgkey + ViewBag.mertkey))')">[인쇄]</a>*@
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue