diff --git a/BO/Controllers/cmController.cs b/BO/Controllers/cmController.cs index ca478e2..c41084f 100644 --- a/BO/Controllers/cmController.cs +++ b/BO/Controllers/cmController.cs @@ -63,11 +63,11 @@ namespace NP.BO.Controllers { vm.stringval12 = DateTime.Now.Year.ToString(); } - if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval10)) + if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval10)) { vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01"); } - if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval11)) + if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval11)) { vm.stringval11 = vm.stringval11 ?? DateTime.Now.AddMonths(1).ToString("yyyy-MM-01"); } diff --git a/BO/Views/cc/homer.cshtml b/BO/Views/cc/homer.cshtml index 4cef262..8cb1e85 100644 --- a/BO/Views/cc/homer.cshtml +++ b/BO/Views/cc/homer.cshtml @@ -58,7 +58,7 @@ else -