diff --git a/FO/Views/Course/ApplyPay.cshtml b/FO/Views/Course/ApplyPay.cshtml
index 955c4c4..5b53ffb 100644
--- a/FO/Views/Course/ApplyPay.cshtml
+++ b/FO/Views/Course/ApplyPay.cshtml
@@ -177,7 +177,6 @@
});
function save() {
- if ($("#becmisno").val() == '') { return;}
var isCompanyInfo = true;
$.each(model.pplog, function (key, value) {
if (!value && key != "address2") {
@@ -206,12 +205,11 @@
/*20220803 수강인원체크*/
function CheckQtyScdResult() {
- if (capResult.code == 1000) {
+ if (capResult.code == 1000) {
cap("/fcommon/paystart", "mform", "cbsave");
}
else if (capResult.code == 0) {
- $("#historyForm").attr("action", "/Course/SmartSearch");
- $("#historyForm").submit();
+ msg(capResult.msg, null, null, null, '$("#historyForm").attr("action", "/Course/SmartSearch").submit()');
}
else {
msgadmin();
@@ -219,7 +217,6 @@
}
function cbsave() {
- return;
if (capResult.code == 1000) {
if (capResult.obj == 0) {
var resultmsg = capResult.msg;
@@ -233,6 +230,8 @@
else {
if (capResult.obj.ptype == 6 || capResult.obj.ptype == 7) {
location.href = "@Model.viewname4?payno=" + capResult.obj.payno + "&absptype=" + capResult.obj.ptype;
+ alert(location.href);
+ return;
}
else {
setv("LGD_OID", capResult.obj.oid2 + capResult.obj.payno);