| @@ -17,7 +17,11 @@ import { lazy } from 'react'; | |||||
| const LoadingComponent = Loadable(lazy(() => import('../../extra-pages/LoadingComponent'))); | const LoadingComponent = Loadable(lazy(() => import('../../extra-pages/LoadingComponent'))); | ||||
| const PublicNoticeApplyForm = Loadable(lazy(() => import('./PublicNoticeApplyForm'))); | const PublicNoticeApplyForm = Loadable(lazy(() => import('./PublicNoticeApplyForm'))); | ||||
| import { | |||||
| // isORGLoggedIn, | |||||
| isDummyLoggedIn, | |||||
| // isCreditorLoggedIn | |||||
| } from "utils/Utils"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| const ApplyForm = () => { | const ApplyForm = () => { | ||||
| @@ -45,6 +49,9 @@ const ApplyForm = () => { | |||||
| response["faxNumber"] = response?.contactFaxNo?.faxNumber; | response["faxNumber"] = response?.contactFaxNo?.faxNumber; | ||||
| response["issueId"] = response?.gazetteIssueList[0].id; | response["issueId"] = response?.gazetteIssueList[0].id; | ||||
| response["remarks"] = ""; | response["remarks"] = ""; | ||||
| if (isDummyLoggedIn()){ | |||||
| response["contactPerson"] = ""; | |||||
| } | |||||
| var selection = []; | var selection = []; | ||||
| for (var i = 0; i < response?.gazetteIssueList?.length; i++) { | for (var i = 0; i < response?.gazetteIssueList?.length; i++) { | ||||