() { };
if (vm.PayRfd.fgnor != null)
{
- fgnos += "," + vm.PayRfd.fgnor;
- }
- if (vm.PayRfd.fgnob != null)
- {
- fgnos += "," + vm.PayRfd.fgnob;
- }
- if (fgnos != "")
- {
- vm.FileList = GetFiles(fgnos.Substring(1));
+ var fgnos = "";
+ if (vm.PayRfd.fgnor != null)
+ {
+ fgnos += "," + vm.PayRfd.fgnor;
+ }
+ if (vm.PayRfd.fgnob != null)
+ {
+ fgnos += "," + vm.PayRfd.fgnob;
+ }
+ if (fgnos != "")
+ {
+ vm.FileList = GetFiles(fgnos.Substring(1));
+ }
}
}
}
diff --git a/FO/Views/My/PayInfo.cshtml b/FO/Views/My/PayInfo.cshtml
index ff66aef..7e3d390 100644
--- a/FO/Views/My/PayInfo.cshtml
+++ b/FO/Views/My/PayInfo.cshtml
@@ -1,12 +1,8 @@
@model NP.Model.VMPay
@{
-
+ bool isRfd = Model.intval3 > 0 ? true : false;
}
-
+
주문상품 정보
결제번호 : @(Model.Pay.payno < 1000000 ? Model.Pay.payno.ToString("000000") : Model.Pay.payno.ToString())
-@if (Model.intval3 > 0)
+@if (Model.intval3 > 0 && Model.PayRfd != null)
{
환불 정보
@@ -97,7 +93,7 @@
}
@if (Model.Pay.pstatus == 1 && Model.Pay.rstatus != 2 && Model.PayItems.Where(w => w.rstatus == 0).Count() > 0)
{
- if (Model.intval3 > 0 && (Model.PayRfd.rstatus == 0 || Model.PayRfd.rstatus == 1))
+ if (Model.intval3 > 0 && Model.PayRfd != null && (Model.PayRfd.rstatus == 0 || Model.PayRfd.rstatus == 2))
{
환불요청
}
@@ -127,7 +123,6 @@
| 신청강좌 |
- @**@
@Model.PayItem.itemname
|
@@ -234,55 +229,55 @@
- @if (Model.intval3 > 0 && Model.PayRfd.rstatus == 0)
+ @if (Model.intval3 > 0)
{
if (Model.PayRfd.fgnob == null || Model.PayRfd.fgnor == null)
{
@@ -301,10 +296,7 @@
}
- }
- else if (Model.intval3 > 0 && Model.PayRfd.rstatus == 0)
- {
- if (Model.PayRfd.fgnob != null || Model.PayRfd.fgnor != null)
+ else if (Model.PayRfd.fgnob != null && Model.PayRfd.fgnor != null)
{
첨부서류
@@ -323,14 +315,20 @@
| 검토상태 |
@Model.PayRfd.rstatusname |
-
- | 검토의견 |
- @Model.PayRfd.rback |
-
+ @if (Model.PayRfd.rstatus == 1)
+ {
+
+ | 검토의견 |
+
+
+ |
+
+ }
+
}
}
- @if (Model.intval3 > 0 && Model.PayRfd.rstatus == 0 && (Model.PayRfd.fgnob == null || Model.PayRfd.fgnor == null))
+ @if ((Model.intval3 > 0 && (Model.PayRfd.fgnob == null || Model.PayRfd.fgnor == null)) || Model.intval3 <= 0)
{
※ 위 신청서를 작성한 이후, 신청서를 날인/스캔하여 통장사본과 같이 업로드를 해주셔야 합니다.
@@ -453,30 +451,7 @@
$("#pop2").fadeIn("fast", function () {
$(".pop1box").scrollTop(0);
});
- if (@Model.intval3 > 0) {
- @*if (@Model.PayRfd != null) {
- $("#bankname").val("@Model.PayRfd.bankname").attr("readonly", true);
- $("#bankowner").val("@Model.PayRfd.bankowner").attr("readonly", true);
- $("#bankno").val("@Model.PayRfd.bankno").attr("readonly", true);
- if (@Model.PayRfd.isowner == 0) {
- $("input:radio[name=isowners]:radio[value=0]").prop('checked', true);
- }
- else {
- $("input:radio[name=isowners]:radio[value=1]").prop('checked', true);
- }
- if (@Model.PayRfd.rreason == 0) { $("input:radio[name=rreason]:radio[value=0]").prop('checked', true); }
- else if (@Model.PayRfd.rreason == 1) { $("input:radio[name=rreason]:radio[value=0]").prop('checked', true); }
- else if (@Model.PayRfd.rreason == 2) { $("input:radio[name=rreason]:radio[value=0]").prop('checked', true); }
- else if (@Model.PayRfd.rreason == 9) { $("input:radio[name=rreason]:radio[value=0]").prop('checked', true); }
-
- $("#ruser").val("@Model.PayRfd.ruser").attr("readonly", true);
- $("#rphone").val("@Model.PayRfd.rphone").attr("readonly", true);
- $("#rtext").val("@Model.PayRfd.rtext").attr("readonly", true).css("background-color", "#f5f5f5");
-
- $("input:radio[name=isowners]").attr('disabled', true);
- $("input:radio[name=rreason]").attr('disabled', true);
- }*@
- }
+
@*if ('@(Model.Pay.rstatus < 2 && Model.Pay.pstatus == 1?1:0)' == '1') {
capp("/fcommon/payrefundget", { payno: @Model.Pay.payno}, "cbpayrefundget");
} else {
diff --git a/FO/Views/Shared/_Layout.cshtml b/FO/Views/Shared/_Layout.cshtml
index e8d52f1..903aa79 100644
--- a/FO/Views/Shared/_Layout.cshtml
+++ b/FO/Views/Shared/_Layout.cshtml
@@ -43,7 +43,7 @@
...
-
+