diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml
index 0ae5e5575..0e8a9dd27 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml
@@ -148,7 +148,7 @@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
index bb8a00876..a756ea398 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
@@ -219,7 +219,11 @@
},
date: function (value) {
var date = new Date(value);
- return date.toLocaleDateString();
+ if (date instanceof Date && !isNaN(date.getTime())) {
+ return date.toLocaleDateString();
+ } else {
+ return '';
+ }
},
nationalityNo: function (value) {
var result;
@@ -236,7 +240,7 @@
var result;
top.learun.clientdata.getAsync('dataItem', {
key: value,
- code: 'BCdPartyFace',
+ code: 'PolityStatus',
callback: function (_data) {
result = _data.text;
}
@@ -461,7 +465,11 @@
},
date: function (value) {
var date = new Date(value);
- return date.toLocaleDateString();
+ if (date instanceof Date && !isNaN(date.getTime())) {
+ return date.toLocaleDateString();
+ } else {
+ return '';
+ }
},
company: function (value) {
var result;
@@ -491,7 +499,7 @@
var result;
top.learun.clientdata.getAsync('dataItem', {
key: value,
- code: 'BCdPartyFace',
+ code: 'PolityStatus',
callback: function (_data) {
result = _data.text;
}