{"version":3,"sources":["redux/services/login.servcies.js","redux/constants/login.constants.js","redux/actions/user.actions.js","image/Prime-Logo-Coloured-Vertical.png","pages/CommonPage/MainScreen.component.jsx","properties/properties.js","pages/SignUpComponent/SignUp.Component.jsx","pages/LoginPageComponent/LoginPage.Component.jsx","pages/ForgetPasswordComponent/ForgetPassword.Component.jsx","timeoutComponent/TimeoutWarningModal.js","util/eventListenerUtil.js","timeoutComponent/TimeoutLogic.js","pages/LandingPagecomponent/LandingPage.Component.jsx","pages/CommonPage/ToggleSwitch.component.jsx","pages/CompanyDetailsComponent/unitTrust.Component.jsx","pages/CompanyDetailsComponent/ShareCapitalComponent.jsx","pages/CommonPage/FullPageLoader.jsx","pages/CommonPage/Popup.component.jsx","pages/CommonPage/Form484Information.component.jsx","pages/CompanySnapshotComponent/DocumentHistoryComponent.jsx","pages/PrintCompanyProfileComponents/PrintCompanyProfile.Component.jsx","pages/ShareHolderDetailsComponent/ShareHolderDetails.component.jsx","pages/OfficerDetailsComponents/OfficerDetails.Component.jsx","pages/CompanySnapshotComponent/CompanySnapshotComponent.component.jsx","pages/EmailIdComponent/EmailId.Component.jsx","pages/Did.Component/Did.Component.jsx","pages/CompanyDetailsComponent/CompanyDetails.component.jsx","pages/CorporateRegistersComponents/AllotmentJournalComponent.jsx","pages/CorporateRegistersComponents/CompanyListReportComponent.jsx","pages/CorporateRegistersComponents/CorporateRegisterMembers.Component.jsx","pages/CorporateRegistersComponents/DirectorsAndSecretariesComponent.jsx","pages/CorporateRegistersComponents/DirectorsShareholdingsComponent.jsx","pages/CorporateRegistersComponents/PublicOfficerComponent.jsx","pages/CorporateRegistersComponents/ResponsibleManagerComponent.jsx","pages/CorporateRegistersComponents/TransferJournalComponent.jsx","pages/CorporateRegistersComponents/CorporateRegistersComponents.jsx","pages/ASICCompanyDetailComponent/ASICCompanyDetail.jsx","pages/ASICComponents/ASICComponent.jsx","pages/CommonPage/usePagination.component.jsx","pages/CommonPage/Pagination.component.jsx","pages/ASICFormPortalComponents/ASICFormPortal.Components.jsx","pages/ASICFormsAndDocumentComponent/DocumentTrackingComponent.jsx","pages/Div7ALoanAgreementComponent/Div7aLoanAgreement.jsx","pages/ASICFormsComponents/ASICFormsComponents.jsx","pages/EmailHistoryComponent/EmailHistory.component.jsx","pages/CommonPage/CommonSearch.component.jsx","pages/ChangesAndOrderRequest/AdditionalInformation.component.jsx","pages/ChangesAndOrderRequest/AddOrRemoveAsicAgentList.component.jsx","pages/ChangesAndOrderRequest/CompanyNameChangeComponent/CompanyNameChange.Component.jsx","pages/ChangesAndOrderRequest/OfficeholderAppointmentcomponent/OfficeHolderAppointment.component.jsx","pages/ChangesAndOrderRequest/OfficeHolderChangeofAddressComponent/OfficeHoldersChangeofAddress.component.jsx","pages/ChangesAndOrderRequest/OfficeHoldersResignationComponent/OfficeHoldersResignation.component.jsx","pages/ChangesAndOrderRequest/OfficerShareholdersNameChangeComponent/OfficerShareholdersNameChange.Component.jsx","pages/ChangesAndOrderRequest/PrincipalBusinessAddressComponent/principalBusinessAddress.component.jsx","pages/ChangesAndOrderRequest/RegisteredOfficeAddressComponent/RegisteredOfficeAddress.component.jsx","pages/ChangesAndOrderRequest/ReturnCapitalInfoComponent/ReturnCapitalInfo.component.jsx","pages/ChangesAndOrderRequest/ShareCancellationComponent/ShareCancellation.component.jsx","pages/ChangesAndOrderRequest/ShareIssueComponent/ShareIssue.component.jsx","pages/ChangesAndOrderRequest/ShareTransferComponent/ShareTransfer.component.jsx","pages/ChangesAndOrderRequest/ASICdetailsUpdate.component.jsx","pages/ClassListComponent/ClassList.component.jsx","pages/ChangesAndOrderRequest/DividendStatementOrder.component.jsx","pages/ChangesAndOrderRequest/OrderSummary.jsx","pages/ChangesAndOrderRequest/ChangeOrderStatusComponent/ChangeOrderStatus.component.jsx","pages/ChangesAndOrderRequest/RemoveAsicAgentList.component.jsx","pages/ChangesAndOrderRequest/EorderOrderRequest.Component.jsx","pages/EOrderComponents/EOrderComponents.jsx","pages/CompanyMenuComponent/CompanyMenuDetails.Component.jsx","pages/MobileNumberComponent/MobileNumber.Component.jsx","pages/Notes.Components/NotesComponent.jsx","pages/MonitorsComponents/AnnualReviewTable.Component.jsx","pages/MonitorsComponents/AnnualStatement.Component.jsx","pages/MonitorsComponents/AnnualReviewsFilter.Component.jsx","pages/MonitorsComponents/MonitorLanding.Component.jsx","pages/OrderMonitorComponents/OrderMonitor.Component.jsx","pages/OrderMonitorComponents/OrderMonitorLanding.Component.jsx","pages/DigitalSignatureComponent/DigitalSignatureComponent.jsx","pages/DigitalSignatureComponent/DigitalSignatureLandingComponent.jsx","pages/ViewCompanyDebtReport/ViewCompanyDebtReport.jsx","pages/ASICDeptComponents/ASICDept.Component.jsx","pages/ASICDeptComponents/ASICDeptLanding.Component.jsx","pages/CompaniesComponents/Companies.component.jsx","pages/CompaniesComponents/CompaniesLanding.component.jsx","pages/Individual&EntitiesComponents/IndividualEntitiesOfficesPopup.component.jsx","pages/Individual&EntitiesComponents/IndividualEntitiesSharesPopup.component.jsx","pages/Individual&EntitiesComponents/IndividualEntities.component.jsx","pages/Individual&EntitiesComponents/IndividualEntitiesLanding.component.jsx","pages/JointHoldersComponents/JointHolder.component.jsx","pages/JointHoldersComponents/JointHolderLanding.component.jsx","pages/BeneficialOwnerComponent/BeneficialOwner.component.jsx","pages/BeneficialOwnerComponent/BeneficialOwnerLanding.component.jsx","pages/FormsandDocumentsComponent/formsAndDocumentComponent.jsx","pages/FormsandDocumentsComponent/formsAndDocumentsLanding.Component.jsx","pages/ResetPasswordComponent/ResetPassword.Component.jsx","pages/ResetPasswordInstructionComponent/ResetPasswordInstruction.Component.jsx","pages/PasswordChangeSuccessComponent/PasswordChangeSuccess.Component.jsx","pages/ChangesAndOrderRequest/EorderOrderRequestLanding.Component.jsx","pages/SignUpSuccessComponent/SignUpSuccessComponent.jsx","pages/UnitTrustRegisterComponent/UnitTrustRegisterComponent.jsx","pages/UnitTrustRegisterComponent/UnitTrustRegisterLanding.jsx","pages/DIDListComponent/DIDListComponent.jsx","pages/DIDListComponent/DIDListComponentLanding.jsx","pages/CommonPage/MultiStep.jsx","pages/EBinderAdditionalDocComponent/EBinderDeleteCustomfileComponent.jsx","pages/EBinderAdditionalDocComponent/EBinderAdditionalDocComponent.jsx","pages/EbinderMangementComponent/EbinderMangement.component.jsx","pages/EBinderCompanyComponent/EBinderCompanyComponent.jsx","pages/EBinderCompleteComponent/EbinderCompleteComponent.jsx","pages/EBinderGetStartedComponent/EBinderGetStartedComponent.jsx","pages/EBinderPrimeCloudDocsComponent/EBinderPrimeCloudDocsComponent.jsx","pages/EBinderRegistersComponent/EBinderRegistersComponent.jsx","pages/EBinderReviewComponent/EBinderReviewComponent.jsx","pages/EBinderComponent/EbinderLandingPage.component.jsx","pages/EbinderMainLandingComponent/EbinderMainLandingComponent.jsx","pages/BusinessNameComponent/BusinessDetailSummary.jsx","pages/BusinessNameComponent/BusinessNameComponent.jsx","pages/BusinessNameComponent/BusinessNamelanding.component.jsx","pages/ChangePasswordComponent/ChangePasswordComponent.jsx","pages/ProfileSettingComponent/ProfileSettingComponent.jsx","pages/ProfileSettingComponent/ProfileSettingLanding.jsx","App.js","reportWebVitals.js","redux/constants/alert.constants.js","redux/reducers/companyProfile.reducer.js","redux/reducers/unitTrust.reducer.js","redux/reducers/departments.reducer.js","redux/reducers/annualStatement.reducer.js","redux/reducers/AsicDebtStatement.reducer.js","redux/reducers/officerDetails.reducer.js","redux/reducers/shareHolderDetails.reducer.js","redux/reducers/documentHistoryByDocNo.reducer.js","redux/reducers/documentHistoryByAsicDocNo.reducer.js","redux/reducers/AsicDocumentTracking.reducer.js","redux/reducers/individualEntities.reducer.js","redux/reducers/jointHolders.reducer.js","redux/reducers/beneficialOwner.reducer.js","redux/reducers/orderMonitorStatement.reducer.js","redux/reducers/digitalSignatureStatement.reducer.js","redux/reducers/electronicLodgementService.reducer.js","redux/reducers/individualEletronicLodgementService.reducer.js","redux/reducers/companiesDetailList.reducer.js","redux/reducers/viewCurrentAnnualStatement.reducer.js","redux/reducers/asicInvoiceReport.reducer.js","redux/reducers/asicInvoiceReportLinks.reducer.js","redux/reducers/forgetPassword.reducer.js","redux/reducers/resetPassword.reducer.js","redux/reducers/annualStatementMonthStatus.reducer.js","redux/reducers/directorIdReport.reducer.js","redux/reducers/div7ALoanReport.reducer.js","redux/reducers/form484Information.reducer.js","redux/reducers/regdInformation.reducer.js","redux/reducers/individualEntitiesShares.reducer.js","redux/reducers/individualEntitiesOffices.reducer.js","redux/reducers/didUpdate.reducer.js","redux/reducers/countries.reducer.js","redux/reducers/signUp.reducer.js","redux/reducers/unitTrustTable.reducer.js","redux/reducers/loggedUserInfo.reducer.js","redux/reducers/classListInfo.reducer.js","redux/reducers/changeOrderRequest.reducer.js","redux/reducers/recentCompanyList.reducer.js","redux/reducers/postRecentCompanyLIst.reducer.js","redux/reducers/ebinderPrimeFileList.reducer.js","redux/reducers/manageEbinderList.reducer.js","redux/reducers/eBinderLink.reducer.js","redux/reducers/ebinderCustomFileList.reducer.js","redux/reducers/ebinderCompanyList.reducer.js","redux/reducers/ebinderOrderRequest.reducer.js","redux/reducers/changePassword.reducer.js","redux/reducers/businessNameDetailList.reducer.js","redux/reducers/businessNameWelcomeReport.reducer.js","redux/reducers/businessCertificateReport.reducer.js","redux/reducers/businessNameSummary.reducer.js","redux/reducers/businessNameReport.reducer.js","redux/reducers/businessNotes.reducer.js","redux/reducers/businessNotesUpdate.reducer.js","redux/reducers/directorIdCount.reducer.js","redux/reducers/individualEntitiesWithPagination.reducer.js","redux/reducers/index.js","redux/reducers/users.reducer.js","redux/reducers/companyList.reducer.js","redux/reducers/alert.reducer.js","redux/reducers/companyProfileReport.reducer.js","redux/reducers/membersReport.reducer.js","redux/store/store.js","index.js"],"names":["userService","login","logout","localStorage","removeItem","getAllCompany","getCompanyProfileByCode","getAllDepartement","getUnitTrustByCode","getAnnualStatement","getAnnualStatementMonthStatus","getAsicDebtStatement","getCompanyProfileReport","getMembersReport","getMembersReportDateRange","getDirectorsSecretariesReport","getAllotementJournalReport","getTransferJournalReport","getResponsibleManagerReport","getPublicOfficerReport","getDirectorsShareholdingsReport","getOfficerDetailsReport","getShareHolderDetailsReport","getDocumentHistoryDocReport","getDocumentHistoryAsicReport","getAsicDocumentTracking","getIndividualsEntities","getAllIndividualsEntities","getAllIndividualsEntitiesWithPagination","getAllJointHolders","getJointHolders","getAllBeneficialOwner","getBeneficialOwner","getCompanyReport","getQuickCompanyProfileReport","getAsicCompanyDetailReport","isUnitTrustEmpty","unitTrustRecord","getOrderMonitorStatement","getDigitalSignatureStatement","getAsicDebtReport","getElectronicLodegementService","getCompaniesDebtReport","getIndividualElectronicLodegementService","getCompaniesDetailList","getFormsHistoryReport","getDirectorIdReport","getUnitTrustUnitholdersReport","getUnitTrustApplicationAllotmentJournalReport","getUnitTrustTransferJournalReport","getUnitTrustUnitholdersSummaryReport","getAsicInvoiceReport","getAsicInvoiceReportLinks","getViewCurrentAnnualStatementReport","postCompanyPhoneNumber","postCompanyEmailID","postIndividualPhoneNumber","postIndividualEmailID","postForgetpasswordEmail","postResetPassword","getDiv7ALoanReport","getForm484Information","getRegdInformation","getIndividualEntitiesProfileReport","getIndividualEntitiesOffices","postIndividualEntitiesDid","getIndividualEntitiesShares","postCompanyNotes","getAllCountries","postSignup","getUnitTrustTable","getLoggedUserInfo","postChangeOrderRequest","getClassList","getCompanyListReport","postRecentCompanyList","getRecentCompanyList","getEbinderPrimeFiles","getManageEbinderList","getEbinderLink","getEbinderCustomFileList","postEbinderCustomFileDelete","postEbinderCustomFileAdd","getEbinderCompanyList","postCreateEbinder","postChangePassword","getBusinessNameDetailList","getBusinessWelcomeReport","getBusinessCertificateReport","getBusinessNameSummary","getBusinessNameReport","postBusinessNotes","getBusinessNotes","getDirectorIdCount","getEdgeCompanyProfileReport","API_URL","process","userName","password","a","encrypt","params","JSON","stringify","axios","post","headers","Authorization","base64_encode","then","response","setItem","token","data","catch","error","Promise","reject","console","log","get","parse","getItem","code","encodeURIComponent","companyCode","mode","length","currentYear","selectedMonth","CompanyList","file","Blob","type","URL","createObjectURL","members","memberReportParams","moment","printDate","format","benificialName","holdingSummary","zeroBalance","address","foreignCurrency","totalShares","responseType","fileURL","window","open","fromDate","toDate","officers","directorsSecretariesReportParams","dsPrintDate","officer","allotmentJournal","allotmentJournalReportParams","ajPrintDate","transferJournal","transferJournalReportParams","tjPrintDate","responsibleManager","responsibleManagerReportParams","rmPrintDate","rofficer","publicOfficers","PublicOfficerReportParams","poPrintDate","publicOfficer","directorshareholdings","DirectorsShareholdingsReportParams","dsprintDate","officerCode","holderType","RN","formNo","docNo","errorDocumentHistory","asicDocNo","errorAsicDocumentHistory","search","sortBy","sortOrder","countPerPage","pageNo","individualEntitiesParams","printCompany","asAtDate","asDate","companyReportParams","docLodge","officeHolders","apiURL","asicCompanyDetail","asicCompanyReportParams","nameField","ACN","details","companiesDebtReportParams","creditBalance","sortReport","Code","didList","typedoc","didListReportParams","didType","companyName","errorAsicInvoiceReport","errorAsicInvoiceReportLink","errorViewCurrentAnnualStatement","unitTrustRN","module","mobileNumber","emailId","detail","detailParam","errorForgetPasswordEmail","passWord","confirmPassword","rCode","UserID","Password","ConfirmPassword","errorResetPassword","reportParam","param","associateAddress","replace","state","stateLocation","loanBalance","associateName","rN","errorRegdInformation","did","emptyDid","errorDidUpdate","notes","identifier","map","value","name","errorCountries","firstName","lastName","phone","email","organisationName","FirstName","LastName","Email","OrganisationName","errorSignup","departement","unitTrustTableError","loggedUserInfoError","changeOrder","contentType","changeOrderError","classlistError","companyList","companyListReportParams","dept","clientId","deptCode","USER_ID","CLIENT_ID","DEPT_CODE","CO_ACN","errorPostRecentCompanyList","binderId","fileName","filename","formdata","selectedPrimeFileList","companyRegister","customFileList","registers","primeForms","customFiles","userId","oldPassword","errorChangePassword","userConstants","userActions","from","history","dispatch","user","success","push","failure","toString","company","profiles","errorCompanyProfile","departements","unitTrust","annualStatement","annualStatementMonthStatus","asicDebtStatement","companyProfileReport","setIsMemberLoaded","membersReport","setIsDirectorAndSecretariesLoaded","directorsSecretariesReport","setIsAllotmentJournalLoaded","allotementJournalReport","setIsTransferLoaded","transferJournalReport","setIsResponsibleManagerLoaded","responsibleManagerReport","setIsPublicOfficerLoaded","publicOfficersReport","setIsDirectorsLoaded","directorsShareholdingsReport","officerDetails","shareHolderDetails","formType","setIsDocLoaded","documentHistoryDocDetails","documentHistoryAsicDocDetails","asicDocumentTracking","individualEntities","individualEntitiesWithPagination","jointHolders","beneficialOwner","setIsCompanyLoaded","companyReport","setIsQuickCompanyLoaded","quickCompanyProfileReport","setIsASICCompanyLoaded","asicCompanyDetailReport","orderMonitorStatement","digitalSignatureStatement","setIsASICDeptLoaded","asicDebtReport","electronicLodgementService","setIsViewCompanyReportLoaded","companiesDebtReport","individualElectronicLodgementService","companiesDetailList","setIsViewFormHistoryLoaded","formsHistoryReport","setIsLoaded","directorIdReport","unitTrustUnitholdersReport","unitTrustApplicationAllotmentJournalReport","unitTrustTransferJournalReport","unitTrustUnitholdersSummaryReport","setIsASICInvoiceLoaded","asicInvoiceReport","asicInvoiceReportLinks","setIsViewCurrentAnnualStatementLoaded","viewCurrentAnnualStatementReport","CompanyPhoneNumberUpdate","CompanyEmailIdUpdate","individualPhoneNumberUpdate","individualEmailIdUpdate","forgetPasswordEmail","resetPassword","setIsDiv7AReportLoaded","div7ALoanReport","errorDiv7ALoanReport","setIsForm484Loaded","form484Information","errorForm484Information","regdInformation","setIsProfileReportLoaded","individualEntitiesProfileReport","individualEntitiesOffices","didUpdate","individualEntitiesShares","notesUpdate","countries","signUp","department","unitTrustTable","loggedUserInfo","setIsChangeOrder","setIsSuccess","changeOrderRequest","classListInfo","setIsCompanyList","companyListReport","postRecentCompanyLIst","errorPostRecentCompanyLIst","recentCompanyList","getRecentCompanyListError","ebinderPrimeFileList","manageEbinderList","setIsEbinderLinkLoaded","eBinderLink","ebinderCustomFileList","ebinderCustomFileDelete","setErrors","setIsUploading","ebinderCustomFileAdd","ebinderCompanyList","primeFileDocuments","setIsCreateEBinderLoaded","ebinderOrderRequest","changePassword","businessNameDetailList","businessNameWelcomeReport","businessCertificateReport","rn","businessNameSummary","businessNameReport","businessNotesUpdate","businessNotes","directorIdCount","setIsEdgeReportLoaded","edgeCompanyProfileReport","MainScreen","props","users","useSelector","useHistory","class","className","style","fontSize","color","lineHeight","fontWeight","fontStyle","target","rel","href","src","logo","alt","width","height","location","pathname","marginBottom","role","content","letterspacing","cursor","SignUp","useDispatch","useState","phonenumber","terms","popup","signUpUsers","setSignUpUsers","charac","useEffect","submitted","setSubmitted","handleName","e","test","key","preventDefault","handleChange","checked","handleSubmit","onSubmit","htmlFor","autoComplete","onKeyPress","onChange","placeholder","size","maxLength","id","defaultChecked","onClick","Login","domainpath","hostname","loginUser","setLoginUser","useLocation","passwordType","setPasswordType","togglePassword","ForgetPassword","resetSetSubmitted","items","resetHandleClick","customStyles","top","left","right","bottom","marginRight","transform","maxWidth","padding","TimeoutWarningModal","isOpen","onRequestClose","contentLabel","ariaHideApp","eventTypes","TimeoutLogic","isWarningModalOpen","setWarningModalOpen","createTimeout1","setTimeout","listener","clearTimeout","timeout","forEach","addEventListener","addEventListeners","removeEventListener","removeEventListeners","withRouter","document","body","clientWidth","isMobile","ClientLogo","ClientID","cardShow","setCardShow","splitDid","indexOf","split","ClientName","charAt","toUpperCase","isCompany","ExcludeDeparmentalActions","isFileCollapse","isCompaniesPage","isEbinderPage","isIndividualEntitiesPage","isUnitTrustRegisterPage","isJointHolderPage","isBusinessPage","isDidListPage","isMonitorCollapse","isMonitorPage","isAsicDeptPage","isOrderMonitorPage","isDigitalSignaturePage","isFormsAndDocumentPage","background","TOTAL_COUNT","WITH_DID","WITHOUT_DID","commonSearch","ToggleSwitch","yesLabel","noLabel","toggleWidth","UnitTrust","selectedToggle","setSelectedToggle","setCompanyCode","searchInput","setSearchInput","selectedSearchValue","selectedOption","setSelectedOption","trust","colspan","TRUST_NAME","UNITS","filter","filteredValue","NAME","toLowerCase","includes","TRAN_TYPE","units","BEN_NAME","CLASS_CODE","SUM_TOT_SHARES","SUM_TRAN_PRICE","displayType","thousandSeparator","prefix","decimalSeparator","decimalScale","fixedDecimalScale","TRANS_DATE","FULLY_PAID","BEN_OWNER","SCRIP_NO","ShareCapitalComponent","companyProfile","sharecaps","index","Intl","NumberFormat","ISSUED","PAID_UP","toLocaleString","DUE_AND_PAYABLE","FullPageLoader","Popup","Modal","show","onHide","handleClose","centered","backdropClassName","isLargeSize","heading","Header","Title","Button","Body","Footer","variant","btnName","handleClick","isPopupReportLoading","Form484InformationComponent","information","str","startsWith","DocumentHistoryComponent","setPopupDocShow","setPopupAsicDocShow","setPopup484DocShow","isDocLoaded","popupDocShow","handleDocPopupClose","handleDocPopupShow","handleDocPopupClick","popupAsicDocShow","handleAsicDocPopupClose","handleAsicDocPopupShow","handleAsicDocPopupClick","isForm484Loaded","popup484DocShow","handle484DocPopupClose","handle484DocPopupShow","handle484DocPopupClick","Array","Set","documents","obj","FORM_TYPE","selected","ASIC_DOC_NO","FORM_DATE","ELS_TRANSMIT","docHandleClick","DOC_NO","handleShow","asicDocHandleClick","form484HandleClick","PrintCompanyProfileComponent","handleDateChange","label","dateFormat","placeholderText","ShareHolderDetailsComponent","CO_CODE","CO_NAME","setSearchCompany","Name","recentSearch","setPopupShareHolderShow","TOT_SHARES","OfficerDetailsComponent","officerName","setPopupShow","POSITION_HELD","APPOINTED","CompanySnapshotComponent","popupShareHolderShow","popupShow","popupSecretariesShow","setPopupSecretariesShow","selectedOfficerName","setSelectedOfficerName","selectedShareholdersName","setSelectedShareholdersName","searchCompany","selectedCompanyCode","selectedCompanyName","officerDetailHandleClose","secretariesDetailHandleClose","shareHolderDetailHandleClose","officerDetailHandleShow","secretariesDetailHandleShow","shareHolderDetailHandleShow","OfficerName","officerDetailHandleClick","shareHolderDetailHandleClick","printCompanyDispatch","setPrintCompanySubmitted","isQuickCompanyLoaded","Date","printShareHoldersDispatch","setPrintShareHoldersSubmitted","isMemberLoaded","printDirectorAndSecretariesDispatch","setPrintDirectorAndSecretariesSubmitted","isDirectorAndSecretariesLoaded","printCompanyHandleClick","tabindex","title","xmlns","fill","viewBox","d","DATE_INC","RO_CARE_OF","RO_BUILDING","RO_STREET","RO_SUBURB","RO_STATE","RO_PCODE","PB_CARE_OF","PB_BUILDING","PB_STREET","PB_SUBURB","PB_STATE","PB_PCODE","POSTAL1","POSTAL2","POSTAL3","POST_STATE","POST_PCODE","printDirectorAndSecretariesHandleClick","CEASED","CODE","OFFICER_NAME","dialogWidth","printShareHoldersHandleClick","shareholders","HOLDERTYPE","STATUS","GROUP_DOC","STATUS_DETAIL","EmailId","emailAddress","usersEmail","setUsersEmail","emailIdSubmitted","handlePersonDetailsChange","DidComponent","didNumber","setUsers","allowEmptyFormatting","mask","Details","setShow","selectedOfficerToggle","setSelectedOfficerToggle","selectedCompanyViewToggle","setSelectedCompanyViewToggle","setCompanyProfileSubmitted","isCompanyLoaded","setPrintCompany","selectedoOfficerName","setSelectedoOfficerName","officerEmailAddress","OfficerDidNumber","officerPersonal","setOfficerPersonal","popupEmailShow","setPopupEmailShow","handlePopupEmailClose","handlePopupEmailShow","handleEmailPopupClick","handleOfficerPersonalDetailsChange","popupOfficersDidErrorShow","setPopupOfficersDidErrorShow","setRn","popupOfficersDidShow","setPopupOfficersDidShow","handleOfficersDidPopupClose","handleOfficersDidPopupShow","handleDidPopupClick","handleErrorOfficersDidPopupClose","shareholderEmailAddress","shareholderPersonal","setShareholderPersonal","popupShareholderEmailShow","setPopupShareholderEmailShow","handlePopupShareholderEmailClose","handlePopupShareholderEmailShow","handleShareholderPersonalDetailsChange","handleCompanyViewChange","newCompany","dispatchAPIs","Result","Desc","REVIEW_DATE","DEBT_DATE","DEBT_AMOUNT","AGENT_ID","html","EMAIL_ADDRESS","join","ASC_CLASS_DESC","ASC_CO_TYP_DESC","ASC_S_CLAS_DESC","ACTIVITY","ACTIVITY2","CLIENT_ACCOUNT_CODE","CLIENT_BILLING_CODE","handleOfficerChange","DEF_SIGN","Entity_RN","EMAIL","DID","handleErrorOfficersDidPopupShow","colSpan","handleShareholderEmailPopupClick","setRecentSearch","AllotmentJournal","isAllotmentJournalLoaded","setAllotementJournal","inputSearchValue","validate","isDate","CompanyListReport","setCompanyList","isCompanyList","required","CorporateRegisterMembers","memberReportIsDateRange","setMemberReportIsDateRange","today","setMonth","getMonth","getLastMonthDate","setMembers","member","newDate","DirectorsAndSecretaries","setOfficers","Print","DirectorShareholdingsComponent","isDirectorsLoaded","setDirectorshareholdings","PublicOfficerComponent","isPublicOfficerLoaded","setpublicOfficers","ResponsibleManagerComponent","isResponsibleManagerLoaded","setResponsileManager","TransferJournalComponent","isTransferLoaded","setTransferJournal","CorporateRegisterComponent","ASICCompanyDetail","asicSubmitted","setAsicSubmitted","isASICCompanyLoaded","setAsicCompanyDetail","ASICComponent","isASICDeptLoaded","isEdgeReportLoaded","selectedAcn","File_Path","listStyle","File_Name","handleClickEdgeReport","DOTS","range","start","end","_","idx","Pagination","onPageChange","totalCount","siblingCount","currentPage","pageSize","paginationRange","useMemo","totalPageCount","Math","ceil","leftSiblingIndex","max","rightSiblingIndex","min","shouldShowLeftDots","shouldShowRightDots","firstPageIndex","lastPageIndex","leftRange","rightRange","middleRange","usePagination","lastPage","classnames","disabled","pageNumber","ASICFormPortalComponent","setCurrentPage","postsPerPage","setPostsPerPage","individualElectronicLodgementServiceTotalStatement","indexOfLastPost","indexOfFirstPost","currentPosts","slice","handleClickRefreshASICFormPortal","DOC_CODE","AGENT_CODE","DUE_DAYS","trim","page","DocumentTrackingComponent","DOCUMENTS","expandedRows","setExpandedRows","expandState","setExpandState","handleRow","currentExpandedRows","isRowExpanded","newExpandedRows","concat","handle484DocTrackPopupClose","isForm484DocTrackLoaded","setIsForm484DocTrackLoaded","popup484DocTrackShow","setPopup484DocTrackShow","handle484DocTrackPopupShow","handle484DocTrackPopupClick","FORM_TYPE_DESC","LODGE_DATE","EMAILED","ORDER_ID","form484DocTrackHandleClick","Div7aLoanAgreement","setReportParam","isDiv7AReportLoaded","ASICFormComponent","isViewFormHistoryLoaded","isViewCurrentAnnualStatementLoaded","popupAnnualStatementDocShow","setPopupAnnualStatementDocShow","handleAnnualStatementDocPopupClose","handleAnnualStatementDocPopupShow","viewCurrentAnnualStatementHandleClick","selectedCode","viewFormsHistoryHandleClick","EmailHistoryComponent","CommonSearch","handleSearch","useCallback","call","searchToken","companyACN","recentSearchedCompanies","oldRepeatedCompanySearch","recentSearchHistory","repeatedCompanySearch","prototype","apply","labelKey","options","isLoading","onSearch","acn","useCache","splitValue","handleClickCompany","thing","self","findIndex","t","AdditionalInformationComponent","q","setAsicDetails","signerName","handle","asicDetails","option","onInputChange","rows","additionalMoreInfo","getUploadParams","meta","FormData","append","url","inputContent","inputWithFilesContent","LayoutComponent","previews","submitButton","input","files","dropzoneProps","ref","onChangeStatus","status","allFiles","xhr","fileList","dataFileList","handleControlledDropzonChangeStatus","styles","dropzone","border","overflow","AddOrRemoveAsicAgentListComponent","isCardHeader","for","CompanyNameChange","cnChangeDate","companyNameChangeTo","OfficeHolderAppointementComponent","setOfficerShareHoldersData","officerNames","shareHolderNames","handleClickClearDate","list","appointmentInputlist","setAppointmentInputlist","CLASS_NO","duplicatedOfficer","officerShareHoldersData","appointIndex","autoFocus","apiKey","selectProps","isClearable","predefinedPlacesAlwaysVisible","appointElements","officerAddress","val","handleAppointmentInputChange","position1ChangeDate","position2ChangeDate","position3ChangeDate","alternateDirectorFor","dOB","placeOfBirth","common","OfficeHoldersChangeofAddressComponent","changeofAddressElements","ocaChangeDate","osChangeofAddressInputlist","changeofAddressIndex","setOSChangeofAddressInputlist","officeHolderName","handleChangeofAddressInputChange","changeFor","officeholdersChangeFullAddress","OfficeHoldersResignation","resignInputlist","resignIndex","setResignInputlist","resignElements","resignationDate","item","resignOfficerName","resignReason","handleResignInputChange","ceasedDirector","ceasedsecretary","ceasedAltDirector","ceasedPublicOfficer","OfficerShareholdersNameChange","osNameChangeInputlist","nameChangeIndex","setOSNameChangeInputlist","nameChangeElements","ohChangeDate","handleNameChangeChange","fromName","changeForNameChange","toName","PrincipalBusinessAddressComponent","baChangeDate","businessFullAddress","businessAddress","RegisteredOfficeAddressComponent","premisses","setPremisses","companyOccupiesPremises","raChangeDate","registeredFullAddress","registeredAddress","handleClickPremisses","occupierCompanyName","ReturnCapitalInfoComponent","returnCapitalInfo","ShareCancellation","shareCancelElements","shareCancelDate","shareCancellationInputList","shareCancelIndex","setShareCancellationInputList","shareCancellationValue","SClassCode","SPaidPershare","AMOUNT_PAID","STotalPaid","shareCancelShareHolderName","handleInputChangeShareCancellation","shareCancellationFullyPaid","shareCancellationBeneficiallyOwned","shareCancellationBenName","shareCancellationClassCode","Value","provision","desc","shareCancellationTotalShares","allowNegative","shareCancellationPaidBy","shareCancellationPaidPerShare","shareCancellationTotalPaid","shareCancellationUnpaidPerShare","shareCancellationTotalUnpaid","ShareIssue","handleReset","elements","shareIssueFullyPaid","shareIssueUnpaidPerShare","shareIssueTotalUnpaid","shareIssueBenName","shareIssueBeneficiallyOwned","handleNames","inputList","setInputList","order","onFocus","shareissueShareholderName","handleInputChange","shareholdersFullAddress","shareIssueClasscode","shareIssueAllotmentDate","shareIssueTotalShares","shareIssuePaidPerShare","shareIssueTotalPaid","ShareTransfer","splittedSelected","shareTransferInputList","shareTransferIndex","fullyPaid","beneficiallyOwned","setShareTransferInputList","shareTransferElements","transferFrom","handleInputChangeShareTransfer","transferFromFullyPaid","transferFromBeneficiallyOwned","transferTo","transfertoFullyPaid","transfertoBeneficiallyOwned","transfertoBenName","shareTransferAddress","shareTransferclassCode","shareTransferTransferDate","shareTrasferTotalShares","shareTransferPaidPerShare","shareTransferTotalPaid","shareTransferUnpaidPerShare","shareTransferTotalUnpaid","ASICDetailsUpdateComponent","handleChangeofAddressAddClick","handleChangeofAddressRemoveClick","handleNameChangeAddClick","handleNameChangeRemoveClick","handleAppointmentAddClick","handlAppointmentRemoveClick","handleResignAddClick","handlResignRemoveClick","handleAddClick","handleRemoveClick","shareIssue","handleAddShareCancellationClick","handleRemoveShareCancellationClick","shareCancellation","handleAddShareTransferClick","handleRemoveShareTransferClick","shareTransfer","ClassListComponent","classListTotal","sort","b","CLASS_DESC","handleClickRefresh","handleClickClassList","DividendStatementOrderComponent","frantAmt","unfrankAmt","total","frankPercentage","unfrankPercentage","dividendClassCode","classCodeDetails","classCodeNo","classCode","classDesc","classNo","classList","booksCloseDate","financialYearEndDate","interimDividend","finalDividend","shortMeetingNotice","shareholdersResolutions","inputFrankedDollar","dividendPerShare","totalDividend","frankedAmountPercentage","unFrankedAmountPercentage","handleCalculate","frankedAmount","parseFloat","unFrankedAmount","handleFrankedAmountCalculate","handleUnFrankedAmountCalculate","OrderSummary","companyAcn","requestChangeAddress","ROAddress","changeOfAddress","value1","requestChangeNames","companyNameChange","officerNameChange","changeOfficeholder","OfficeholderAppointment","appointedOfficerName","position1","position2","position3","stateofBrith","countryOfBirth","OfficeholderResignations","changeToShareholdings","returnCapital","toFixed","companyTaxRate","additionalInfo","isOrderAlter","OrderId","setIsOrderSubmitted","RemoveAsicAgentListComponent","isChangeOrder","isSuccess","isOrderSubmitted","setIsOrderAlter","handlePopupClose","handlePopupShow","changedCompanyName","changedACN","changedLocation","provisionDesc","loginName","FullName","loginEmail","EmailID","additionalCC","orderSelection","setChangeOrder","handleComponentChange","handleChangeOrder","splice","EOrderComponent","dispatchToServices","path","component","CorporateRegister","MobileNumber","NotesComponent","departementNotes","AnnualReviewTableComponent","popupMobileShow","setPopupMobileShow","handleMobilePopupClose","handleMobilePopupShow","popupNotesShow","setPopupNotesShow","handleNotesPopupClose","handleNotesPopupShow","pathName","person","setPerson","StatusText","Department","ReviewDate","Linked","DebtOwing","EmailAddress","Phone","handleMobilePopupClick","Notes","DepartmentNotes","handleNotesPopupClick","AnnualStatementComponent","year","parseInt","currentMonth","AnnualReviewsFilter","month","setCurrentMonth","setCurrentYear","selectedSubMonth","initDateValue","endOf","annualReviewDate","setAnnualReviewDate","filterOrders","setFilterOrders","selectedFilterType","setSelectedFilterType","totalStatement","startOf","buttonHandleClick","successTotal","warningTotal","dangerTotal","defaultTotal","isCalendar","setIsCalendar","handleCalenderTrigger","searchHandleChange","handleFilterChange","minDate","maxDate","currentYr","OrderMonitor","orderMonitorTotalStatement","completedTotalStatuses","preparedTotalStatuses","requestedTotalStatuses","tooltipType","handleClickRefreshOrderMonitor","handleRequestTypeChange","handleStatusChange","COMPANY_NAME","OPTIONS","UPDATED_ON","CREATED_ON","CREATED_BY","ASSIGNED_TO","ASSIGNED_ON","LOCATION","DigitalSignature","digitalSignatureTotalStatement","handleClickRefreshDigitalSignature","FORM_TITLE","DOCUSIGN_SEND_DATE","ESIGNTYPE","ENVELOPEID","ViewCompanyReport","viewReporthHandleChange","ASICDept","setDetailsSubmitted","setDetails","isViewCompanyReportLoaded","asicTotalStatement","handleClickRefreshASICDebt","DEBT_NOW_DUE","FUTURE_DEBT_DUE","AMOUNT_OWING","DEBT_30","DEBT_31_60","DEBT_61_90","DEBT_90","CompaniesComponent","companiesDetailListTotal","handleAnnualStatementDocPopupClick","Agent","HasForm362","Status","coName","SMS","IndividualEntitiesOfficesPopup","Officesvalues","IndividualEntitiesSharesPopup","Sharevalues","IndividualEntitiesComponent","popupDidErrorShow","setPopupDidErrorShow","popupOfficeShow","setPopupOfficeShow","handleOfficePopupClose","handleOfficePopupShow","popupSharesShow","setPopupSharesShow","handleSharesPopupClose","handleSharesPopupShow","popupDidShow","setPopupDidShow","handleDidPopupClose","handleDidPopupShow","searchInputIndividuals","setsearchInputIndividuals","individualEntitiesTotal","SURNAME","isProfileReportLoaded","handleErrorDidPopupClose","handleClickRefreshIndividualEntities","INDIV_TYPE","handleErrorDidPopupShow","JointHolderComponent","searchInputJointHolders","setsearchInputJointHolders","jointHoldersTotal","handleClickRefreshJointHolders","GROUP_DESC","BenificialOwnerComponent","searchInputBeneficialOwner","setsearchInputBeneficialOwner","beneficialOwnerTotal","handleClickRefreshBeneficialOwner","TFN","isBenificalOwnerPage","FormsAndDocumentComponent","statusSort","setSortStatus","electronicLodgementServiceTotalStatement","localeCompare","DUE_DAYS_ONLY","handleClickRefreshELS","handleClickStatusSort","ResetPassword","popupResetErrorShow","setPopupResetErrorShow","handleResetErrorPopupClose","uId","handleResetErrorPopupShow","ResetPasswordInstruction","PasswordChangeSuccess","isEOrderOrderRequestCollapse","isEOrderOrderRequestPage","SignUpSuccess","UnitTrustRegisterComponent","searchInputUnitTrustTable","setSearchInputUnitTrustTable","unitTrustTableTotal","handleClickUnitTrustTable","DIDListComponent","setDidList","isLoaded","isExcelLoaded","setIsExcelLoaded","handleClickDidList","setup","React","createElement","Ol","styled","Li","Todo","css","Doing","Done","getTopNavStyles","indx","i","getButtonsState","showPreviousBtn","showNextBtn","MultiStep","defaultIndex","newIndex","activeComponentClassName","inactiveComponentClassName","showNav","showNavigation","activeStep","steps","count","setCount","stylesState","setStyles","compState","setComp","buttonsState","setButtons","setStepState","ebinderResponse","next","setEbinderResponse","setShowEBinderMangement","previous","handleOnClick","evt","currentTarget","s","hidden","borderBottom","step","prevStyle","display","nextStyle","loading","EBinderDeleteCustomfileComponent","EBinderAdditionalDoc","isFinishedUploading","isUploading","isError","errors","onDrop","acceptedFiles","useDropzone","getRootProps","getInputProps","isDragActive","fileUploadErrors","Object","keys","popupCustomfileDeleteShow","setPopupCustomfileDeleteShow","handleCustomfileDeleteClose","handleCustomfileDeleteShow","setCustomFileList","prevState","assign","additionDocCheckBox","handleClickSelectedItems","handleDeletePopupClick","backgroundColor","textAlign","EBinderManagement","isEbinderLinkLoaded","manageEbinderListFile","Id","CreatedAt","ebinderCompanyListTotal","setSelectedCompanyCode","setDisplaySelectedCompany","displaySelectedCompany","Address","showEBinderMangement","EBinderComplete","isEbinderLoaded","setIsEbinderLoaded","creationDate","toLocaleTimeString","toLocaleDateString","numPrimeDocs","totalSelected","reduce","acc","cur","numCustomDocs","register","showManageEBinderPopup","setShowManageEBinderPopup","EBinderCompanyComponent","setPrimeFileDocuments","EBinderPrimeCloudDocs","primeDocCheckBox","primeSubDocCheckBox","scope","description","ID","handleClickSubSelectedItems","handleClickDeselectMainItem","LodgedAt","ASIC_ID","EBinderRegisters","handleClickSelectedRegister","setCompanyRegister","directors","allotment","transfer","EBinderReview","doc","EbinderLanding","isCreateEBinderLoaded","Type","Description","Documents","performance","navigation","v","f","TrackingNumber","BusinessDetailSummary","OwnerName","BusinessName","EntityType","EntityCode","Trust","ABN","AsicHolderType","RegistrationDate","CancellationDate","RenewalDate","RenewalYears","SnCareOf","SnEmailAddress","SnBuilding","SnStreet","SnSuburb","SnState","SnPostcode","BaCareOf","BaBuilding","BaStreet","BaSuburb","BaState","BaPostcode","BaEmailAddress","ClientAccountCode","ClientBillingCode","ClientCode","DepartmentCode","KeyContactName","KeyContactEmail","AsicKeyContactName","AsicKeyContactEmail","Partner","Manager","DebtorCareOf","DebtorEmailAddress","DebtorNumber","SuccessorCareOf","SuccessorEmailAddress","SuccessorNumber","BusinessNameComponent","filterStatus","startRenewalDate","setStartRenewalDate","endRenewalDate","setEndRenewalDate","setStatus","businessSort","setBusinessSort","ownerSort","setOwnerStatus","renewalDateSort","setRenewalDateSort","regDateSort","setRegDateSort","cancelDateSort","setCancelDateSort","statusSortByOwner","setSortStatusByOwner","businessNameSummaryShow","setBusinessNameSummaryShow","handleBusinessNameSummaryClose","handleBusinessNameSummaryShow","handleSummaryClick","handleRequestReviewDateChange","isStartDate","isEndDate","pad2","n","DateToString","date","day","getDate","getFullYear","businessNameDetailListTotal","handleSort","setBusinessNotes","handleBusinessNotesChange","popupBusinessNotesShow","setPopupBusinessNotesShow","handleBusinessPopupClose","handleBusinessPopupShow","defaultValue","handleRequestStatusChange","NOTES","handleBusinessNotesPopupClick","BID","ChangePasswordComponent","alertStatus","changePwd","ProfileSettingComponent","setAlertStatus","showChangePassword","setShowChangePassword","handleChangePasswordShow","setChangePwd","isChangePasswordLoaded","UserName","readOnly","isProfileSettingPage","setSearchToken","searchUserName","setSearchUserName","IDPrimeUser","IDClientProfile","onbeforeunload","LandingPage","EbinderMainLandingComponent","IndividualEntitiesLandingComponent","JointHolderLandingComponent","BeneficialOwnerLandingComponent","ASICDeptLandingComponent","OrderMonitorLanding","DigitalSignatureLanding","formsAndDocumentsLandingComponent","EOrderOrderRequestLanding","UnitTrustRegisterLanding","DIDListComponentLanding","ChangeOrderStatus","ProfileSettingLanding","exact","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","alertConstants","action","departments","classListError","persistConfig","storage","rootReducer","combineReducers","alert","message","persistReducer","undefined","loggerMiddleware","createLogger","store","createStore","applyMiddleware","thunkMiddleware","persistor","persistStore","ReactDOM","render","StrictMode","getElementById"],"mappings":"4gBAKaA,EAAc,CACzBC,M,8CACAC,OAqHF,WAEEC,aAAaC,WAAW,SACxBD,aAAaC,WAAW,oBACxBD,aAAaC,WAAW,uBACxBD,aAAaC,WAAW,eACxBD,aAAaC,WAAW,eACxBD,aAAaC,WAAW,wBA3HxBC,c,4CACAC,wB,4CACAC,kB,2CACAC,mB,8CACAC,mB,8CACAC,8B,4CACAC,qB,2CACAC,wB,2CACAC,iB,8CACAC,0B,8CACAC,8B,8CACAC,2B,8CACAC,yB,8CACAC,4B,8CACAC,uB,8CACAC,gC,8CACAC,wB,4CACAC,4B,8CACAC,4B,gDACAC,6B,4CACAC,wB,4CACAC,yBACAC,0B,2CACAC,wC,oDACAC,mB,2CACAC,kBACAC,sB,2CACAC,qBACAC,iB,8CACAC,6B,4CACAC,2B,+CACAC,iBAirBF,WACE,OAAOC,GAjrBPC,yB,4CACAC,6B,4CACAC,kB,6CACAC,+B,4CACAC,uB,6CACAC,yC,6CACAC,uB,4CACAC,sB,6CACAC,oB,+CACAC,8B,+CACAC,8C,+CACAC,kC,+CACAC,qC,+CACAC,qB,+CACAC,0B,6CACAC,oC,+CACAC,uB,+CACAC,mB,+CACAC,0B,+CACAC,sB,iDACAC,wB,6CACAC,kB,mDACAC,mB,+CACAC,sB,+CACAC,mB,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EAAO9jD,OAEtB,QACI,OAAOmH,ILiEjBwF,kBACAC,sBACAG,6BACAC,iCACDC,wBACAC,sBACAE,gBACAC,mBACAO,yBACAC,6BACAG,8BACAG,wCACAC,uBACAa,oCACAH,qBACAC,0BACAO,uBACAC,iBACAf,oBACAiB,mBACAG,sBACAE,mBACAK,4BACAF,6BACAC,aACAG,aACAC,UACAE,kBACAC,kBACAI,iBACAD,sBACAM,qBACAF,yBACAI,wBACAC,qBACAE,eACAC,yBACAK,sBACAG,uBACAC,kBACAC,0BACAC,6BACAC,6BACAE,uBACAC,sBACAC,uBACAC,iBACAC,mBACAvF,sCAcco3C,gBAAeN,IAXT,SAAC98C,EAAO28C,GAM1B,OAJIA,EAAO5iD,OAASwJ,KAClBvD,OAAQq9C,GAGHL,GAAYh9C,EAAO28C,MMrIvBW,GAAmBC,0BAEZC,GAAQC,aACjBT,GACAU,aACIC,KACAL,KAIKM,GAAYC,aAAaL,I,UCAtCM,IAASC,OAET,eAAC,KAAD,UACI,eAAC,IAAMC,WAAP,UACA,eAAC,IAAD,CAAUR,MAAOA,GAAjB,SACA,eAAC,KAAD,CAAaI,UAAWA,GAAxB,SACQ,eAAC,GAAD,YAKN7rC,SAASksC,eAAe,SAG9B/B,M","file":"static/js/main.0a6ebaea.chunk.js","sourcesContent":["import axios from \"axios\";\r\nimport { encode as base64_encode } from \"base-64\";\r\nimport moment from \"moment\";\r\n\r\n\r\nexport const userService = {\r\n login,\r\n logout,\r\n getAllCompany,\r\n getCompanyProfileByCode,\r\n getAllDepartement,\r\n getUnitTrustByCode,\r\n getAnnualStatement,\r\n getAnnualStatementMonthStatus,\r\n getAsicDebtStatement,\r\n getCompanyProfileReport,\r\n getMembersReport,\r\n getMembersReportDateRange,\r\n getDirectorsSecretariesReport,\r\n getAllotementJournalReport,\r\n getTransferJournalReport,\r\n getResponsibleManagerReport,\r\n getPublicOfficerReport,\r\n getDirectorsShareholdingsReport,\r\n getOfficerDetailsReport,\r\n getShareHolderDetailsReport,\r\n getDocumentHistoryDocReport,\r\n getDocumentHistoryAsicReport,\r\n getAsicDocumentTracking,\r\n getIndividualsEntities,\r\n getAllIndividualsEntities,\r\n getAllIndividualsEntitiesWithPagination,\r\n getAllJointHolders,\r\n getJointHolders,\r\n getAllBeneficialOwner,\r\n getBeneficialOwner,\r\n getCompanyReport,\r\n getQuickCompanyProfileReport,\r\n getAsicCompanyDetailReport,\r\n isUnitTrustEmpty,\r\n getOrderMonitorStatement,\r\n getDigitalSignatureStatement,\r\n getAsicDebtReport,\r\n getElectronicLodegementService,\r\n getCompaniesDebtReport,\r\n getIndividualElectronicLodegementService,\r\n getCompaniesDetailList,\r\n getFormsHistoryReport,\r\n getDirectorIdReport,\r\n getUnitTrustUnitholdersReport,\r\n getUnitTrustApplicationAllotmentJournalReport,\r\n getUnitTrustTransferJournalReport,\r\n getUnitTrustUnitholdersSummaryReport,\r\n getAsicInvoiceReport,\r\n getAsicInvoiceReportLinks,\r\n getViewCurrentAnnualStatementReport,\r\n postCompanyPhoneNumber,\r\n postCompanyEmailID,\r\n postIndividualPhoneNumber,\r\n postIndividualEmailID,\r\n postForgetpasswordEmail,\r\n postResetPassword,\r\n getDiv7ALoanReport,\r\n getForm484Information,\r\n getRegdInformation,\r\n getIndividualEntitiesProfileReport,\r\n getIndividualEntitiesOffices,\r\n postIndividualEntitiesDid,\r\n getIndividualEntitiesShares,\r\n postCompanyNotes,\r\n getAllCountries,\r\n postSignup,\r\n getUnitTrustTable,\r\n getLoggedUserInfo,\r\n postChangeOrderRequest,\r\n getClassList,\r\n getCompanyListReport,\r\n postRecentCompanyList,\r\n getRecentCompanyList,\r\n getEbinderPrimeFiles,\r\n getManageEbinderList,\r\n getEbinderLink,\r\n getEbinderCustomFileList,\r\n postEbinderCustomFileDelete,\r\n postEbinderCustomFileAdd,\r\n getEbinderCompanyList,\r\n postCreateEbinder,\r\n postChangePassword,\r\n getBusinessNameDetailList,\r\n getBusinessWelcomeReport,\r\n getBusinessCertificateReport,\r\n getBusinessNameSummary,\r\n getBusinessNameReport,\r\n postBusinessNotes,\r\n getBusinessNotes,\r\n getDirectorIdCount,\r\n getEdgeCompanyProfileReport,\r\n};\r\n\r\nconst API_URL = process.env.REACT_APP_PRIME_API_URL;\r\nexport let unitTrustRecord = 0;\r\n/*async function login(clientId, userName, password) {\r\n let encrypt = `${clientId}:${userName}:${password}`;\r\n const params = JSON.stringify({ clientId, userName });\r\n */\r\nasync function login(userName, password) {\r\n let encrypt = `${userName}:${password}`;\r\n const params = JSON.stringify({ userName });\r\n\r\n return await axios\r\n .post(`${API_URL}/api/Authenticate`, params, {\r\n headers: { Authorization: \"Basic \" + base64_encode(encrypt) },\r\n })\r\n .then((response) => {\r\n localStorage.setItem(\"token\", JSON.stringify(response.headers.token));\r\n localStorage.setItem(\"userName\", userName);\r\n localStorage.setItem(\"password\", password);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nfunction logout() {\r\n // remove user from local storage to log user out\r\n localStorage.removeItem(\"token\");\r\n localStorage.removeItem(\"inputSearchValue\");\r\n localStorage.removeItem(\"selectedSearchValue\");\r\n localStorage.removeItem(\"companyName\");\r\n localStorage.removeItem(\"companyCode\");\r\n localStorage.removeItem(\"recentCompanySearch\");\r\n}\r\n\r\nasync function getAllCompany(token) {\r\n console.log(\"token:::::::::::::::::::::::\", token);\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetCompanies?department=@all`, {\r\n headers: {\r\n token: token ? token : JSON.parse(localStorage.getItem(\"token\")),\r\n },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n localStorage.removeItem(\"inputSearchValue\");\r\n localStorage.removeItem(\"selectedSearchValue\");\r\n localStorage.removeItem(\"companyName\");\r\n localStorage.removeItem(\"companyCode\");\r\n localStorage.removeItem(\"recentCompanySearch\");\r\n });\r\n}\r\nasync function getCompanyProfileByCode(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetCompanyDetail/${encodeURIComponent(code)}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n localStorage.removeItem(\"inputSearchValue\");\r\n localStorage.removeItem(\"selectedSearchValue\");\r\n localStorage.removeItem(\"companyName\");\r\n localStorage.removeItem(\"companyCode\");\r\n localStorage.removeItem(\"recentCompanySearch\");\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllDepartement() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/APIUser/GetDepartmentList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data !== \"No Department Found!\" ? response.data : \"\";\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getUnitTrustByCode(companyCode, mode) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetUnitTrust/${encodeURIComponent(companyCode)}/${mode}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n unitTrustRecord =\r\n response.data !== \"No Unit Trust Found.\" ? response.data.length : \"\";\r\n return response.data !== \"No Unit Trust Found.\" ? response.data : \"\";\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getAnnualStatement(currentYear, selectedMonth) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/AnnualStatement/GetAnnualStatementMonthList_New/${currentYear}/${selectedMonth}`,\r\n //existing API accepts boolean value of current, previous year\r\n // `${API_URL}/apiv2/AnnualStatement/GetAnnualStatementMonthList/${currentYear}/${selectedMonth}`,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data.CompanyList;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAnnualStatementMonthStatus(currentYear) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/AnnualStatement/GetMonthlyStatus_New/${currentYear}`, {\r\n \r\n //existing API bellow accepts boolean value of current, previous year\r\n //`${API_URL}/apiv2/AnnualStatement/GetMonthlyStatus/${currentYear}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAsicDebtStatement() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/CompanyDebt/GetCompanyDebtList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getCompanyProfileReport() {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/QuickRegistryCompanyProfile/1APRIMEPROPRI01`,\r\n {\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n //window.open(response.data)\r\n return fileURL;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getMembersReport(members, companyCode) {\r\n const memberReportParams = `As At Date=${moment(members.printDate).format(\r\n \"DD-MM-YY\"\r\n )},Show Beneficial Owner Name=${\r\n members.benificialName\r\n },Show Holding Summmary OnlyQQQ=${\r\n members.holdingSummary\r\n },Show Zero BalancesQQQ=${members.zeroBalance},Show Address FieldsQQQ=${\r\n members.address\r\n },Show Foreign Currency (if any)QQQ=${\r\n members.foreignCurrency\r\n },Show Total Shares=${members.totalShares}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/corpregMembers/${companyCode}/${memberReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getMembersReportDateRange(members, companyCode) {\r\n //https://testserver.primecloud.com.au/apiv2/PrimeReports/ShowReport/corpregMembersDateRange/181CAPITALPTY01/From Date=01-05-2023,As At Date=30-05-2023,Show Beneficial Owner Name=Yes,Show Holding Summmary OnlyQQQ=No,Show Zero BalancesQQQ=Yes,Show Address FieldsQQQ=Yes,Show Foreign Currency (if any)QQQ=No,Show Total Shares=No\r\n\r\n const memberReportParams = `From Date=${moment(members.fromDate).format(\"DD-MM-YY\")}\r\n ,As At Date=${moment(members.toDate).format(\"DD-MM-YY\")}\r\n ,Show Beneficial Owner Name=${\r\n members.benificialName\r\n },Show Holding Summmary OnlyQQQ=${\r\n members.holdingSummary\r\n },Show Zero BalancesQQQ=${members.zeroBalance},Show Address FieldsQQQ=${\r\n members.address\r\n },Show Foreign Currency (if any)QQQ=${\r\n members.foreignCurrency\r\n },Show Total Shares=${members.totalShares}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/corpregMembersDateRange/${companyCode}/${memberReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n\r\n}\r\n\r\nasync function getDirectorsSecretariesReport(officers, companyCode) {\r\n const directorsSecretariesReportParams = `As At Date=${moment(\r\n officers.dsPrintDate\r\n ).format(\"DD-MM-YYYY\")},Current Officers=${officers.officer}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/directorsNsecretarie/${companyCode}/${directorsSecretariesReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllotementJournalReport(allotmentJournal, companyCode) {\r\n const allotmentJournalReportParams = `As At Date=${moment(\r\n allotmentJournal.ajPrintDate\r\n ).format(\"DD-MM-YYYY\")}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/allotmentJournal/${companyCode}/${allotmentJournalReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getTransferJournalReport(transferJournal, companyCode) {\r\n const transferJournalReportParams = `As At Date=${moment(\r\n transferJournal.tjPrintDate\r\n ).format(\"DD-MM-YYYY\")}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/transferJournal/${companyCode}/${transferJournalReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getResponsibleManagerReport(responsibleManager, companyCode) {\r\n const responsibleManagerReportParams = `As At Date=${moment(\r\n responsibleManager.rmPrintDate\r\n ).format(\"DD-MM-YYYY\")},Current Officers=${responsibleManager.rofficer}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/responsibleManager/${companyCode}/${responsibleManagerReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getPublicOfficerReport(publicOfficers, companyCode) {\r\n const PublicOfficerReportParams = `As At Date=${moment(\r\n publicOfficers.poPrintDate\r\n ).format(\"DD-MM-YYYY\")},Current Officers=${publicOfficers.publicOfficer}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/publicOfficer/${companyCode}/${PublicOfficerReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getDirectorsShareholdingsReport(\r\n directorshareholdings,\r\n companyCode\r\n) {\r\n const DirectorsShareholdingsReportParams = `As At Date=${moment(\r\n directorshareholdings.dsprintDate\r\n ).format(\"DD-MM-YYYY\")}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/directorShareholding/${companyCode}/${DirectorsShareholdingsReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getOfficerDetailsReport(officerCode) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/RegCompany/GetShapShotOfficersDetail/${officerCode}`,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getShareHolderDetailsReport(code, holderType) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/RegCompany/GetShapShotShareholdersDetail/${code}/${holderType}`,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getDocumentHistoryDocReport(RN, formNo, docNo) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/GetDocumentPackage//${RN}/${formNo}/${docNo}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((errorDocumentHistory) => {\r\n return Promise.reject(errorDocumentHistory);\r\n });\r\n}\r\nasync function getDocumentHistoryAsicReport(asicDocNo) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/PrimeReports/ShowReport/${asicDocNo}`, {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((errorAsicDocumentHistory) => {\r\n return Promise.reject(errorAsicDocumentHistory);\r\n });\r\n}\r\nasync function getAsicDocumentTracking(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/Document/GetDocumentTracking/${encodeURIComponent(code)}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllIndividualsEntities() {\r\n return getIndividualsEntities(\"all\");\r\n}\r\n\r\nasync function getIndividualsEntities(companyCode) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/IndividualEntities/GetIndividualEntitiesList/${companyCode}`,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllIndividualsEntitiesWithPagination(search,sortBy,sortOrder,countPerPage,pageNo) {\r\n const individualEntitiesParams = `search=${search}&sortBy=${sortBy}&sortOrder=${sortOrder}&countPerPage=${countPerPage}&pageNo=${pageNo}`;\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/IndividualEntities/GetIndividualEntities?${individualEntitiesParams}`,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getAllJointHolders() {\r\n return getJointHolders(\"all\");\r\n}\r\n\r\nasync function getJointHolders(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/JointHolders/GetJointHoldersList/${code}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllBeneficialOwner() {\r\n return getBeneficialOwner(\"all\");\r\n}\r\n\r\nasync function getBeneficialOwner(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/Benficialowner/GetBenficialOwnerList/${code}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getCompanyReport(printCompany, companyCode) {\r\n const asAtDate = moment(printCompany.asDate, 'DD/MM/yyyy').format('DD-MM-yyyy');\r\n const companyReportParams = `ShowDocumentsLodged List=${printCompany.docLodge},ShowCurrentOfficeholdersOnly=${printCompany.officeHolders},AsAtDate=${asAtDate}`;\r\n const apiURL = `${API_URL}/apiv2/PrimeReports/ShowReport/RegistryCompanyProfile/${companyCode}/${companyReportParams}`;\r\n\r\n return await axios\r\n .get(\r\n `${apiURL}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n //console.log(`window.open('${fileURL}')`);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getQuickCompanyProfileReport(companyCode) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/QuickRegistryCompanyProfile/${companyCode}/Show Current Officeholders Only=Yes,Show Documents Lodged List=No/`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAsicCompanyDetailReport(asicCompanyDetail, companyCode) {\r\n const asicCompanyReportParams = `ShowGivenNameFields=${asicCompanyDetail.nameField}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/eSearchCompanyExtract/${companyCode}/${asicCompanyReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nfunction isUnitTrustEmpty() {\r\n return unitTrustRecord;\r\n}\r\n\r\nasync function getOrderMonitorStatement() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/Orders/GetOrdersList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getDigitalSignatureStatement() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/Docusign/GetDocusignList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAsicDebtReport(ACN) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/EDGEIndividualCompanyDebtReport/${ACN}/none`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getElectronicLodegementService() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/ELSBatch/GetElsBatchList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getCompaniesDebtReport(details) {\r\n const companiesDebtReportParams = `Show Zero BalancesQQQ=${details.zeroBalance},Show CreditBalance=${details.creditBalance},Show Alphabetical Order=${details.sortReport}`;\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/EDGECompanyDebtReport/all//${companiesDebtReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getIndividualElectronicLodegementService(companyCode) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/ELSBatch/GetCompanyElsBatchList/${companyCode}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getCompaniesDetailList() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetCompaniesDetailList`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getFormsHistoryReport(Code) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/printDocumentHistory/${Code}/none`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getDirectorIdReport(didList,typedoc) {\r\n const didListReportParams = `${didList.didType}`;\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/viewDirectorIDList/${didListReportParams}/none/${typedoc}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: typedoc === 'pdf' ? \"application/pdf\":\" application/vnd.ms-excel\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getAsicInvoiceReport(companyCode, companyName) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/AnnualStatement/GetAnnualStatementInvoice/${companyCode}/${companyName}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((errorAsicInvoiceReport) => {\r\n return Promise.reject(errorAsicInvoiceReport);\r\n });\r\n}\r\nasync function getAsicInvoiceReportLinks(companyCode) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/CompanyDebt/GetLatestFiveInvoices/${companyCode}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorAsicInvoiceReportLink) => {\r\n return Promise.reject(errorAsicInvoiceReportLink);\r\n });\r\n}\r\n\r\nasync function getViewCurrentAnnualStatementReport(companyCode, companyName) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/AnnualStatement/GetAnnualStatementPackage/${companyCode}/${companyName}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((errorViewCurrentAnnualStatement) => {\r\n return Promise.reject(errorViewCurrentAnnualStatement);\r\n });\r\n}\r\n\r\nasync function getUnitTrustUnitholdersReport(unitTrustRN, module) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/unitholdersRegister/${unitTrustRN}/${module}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getUnitTrustApplicationAllotmentJournalReport(unitTrustRN, module) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/unitApplicationandAllotmentJournal/${unitTrustRN}/${module}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getUnitTrustTransferJournalReport(unitTrustRN, module) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/unitsTransferJournal/${unitTrustRN}/${module}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getUnitTrustUnitholdersSummaryReport(unitTrustRN, module) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/unitholdersSummary/${unitTrustRN}/${module}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postCompanyPhoneNumber(RN, mobileNumber) {\r\n const params = \"\";\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/RegCompany/UpdateTelephoneNumber/${RN}/C/${mobileNumber}`,\r\n params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postCompanyEmailID(RN, emailId) {\r\n const params = \"\";\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/RegCompany/UpdateEmailAddress/${RN}/C/${emailId}/`,\r\n params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postIndividualPhoneNumber(RN, mobileNumber) {\r\n const params = \"\";\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/RegCompany/UpdateTelephoneNumber/${RN}/I/${mobileNumber}`,\r\n params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postIndividualEmailID(RN, emailId,detail) {\r\n const params = \"\";\r\n console.log(\"companyor individual\",detail )\r\n const detailParam= detail ? detail: \"I\";\r\n console.log(\"companyor individual\",detailParam )\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/RegCompany/UpdateEmailAddress/${RN}/${detailParam}/${emailId}/`,\r\n params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postForgetpasswordEmail(userName) {\r\n const params = \"\";\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/Auth/ForgotPassword?username=${userName}`,\r\n params,\r\n {}\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorForgetPasswordEmail) => {\r\n return Promise.reject(errorForgetPasswordEmail);\r\n });\r\n}\r\n\r\nasync function postResetPassword(userName, passWord, confirmPassword, rCode) {\r\n return await axios\r\n .post(`${API_URL}/apiv2/Auth/ResetPassword`, {\r\n UserID: userName,\r\n Password: passWord,\r\n ConfirmPassword: confirmPassword,\r\n Code: rCode,\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorResetPassword) => {\r\n return Promise.reject(errorResetPassword);\r\n });\r\n}\r\n\r\nasync function getDiv7ALoanReport(companyCode, reportParam) {\r\n console.log(\"reportParam\",reportParam)\r\n const param = {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n };\r\n const address =\r\n reportParam.associateAddress &&\r\n reportParam.associateAddress.replace(/,/g, \"{comma}\");\r\n const state= reportParam.stateLocation;\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/Div_7A_Loan_Agreement_PORTAL/${companyCode}/Enter Loan Balance (or leave Bank)=${reportParam.loanBalance},Associate Name=${reportParam.associateName},Associate Address=${address},State of Jurisdiction=${state}/`,\r\n param\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getForm484Information(rN, docNo) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/Document/GetDocumentSummary/${rN}/${docNo}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getRegdInformation(ACN) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetCompanyASICStatus/${ACN}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorRegdInformation) => {\r\n return Promise.reject(errorRegdInformation);\r\n });\r\n}\r\n\r\nasync function getIndividualEntitiesProfileReport(code) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/IndividualandEntitiesProfile/${code}/Current Officers and Shareholders=Yes,Show Other Public Co. Directorships (if entered)=Yes/`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getIndividualEntitiesOffices(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/IndividualEntities/GetOfficerCompany/${code}/`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getIndividualEntitiesShares(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/IndividualEntities/GetShareholderCompany/${code}/`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postIndividualEntitiesDid(RN, did) {\r\n const params = \"\";\r\n const emptyDid =\r\n did &&\r\n did.replace(/_/g, \"\");\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/IndividualEntities/UpdateDID/${RN}/${emptyDid}`,\r\n params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorDidUpdate) => {\r\n return Promise.reject(errorDidUpdate);\r\n });\r\n}\r\nasync function postCompanyNotes(RN, notes) {\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/RegCompany/SetCompanyNotes`,\r\n { identifier: RN, notes: notes },\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getAllCountries() {\r\n return await axios\r\n .get(`https://restcountries.com/v3.1/all`)\r\n .then((response) => {\r\n return response.data ? response.data.map((value) => value.name) : \"\";\r\n })\r\n .catch((errorCountries) => {\r\n return Promise.reject(errorCountries);\r\n });\r\n}\r\nasync function postSignup(firstName, lastName, phone, email, organisationName) {\r\n return await axios\r\n .post(`${API_URL}/apiv2/Auth/Register`, {\r\n FirstName: firstName,\r\n LastName: lastName,\r\n phone: phone,\r\n Email: email,\r\n OrganisationName: organisationName,\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorSignup) => {\r\n return Promise.reject(errorSignup);\r\n });\r\n}\r\nasync function getUnitTrustTable(departement) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetUnitRegisterList/${departement}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((unitTrustTableError) => {\r\n return Promise.reject(unitTrustTableError);\r\n });\r\n}\r\n\r\nasync function getLoggedUserInfo() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/APIUser/GetUserInfo`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((loggedUserInfoError) => {\r\n return Promise.reject(loggedUserInfoError);\r\n });\r\n}\r\n\r\nasync function postChangeOrderRequest(changeOrder) {\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/Orders/PostOnlineOrder`,\r\n {\r\n data: changeOrder,\r\n },\r\n {\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n contentType: \"multipart/form-data\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((changeOrderError) => {\r\n return Promise.reject(changeOrderError);\r\n });\r\n}\r\n\r\nasync function getClassList(code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetAllAssociatedClass/${code}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((classlistError) => {\r\n return Promise.reject(classlistError);\r\n });\r\n}\r\nasync function getCompanyListReport(companyCode, companyList) {\r\n const companyListReportParams = `AgentID=${companyList.dept},Show Email Addresses=${companyList.email},Show Officers{slash}MembersQQQ=${companyList.officer}`;\r\n\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/CompanyEmailList/${companyCode}/${companyListReportParams}`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n \"Content-Type\": \"application/pdf\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\n\r\n\r\n async function postRecentCompanyList(userName, clientId, deptCode, ACN) {\r\n const params = { USER_ID: userName,\r\n CLIENT_ID: clientId,\r\n DEPT_CODE: deptCode,\r\n CO_ACN: ACN }\r\n return await axios\r\n .post(`${API_URL}/apiv2/RegCompany/PostRecentComanyHistory`,params,{\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) } \r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorPostRecentCompanyList) => {\r\n return Promise.reject(errorPostRecentCompanyList);\r\n });\r\n }\r\n\r\n async function getRecentCompanyList(userName, clientId, deptCode) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/RegCompany/GetRecentComanyHistory/${clientId}/${userName}/${deptCode}/`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n \r\n })\r\n .then((response) => {\r\n return response.data !== \"No Recent Search Found!\" ? response.data : \"\";\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n async function getEbinderPrimeFiles(Code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/ebinders/company/${Code}/primefiles`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function getManageEbinderList(Code) {\r\n const params = { companyCode : Code} \r\n console.log(\"params\",params);\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/ebinders/company/binder-list?companycode=${Code}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n async function getEbinderLink(Code,binderId) {\r\n\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/ebinders/company/binder?companycode=${Code}&binderId=${binderId}`, {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function getEbinderCustomFileList(Code) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/ebinders/company/${Code}/customfiles`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function postEbinderCustomFileDelete(Code, fileName) {\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/portal/ebinders/company/${Code}/customfiles/delete`,\r\n { identifier: Code, filename: fileName },\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function postEbinderCustomFileAdd(Code, formdata) {\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/portal/ebinders/company/${Code}/customfiles`,\r\n formdata,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n \"Content-Type\": \"multipart/form-data\"\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n async function getEbinderCompanyList() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/ebinders/company?department=@all`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function postCreateEbinder(Code,selectedPrimeFileList,companyRegister,customFileList) {\r\n \r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/portal/ebinders/company/${Code}/create`,\r\n {\r\n registers: companyRegister,\r\n primeForms: selectedPrimeFileList,\r\n customFiles: customFileList,\r\n \r\n },\r\n {\r\n headers: {\r\n token: JSON.parse(localStorage.getItem(\"token\")),\r\n contentType: \"multipart/form-data\",\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function postChangePassword(clientId, userId,oldPassword,passWord, confirmPassword) {\r\n const params = {\r\n \"ClientID\": clientId,\r\n \"UserID\":userId,\r\n \"OldPassword\":oldPassword,\r\n \"Password\": passWord,\r\n \"ConfirmPassword\": confirmPassword,\r\n }\r\n return await axios\r\n .post(`${API_URL}/apiv2/APIUser/UpdatePassword`, params,\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((errorChangePassword) => {\r\n return Promise.reject(errorChangePassword);\r\n });\r\n }\r\n async function getBusinessNameDetailList() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/businessName/businessNameTable?department=@all`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n async function getBusinessWelcomeReport(reportParam) {\r\n console.log(\"reportParam business ID\",reportParam)\r\n const param = {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n };\r\n \r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/portal/businessName/welcomeletter?businessID=${reportParam}`,\r\n param\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n async function getBusinessCertificateReport(reportParam) {\r\n console.log(\"reportParam businessCertificate ID\",reportParam)\r\n const param = {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n };\r\n \r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/portal/businessName/businessCertificate?businessID=${reportParam}`,\r\n param\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n }\r\n\r\n async function getBusinessNameSummary(reportParam) {\r\n console.log(\"reportParam businessCertificate ID\",reportParam)\r\n const param = {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n };\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/portal/businessName/businessName?department=@all&rn=${reportParam}`, \r\n param\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getBusinessNameReport(reportParam) {\r\n console.log(\"reportParam business ID\",reportParam)\r\nconst param = {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n};\r\n\r\nreturn await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReportParam/BusinessNameReport/${reportParam}`,\r\n param\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function postBusinessNotes(identifier, notes) {\r\n return await axios\r\n .post(\r\n `${API_URL}/apiv2/portal/BusinessName/BusinessNameNotes/`,\r\n { identifier: identifier, notes: notes },\r\n {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\nasync function getBusinessNotes(identifier) {\r\n return await axios\r\n .get(`${API_URL}/apiv2/portal/BusinessName/BusinessNameNotes/${identifier}`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nasync function getDirectorIdCount() {\r\n return await axios\r\n .get(`${API_URL}/apiv2/IndividualEntities/GetDIDCount`, {\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n })\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n })\r\n}\r\n\r\nasync function getEdgeCompanyProfileReport(companyCode) {\r\n return await axios\r\n .get(\r\n `${API_URL}/apiv2/PrimeReports/ShowReport/EdgeCompanyProfile/${companyCode}/none/pdf`,\r\n {\r\n responseType: \"arraybuffer\",\r\n headers: { token: JSON.parse(localStorage.getItem(\"token\")) },\r\n }\r\n )\r\n .then((response) => {\r\n const file = new Blob([response.data], { type: \"application/pdf\" });\r\n const fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n return response.data;\r\n })\r\n .catch((error) => {\r\n return Promise.reject(error);\r\n });\r\n}","export const userConstants = {\r\n\r\n LOGIN_REQUEST: 'USERS_LOGIN_REQUEST',\r\n LOGIN_SUCCESS: 'USERS_LOGIN_SUCCESS',\r\n LOGIN_FAILURE: 'USERS_LOGIN_FAILURE',\r\n \r\n GETALL_REQUEST: 'USERS_GETALL_REQUEST',\r\n GETALL_SUCCESS: 'USERS_GETALL_SUCCESS',\r\n GETALL_FAILURE: 'USERS_GETALL_FAILURE',\r\n\r\n LOGOUT: 'USERS_LOGOUT',\r\n\r\n COMPANYALL_REQUEST: 'USERS_COMPANYALL_REQUEST',\r\n COMPANYALL_SUCCESS: 'USERS_COMPANYALL_SUCCESS',\r\n COMPANYALL_FAILURE: 'USERS_COMPANYALL_FAILURE',\r\n\r\n COMPANYSELECTED_REQUEST:'USERS_COMPANYSELECTED_REQUEST',\r\n COMPANYSELECTED_SUCCESS:'USERS_COMPANYSELECTED_SUCCESS',\r\n COMPANYSELECTED_FAILURE:'USERS_COMPANYSELECTED_FAILURE',\r\n\r\n\r\n DEPARTMENTALL_REQUEST:'USERS_DEPARTMENTALL_REQUEST',\r\n DEPARTMENTALL_SUCCESS:'USERS_DEPARTMENTALL_SUCCESS',\r\n DEPARTMENTALL_FAILURE:'USERS_DEPARTMENTALL_FAILURE',\r\n\r\n UNITTRUSTALL_REQUEST:'USERS_UNITTRUSTALL_REQUEST',\r\n UNITTRUSTALL_SUCCESS:'USERS_UNITTRUSTALL_SUCCESS',\r\n UNITTRUSTALL_FAILURE:'USERS_UNITTRUSTALL_FAILURE',\r\n\r\n ANNUALSTATEMENT_REQUEST:'USERS_ANNUALSTATEMENT_REQUEST',\r\n ANNUALSTATEMENT_SUCCESS:'USERS_ANNUALSTATEMENT_SUCCESS',\r\n ANNUALSTATEMENT_FAILURE:'USERS_ANNUALSTATEMENT_FAILURE',\r\n\r\n ANNUALSTATEMENTMONTHSTATUS_REQUEST:'USERS_ANNUALSTATEMENTMONTHSTATUS_REQUEST',\r\n ANNUALSTATEMENTMONTHSTATUS_SUCCESS:'USERS_ANNUALSTATEMENTMONTHSTATUS_SUCCESS',\r\n ANNUALSTATEMENTMONTHSTATUS_FAILURE:'USERS_ANNUALSTATEMENTMONTHSTATUS_FAILURE',\r\n\r\n ASICDEPTSTATEMENT_REQUEST:'USERS_ASICDEPTSTATEMENT_REQUEST',\r\n ASICDEPTSTATEMENT_SUCCESS:'USERS_ASICDEPTSTATEMENT_SUCCESS',\r\n ASICDEPTSTATEMENT_FAILURE:'USERS_ASICDEPTSTATEMENT_FAILURE',\r\n\r\n COMPANYPROFILEREPORT_REQUEST: 'USERS_COMPANYPROFILEREPORT_REQUEST',\r\n COMPANYPROFILEREPORT_SUCCESS: 'USERS_COMPANYPROFILEREPORT_SUCCESS',\r\n COMPANYPROFILEREPORT_FAILURE: 'USERS_COMPANYPROFILEREPORT_FAILURE',\r\n\r\n MEMBERSREPORT_REQUEST: 'USERS_MEMBERSREPORT_REQUEST',\r\n MEMBERSREPORT_SUCCESS: 'USERS_MEMBERSREPORT_SUCCESS',\r\n MEMBERSREPORT_FAILURE: 'USERS_MEMBERSREPORT_FAILURE',\r\n \r\n DIRECTORANDSECRETARIESREPORT_REQUEST: 'USERS_DIRECTORANDSECRETARIESREPORT_REQUEST',\r\n DIRECTORANDSECRETARIESREPORT_SUCCESS: 'USERS_DIRECTORANDSECRETARIESREPORT_SUCCESS',\r\n DIRECTORANDSECRETARIESREPORT_FAILURE: 'USERS_DIRECTORANDSECRETARIESREPORT_FAILURE',\r\n\r\n ALLOTMENTJOURNALREPORT_REQUEST: 'USERS_ALLOTMENTJOURNALREPORT_REQUEST',\r\n ALLOTMENTJOURNALREPORT_SUCCESS: 'USERS_ALLOTMENTJOURNALREPORT_SUCCESS',\r\n ALLOTMENTJOURNALREPORT_FAILURE: 'USERS_ALLOTMENTJOURNALREPORT_FAILURE',\r\n\r\n TRANSFERJOURNALREPORT_REQUEST: 'USERS_TRANSFERJOURNALREPORT_REQUEST',\r\n TRANSFERJOURNALREPORT_REQUEST_SUCCESS: 'USERS_TRANSFERJOURNALREPORT_SUCCESS',\r\n TRANSFERJOURNALREPORT_REQUEST_FAILURE: 'USERS_TRANSFERJOURNALREPORT_FAILURE',\r\n\r\n RESPONSIBLEMANAGERREPORT_REQUEST: 'USERS_RESPONSIBLEMANAGERREPORT_REQUEST',\r\n RESPONSIBLEMANAGERREPORT_SUCCESS: 'USERS_RESPONSIBLEMANAGERREPORT_SUCCESS',\r\n RESPONSIBLEMANAGERREPORT_FAILURE: 'USERS_RESPONSIBLEMANAGERREPORT_FAILURE',\r\n \r\n PUBLICOFFICERREPORT_REQUEST: 'USERS_PUBLICOFFICERREPORT_REQUEST',\r\n PUBLICOFFICERREPORT_SUCCESS: 'USERS_PUBLICOFFICERREPORT_SUCCESS',\r\n PUBLICOFFICERREPORT_FAILURE: 'USERS_PUBLICOFFICERREPORT_FAILURE',\r\n\r\n DIRECTORSSHAREHOLDINGSREPORT_REQUEST: 'USERS_DIRECTORSSHAREHOLDINGSREPORT_REQUEST',\r\n DIRECTORSSHAREHOLDINGSREPORT_SUCCESS: 'USERS_DIRECTORSSHAREHOLDINGSREPORT_SUCCESS',\r\n DIRECTORSSHAREHOLDINGSREPORT_FAILURE: 'USERS_DIRECTORSSHAREHOLDINGSREPORT_FAILURE',\r\n\r\n OFFICERDETAILSREPORT_REQUEST: 'USERS_OFFICERDETAILSREPORT_REQUEST',\r\n OFFICERDETAILSREPORT_SUCCESS: 'USERS_OFFICERDETAILSREPORT_SUCCESS',\r\n OFFICERDETAILSREPORT_FAILURE: 'USERS_OFFICERDETAILSREPORT_FAILURE',\r\n\r\n SHAREHOLDERDETAILSREPORT_REQUEST: 'USERS_SHAREHOLDERDETAILSREPORT_REQUEST',\r\n SHAREHOLDERDETAILSREPORT_SUCCESS: 'USERS_SHAREHOLDERDETAILSREPORT_SUCCESS',\r\n SHAREHOLDERDETAILSREPORT_FAILURE: 'USERS_SHAREHOLDERDETAILSREPORT_FAILURE',\r\n\r\n DOCUMENTHISTORYDOCREPORT_REQUEST: 'USERS_DOCUMENTHISTORYDOCREPORT_REQUEST',\r\n DOCUMENTHISTORYDOCREPORT_SUCCESS: 'USERS_DOCUMENTHISTORYDOCREPORT_SUCCESS',\r\n DOCUMENTHISTORYDOCREPORT_FAILURE: 'USERS_DOCUMENTHISTORYDOCREPORT_FAILURE',\r\n\r\n DOCUMENTHISTORYASICREPORT_REQUEST: 'USERS_DOCUMENTHISTORYASICREPORT_REQUEST',\r\n DOCUMENTHISTORYASICREPORT_SUCCESS: 'USERS_DOCUMENTHISTORYASICREPORT_SUCCESS',\r\n DOCUMENTHISTORYASICREPORT_FAILURE: 'USERS_DOCUMENTHISTORYASICREPORT_FAILURE',\r\n\r\n ASICDOCUMENTTRACKING_REQUEST: 'USERS_ASICDOCUMENTTRACKING_REQUEST',\r\n ASICDOCUMENTTRACKING_SUCCESS: 'USERS_ASICDOCUMENTTRACKING_SUCCESS',\r\n ASICDOCUMENTTRACKING_FAILURE: 'USERS_ASICDOCUMENTTRACKING_FAILURE',\r\n\r\n INDIVIDUALENTITIES_REQUEST: 'USERS_INDIVIDUALENTITIES_REQUEST',\r\n INDIVIDUALENTITIES_SUCCESS: 'USERS_INDIVIDUALENTITIES_SUCCESS',\r\n INDIVIDUALENTITIES_FAILURE: 'USERS_INDIVIDUALENTITIES_FAILURE',\r\n\r\n JOINTHOLDERS_REQUEST: 'USERS_JOINTHOLDERS_REQUEST',\r\n JOINTHOLDERS_SUCCESS: 'USERS_JOINTHOLDERS_SUCCESS',\r\n JOINTHOLDERS_FAILURE: 'USERS_JOINTHOLDERS_FAILURE',\r\n\r\n BENEFICIALOWNER_REQUEST: 'USERS_BENEFICIALOWNER_REQUEST',\r\n BENEFICIALOWNER_SUCCESS: 'USERS_BENEFICIALOWNER_SUCCESS',\r\n BENEFICIALOWNER_FAILURE: 'USERS_BENEFICIALOWNER_FAILURE',\r\n\r\n COMPANYREPORT_REQUEST: 'USERS_COMPANYREPORT_REQUEST',\r\n COMPANYREPORT_SUCCESS: 'USERS_COMPANYREPORT_SUCCESS',\r\n COMPANYREPORT_FAILURE: 'USERS_COMPANYREPORT_FAILURE',\r\n\r\n QUICKCOMPANYPROFILEREPORT_REQUEST: 'USERS_QUICKCOMPANYPROFILEREPORT_REQUEST',\r\n QUICKCOMPANYPROFILEREPORT_SUCCESS: 'USERS_QUICKCOMPANYPROFILEREPORT_SUCCESS',\r\n QUICKCOMPANYPROFILEREPORT_FAILURE: 'USERS_QUICKCOMPANYPROFILEREPORT_FAILURE',\r\n\r\n ASICCOMPANYDETAILREPORT_REQUEST: 'USERS_ASICCOMPANYDETAILREPORT_REQUEST',\r\n ASICCOMPANYDETAILREPORT_SUCCESS: 'USERS_ASICCOMPANYDETAILREPORT_SUCCESS',\r\n ASICCOMPANYDETAILREPORT_FAILURE: 'USERS_ASICCOMPANYDETAILREPORT_FAILURE',\r\n \r\n\r\nORDERMONITORSTATEMENT_REQUEST:'USERS_ORDERMONITORSTATEMENT_REQUEST',\r\nORDERMONITORSTATEMENT_SUCCESS:'USERS_ORDERMONITORSTATEMENT_SUCCESS',\r\nORDERMONITORSTATEMENT_FAILURE:'USERS_ORDERMONITORSTATEMENT_FAILURE',\r\n\r\nDIGITALSIGNATURESTATEMENT_REQUEST:'USERS_DIGITALSIGNATURESTATEMENT_REQUEST',\r\nDIGITALSIGNATURESTATEMENT_SUCCESS:'USERS_DIGITALSIGNATURESTATEMENT_SUCCESS',\r\nDIGITALSIGNATURESTATEMENT_FAILURE:'USERS_DIGITALSIGNATURESTATEMENT_FAILURE',\r\n\r\nASICDEBTREPORT_REQUEST: 'USERS_ASICDEBTREPORT_REQUEST',\r\nASICDEBTREPORT_SUCCESS: 'USERS_ASICDEBTREPORT_SUCCESS',\r\nASICDEBTREPORT_FAILURE: 'USERS_ASICDEBTREPORT_FAILURE',\r\n\r\nELECTRONICLODGEMENTSERVICE_REQUEST:'USERS_ELECTRONICLODGEMENTSERVICE_REQUEST',\r\nELECTRONICLODGEMENTSERVICE_SUCCESS:'USERS_ELECTRONICLODGEMENTSERVICE_SUCCESS',\r\nELECTRONICLODGEMENTSERVICE_FAILURE:'USERS_ELECTRONICLODGEMENTSERVICE_FAILURE',\r\n\r\nCOMPANIESDEBTREPORT_REQUEST: 'USERS_COMPANIESDEBTREPORT_REQUEST',\r\nCOMPANIESDEBTREPORT_SUCCESS: 'USERS_COMPANIESDEBTREPORT_SUCCESS',\r\nCOMPANIESDEBTREPORT_FAILURE: 'USERS_COMPANIESDEBTREPORT_FAILURE',\r\n\r\nINDIVIDUALELECTRONICLODGEMENTSERVICE_REQUEST:'USERS_INDIVIDUALELECTRONICLODGEMENTSERVICE_REQUEST',\r\nINDIVIDUALELECTRONICLODGEMENTSERVICE_SUCCESS:'USERS_INDIVIDUALELECTRONICLODGEMENTSERVICE_SUCCESS',\r\nINDIVIDUALELECTRONICLODGEMENTSERVICE_FAILURE:'USERS_INDIVIDUALELECTRONICLODGEMENTSERVICE_FAILURE',\r\n\r\nCOMPANIESDETAILLIST_REQUEST: 'USERS_COMPANIESDETAILLIST_REQUEST',\r\nCOMPANIESDETAILLIST_SUCCESS: 'USERS_COMPANIESDETAILLIST_SUCCESS',\r\nCOMPANIESDETAILLIST_FAILURE: 'USERS_COMPANIESDETAILLIST_FAILURE',\r\n\r\nFORMSHISTORYREPORT_REQUEST: 'USERS_FORMSHISTORYREPORT_REQUEST',\r\nFORMSHISTORYREPORT_SUCCESS: 'USERS_FORMSHISTORYREPORT_SUCCESS',\r\nFORMSHISTORYREPORT_FAILURE: 'USERS_FORMSHISTORYREPORT_FAILURE',\r\n\r\nDIRECTORIDREPORT_REQUEST: 'USERS_DIRECTORIDREPORT_REQUEST',\r\nDIRECTORIDREPORT_SUCCESS: 'USERS_DIRECTORIDREPORT_SUCCESS',\r\nDIRECTORIDREPORT_FAILURE: 'USERS_DIRECTORIDREPORT_FAILURE',\r\n\r\n\r\nASICINVOICEREPORT_REQUEST: 'USERS_ASICINVOICEREPORT_REQUEST',\r\nASICINVOICEREPORT_SUCCESS: 'USERS_ASICINVOICEREPORT_SUCCESS',\r\nASICINVOICEREPORT_FAILURE: 'USERS_ASICINVOICEREPORT_FAILURE',\r\n\r\nASICINVOICEREPORTLINK_REQUEST: 'USERS_ASICINVOICEREPORTLINK_REQUEST',\r\nASICINVOICEREPORTLINK_SUCCESS: 'USERS_ASICINVOICEREPORTLINK_SUCCESS',\r\nASICINVOICEREPORTLINK_FAILURE: 'USERS_ASICINVOICEREPORTLINK_FAILURE',\r\n\r\nVIEWCURRENTANNUALSTATEMENTREPORT_REQUEST: 'USERS_VIEWCURRENTANNUALSTATEMENTREPORT_REQUEST',\r\nVIEWCURRENTANNUALSTATEMENTREPORT_SUCCESS: 'USERS_VIEWCURRENTANNUALSTATEMENTREPORT_SUCCESS',\r\nVIEWCURRENTANNUALSTATEMENTREPORT_FAILURE: 'USERS_VIEWCURRENTANNUALSTATEMENTREPORT_FAILURE',\r\n\r\nUNITTRUSTUNITHOLDERSREPORT_REQUEST: 'USERS_UNITTRUSTUNITHOLDERSREPORT_REQUEST',\r\nUNITTRUSTUNITHOLDERSREPORT_SUCCESS: 'USERS_UNITTRUSTUNITHOLDERSREPORT_SUCCESS',\r\nUNITTRUSTUNITHOLDERSREPORT_FAILURE: 'USERS_UNITTRUSTUNITHOLDERSREPORT_FAILURE',\r\n\r\nUNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_REQUEST: 'USERS_UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_REQUEST',\r\nUNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_SUCCESS: 'USERS_UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_SUCCESS',\r\nUNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_FAILURE: 'USERS_UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_FAILURE',\r\n\r\nUNITTRUSTTRANSFERJOURNALREPORT_REQUEST: 'USERS_UNITTRUSTTRANSFERJOURNALREPORT_REQUEST',\r\nUNITTRUSTTRANSFERJOURNALREPORT_SUCCESS: 'USERS_UNITTRUSTTRANSFERJOURNALREPORT_SUCCESS',\r\nUNITTRUSTTRANSFERJOURNALREPORT_FAILURE: 'USERS_UNITTRUSTTRANSFERJOURNALREPORT_FAILURE',\r\n\r\nUNITTRUSTUNITHOLDERSSUMMARYREPORT_REQUEST: 'USERS_UNITTRUSTUNITHOLDERSSUMMARYREPORT_REQUEST',\r\nUNITTRUSTUNITHOLDERSSUMMARYREPORT_SUCCESS: 'USERS_UNITTRUSTUNITHOLDERSSUMMARYREPORT_SUCCESS',\r\nUNITTRUSTUNITHOLDERSSUMMARYREPORT_FAILURE: 'USERS_UNITTRUSTUNITHOLDERSSUMMARYREPORT_FAILURE',\r\n\r\nCOMPANYPHONENUMBERUPDATE_REQUEST: 'USERS_COMPANYPHONENUMBERUPDATE_REQUEST',\r\nCOMPANYPHONENUMBERUPDATE_SUCCESS: 'USERS_COMPANYPHONENUMBERUPDATE_SUCCESS',\r\nCOMPANYPHONENUMBERUPDATE_FAILURE: 'USERS_COMPANYPHONENUMBERUPDATE_FAILURE',\r\n\r\nCOMPANYEMAILIDUPDATE_REQUEST: 'USERS_COMPANYEMAILIDUPDATE_REQUEST',\r\nCOMPANYEMAILIDUPDATE_SUCCESS: 'USERS_COMPANYEMAILIDUPDATE_SUCCESS',\r\nCOMPANYEMAILIDUPDATE_FAILURE: 'USERS_COMPANYEMAILIDUPDATE_FAILURE',\r\n\r\nINDIVIDUALPHONENUMBERUPDATE_REQUEST: 'USERS_INDIVIDUALPHONENUMBERUPDATE_REQUEST',\r\nINDIVIDUALPHONENUMBERUPDATE_SUCCESS: 'USERS_INDIVIDUALPHONENUMBERUPDATE_SUCCESS',\r\nINDIVIDUALPHONENUMBERUPDATE_FAILURE: 'USERS_INDIVIDUALPHONENUMBERUPDATE_FAILURE',\r\n\r\nINDIVIDUALEMAILIDUPDATE_REQUEST: 'USERS_INDIVIDUALEMAILIDUPDATE_REQUEST',\r\nINDIVIDUALEMAILIDUPDATE_SUCCESS: 'USERS_INDIVIDUALEMAILIDUPDATE_SUCCESS',\r\nINDIVIDUALEMAILIDUPDATE_FAILURE: 'USERS_INDIVIDUALEMAILIDUPDATE_FAILURE',\r\n\r\nFORGETPASSWORDEMAIL_REQUEST: 'USERS_FORGETPASSWORDEMAIL_REQUEST',\r\nFORGETPASSWORDEMAIL_SUCCESS: 'USERS_FORGETPASSWORDEMAIL_SUCCESS',\r\nFORGETPASSWORDEMAIL_FAILURE: 'USERS_FORGETPASSWORDEMAIL_FAILURE',\r\n\r\nRESETPASSWORD_REQUEST: 'USERS_RESETPASSWORD_REQUEST',\r\nRESETPASSWORD_SUCCESS: 'USERS_RESETPASSWORD_SUCCESS',\r\nRESETPASSWORD_FAILURE: 'USERS_RESETPASSWORD_FAILURE',\r\n\r\nDIV7ALOANREPORT_REQUEST: 'USERS_DIV7ALOANREPORT_REQUEST',\r\nDIV7ALOANREPORT_SUCCESS: 'USERS_DIV7ALOANREPORT_SUCCESS',\r\nDIV7ALOANREPORT_FAILURE: 'USERS_DIV7ALOANREPORT_FAILURE',\r\n\r\nFORM484INFORMATION_REQUEST: 'USERS_FORM484INFORMATION_REQUEST',\r\nFORM484INFORMATION_SUCCESS: 'USERS_FORM484INFORMATION_SUCCESS',\r\nFORM484INFORMATION_FAILURE: 'USERS_FORM484INFORMATION_FAILURE',\r\n\r\nREGDINFORMATION_REQUEST: 'USERS_REGDINFORMATION_REQUEST',\r\nREGDINFORMATION_SUCCESS: 'USERS_REGDINFORMATION_SUCCESS',\r\nREGDINFORMATION_FAILURE: 'USERS_REGDINFORMATION_FAILURE',\r\n\r\nINDIVDUALENTITIESPROFILEREPORT_REQUEST: 'USERS_INDIVDUALENTITIESPROFILEREPORT_REQUEST',\r\nINDIVDUALENTITIESPROFILEREPORT_SUCCESS: 'USERS_INDIVDUALENTITIESPROFILEREPORT_SUCCESS',\r\nINDIVDUALENTITIESPROFILEREPORT_FAILURE: 'USERS_INDIVDUALENTITIESPROFILEREPORT_FAILURE',\r\n\r\nINDIVIDUALENTITIESOFFICES_REQUEST: 'USERS_INDIVIDUALENTITIESOFFICES_REQUEST',\r\nINDIVIDUALENTITIESOFFICES_SUCCESS: 'USERS_INDIVIDUALENTITIESOFFICES_SUCCESS',\r\nINDIVIDUALENTITIESOFFICES_FAILURE: 'USERS_INDIVIDUALENTITIESOFFICES_FAILURE',\r\n\r\nINDIVDUALENTITIESDID_REQUEST: 'USERS_INDIVDUALENTITIESDID_REQUEST',\r\nINDIVDUALENTITIESDID_SUCCESS: 'USERS_INDIVDUALENTITIESDID_SUCCESS',\r\nINDIVDUALENTITIESDID_FAILURE: 'USERS_INDIVDUALENTITIESDID_FAILURE',\r\n\r\nINDIVDUALENTITIESSHARES_REQUEST: 'USERS_INDIVDUALENTITIESSHARES_REQUEST',\r\nINDIVDUALENTITIESSHARES_SUCCESS: 'USERS_INDIVDUALENTITIESSHARES_SUCCESS',\r\nINDIVDUALENTITIESSHARES_FAILURE: 'USERS_INDIVDUALENTITIESSHARES_FAILURE',\r\n\r\nCOMPANYNOTES_REQUEST: 'USERS_COMPANYNOTES_REQUEST',\r\nCOMPANYNOTES_SUCCESS: 'USERS_COMPANYNOTES_SUCCESS',\r\nCOMPANYNOTES_FAILURE: 'USERS_COMPANYNOTES_FAILURE',\r\n\r\nCOUNTRIESALL_REQUEST: 'USERS_COUNTRIESALL_REQUEST',\r\nCOUNTRIESALL_SUCCESS: 'USERS_COUNTRIESALL_SUCCESS',\r\nCOUNTRIESALL_FAILURE: 'USERS_COUNTRIESALL_FAILURE',\r\n\r\nSIGNUP_REQUEST: 'USERS_SIGNUP_REQUEST',\r\nSIGNUP_SUCCESS: 'USERS_SIGNUP_SUCCESS',\r\nSIGNUP_FAILURE: 'USERS_SIGNUP_FAILURE',\r\n\r\nUNITTRUSTTABLE_REQUEST: 'USERS_UNITTRUSTTABLE_REQUEST',\r\nUNITTRUSTTABLE_SUCCESS: 'USERS_UNITTRUSTTABLE_SUCCESS',\r\nUNITTRUSTTABLE_FAILURE: 'USERS_UNITTRUSTTABLE_FAILURE',\r\n\r\nLOGINUSERINFO_REQUEST: 'USERS_LOGINUSERINFO_REQUEST',\r\nLOGINUSERINFO_SUCCESS: 'USERS_LOGINUSERINFO_SUCCESS',\r\nLOGINUSERINFO_FAILURE: 'USERS_LOGINUSERINFO_FAILURE',\r\n\r\nCHANGEORDER_REQUEST: 'USERS_CHANGEORDER_REQUEST',\r\nCHANGEORDER_SUCCESS: 'USERS_CHANGEORDER_SUCCESS',\r\nCHANGEORDER_FAILURE: 'USERS_CHANGEORDER_FAILURE',\r\n\r\nCLASSLIST_REQUEST: 'USERS_CLASSLIST_REQUEST',\r\nCLASSLIST_SUCCESS: 'USERS_CLASSLIST_SUCCESS',\r\nCLASSLIST_FAILURE: 'USERS_CLASSLIST_FAILURE',\r\n\r\nCOMPANYLISTSREPORT_REQUEST: 'USERS_COMPANYLISTSREPORT_REQUEST',\r\nCOMPANYLISTSREPORT_SUCCESS: 'USERS_COMPANYLISTSREPORT_SUCCESS',\r\nCOMPANYLISTSREPORT_FAILURE: 'USERS_COMPANYLISTSREPORT_FAILURE',\r\n\r\nPOSTRECENTCOMPANYLIST_REQUEST: 'USERS_POSTRECENTCOMPANYLIST_REQUEST',\r\nPOSTRECENTCOMPANYLIST_SUCCESS: 'USERS_POSTRECENTCOMPANYLIST_SUCCESS',\r\nPOSTRECENTCOMPANYLIST_FAILURE: 'USERS_POSTRECENTCOMPANYLIST_FAILURE',\r\n\r\nGETRECENTCOMPANYLIST_REQUEST: 'USERS_GETRECENTCOMPANYLIST_REQUEST',\r\nGETRECENTCOMPANYLIST_SUCCESS: 'USERS_GETRECENTCOMPANYLIST_SUCCESS',\r\nGETRECENTCOMPANYLIST_FAILURE: 'USERS_GETRECENTCOMPANYLIST_FAILURE',\r\n\r\nGETEBINDERPRIMEFILELIST_REQUEST: 'USERS_GETEBINDERPRIMEFILELIST_REQUEST',\r\nGETEBINDERPRIMEFILELIST_SUCCESS: 'USERS_GETEBINDERPRIMEFILELIST_SUCCESS',\r\nGETEBINDERPRIMEFILELIST_FAILURE: 'USERS_GETEBINDERPRIMEFILELIST_FAILURE',\r\n\r\nMANAGEEBINDERLIST_REQUEST: 'USERS_MANAGEEBINDERLIST_REQUEST',\r\nMANAGEEBINDERLIST_SUCCESS: 'USERS_MANAGEEBINDERLIST_SUCCESS',\r\nMANAGEEBINDERLIST_FAILURE: 'USERS_MANAGEEBINDERLIST_FAILURE',\r\n\r\nEBINDERLINKS_REQUEST: 'USERS_EBINDERLINKS_REQUEST',\r\nEBINDERLINKS_SUCCESS: 'USERS_EBINDERLINKS_SUCCESS',\r\nEBINDERLINKS_FAILURE: 'USERS_EBINDERLINKS_FAILURE',\r\n\r\nEBINDERCUSTOMFILELIST_REQUEST: 'USERS_EBINDERCUSTOMFILELIST_REQUEST',\r\nEBINDERCUSTOMFILELIST_SUCCESS: 'USERS_EBINDERCUSTOMFILELIST_SUCCESS',\r\nEBINDERCUSTOMFILELIST_FAILURE: 'USERS_EBINDERCUSTOMFILELIST_FAILURE',\r\n\r\nEBINDERCUSTOMFILEDELETE_REQUEST: 'USERS_EBINDERCUSTOMFILEDELETE_REQUEST',\r\nEBINDERCUSTOMFILEDELETE_SUCCESS: 'USERS_EBINDERCUSTOMFILEDELETE_SUCCESS',\r\nEBINDERCUSTOMFILEDELETE_FAILURE: 'USERS_EBINDERCUSTOMFILEDELETE_FAILURE',\r\n\r\nEBINDERCUSTOMFILEADD_REQUEST: 'USERS_EBINDERCUSTOMFILEADD_REQUEST',\r\nEBINDERCUSTOMFILEADD_SUCCESS: 'USERS_EBINDERCUSTOMFILEADD_SUCCESS',\r\nEBINDERCUSTOMFILEADD_FAILURE: 'USERS_EBINDERCUSTOMFILEADD_FAILURE',\r\n\r\nEBINDERCOMPANYLIST_REQUEST: 'USERS_EBINDERCOMPANYLIST_REQUEST',\r\nEBINDERCOMPANYLIST_SUCCESS: 'USERS_EBINDERCOMPANYLIST_SUCCESS',\r\nEBINDERCOMPANYLIST_FAILURE: 'USERS_EBINDERCOMPANYLIST_FAILURE',\r\n\r\nEBINDERORDER_REQUEST: 'USERS_EBINDERORDER_REQUEST',\r\nEBINDERORDER_SUCCESS: 'USERS_EBINDERORDER_SUCCESS',\r\nEBINDERORDER_FAILURE: 'USERS_EBINDERORDER_FAILURE',\r\n\r\nCHANGEPASSWORD_REQUEST: 'USERS_CHANGEPASSWORD_REQUEST',\r\nCHANGEPASSWORD_SUCCESS: 'USERS_CHANGEPASSWORD_SUCCESS',\r\nCHANGEPASSWORD_FAILURE: 'USERS_CHANGEPASSWORD_FAILURE',\r\n\r\nBUSINESSNAMEDETAILLIST_REQUEST: 'USERS_BUSINESSNAMEDETAILLIST_REQUEST',\r\nBUSINESSNAMEDETAILLIST_SUCCESS: 'USERS_BUSINESSNAMEDETAILLIST_SUCCESS',\r\nBUSINESSNAMEDETAILLIST_FAILURE: 'USERS_BUSINESSNAMEDETAILLIST_FAILURE',\r\n\r\nBUSINESSWELCOMEREPORT_REQUEST: 'USERS_BUSINESSWELCOMEREPORT_REQUEST',\r\nBUSINESSWELCOMEREPORT_SUCCESS: 'USERS_BUSINESSWELCOMEREPORT_SUCCESS',\r\nBUSINESSWELCOMEREPORT_FAILURE: 'USERS_BUSINESSWELCOMEREPORT_FAILURE',\r\n\r\nBUSINESSCERTIFICATEREPORT_REQUEST: 'USERS_BUSINESSCERTIFICATEREPORT_REQUEST',\r\nBUSINESSCERTIFICATEREPORT_SUCCESS: 'USERS_BUSINESSCERTIFICATEREPORT_SUCCESS',\r\nBUSINESSCERTIFICATEREPORT_FAILURE: 'USERS_BUSINESSCERTIFICATEREPORT_FAILURE',\r\n\r\nBUSINESSDETAILSUMMARY_REQUEST: 'USERS_BUSINESSDETAILSUMMARY_REQUEST',\r\nBUSINESSDETAILSUMMARY_SUCCESS: 'USERS_BUSINESSDETAILSUMMARY_SUCCESS',\r\nBUSINESSDETAILSUMMARY_FAILURE: 'USERS_BUSINESSDETAILSUMMARY_FAILURE',\r\n\r\nBUSINESSNAMEREPORT_REQUEST: 'USERS_BUSINESSNAMEREPORT_REQUEST',\r\nBUSINESSNAMEREPORT_SUCCESS: 'USERS_BUSINESSNAMEREPORT_SUCCESS',\r\nBUSINESSNAMEREPORT_FAILURE: 'USERS_BUSINESSNAMEREPORT_FAILURE',\r\n\r\nPOSTBUSINESSNOTES_REQUEST: 'USERS_POSTBUSINESSNOTES_REQUEST',\r\nPOSTBUSINESSNOTES_SUCCESS: 'USERS_POSTBUSINESSNOTES_SUCCESS',\r\nPOSTBUSINESSNOTES_FAILURE: 'USERS_POSTBUSINESSNOTES_FAILURE',\r\n\r\nGETBUSINESSNOTES_REQUEST: 'USERS_GETBUSINESSNOTES_REQUEST',\r\nGETBUSINESSNOTES_SUCCESS: 'USERS_GETBUSINESSNOTES_SUCCESS',\r\nGETBUSINESSNOTES_FAILURE: 'USERS_GETBUSINESSNOTES_FAILURE',\r\n\r\nDIRECTORIDCOUNT_REQUEST: 'USERS_DIRECTORIDCOUNT_REQUEST',\r\nDIRECTORIDCOUNT_SUCCESS: 'USERS_DIRECTORIDCOUNT_SUCCESS',\r\nDIRECTORIDCOUNT_FAILURE: 'USERS_DIRECTORIDCOUNT_FAILURE',\r\n\r\nEDGECOMPANYPROFILEREPORT_REQUEST: 'USERS_EDGECOMPANYPROFILEREPORT_REQUEST',\r\nEDGECOMPANYPROFILEREPORT_SUCCESS: 'USERS_EDGECOMPANYPROFILEREPORT_SUCCESS',\r\nEDGECOMPANYPROFILEREPORT_FAILURE: 'USERS_EDGECOMPANYPROFILEREPORT_FAILURE',\r\n \r\nINDIVIDUALENTITIESWITHPAGINATION_REQUEST: 'USERS_INDIVIDUALENTITIESWITHPAGINATION_REQUEST',\r\nINDIVIDUALENTITIESWITHPAGINATION_SUCCESS: 'USERS_INDIVIDUALENTITIESWITHPAGINATION_SUCCESS',\r\nINDIVIDUALENTITIESWITHPAGINATION_FAILURE: 'USERS_INDIVIDUALENTITIESWITHPAGINATION_FAILURE',\r\n\r\n};\r\n\r\n\r\n","import { userService } from \"../services/login.servcies\";\r\nimport { userConstants } from \"../constants/login.constants\";\r\n\r\nexport const userActions = {\r\n login,\r\n logout,\r\n getAllCompany,\r\n getCompanyProfileByCode,\r\n getAllDepartement,\r\n getUnitTrustByCode,\r\n getAnnualStatement,\r\n getAnnualStatementMonthStatus,\r\n getAsicDebtStatement,\r\n getCompanyProfileReport,\r\n getMembersReport,\r\n getMembersReportDateRange,\r\n getDirectorsSecretariesReport,\r\n getAllotementJournalReport,\r\n getTransferJournalReport,\r\n getResponsibleManagerReport,\r\n getPublicOfficerReport,\r\n getDirectorsShareholdingsReport,\r\n getOfficerDetailsReport,\r\n getShareHolderDetailsReport,\r\n getDocumentHistoryDocReport,\r\n getDocumentHistoryAsicReport,\r\n getAsicDocumentTracking,\r\n getIndividualsEntities,\r\n getAllIndividualsEntities,\r\n getAllIndividualsEntitiesWithPagination,\r\n getAllJointHolders,\r\n getJointHolders,\r\n getAllBeneficialOwner,\r\n getBeneficialOwner,\r\n getCompanyReport,\r\n getQuickCompanyProfileReport,\r\n getAsicCompanyDetailReport,\r\n isUnitTrustEmpty,\r\n getOrderMonitorStatement,\r\n getDigitalSignatureStatement,\r\n getAsicDebtReport,\r\n getElectronicLodegementService,\r\n getCompaniesDebtReport,\r\n getIndividualElectronicLodegementService,\r\n getCompaniesDetailList,\r\n getFormsHistoryReport,\r\n getDirectorIdReport,\r\n getUnitTrustUnitholdersReport,\r\n getUnitTrustApplicationAllotmentJournalReport,\r\n getUnitTrustTransferJournalReport,\r\n getUnitTrustUnitholdersSummaryReport,\r\n getAsicInvoiceReport,\r\n getAsicInvoiceReportLinks,\r\n getViewCurrentAnnualStatementReport,\r\n postCompanyPhoneNumber,\r\n postCompanyEmailID,\r\n postIndividualPhoneNumber,\r\n postIndividualEmailID,\r\n postForgetpasswordEmail,\r\n postResetPassword,\r\n getDiv7ALoanReport,\r\n getForm484Information,\r\n getRegdInformation,\r\n getIndividualEntitiesProfileReport,\r\n getIndividualEntitiesOffices,\r\n postIndividualEntitiesDid,\r\n getIndividualEntitiesShares,\r\n postCompanyNotes,\r\n getAllCountries,\r\n postSignup,\r\n getUnitTrustTable,\r\n getLoggedUserInfo,\r\n postChangeOrderRequest,\r\n getClassList,\r\n getCompanyListReport,\r\n postRecentCompanyList,\r\n getRecentCompanyList,\r\n getEbinderPrimeFiles,\r\n getManageEbinderList,\r\n getEbinderLink,\r\n getEbinderCustomFileList,\r\n postEbinderCustomFileDelete,\r\n postEbinderCustomFileAdd,\r\n getEbinderCompanyList,\r\n postCreateEbinder,\r\n postChangePassword,\r\n getBusinessNameDetailList,\r\n getBusinessWelcomeReport,\r\n getBusinessCertificateReport,\r\n getBusinessNameSummary,\r\n getBusinessNameReport,\r\n postBusinessNotes,\r\n getBusinessNotes,\r\n getDirectorIdCount,\r\n getEdgeCompanyProfileReport,\r\n};\r\n/*function login(clientId, userName, password, from, history) {\r\n return (dispatch) => {\r\n dispatch(request({ userName }));\r\n userService.login(clientId, userName, password).then(\r\n (user) => {\r\n dispatch(success(user));\r\n console.log(localStorage.getItem(\"token\"));\r\n history.push(from);\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };*/\r\n\r\nfunction login(userName, password, from, history) {\r\n return (dispatch) => {\r\n dispatch(request({ userName }));\r\n userService.login(userName, password).then(\r\n (user) => {\r\n dispatch(success(user));\r\n console.log(localStorage.getItem(\"token\"));\r\n if (from) {\r\n history.push(from);\r\n }\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request(user) {\r\n return { type: userConstants.LOGIN_REQUEST, user };\r\n }\r\n function success(user) {\r\n return { type: userConstants.LOGIN_SUCCESS, user };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.LOGIN_FAILURE, error };\r\n }\r\n}\r\nfunction logout() {\r\n return (dispatch) => {\r\n dispatch(success());\r\n userService.logout();\r\n };\r\n function success() {\r\n return { type: userConstants.LOGOUT };\r\n }\r\n}\r\n\r\nfunction getAllCompany(token) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllCompany(token).then(\r\n (company) => {\r\n dispatch(success(company));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.COMPANYALL_REQUEST };\r\n }\r\n function success(company) {\r\n return { type: userConstants.COMPANYALL_SUCCESS, company };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANYALL_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getCompanyProfileByCode(code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompanyProfileByCode(code).then(\r\n (profiles) => {\r\n dispatch(success(profiles));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.COMPANYSELECTED_REQUEST };\r\n }\r\n function success(profiles) {\r\n return { type: userConstants.COMPANYSELECTED_SUCCESS, profiles };\r\n }\r\n function failure(errorCompanyProfile) {\r\n return { type: userConstants.COMPANYSELECTED_FAILURE, errorCompanyProfile };\r\n }\r\n}\r\n\r\nfunction getAllDepartement() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllDepartement().then(\r\n (departements) => {\r\n dispatch(success(departements));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.DEPARTMENTALL_REQUEST };\r\n }\r\n function success(departements) {\r\n return { type: userConstants.DEPARTMENTALL_SUCCESS, departements };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.DEPARTMENTALL_FAILURE, error };\r\n }\r\n}\r\nfunction getUnitTrustByCode(companyCode, mode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustByCode(companyCode, mode).then(\r\n (unitTrust) => {\r\n dispatch(success(unitTrust));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.UNITTRUSTALL_REQUEST };\r\n }\r\n function success(unitTrust) {\r\n return { type: userConstants.UNITTRUSTALL_SUCCESS, unitTrust };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.UNITTRUSTALL_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAnnualStatement(currentYear, selectedMonth) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAnnualStatement(currentYear, selectedMonth).then(\r\n (annualStatement) => {\r\n dispatch(success(annualStatement));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ANNUALSTATEMENT_REQUEST };\r\n }\r\n function success(annualStatement) {\r\n return { type: userConstants.ANNUALSTATEMENT_SUCCESS, annualStatement };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ANNUALSTATEMENT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAnnualStatementMonthStatus(currentYear) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAnnualStatementMonthStatus(currentYear).then(\r\n (annualStatementMonthStatus) => {\r\n dispatch(success(annualStatementMonthStatus));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ANNUALSTATEMENTMONTHSTATUS_REQUEST };\r\n }\r\n function success(annualStatementMonthStatus) {\r\n return {\r\n type: userConstants.ANNUALSTATEMENTMONTHSTATUS_SUCCESS,\r\n annualStatementMonthStatus,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ANNUALSTATEMENTMONTHSTATUS_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAsicDebtStatement() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicDebtStatement().then(\r\n (asicDebtStatement) => {\r\n dispatch(success(asicDebtStatement));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ASICDEPTSTATEMENT_REQUEST };\r\n }\r\n function success(asicDebtStatement) {\r\n return { type: userConstants.ASICDEPTSTATEMENT_SUCCESS, asicDebtStatement };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ASICDEPTSTATEMENT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getCompanyProfileReport() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompanyProfileReport().then(\r\n (companyProfileReport) => {\r\n dispatch(success(companyProfileReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.COMPANYPROFILEREPORT_REQUEST };\r\n }\r\n function success(companyProfileReport) {\r\n return {\r\n type: userConstants.COMPANYPROFILEREPORT_SUCCESS,\r\n companyProfileReport,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANYPROFILEREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getMembersReport(members, companyCode, setIsMemberLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getMembersReport(members, companyCode).then(\r\n (membersReport) => {\r\n dispatch(success(membersReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsMemberLoaded(true);\r\n return { type: userConstants.MEMBERSREPORT_REQUEST };\r\n }\r\n function success(membersReport) {\r\n setIsMemberLoaded(false);\r\n return { type: userConstants.MEMBERSREPORT_SUCCESS, membersReport };\r\n }\r\n function failure(error) {\r\n setIsMemberLoaded(false);\r\n return { type: userConstants.MEMBERSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getMembersReportDateRange(members, companyCode, setIsMemberLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getMembersReportDateRange(members, companyCode).then(\r\n (membersReport) => {\r\n dispatch(success(membersReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsMemberLoaded(true);\r\n return { type: userConstants.MEMBERSREPORT_REQUEST };\r\n }\r\n function success(membersReport) {\r\n setIsMemberLoaded(false);\r\n return { type: userConstants.MEMBERSREPORT_SUCCESS, membersReport };\r\n }\r\n function failure(error) {\r\n setIsMemberLoaded(false);\r\n return { type: userConstants.MEMBERSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDirectorsSecretariesReport(\r\n officers,\r\n companyCode,\r\n setIsDirectorAndSecretariesLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDirectorsSecretariesReport(officers, companyCode).then(\r\n (directorsSecretariesReport) => {\r\n dispatch(success(directorsSecretariesReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsDirectorAndSecretariesLoaded(true);\r\n return { type: userConstants.DIRECTORANDSECRETARIESREPORT_REQUEST };\r\n }\r\n function success(directorsSecretariesReport) {\r\n setIsDirectorAndSecretariesLoaded(false);\r\n return {\r\n type: userConstants.DIRECTORANDSECRETARIESREPORT_SUCCESS,\r\n directorsSecretariesReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsDirectorAndSecretariesLoaded(false);\r\n return { type: userConstants.DIRECTORANDSECRETARIESREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllotementJournalReport(\r\n allotmentJournal,\r\n companyCode,\r\n setIsAllotmentJournalLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllotementJournalReport(allotmentJournal, companyCode).then(\r\n (allotementJournalReport) => {\r\n dispatch(success(allotementJournalReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsAllotmentJournalLoaded(true);\r\n return { type: userConstants.ALLOTMENTJOURNALREPORT_REQUEST };\r\n }\r\n function success(allotementJournalReport) {\r\n setIsAllotmentJournalLoaded(false);\r\n return {\r\n type: userConstants.ALLOTMENTJOURNALREPORT_SUCCESS,\r\n allotementJournalReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsAllotmentJournalLoaded(false);\r\n return { type: userConstants.ALLOTMENTJOURNALREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getTransferJournalReport(\r\n transferJournal,\r\n companyCode,\r\n setIsTransferLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getTransferJournalReport(transferJournal, companyCode).then(\r\n (transferJournalReport) => {\r\n dispatch(success(transferJournalReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsTransferLoaded(true);\r\n return { type: userConstants.TRANSFERJOURNALREPORT_REQUEST };\r\n }\r\n function success(transferJournalReport) {\r\n setIsTransferLoaded(false);\r\n return {\r\n type: userConstants.TRANSFERJOURNALREPORT_REQUEST_SUCCESS,\r\n transferJournalReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsTransferLoaded(false);\r\n return { type: userConstants.TRANSFERJOURNALREPORT_REQUEST_FAILURE, error };\r\n }\r\n}\r\nfunction getResponsibleManagerReport(\r\n responsibleManager,\r\n companyCode,\r\n setIsResponsibleManagerLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .getResponsibleManagerReport(responsibleManager, companyCode)\r\n .then(\r\n (responsibleManagerReport) => {\r\n dispatch(success(responsibleManagerReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsResponsibleManagerLoaded(true);\r\n return { type: userConstants.RESPONSIBLEMANAGERREPORT_REQUEST };\r\n }\r\n function success(responsibleManagerReport) {\r\n setIsResponsibleManagerLoaded(false);\r\n return {\r\n type: userConstants.RESPONSIBLEMANAGERREPORT_SUCCESS,\r\n responsibleManagerReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsResponsibleManagerLoaded(false);\r\n return { type: userConstants.RESPONSIBLEMANAGERREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getPublicOfficerReport(\r\n publicOfficers,\r\n companyCode,\r\n setIsPublicOfficerLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getPublicOfficerReport(publicOfficers, companyCode).then(\r\n (publicOfficersReport) => {\r\n dispatch(success(publicOfficersReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsPublicOfficerLoaded(true);\r\n return { type: userConstants.PUBLICOFFICERREPORT_REQUEST };\r\n }\r\n function success(publicOfficersReport) {\r\n setIsPublicOfficerLoaded(false);\r\n return {\r\n type: userConstants.PUBLICOFFICERREPORT_SUCCESS,\r\n publicOfficersReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsPublicOfficerLoaded(false);\r\n return { type: userConstants.PUBLICOFFICERREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDirectorsShareholdingsReport(\r\n directorshareholdings,\r\n companyCode,\r\n setIsDirectorsLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .getDirectorsShareholdingsReport(directorshareholdings, companyCode)\r\n .then(\r\n (directorsShareholdingsReport) => {\r\n dispatch(success(directorsShareholdingsReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsDirectorsLoaded(true);\r\n return { type: userConstants.DIRECTORSSHAREHOLDINGSREPORT_REQUEST };\r\n }\r\n function success(directorsShareholdingsReport) {\r\n setIsDirectorsLoaded(false);\r\n return {\r\n type: userConstants.DIRECTORSSHAREHOLDINGSREPORT_SUCCESS,\r\n directorsShareholdingsReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsDirectorsLoaded(false);\r\n return { type: userConstants.DIRECTORSSHAREHOLDINGSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getOfficerDetailsReport(officerCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getOfficerDetailsReport(officerCode).then(\r\n (officerDetails) => {\r\n dispatch(success(officerDetails));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.OFFICERDETAILSREPORT_REQUEST };\r\n }\r\n function success(officerDetails) {\r\n return { type: userConstants.OFFICERDETAILSREPORT_SUCCESS, officerDetails };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.OFFICERDETAILSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getShareHolderDetailsReport(code, holderType) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getShareHolderDetailsReport(code, holderType).then(\r\n (shareHolderDetails) => {\r\n dispatch(success(shareHolderDetails));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.SHAREHOLDERDETAILSREPORT_REQUEST };\r\n }\r\n function success(shareHolderDetails) {\r\n return {\r\n type: userConstants.SHAREHOLDERDETAILSREPORT_SUCCESS,\r\n shareHolderDetails,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.SHAREHOLDERDETAILSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDocumentHistoryDocReport(rN, formType, docNo, setIsDocLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n\r\n userService\r\n .getDocumentHistoryDocReport(rN, formType, docNo, setIsDocLoaded)\r\n .then(\r\n (documentHistoryDocDetails) => {\r\n dispatch(success(documentHistoryDocDetails));\r\n },\r\n (errorDocumentHistory) => {\r\n dispatch(\r\n failure(errorDocumentHistory && errorDocumentHistory.toString())\r\n );\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n setIsDocLoaded(true);\r\n return { type: userConstants.SHAREHOLDERDETAILSREPORT_REQUEST };\r\n }\r\n function success(documentHistoryDocDetails) {\r\n setIsDocLoaded(false);\r\n return {\r\n type: userConstants.DOCUMENTHISTORYDOCREPORT_SUCCESS,\r\n documentHistoryDocDetails,\r\n };\r\n }\r\n function failure(errorDocumentHistory) {\r\n setIsDocLoaded(false);\r\n return {\r\n type: userConstants.DOCUMENTHISTORYDOCREPORT_FAILURE,\r\n errorDocumentHistory,\r\n };\r\n }\r\n}\r\n\r\nfunction getDocumentHistoryAsicReport(asicDocNo) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDocumentHistoryAsicReport(asicDocNo).then(\r\n (documentHistoryAsicDocDetails) => {\r\n dispatch(success(documentHistoryAsicDocDetails));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.DOCUMENTHISTORYASICREPORT_REQUEST };\r\n }\r\n function success(documentHistoryAsicDocDetails) {\r\n return {\r\n type: userConstants.DOCUMENTHISTORYASICREPORT_SUCCESS,\r\n documentHistoryAsicDocDetails,\r\n };\r\n }\r\n\r\n function failure(errorAsicDocumentHistory) {\r\n return {\r\n type: userConstants.DOCUMENTHISTORYASICREPORT_FAILURE,\r\n errorAsicDocumentHistory,\r\n };\r\n }\r\n}\r\n\r\nfunction getAsicDocumentTracking(code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicDocumentTracking(code).then(\r\n (asicDocumentTracking) => {\r\n dispatch(success(asicDocumentTracking));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ASICDOCUMENTTRACKING_REQUEST };\r\n }\r\n function success(asicDocumentTracking) {\r\n return {\r\n type: userConstants.ASICDOCUMENTTRACKING_SUCCESS,\r\n asicDocumentTracking,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ASICDOCUMENTTRACKING_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getIndividualsEntities(companyCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getIndividualsEntities(companyCode).then(\r\n (individualEntities) => {\r\n dispatch(success(individualEntities));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVIDUALENTITIES_REQUEST };\r\n }\r\n function success(individualEntities) {\r\n return {\r\n type: userConstants.INDIVIDUALENTITIES_SUCCESS,\r\n individualEntities,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALENTITIES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllIndividualsEntities() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllIndividualsEntities().then(\r\n (individualEntities) => {\r\n dispatch(success(individualEntities));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVIDUALENTITIES_REQUEST };\r\n }\r\n function success(individualEntities) {\r\n return {\r\n type: userConstants.INDIVIDUALENTITIES_SUCCESS,\r\n individualEntities,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALENTITIES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllIndividualsEntitiesWithPagination(search,sortBy,sortOrder,countPerPage,pageNo) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllIndividualsEntitiesWithPagination(search,sortBy,sortOrder,countPerPage,pageNo).then(\r\n (individualEntitiesWithPagination) => {\r\n dispatch(success(individualEntitiesWithPagination));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVIDUALENTITIESWITHPAGINATION_REQUEST };\r\n }\r\n function success(individualEntitiesWithPagination) {\r\n return {\r\n type: userConstants.INDIVIDUALENTITIESWITHPAGINATION_SUCCESS,\r\n individualEntitiesWithPagination,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALENTITIESWITHPAGINATION_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getJointHolders(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getJointHolders(Code).then(\r\n (jointHolders) => {\r\n dispatch(success(jointHolders));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.JOINTHOLDERS_REQUEST };\r\n }\r\n function success(jointHolders) {\r\n return { type: userConstants.JOINTHOLDERS_SUCCESS, jointHolders };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.JOINTHOLDERS_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllJointHolders() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllJointHolders().then(\r\n (jointHolders) => {\r\n dispatch(success(jointHolders));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.JOINTHOLDERS_REQUEST };\r\n }\r\n function success(jointHolders) {\r\n return { type: userConstants.JOINTHOLDERS_SUCCESS, jointHolders };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.JOINTHOLDERS_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getBeneficialOwner(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBeneficialOwner(Code).then(\r\n (beneficialOwner) => {\r\n dispatch(success(beneficialOwner));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BENEFICIALOWNER_REQUEST };\r\n }\r\n function success(beneficialOwner) {\r\n return { type: userConstants.BENEFICIALOWNER_SUCCESS, beneficialOwner };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.BENEFICIALOWNER_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllBeneficialOwner() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllBeneficialOwner().then(\r\n (beneficialOwner) => {\r\n dispatch(success(beneficialOwner));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BENEFICIALOWNER_REQUEST };\r\n }\r\n function success(beneficialOwner) {\r\n return { type: userConstants.BENEFICIALOWNER_SUCCESS, beneficialOwner };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.BENEFICIALOWNER_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getCompanyReport(printCompany, companyCode, setIsCompanyLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompanyReport(printCompany, companyCode).then(\r\n (companyReport) => {\r\n dispatch(success(companyReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsCompanyLoaded(true);\r\n return { type: userConstants.COMPANYREPORT_REQUEST };\r\n }\r\n function success(companyReport) {\r\n setIsCompanyLoaded(false);\r\n return {\r\n type: userConstants.COMPANYREPORT_SUCCESS,\r\n companyReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsCompanyLoaded(false);\r\n return { type: userConstants.COMPANYREPORT_FAILURE, error };\r\n }\r\n}\r\nfunction getQuickCompanyProfileReport(companyCode, setIsQuickCompanyLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getQuickCompanyProfileReport(companyCode).then(\r\n (quickCompanyProfileReport) => {\r\n dispatch(success(quickCompanyProfileReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsQuickCompanyLoaded(true);\r\n return { type: userConstants.QUICKCOMPANYPROFILEREPORT_REQUEST };\r\n }\r\n function success(quickCompanyProfileReport) {\r\n setIsQuickCompanyLoaded(false);\r\n return {\r\n type: userConstants.QUICKCOMPANYPROFILEREPORT_SUCCESS,\r\n quickCompanyProfileReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsQuickCompanyLoaded(false);\r\n return { type: userConstants.QUICKCOMPANYPROFILEREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAsicCompanyDetailReport(\r\n asicCompanyDetail,\r\n companyCode,\r\n setIsASICCompanyLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicCompanyDetailReport(asicCompanyDetail, companyCode).then(\r\n (asicCompanyDetailReport) => {\r\n dispatch(success(asicCompanyDetailReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsASICCompanyLoaded(true);\r\n return { type: userConstants.ASICCOMPANYDETAILREPORT_REQUEST };\r\n }\r\n function success(asicCompanyDetailReport) {\r\n setIsASICCompanyLoaded(false);\r\n return {\r\n type: userConstants.ASICCOMPANYDETAILREPORT_SUCCESS,\r\n asicCompanyDetailReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsASICCompanyLoaded(false);\r\n return { type: userConstants.ASICCOMPANYDETAILREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction isUnitTrustEmpty() {\r\n return userService.isUnitTrustEmpty();\r\n}\r\n\r\nfunction getOrderMonitorStatement() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getOrderMonitorStatement().then(\r\n (orderMonitorStatement) => {\r\n dispatch(success(orderMonitorStatement));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ORDERMONITORSTATEMENT_REQUEST };\r\n }\r\n function success(orderMonitorStatement) {\r\n return {\r\n type: userConstants.ORDERMONITORSTATEMENT_SUCCESS,\r\n orderMonitorStatement,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ORDERMONITORSTATEMENT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDigitalSignatureStatement() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDigitalSignatureStatement().then(\r\n (digitalSignatureStatement) => {\r\n dispatch(success(digitalSignatureStatement));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.DIGITALSIGNATURESTATEMENT_REQUEST };\r\n }\r\n function success(digitalSignatureStatement) {\r\n return {\r\n type: userConstants.DIGITALSIGNATURESTATEMENT_SUCCESS,\r\n digitalSignatureStatement,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.DIGITALSIGNATURESTATEMENT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAsicDebtReport(ACN, setIsASICDeptLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicDebtReport(ACN).then(\r\n (asicDebtReport) => {\r\n dispatch(success(asicDebtReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsASICDeptLoaded(true);\r\n return { type: userConstants.ASICDEBTREPORT_REQUEST };\r\n }\r\n function success(asicDebtReport) {\r\n setIsASICDeptLoaded(false);\r\n return {\r\n type: userConstants.ASICDEBTREPORT_SUCCESS,\r\n asicDebtReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsASICDeptLoaded(false);\r\n return { type: userConstants.ASICDEBTREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getElectronicLodegementService() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getElectronicLodegementService().then(\r\n (electronicLodgementService) => {\r\n dispatch(success(electronicLodgementService));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ELECTRONICLODGEMENTSERVICE_REQUEST };\r\n }\r\n function success(electronicLodgementService) {\r\n return {\r\n type: userConstants.ELECTRONICLODGEMENTSERVICE_SUCCESS,\r\n electronicLodgementService,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.ELECTRONICLODGEMENTSERVICE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getCompaniesDebtReport(details, setIsViewCompanyReportLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompaniesDebtReport(details).then(\r\n (companiesDebtReport) => {\r\n dispatch(success(companiesDebtReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsViewCompanyReportLoaded(true);\r\n return { type: userConstants.COMPANIESDEBTREPORT_REQUEST };\r\n }\r\n function success(companiesDebtReport) {\r\n setIsViewCompanyReportLoaded(false);\r\n return {\r\n type: userConstants.COMPANIESDEBTREPORT_SUCCESS,\r\n companiesDebtReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsViewCompanyReportLoaded(false);\r\n return { type: userConstants.COMPANIESDEBTREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getIndividualElectronicLodegementService(companyCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getIndividualElectronicLodegementService(companyCode).then(\r\n (individualElectronicLodgementService) => {\r\n dispatch(success(individualElectronicLodgementService));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_REQUEST };\r\n }\r\n function success(individualElectronicLodgementService) {\r\n return {\r\n type: userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_SUCCESS,\r\n individualElectronicLodgementService,\r\n };\r\n }\r\n function failure(error) {\r\n return {\r\n type: userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction getCompaniesDetailList() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompaniesDetailList().then(\r\n (companiesDetailList) => {\r\n dispatch(success(companiesDetailList));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.COMPANIESDETAILLIST_REQUEST };\r\n }\r\n function success(companiesDetailList) {\r\n return {\r\n type: userConstants.COMPANIESDETAILLIST_SUCCESS,\r\n companiesDetailList,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANIESDETAILLIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getFormsHistoryReport(Code, setIsViewFormHistoryLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getFormsHistoryReport(Code).then(\r\n (formsHistoryReport) => {\r\n dispatch(success(formsHistoryReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsViewFormHistoryLoaded(true);\r\n return { type: userConstants.FORMSHISTORYREPORT_REQUEST };\r\n }\r\n function success(formsHistoryReport) {\r\n setIsViewFormHistoryLoaded(false);\r\n return {\r\n type: userConstants.FORMSHISTORYREPORT_SUCCESS,\r\n formsHistoryReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsViewFormHistoryLoaded(false);\r\n return { type: userConstants.FORMSHISTORYREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDirectorIdReport(didList,setIsLoaded,typedoc) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDirectorIdReport(didList,typedoc).then(\r\n (directorIdReport) => {\r\n dispatch(success(directorIdReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsLoaded(true);\r\n return { type: userConstants.DIRECTORIDREPORT_REQUEST };\r\n }\r\n function success(directorIdReport) {\r\n setIsLoaded(false);\r\n return {\r\n type: userConstants.DIRECTORIDREPORT_SUCCESS,\r\n directorIdReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsLoaded(false);\r\n return { type: userConstants.DIRECTORIDREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAsicInvoiceReport(\r\n companyCode,\r\n companyName,\r\n setIsASICInvoiceLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicInvoiceReport(companyCode, companyName).then(\r\n (asicInvoiceReport) => {\r\n dispatch(success(asicInvoiceReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsASICInvoiceLoaded(true);\r\n return { type: userConstants.ASICINVOICEREPORT_REQUEST };\r\n }\r\n function success(asicInvoiceReport) {\r\n setIsASICInvoiceLoaded(false);\r\n return {\r\n type: userConstants.ASICINVOICEREPORT_SUCCESS,\r\n asicInvoiceReport,\r\n };\r\n }\r\n\r\n function failure(errorAsicInvoiceReport) {\r\n setIsASICInvoiceLoaded(false);\r\n return {\r\n type: userConstants.ASICINVOICEREPORT_FAILURE,\r\n errorAsicInvoiceReport,\r\n };\r\n }\r\n}\r\n\r\nfunction getAsicInvoiceReportLinks(companyCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAsicInvoiceReportLinks(companyCode).then(\r\n (asicInvoiceReportLinks) => {\r\n dispatch(success(asicInvoiceReportLinks));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.ASICINVOICEREPORTLINK_REQUEST };\r\n }\r\n function success(asicInvoiceReportLinks) {\r\n return {\r\n type: userConstants.ASICINVOICEREPORTLINK_SUCCESS,\r\n asicInvoiceReportLinks,\r\n };\r\n }\r\n\r\n function failure(errorAsicInvoiceReportLink) {\r\n return {\r\n type: userConstants.ASICINVOICEREPORTLINK_FAILURE,\r\n errorAsicInvoiceReportLink,\r\n };\r\n }\r\n}\r\n\r\nfunction getViewCurrentAnnualStatementReport(\r\n companyCode,\r\n companyName,\r\n setIsViewCurrentAnnualStatementLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .getViewCurrentAnnualStatementReport(companyCode, companyName)\r\n .then(\r\n (viewCurrentAnnualStatementReport) => {\r\n dispatch(success(viewCurrentAnnualStatementReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsViewCurrentAnnualStatementLoaded(true);\r\n return { type: userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_REQUEST };\r\n }\r\n function success(viewCurrentAnnualStatementReport) {\r\n setIsViewCurrentAnnualStatementLoaded(false);\r\n return {\r\n type: userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_SUCCESS,\r\n viewCurrentAnnualStatementReport,\r\n };\r\n }\r\n\r\n function failure(errorViewCurrentAnnualStatement) {\r\n setIsViewCurrentAnnualStatementLoaded(false);\r\n return {\r\n type: userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_FAILURE,\r\n errorViewCurrentAnnualStatement,\r\n };\r\n }\r\n}\r\n\r\nfunction getUnitTrustUnitholdersReport(unitTrustRN, module) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustUnitholdersReport(unitTrustRN, module).then(\r\n (unitTrustUnitholdersReport) => {\r\n dispatch(success(unitTrustUnitholdersReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.UNITTRUSTUNITHOLDERSREPORT_REQUEST };\r\n }\r\n function success(unitTrustUnitholdersReport) {\r\n return {\r\n type: userConstants.UNITTRUSTUNITHOLDERSREPORT_SUCCESS,\r\n unitTrustUnitholdersReport,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.UNITTRUSTUNITHOLDERSREPORT_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getUnitTrustApplicationAllotmentJournalReport(unitTrustRN, module) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustApplicationAllotmentJournalReport(unitTrustRN, module).then(\r\n (unitTrustApplicationAllotmentJournalReport) => {\r\n dispatch(success(unitTrustApplicationAllotmentJournalReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return {\r\n type: userConstants.UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_REQUEST,\r\n };\r\n }\r\n function success(unitTrustApplicationAllotmentJournalReport) {\r\n return {\r\n type: userConstants.UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_SUCCESS,\r\n unitTrustApplicationAllotmentJournalReport,\r\n };\r\n }\r\n function failure(error) {\r\n return {\r\n type: userConstants.UNITTRUSTAPPLICATIONALLOTMENTJOURNALREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction getUnitTrustTransferJournalReport(unitTrustRN, module) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustTransferJournalReport(unitTrustRN, module).then(\r\n (unitTrustTransferJournalReport) => {\r\n dispatch(success(unitTrustTransferJournalReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.UNITTRUSTTRANSFERJOURNALREPORT_REQUEST };\r\n }\r\n function success(unitTrustTransferJournalReport) {\r\n return {\r\n type: userConstants.UNITTRUSTTRANSFERJOURNALREPORT_SUCCESS,\r\n unitTrustTransferJournalReport,\r\n };\r\n }\r\n function failure(error) {\r\n return {\r\n type: userConstants.UNITTRUSTTRANSFERJOURNALREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction getUnitTrustUnitholdersSummaryReport(unitTrustRN, module) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustUnitholdersSummaryReport(unitTrustRN, module).then(\r\n (unitTrustUnitholdersSummaryReport) => {\r\n dispatch(success(unitTrustUnitholdersSummaryReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.UNITTRUSTUNITHOLDERSSUMMARYREPORT_REQUEST };\r\n }\r\n function success(unitTrustUnitholdersSummaryReport) {\r\n return {\r\n type: userConstants.UNITTRUSTUNITHOLDERSSUMMARYREPORT_SUCCESS,\r\n unitTrustUnitholdersSummaryReport,\r\n };\r\n }\r\n function failure(error) {\r\n return {\r\n type: userConstants.UNITTRUSTUNITHOLDERSSUMMARYREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction postCompanyPhoneNumber(RN, mobileNumber) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postCompanyPhoneNumber(RN, mobileNumber).then(\r\n (CompanyPhoneNumberUpdate) => {\r\n dispatch(success(CompanyPhoneNumberUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.COMPANYPHONENUMBERUPDATE_REQUEST };\r\n }\r\n function success(CompanyPhoneNumberUpdate) {\r\n return {\r\n type: userConstants.COMPANYPHONENUMBERUPDATE_SUCCESS,\r\n CompanyPhoneNumberUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANYPHONENUMBERUPDATE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postCompanyEmailID(RN, emailId) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postCompanyEmailID(RN, emailId).then(\r\n (CompanyEmailIdUpdate) => {\r\n dispatch(success(CompanyEmailIdUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.COMPANYEMAILIDUPDATE_REQUEST };\r\n }\r\n function success(CompanyEmailIdUpdate) {\r\n return {\r\n type: userConstants.COMPANYEMAILIDUPDATE_SUCCESS,\r\n CompanyEmailIdUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANYEMAILIDUPDATE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postIndividualPhoneNumber(RN, mobileNumber) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postIndividualPhoneNumber(RN, mobileNumber).then(\r\n (individualPhoneNumberUpdate) => {\r\n dispatch(success(individualPhoneNumberUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.INDIVIDUALPHONENUMBERUPDATE_REQUEST };\r\n }\r\n function success(individualPhoneNumberUpdate) {\r\n return {\r\n type: userConstants.INDIVIDUALPHONENUMBERUPDATE_SUCCESS,\r\n individualPhoneNumberUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALPHONENUMBERUPDATE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postIndividualEmailID(RN, emailId,detail) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postIndividualEmailID(RN, emailId,detail).then(\r\n (individualEmailIdUpdate) => {\r\n dispatch(success(individualEmailIdUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.INDIVIDUALEMAILIDUPDATE_REQUEST };\r\n }\r\n function success(individualEmailIdUpdate) {\r\n return {\r\n type: userConstants.INDIVIDUALEMAILIDUPDATE_SUCCESS,\r\n individualEmailIdUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALEMAILIDUPDATE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postForgetpasswordEmail(userName) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postForgetpasswordEmail(userName).then(\r\n (forgetPasswordEmail) => {\r\n dispatch(success(forgetPasswordEmail));\r\n },\r\n (errorForgetPasswordEmail) => {\r\n dispatch(failure(errorForgetPasswordEmail.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.FORGETPASSWORDEMAIL_REQUEST };\r\n }\r\n function success(forgetPasswordEmail) {\r\n return {\r\n type: userConstants.FORGETPASSWORDEMAIL_SUCCESS,\r\n forgetPasswordEmail,\r\n };\r\n }\r\n function failure(errorForgetPasswordEmail) {\r\n return {\r\n type: userConstants.FORGETPASSWORDEMAIL_FAILURE,\r\n errorForgetPasswordEmail,\r\n };\r\n }\r\n}\r\n\r\nfunction postResetPassword(userName, passWord, confirmPassword, rCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .postResetPassword(userName, passWord, confirmPassword, rCode)\r\n .then(\r\n (resetPassword) => {\r\n dispatch(success(resetPassword));\r\n },\r\n (errorResetPassword) => {\r\n dispatch(failure(errorResetPassword.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.RESETPASSWORD_REQUEST };\r\n }\r\n function success(resetPassword) {\r\n return {\r\n type: userConstants.RESETPASSWORD_SUCCESS,\r\n resetPassword,\r\n };\r\n }\r\n function failure(errorResetPassword) {\r\n return { type: userConstants.RESETPASSWORD_FAILURE, errorResetPassword };\r\n }\r\n}\r\n\r\nfunction getDiv7ALoanReport(companyCode, reportParam, setIsDiv7AReportLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDiv7ALoanReport(companyCode, reportParam).then(\r\n (div7ALoanReport) => {\r\n dispatch(success(div7ALoanReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsDiv7AReportLoaded(true);\r\n return { type: userConstants.DIV7ALOANREPORT_REQUEST };\r\n }\r\n function success(div7ALoanReport) {\r\n setIsDiv7AReportLoaded(false);\r\n return {\r\n type: userConstants.DIV7ALOANREPORT_SUCCESS,\r\n div7ALoanReport,\r\n };\r\n }\r\n\r\n function failure(errorDiv7ALoanReport) {\r\n setIsDiv7AReportLoaded(false);\r\n return {\r\n type: userConstants.DIV7ALOANREPORT_FAILURE,\r\n errorDiv7ALoanReport,\r\n };\r\n }\r\n}\r\n\r\nfunction getForm484Information(rN, docNo, setIsForm484Loaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getForm484Information(rN, docNo).then(\r\n (form484Information) => {\r\n dispatch(success(form484Information));\r\n },\r\n (errorForm484Information) => {\r\n dispatch(failure(errorForm484Information.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n setIsForm484Loaded(true);\r\n return { type: userConstants.FORM484INFORMATION_REQUEST };\r\n }\r\n function success(form484Information) {\r\n setIsForm484Loaded(false);\r\n return {\r\n type: userConstants.FORM484INFORMATION_SUCCESS,\r\n form484Information,\r\n };\r\n }\r\n function failure(errorForm484Information) {\r\n setIsForm484Loaded(false);\r\n return {\r\n type: userConstants.FORM484INFORMATION_FAILURE,\r\n errorForm484Information,\r\n };\r\n }\r\n}\r\n\r\nfunction getRegdInformation(ACN) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getRegdInformation(ACN).then(\r\n (regdInformation) => {\r\n dispatch(success(regdInformation));\r\n },\r\n (errorRegdInformation) => {\r\n dispatch(failure(errorRegdInformation.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.REGDINFORMATION_REQUEST };\r\n }\r\n function success(regdInformation) {\r\n return {\r\n type: userConstants.REGDINFORMATION_SUCCESS,\r\n regdInformation,\r\n };\r\n }\r\n function failure(errorForm484Information) {\r\n return {\r\n type: userConstants.REGDINFORMATION_FAILURE,\r\n errorForm484Information,\r\n };\r\n }\r\n}\r\n\r\nfunction getIndividualEntitiesProfileReport(Code, setIsProfileReportLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getIndividualEntitiesProfileReport(Code).then(\r\n (individualEntitiesProfileReport) => {\r\n dispatch(success(individualEntitiesProfileReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsProfileReportLoaded(true);\r\n return { type: userConstants.INDIVDUALENTITIESPROFILEREPORT_REQUEST };\r\n }\r\n function success(individualEntitiesProfileReport) {\r\n setIsProfileReportLoaded(false);\r\n return {\r\n type: userConstants.INDIVDUALENTITIESPROFILEREPORT_SUCCESS,\r\n individualEntitiesProfileReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsProfileReportLoaded(false);\r\n return {\r\n type: userConstants.INDIVDUALENTITIESPROFILEREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction getIndividualEntitiesOffices(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getIndividualEntitiesOffices(Code).then(\r\n (individualEntitiesOffices) => {\r\n dispatch(success(individualEntitiesOffices));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVIDUALENTITIESOFFICES_REQUEST };\r\n }\r\n function success(individualEntitiesOffices) {\r\n return {\r\n type: userConstants.INDIVIDUALENTITIESOFFICES_SUCCESS,\r\n individualEntitiesOffices,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVIDUALENTITIESOFFICES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getIndividualEntitiesShares(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getIndividualEntitiesShares(Code).then(\r\n (individualEntitiesShares) => {\r\n dispatch(success(individualEntitiesShares));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.INDIVDUALENTITIESSHARES_REQUEST };\r\n }\r\n function success(individualEntitiesShares) {\r\n return {\r\n type: userConstants.INDIVDUALENTITIESSHARES_SUCCESS,\r\n individualEntitiesShares,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.INDIVDUALENTITIESSHARES_FAILURE, error };\r\n }\r\n}\r\nfunction postIndividualEntitiesDid(RN, did) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postIndividualEntitiesDid(RN, did).then(\r\n (didUpdate) => {\r\n dispatch(success(didUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.INDIVDUALENTITIESDID_REQUEST };\r\n }\r\n function success(didUpdate) {\r\n return {\r\n type: userConstants.INDIVDUALENTITIESDID_SUCCESS,\r\n didUpdate,\r\n };\r\n }\r\n function failure(errorDidUpdate) {\r\n return { type: userConstants.INDIVDUALENTITIESDID_FAILURE, errorDidUpdate };\r\n }\r\n}\r\n\r\nfunction postCompanyNotes(RN, notes) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postCompanyNotes(RN, notes).then(\r\n (notesUpdate) => {\r\n dispatch(success(notesUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.COMPANYNOTES_REQUEST };\r\n }\r\n function success(notesUpdate) {\r\n return {\r\n type: userConstants.COMPANYNOTES_SUCCESS,\r\n notesUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COMPANYNOTES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getAllCountries() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getAllCountries().then(\r\n (countries) => {\r\n dispatch(success(countries));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.COUNTRIESALL_REQUEST };\r\n }\r\n function success(countries) {\r\n return { type: userConstants.COUNTRIESALL_SUCCESS, countries };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.COUNTRIESALL_FAILURE, error };\r\n }\r\n}\r\nfunction postSignup(firstName, lastName, phone, email, organisationName) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .postSignup(firstName, lastName, phone, email, organisationName)\r\n .then(\r\n (signUp) => {\r\n dispatch(success(signUp));\r\n },\r\n (errorSignup) => {\r\n dispatch(failure(errorSignup.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.SIGNUP_REQUEST };\r\n }\r\n function success(signUp) {\r\n return {\r\n type: userConstants.SIGNUP_SUCCESS,\r\n signUp,\r\n };\r\n }\r\n function failure(errorSignup) {\r\n return { type: userConstants.SIGNUP_FAILURE, errorSignup };\r\n }\r\n}\r\n\r\nfunction getUnitTrustTable(department) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getUnitTrustTable(department).then(\r\n (unitTrustTable) => {\r\n dispatch(success(unitTrustTable));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.UNITTRUSTTABLE_REQUEST };\r\n }\r\n function success(unitTrustTable) {\r\n return { type: userConstants.UNITTRUSTTABLE_SUCCESS, unitTrustTable };\r\n }\r\n function failure(unitTrustTableError) {\r\n return { type: userConstants.UNITTRUSTTABLE_FAILURE, unitTrustTableError };\r\n }\r\n}\r\n\r\nfunction getLoggedUserInfo() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getLoggedUserInfo().then(\r\n (loggedUserInfo) => {\r\n dispatch(success(loggedUserInfo));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.LOGINUSERINFO_REQUEST };\r\n }\r\n function success(loggedUserInfo) {\r\n return { type: userConstants.LOGINUSERINFO_SUCCESS, loggedUserInfo };\r\n }\r\n function failure(loggedUserInfoError) {\r\n return { type: userConstants.LOGINUSERINFO_FAILURE, loggedUserInfoError };\r\n }\r\n}\r\n\r\nfunction postChangeOrderRequest(changeOrder, setIsChangeOrder, setIsSuccess) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postChangeOrderRequest(changeOrder).then(\r\n (changeOrderRequest) => {\r\n dispatch(success(changeOrderRequest));\r\n },\r\n (changeOrderError) => {\r\n dispatch(failure(changeOrderError.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n setIsChangeOrder(true);\r\n setIsSuccess(false);\r\n return { type: userConstants.CHANGEORDER_REQUEST };\r\n }\r\n function success(changeOrderRequest) {\r\n setIsChangeOrder(false);\r\n setIsSuccess(true);\r\n return {\r\n type: userConstants.CHANGEORDER_SUCCESS,\r\n changeOrderRequest,\r\n };\r\n }\r\n function failure(changeOrderError) {\r\n setIsChangeOrder(false);\r\n setIsSuccess(false);\r\n return { type: userConstants.CHANGEORDER_FAILURE, changeOrderError };\r\n }\r\n}\r\n\r\nfunction getClassList(code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getClassList(code).then(\r\n (classListInfo) => {\r\n dispatch(success(classListInfo));\r\n },\r\n (classlistError) => {\r\n dispatch(failure(classlistError.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.CLASSLIST_REQUEST };\r\n }\r\n function success(classListInfo) {\r\n return { type: userConstants.CLASSLIST_SUCCESS, classListInfo };\r\n }\r\n function failure(classlistError) {\r\n return { type: userConstants.CLASSLIST_FAILURE, classlistError };\r\n }\r\n}\r\n\r\nfunction getCompanyListReport(companyList, companyCode, setIsCompanyList) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getCompanyListReport(companyList, companyCode).then(\r\n (companyListReport) => {\r\n dispatch(success(companyListReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsCompanyList(true);\r\n return { type: userConstants.COMPANYLISTSREPORT_REQUEST };\r\n }\r\n function success(companyListReport) {\r\n setIsCompanyList(false);\r\n return {\r\n type: userConstants.COMPANYLISTSREPORT_SUCCESS,\r\n companyListReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsCompanyList(false);\r\n return { type: userConstants.COMPANYLISTSREPORT_FAILURE, error };\r\n }\r\n}\r\nfunction postRecentCompanyList(userName, clientId, deptCode, ACN) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postRecentCompanyList(userName, clientId, deptCode, ACN).then(\r\n (postRecentCompanyLIst) => {\r\n dispatch(success(postRecentCompanyLIst));\r\n },\r\n (errorPostRecentCompanyLIst) => {\r\n dispatch(failure(errorPostRecentCompanyLIst));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.POSTRECENTCOMPANYLIST_REQUEST };\r\n }\r\n function success(postRecentCompanyLIst) {\r\n return {\r\n type: userConstants.POSTRECENTCOMPANYLIST_SUCCESS,\r\n postRecentCompanyLIst,\r\n };\r\n }\r\n function failure(errorPostRecentCompanyLIst) {\r\n return {\r\n type: userConstants.POSTRECENTCOMPANYLIST_FAILURE,\r\n errorPostRecentCompanyLIst,\r\n };\r\n }\r\n}\r\n\r\nfunction getRecentCompanyList(userName, clientId, deptCode) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getRecentCompanyList(clientId, userName, deptCode).then(\r\n (recentCompanyList) => {\r\n dispatch(success(recentCompanyList));\r\n },\r\n (getRecentCompanyListError) => {\r\n dispatch(failure(getRecentCompanyListError));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.GETRECENTCOMPANYLIST_REQUEST };\r\n }\r\n function success(recentCompanyList) {\r\n return {\r\n type: userConstants.GETRECENTCOMPANYLIST_SUCCESS,\r\n recentCompanyList,\r\n };\r\n }\r\n function failure(getRecentCompanyListError) {\r\n return {\r\n type: userConstants.GETRECENTCOMPANYLIST_FAILURE,\r\n getRecentCompanyListError,\r\n };\r\n }\r\n}\r\n\r\nfunction getEbinderPrimeFiles(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getEbinderPrimeFiles(Code).then(\r\n (ebinderPrimeFileList) => {\r\n dispatch(success(ebinderPrimeFileList));\r\n },\r\n (error) => {\r\n dispatch(failure(error));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.GETEBINDERPRIMEFILELIST_REQUEST };\r\n }\r\n function success(ebinderPrimeFileList) {\r\n return {\r\n type: userConstants.GETEBINDERPRIMEFILELIST_SUCCESS,\r\n ebinderPrimeFileList,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.GETEBINDERPRIMEFILELIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getManageEbinderList(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getManageEbinderList(Code).then(\r\n (manageEbinderList) => {\r\n dispatch(success(manageEbinderList));\r\n },\r\n (error) => {\r\n dispatch(failure(error));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.MANAGEEBINDERLIST_REQUEST };\r\n }\r\n function success(manageEbinderList) {\r\n return { type: userConstants.MANAGEEBINDERLIST_SUCCESS, manageEbinderList };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.MANAGEEBINDERLIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getEbinderLink(Code, binderId, setIsEbinderLinkLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getEbinderLink(Code, binderId).then(\r\n (eBinderLink) => {\r\n dispatch(success(eBinderLink));\r\n },\r\n (error) => {\r\n dispatch(failure(error));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsEbinderLinkLoaded(true);\r\n return { type: userConstants.EBINDERLINKS_REQUEST };\r\n }\r\n function success(eBinderLink) {\r\n setIsEbinderLinkLoaded(false);\r\n return { type: userConstants.EBINDERLINKS_SUCCESS, eBinderLink };\r\n }\r\n function failure(error) {\r\n setIsEbinderLinkLoaded(false);\r\n return { type: userConstants.EBINDERLINKS_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getEbinderCustomFileList(Code) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getEbinderCustomFileList(Code).then(\r\n (ebinderCustomFileList) => {\r\n dispatch(success(ebinderCustomFileList));\r\n },\r\n (error) => {\r\n dispatch(failure(error));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.EBINDERCUSTOMFILELIST_REQUEST };\r\n }\r\n function success(ebinderCustomFileList) {\r\n return {\r\n type: userConstants.EBINDERCUSTOMFILELIST_SUCCESS,\r\n ebinderCustomFileList,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.EBINDERCUSTOMFILELIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postEbinderCustomFileDelete(Code, fileName) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postEbinderCustomFileDelete(Code, fileName).then(\r\n (ebinderCustomFileDelete) => {\r\n dispatch(success(ebinderCustomFileDelete));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.EBINDERCUSTOMFILEDELETE_REQUEST };\r\n }\r\n function success(ebinderCustomFileDelete) {\r\n return {\r\n type: userConstants.EBINDERCUSTOMFILEDELETE_SUCCESS,\r\n ebinderCustomFileDelete,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.EBINDERCUSTOMFILEDELETE_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postEbinderCustomFileAdd(Code, formdata, setErrors, setIsUploading) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postEbinderCustomFileAdd(Code, formdata).then(\r\n (ebinderCustomFileAdd) => {\r\n dispatch(success(ebinderCustomFileAdd));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n setIsUploading(true);\r\n return { type: userConstants.EBINDERCUSTOMFILEADD_REQUEST };\r\n }\r\n function success(ebinderCustomFileAdd) {\r\n setIsUploading(false);\r\n setErrors(ebinderCustomFileAdd);\r\n return {\r\n type: userConstants.EBINDERCUSTOMFILEADD_SUCCESS,\r\n ebinderCustomFileAdd,\r\n };\r\n }\r\n function failure(error) {\r\n setIsUploading(false);\r\n return { type: userConstants.EBINDERCUSTOMFILEADD_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getEbinderCompanyList() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getEbinderCompanyList().then(\r\n (ebinderCompanyList) => {\r\n dispatch(success(ebinderCompanyList));\r\n },\r\n (error) => {\r\n dispatch(failure(error));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.EBINDERCOMPANYLIST_REQUEST };\r\n }\r\n function success(ebinderCompanyList) {\r\n return {\r\n type: userConstants.EBINDERCOMPANYLIST_SUCCESS,\r\n ebinderCompanyList,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.EBINDERCOMPANYLIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postCreateEbinder(\r\n Code,\r\n primeFileDocuments,\r\n companyRegister,\r\n customFileList,\r\n setIsCreateEBinderLoaded\r\n) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .postCreateEbinder(\r\n Code,\r\n primeFileDocuments,\r\n companyRegister,\r\n customFileList\r\n )\r\n .then(\r\n (ebinderOrderRequest) => {\r\n dispatch(success(ebinderOrderRequest));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n setIsCreateEBinderLoaded(true);\r\n return { type: userConstants.EBINDERORDER_REQUEST };\r\n }\r\n function success(ebinderOrderRequest) {\r\n setIsCreateEBinderLoaded(false);\r\n\r\n return {\r\n type: userConstants.EBINDERORDER_SUCCESS,\r\n ebinderOrderRequest,\r\n };\r\n }\r\n function failure(error) {\r\n setIsCreateEBinderLoaded(false);\r\n return { type: userConstants.EBINDERORDER_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction postChangePassword(clientId, userId,oldPassword,passWord, confirmPassword) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService\r\n .postChangePassword(clientId, userId,oldPassword,passWord, confirmPassword)\r\n .then(\r\n (changePassword) => {\r\n dispatch(success(changePassword));\r\n },\r\n (errorChangePassword) => {\r\n dispatch(failure(errorChangePassword.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.CHANGEPASSWORD_REQUEST };\r\n }\r\n function success(changePassword) {\r\n return {\r\n type: userConstants.CHANGEPASSWORD_SUCCESS,\r\n changePassword,\r\n };\r\n }\r\n function failure(errorChangePassword) {\r\n return { type: userConstants.CHANGEPASSWORD_FAILURE, errorChangePassword };\r\n }\r\n}\r\n\r\n\r\nfunction getBusinessNameDetailList() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessNameDetailList().then(\r\n (businessNameDetailList) => {\r\n dispatch(success(businessNameDetailList));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BUSINESSNAMEDETAILLIST_REQUEST };\r\n }\r\n function success(businessNameDetailList) {\r\n return {\r\n type: userConstants.BUSINESSNAMEDETAILLIST_SUCCESS,\r\n businessNameDetailList,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.BUSINESSNAMEDETAILLIST_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getBusinessWelcomeReport(reportParam) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessWelcomeReport( reportParam).then(\r\n (businessNameWelcomeReport) => {\r\n dispatch(success(businessNameWelcomeReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BUSINESSWELCOMEREPORT_REQUEST };\r\n }\r\n function success(businessNameWelcomeReport) {\r\n return {\r\n type: userConstants.BUSINESSWELCOMEREPORT_SUCCESS,\r\n businessNameWelcomeReport,\r\n };\r\n }\r\n\r\n function failure(error) {\r\n \r\n return {\r\n type: userConstants.BUSINESSWELCOMEREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\n\r\nfunction getBusinessCertificateReport(reportParam) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessCertificateReport( reportParam).then(\r\n (businessCertificateReport) => {\r\n dispatch(success(businessCertificateReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BUSINESSCERTIFICATEREPORT_REQUEST };\r\n }\r\n function success(businessCertificateReport) {\r\n return {\r\n type: userConstants.BUSINESSCERTIFICATEREPORT_SUCCESS,\r\n businessCertificateReport,\r\n };\r\n }\r\n\r\n function failure(error) {\r\n \r\n return {\r\n type: userConstants.BUSINESSCERTIFICATEREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\nfunction getBusinessNameSummary(rn) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessNameSummary(rn).then(\r\n (businessNameSummary) => {\r\n dispatch(success(businessNameSummary));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BUSINESSDETAILSUMMARY_REQUEST };\r\n }\r\n function success(businessNameSummary) {\r\n return {\r\n type: userConstants.BUSINESSDETAILSUMMARY_SUCCESS,\r\n businessNameSummary,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.BUSINESSDETAILSUMMARY_FAILURE, error };\r\n }\r\n}\r\n\r\n\r\nfunction getBusinessNameReport(reportParam) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessNameReport( reportParam).then(\r\n (businessNameReport) => {\r\n dispatch(success(businessNameReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.BUSINESSNAMEREPORT_REQUEST };\r\n }\r\n function success(businessNameReport) {\r\n return {\r\n type: userConstants.BUSINESSNAMEREPORT_SUCCESS,\r\n businessNameReport,\r\n };\r\n }\r\n\r\n function failure(error) {\r\n \r\n return {\r\n type: userConstants.BUSINESSNAMEREPORT_FAILURE,\r\n error,\r\n };\r\n }\r\n}\r\n\r\n\r\nfunction postBusinessNotes(identifier, notes) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.postBusinessNotes(identifier, notes).then(\r\n (businessNotesUpdate) => {\r\n dispatch(success(businessNotesUpdate));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n\r\n function request() {\r\n return { type: userConstants.POSTBUSINESSNOTES_REQUEST };\r\n }\r\n function success(businessNotesUpdate) {\r\n return {\r\n type: userConstants.POSTBUSINESSNOTES_SUCCESS,\r\n businessNotesUpdate,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.POSTBUSINESSNOTES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getBusinessNotes(identifier) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getBusinessNotes(identifier).then(\r\n (businessNotes) => {\r\n dispatch(success(businessNotes));\r\n },\r\n (error) => {\r\n dispatch(failure(error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n return { type: userConstants.GETBUSINESSNOTES_REQUEST };\r\n }\r\n function success(businessNotes) {\r\n return { type: userConstants.GETBUSINESSNOTES_SUCCESS, businessNotes };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.GETBUSINESSNOTES_FAILURE, error };\r\n }\r\n}\r\n\r\nfunction getDirectorIdCount() {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getDirectorIdCount().then(\r\n (directorIdCount) => {\r\n dispatch(success(directorIdCount));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n \r\n return { type: userConstants.DIRECTORIDCOUNT_REQUEST};\r\n }\r\n function success(directorIdCount) {\r\n return {\r\n type: userConstants.DIRECTORIDCOUNT_SUCCESS,\r\n directorIdCount,\r\n };\r\n }\r\n function failure(error) {\r\n return { type: userConstants.DIRECTORIDCOUNT_FAILURE, error };\r\n }\r\n}\r\n\r\n \r\nfunction getEdgeCompanyProfileReport(companyCode, setIsEdgeReportLoaded) {\r\n return (dispatch) => {\r\n dispatch(request());\r\n userService.getEdgeCompanyProfileReport(companyCode).then(\r\n (edgeCompanyProfileReport) => {\r\n dispatch(success(edgeCompanyProfileReport));\r\n },\r\n (error) => {\r\n dispatch(failure(error && error.toString()));\r\n }\r\n );\r\n };\r\n function request() {\r\n setIsEdgeReportLoaded(true);\r\n return { type: userConstants.EDGECOMPANYPROFILEREPORT_REQUEST };\r\n }\r\n function success(edgeCompanyProfileReport) {\r\n setIsEdgeReportLoaded(false);\r\n return {\r\n type: userConstants.EDGECOMPANYPROFILEREPORT_SUCCESS,\r\n edgeCompanyProfileReport,\r\n };\r\n }\r\n function failure(error) {\r\n setIsEdgeReportLoaded(false);\r\n return { type: userConstants.EDGECOMPANYPROFILEREPORT_FAILURE, error };\r\n }\r\n}\r\n","export default __webpack_public_path__ + \"static/media/Prime-Logo-Coloured-Vertical.4a235aa5.png\";","import React from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport \"./MainScreen.style.scss\";\r\nimport logo from \"../../image/Prime-Logo-Coloured-Vertical.png\";\r\n\r\nimport { useSelector } from \"react-redux\";\r\nimport * as constants from \"../../properties/properties\";\r\n\r\nconst MainScreen = (props) => {\r\n const users = useSelector((state) => state.users);\r\n const forgetPasswordEmail = useSelector((state) => state.forgetPasswordEmail);\r\n const history = useHistory();\r\n\r\n return (\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n Prime Compliance\r\n

\r\n {(history.location.pathname === \"/\" ||\r\n history.location.pathname === \"/login\") && (\r\n \r\n Login to your account\r\n

\r\n )}\r\n {history.location.pathname === \"/forgetPassword\" && (\r\n \r\n Reset your password\r\n

\r\n )}\r\n {users.error && (\r\n \r\n \r\n {constants.INVALID_USER}\r\n\r\n \r\n
\r\n
\r\n )}\r\n\r\n {forgetPasswordEmail.error && (\r\n \r\n \r\n {constants.INVALID_USERNAME}\r\n\r\n \r\n \r\n \r\n )}\r\n
\r\n
\r\n
{props.content}
\r\n
\r\n
\r\n\r\n
\r\n \r\n {\" \"}\r\n Copyright © 2022{\" \"}\r\n \r\n Prime Company Compliance.{\" \"}\r\n \r\n All rights reserved.\r\n
\r\n\r\n \r\n {\" \"}\r\n \r\n Terms of Use\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default MainScreen;\r\n","export const INVALID_USER = \"Your username or password is invalid\"\r\nexport const INVALID_USERNAME = \"Your username is invalid\"","import React, { useState, useEffect } from 'react';\r\nimport MainScreen from '../CommonPage/MainScreen.component'\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nconst SignUp = (props) => {\r\n const dispatch = useDispatch();\r\n const [signUpUsers, setSignUpUsers] = useState({\r\n phonenumber: '',\r\n firstName: '',\r\n lastName: '',\r\n email:'',\r\n organisationName: '',\r\n terms: '',\r\n popup: ''\r\n });\r\n \r\n\r\n const charac = /^[0-9]*$/;\r\n useEffect(() => {\r\n //add whatever functions use new `signUpUsers` value here.\r\n console.log(signUpUsers)\r\n }, [signUpUsers]);\r\n\r\n \r\n const [submitted, setSubmitted] = useState(false);\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n }\r\n\r\n let handleName = (e) => {\r\n if (charac.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n }\r\n let handleChange = (e) => {\r\n setSignUpUsers(signUpUsers => ({ ...signUpUsers, [e.target.name]: e.target.type === \"checkbox\" ? e.target.checked : e.target.value }))\r\n }\r\n\r\n function handleSubmit(e) {\r\n e.preventDefault();\r\n setSubmitted(true);\r\n if (signUpUsers.phonenumber && signUpUsers.phonenumber.length === 10 && signUpUsers.firstName && signUpUsers.lastName && signUpUsers.email && signUpUsers.organisationName && signUpUsers.terms) {\r\n console.log('Success')\r\n dispatch(userActions.postSignup(signUpUsers.firstName,signUpUsers.lastName,signUpUsers.phonenumber,signUpUsers.email,signUpUsers.OrganisationName));\r\n props.history.push(\"/SignUpSuccess\")\r\n }\r\n }\r\n\r\n\r\n\r\n return (\r\n \r\n

Create an account and get a free 30 day trial

\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {\r\n submitted && !signUpUsers.firstName &&\r\n \r\n
First Name required
\r\n\r\n }\r\n
\r\n
\r\n \r\n \r\n {\r\n submitted && !signUpUsers.lastName &&\r\n
Last Name required
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {\r\n submitted && !signUpUsers.organisationName &&\r\n
Organisation name Required\r\n
\r\n }\r\n
\r\n
\r\n \r\n \r\n {\r\n submitted && !signUpUsers.email &&\r\n
Email required\r\n
\r\n }\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n {\r\n\r\n submitted && ((!signUpUsers.phonenumber) || (signUpUsers.phonenumber && signUpUsers.phonenumber.length < 8)) &&\r\n
Phone required
\r\n }\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n \r\n

I agree to the \r\n \r\n {\" \"}\r\n Terms of Use\r\n

\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Already have an account?\r\n \r\n false}\r\n style={{fontSize:'16px', lineHeight: '19.36 px', color: ' #012040',fontStyle: 'normal', fontWeight: '550',letterspacing: '0.25px',}}\r\n \r\n className=\" hand-cursor text-decoration-none\"\r\n onClick={() => props.history.push(\"/login\")}\r\n >\r\n {\" \"}\r\n Login\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n }/>\r\n )\r\n}\r\nexport default SignUp;","//correct\r\n\r\nimport React, { useState, useEffect } from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useLocation } from \"react-router-dom\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"../CommonPage/newStyles.scss\";\r\n\r\nconst Login = (props) => {\r\nconst domainpath = window.location.hostname;\r\n const [loginUser, setLoginUser] = useState({\r\n clientId: \"\",\r\n userName: \"\",\r\n password: \"\",\r\n });\r\n\r\n const dispatch = useDispatch();\r\n const [submitted, setSubmitted] = useState(false);\r\n // const {clientId, userName, password} = loginUser;\r\n const { userName, password } = loginUser;\r\n const location = useLocation();\r\n let handleChange = (e) => {\r\n setLoginUser((users) => ({\r\n ...loginUser,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n useEffect(() => {\r\n dispatch(userActions.logout());\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n function handleSubmit(e) {\r\n e.preventDefault();\r\n setSubmitted(true);\r\n if (userName && password) {\r\n const { from } = location.state || {\r\n from: { pathname: \"/CompanyMenuDetails\" },\r\n };\r\n dispatch(userActions.login(userName, password, from, props.history));\r\n //props.history.push(\"/landingPage\");\r\n }\r\n }\r\n const [passwordType, setPasswordType] = useState(\"password\");\r\n const togglePassword = () => {\r\n if (passwordType === \"password\") {\r\n setPasswordType(\"text\");\r\n return;\r\n }\r\n setPasswordType(\"password\");\r\n };\r\n\r\n // after a month change contentdiv py-2 to py-4\r\n\r\n return (\r\n \r\n { console.log(\"window.location.pathname\", props.history) }\r\n\r\n { console.log(\"domainpath\",domainpath) }\r\n { console.log(\"window.location.pathname\", props.history.location.pathname) }\r\n {domainpath === \"portal.primecloud.com.au\" && (\r\n \r\n )}\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {submitted && !loginUser.userName && (\r\n
User Name required
\r\n )}\r\n
\r\n
\r\n {\" \"}\r\n
\r\n \r\n \r\n\r\n {passwordType === \"password\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n
\r\n \r\n
\r\n {\" \"}\r\n {submitted && !loginUser.password && (\r\n
\r\n Password required\r\n
\r\n )}\r\n
\r\n {\" \"}\r\n
\r\n false}\r\n className=\"hand-cursor text-decoration-none\"\r\n style={{\r\n fontSize: \"14px\",\r\n color: \"#012040\",\r\n lineHeight: \"20 px\",\r\n fontStyle: \"normal\",\r\n fontWeight: \"400\",\r\n letterspacing: \"0.25px\",\r\n }}\r\n onClick={() => props.history.push(\"/forgetPassword\")}\r\n >\r\n Forgot your password?\r\n \r\n
\r\n
\r\n {\" \"}\r\n
\r\n \r\n LOGIN\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\" \"}\r\n Don't have an account?\r\n \r\n\r\n false}\r\n style={{\r\n fontSize: \"16px\",\r\n lineHeight: \"19.36 px\",\r\n color: \" #012040\",\r\n fontStyle: \"normal\",\r\n fontWeight: \"550\",\r\n letterspacing: \"0.25px\",\r\n }}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={() => props.history.push(\"/Signup\")}\r\n >\r\n {\" \"}\r\n Register for free\r\n \r\n
\r\n
\r\n
\r\n \r\n }\r\n />\r\n );\r\n};\r\nexport default Login;\r\n","import React, { useEffect,useState } from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\n\r\n\r\nconst ForgetPassword = (props) => {\r\n\r\n const [loginUser, setLoginUser] = useState({\r\n // clientId: '',\r\n userName: \"\",\r\n });\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n let handleChange = (e) => {\r\n setLoginUser((users) => ({\r\n ...loginUser,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n function handleSubmit(e) {\r\n e.preventDefault();\r\n setSubmitted(true);\r\n // if (loginUser.clientId && loginUser.userName) {\r\n if (loginUser.userName) {\r\n console.log(\"Success\");\r\n }\r\n }\r\n\r\n // Reset email call\r\n const dispatch = useDispatch();\r\n const forgetPasswordEmail = useSelector((state) => state.forgetPasswordEmail);\r\n \r\n // eslint-disable-next-line\r\n const [resetSubmitted, resetSetSubmitted] = useState(false);\r\n function resetHandleClick(e) {\r\n e.preventDefault();\r\n resetSetSubmitted(true);\r\n setSubmitted(true);\r\n // console.log(\"(forgetPasswordEmail.error.indexOf\",forgetPasswordEmail.error);\r\n dispatch(userActions.postForgetpasswordEmail(loginUser.userName));\r\n\r\n \r\n }\r\n\r\n \r\n useEffect(() => {\r\n console.log(\"forgetPasswordEmail && forgetPasswordEmail.items\",forgetPasswordEmail && forgetPasswordEmail.items)\r\n if (forgetPasswordEmail && forgetPasswordEmail.items && forgetPasswordEmail.items === \"success\")\r\n {\r\n props.history.push(\"/ResetSuccess\")\r\n } \r\n // eslint-disable-next-line\r\n }, [forgetPasswordEmail]);\r\n return (\r\n \r\n \r\n \r\n \r\n

\r\n \r\n
\r\n
\r\n \r\n \r\n {submitted && !loginUser.userName && (\r\n
Username Required
\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n resetHandleClick(e)}\r\n >\r\n RESET PASSWORD\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Already have an account?\r\n \r\n false}\r\n style={{fontSize:'16px', lineHeight: '19.36 px', color: ' #012040',fontStyle: 'normal', fontWeight: '550',letterspacing: '0.25px',}}\r\n \r\n className=\" hand-cursor text-decoration-none\"\r\n onClick={() => props.history.push(\"/login\")}\r\n >\r\n {\" \"}\r\n Login\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n }\r\n />\r\n );\r\n};\r\nexport default ForgetPassword;\r\n","import React from \"react\";\r\nimport Modal from \"react-modal\";\r\n\r\nconst customStyles = {\r\n content: {\r\n top: \"50%\",\r\n left: \"50%\",\r\n right: \"auto\",\r\n bottom: \"auto\",\r\n marginRight: \"-50%\",\r\n transform: \"translate(-50%, -50%)\",\r\n maxWidth: \"500px\",\r\n width: \"100%\",\r\n padding: \"50px\",\r\n fontSize: \"20px\",\r\n },\r\n};\r\n\r\nexport const TimeoutWarningModal = ({ isOpen, onRequestClose, history }) => {\r\n const onLogOffCall = () => {\r\n // Implement your logout functionality here, e.g. clear the users login cache or hit your signout server\r\n history.push(\"/\");\r\n };\r\n\r\n return (\r\n
\r\n \r\n \r\n

Session Timeout

\r\n
\r\n You're being timed out due to inactivity. \r\n you will be redirected to the Login page.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n );\r\n};\r\n","const eventTypes = [\r\n 'keypress',\r\n 'mousemove',\r\n 'mousedown',\r\n 'scroll',\r\n 'touchmove',\r\n 'pointermove'\r\n ]\r\n \r\n export const addEventListeners = (listener) => {\r\n eventTypes.forEach((type) => {\r\n window.addEventListener(type, listener, false)\r\n })\r\n }\r\n export const removeEventListeners = (listener) => {\r\n if (listener) {\r\n eventTypes.forEach((type) => {\r\n window.removeEventListener(type, listener, false)\r\n })\r\n }\r\n }","import React, {useEffect, useState} from \"react\";\r\nimport {TimeoutWarningModal} from \"./TimeoutWarningModal\"\r\nimport { addEventListeners, removeEventListeners } from '../util/eventListenerUtil'\r\n \r\nexport const TimeoutLogic = (props) => { \r\n const [isWarningModalOpen, setWarningModalOpen] = useState(false);\r\n useEffect(() => {\r\n const createTimeout1 = () => setTimeout(()=>{ \r\n setWarningModalOpen(true);\r\n },7200000)\r\n\r\n const createTimeout2 = () => setTimeout(() => {\r\n // Implement a sign out function here\r\n \r\n //props.history.push(\"/\")\r\n },10000)\r\n\r\n const listener = () => {\r\n if(!isWarningModalOpen){\r\n clearTimeout(timeout)\r\n timeout = createTimeout1();\r\n }\r\n } \r\n\r\n // Initialization\r\n let timeout = isWarningModalOpen ? createTimeout2() : createTimeout1()\r\n addEventListeners(listener);\r\n\r\n // Cleanup\r\n return () => {\r\n removeEventListeners(listener);\r\n clearTimeout(timeout);\r\n }\r\n },[isWarningModalOpen])\r\n return (\r\n
\r\n {isWarningModalOpen && (\r\n setWarningModalOpen(false)}\r\n history={props.history}\r\n />\r\n )\r\n }\r\n
\r\n ) \r\n}","import React, {useState,useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"./LandingPage.style.scss\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { TimeoutLogic } from \"../../timeoutComponent/TimeoutLogic\";\r\n\r\nconst LandingPage = (props) => {\r\n // quickcompany Profile Report\r\n const userName = localStorage.getItem(\"userName\");\r\nconst API_URL = process.env.REACT_APP_PRIME_API_URL;\r\n\r\nconst [isMobile, setMobile] = useState(document.body.clientWidth <= 498);\r\n\r\n const dispatch = useDispatch();\r\n const loggedUserInfo = useSelector((state) => state.loggedUserInfo);\r\n const imageURL = loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.ClientLogo\r\n const alternateLogo= loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.ClientID\r\n useEffect(() => {\r\n dispatch(userActions.getLoggedUserInfo());\r\n dispatch(userActions.getDirectorIdCount());\r\n // eslint-disable-next-line\r\n }, [isMobile]);\r\nconsole.log(\"isMobile --------\",isMobile)\r\n //message card\r\nconst [cardShow, setCardShow] = useState(true);\r\nconst handleCardClose = () => setCardShow(false);\r\n// did count\r\nconst directorIdCount = useSelector((state) => state.directorIdCount);\r\n\r\nfunction splitDid(did) {\r\nconst splitDid = did.indexOf(' ') !== -1 ? did.split(' ') : did\r\nreturn did.indexOf(' ') !== -1 ? `${splitDid[0]} (${splitDid[1]})` : splitDid\r\n}\r\n return (\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n false}\r\n className=\"pb-3 text-white d-flex align-items-center mb-md-0 me-md-auto text-decoration-none\"\r\n >\r\n
\r\n {loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.ClientName.charAt(0).toUpperCase()} \r\n \r\n
\r\n \r\n {loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.ClientID}
\r\n
\r\n \r\n \r\n Discover\r\n \r\n
    \r\n \r\n \r\n
  • \r\n false}\r\n className={\r\n \"nav-link align-middle px-2 \" +\r\n (props.isCompany ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/CompanyMenuDetails\")}\r\n >\r\n {\" \"}\r\n \r\n Company\r\n \r\n \r\n
  • \r\n {loggedUserInfo && loggedUserInfo.items && !loggedUserInfo.items.ExcludeDeparmentalActions && \r\n
  • \r\n \r\n \r\n {\" \"}\r\n Files\r\n \r\n \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isCompaniesPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/CompaniesLanding\")}\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Companies\r\n \r\n \r\n \r\n
  • \r\n \r\n
  • \r\n false} className={\r\n \"nav-link px-4 \" +\r\n (props.isEbinderPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/EbinderMainLanding\")}>\r\n {\" \"}\r\n eBinders\r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isIndividualEntitiesPage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/IndividualEntitiesLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Individuals & Entities\r\n \r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isUnitTrustRegisterPage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/UnitTrustRegisterLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Unit Trusts\r\n \r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isJointHolderPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/JointHolderLanding\")}\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Joint Holders\r\n \r\n \r\n
  • \r\n \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isBusinessPage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/BusinessNameLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Business Names\r\n \r\n \r\n
  • \r\n {/*
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isBenificalOwnerPage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/BeneficialOwnerLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Beneficial Owners & Trusts\r\n \r\n \r\n
  • \r\n */}\r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isDidListPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/DIDListLanding\")}\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Director ID\r\n \r\n \r\n
  • \r\n \r\n
\r\n \r\n }\r\n {loggedUserInfo && loggedUserInfo.items && !loggedUserInfo.items.ExcludeDeparmentalActions && \r\n
  • \r\n \r\n {\" \"}\r\n Monitors\r\n \r\n \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isMonitorPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/MonitorLanding\")}\r\n >\r\n {\" \"}\r\n \r\n {\" \"}\r\n Annual Statements\r\n \r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isAsicDeptPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/ASICDeptLanding\")}\r\n >\r\n {\" \"}\r\n \r\n ASIC Debts\r\n \r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isOrderMonitorPage ? \"selected\" : \"\")\r\n }\r\n onClick={() => props.history.push(\"/OrderMonitorLanding\")}\r\n >\r\n {\" \"}\r\n \r\n Orders\r\n \r\n \r\n
  • \r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isDigitalSignaturePage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/DigitalSignatureLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n Digital Signatures\r\n \r\n \r\n
  • \r\n\r\n
  • \r\n false}\r\n className={\r\n \"nav-link px-4 \" +\r\n (props.isFormsAndDocumentPage ? \"selected\" : \"\")\r\n }\r\n onClick={() =>\r\n props.history.push(\"/FormsAndDocumentsLanding\")\r\n }\r\n >\r\n {\" \"}\r\n \r\n ASIC Forms Portal\r\n \r\n \r\n
  • \r\n\r\n \r\n\r\n \r\n }\r\n \r\n
    \r\n \r\n
    \r\n {\" \"}\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n\r\n { !isMobile&&cardShow && (\r\n \r\n \r\n
    \r\n
    \r\n \r\n DID Summary\r\n \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {/* {directorIdCount&&\r\n directorIdCount.items &&directorIdCount.items.DAYS_TO_GO} Days to go\r\n */} \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    DeadLine 30th Nov 2022
    Summary # {directorIdCount&&\r\n directorIdCount.items &&directorIdCount.items.TOTAL_COUNT}
    Total With DID #{directorIdCount&&\r\n directorIdCount.items &&splitDid(directorIdCount.items.WITH_DID)}%
    Total Without DID #{directorIdCount&&\r\n directorIdCount.items &&splitDid(directorIdCount.items.WITHOUT_DID)\r\n }%
    \r\n \r\n
    \r\n
    )}\r\n \r\n \r\n\r\n {/* {imageURL ?\r\n :

    {alternateLogo}

    } */}\r\n false}\r\n className=\"text-white d-flex align-items-center text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n {userName}\r\n \r\n \r\n \r\n
  • \r\n false}\r\n onClick={() => props.history.push(\"/login\")}\r\n >\r\n Sign out\r\n \r\n
  • \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n { props.commonSearch}\r\n\r\n {
    }\r\n
    \r\n {props.content}\r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default withRouter(LandingPage);\r\n","import React from 'react';\r\nimport './ToggleSwitch.style.scss'\r\n\r\nconst ToggleSwitch=({checked, onChange, name, yesLabel=\"Show All\", noLabel=\"Summary\", toggleWidth='120px'})=> {\r\n\r\n return (\r\n
    \r\n onChange(e.target.checked)}\r\n />\r\n \r\n
    \r\n );\r\n \r\n}\r\n\r\nexport default ToggleSwitch;","import React, { useEffect, useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useSelector } from \"react-redux\";\r\nimport CurrencyFormat from \"react-currency-format\";\r\nimport ToggleSwitch from \"../CommonPage/ToggleSwitch.component\";\r\nimport moment from \"moment\";\r\n\r\n\r\nconst UnitTrust = (props) => {\r\n const [selectedToggle, setSelectedToggle] = useState(false);\r\n const [companyCode, setCompanyCode] = useState(\"\");\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const unitTrust = useSelector((state) => state.unitTrust);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const dispatch = useDispatch();\r\n const [selectedOption, setSelectedOption] = useState(\"All\");\r\n \r\n function handleChange(e) {\r\n setSelectedToggle(e);\r\n dispatch(\r\n userActions.getUnitTrustByCode(\r\n companyCode,\r\n selectedToggle ? \"summary\" : \"showall\"\r\n )\r\n );\r\n }\r\n useEffect(() => {\r\n \r\n if (selectedSearchValue !== null) {\r\n const companyCode = JSON.parse(selectedSearchValue).map((value) => {\r\n return value.Code;\r\n });\r\n if (companyCode) {\r\n setCompanyCode(companyCode);\r\n //dispatch(userActions.getCompanyProfileByCode(companyCode));\r\n //dispatch(userActions.getUnitTrustByCode(companyCode, \"summary\"));\r\n }\r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n function handleClickRegisterAction(e, rn) {\r\n dispatch(\r\n userActions.getUnitTrustUnitholdersReport(rn,'unitTrustSection')\r\n );\r\n }\r\n \r\n function handleClickAAJournalAction(e, rn) {\r\n dispatch(\r\n userActions.getUnitTrustApplicationAllotmentJournalReport(rn,'unitTrustSection')\r\n );\r\n }\r\n\r\n function handleClickUnitsTransferJournalAction(e, rn) {\r\n dispatch(\r\n userActions.getUnitTrustTransferJournalReport(rn,'unitTrustSection')\r\n );\r\n }\r\n\r\n function handleClickUnitholdersSummaryAction(e, rn) {\r\n dispatch(\r\n userActions.getUnitTrustUnitholdersSummaryReport(rn,'unitTrustSection')\r\n );\r\n }\r\n return (\r\n \r\n
    \r\n
    \r\n {setSearchInput(e.target.value)}} autoComplete={false}/>\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n {\r\n setSearchInput(\"\")\r\n setSelectedOption(e.target.value);\r\n }\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n \r\n unitTrust && \r\n unitTrust.items &&\r\n unitTrust.items.map((trust) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {trust.UNITS.filter(filteredValue => (searchInput)?filteredValue.NAME.toLowerCase().includes(searchInput.toLowerCase()):(selectedOption && (selectedOption !==\"All\"))?filteredValue.TRAN_TYPE && filteredValue.TRAN_TYPE.toLowerCase().includes(selectedOption.toLowerCase()):filteredValue.NAME ).map((units) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n
    {trust.TRUST_NAME}
    UnitHolder NameBen NameClass CodeTotalTotal paidTransDateFPBOCert No.Action
    {units.NAME}{units.BEN_NAME}{units.CLASS_CODE}{units.SUM_TOT_SHARES}\r\n \r\n {units.TRAN_TYPE} {units.TRANS_DATE ? moment(units.TRANS_DATE).format(\r\n \"DD/MM/YYYY\"\r\n ) : \"\"}{\" \"} \r\n {units.FULLY_PAID ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n {units.BEN_OWNER ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {units.SCRIP_NO}\r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n {(selectedToggle)?\r\n \r\n\r\n \r\n :\r\n \r\n }\r\n
    \r\n ))}\r\n
    \r\n );\r\n};\r\nexport default UnitTrust;\r\n","import React from \"react\";\r\n\r\nimport { useSelector } from \"react-redux\";\r\n\r\nconst ShareCapitalComponent = (props) => {\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {companyProfile.items &&\r\n companyProfile.items.sharecaps && companyProfile.items.sharecaps.length>0 ? companyProfile.items.sharecaps.map((value, index) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )):}\r\n \r\n \r\n
    Class CodeTotal SharesTotal PaidTotal Unpaid
    {value.CLASS_CODE}{Intl.NumberFormat('en-US').format(value.ISSUED)}{value.PAID_UP.toLocaleString()}{Intl.NumberFormat('en-US').format(value.DUE_AND_PAYABLE ? value.DUE_AND_PAYABLE:\"0\")}
    No data exist in the share capital
    \r\n
    \r\n );\r\n};\r\nexport default ShareCapitalComponent;\r\n","import React from \"react\";\r\n\r\n\r\n\r\nconst FullPageLoader=() =>\r\n{\r\n return(\r\n \r\n
    \r\n Loading...\r\n
    \r\n
    \r\n \r\n )\r\n}\r\n\r\nexport default FullPageLoader\r\n","import React from \"react\";\r\nimport {Modal, Button} from 'react-bootstrap';\r\nimport 'bootstrap/dist/css/bootstrap.min.css';\r\nimport './Popup.style.scss'\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nexport default function Popup(props) {\r\n\r\n return (\r\n <>\r\n\r\n \r\n {props.heading && \r\n {props.heading}\r\n \r\n }\r\n {props.body}\r\n \r\n \r\n {props.btnName &&\r\n \r\n \r\n }\r\n { props.isPopupReportLoading\r\n ? :null }\r\n \r\n \r\n \r\n );\r\n}","import React from \"react\";\r\n\r\nconst Form484InformationComponent = (props) => {\r\n const information =\r\n props.form484Information && props.form484Information.items;\r\n\r\n return (\r\n
    \r\n {information &&\r\n information.split(\"\\n\").map((str) => (\r\n \r\n \r\n {\" \"}\r\n {str.startsWith(\"Change\") ||\r\n str.startsWith(\"Transfer\") ||\r\n str.startsWith(\"Share\") ||\r\n str.startsWith(\"Officeholder\") ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n {str}\r\n
    \r\n ))}\r\n
    \r\n );\r\n};\r\nexport default Form484InformationComponent;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport Form484InformationComponent from \"../CommonPage/Form484Information.component\";\r\n\r\nconst DocumentHistoryComponent = (props) => {\r\n useEffect(() => {\r\n setPopupDocShow(false);\r\n setPopupAsicDocShow(false);\r\n setPopup484DocShow(false);\r\n // eslint-disable-next-line\r\n }, []);\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n const documentHistoryDocDetails = useSelector(\r\n (state) => state.documentHistoryDocDetails\r\n );\r\n const documentHistoryAsicDocDetails = useSelector(\r\n (state) => state.documentHistoryAsicDocDetails\r\n );\r\n\r\n const [selectedOption, setSelectedOption] = useState(\"484\");\r\n const dispatch = useDispatch();\r\n //loading spinner\r\nconst [isDocLoaded, setIsDocLoaded] = useState(false);\r\n\r\n let docHandleClick = (e, rN, formType, docNo) => {\r\n e.preventDefault();\r\n dispatch(userActions.getDocumentHistoryDocReport(rN, formType, docNo,setIsDocLoaded));\r\n handleDocPopupShow(e, docNo);\r\n };\r\n let asicDocHandleClick = (e, asicDocNo) => {\r\n e.preventDefault();\r\n \r\n dispatch(userActions.getDocumentHistoryAsicReport(asicDocNo));\r\n handleAsicDocPopupShow(e,asicDocNo);\r\n };\r\n\r\n const [popupDocShow, setPopupDocShow] = useState(false);\r\n const handleDocPopupClose = () => setPopupDocShow(false);\r\n const handleDocPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupDocShow(index);\r\n };\r\n\r\n let handleDocPopupClick = (e) => {\r\n e.preventDefault();\r\n handleDocPopupClose();\r\n };\r\n\r\n const [popupAsicDocShow, setPopupAsicDocShow] = useState(0);\r\n const handleAsicDocPopupClose = () => setPopupAsicDocShow(false);\r\n const handleAsicDocPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupAsicDocShow(index);\r\n };\r\n\r\n let handleAsicDocPopupClick = (e) => {\r\n e.preventDefault();\r\n handleAsicDocPopupClose();\r\n };\r\n\r\n// Form 484 information Popup.\r\nconst form484Information = useSelector(\r\n (state) => state.form484Information\r\n);\r\n\r\n //loading spinner\r\n const [isForm484Loaded, setIsForm484Loaded] = useState(false);\r\n // eslint-disable-next-line\r\nconst [submitted, setSubmitted] = useState(false);\r\nfunction form484HandleClick(e,rN,docNo) {\r\n setSubmitted(true);\r\n dispatch(userActions.getForm484Information(rN,docNo,setIsForm484Loaded));\r\n handle484DocPopupShow(e, docNo);\r\n }\r\n\r\n const [popup484DocShow, setPopup484DocShow] = useState(0);\r\n const handle484DocPopupClose = () => setPopup484DocShow(false);\r\n const handle484DocPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopup484DocShow(index);\r\n };\r\n let handle484DocPopupClick = (e) => {\r\n e.preventDefault();\r\n handle484DocPopupClose();\r\n};\r\n\r\n\r\n\r\n return (\r\n
    \r\n {\r\n setSelectedOption(e.target.value);\r\n }}\r\n >\r\n \r\n {Array.from(\r\n new Set(\r\n companyProfile.items &&\r\n companyProfile.items.documents.map((obj) => obj.FORM_TYPE)\r\n )\r\n ).map((value) => {\r\n return (\r\n \r\n );\r\n })}\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {companyProfile.items &&\r\n companyProfile.items.documents && companyProfile.items.documents.length>0? \r\n companyProfile.items.documents.filter((name) => name.FORM_TYPE.includes(selectedOption))\r\n .map((value, index) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n{popup484DocShow === value.DOC_NO ? (\r\n handle484DocPopupShow(e, value.DOC_NO)}\r\n body={\r\n \r\n }\r\n handleClick={handle484DocPopupClick}\r\n\r\n \r\n />\r\n )\r\n : popup484DocShow === value.DOC_NO && isForm484Loaded ? :null } \r\n \r\n \r\n )):}\r\n
    \r\n Form Code\r\n Form DateELSDoc No.ASIC Doc No.
    {value.FORM_TYPE}{value.FORM_DATE && moment(value.FORM_DATE).format(\"DD/MM/YYYY\")}{value.ELS_TRANSMIT ? \"Y\" : \"N\"}\r\n \r\n docHandleClick(e, value.RN, value.FORM_TYPE, value.DOC_NO)\r\n }\r\n >\r\n {\" \"}\r\n {value.DOC_NO} \r\n \r\n \r\n \r\n\r\n {popupDocShow === value.DOC_NO &&\r\n documentHistoryDocDetails &&\r\n documentHistoryDocDetails.error &&\r\n documentHistoryDocDetails.error.indexOf(\"400\") !== -1 ? (\r\n handleDocPopupShow(e, value.DOC_NO)}\r\n body={\r\n value.DOC_NO +\r\n \" Document number doesn't exist on the system.\"\r\n }\r\n handleClick={handleDocPopupClick}\r\n \r\n \r\n />\r\n )\r\n : popupDocShow === value.DOC_NO && isDocLoaded ? :null } \r\n \r\n \r\n {value.ASIC_DOC_NO===null ? \" n/a\":\r\n asicDocHandleClick(e, value.ASIC_DOC_NO)}\r\n >\r\n \r\n {value.ASIC_DOC_NO}\r\n \r\n }\r\n {popupAsicDocShow === value.ASIC_DOC_NO &&\r\n documentHistoryAsicDocDetails &&\r\n documentHistoryAsicDocDetails.error &&\r\n documentHistoryAsicDocDetails.error.indexOf(\"400\") !==\r\n -1 && (\r\n \r\n handleAsicDocPopupShow(e, value.ASIC_DOC_NO)\r\n }\r\n body={\r\n value.ASIC_DOC_NO +\r\n \" Document number doesn't exist on the system.\"\r\n }\r\n handleClick={handleAsicDocPopupClick}\r\n />\r\n )}\r\n {value.FORM_TYPE === \"484\" ? false }\r\nrole=\"button\"\r\nonClick={(e) =>form484HandleClick(e,value.RN,value.DOC_NO)}>: \"\" }
    No data exist in the Document History
    \r\n
    \r\n );\r\n};\r\nexport default DocumentHistoryComponent;\r\n","import React from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport moment from \"moment\";\r\n\r\nconst PrintCompanyProfileComponent = (props) => {\r\n \r\n const handleDateChange = (e) => {\r\n try {\r\n const asDate = moment(e).format('DD/MM/yyyy');\r\n props.handleChange({target: { name: 'asDate', value: asDate }}); \r\n } catch (e) {\r\n console.error(e);\r\n }\r\n };\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter from Date\r\n \r\n handleDateChange(e)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={props.printCompany.asDate}\r\n />\r\n
    \r\n Enter to Date\r\n \r\n handleDateChange(e)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={props.printCompany.asDate}\r\n />\r\n
    \r\n Show Documents Lodged List? \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n
    \r\n Show Current Officeholders Only? \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default PrintCompanyProfileComponent;\r\n","import React from 'react';\r\nimport { useSelector } from \"react-redux\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\n\r\nconst ShareHolderDetailsComponent = (props) => {\r\n const dispatch = useDispatch(); \r\n \r\nlet handleClick = (e,companyCode, companyName,ACN) =>{\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n if(companyCode !== null){\r\n props.setSearchCompany([{ Code: companyCode, Name: companyName }]);\r\n props.recentSearch.push([{ Code: companyCode, Name: companyName }]);\r\n dispatch(userActions.postRecentCompanyList(props.userId,props.clientId,\"\",ACN))\r\n console.log(\"postRecentCompanyList from Shareholders\",props.userId,props.clientId,ACN)\r\n localStorage.setItem(\r\n \"recentCompanySearch\",\r\n JSON.stringify(props.recentSearch)\r\n );\r\n dispatch(userActions.getCompanyProfileByCode(companyCode))\r\n dispatch(userActions.getRegdInformation(ACN));\r\n // history.push(\"/CompanyMenuDetails/CompanySnapshot\");\r\n props.history.push(\"/CompanyMenuDetails/details\"); \r\n props.setPopupShareHolderShow(false);\r\n } \r\n }\r\n \r\n const shareHolderDetails = useSelector((state) => state.shareHolderDetails);\r\n \r\n return (\r\n
    \r\n \r\n
    Shareholder Detail
    \r\n
    {props.NAME}
    \r\n\r\n
    \r\n\r\n \r\n \r\n {shareHolderDetails &&shareHolderDetails.items&& (\r\n shareHolderDetails.items.map(\r\n (value) => \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n )\r\n }\r\n \r\n
    \r\n {\" \"}\r\n false}\r\n // href=\"/CompanyMenuDetails/CompanySnapshot\"\r\n className=\"text-decoration-none table-data hand-cursor \" onClick={(e) => handleClick(e,value.CO_CODE,value.CO_NAME,value.ACN )}\r\n >\r\n {\" \"}\r\n { value.CO_NAME}\r\n \r\n \r\n {\" \"}\r\n {value.CLASS_CODE}\r\n \r\n {\" \"}\r\n {value.TOT_SHARES}\r\n \r\n {value.BEN_OWNER ? \"Yes\" : \"No\"}\r\n \r\n {value.FULLY_PAID ? \"FP\" : \"\"}\r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default ShareHolderDetailsComponent;","import React from 'react';\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\n\r\nconst OfficerDetailsComponent = (props) => {\r\n const dispatch = useDispatch(); \r\n\r\n\r\n let handleClick = (e,companyCode, companyName,ACN) =>{\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n if(companyCode !== null){\r\n props.setSearchCompany([{ Code: companyCode, Name: companyName }]);\r\n props.recentSearch.push([{ Code: companyCode, Name: companyName }]);\r\n dispatch(userActions.postRecentCompanyList(props.userId,props.clientId,\"\",ACN))\r\n console.log(\"postRecentCompanyList from officerdetails\",props.userId,props.clientId,ACN)\r\n localStorage.setItem(\r\n \"recentCompanySearch\",\r\n JSON.stringify(props.recentSearch)\r\n );\r\n dispatch(userActions.getCompanyProfileByCode(companyCode))\r\n dispatch(userActions.getRegdInformation(ACN));\r\n // props.history.push(\"/CompanyMenuDetails/CompanySnapshot\");\r\n props.history.push(\"/CompanyMenuDetails/details\"); \r\n props.setPopupShow(false);\r\n } \r\n \r\n }\r\n const officerDetails = useSelector((state) => state.officerDetails);\r\n \r\n \r\n return (\r\n
    \r\n \r\n
    Officer Detail
    \r\n
    {props.officerName}
    \r\n\r\n
    \r\n\r\n \r\n \r\n \r\n {officerDetails &&officerDetails.items&& (\r\n officerDetails.items.map(\r\n (value) => \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n )\r\n )\r\n }\r\n \r\n
    \r\n {\" \"}\r\n false}\r\n \r\n className=\"text-decoration-none table-data hand-cursor\" onClick={(e) => handleClick(e,value.CO_CODE,value.CO_NAME,value.ACN )}\r\n \r\n >\r\n \r\n {\" \"}\r\n { value.CO_NAME}\r\n \r\n \r\n {\" \"}\r\n {value.POSITION_HELD}\r\n \r\n {\" \"}\r\n {moment(value.APPOINTED).format(\"DD/MM/YYYY\")}\r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default OfficerDetailsComponent;","import React, { useState, useEffect } from \"react\";\r\nimport \"./CompanySnapshot.style.scss\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport ShareCapitalComponent from \"../CompanyDetailsComponent/ShareCapitalComponent\";\r\nimport DocumentHistoryComponent from \"../CompanySnapshotComponent/DocumentHistoryComponent\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport OfficerDetailsComponent from \"../OfficerDetailsComponents/OfficerDetails.Component\";\r\nimport ShareHolderDetailsComponent from \"../ShareHolderDetailsComponent/ShareHolderDetails.component\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst CompanySnapshotComponent = (props) => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n const [popupShareHolderShow, setPopupShareHolderShow] = useState(0);\r\n const [popupShow, setPopupShow] = useState(0);\r\n const [popupSecretariesShow, setPopupSecretariesShow] = useState(0);\r\n\r\n const [selectedOfficerName, setSelectedOfficerName] = useState(\"\");\r\n const [selectedShareholdersName, setSelectedShareholdersName] = useState(\"\");\r\n useEffect(() => {\r\n setTimeout(() => {\r\n setPopupShareHolderShow(false);\r\n setPopupShow(false)\r\n setPopupShareHolderShow(false)\r\n\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n \r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany[0].Code));\r\n } \r\n }, 0)\r\n // eslint-disable-next-line\r\n }, [props.searchCompany]);\r\n useEffect(() => {\r\n setPopupShareHolderShow(false);\r\n setPopupShow(false)\r\n setPopupShareHolderShow(false)\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const selectedCompanyName = JSON.parse(localStorage.getItem(\"companyName\"));\r\n console.log(\"(props.searchCompany Outside\",props.searchCompany && props.searchCompany[0]);\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n console.log(\"aaaaaaaaaaa\");\r\n console.log(\"(props.searchCompany && props.searchCompany[0]\",props.searchCompany && props.searchCompany[0]);\r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany[0].Code));\r\n \r\n } else if (selectedCompanyCode !== null) {\r\n console.log(\"bbbbbbb\");\r\n props.setSearchCompany([\r\n { Code: selectedCompanyCode, Name: selectedCompanyName },\r\n ]);\r\n dispatch(userActions.getCompanyProfileByCode(selectedCompanyCode));\r\n } else if (selectedSearchValue !== null) {\r\n console.log(\"cccccccccccc\");\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getCompanyProfileByCode(value.Code))\r\n );\r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n\r\n\r\n const officerDetailHandleClose = () => setPopupShow(false);\r\n const secretariesDetailHandleClose = () => setPopupSecretariesShow(false);\r\n const shareHolderDetailHandleClose = () => setPopupShareHolderShow(false);\r\n\r\n const officerDetailHandleShow = (e, index, officerCode, officerName) => {\r\n e.preventDefault();\r\n\r\n setPopupShow(index);\r\n setSelectedOfficerName(officerName);\r\n\r\n dispatch(userActions.getOfficerDetailsReport(officerCode));\r\n };\r\n\r\n const secretariesDetailHandleShow = (e, index, officerCode, officerName) => {\r\n e.preventDefault();\r\n\r\n setPopupSecretariesShow(index);\r\n setSelectedOfficerName(officerName);\r\n dispatch(userActions.getOfficerDetailsReport(officerCode));\r\n };\r\n\r\n const shareHolderDetailHandleShow = (\r\n e,\r\n index,\r\n code,\r\n holderType,\r\n OfficerName\r\n ) => {\r\n e.preventDefault();\r\n setPopupShareHolderShow(index);\r\n setSelectedShareholdersName(OfficerName);\r\n dispatch(userActions.getShareHolderDetailsReport(code, holderType));\r\n };\r\n let officerDetailHandleClick = (e) => {\r\n e.preventDefault();\r\n officerDetailHandleClose();\r\n secretariesDetailHandleClose();\r\n };\r\n let shareHolderDetailHandleClick = (e) => {\r\n e.preventDefault();\r\n shareHolderDetailHandleClose();\r\n };\r\n\r\n // Print company Profile Report\r\n const printCompanyDispatch = useDispatch();\r\n // eslint-disable-next-line\r\n const [printCompanySubmitted, setPrintCompanySubmitted] = useState(false);\r\n //loading spinner\r\n const [isQuickCompanyLoaded, setIsQuickCompanyLoaded] = useState(false);\r\n function printCompanyHandleClick(e) {\r\n setPrintCompanySubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n printCompanyDispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n selectedCompanyCode,\r\n setIsQuickCompanyLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n printCompanyDispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n value.Code,\r\n setIsQuickCompanyLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n // Print ShareHolders\r\n // eslint-disable-next-line\r\n const [members, setMembers] = useState({\r\n printDate: new Date(),\r\n benificialName: \"Yes\",\r\n holdingSummary: \"No\",\r\n zeroBalance: \"Yes\",\r\n address: \"Yes\",\r\n foreignCurrency: \"No\",\r\n totalShares: \"No\",\r\n });\r\n const printShareHoldersDispatch = useDispatch();\r\n // eslint-disable-next-line\r\n const [printShareHoldersSubmitted, setPrintShareHoldersSubmitted] =\r\n useState(false);\r\n\r\n // loading spinner\r\n const [isMemberLoaded, setIsMemberLoaded] = useState(false);\r\n\r\n function printShareHoldersHandleClick(e) {\r\n setPrintShareHoldersSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n printShareHoldersDispatch(\r\n userActions.getMembersReport(\r\n members,\r\n selectedCompanyCode,\r\n setIsMemberLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n printShareHoldersDispatch(\r\n userActions.getMembersReport(members, value.Code, setIsMemberLoaded)\r\n )\r\n );\r\n }\r\n }\r\n\r\n // Print F DIRECTORS & SECRETARIES\r\n// eslint-disable-next-line\r\n const [officers, setOfficers] = useState({\r\n dsPrintDate: new Date(),\r\n officer: \"Yes\",\r\n });\r\n const printDirectorAndSecretariesDispatch = useDispatch();\r\n// eslint-disable-next-line\r\n const [printDirectorAndSecretariesSubmitted,\r\n setPrintDirectorAndSecretariesSubmitted,\r\n ] = useState(false);\r\n\r\n //loading spinner\r\n const [isDirectorAndSecretariesLoaded, setIsDirectorAndSecretariesLoaded] =\r\n useState(false);\r\n\r\n function printDirectorAndSecretariesHandleClick(e) {\r\n setPrintDirectorAndSecretariesSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n printDirectorAndSecretariesDispatch(\r\n userActions.getDirectorsSecretariesReport(\r\n officers,\r\n selectedCompanyCode,\r\n setIsDirectorAndSecretariesLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n printDirectorAndSecretariesDispatch(\r\n userActions.getDirectorsSecretariesReport(\r\n officers,\r\n value.Code,\r\n setIsDirectorAndSecretariesLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n return (\r\n
    \r\n {console.log('!~~~~~~~~~~~~~~~~~~~~', companyProfile)}\r\n {companyProfile && companyProfile.items ? (\r\n
      \r\n
    • \r\n \r\n
      \r\n false}\r\n onClick={(e) => printCompanyHandleClick(e)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

      Print

      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isQuickCompanyLoaded ? : null}\r\n
      \r\n
      {companyProfile.items.company.CO_NAME}
      \r\n

      \r\n ACN:{companyProfile.items.company.ACN}\r\n
      \r\n Inc Date :\r\n {companyProfile.items.company.DATE_INC\r\n ? moment(companyProfile.items.company.DATE_INC).format(\r\n \"DD/MM/YYYY\"\r\n )\r\n : \"\"}{\" \"}\r\n

      {\" \"}\r\n
      \r\n
      \r\n
        \r\n
      • \r\n \r\n
        Addresses
        \r\n
        Registered Office
        \r\n\r\n

        \r\n {\" \"}\r\n {` \r\n ${companyProfile.items.company.RO_CARE_OF !== null ? companyProfile.items.company.RO_CARE_OF: \"\"}\r\n ${companyProfile.items.company.RO_BUILDING !== null ? companyProfile.items.company.RO_BUILDING:\"\"}\r\n ${companyProfile.items.company.RO_STREET},\r\n ${companyProfile.items.company.RO_SUBURB},\r\n ${companyProfile.items.company.RO_STATE}\r\n ${companyProfile.items.company.RO_PCODE}`}{\" \"}\r\n

        \r\n
        Principal Place of Business
        \r\n

        \r\n {` \r\n ${companyProfile.items.company.PB_CARE_OF !== null? companyProfile.items.company.PB_CARE_OF: \"\"}\r\n ${companyProfile.items.company.PB_BUILDING !== null ? companyProfile.items.company.PB_BUILDING :\"\"}\r\n ${companyProfile.items.company.PB_STREET},\r\n ${companyProfile.items.company.PB_SUBURB},\r\n ${companyProfile.items.company.PB_STATE}\r\n ${companyProfile.items.company.PB_PCODE}`}\r\n

        \r\n
        Postal Address
        \r\n\r\n

        \r\n {`${\r\n companyProfile.items.company.POSTAL1\r\n ? companyProfile.items.company.POSTAL1 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POSTAL2\r\n ? companyProfile.items.company.POSTAL2 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POSTAL3\r\n ? companyProfile.items.company.POSTAL3 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POST_STATE\r\n ? companyProfile.items.company.POST_STATE + \" \"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POST_PCODE\r\n ? companyProfile.items.company.POST_PCODE\r\n : \"\"\r\n }`}\r\n

        \r\n\r\n

        \r\n {\" \"}\r\n {!companyProfile.items.company.POSTAL1 &&\r\n !companyProfile.items.company.POSTAL2 &&\r\n !companyProfile.items.company.POSTAL3 &&\r\n !companyProfile.items.company.POST_STATE &&\r\n !companyProfile.items.company.POST_PCODE &&\r\n \"N/A\"}{\" \"}\r\n

        \r\n
        \r\n
      • \r\n
      • \r\n \r\n
        \r\n false}\r\n onClick={(e) =>\r\n printDirectorAndSecretariesHandleClick(e)\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

        Print

        \r\n
        \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n {isDirectorAndSecretariesLoaded ? (\r\n \r\n ) : null}\r\n
        \r\n
        Officers
        \r\n
        DIRECTORS
        \r\n {console.log('~~~~~~~~~~~~~~', popupShow)}\r\n {companyProfile.items.officers.map(\r\n (value) =>\r\n value.POSITION_HELD === \"DIRECTOR\" &&\r\n value.CEASED === null && (\r\n

        \r\n false}\"\r\n className=\"text-decoration-none table-data \"\r\n onClick={(e) =>{\r\n officerDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }}\r\n >\r\n {value.OFFICER_NAME}\r\n \r\n {popupShow === companyProfile.items.company.RN && (\r\n \r\n officerDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }\r\n body={\r\n \r\n }\r\n dialogWidth=\"large\"\r\n handleClick={officerDetailHandleClick}\r\n />\r\n )}{\" \"}\r\n {moment(value.APPOINTED).format(\"DD/MM/YYYY\")}{\" \"}\r\n

        \r\n )\r\n )}\r\n
        SECRETARIES
        \r\n {companyProfile.items.officers.map(\r\n (value) =>\r\n value.POSITION_HELD === \"SECRETARY\" &&\r\n value.CEASED === null && (\r\n

        \r\n false}\"\r\n className=\"text-decoration-none table-data\"\r\n onClick={(e) =>\r\n secretariesDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }\r\n >\r\n {value.OFFICER_NAME}{\" \"}\r\n \r\n {popupSecretariesShow ===\r\n companyProfile.items.company.RN && (\r\n \r\n secretariesDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }\r\n body={\r\n \r\n }\r\n handleClick={officerDetailHandleClick}\r\n />\r\n )}{\" \"}\r\n {moment(value.APPOINTED).format(\"DD/MM/YYYY\")}{\" \"}\r\n

        \r\n )\r\n )}\r\n
        \r\n
      • \r\n\r\n
      • \r\n \r\n
        \r\n false}\r\n onClick={(e) => printShareHoldersHandleClick(e)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

        Print

        \r\n
        \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isMemberLoaded ? : null}\r\n
        \r\n
        Shareholders
        \r\n
        \r\n \r\n \r\n {companyProfile.items.shareholders.map(\r\n (value, index) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n \r\n
        \r\n {\" \"}\r\n false}\"\r\n className=\"text-decoration-none table-data \"\r\n onClick={(e) =>\r\n shareHolderDetailHandleShow(\r\n e,\r\n value.CODE,\r\n value.CODE,\r\n value.HOLDERTYPE,\r\n value.NAME\r\n )\r\n }\r\n >\r\n {\" \"}\r\n {value.NAME}\r\n {value.BEN_NAME && (\r\n

        [ {value.BEN_NAME}]

        \r\n )}\r\n \r\n {popupShareHolderShow === value.CODE && (\r\n \r\n shareHolderDetailHandleShow(\r\n e,\r\n value.CODE,\r\n value.CODE,\r\n value.HOLDERTYPE,\r\n value.NAME\r\n )\r\n }\r\n body={\r\n \r\n }\r\n handleClick={shareHolderDetailHandleClick}\r\n />\r\n )}\r\n
        \r\n {\" \"}\r\n {value.CLASS_CODE}\r\n \r\n {\" \"}\r\n {value.TOT_SHARES}\r\n \r\n {\" \"}\r\n {Intl.NumberFormat(\"en-US\").format(\r\n value.SUM_TOT_SHARES\r\n )}\r\n \r\n {value.BEN_OWNER ? \"Yes\" : \"No\"}\r\n \r\n {value.FULLY_PAID ? \"FP\" : \"\"}\r\n
        \r\n
        \r\n
        \r\n
      • \r\n\r\n
      • \r\n \r\n
        Share Capital
        \r\n\r\n \r\n
        \r\n
      • \r\n
      • \r\n \r\n
        Document History
        \r\n\r\n
        \r\n \r\n
        \r\n
        \r\n
      • \r\n\r\n
      • \r\n \r\n
        ASIC FORMS Portal
        \r\n
        \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {companyProfile.items.documents.map(\r\n (value, index) =>\r\n value.STATUS === \"Prepared\" &&\r\n value.ELS_TRANSMIT && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n
        FormModeDocument StatusDoc No.DateStatus
        {value.FORM_TYPE}{value.GROUP_DOC}{value.STATUS}{value.DOC_NO}\r\n {moment(value.FORM_DATE).format(\r\n \"DD/MM/YYYY\"\r\n )}\r\n {value.STATUS_DETAIL}
        \r\n
        \r\n
        \r\n
      • \r\n
      \r\n
      \r\n
    • \r\n
    \r\n ) : companyProfile &&\r\n companyProfile.error &&\r\n companyProfile.error.indexOf(\"400\") !== -1 ? (\r\n \r\n The company is not attached to your Department List. \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n );\r\n};\r\nexport default CompanySnapshotComponent;\r\n","import React, { useState } from \"react\";\r\n\r\nconst EmailId = (props) => {\r\n const [usersEmail, setUsersEmail] = useState({\r\n emailAddress: props.emailId,\r\n });\r\n// eslint-disable-next-line\r\n const [emailIdSubmitted, setEmailIdSubmitted] = useState(false);\r\n\r\n let handleChange = (e) => {\r\n setUsersEmail((usersEmail) => ({\r\n ...usersEmail,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n return (\r\n
    \r\n

    Email Address

    \r\n\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n {\" \"}\r\n
    Email Address\r\n {\r\n handleChange(e);\r\n props.handlePersonDetailsChange(e);\r\n }}\r\n className={\r\n \"form-control input-sm \" +\r\n (emailIdSubmitted && !usersEmail.emailAddress\r\n ? \"is-invalid\"\r\n : \"\")\r\n }\r\n autoComplete=\"off\"\r\n \r\n />\r\n {emailIdSubmitted && !usersEmail.emailAddress && (\r\n
    EmailAddress Required
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default EmailId;\r\n","import React, { useState } from \"react\";\r\nimport NumberFormat from 'react-number-format';\r\n\r\nconst DidComponent = (props) => {\r\n const [users, setUsers] = useState({\r\n didNumber: props.did,\r\n });\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n\r\n let handleChange = (e) => {\r\n setUsers((users) => ({\r\n ...users,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n \r\n return (\r\n
    \r\n

    DID

    \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n {\" \"}\r\n
    DID\r\n {handleChange(e);props.handlePersonDetailsChange(e)} }\r\n allowEmptyFormatting\r\n mask=\"_\"\r\n \r\n \r\n value={ users.didNumber }\r\n \r\n />\r\n \r\n {submitted && !users.didNumber && (\r\n
    DID Number Required
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default DidComponent;\r\n","import React, { useState,useEffect } from \"react\";\r\nimport \"./CompanyDetails.styles.scss\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport UnitTrust from \"./unitTrust.Component\";\r\nimport ShareCapitalComponent from \"./ShareCapitalComponent\";\r\nimport DocumentHistoryComponent from \"../CompanySnapshotComponent/DocumentHistoryComponent\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport PrintCompanyProfileComponent from \"../PrintCompanyProfileComponents/PrintCompanyProfile.Component\";\r\nimport ToggleSwitch from \"../CommonPage/ToggleSwitch.component\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport ShareHolderDetailsComponent from \"../ShareHolderDetailsComponent/ShareHolderDetails.component\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport OfficerDetailsComponent from \"../OfficerDetailsComponents/OfficerDetails.Component\";\r\nimport CompanySnapshotComponent from \"../CompanySnapshotComponent/CompanySnapshotComponent.component\";\r\nimport EmailId from \"../EmailIdComponent/EmailId.Component\";\r\nimport DidComponent from \"../Did.Component/Did.Component\";\r\n\r\nconst Details = (props) => {\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n const regdInformation = useSelector((state) => state.regdInformation);\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n\r\n const [selectedOfficerToggle, setSelectedOfficerToggle] = useState(\"Current\");\r\n const [selectedCompanyViewToggle, setSelectedCompanyViewToggle] =\r\n useState(\"DETAILED VIEW\");\r\n //company Profile Report\r\n // eslint-disable-next-line\r\n const [companyProfilesubmitted, setCompanyProfileSubmitted] = useState(false);\r\n const [isCompanyLoaded, setIsCompanyLoaded] = useState(false);\r\n const [printCompany, setPrintCompany] = useState({\r\n docLodge: \"Yes\",\r\n officeHolders: \"Yes\",\r\n asDate: moment().format('DD/MM/yyyy')\r\n });\r\n\r\n let handleChange = (e) => {\r\n const { name, value } = e.target;\r\n const newCompany = { ...printCompany, [name]: value };\r\n setPrintCompany((printCompany) => (newCompany));\r\n\r\n console.log('PrintCompanyProfile.Component.jsx - newCompany', newCompany);\r\n };\r\n\r\n let printCompanyProfileHandleClick = (e) => {\r\n e.preventDefault();\r\n setCompanyProfileSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(\r\n userActions.getCompanyReport(\r\n printCompany,\r\n props.searchCompany[0].Code,\r\n setIsCompanyLoaded\r\n )\r\n );\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getCompanyReport(\r\n printCompany,\r\n selectedCompanyCode,\r\n setIsCompanyLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) => dispatchAPIs(value));\r\n }\r\n };\r\n\r\n function dispatchAPIs(value) {\r\n dispatch(\r\n userActions.getCompanyReport(printCompany, value.Code, setIsCompanyLoaded)\r\n );\r\n }\r\n\r\n function handleOfficerChange(e) {\r\n console.log(\"eeeeeeeeeee\",e);\r\n setSelectedOfficerToggle(e);\r\n }\r\n // Company View Toggled Switch\r\n function handleCompanyViewChange(e) {\r\n setSelectedCompanyViewToggle(e);\r\n }\r\n // quickcompany Profile Report\r\n const dispatch = useDispatch();\r\n \r\n //loading spinner\r\n const [isQuickCompanyLoaded, setIsQuickCompanyLoaded] = useState(false);\r\n // eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n \r\n useEffect(() => {\r\n if (props.searchCompany) {\r\n \r\n dispatch(userActions.getRegdInformation(props.searchCompany && props.searchCompany[0] && props.searchCompany[0].ACN));\r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n props.searchCompany[0].Code,\r\n setIsQuickCompanyLoaded\r\n )\r\n );\r\n\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n selectedCompanyCode,\r\n setIsQuickCompanyLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n value.Code,\r\n setIsQuickCompanyLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n\r\n const history = useHistory();\r\n // officer details popup\r\n const [popupSecretariesShow, setPopupSecretariesShow] = useState(0);\r\n const [selectedoOfficerName, setSelectedoOfficerName] = useState(\"\");\r\n const secretariesDetailHandleClose = () => setPopupSecretariesShow(false);\r\n const secretariesDetailHandleShow = (e, index, officerCode, officerName) => {\r\n e.preventDefault();\r\n\r\n setPopupSecretariesShow(index);\r\n setSelectedoOfficerName(officerName);\r\n dispatch(userActions.getOfficerDetailsReport(officerCode));\r\n };\r\n\r\n let officerDetailHandleClick = (e) => {\r\n e.preventDefault();\r\n secretariesDetailHandleClose();\r\n };\r\n\r\n //shareholders Popup\r\n\r\n const [popupShareHolderShow, setPopupShareHolderShow] = useState(0);\r\n const [selectedShareholdersName, setSelectedShareholdersName] = useState(\"\");\r\n const shareHolderDetailHandleClose = () => setPopupShareHolderShow(false);\r\n const shareHolderDetailHandleShow = (\r\n e,\r\n index,\r\n code,\r\n holderType,\r\n OfficerName\r\n ) => {\r\n e.preventDefault();\r\n\r\n setPopupShareHolderShow(index);\r\n setSelectedShareholdersName(OfficerName);\r\n dispatch(userActions.getShareHolderDetailsReport(code, holderType));\r\n };\r\n let shareHolderDetailHandleClick = (e) => {\r\n e.preventDefault();\r\n shareHolderDetailHandleClose();\r\n };\r\n\r\n //email Id\r\n const [officerPersonal, setOfficerPersonal] = useState({\r\n officerEmailAddress: \"\",\r\n OfficerDidNumber: \"\",\r\n });\r\n const [popupEmailShow, setPopupEmailShow] = useState(false);\r\n const handlePopupEmailClose = () => setPopupEmailShow(false);\r\nconst handlePopupEmailShow = (e, index) => {\r\n e.preventDefault();\r\n\r\n setPopupEmailShow(index);\r\n};\r\n\r\nlet handleEmailPopupClick = (e, rn,detail) => {\r\n e.preventDefault();\r\n //if (officerPersonal.emailAddress) {\r\n dispatch(userActions.postIndividualEmailID(rn, officerPersonal.emailAddress,detail));\r\n setTimeout(() => {\r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany && props.searchCompany[0].Code));\r\n }, 0);\r\n // props.history.push(props.history.location);\r\n handlePopupEmailClose();\r\n //}\r\n};\r\n\r\n let handleOfficerPersonalDetailsChange = (e) => {\r\n e.preventDefault();\r\n setOfficerPersonal((officerPersonal) => ({\r\n ...officerPersonal,\r\n [e.target.name]: e.target.value,\r\n }));\r\n};\r\n//officers did \r\nconst [popupOfficersDidErrorShow, setPopupOfficersDidErrorShow] = useState(false);\r\nconst [rn, setRn] = useState(\"\");\r\nconst [popupOfficersDidShow, setPopupOfficersDidShow] = useState(false);\r\nconst handleOfficersDidPopupClose = () => setPopupOfficersDidShow(false);\r\nconst handleOfficersDidPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupOfficersDidShow(index);\r\n};\r\n\r\n\r\nlet handleDidPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n //if (person.didNumber) {\r\n dispatch(userActions.postIndividualEntitiesDid(rn, officerPersonal.didNumber));\r\n setRn(rn)\r\n setPopupOfficersDidErrorShow(officerPersonal.didNumber);\r\n setTimeout(() => {\r\n \r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany && props.searchCompany[0].Code));\r\n }, 0);\r\n \r\n //props.history.push(props.history.location);\r\n \r\n handleOfficersDidPopupClose();\r\n // }\r\n};\r\n\r\nconst didUpdate = useSelector((state) => state.didUpdate);\r\n\r\nconst handleErrorOfficersDidPopupClose = () => setPopupOfficersDidErrorShow(false);\r\nconst handleErrorOfficersDidPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupOfficersDidErrorShow(index);\r\n};\r\n\r\n// share Holder email Id\r\nconst [shareholderPersonal, setShareholderPersonal] = useState({\r\n shareholderEmailAddress: \"\",\r\n \r\n});\r\nconst [popupShareholderEmailShow, setPopupShareholderEmailShow] = useState(false);\r\nconst handlePopupShareholderEmailClose = () => setPopupShareholderEmailShow(false);\r\nconst handlePopupShareholderEmailShow = (e, index) => {\r\ne.preventDefault();\r\nconsole.log(\"indexemail\",index);\r\nsetPopupShareholderEmailShow(index);\r\n};\r\n\r\nlet handleShareholderEmailPopupClick = (e, rn) => {\r\ne.preventDefault();\r\n//if (shareholderPersonal.emailAddress) {\r\n dispatch(userActions.postIndividualEmailID(rn, shareholderPersonal.emailAddress));\r\n setTimeout(() => {\r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany && props.searchCompany[0].Code));\r\n }, 0);\r\n // props.history.push(props.history.location);\r\n handlePopupShareholderEmailClose();\r\n//}\r\n};\r\n\r\nlet handleShareholderPersonalDetailsChange = (e) => {\r\ne.preventDefault();\r\nsetShareholderPersonal((shareholderPersonal) => ({\r\n ...shareholderPersonal,\r\n [e.target.name]: e.target.value,\r\n}));\r\n};\r\nuseEffect(() => {\r\n setPopupShareholderEmailShow(false);\r\n setPopupEmailShow(false);\r\n \r\n // eslint-disable-next-line\r\n}, []);\r\n return (\r\n
    \r\n {console.log(\"unitrustRecordaaaaa:::::::\", props.searchCompany)}\r\n
    \r\n handleCompanyViewChange(e)}\r\n yesLabel={\"DETAILED VIEW\"}\r\n noLabel={\"SNAP SHOT VIEW\"}\r\n toggleWidth={\"160px\"}\r\n />\r\n {selectedCompanyViewToggle ?\r\n
    \r\n \r\n
    \r\n \r\n\r\n
    \r\n Company Details\r\n
    \r\n \r\n {/* \r\n \r\n \r\n {isQuickCompanyLoaded ? : null}\r\n */}\r\n \r\n \r\n \r\n \r\n \r\n {isQuickCompanyLoaded ? : null}\r\n \r\n
    \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n
      \r\n
    • \r\n false}\r\n onClick={(e) => handleClick(e)}\r\n >\r\n Download Quick Company Profile\r\n {\" \"}\r\n
      \r\n
    • \r\n\r\n
    • \r\n false}\r\n onClick={handleShow}\r\n >\r\n Download Full Company Profile\r\n \r\n {show && (\r\n \r\n }\r\n btnName=\"Show Report\"\r\n handleClick={printCompanyProfileHandleClick}\r\n isPopupReportLoading={isCompanyLoaded}\r\n />\r\n )}\r\n
    • \r\n
    \r\n
    \r\n \r\n\r\n false}\r\n onClick={(e) => handleClick(e)}\r\n >\r\n Quick Company Profile\r\n \r\n \r\n \r\n false}\r\n onClick={handleShow}\r\n >\r\n Company Profile\r\n \r\n {show && (\r\n \r\n }\r\n btnName=\"Show Report\"\r\n handleClick={printCompanyProfileHandleClick}\r\n isPopupReportLoading={isCompanyLoaded}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n {companyProfile && companyProfile.items && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {companyProfile.items.company.RO_STREET !== null ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n \r\n {companyProfile.items.company.PB_STREET !== null ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
    Company Name\r\n \r\n
    ACN\r\n \r\n
    \r\n {\" \"}\r\n Date and Place of Incorporation\r\n \r\n \r\n
    Review Date\r\n \r\n
    ASIC Debt (as at \r\n {companyProfile.items.company.DEBT_DATE\r\n ? \r\n \" \"+companyProfile.items.company.DEBT_DATE\r\n \r\n : \" \"}{\" \"}\r\n ) \r\n \r\n
    Department\r\n \r\n
    Registered Office\r\n {`\r\n ${\r\n companyProfile.items.company.RO_CARE_OF !== null\r\n ? companyProfile.items.company.RO_CARE_OF\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.RO_BUILDING !== null\r\n ? companyProfile.items.company.RO_BUILDING\r\n : \"\"\r\n }\r\n ${companyProfile.items.company.RO_STREET},\r\n ${companyProfile.items.company.RO_SUBURB},\r\n ${companyProfile.items.company.RO_STATE}\r\n ${companyProfile.items.company.RO_PCODE}`}\r\n
    \r\n Principal Place of Business\r\n \r\n {`\r\n ${\r\n companyProfile.items.company.PB_CARE_OF !== null\r\n ? companyProfile.items.company.PB_CARE_OF\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.PB_BUILDING !== null\r\n ? companyProfile.items.company.PB_BUILDING\r\n : \"\"\r\n }\r\n ${companyProfile.items.company.PB_STREET},\r\n ${companyProfile.items.company.PB_SUBURB},\r\n ${companyProfile.items.company.PB_STATE}\r\n ${companyProfile.items.company.PB_PCODE}`}\r\n
    Postal Address\r\n {`${\r\n companyProfile.items.company.POSTAL1\r\n ? companyProfile.items.company.POSTAL1 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POSTAL2\r\n ? companyProfile.items.company.POSTAL2 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POSTAL3\r\n ? companyProfile.items.company.POSTAL3 + \",\"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POST_STATE\r\n ? companyProfile.items.company.POST_STATE + \" \"\r\n : \"\"\r\n }\r\n ${\r\n companyProfile.items.company.POST_PCODE\r\n ? companyProfile.items.company.POST_PCODE\r\n : \"\"\r\n }`}\r\n\r\n {!companyProfile.items.company.POSTAL1 &&\r\n !companyProfile.items.company.POSTAL2 &&\r\n !companyProfile.items.company.POSTAL3 &&\r\n !companyProfile.items.company.POST_STATE &&\r\n !companyProfile.items.company.POST_PCODE &&\r\n \"n/a\"}\r\n
    Email Address\r\n \r\n false}\r\n onClick={(e) => handlePopupEmailShow(e,companyProfile.items.company.RN)}\r\n className=\"hand-cursor\"\r\n >\r\n \r\n \r\n \r\n {companyProfile.items.company.EMAIL_ADDRESS\r\n ? companyProfile.items.company.EMAIL_ADDRESS.indexOf(';')!== -1\r\n ? \r\n companyProfile.items.company.EMAIL_ADDRESS.split(';').join(\"\\n\") \r\n : companyProfile.items.company.EMAIL_ADDRESS\r\n : \"Add/edit email\" }\r\n \r\n {popupEmailShow === companyProfile.items.company.RN && (\r\n \r\n handlePopupEmailShow(e, companyProfile.items.company.EMAIL_ADDRESS)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleEmailPopupClick(e, companyProfile.items.company.RN,\"C\")}\r\n />\r\n )}\r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n Entity Details\r\n\r\n
    \r\n {companyProfile && companyProfile.items && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ASIC Company Class\r\n {companyProfile.items.company.ASC_CLASS_DESC\r\n ? companyProfile.items.company.ASC_CLASS_DESC\r\n : \"n/a\"}\r\n
    ASIC Company Sub-Class\r\n {companyProfile.items.company.ASC_CO_TYP_DESC\r\n ? companyProfile.items.company.ASC_CO_TYP_DESC\r\n : \"n/a\"}\r\n
    ASIC Company type\r\n {companyProfile.items.company.ASC_S_CLAS_DESC\r\n ? companyProfile.items.company.ASC_S_CLAS_DESC\r\n : \"n/a\"}\r\n
    Principal Acitivity\r\n {companyProfile.items.company.ACTIVITY\r\n ? companyProfile.items.company.ACTIVITY\r\n : \"n/a\"}\r\n
    Principal Acitivity Line 2\r\n {companyProfile.items.company.ACTIVITY2\r\n ? companyProfile.items.company.ACTIVITY2\r\n : \"n/a\"}\r\n
    Client Account Code\r\n {companyProfile.items.company.CLIENT_ACCOUNT_CODE\r\n ? companyProfile.items.company.CLIENT_ACCOUNT_CODE\r\n : \"n/a\"}\r\n
    Client Billing Code\r\n {companyProfile.items.company.CLIENT_BILLING_CODE\r\n ? companyProfile.items.company.CLIENT_BILLING_CODE\r\n : \"n/a\"}\r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n Officers\r\n
    \r\n
    \r\n handleOfficerChange(e)}\r\n yesLabel={\"Current\"}\r\n noLabel={\"All\"}\r\n />\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!selectedOfficerToggle && }\r\n \r\n \r\n \r\n {companyProfile &&\r\n companyProfile.items &&\r\n companyProfile.items.officers && companyProfile.items.officers.length > 0 ? companyProfile.items.officers.filter((value)=> selectedOfficerToggle ? !value.CEASED: value).map((value, index) => (\r\n \r\n \r\n \r\n \r\n \r\n {popupSecretariesShow ===\r\n companyProfile.items.company.RN && (\r\n \r\n secretariesDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }\r\n body={\r\n \r\n }\r\n handleClick={officerDetailHandleClick}\r\n />\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!selectedOfficerToggle && (\r\n \r\n )}\r\n \r\n \r\n )): }\r\n
    Position Held Office Holder Name Appointment Date Default signature Email IDDID Ceased Date
    {value.POSITION_HELD}\r\n false}\"\r\n className=\"text-decoration-none table-data \"\r\n onClick={(e) =>\r\n secretariesDetailHandleShow(\r\n e,\r\n companyProfile.items.company.RN,\r\n value.CODE,\r\n value.OFFICER_NAME\r\n )\r\n }\r\n >\r\n {value.OFFICER_NAME}\r\n \r\n {moment(value.APPOINTED).format(\"DD/MM/YYYY\")} \r\n \r\n false}\r\n onClick={(e) => handlePopupEmailShow(e,value.Entity_RN)}\r\n className=\"hand-cursor\"\r\n >\r\n \r\n \r\n {!value.EMAIL?\"Add/edit email\" : value.EMAIL.indexOf(';')!== -1? value.EMAIL.split(';').join(\"\\n\")\r\n \r\n : value.EMAIL}\r\n {popupEmailShow === value.Entity_RN && (\r\n \r\n handlePopupEmailShow(e, value.EMAIL)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleEmailPopupClick(e, value.Entity_RN)}\r\n />\r\n )}\r\n \r\n \r\n \r\n false}\r\n onClick={(e) => handleOfficersDidPopupShow(e, value.Entity_RN)}\r\n >\r\n DID\r\n \r\n \r\n {popupOfficersDidShow === value.Entity_RN && (\r\n handleOfficersDidPopupShow(e, value.Entity_RN)}\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) =>\r\n handleDidPopupClick(e, value.Entity_RN)\r\n }\r\n \r\n />\r\n )}\r\n \r\n {didUpdate &&\r\n didUpdate.error &&\r\n didUpdate.error.indexOf(\"400\") !== -1 ? (\r\n \r\n handleErrorOfficersDidPopupShow(e, value.DID)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) =>\r\n handleDidPopupClick(e, rn)\r\n }\r\n // handleClick={handleErrorDidPopupClick}\r\n />\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n {value.CEASED &&\r\n moment(value.CEASED).format(\"DD/MM/YYYY\")}{\" \"}\r\n
    No data exist in the officer
    \r\n
    \r\n
    \r\n\r\n
    \r\n Share Capital\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Shareholders\r\n
    \r\n {companyProfile && companyProfile.items && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {companyProfile.items.shareholders &&companyProfile.items.shareholders.length>0?companyProfile.items.shareholders.map((value, index) => (\r\n \r\n \r\n {popupShareHolderShow === value.CODE && (\r\n \r\n shareHolderDetailHandleShow(\r\n e,\r\n value.CODE,\r\n value.CODE,\r\n value.HOLDERTYPE,\r\n value.NAME\r\n )\r\n }\r\n body={\r\n \r\n }\r\n handleClick={shareHolderDetailHandleClick}\r\n />\r\n )}\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n )):}\r\n \r\n
    Share Holders Name Class CodeTotal SharesBen-OwnedFullyPaidEmail ID
    \r\n false}\"\r\n className=\"text-decoration-none table-data \"\r\n onClick={(e) =>\r\n shareHolderDetailHandleShow(\r\n e,\r\n value.CODE,\r\n value.CODE,\r\n value.HOLDERTYPE,\r\n value.NAME\r\n )\r\n }\r\n >\r\n {value.NAME}\r\n \r\n {value.CLASS_CODE}\r\n {Intl.NumberFormat(\"en-US\").format(value.SUM_TOT_SHARES)}\r\n {value.BEN_OWNER ? \"Yes\" : \"No\"}{value.FULLY_PAID ? \"FP\" : \"\"}\r\n {value.HOLDERTYPE ===\"I\" ?(\r\n false}\r\n onClick={(e) => handlePopupShareholderEmailShow(e,value.Entity_RN)}\r\n className=\"hand-cursor\"\r\n > \r\n \r\n \r\n \r\n\t\t\t\t\t):(\"n/a\" ) }\r\n { value.EMAIL_ADDRESS || value.HOLDERTYPE ===\"G\" ? value.EMAIL_ADDRESS: \"Add/edit email\" }\r\n {popupShareholderEmailShow === value.Entity_RN && (\r\n \r\n handlePopupShareholderEmailShow(e, value.EMAIL_ADDRESS)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleShareholderEmailPopupClick(e, value.Entity_RN)}\r\n />\r\n )}\r\n
    No data exist in the Shareholders
    \r\n )}\r\n
    \r\n
    \r\n {userActions.isUnitTrustEmpty() !== \"\" && (\r\n
    \r\n Unit Trusts\r\n
    \r\n \r\n
    \r\n
    \r\n )}\r\n
    \r\n Document History\r\n
    \r\n \r\n
    \r\n
    \r\n
    :\r\n \r\n \r\n \r\n }\r\n \r\n
    \r\n );\r\n};\r\nexport default Details;\r\n","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst AllotmentJournal = (props) => {\r\n const dispatch = useDispatch();\r\n //loading spinner\r\nconst [isAllotmentJournalLoaded, setIsAllotmentJournalLoaded] = useState(false);\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n const [allotmentJournal, setAllotementJournal] = useState({\r\n ajPrintDate: new Date(),\r\n });\r\n\r\n let handleChange = (e, isDate) => {\r\n if (isDate) {\r\n setAllotementJournal((allotmentJournal) => ({\r\n ...allotmentJournal,\r\n ajPrintDate: e,\r\n }));\r\n }\r\n };\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getAllotementJournalReport(allotmentJournal, props.searchCompany[0].Code,setIsAllotmentJournalLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getAllotementJournalReport(allotmentJournal, selectedCompanyCode,setIsAllotmentJournalLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getAllotementJournalReport(allotmentJournal, value.Code,setIsAllotmentJournalLoaded))\r\n );\r\n }\r\n }\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter as at Date (Click on Blank for Current Date)\r\n \r\n \r\n \r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={allotmentJournal.ajPrintDate}\r\n /> \r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report \r\n \r\n {isAllotmentJournalLoaded? :null}\r\n {submitted && !validate && (\r\n
    \r\n Company Name not selected\r\n
    \r\n )}{\" \"}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default AllotmentJournal;\r\n","import React, { useState } from \"react\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nconst CompanyListReport = (props) => {\r\n const dispatch = useDispatch();\r\n const [companyList, setCompanyList] = useState({\r\n email: \"\",\r\n dept: \"\",\r\n officer: \"No\",\r\n });\r\n\r\n //loading spinner\r\n const [isCompanyList, setIsCompanyList] = useState(false);\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n let handleChange = (e) => {\r\n const { name, value } = e.target;\r\n setCompanyList((companyList) => ({ ...companyList, [name]: value }));\r\n };\r\n\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n \r\n function handleClick(e) {\r\n setSubmitted(true);\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n \r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getCompanyListReport( props.searchCompany[0].Code,companyList,\r\n setIsCompanyList));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getCompanyListReport(\r\n selectedCompanyCode,\r\n companyList,\r\n setIsCompanyList\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n console.log(\"\")\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getCompanyListReport(\r\n value.Code,\r\n companyList,\r\n setIsCompanyList\r\n )\r\n )\r\n );\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n {\" \"}\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter Dept Code(Blank for all departements)\r\n \r\n \r\n
    \r\n Show EmailAddresses((Blank for show All)):\r\n \r\n {\r\n setCompanyList(() => ({\r\n ...companyList,\r\n [e.target.name]: e.target.value,\r\n }));\r\n }}\r\n required\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
    Show Officers/Members\r\n {\" \"}\r\n \r\n \r\n \r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report\r\n \r\n {isCompanyList ? : null}\r\n {submitted && !validate && (\r\n
    \r\n Make sure Company Name selected / Report doesn't exist.\r\n
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default CompanyListReport;\r\n","import React, { useState } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\n\r\nconst CorporateRegisterMembers = (props) => {\r\n\r\n function getLastMonthDate() {\r\n const today = new Date();\r\n const lastMonthToday = new Date(today.setMonth(today.getMonth() - 1));\r\n\r\n return lastMonthToday;\r\n }\r\n\r\n const dispatch = useDispatch();\r\n\r\n // loading spinner\r\n const [isMemberLoaded, setIsMemberLoaded] = useState(false);\r\n const [memberReportIsDateRange, setMemberReportIsDateRange] = useState(false);\r\n\r\n const [members, setMembers] = useState({\r\n printDate: new Date(),\r\n fromDate: getLastMonthDate(),\r\n toDate: new Date(),\r\n benificialName: \"Yes\",\r\n holdingSummary: \"No\",\r\n zeroBalance: \"Yes\",\r\n address: \"Yes\",\r\n foreignCurrency: \"No\",\r\n totalShares: \"No\",\r\n });\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n\r\n function setPrintDate(newDate) {\r\n setMembers({...members, printDate: newDate})\r\n }\r\n\r\n function setFromDate(newDate) {\r\n setMembers({...members, fromDate: newDate})\r\n }\r\n\r\n function setToDate(newDate) {\r\n setMembers({...members, toDate: newDate})\r\n }\r\n\r\n let handleChange = (e, isDate) => {\r\n console.log('handleChange()', e, isDate);\r\n if (isDate) {\r\n setMembers((member) => ({ ...members, printDate: e }));\r\n } else {\r\n const { name, value } = e.target;\r\n setMembers((member) => ({ ...members, [name]: value }));\r\n }\r\n };\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n\r\n // if user has chosen a date range, then process the date range report\r\n if(memberReportIsDateRange) {\r\n\r\n //not sure what this code does, so copy/paste argh!\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getMembersReportDateRange(members, props.searchCompany[0].Code,setIsMemberLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getMembersReportDateRange(members, selectedCompanyCode,setIsMemberLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getMembersReportDateRange(members, value.Code,setIsMemberLoaded))\r\n );\r\n }\r\n } else {\r\n //otherwise always process the \"as at date\" report\r\n\r\n //not sure what this code does, so copy/paste argh!\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getMembersReport(members, props.searchCompany[0].Code,setIsMemberLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getMembersReport(members, selectedCompanyCode,setIsMemberLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getMembersReport(members, value.Code,setIsMemberLoaded))\r\n );\r\n }\r\n }\r\n }\r\n\r\n function memberReportDateRangeControls() {\r\n if(memberReportIsDateRange) {\r\n return (\r\n
    \r\n
    \r\n
    \r\n Enter start date:\r\n
    \r\n setFromDate(e)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter start date\"\r\n value={members.fromDate}\r\n />\r\n
    \r\n
    \r\n
    \r\n Enter end date:\r\n
    \r\n setToDate(e)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter end date\"\r\n value={members.toDate}\r\n />\r\n
    \r\n
    \r\n );\r\n } \r\n \r\n return (\r\n
    \r\n
    \r\n As at Date:\r\n
    \r\n setPrintDate(e)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={members.printDate}\r\n />\r\n
    \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n {memberReportIsDateRange ? \r\n
    Enter date range:
    \r\n : \r\n
    Enter as at Date (Click on Blank for Current Date)
    \r\n }\r\n
    \r\n \r\n
    \r\n
    \r\n { memberReportDateRangeControls() }\r\n
    \r\n Show Beneficial Owner Name{\" \"}\r\n \r\n {\" \"}\r\n \r\n \r\n \r\n
    Show Holding Summary Only? \r\n {\" \"}\r\n \r\n \r\n \r\n
    Show Zero Balances? \r\n \r\n \r\n \r\n
    Show Address Fields? \r\n \r\n \r\n \r\n
    Show Foreign Currency ( if any)? \r\n \r\n \r\n \r\n
    Enter show Total Shares? \r\n \r\n \r\n \r\n
    \r\n handleClick(e)}\r\n >\r\n Show Report\r\n \r\n {isMemberLoaded ? :null}\r\n {submitted && !validate && (\r\n
    Company Name not selected.
    \r\n )}\r\n
    \r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default CorporateRegisterMembers;\r\n","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst DirectorsAndSecretaries = (props) => {\r\n const dispatch = useDispatch();\r\n const [officers, setOfficers] = useState({\r\n dsPrintDate: new Date(),\r\n officer: \"Yes\",\r\n });\r\n//loading spinner\r\nconst [isDirectorAndSecretariesLoaded, setIsDirectorAndSecretariesLoaded] = useState(false);\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n let handleChange = (e, isDate) => {\r\n if (isDate) {\r\n setOfficers((Print) => ({ ...officers, dsPrintDate: e }));\r\n } else {\r\n const { name, value } = e.target;\r\n setOfficers((member) => ({ ...officers, [name]: value }));\r\n }\r\n };\r\n\r\n \r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getDirectorsSecretariesReport(officers, props.searchCompany[0].Code,setIsDirectorAndSecretariesLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getDirectorsSecretariesReport(officers, selectedCompanyCode,setIsDirectorAndSecretariesLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getDirectorsSecretariesReport(officers, value.Code,setIsDirectorAndSecretariesLoaded))\r\n );\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n {console.log(\"props.searchCompany1111111111111111\",props.searchCompany)}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter as at Date (Click on Blank for Current Date)\r\n \r\n \r\n \r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={officers.dsPrintDate}\r\n />\r\n
    \r\n Enter Current Officers {\" \"}\r\n \r\n {\" \"}\r\n \r\n \r\n \r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report \r\n \r\n {isDirectorAndSecretariesLoaded? :null}\r\n {submitted && !validate && (\r\n
    Company Name not selected.
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default DirectorsAndSecretaries;\r\n","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst DirectorShareholdingsComponent = (props) => {\r\n const dispatch = useDispatch();\r\n//loading spinner\r\nconst [isDirectorsLoaded, setIsDirectorsLoaded] = useState(false);\r\n\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n const [directorshareholdings, setDirectorshareholdings] = useState({\r\n dsPrintDate: new Date(),\r\n });\r\n\r\n let handleChange = (e, isDate) => {\r\n if (isDate) {\r\n setDirectorshareholdings((directorshareholdings) => ({\r\n ...directorshareholdings,\r\n dsPrintDate: e,\r\n }));\r\n }\r\n };\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getDirectorsShareholdingsReport(directorshareholdings, props.searchCompany[0].Code,setIsDirectorsLoaded));\r\n } else if(selectedCompanyCode !== null) {\r\n dispatch(userActions.getDirectorsShareholdingsReport(directorshareholdings, selectedCompanyCode,setIsDirectorsLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getDirectorsShareholdingsReport(directorshareholdings, value.Code,setIsDirectorsLoaded))\r\n );\r\n }\r\n }\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter as at Date (Click on Blank for Current Date)\r\n \r\n \r\n \r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={directorshareholdings.dsPrintDate}\r\n /> \r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report \r\n \r\n \r\n {isDirectorsLoaded ? :null}\r\n {submitted && !validate && (\r\n
    \r\n Company Name not selected.\r\n
    \r\n )}{\" \"}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default DirectorShareholdingsComponent;\r\n","import React, { useState} from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst PublicOfficerComponent = (props) => {\r\n const dispatch = useDispatch();\r\n const [submitted, setSubmitted] = useState(false);\r\n //loading spinner\r\nconst [isPublicOfficerLoaded, setIsPublicOfficerLoaded] = useState(false);\r\n\r\n \r\n\r\n const [publicOfficers, setpublicOfficers] = useState({\r\n poPrintDate: new Date(),\r\n publicOfficer: \"Yes\",\r\n });\r\n\r\n let handleChange = (e, isDate) => {\r\n if (isDate) {\r\n setpublicOfficers((publicOfficers) => ({\r\n ...publicOfficers,\r\n poPrintDate: e,\r\n }));\r\n } else {\r\n const { name, value } = e.target;\r\n setpublicOfficers((publicOfficers) => ({\r\n ...publicOfficers,\r\n [name]: value,\r\n }));\r\n }\r\n };\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getPublicOfficerReport(publicOfficers, props.searchCompany[0].Code,setIsPublicOfficerLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getPublicOfficerReport(publicOfficers, selectedCompanyCode,setIsPublicOfficerLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getPublicOfficerReport(publicOfficers, value.Code,setIsPublicOfficerLoaded))\r\n );\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n Enter as at Date (Click on Blank for Current Date)\r\n \r\n \r\n \r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={publicOfficers.poPrintDate}\r\n /> \r\n
    Enter Current Officers \r\n \r\n \r\n \r\n \r\n \r\n\r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report\r\n \r\n {isPublicOfficerLoaded ? :null}\r\n {submitted && !validate && (\r\n
    \r\n Company Name not selected.\r\n
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default PublicOfficerComponent;\r\n","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\n\r\nconst ResponsibleManagerComponent = (props) => {\r\n const dispatch = useDispatch();\r\n //loading spinner\r\nconst [isResponsibleManagerLoaded, setIsResponsibleManagerLoaded] = useState(false);\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n const [responsibleManager, setResponsileManager] = useState({\r\n rmPrintDate: new Date(),\r\n rofficer: 'Yes'\r\n });\r\n \r\n let handleChange = (e, isDate) => {\r\n if(isDate){\r\n setResponsileManager(responsibleManager => ({ ...responsibleManager,rmPrintDate: e }))\r\n } \r\n else {\r\n const { name, value } = e.target;\r\n setResponsileManager(responsibleManager => ({ ...responsibleManager, [name]: value }))\r\n }\r\n \r\n }\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n \r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n \r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getResponsibleManagerReport(responsibleManager, props.searchCompany[0].Code,setIsResponsibleManagerLoaded));\r\n } else if(selectedCompanyCode !== null) {\r\n dispatch(userActions.getResponsibleManagerReport(responsibleManager, selectedCompanyCode,setIsResponsibleManagerLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getResponsibleManagerReport(responsibleManager, value.Code,setIsResponsibleManagerLoaded))\r\n );\r\n }\r\n }\r\n return (\r\n
    \r\n

    Enter Values

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Enter as at Date (Click on Blank for Current Date)\r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={responsibleManager.rmPrintDate}\r\n /> \r\n
    Enter Current Officers \r\n \r\n \r\n \r\n \r\n \r\n\r\n
    {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report \r\n {isResponsibleManagerLoaded ? :null}\r\n {submitted && !validate && (\r\n
    Company Name not selected.
    \r\n )}
    \r\n \r\n \r\n
    \r\n );\r\n };\r\n \r\n \r\n export default ResponsibleManagerComponent;\r\n ","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\n\r\nconst TransferJournalComponent = (props) => {\r\n const dispatch = useDispatch();\r\n // loading spinner\r\n const [isTransferLoaded, setIsTransferLoaded] = useState(false);\r\n const [submitted, setSubmitted] = useState(false);\r\n const [transferJournal, setTransferJournal] = useState({\r\n tjPrintDate: new Date()\r\n });\r\n \r\n let handleChange = (e, isDate) => {\r\n if(isDate){\r\n setTransferJournal(transferJournal => ({ ...transferJournal,tjPrintDate: e }))\r\n } \r\n \r\n }\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getTransferJournalReport(transferJournal,props.searchCompany[0].Code,setIsTransferLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getTransferJournalReport(transferJournal,selectedCompanyCode,setIsTransferLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getTransferJournalReport(transferJournal,value.Code,setIsTransferLoaded))\r\n );\r\n }\r\n }\r\n return (\r\n
    \r\n

    Enter Values

    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Enter as at Date (Click on Blank for Current Date)\r\n handleChange(e, true)}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"Enter as at Date\"\r\n value={transferJournal.tjPrintDate}\r\n /> \r\n
    {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report \r\n \r\n {isTransferLoaded ? :null}\r\n {submitted && !validate && (\r\n
    Company Name not selected.
    \r\n )}
    \r\n \r\n \r\n
    \r\n );\r\n };\r\n \r\n export default TransferJournalComponent;\r\n ","import React from 'react';\r\nimport \"../CompanyDetailsComponent/CompanyDetails.styles.scss\";\r\nimport AllotmentJournal from './AllotmentJournalComponent';\r\nimport CompanyListReport from './CompanyListReportComponent';\r\nimport CorporateRegisterMembers from './CorporateRegisterMembers.Component';\r\nimport DirectorsAndSecretaries from './DirectorsAndSecretariesComponent';\r\nimport DirectorShareholdingsComponent from './DirectorsShareholdingsComponent';\r\nimport PublicOfficerComponent from './PublicOfficerComponent';\r\nimport ResponsibleManagerComponent from './ResponsibleManagerComponent';\r\nimport TransferJournalComponent from './TransferJournalComponent';\r\n\r\n\r\n\r\nconst CorporateRegisterComponent = (props) => {\r\n return (\r\n \r\n
    \r\n {console.log('props.searchCompany:::::::::::::::::::::::::::', props.searchCompany)}\r\n
    \r\n
    \r\n Members\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n Directors and Secretaries \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n Allotment Journal \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Transfer journal \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n Responsible Manager \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Public Officer\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Directors Shareholdings\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Company List (inc Email)\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Address Search\r\n
    \r\n Address Search Under construction\r\n
    \r\n
    \r\n
    \r\n Name Search\r\n
    \r\n Name Search Under construction\r\n
    \r\n
    \r\n
    \r\n Others\r\n
    \r\n Under construction\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n export default CorporateRegisterComponent;","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst ASICCompanyDetail = (props) => {\r\n const dispatch = useDispatch();\r\n const [asicSubmitted, setAsicSubmitted] = useState(false);\r\n //loading spinner\r\n const [isASICCompanyLoaded, setIsASICCompanyLoaded] = useState(false);\r\n\r\n const [asicCompanyDetail, setAsicCompanyDetail] = useState({\r\n nameField: \"No\",\r\n });\r\n\r\n let handleChange = (e) => {\r\n const { name, value } = e.target;\r\n setAsicCompanyDetail((asicCompanyDetail) => ({\r\n ...asicCompanyDetail,\r\n [name]: value,\r\n }));\r\n };\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n\r\n function handleClick(e) {\r\n setAsicSubmitted(true);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n \r\n dispatch(\r\n userActions.getAsicCompanyDetailReport(\r\n asicCompanyDetail,\r\n props.searchCompany[0].Code,\r\n setIsASICCompanyLoaded\r\n )\r\n )\r\n \r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getAsicCompanyDetailReport(\r\n asicCompanyDetail,\r\n selectedCompanyCode,\r\n setIsASICCompanyLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getAsicCompanyDetailReport(\r\n asicCompanyDetail,\r\n value.Code,\r\n setIsASICCompanyLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\" \"}\r\n
    Show All Given Name Fields?\r\n \r\n \r\n \r\n
    \r\n {\" \"}\r\n handleClick(e)}\r\n >\r\n Show Report\r\n \r\n {isASICCompanyLoaded ? : null}\r\n {asicSubmitted && !validate && (\r\n
    \r\n Company Name not selected\r\n
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default ASICCompanyDetail;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../CompanyDetailsComponent/CompanyDetails.styles.scss\";\r\nimport { useSelector } from \"react-redux\";\r\nimport ASICCompanyDetail from \"../ASICCompanyDetailComponent/ASICCompanyDetail\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst ASICComponent = (props) => {\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n const asicInvoiceReportLinks = useSelector(\r\n (state) => state.asicInvoiceReportLinks\r\n );\r\n\r\n // View ASIC Debt Report\r\n const dispatch = useDispatch();\r\n //loading spinner\r\n const [isASICDeptLoaded, setIsASICDeptLoaded] = useState(false);\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n\r\n const selectedAcn = companyProfile && companyProfile.items&& companyProfile.items.company&&companyProfile.items.company.ACN\r\n\r\n if (selectedAcn !== null) {\r\n dispatch(userActions.getAsicDebtReport(selectedAcn, setIsASICDeptLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getAsicDebtReport(value.ACN, setIsASICDeptLoaded))\r\n );\r\n }\r\n }\r\n ///API Reports link\r\n\r\n useEffect(() => {\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getAsicInvoiceReportLinks(selectedCompanyCode));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) => dispatchAPIs(value));\r\n }\r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n function dispatchAPIs(value) {\r\n dispatch(userActions.getAsicInvoiceReportLinks(value.Code));\r\n }\r\n\r\n const API_URL = process.env.REACT_APP_PRIME_API_URL;\r\n //edge report spinner\r\n const [isEdgeReportLoaded, setIsEdgeReportLoaded] = useState(false);\r\n function handleClickEdgeReport(e) {\r\n \r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(\r\n userActions.getEdgeCompanyProfileReport(\r\n props.searchCompany[0].Code,\r\n setIsEdgeReportLoaded\r\n )\r\n );\r\n \r\n } else if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getEdgeCompanyProfileReport(\r\n selectedCompanyCode,\r\n setIsEdgeReportLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getEdgeCompanyProfileReport(\r\n value.Code,\r\n setIsEdgeReportLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n \r\n \r\n\r\n return (\r\n
    \r\n
    \r\n View ASIC Debt Report\r\n
    \r\n false}\r\n onClick={(e) => handleClick(e)}\r\n >\r\n View ASIC Debt Report\r\n \r\n {isASICDeptLoaded ? : null}\r\n
    \r\n
    \r\n
    \r\n ASIC Payment BPay Details\r\n
    \r\n \r\n ASIC Payment BPay Details\r\n \r\n
    \r\n
    \r\n
    \r\n ASIC Company Details (Free ASIC Search)\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n ASIC Invoice\r\n
    \r\n {asicInvoiceReportLinks &&\r\n asicInvoiceReportLinks.items &&\r\n asicInvoiceReportLinks.items !== 'No Record(s) Found.' ?\r\n asicInvoiceReportLinks.items.map((value) => (\r\n \r\n
  • {value.File_Name}
  • \r\n \r\n ))\r\n : asicInvoiceReportLinks &&\r\n asicInvoiceReportLinks.items \r\n }\r\n
    \r\n
    \r\n \r\n\r\n\r\n
    \r\n ASIC Company Profile\r\n
    \r\n false}\r\n onClick={(e) => handleClickEdgeReport(e)}\r\n >\r\n ASIC Company Profile Report {isEdgeReportLoaded ? : null}\r\n
    \r\n
    \r\n\r\n
    \r\n );\r\n};\r\nexport default ASICComponent;\r\n","import { useMemo } from 'react';\r\n\r\nexport const DOTS = '...';\r\n\r\nconst range = (start, end) => {\r\n let length = end - start + 1;\r\n return Array.from({ length }, (_, idx) => idx + start);\r\n};\r\n\r\nexport const usePagination = ({\r\n totalCount,\r\n pageSize,\r\n siblingCount = 1,\r\n currentPage\r\n}) => {\r\n const paginationRange = useMemo(() => {\r\n const totalPageCount = Math.ceil(totalCount / pageSize);\r\n\r\n // Pages count is determined as siblingCount + firstPage + lastPage + currentPage + 2*DOTS\r\n const totalPageNumbers = siblingCount + 5;\r\n\r\n /*\r\n If the number of pages is less than the page numbers we want to show in our\r\n paginationComponent, we return the range [1..totalPageCount]\r\n */\r\n if (totalPageNumbers >= totalPageCount) {\r\n return range(1, totalPageCount);\r\n }\r\n\r\n const leftSiblingIndex = Math.max(currentPage - siblingCount, 1);\r\n const rightSiblingIndex = Math.min(\r\n currentPage + siblingCount,\r\n totalPageCount\r\n );\r\n\r\n /*\r\n We do not want to show dots if there is only one position left \r\n after/before the left/right page count as that would lead to a change if our Pagination\r\n component size which we do not want\r\n */\r\n const shouldShowLeftDots = leftSiblingIndex > 2;\r\n const shouldShowRightDots = rightSiblingIndex < totalPageCount - 2;\r\n\r\n const firstPageIndex = 1;\r\n const lastPageIndex = totalPageCount;\r\n\r\n if (!shouldShowLeftDots && shouldShowRightDots) {\r\n let leftItemCount = 3 + 2 * siblingCount;\r\n let leftRange = range(1, leftItemCount);\r\n\r\n return [...leftRange, DOTS, totalPageCount];\r\n }\r\n\r\n if (shouldShowLeftDots && !shouldShowRightDots) {\r\n let rightItemCount = 3 + 2 * siblingCount;\r\n let rightRange = range(\r\n totalPageCount - rightItemCount + 1,\r\n totalPageCount\r\n );\r\n return [firstPageIndex, DOTS, ...rightRange];\r\n }\r\n\r\n if (shouldShowLeftDots && shouldShowRightDots) {\r\n let middleRange = range(leftSiblingIndex, rightSiblingIndex);\r\n return [firstPageIndex, DOTS, ...middleRange, DOTS, lastPageIndex];\r\n }\r\n }, [totalCount, pageSize, siblingCount, currentPage]);\r\n\r\n return paginationRange;\r\n};","import React from 'react';\r\nimport classnames from 'classnames';\r\nimport { usePagination, DOTS } from './usePagination.component';\r\nimport './Pagination.style.scss'\r\n\r\nconst Pagination = (props) => {\r\n const {\r\n onPageChange,\r\n totalCount,\r\n siblingCount = 1,\r\n currentPage,\r\n pageSize,\r\n className\r\n } = props;\r\n \r\n const paginationRange = usePagination({\r\n currentPage,\r\n totalCount,\r\n siblingCount,\r\n pageSize\r\n });\r\n \r\n if (currentPage === 0 || paginationRange.length < 2) {\r\n return null;\r\n }\r\n \r\n const onNext = () => {\r\n onPageChange(currentPage + 1);\r\n };\r\n \r\n const onPrevious = () => {\r\n onPageChange(currentPage - 1);\r\n };\r\n \r\n let lastPage = paginationRange[paginationRange.length - 1];\r\n return (\r\n \r\n \r\n
    \r\n \r\n {paginationRange.map(pageNumber => {\r\n if (pageNumber === DOTS) {\r\n return
  • ;\r\n }\r\n \r\n return (\r\n onPageChange(pageNumber)}\r\n >\r\n {pageNumber}\r\n \r\n );\r\n })}\r\n \r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nexport default Pagination;","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport \"font-awesome/css/font-awesome.min.css\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\n\r\nconst ASICFormPortalComponent = (props) => {\r\n const individualElectronicLodgementService = useSelector(\r\n (state) => state.individualElectronicLodgementService\r\n );\r\n\r\n const dispatch = useDispatch();\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n // connect to API\r\n\r\n useEffect(() => {\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getIndividualElectronicLodegementService(\r\n selectedCompanyCode\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getIndividualElectronicLodegementService(value.Code)\r\n )\r\n );\r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const individualElectronicLodgementServiceTotalStatement =\r\n individualElectronicLodgementService &&\r\n individualElectronicLodgementService.items\r\n ? individualElectronicLodgementService.items.filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n\r\n const currentPosts = individualElectronicLodgementServiceTotalStatement\r\n ? individualElectronicLodgementServiceTotalStatement.slice(\r\n indexOfFirstPost,\r\n indexOfLastPost\r\n )\r\n : [];\r\n\r\n\r\n // refresh button\r\n function handleClickRefreshASICFormPortal(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n\r\n return (\r\n
    \r\n

    Electronic Lodgement Service

    \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n {individualElectronicLodgementService &&\r\n currentPosts &&\r\n currentPosts.length === 0 ? (\r\n \r\n \r\n \r\n ) : (\r\n individualElectronicLodgementService &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n ))\r\n )}\r\n \r\n
    SupportCompany NameFormDocument StatusDoc Track No. DateAgentStatus Action
    No data available in table
    \r\n \r\n {post.CO_NAME} {post.FORM_TYPE}\r\n {\" \"}\r\n \r\n {post.STATUS}\r\n \r\n {post.DOC_CODE}{moment(post.FORM_DATE).format(\"DD/MM/YYYY\")}{post.AGENT_CODE}\r\n \r\n {post.DUE_DAYS}\r\n \r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    \r\n {individualElectronicLodgementServiceTotalStatement &&\r\n individualElectronicLodgementServiceTotalStatement.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {individualElectronicLodgementServiceTotalStatement\r\n ? individualElectronicLodgementServiceTotalStatement.length\r\n : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default ASICFormPortalComponent;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport Form484InformationComponent from \"../CommonPage/Form484Information.component\";\r\n\r\nconst DocumentTrackingComponent = (props) => {\r\n const [selectedOption, setSelectedOption] = useState(\"484\");\r\n\r\n const asicDocumentTracking = useSelector(\r\n (state) => state.asicDocumentTracking\r\n );\r\n const totalLength =\r\n asicDocumentTracking &&\r\n asicDocumentTracking.items && asicDocumentTracking.items[0] &&\r\n asicDocumentTracking.items[0].DOCUMENTS;\r\n const currentPosts = totalLength;\r\n\r\n const [expandedRows, setExpandedRows] = useState([]);\r\n const [expandState, setExpandState] = useState({});\r\n\r\n const handleRow = (e, code) => {\r\n const currentExpandedRows = expandedRows;\r\n const isRowExpanded = currentExpandedRows.includes(code);\r\n\r\n let obj = {};\r\n isRowExpanded ? (obj[code] = false) : (obj[code] = true);\r\n\r\n setExpandState(obj);\r\n // If the row is expanded, we are here to hide it. Hence remove\r\n // it from the state variable. Otherwise add to it.\r\n const newExpandedRows = isRowExpanded\r\n ? currentExpandedRows.filter((id) => id !== code)\r\n : currentExpandedRows.concat(code);\r\n\r\n setExpandedRows(newExpandedRows);\r\n };\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n\r\n if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getAsicDocumentTracking(selectedCompanyCode));\r\n } else {\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n if (selectedSearchValue !== null) {\r\n const companyCode = JSON.parse(selectedSearchValue).map((value) => {\r\n return value.Code;\r\n });\r\n if (companyCode) {\r\n dispatch(userActions.getAsicDocumentTracking(companyCode));\r\n }\r\n }\r\n }\r\n handle484DocTrackPopupClose();\r\n handleDocPopupClose();\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n //loading spinner\r\n const [isDocLoaded, setIsDocLoaded] = useState(false);\r\n //Document Tracking particular document report\r\n\r\n const documentHistoryDocDetails = useSelector(\r\n (state) => state.documentHistoryDocDetails\r\n );\r\n let docHandleClick = (e, rN, formType, docNo) => {\r\n e.preventDefault();\r\n dispatch(\r\n userActions.getDocumentHistoryDocReport(\r\n rN,\r\n formType,\r\n docNo,\r\n setIsDocLoaded\r\n )\r\n );\r\n handleDocPopupShow(e, docNo);\r\n };\r\n\r\n const [popupDocShow, setPopupDocShow] = useState(0);\r\n const handleDocPopupClose = () => setPopupDocShow(false);\r\n const handleDocPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupDocShow(index);\r\n };\r\n\r\n let handleDocPopupClick = (e) => {\r\n e.preventDefault();\r\n handleDocPopupClose();\r\n };\r\n\r\n // Form 484 information Popup.\r\n const form484Information = useSelector((state) => state.form484Information);\r\n\r\n //loading spinner\r\n const [isForm484DocTrackLoaded, setIsForm484DocTrackLoaded] = useState(false);\r\n // eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n function form484DocTrackHandleClick(e, rN, docNo) {\r\n setSubmitted(true);\r\n dispatch(\r\n userActions.getForm484Information(rN, docNo, setIsForm484DocTrackLoaded)\r\n );\r\n handle484DocTrackPopupShow(e, docNo);\r\n }\r\n\r\n const [popup484DocTrackShow, setPopup484DocTrackShow] = useState(0);\r\n const handle484DocTrackPopupClose = () => setPopup484DocTrackShow(false);\r\n const handle484DocTrackPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopup484DocTrackShow(index);\r\n };\r\n let handle484DocTrackPopupClick = (e) => {\r\n e.preventDefault();\r\n handle484DocTrackPopupClose();\r\n };\r\n\r\n return (\r\n
    \r\n \r\n

    DocumentTracking

    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {asicDocumentTracking.items &&\r\n asicDocumentTracking.items.map((value) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!expandedRows.includes(value.CO_CODE) && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n
    Company Company NameACN Action
    \r\n {expandState[value.CO_CODE] ? (\r\n handleRow(e, value.CO_CODE)}\r\n >\r\n ) : (\r\n handleRow(e, value.CO_CODE)}\r\n >\r\n )}\r\n {value.CO_CODE}{value.CO_NAME}{value.ACN}\r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n\r\n \r\n {currentPosts &&\r\n currentPosts\r\n .filter((name) =>\r\n name.FORM_TYPE.includes(selectedOption)\r\n )\r\n .map((value, index) => (\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n {/* \r\n \r\n */}\r\n \r\n\r\n {popup484DocTrackShow === value.DOC_NO ? (\r\n \r\n handle484DocTrackPopupShow(\r\n e,\r\n value.DOC_NO\r\n )\r\n }\r\n body={\r\n \r\n }\r\n handleClick={handle484DocTrackPopupClick}\r\n />\r\n ) : popup484DocTrackShow === value.DOC_NO &&\r\n isForm484DocTrackLoaded ? (\r\n \r\n ) : null}\r\n \r\n ))}\r\n \r\n
    \r\n {\r\n setSelectedOption(e.target.value);\r\n setPopup484DocTrackShow(\"\");\r\n\r\n }}\r\n >\r\n \r\n {Array.from(\r\n new Set(\r\n currentPosts &&\r\n currentPosts.map((obj) => obj.FORM_TYPE)\r\n )\r\n ).map((value) => {\r\n return (\r\n \r\n {value}\r\n \r\n );\r\n })}\r\n \r\n Form TitleForm DateLodged DateELSDoc No.ASIC Doc No.EmailedOrder No.Action\r\n \r\n
    {value.FORM_TYPE} {value.FORM_TYPE_DESC}\r\n {value.FORM_DATE\r\n ? moment(value.FORM_DATE).format(\r\n \"DD/MM/YYYY\"\r\n )\r\n : \"\"}\r\n \r\n {value.LODGE_DATE\r\n ? moment(value.LODGE_DATE).format(\r\n \"DD/MM/YYYY\"\r\n )\r\n : \"\"}\r\n {value.ELS_TRANSMIT ? \"Y\" : \"N\"}\r\n {\" \"}\r\n \r\n docHandleClick(\r\n e,\r\n value.RN,\r\n value.FORM_TYPE,\r\n value.DOC_NO\r\n )\r\n }\r\n >\r\n {\" \"}\r\n {value.DOC_NO}\r\n \r\n {popupDocShow === value.DOC_NO &&\r\n documentHistoryDocDetails &&\r\n documentHistoryDocDetails.error &&\r\n documentHistoryDocDetails.error.indexOf(\r\n \"400\"\r\n ) !== -1 ? (\r\n \r\n handleDocPopupShow(e, value.DOC_NO)\r\n }\r\n body={\r\n \" No Documents Package on File -\" +\r\n value.DOC_NO\r\n }\r\n handleClick={handleDocPopupClick}\r\n />\r\n ) : popupDocShow === value.DOC_NO &&\r\n isDocLoaded ? (\r\n \r\n ) : null}\r\n {value.ASIC_DOC_NO}\r\n {value.EMAILED\r\n ? moment(value.EMAILED).format(\"DD/MM/YYYY\")\r\n : \"\"}\r\n {value.ORDER_ID}\r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n\r\n
      \r\n
    • \r\n false}\r\n >\r\n View document Package\r\n \r\n
      \r\n
    • \r\n
    • \r\n false}\r\n >\r\n Summary\r\n \r\n
      \r\n
    • \r\n
    • \r\n false}\r\n >\r\n Folder\r\n \r\n
    • \r\n
    \r\n
    \r\n {value.FORM_TYPE === \"484\" ? (\r\n false}\r\n role=\"button\"\r\n onClick={(e) =>\r\n form484DocTrackHandleClick(\r\n e,\r\n value.RN,\r\n value.DOC_NO\r\n )\r\n }\r\n >\r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default DocumentTrackingComponent;\r\n","import React, { useState } from \"react\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst Div7aLoanAgreement = (props) => {\r\n\r\n \r\n const [reportParam, setReportParam] = useState({\r\nloanBalance: 0,\r\n associateName: \"\",\r\n associateAddress:\"\",\r\n stateLocation: \"\",\r\n });\r\n\r\n //const { loanBalance, associateName,associateAddress} = reportParam;\r\n const [submitted, setSubmitted] = useState(false);\r\n let handleChange = (e) => {\r\n \r\n const { name, value } = e.target;\r\n setReportParam((reportParam) => ({ ...reportParam, [name]: value }));\r\n };\r\n\r\n\r\n\r\n // div 7a loan Lodgement Report\r\n const dispatch = useDispatch();\r\n\r\n //loading spinner\r\nconst [isDiv7AReportLoaded, setIsDiv7AReportLoaded] = useState(false);\r\n\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n \r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0) || (props.searchCompany && props.searchCompany.length > 0);\r\n function handleClick(e) {\r\n setSubmitted(true);\r\n \r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n dispatch(userActions.getDiv7ALoanReport(props.searchCompany[0].Code,reportParam,setIsDiv7AReportLoaded));\r\n } else if (selectedCompanyCode !== null) {\r\n \r\n dispatch(userActions.getDiv7ALoanReport(selectedCompanyCode,reportParam,setIsDiv7AReportLoaded));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getDiv7ALoanReport(value.Code,reportParam,setIsDiv7AReportLoaded))\r\n );\r\n }\r\n }\r\n\r\n\r\n\r\n \r\n return (\r\n
    \r\n \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    Enter Loan Balance (or leave Bank)\r\n \r\n
    Enter Associate Name (Or Blank)\r\n \r\n \r\n \r\n \r\n
    Enter Associate Address (Or Blank)\r\n \r\n \r\n \r\n \r\n
    State of Jurisdiction\r\n {\r\n \r\n setReportParam(() => ({ ...reportParam, [e.target.name]: e.target.value }))\r\n }\r\n }\r\n required\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n submitted && !reportParam.stateLocation &&\r\n
    Please Select the State\r\n
    \r\n \r\n }\r\n
    \r\n {\" \"}\r\n \r\n {isDiv7AReportLoaded? :null}\r\n {submitted && !validate && (\r\n
    Make sure Company Name selected / Report doesn't exist.
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default Div7aLoanAgreement;\r\n","import React, { useState } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport ASICFormPortalComponent from \"../ASICFormPortalComponents/ASICFormPortal.Components\";\r\nimport DocumentTrackingComponent from \"../ASICFormsAndDocumentComponent/DocumentTrackingComponent\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport Div7aLoanAgreement from \"../Div7ALoanAgreementComponent/Div7aLoanAgreement\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst ASICFormComponent = (props) => {\r\n //loading spinner\r\n const [isViewFormHistoryLoaded, setIsViewFormHistoryLoaded] = useState(false);\r\n\r\n // View Forms History Report\r\n const dispatch = useDispatch();\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n function viewFormsHistoryHandleClick(e) {\r\n setSubmitted(true);\r\n\r\n const selectedCode =\r\n props.searchCompany && props.searchCompany.map((value) => value.Code);\r\n\r\n if (selectedCode !== null) {\r\n dispatch(\r\n userActions.getFormsHistoryReport(\r\n selectedCode,\r\n setIsViewFormHistoryLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getFormsHistoryReport(\r\n value.Code,\r\n setIsViewFormHistoryLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n\r\n //loading spinner\r\n const [\r\n isViewCurrentAnnualStatementLoaded,\r\n setIsViewCurrentAnnualStatementLoaded,\r\n ] = useState(false);\r\n\r\n function viewCurrentAnnualStatementHandleClick(e) {\r\n setSubmitted(true);\r\n const companyCode =\r\n props.searchCompany && props.searchCompany.map((value) => value.Code);\r\n\r\n const companyName =\r\n props.searchCompany && props.searchCompany.map((value) => value.Name);\r\n\r\n if (companyCode !== null) {\r\n dispatch(\r\n userActions.getViewCurrentAnnualStatementReport(\r\n companyCode,\r\n companyName,\r\n setIsViewCurrentAnnualStatementLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getViewCurrentAnnualStatementReport(\r\n value.Code,\r\n value.Name,\r\n setIsViewCurrentAnnualStatementLoaded\r\n )\r\n )\r\n );\r\n }\r\n handleAnnualStatementDocPopupShow(e);\r\n }\r\n\r\n // popup error message for View Current Annual Statement\r\n const viewCurrentAnnualStatementReport = useSelector(\r\n (state) => state.viewCurrentAnnualStatementReport\r\n );\r\n\r\n const [popupAnnualStatementDocShow, setPopupAnnualStatementDocShow] =\r\n useState(false);\r\n const handleAnnualStatementDocPopupClose = () =>\r\n setPopupAnnualStatementDocShow(false);\r\n const handleAnnualStatementDocPopupShow = (e) => {\r\n e.preventDefault();\r\n setPopupAnnualStatementDocShow(true);\r\n };\r\n\r\n let handleAnnualStatementDocPopupClick = (e) => {\r\n e.preventDefault();\r\n handleAnnualStatementDocPopupClose();\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n View latest Annual Statement\r\n
    \r\n false}\r\n onClick={(e) => viewCurrentAnnualStatementHandleClick(e)}\r\n >\r\n View latest Annual Statement\r\n \r\n {isViewCurrentAnnualStatementLoaded ? : null}\r\n\r\n {popupAnnualStatementDocShow &&\r\n viewCurrentAnnualStatementReport &&\r\n viewCurrentAnnualStatementReport.error &&\r\n viewCurrentAnnualStatementReport.error.indexOf(\"400\") !== -1 && (\r\n handleAnnualStatementDocPopupShow(e)}\r\n body={\" No Annual Statement on Files.\"}\r\n handleClick={handleAnnualStatementDocPopupClick}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n View Forms and Documents\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n View Forms History\r\n
    \r\n false}\r\n onClick={(e) => viewFormsHistoryHandleClick(e)}\r\n >\r\n View Forms History Report\r\n \r\n {isViewFormHistoryLoaded ? : null}\r\n
    \r\n
    \r\n
    \r\n ASIC Forms Portal\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Div 7A Loan Agreement\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default ASICFormComponent;\r\n","import React from 'react';\r\nimport \"../CompanyDetailsComponent/CompanyDetails.styles.scss\";\r\n\r\n\r\n\r\n\r\n\r\nconst EmailHistoryComponent = (props) => {\r\n\r\n return (\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Sender Recipients Subject Date Delivered Read
    No matching records found
    \r\n
    \r\n\r\n \r\n)\r\n \r\n}\r\n export default EmailHistoryComponent;","import React, { useEffect, useCallback } from \"react\";\r\nimport { AsyncTypeahead } from \"react-bootstrap-typeahead\";\r\n//import Popup from '../CommonPage/Popup.component';\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"./Search.scss\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport \"../CommonPage/Action.scss\";\r\nconst CommonSearch = (props) => {\r\n const history = useHistory();\r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getAllCompany(props.searchToken));\r\n dispatch(userActions.getAllDepartement());\r\n // eslint-disable-next-line\r\n }, []);\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const companyName = JSON.parse(localStorage.getItem(\"companyName\"));\r\n const companyACN = JSON.parse(localStorage.getItem(\"companyACN\"));\r\n \r\n useEffect(() => {\r\n if (companyName !== null) {\r\n \r\n props.setSearchCompany([{ Code: companyCode, Name: companyName, ACN: companyACN }]);\r\n } else if (inputSearchValue) {\r\n \r\n } else if (inputSearchValue) {\r\n props.setSearchCompany(inputSearchValue);\r\n } else {\r\n\r\n if (props.recentCompanyList && props.recentCompanyList.items && props.recentCompanyList.items[0]) {\r\n props.setSearchCompany([\r\n {\r\n Code: props.recentCompanyList.items[0].CO_CODE,\r\n Name: props.recentCompanyList.items[0].CO_NAME,\r\n ACN: props.recentCompanyList.items[0].CO_ACN\r\n },\r\n ]);\r\n \r\n }\r\n }\r\n \r\n\r\n // if(!companyCode && !inputSearchValue) {\r\n // handleIistCompanyPopupShow()\r\n //}\r\n // eslint-disable-next-line\r\n }, [props.setSearchCompany, props.recentCompanyList]);\r\n \r\n\r\n const companyList = useSelector((state) => state.companyList);\r\n\r\n //const [popupIistCompanyShow, setPopupIistCompanyShow] = useState(false);\r\n //const handleIistCompanyPopupClose = () => setPopupIistCompanyShow(false);\r\n // const handleIistCompanyPopupShow = () => setPopupIistCompanyShow(true);\r\n const userName = localStorage.getItem(\"userName\");\r\n // popupmessage to select the company\r\n /*{(!companyCode && !inputSearchValue) && handleIistCompanyPopupShow()} body={\"Please Select the Company in a Search Bar\"} handleClick={handleIPopupClick} />}\r\nlet handleIPopupClick = (e) => {\r\n e.preventDefault();\r\n handleIistCompanyPopupClose();\r\n}\r\n*/\r\n const recentSearchedCompanies = localStorage.getItem(\"recentCompanySearch\");\r\n let handleClickCompany = (e) => {\r\n e.preventDefault();\r\n const code = e.target.value;\r\n const splitValue = code && code.split(\",\");\r\n if (splitValue) {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(splitValue[0]));\r\n localStorage.setItem(\"companyName\", JSON.stringify(splitValue[1]));\r\n localStorage.setItem(\"companyACN\", JSON.stringify(splitValue[2]));\r\n props.setSearchCompany([\r\n {\r\n Code: JSON.parse(JSON.stringify(splitValue[0])),\r\n Name: JSON.parse(JSON.stringify(splitValue[1])),\r\n ACN: JSON.parse(JSON.stringify(splitValue[2])),\r\n },\r\n ]);\r\n dispatch(userActions.getCompanyProfileByCode(splitValue[0]));\r\n history.push(\"/CompanyMenuDetails\");\r\n }\r\n };\r\n const oldRepeatedCompanySearch =\r\n recentSearchedCompanies &&\r\n JSON.parse(recentSearchedCompanies) &&\r\n Array.from(\r\n new Set(\r\n recentSearchedCompanies &&\r\n JSON.parse(recentSearchedCompanies).map((obj) =>\r\n obj.map((value) => value)\r\n )\r\n )\r\n );\r\n const recentSearchHistory =\r\n props.recentCompanyList &&\r\n props.recentCompanyList.items &&\r\n props.recentCompanyList.items.map((value) => [\r\n { Code: value.CO_CODE, Name: value.CO_NAME },\r\n ]);\r\n const repeatedCompanySearch =\r\n oldRepeatedCompanySearch &&\r\n Array.prototype.concat.apply(\r\n [],\r\n recentSearchHistory\r\n ? oldRepeatedCompanySearch.concat(recentSearchHistory)\r\n : oldRepeatedCompanySearch\r\n );\r\n useEffect(() => {\r\n // eslint-disable-next-line\r\n }, [repeatedCompanySearch]);\r\n return (\r\n
    \r\n {console.log(\"props.recentCompanyList ===\", props.recentCompanyList)}\r\n {console.log(\"======repeatedCompanySearch========\", repeatedCompanySearch)}\r\n
    \r\n {\r\n localStorage.removeItem(\"companyName\");\r\n localStorage.removeItem(\"companyCode\");\r\n localStorage.removeItem(\"recentCompanySearch\");\r\n localStorage.setItem(\"inputSearchValue\", JSON.stringify(selected));\r\n props.setSearchCompany(selected);\r\n const companyCode = JSON.parse(JSON.stringify(selected)).map(\r\n (value) => {\r\n return value.Code;\r\n }\r\n );\r\n const acn = JSON.parse(JSON.stringify(selected)).map((value) => {\r\n return value.ACN;\r\n });\r\n if (selected.length > 0) {\r\n props.recentSearch.push(selected);\r\n localStorage.setItem(\r\n \"recentCompanySearch\",\r\n JSON.stringify(props.recentSearch)\r\n );\r\n }\r\n if (companyCode && companyCode.length > 0) {\r\n dispatch(userActions.getCompanyProfileByCode(companyCode));\r\n dispatch(userActions.getUnitTrustByCode(companyCode, \"summary\"));\r\n dispatch(userActions.getAsicDocumentTracking(companyCode));\r\n }\r\n if (acn && acn.length > 0) {\r\n dispatch(userActions.getRegdInformation(acn));\r\n dispatch(\r\n userActions.postRecentCompanyList(\r\n props.userId,\r\n props.clientId,\r\n \"\",\r\n acn[0]\r\n )\r\n );\r\n console.log(\r\n \"postRecentCompanyList\",\r\n props.userId,\r\n props.clientId,\r\n acn\r\n );\r\n }\r\n }}\r\n selected={props.searchCompany}\r\n placeholder=\"Enter the Company to Search\"\r\n useCache={false}\r\n />\r\n
    \r\n
    \r\n
    \r\n handleClickCompany(e)}\r\n >\r\n \r\n {repeatedCompanySearch\r\n ? repeatedCompanySearch\r\n .filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.Code === thing.Code)\r\n )\r\n .map((value) => (\r\n \r\n ))\r\n : props.recentCompanyList &&\r\n props.recentCompanyList.items &&\r\n props.recentCompanyList.items\r\n .filter(\r\n (thing, index, self) =>\r\n index ===\r\n self.findIndex((t) => t.CO_CODE === thing.CO_CODE)\r\n )\r\n .map((value) => (\r\n \r\n ))}\r\n \r\n
    \r\n
    \r\n
    \r\n {/* */}\r\n
    \r\n
    \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownStaticlinks\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
  • \r\n \r\n New Director ID\r\n \r\n
    \r\n
  • \r\n
  • \r\n \r\n AusPOST Postcode Check\r\n \r\n
  • \r\n \r\n
    \r\n
    \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n
    \r\n

    {userName && userName.charAt(0).toUpperCase()}

    \r\n
    \r\n \r\n \r\n {/* \r\n
  • \r\n false}>\r\n Edit Profile\r\n \r\n
    \r\n
  • \r\n*/}\r\n
  • \r\n false}\r\n onClick={() => props.history.push(\"/ProfileSettings\")}\r\n >\r\n Profile Settings\r\n \r\n
    \r\n
  • \r\n
  • \r\n false}\r\n onClick={() => {\r\n props.history.push(\"/login\");\r\n \r\n }}\r\n >\r\n Sign out\r\n \r\n
  • \r\n \r\n
    \r\n
    \r\n );\r\n};\r\nexport default CommonSearch;","import React, { useCallback } from \"react\";\r\nimport { AsyncTypeahead } from \"react-bootstrap-typeahead\";\r\nimport \"react-dropzone-uploader/dist/styles.css\";\r\nimport Dropzone from \"react-dropzone-uploader\";\r\n\r\nconst AdditionalInformationComponent = (props) => {\r\n // eslint-disable-next-line\r\n const API_URL = process.env.REACT_APP_PRIME_API_URL;\r\n const getUploadParams = ({ file, meta }) => {\r\n const body = new FormData()\r\n body.append('fileField', file)\r\n return { url: 'https://httpbin.org/post', body }\r\n };\r\n //const [fileList, setFileList] = useState([]);\r\n // const saveBase64AsFile = (base64, fileName) => {\r\n // var link = document.createElement(\"a\");\r\n\r\n // link.setAttribute(\"href\", base64);\r\n // link.setAttribute(\"download\", fileName);\r\n // link.click();\r\n // };\r\n\r\n const handleControlledDropzonChangeStatus = (status, allFiles, xhr) => {\r\n setTimeout(() => {\r\n if ([\"done\", \"removed\"].includes(status)) {\r\n \r\n props.setAsicDetails((data) => ({ ...data, fileList: [...allFiles] }));\r\n props.setAsicDetails((data) => ({ ...data, dataFileList: allFiles && allFiles.map((value)=>JSON.parse(JSON.stringify(value.xhr.response))) }));\r\n \r\n }\r\n }, 0);\r\n };\r\n\r\n const NoDropzoneLayout = ({\r\n previews,\r\n submitButton,\r\n input,\r\n files,\r\n dropzoneProps,\r\n }) => {\r\n const { ref, className, style } = dropzoneProps;\r\n return (\r\n
    \r\n {previews}\r\n\r\n {input}\r\n\r\n {files.length > 0 && submitButton}\r\n
    \r\n );\r\n };\r\n const handleSearch = useCallback((q) => {\r\n\r\n console.log(\"selected2\",q)\r\n props.setAsicDetails((value) => ({ ...value, signerName: [q] }));\r\n \r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n const handle = useCallback((q) => {\r\n\r\n console.log(\"selected2\",q)\r\n // eslint-disable-next-line\r\n }, []);\r\n return (\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n\r\n \r\n `${option.CEASED!==\"\" ? option.OFFICER_NAME:\"\"}`\r\n \r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items ?\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n ):[]\r\n }\r\n isLoading={false}\r\n onSearch={handle}\r\n onInputChange={handleSearch}\r\n onChange={(selected) => {\r\n if (selected) {\r\n console.log(\"selected\",selected)\r\n props.setAsicDetails((value) => ({ ...value, signerName: selected }));\r\n }\r\n \r\n }}\r\n // selected={props.asicDetails.signerName!=='undefined' && props.asicDetails.signerName}\r\n placeholder=\"Form SignerName\"\r\n useCache={false}\r\n \r\n />\r\n { console.log(\"array length\",props.asicDetails.signerName)}\r\n {console.log(\"props.asicDetails.signerName\",props.asicDetails.signerName, props.asicDetails.signerName.length)}\r\n {( !props.asicDetails.signerName ||\r\n (props.asicDetails.signerName && props.asicDetails.signerName[0] === \"\") ||\r\n (props.asicDetails.signerName && props.asicDetails.signerName.length===0) \r\n ) \r\n && (\r\n \r\n
    \r\n \r\n SignerName required\r\n
    \r\n )}\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n >\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n \r\n {\r\n handleControlledDropzonChangeStatus(status, allFiles,xhr);\r\n }}\r\n styles={{ dropzone: { border: 0, overflow: \"hidden\" } }}\r\n />\r\n
    \r\n
    \r\n );\r\n};\r\nexport default AdditionalInformationComponent;\r\n","import React from \"react\";\r\nimport AdditionalInformationComponent from \"./AdditionalInformation.component\";\r\n\r\nconst AddOrRemoveAsicAgentListComponent = (props) => {\r\n return (\r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Additional Info (Inc Partner / Manager / Client / Billing\r\n Information)\r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n );\r\n};\r\nexport default AddOrRemoveAsicAgentListComponent;\r\n","import React from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\n\r\nconst CompanyNameChange = (props) => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Change Date\r\n \r\n \r\n\r\n props.handleChange(e, true, \"cnChangeDate\")}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.asicDetails.cnChangeDate}\r\n />\r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, \"\")}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default CompanyNameChange;\r\n","import React, { useState, useEffect,useCallback } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../../redux/actions/user.actions\";\r\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\";\r\nimport { AsyncTypeahead, Typeahead } from \"react-bootstrap-typeahead\";\r\n\r\nconst OfficeHolderAppointementComponent = (props) => {\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getAllCountries());\r\n setOfficerShareHoldersData((value) => ({ ...value, name: officerNames && shareHolderNames && officerNames.concat(shareHolderNames)} ));\r\n // eslint-disable-next-line\r\n }, []);\r\n const countries = useSelector((state) => state.countries);\r\n\r\n\r\n // const PLACE_API = process.env.REACT_GOOGLE_PLACE_API;\r\n\r\n let handleClickClearDate = (e, isDate, name, index) => {\r\n if (isDate) {\r\n const list = [...props.appointmentInputlist];\r\n list[index][name] = \"\";\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n /*setOfficeHolderAppointement((OfficeHolderAppointement) => ({\r\n ...OfficeHolderAppointement,\r\n [name]: \"\",\r\n }));*/\r\n }\r\n };\r\n\r\n\r\n\r\n const shareHolderNames= props.companyProfile && props.companyProfile.items && props.companyProfile.items.shareholders && props.companyProfile.items.shareholders.map((value) => \r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${value.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}\r\n : Total Shares=${value.SUM_TOT_SHARES} : ${value.BEN_OWNER ? \"Beneficially Held\" : \"\"}` );\r\n\r\n const duplicatedOfficer=\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n\r\n const officerNames= duplicatedOfficer&& duplicatedOfficer.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n \r\n\r\n\r\n \r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name:[]\r\n });\r\n\r\n const handleSearch = useCallback((q) => {\r\n\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"appointedOfficerName\"] = [q];\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({ ...changeOrder, appointmentInputlist: list }));\r\n \r\n //props.setAsicDetails((value) => ({ ...value, appointedOfficerName: [q] }));\r\n \r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {/* props.handleAppointmentInputChange(e,props.appointIndex)}\r\n autoComplete='off' \r\n />\r\n*/}\r\n \r\n `${option.CEASED!==\"\" ? option.OFFICER_NAME:\"\"}`\r\n \r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items ?\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n ):[]\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n onChange={(selected) => {\r\n if (selected && selected!=='undefined') {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"appointedOfficerName\"] = selected;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({ ...changeOrder, appointmentInputlist: list }));\r\n }\r\n \r\n }}\r\n // selected={props.asicDetails.signerName!=='undefined' && props.asicDetails.signerName}\r\n placeholder=\"Text...\"\r\n useCache={false}\r\n //selected={props.appointElements.appointedOfficerName}\r\n autoFocus={false}\r\n />\r\n\r\n
    \r\n
    \r\n \r\n\r\n {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"officerAddress\"] = val;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n \r\n },\r\n }}\r\n />\r\n \r\n \r\n Address required for new Officer\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Position 1\r\n \r\n
    \r\n
    \r\n {props.handleAppointmentInputChange(e,props.appointIndex)}}\r\n\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Change Date{\" \"}\r\n \r\n \r\n
    \r\n
    \r\n {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"position1ChangeDate\"] = e;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n }\r\n }\r\n value={props.appointElements.position1ChangeDate}\r\n />\r\n
    \r\n
    \r\n \r\n handleClickClearDate(e, true, \"position1ChangeDate\",props.appointIndex)\r\n }\r\n >\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Position 2\r\n \r\n
    \r\n
    \r\n {props.handleAppointmentInputChange(e,props.appointIndex)}}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Change Date{\" \"}\r\n \r\n \r\n
    \r\n
    \r\n {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"position2ChangeDate\"] = e;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n }\r\n }\r\n value={props.appointElements.position2ChangeDate}\r\n />\r\n
    \r\n
    \r\n \r\n handleClickClearDate(e, true, \"position2ChangeDate\",props.appointIndex)\r\n }\r\n >\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Position 3\r\n \r\n
    \r\n
    \r\n {props.handleAppointmentInputChange(e,props.appointIndex)}}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Change Date{\" \"}\r\n \r\n \r\n
    \r\n
    \r\n {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"position3ChangeDate\"] = e;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n }\r\n }\r\n value={props.appointElements.position3ChangeDate}\r\n />\r\n
    \r\n
    \r\n \r\n handleClickClearDate(e, true, \"position3ChangeDate\",props.appointIndex)\r\n }\r\n >\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n\r\n value.name)\r\n }\r\n options={\r\n officerShareHoldersData && officerShareHoldersData.name\r\n ? officerShareHoldersData.name\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n autoFocus={false}\r\n onChange={(selected) => {\r\n \r\n const list = [...props.appointmentInputlist];\r\n\r\n list[props.appointIndex][\"alternateDirectorFor\"] = selected;\r\n \r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist: list,\r\n }));\r\n \r\n }}\r\n selected={props.appointElements.alternateDirectorFor}\r\n placeholder=\"Text...\"\r\n useCache={false}\r\n />\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n {\r\n const list = [...props.appointmentInputlist];\r\n list[props.appointIndex][\"dOB\"] = e;\r\n props.setAppointmentInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist:list\r\n }));\r\n }\r\n }\r\n value={props.appointElements.dOB}\r\n autoComplete=\"off\" \r\n />\r\n
    \r\n
    \r\n \r\n Place of Birth\r\n \r\n props.handleAppointmentInputChange(e,props.appointIndex)}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n State of Brith\r\n \r\n {props.handleAppointmentInputChange(e,props.appointIndex)}}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Country of Brith\r\n \r\n {props.handleAppointmentInputChange(e,props.appointIndex)}}\r\n >\r\n \r\n \r\n {countries &&\r\n countries.items &&\r\n countries.items.map((value) => (\r\n \r\n {value.common}\r\n \r\n ))}\r\n \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default OfficeHolderAppointementComponent;\r\n","import React, { useState,useCallback } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\";\r\nimport { Typeahead } from \"react-bootstrap-typeahead\";\r\n\r\n\r\nconst OfficeHoldersChangeofAddressComponent = (props) => {\r\n\r\n\r\n const shareHolderNames= props.companyProfile && props.companyProfile.items && props.companyProfile.items.shareholders ? props.companyProfile.items.shareholders.map((value) => \r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${value.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}: \r\n Total Shares=${value.SUM_TOT_SHARES} :${value.BEN_OWNER ? \"Beneficially Held\" : \"\"}` ): \"\";\r\n\r\n const duplicatedOfficer=\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n\r\n const officerNames= duplicatedOfficer&& duplicatedOfficer.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n \r\n //const officerNames=companyProfile && companyProfile.items && companyProfile.items.officers && companyProfile.items.officers.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n\r\n\r\n\r\nfunction handleBothNames()\r\n{\r\nif (officerNames && shareHolderNames) {\r\n setOfficerShareHoldersData((value) => ({ ...value, name: officerNames && shareHolderNames && officerNames.concat(shareHolderNames)} ));\r\n} else {\r\n setOfficerShareHoldersData((value) => ({ ...value, name: []} ));\r\n}\r\n}\r\n \r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name:[]\r\n });\r\n \r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n \r\n\r\n function handleReset(e) {\r\n props.setAsicDetails((value) => ({ ...value, officeHolderName: \"\" }));\r\n }\r\n\r\n \r\n return (\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Change Date\r\n \r\n \r\n {\r\n const list = [...props.osChangeofAddressInputlist];\r\n list[props.changeofAddressIndex][\"ocaChangeDate\"] = e;\r\n props.setOSChangeofAddressInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist:list\r\n }));\r\n }\r\n }\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.changeofAddressElements.ocaChangeDate}\r\n \r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n { handleReset(e);props.handleChangeofAddressInputChange(e,props.changeofAddressIndex);\r\n handleBothNames();\r\n \r\n }\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n Officer/Shareholder Name\r\n \r\n
    \r\n\r\n
    \r\n {props.changeofAddressElements.changeFor &&\r\n props.changeofAddressElements.changeFor !== \"\" &&\r\n props.changeofAddressElements.changeFor === \"Officer\" && (\r\n \r\n `${option.CEASED!==\"\" ? option.OFFICER_NAME:\"\"}`\r\n \r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items ?\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n ): []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n /* onChange={(selected) => {\r\n props.setAsicDetails((value) => ({ ...value, officeHolderName: selected }));\r\n console.log(\"selectedselected officer xxxxxxxxxx\",selected)\r\n }} \r\n selected={props.asicDetails.officeHolderName} */\r\n\r\n onChange={(selected) => { \r\n \r\n \r\n const list = [...props.osChangeofAddressInputlist];\r\n list[props.changeofAddressIndex][\"officeHolderName\"] = selected;\r\n props.setOSChangeofAddressInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist:list\r\n }));\r\n \r\n \r\n }}\r\n selected={props.changeofAddressElements.officeHolderName}\r\n placeholder=\"Enter the Officer Name to Search\"\r\n useCache={false}\r\n \r\n />\r\n )}\r\n \r\n {props.changeofAddressElements.changeFor &&\r\n props.changeofAddressElements.changeFor !== \"\" &&\r\n props.changeofAddressElements.changeFor === \"Shareholder\" && (\r\n \r\n `${option.NAME}: ${option.CLASS_CODE}: ${option.CLASS_NO}: FP=${option.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${option.BEN_OWNER ? \"Yes\" : \"no\"}\r\n : Total Shares=${option.SUM_TOT_SHARES}: ${option.BEN_OWNER ? \"Beneficially Held\" : \"\"}`\r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items ?\r\n props.companyProfile.items.shareholders : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n /* onChange={(selected) => {\r\n props.setAsicDetails((value) => ({ ...value, officeHolderName: selected }));\r\n console.log(\"selectedshareholderxxxxxxxxxx\",selected)\r\n }}\r\n selected={props.asicDetails.officeHolderName}*/\r\n onChange={(selected) => { \r\n \r\n \r\n const list = [...props.osChangeofAddressInputlist];\r\n list[props.changeofAddressIndex][\"officeHolderName\"] = selected;\r\n props.setOSChangeofAddressInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist:list\r\n }));\r\n \r\n \r\n }}\r\n selected={props.changeofAddressElements.officeHolderName}\r\n placeholder=\"Enter the ShareHolder Name to Search\"\r\n useCache={false}\r\n />\r\n )}\r\n {props.changeofAddressElements.changeFor &&\r\n props.changeofAddressElements.changeFor !== \"\" &&\r\n props.changeofAddressElements.changeFor === \"both\" && (\r\n value.name)\r\n \r\n \r\n }\r\n \r\n options={\r\n officerShareHoldersData && officerShareHoldersData.name ? officerShareHoldersData.name :[]\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n /* onChange={(selected) => {\r\n props.setAsicDetails((value) => ({ ...value, officeHolderName: selected }));\r\n console.log(\"officeHolderName selected officer xxxxxxxxxx\",selected)\r\n }}*/\r\n\r\n onChange={(selected) => { \r\n \r\n //const splittedSelected = (selected[0] && selected[0].indexOf(':') !== -1) ? selected[0].split(':') : selected[0]\r\n const list = [...props.osChangeofAddressInputlist];\r\n list[props.changeofAddressIndex][\"officeHolderName\"] = selected;\r\n props.setOSChangeofAddressInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist:list\r\n }));\r\n \r\n \r\n }}\r\n selected={props.changeofAddressElements.officeHolderName}\r\n placeholder=\"Enter both the Officer or Shareholder Name to Search\"\r\n useCache={false}\r\n \r\n />\r\n )}\r\n \r\n
    \r\n\r\n
    \r\n \r\n FULL ADDRESS\r\n \r\n \r\n \r\n {\r\n if(props.osChangeofAddressInputlist && props.osChangeofAddressInputlist.length > 0) {\r\n const list = [...props.osChangeofAddressInputlist];\r\n list[props.changeofAddressIndex][\"officeholdersChangeFullAddress\"] = val;\r\n props.setOSChangeofAddressInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist:list\r\n }));\r\n }\r\n }\r\n }}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default OfficeHoldersChangeofAddressComponent;\r\n","import React, { useCallback } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { Typeahead } from \"react-bootstrap-typeahead\";\r\n\r\nconst OfficeHoldersResignation = (props) => {\r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Resignation Date\r\n \r\n\r\n props.handleChange(e, true, 'resignationDate')}\r\n\r\n value={props.asicDetails.resignationDate} */\r\n onChange={(e) => {\r\n const list = [...props.resignInputlist];\r\n list[props.resignIndex][\"resignationDate\"] = e;\r\n props.setResignInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: list,\r\n }));\r\n }}\r\n value={props.resignElements.resignationDate}\r\n selected={props.resignElements.resignationDate}\r\n />\r\n
    \r\n
    \r\n \r\n\r\n
    \r\n \r\n `${option.CEASED !== \"\" ? option.OFFICER_NAME : \"\"}`\r\n }\r\n options={\r\n props.companyProfile && props.companyProfile.items\r\n ? props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index ===\r\n self.findIndex(\r\n (t) => t.OFFICER_NAME === thing.OFFICER_NAME\r\n )\r\n )\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n placeholder=\"Enter the Officer Name to Search\"\r\n useCache={false}\r\n onChange={(selected) => {\r\n const list = [...props.resignInputlist];\r\n list[props.resignIndex][\"resignOfficerName\"] = selected;\r\n list[props.resignIndex][\"ceasedDirector\"] =(selected.map(item=> item.POSITION_HELD === \"DIRECTOR\" ? true:false))\r\n list[props.resignIndex][\"ceasedsecretary\"] =(selected.map(item=> item.POSITION_HELD === \"SECRETARY\" ? true:false))\r\n list[props.resignIndex][\"ceasedAltDirector\"] =(selected.map(item=> item.POSITION_HELD === \"ALTDIRECTOR\" ? true:false))\r\n list[props.resignIndex][\"ceasedPublicOfficer\"] =(selected.map(item=> item.POSITION_HELD === \"PUBLICOFFICER\" ? true:false))\r\n props.setResignInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: list,\r\n }));\r\n \r\n }}\r\n selected={props.resignElements.resignOfficerName}\r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, '')}*/\r\n value={props.resignElements.resignReason}\r\n onChange={(e) =>\r\n props.handleResignInputChange(e, props.resignIndex)\r\n }\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n\r\n
    \r\n \r\n Roles Ceasing\r\n \r\n
    \r\n props.handleChange(e, false, '')}*/\r\n onChange={(e) => {\r\n props.handleResignInputChange(e, props.resignIndex, true);\r\n }}\r\n checked={\r\n props.resignElements.ceasedDirector &&\r\n props.resignElements.ceasedDirector[0]\r\n }\r\n value={props.resignElements.ceasedDirector}\r\n />\r\n\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')}*/\r\n onChange={(e) => {\r\n props.handleResignInputChange(e, props.resignIndex, true);\r\n }}\r\n checked={\r\n props.resignElements.ceasedsecretary &&\r\n props.resignElements.ceasedsecretary[0]\r\n }\r\n value={props.resignElements.ceasedsecretary}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')}*/\r\n onChange={(e) => {\r\n props.handleResignInputChange(e, props.resignIndex, true);\r\n }}\r\n checked={\r\n props.resignElements.ceasedAltDirector &&\r\n props.resignElements.ceasedAltDirector[0]\r\n }\r\n value={props.resignElements.ceasedAltDirector}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} */\r\n onChange={(e) => {\r\n props.handleResignInputChange(e, props.resignIndex, true);\r\n }}\r\n checked={\r\n props.resignElements.ceasedPublicOfficer &&\r\n props.resignElements.ceasedPublicOfficer[0]\r\n }\r\n value={props.resignElements.ceasedPublicOfficer}\r\n />\r\n \r\n
    {\" \"}\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default OfficeHoldersResignation;\r\n","import React, { useState, useCallback } from \"react\";\r\nimport { Typeahead } from \"react-bootstrap-typeahead\";\r\nimport DatePicker from \"react-datepicker\";\r\n\r\nconst OfficerShareholdersNameChange = (props) => {\r\n const shareHolderNames= props.companyProfile && props.companyProfile.items && props.companyProfile.items.shareholders && props.companyProfile.items.shareholders.map((value) => \r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${value.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}: \r\n Total Shares=${value.SUM_TOT_SHARES} :${value.BEN_OWNER ? \"Beneficially Held\" : \"\"}` );\r\n\r\n const duplicatedOfficer=\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n\r\n const officerNames= duplicatedOfficer&& duplicatedOfficer.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n\r\n //const officerNames=props.companyProfile && props.companyProfile.items && props.companyProfile.items.officers && props.companyProfile.items.officers.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n function handleBothNames() {\r\n setOfficerShareHoldersData((value) => ({\r\n ...value,\r\n name:\r\n officerNames &&\r\n shareHolderNames &&\r\n officerNames.concat(shareHolderNames),\r\n }));\r\n }\r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name: [],\r\n });\r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n function handleResetOfficerNameChange(e) {\r\n props.setAsicDetails((value) => ({ ...value, fromName: \"\" }));\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Change Date\r\n \r\n \r\n props.handleChange(e, true, \"ohChangeDate\")}\r\n value={props.asicDetails.ohChangeDate}\r\n*/\r\n onChange={(e) => {\r\n const list = [...props.osNameChangeInputlist];\r\n list[props.nameChangeIndex][\"ohChangeDate\"] = e;\r\n props.setOSNameChangeInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n }}\r\n value={props.nameChangeElements.ohChangeDate}\r\n selected={props.nameChangeElements.ohChangeDate}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n handleResetOfficerNameChange(e);\r\n props.handleChange(e, false, \"\");\r\n handleBothNames();\r\n }}*/\r\n onChange={(e) => {\r\n props.handleNameChangeChange(e, props.nameChangeIndex);\r\n handleBothNames();\r\n handleResetOfficerNameChange();\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n {props.nameChangeElements.changeForNameChange &&\r\n props.nameChangeElements.changeForNameChange !== \"\" &&\r\n props.nameChangeElements.changeForNameChange === \"Officer\" && (\r\n \r\n `${option.CEASED !== \"\" ? option.OFFICER_NAME : \"\"}`\r\n }\r\n options={\r\n props.companyProfile && props.companyProfile.items\r\n ? props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index ===\r\n self.findIndex(\r\n (t) => t.OFFICER_NAME === thing.OFFICER_NAME\r\n )\r\n )\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n onChange={(selected) => {\r\n \r\n const list = [...props.osNameChangeInputlist];\r\n list[props.nameChangeIndex][\"fromName\"] = selected;\r\n props.setOSNameChangeInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n }}\r\n selected={props.nameChangeElements.fromName}\r\n placeholder=\"From Name\"\r\n useCache={false}\r\n />\r\n )}\r\n\r\n {props.nameChangeElements.changeForNameChange &&\r\n props.nameChangeElements.changeForNameChange !== \"\" &&\r\n props.nameChangeElements.changeForNameChange === \"Shareholder\" && (\r\n \r\n \r\n `${option.NAME}: ${option.CLASS_CODE}: ${option.CLASS_NO}: FP=${option.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${option.BEN_OWNER ? \"Yes\" : \"no\"}\r\n : Total Shares=${option.SUM_TOT_SHARES}: ${option.BEN_OWNER ? \"Beneficially Held\" : \"\"}`\r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items ?\r\n props.companyProfile.items.shareholders : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n onChange={(selected) => {\r\n \r\n const list = [...props.osNameChangeInputlist];\r\n list[props.nameChangeIndex][\"fromName\"] = selected;\r\n props.setOSNameChangeInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n }}\r\n selected={props.nameChangeElements.fromName}\r\n placeholder=\"From Name\"\r\n useCache={false}\r\n />\r\n )}\r\n {props.nameChangeElements.changeForNameChange &&\r\n props.nameChangeElements.changeForNameChange !== \"\" &&\r\n props.nameChangeElements.changeForNameChange === \"both\" && (\r\n value.name)\r\n }\r\n options={\r\n officerShareHoldersData && officerShareHoldersData.name\r\n ? officerShareHoldersData.name\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n /* onChange={(selected) => {\r\n props.setAsicDetails((value) => ({ ...value, fromName: selected }));\r\n console.log(\"officeHolderName selected officer xxxxxxxxxx\",selected)\r\n }}\r\n selected={props.asicDetails.fromName}*/\r\n\r\n onChange={(selected) => {\r\n \r\n const list = [...props.osNameChangeInputlist];\r\n list[props.nameChangeIndex][\"fromName\"] = selected;\r\n props.setOSNameChangeInputlist(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n }}\r\n selected={props.nameChangeElements.fromName}\r\n placeholder=\"Name\"\r\n useCache={false}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, \"\")}*/\r\n onChange={(e) =>\r\n props.handleNameChangeChange(e, props.nameChangeIndex)\r\n }\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default OfficerShareholdersNameChange;\r\n","import React from 'react';\r\nimport DatePicker from \"react-datepicker\";\r\nimport GooglePlacesAutocomplete from 'react-google-places-autocomplete';\r\n\r\nconst PrincipalBusinessAddressComponent = (props) => {\r\n \r\n\r\n \r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Change Date\r\n \r\n \r\n\r\n props.handleChange(e, true, 'baChangeDate')}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.asicDetails.baChangeDate}\r\n \r\n />\r\n
    \r\n
    \r\n \r\n FULL ADDRESS\r\n \r\n {\r\n props.setAsicDetails((businessAddress) => ({\r\n ...businessAddress,\r\n businessFullAddress:val\r\n }));\r\n }\r\n }}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default PrincipalBusinessAddressComponent;\r\n","import React, { useState } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\";\r\n\r\nconst RegisteredOfficeAddressComponent = (props) => {\r\n const [premisses, setPremisses] = useState(true);\r\n let handleClickPremisses = (e) => {\r\n setPremisses(e.target.checked);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n companyOccupiesPremises:e.target.checked\r\n }));\r\n };\r\n\r\n return (\r\n
    \r\n {console.log(\"companyOccupiesPremises\",props.asicDetails.companyOccupiesPremises)}\r\n
    \r\n
    \r\n
    \r\n \r\n\r\n props.handleChange(e, true, \"raChangeDate\")}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.asicDetails.raChangeDate}\r\n />\r\n
    \r\n
    \r\n \r\n {\r\n props.setAsicDetails((registeredAddress) => ({\r\n ...registeredAddress,\r\n registeredFullAddress: val,\r\n }));\r\n },\r\n }}\r\n />\r\n
    \r\n\r\n
    \r\n
    \r\n {\r\n handleClickPremisses(e);\r\n props.handleChange(e, false, \"\");\r\n }}\r\n checked={props.asicDetails.companyOccupiesPremises}\r\n />\r\n \r\n Company Occupies Premises\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n\r\n props.handleChange(e, false, \"\")}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default RegisteredOfficeAddressComponent;\r\n","import React from \"react\";\r\n\r\nconst ReturnCapitalInfoComponent = (props) => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n props.handleChange(e, false, \"\")}\r\n \r\n >\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default ReturnCapitalInfoComponent;\r\n","import React, { useCallback } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport NumberFormat from \"react-number-format\";\r\nimport { Typeahead } from \"react-bootstrap-typeahead\";\r\n \r\n\r\n\r\nconst ShareCancellation = (props) => {\r\n\r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Cancel Date{\" \"}\r\n \r\n \r\n {\r\n const list = [...props.shareCancellationInputList];\r\n list[props.shareCancelIndex][\"shareCancelDate\"] = e;\r\n props.setShareCancellationInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList:list\r\n }));\r\n }\r\n }\r\n\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.shareCancelElements.shareCancelDate}\r\n />\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n `${option.NAME}: ${option.CLASS_CODE}: ${option.CLASS_NO}: FP=${option.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${option.BEN_OWNER ? \"Yes\" : \"no\"}: Total Shares=${option.SUM_TOT_SHARES}`\r\n }\r\n \r\n options={\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.shareholders ? props.companyProfile.items.shareholders: []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n onChange={(selected) => {\r\n const shareCancellationValue = selected.map(item=> item.SUM_TOT_SHARES );\r\n const SClassCode=selected.map(item=> item.CLASS_CODE );\r\n const SPaidPershare=selected.map(item=> item.AMOUNT_PAID );\r\n const STotalPaid=selected.map(item=> item.SUM_TRAN_PRICE );\r\n /*props.setAsicDetails((value) => ({ ...value, shareCancelShareHolderName: selected,\r\n shareCancellationFullyPaid:selected.map(item=> item.FULLY_PAID === \"true\" ? true:false), \r\n shareCancellationTotalShares: shareCancellationValue[0],\r\n shareCancellationClassCode: SClassCode[0],\r\n shareCancellationPaidPerShare:SPaidPershare[0],\r\n shareCancellationTotalPaid:STotalPaid[0],\r\n }));*/\r\n \r\n const list = [...props.shareCancellationInputList];\r\n list[props.shareCancelIndex][\"shareCancelShareHolderName\"] = selected;\r\n console.log(\"sharetransferselectedvalues\", selected &&\r\n selected[0])\r\n\r\n list[props.shareCancelIndex][\"shareCancellationFullyPaid\"] = selected.map(item=> item.FULLY_PAID ? true:false)\r\n list[props.shareCancelIndex][\"shareCancellationBeneficiallyOwned\"] = selected.map(item=> item.BEN_OWNER ? true:false)\r\n console.log(\"cancellation\",list[props.shareCancelIndex][\"shareCancellationFullyPaid\"])\r\n list[props.shareCancelIndex][\"shareCancellationTotalShares\"] = shareCancellationValue[0]\r\n list[props.shareCancelIndex][\"shareCancellationClassCode\"] = SClassCode[0]\r\n list[props.shareCancelIndex][\"shareCancellationPaidPerShare\"] = SPaidPershare[0]\r\n list[props.shareCancelIndex][\"shareCancellationTotalPaid\"] = STotalPaid[0]\r\n \r\n \r\n \r\n props.setShareCancellationInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList:list\r\n }));\r\n }}\r\n selected={props.shareCancelElements.shareCancelShareHolderName}\r\n placeholder=\"Enter the ShareHolder Name to Search\"\r\n useCache={false}\r\n /> \r\n \r\n
    \r\n\r\n\r\n \r\n For Joint holder, combine with 'AND' operator\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex,true);\r\n \r\n }}\r\n \r\n checked={props.shareCancelElements.shareCancellationFullyPaid && props.shareCancelElements.shareCancellationFullyPaid[0] }\r\n value={props.shareCancelElements.shareCancellationFullyPaid }\r\n />\r\n \r\n \r\n Fully Paid\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex,true);\r\n \r\n }}\r\n checked={props.shareCancelElements.shareCancellationBeneficiallyOwned && props.shareCancelElements.shareCancellationBeneficiallyOwned[0] }\r\n value={props.shareCancelElements.shareCancellationBeneficiallyOwned}\r\n />\r\n \r\n Beneficially Owned\r\n \r\n
    \r\n
    \r\n
    \r\n {!props.shareCancelElements.shareCancellationBeneficiallyOwned && (\r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n \r\n autoComplete='off' \r\n />\r\n
    \r\n )}\r\n
    \r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n Provision Desc\r\n \r\n props.handleChange(e, false, \"\")}\r\n onChange={(e) =>props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n />\r\n
    \r\n\r\n
    \r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n thousandSeparator={true}\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Paid per share\r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n \r\n Total Paid\r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n {!props.shareCancelElements.shareCancellationFullyPaid && (\r\n
    \r\n
    \r\n \r\n UnPaid per share\r\n \r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n \r\n Total UnPaid\r\n \r\n\r\n props.handleInputChangeShareCancellation(e,props.shareCancelIndex)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default ShareCancellation;\r\n","import React, { useCallback, useState } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\";\r\nimport NumberFormat from \"react-number-format\";\r\nimport { AsyncTypeahead,Typeahead } from \"react-bootstrap-typeahead\";\r\n\r\nconst ShareIssue = (props) => {\r\n\r\n function handleReset(e) {\r\n if (props.elements.shareIssueFullyPaid) {\r\n props.setAsicDetails((value) => ({\r\n ...value,\r\n shareIssueUnpaidPerShare: \"\",\r\n shareIssueTotalUnpaid: \"\",\r\n shareIssueBenName: \"\",\r\n }));\r\n }\r\n if (props.elements.shareIssueBeneficiallyOwned) {\r\n props.setAsicDetails((value) => ({ ...value, shareIssueBenName: \"\" }));\r\n }\r\n }\r\n\r\n const shareHolderNames= props.companyProfile && props.companyProfile.items && props.companyProfile.items.shareholders && props.companyProfile.items.shareholders.map((value) => \r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${value.FULLY_PAID ? \"Yes\" : \"no\"}: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}: \r\n Total Shares=${value.SUM_TOT_SHARES} :${value.BEN_OWNER ? \"Beneficially Held\" : \"\"}` );\r\n\r\n const duplicatedOfficer=\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n\r\n const officerNames= duplicatedOfficer&& duplicatedOfficer.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n\r\n //const officerNames=props.companyProfile && props.companyProfile.items && props.companyProfile.items.officers && props.companyProfile.items.officers.map((value) => `${value.CEASED!==\"\" ? value.OFFICER_NAME:\"\"}` );\r\n function handleNames() {\r\n setOfficerShareHoldersData((value) => ({\r\n ...value,\r\n name:\r\n officerNames &&\r\n shareHolderNames &&\r\n officerNames.concat(shareHolderNames),\r\n }));\r\n }\r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name: [],\r\n });\r\n\r\n const handleSearch = useCallback((q) => {\r\n \r\n\r\n const list = [...props.inputList];\r\n list[props.index][\"shareissueShareholderName\"] = [q];\r\n props.setInputList(list);\r\n props.setAsicDetails((order) => ({\r\n ...order,\r\n inputList: list,\r\n }));\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n\r\n return (\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n value.name)\r\n }\r\n options={\r\n officerShareHoldersData && officerShareHoldersData.name\r\n ? officerShareHoldersData.name\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n autoFocus={false}\r\n onChange={(selected) => {\r\n \r\n const list = [...props.inputList];\r\n\r\n list[props.index][\"shareissueShareholderName\"] = selected;\r\n \r\n props.setInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: list,\r\n }));\r\n \r\n }}\r\n selected={props.elements.shareissueShareholderName}\r\n placeholder=\"Shareholder Name\"\r\n useCache={false}\r\n />\r\n\r\n \r\n For Joint holder, combine with 'AND' operator\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChange(e, props.index, true);\r\n handleReset(e);\r\n }}\r\n checked={props.elements.shareIssueFullyPaid}\r\n value={props.elements.shareIssueFullyPaid}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChange(e, props.index);\r\n handleReset(e);\r\n }}\r\n checked={props.elements.shareIssueBeneficiallyOwned}\r\n value={props.elements.shareIssueBeneficiallyOwned}\r\n />\r\n \r\n Beneficially Owned\r\n \r\n
    \r\n
    \r\n
    \r\n {!props.elements.shareIssueBeneficiallyOwned && (\r\n
    \r\n \r\n props.handleInputChange(e, props.index)}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n )}\r\n
    \r\n \r\n {\r\n const list = [...props.inputList];\r\n list[props.index][\"shareholdersFullAddress\"] = val;\r\n props.setInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: list,\r\n }));\r\n /*props.setAsicDetails((shareholderAddress) => ({\r\n ...shareholderAddress,\r\n shareholdersFullAddress: val,\r\n }));*/\r\n },\r\n }}\r\n />\r\n \r\n Address required for new Shareholder\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n `${option.CLASS_CODE}`\r\n \r\n }\r\n \r\n options={\r\n props.classListInfo &&\r\n props.classListInfo.items ?\r\n props.classListInfo.items.Result.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.CLASS_CODE === thing.CLASS_CODE)\r\n ): []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n \r\n onChange={(selected) => { \r\n \r\n \r\n const list = [...props.inputList];\r\n list[props.index][\"shareIssueClasscode\"] = selected;\r\n props.setInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n inputList:list\r\n }));\r\n \r\n }}\r\n selected={props.elements.shareIssueClasscode}\r\n placeholder=\"Enter the class Code\"\r\n useCache={false}\r\n \r\n />\r\n
    \r\n
    \r\n \r\n Allotment Date{\" \"}\r\n \r\n \r\n {\r\n const list = [...props.inputList];\r\n list[props.index][\"shareIssueAllotmentDate\"] = e;\r\n props.setInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: list,\r\n }));\r\n }}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.elements.shareIssueAllotmentDate}\r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n props.handleInputChange(e, props.index)}\r\n thousandSeparator={true}\r\n placeholder=\"0\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n Paid per share\r\n \r\n props.handleInputChange(e, props.index)}\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n \r\n props.handleInputChange(e, props.index)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n {!props.elements.shareIssueFullyPaid && (\r\n
    \r\n
    \r\n \r\n UnPaid per share\r\n \r\n props.handleInputChange(e, props.index)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n \r\n Total UnPaid\r\n \r\n\r\n props.handleInputChange(e, props.index)}\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n )}\r\n
    \r\n\r\n
    \r\n \r\n
    \r\n );\r\n};\r\nexport default ShareIssue;\r\n","import React, { useState, useEffect, useCallback } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport GooglePlacesAutocomplete from \"react-google-places-autocomplete\";\r\nimport NumberFormat from \"react-number-format\";\r\nimport { Typeahead } from \"react-bootstrap-typeahead\";\r\n\r\nconst ShareTransfer = (props) => {\r\n useEffect(() => {\r\n handleNames();\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n function handleNames() {\r\n setOfficerShareHoldersData((value) => ({\r\n ...value,\r\n name:shareHolderNames,\r\n /* officerNames &&\r\n shareHolderNames &&\r\n officerNames.concat(shareHolderNames),*/\r\n }));\r\n }\r\n const shareHolderNames =\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.shareholders &&\r\n props.companyProfile.items.shareholders.map(\r\n (value) =>\r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${\r\n value.FULLY_PAID ? \"Yes\" : \"no\"\r\n }: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}\r\n : Total Shares=${value.SUM_TOT_SHARES} : ${\r\n value.BEN_OWNER ? \"Beneficially Held\" : \"\"\r\n } \r\n : Per Shares Paid= ${value.AMOUNT_PAID} : Total Paid=${\r\n value.SUM_TRAN_PRICE\r\n } `\r\n );\r\n\r\n const duplicatedOfficer =\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n// eslint-disable-next-line\r\n const officerNames =\r\n duplicatedOfficer &&\r\n duplicatedOfficer.map(\r\n (value) => `${value.CEASED !== \"\" ? value.OFFICER_NAME : \"\"}`\r\n );\r\n\r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name: [],\r\n });\r\n\r\n const handleSearch = useCallback((call) => {\r\n // eslint-disable-next-line\r\n }, []);\r\n /* let handleClickTransfertoFullyPaid = (e) => {\r\n \r\n setTransfertoFullyPaid(e.target.checked);\r\n }\r\n const [transfertoBeneficiallyOwned, setTransfertoBeneficiallyOwned] = useState(true);\r\n \r\n let handleClickTransfertoBeneficiallyOwned = (e) => {\r\n \r\n setTransfertoBeneficiallyOwned(e.target.checked);\r\n }*/\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n value.name)\r\n }\r\n options={\r\n officerShareHoldersData && officerShareHoldersData.name\r\n ? officerShareHoldersData.name\r\n : []\r\n }\r\n isLoading={false}\r\n onSearch={handleSearch}\r\n onChange={(selected) => {\r\n const splittedSelected =\r\n selected[0] && selected[0].indexOf(\":\") !== -1\r\n ? selected[0].split(\":\")\r\n : selected[0];\r\n const list = [...props.shareTransferInputList];\r\n list[props.shareTransferIndex][\"transferFrom\"] = selected;\r\n if (selected[0] && selected[0].indexOf(\":\") !== -1) {\r\n const fullyPaid = splittedSelected && splittedSelected[3] && splittedSelected[3].trim()\r\n const beneficiallyOwned = splittedSelected && splittedSelected[4] && splittedSelected[4].trim();\r\n list[props.shareTransferIndex][\"shareTransferclassCode\"] =\r\n splittedSelected &&\r\n splittedSelected[1] &&\r\n splittedSelected[1].trim();\r\n list[props.shareTransferIndex][\"transferFromFullyPaid\"] = fullyPaid && fullyPaid.split('=')[1].toLowerCase() === 'yes'\r\n list[props.shareTransferIndex][\"transferFromBeneficiallyOwned\"] = beneficiallyOwned && beneficiallyOwned.split('=')[1].toLowerCase() === 'yes'\r\n \r\n list[props.shareTransferIndex][\"shareTrasferTotalShares\"] =\r\n splittedSelected &&\r\n splittedSelected[5] &&\r\n splittedSelected[5].trim();\r\n list[props.shareTransferIndex][\r\n \"shareTransferPaidPerShare\"\r\n ] =\r\n splittedSelected &&\r\n splittedSelected[7] &&\r\n splittedSelected[7].trim();\r\n list[props.shareTransferIndex][\"shareTransferTotalPaid\"] =\r\n splittedSelected &&\r\n splittedSelected[8] &&\r\n splittedSelected[8].trim();\r\n } else {\r\n list[props.shareTransferIndex][\"shareTransferclassCode\"] =\r\n \"\";\r\n list[props.shareTransferIndex][\"shareTrasferTotalShares\"] =\r\n \"\";\r\n list[props.shareTransferIndex][\r\n \"shareTransferPaidPerShare\"\r\n ] = \"\";\r\n list[props.shareTransferIndex][\"shareTransferTotalPaid\"] =\r\n \"\";\r\n }\r\n\r\n props.setShareTransferInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: list,\r\n }));\r\n }}\r\n /* onChange={(selected) => {\r\n const sc=selected.map(item=> item );\r\n const splitting = sc && sc[0] && sc[0].split(\":\")\r\n\r\n props.setAsicDetails((value) => ({ ...value, transferFrom: selected,\r\n shareTransferclassCode: splitting && splitting[1] && splitting[1],\r\n shareTrasferTotalShares:splitting && splitting[5] && splitting[5],\r\n shareTransferPaidPerShare:splitting && splitting[7] && splitting[7],\r\n shareTransferTotalPaid:splitting && splitting[8] && splitting[8],\r\n }));\r\n\r\n } } */\r\n\r\n selected={props.shareTransferElements.transferFrom}\r\n placeholder=\"Shareholder Name\"\r\n useCache={false}\r\n />\r\n
    \r\n \r\n \r\n For Joint holder, combine with 'AND' operator\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n );\r\n }}\r\n checked={props.shareTransferElements.transferFromFullyPaid}\r\n value={props.shareTransferElements.transferFromFullyPaid}\r\n />\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n );\r\n }}\r\n checked={\r\n props.shareTransferElements.transferFromBeneficiallyOwned\r\n }\r\n value={\r\n props.shareTransferElements.transferFromBeneficiallyOwned\r\n }\r\n />\r\n \r\n Transfer - Beneficially Owned\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n />\r\n \r\n For Joint holder, combine with 'AND' operator\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n );\r\n }}\r\n checked={props.shareTransferElements.transfertoFullyPaid}\r\n value={props.shareTransferElements.transfertoFullyPaid}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n );\r\n }}\r\n />\r\n \r\n Beneficially Owned\r\n \r\n
    \r\n
    \r\n
    \r\n {!props.shareTransferElements.transfertoBeneficiallyOwned && (\r\n
    \r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n )}\r\n
    \r\n \r\n\r\n {\r\n const list = [...props.shareTransferInputList];\r\n list[props.shareTransferIndex][\"shareTransferAddress\"] = val;\r\n props.setShareTransferInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: list,\r\n }));\r\n },\r\n }}\r\n />\r\n\r\n \r\n Address required for new Shareholder\r\n \r\n
    \r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n \r\n Transfer Date{\" \"}\r\n \r\n \r\n props.handleChange(e, true, 'shareTransferTransferDate')}*/\r\n onChange={(e) => {\r\n const list = [...props.shareTransferInputList];\r\n list[props.shareTransferIndex][\"shareTransferTransferDate\"] =\r\n e;\r\n props.setShareTransferInputList(list);\r\n props.setAsicDetails((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: list,\r\n }));\r\n }}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.shareTransferElements.shareTransferTransferDate}\r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Paid per share\r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n \r\n Total Paid\r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n autoComplete=\"off\"\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n />\r\n
    \r\n
    \r\n {!props.shareTransferElements.transfertoFullyPaid && (\r\n
    \r\n
    \r\n \r\n UnPaid per share\r\n \r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n \r\n Total UnPaid\r\n \r\n\r\n \r\n props.handleInputChangeShareTransfer(\r\n e,\r\n props.shareTransferIndex\r\n )\r\n }\r\n placeholder=\"0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n prefix=\"$\"\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default ShareTransfer;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../CorporateRegistersComponents/CorporateRegister.styles.scss\";\r\nimport AddOrRemoveAsicAgentListComponent from \"./AddOrRemoveAsicAgentList.component\";\r\nimport \"./checkboxaccordion.scss\";\r\nimport CompanyNameChange from \"./CompanyNameChangeComponent/CompanyNameChange.Component\";\r\nimport OfficeHolderAppointementComponent from \"./OfficeholderAppointmentcomponent/OfficeHolderAppointment.component\";\r\nimport OfficeHoldersChangeofAddressComponent from \"./OfficeHolderChangeofAddressComponent/OfficeHoldersChangeofAddress.component\";\r\nimport OfficeHoldersResignation from \"./OfficeHoldersResignationComponent/OfficeHoldersResignation.component\";\r\nimport OfficerShareholdersNameChange from \"./OfficerShareholdersNameChangeComponent/OfficerShareholdersNameChange.Component\";\r\nimport PrincipalBusinessAddressComponent from \"./PrincipalBusinessAddressComponent/principalBusinessAddress.component\";\r\nimport RegisteredOfficeAddressComponent from \"./RegisteredOfficeAddressComponent/RegisteredOfficeAddress.component\";\r\nimport ReturnCapitalInfoComponent from \"./ReturnCapitalInfoComponent/ReturnCapitalInfo.component\";\r\nimport ShareCancellation from \"./ShareCancellationComponent/ShareCancellation.component\";\r\nimport ShareIssue from \"./ShareIssueComponent/ShareIssue.component\";\r\nimport ShareTransfer from \"./ShareTransferComponent/ShareTransfer.component\";\r\n\r\nconst ASICDetailsUpdateComponent = (props) => {\r\n const [officerShareHoldersData, setOfficerShareHoldersData] = useState({\r\n name: [],\r\n });\r\n\r\n const duplicatedOfficer =\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.officers.filter(\r\n (thing, index, self) =>\r\n index === self.findIndex((t) => t.OFFICER_NAME === thing.OFFICER_NAME)\r\n );\r\n const officerNames =\r\n duplicatedOfficer &&\r\n duplicatedOfficer.map((value) =>\r\n value.CEASED !== \"\" ? value.OFFICER_NAME : \"\"\r\n );\r\n\r\n useEffect(() => {\r\n setOfficerShareHoldersData((value) => ({\r\n ...value,\r\n name:\r\n officerNames && shareHolderNames\r\n ? officerNames.concat(shareHolderNames)\r\n : [],\r\n }));\r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n const handleOfficerShareHoldersDataClick = (e) => {\r\n setOfficerShareHoldersData((value) => ({\r\n ...value,\r\n name:\r\n officerNames && shareHolderNames\r\n ? officerNames.concat(shareHolderNames)\r\n : [],\r\n }));\r\n };\r\n\r\n const shareHolderNames =\r\n props.companyProfile &&\r\n props.companyProfile.items &&\r\n props.companyProfile.items.shareholders &&\r\n props.companyProfile.items.shareholders.map(\r\n (value) =>\r\n `${value.NAME}: ${value.CLASS_CODE}: ${value.CLASS_NO}: FP=${\r\n value.FULLY_PAID ? \"Yes\" : \"no\"\r\n }: BO=${value.BEN_OWNER ? \"Yes\" : \"no\"}\r\n : Total Shares=${value.SUM_TOT_SHARES} :${\r\n value.BEN_OWNER ? \"Beneficially Held\" : \"\"\r\n }`\r\n );\r\n\r\n return (\r\n
    \r\n {console.log(\"companyOccupiesPremises from Eorder\",props.companyOccupiesPremises)}\r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Principal Business Address\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleChange(e, false, \"\");\r\n }}\r\n />\r\n \r\n Officeholder(s)/Shareholder(s) - Change of Address\r\n \r\n\r\n
    \r\n {props.osChangeofAddressInputlist.map(\r\n (changeofAddressElements, changeofAddressIndex) => (\r\n
    \r\n {props.osChangeofAddressInputlist.length - 1 ===\r\n changeofAddressIndex && (\r\n
    \r\n \r\n props.handleChangeofAddressAddClick(e)\r\n }\r\n >\r\n
    \r\n )}\r\n\r\n {props.osChangeofAddressInputlist.length !== 1 && (\r\n
    \r\n \r\n props.handleChangeofAddressRemoveClick(\r\n changeofAddressIndex\r\n )\r\n }\r\n >\r\n
    \r\n )}\r\n \r\n
    \r\n )\r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Company Name Change\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Officer Shareholders Name change\r\n \r\n
    \r\n\r\n \r\n {props.osNameChangeInputlist.map(\r\n (nameChangeElements, nameChangeIndex) => (\r\n
    \r\n {props.osNameChangeInputlist.length - 1 ===\r\n nameChangeIndex && (\r\n
    \r\n props.handleNameChangeAddClick(e)}\r\n >\r\n
    \r\n )}\r\n\r\n {props.osNameChangeInputlist.length !== 1 && (\r\n
    \r\n \r\n props.handleNameChangeRemoveClick(nameChangeIndex)\r\n }\r\n >\r\n
    \r\n )}\r\n \r\n
    \r\n )\r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Officeholder(s) - Appointment\r\n \r\n
    \r\n\r\n \r\n {props.appointmentInputlist.map(\r\n (appointElements, appointIndex) => (\r\n
    \r\n {props.appointmentInputlist.length - 1 ===\r\n appointIndex && (\r\n
    \r\n props.handleAppointmentAddClick(e)}\r\n >\r\n
    \r\n )}\r\n\r\n {props.appointmentInputlist.length !== 1 && (\r\n
    \r\n \r\n props.handlAppointmentRemoveClick(appointIndex)\r\n }\r\n >\r\n
    \r\n )}\r\n \r\n
    \r\n )\r\n )}\r\n
    \r\n \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Officeholder(s) - Resignations\r\n \r\n
    \r\n\r\n \r\n {props.resignInputlist.map((resignElements, resignIndex) => (\r\n
    \r\n {props.resignInputlist.length - 1 === resignIndex && (\r\n
    \r\n props.handleResignAddClick(e)}\r\n >\r\n
    \r\n )}\r\n\r\n {props.resignInputlist.length !== 1 && (\r\n
    \r\n \r\n props.handlResignRemoveClick(resignIndex)\r\n }\r\n >\r\n
    \r\n )}\r\n \r\n
    \r\n ))}\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n props.handleChange(e, false, \"\");\r\n handleOfficerShareHoldersDataClick(e);\r\n }}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n\r\n \r\n Share Issue(s)\r\n \r\n
    \r\n\r\n \r\n {props.inputList.map((elements, index) => (\r\n
    \r\n {props.inputList.length - 1 === index && (\r\n
    \r\n props.handleAddClick(e)}\r\n >\r\n
    \r\n )}\r\n\r\n {props.inputList.length !== 1 && (\r\n
    \r\n props.handleRemoveClick(index)}\r\n >\r\n
    \r\n )}\r\n\r\n \r\n
    \r\n ))}\r\n
    \r\n
    \r\n {props.asicDetails.shareIssue &&
    }\r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Share Cancellation(s)\r\n \r\n
    \r\n\r\n \r\n {props.shareCancellationInputList.map(\r\n (shareCancelElements, shareCancelIndex) => (\r\n
    \r\n {props.shareCancellationInputList.length - 1 ===\r\n shareCancelIndex && (\r\n
    \r\n \r\n props.handleAddShareCancellationClick(e)\r\n }\r\n >\r\n
    \r\n )}\r\n\r\n {props.shareCancellationInputList.length !== 1 && (\r\n
    \r\n \r\n props.handleRemoveShareCancellationClick(\r\n shareCancelIndex\r\n )\r\n }\r\n >\r\n
    \r\n )}\r\n \r\n
    \r\n )\r\n )}\r\n
    \r\n
    \r\n {props.asicDetails.shareCancellation &&
    }\r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Share Transfer(s)\r\n \r\n
    \r\n\r\n \r\n {props.shareTransferInputList.map(\r\n (shareTransferElements, shareTransferIndex) => (\r\n
    \r\n {props.shareTransferInputList.length - 1 ===\r\n shareTransferIndex && (\r\n
    \r\n \r\n props.handleAddShareTransferClick(e)\r\n }\r\n >\r\n
    \r\n )}\r\n\r\n {props.shareTransferInputList.length !== 1 && (\r\n
    \r\n \r\n props.handleRemoveShareTransferClick(\r\n shareTransferElements\r\n )\r\n }\r\n >\r\n
    \r\n )}\r\n\r\n \r\n
    \r\n )\r\n )}\r\n
    \r\n
    \r\n {props.asicDetails.shareTransfer &&
    }\r\n
    \r\n
    \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Return of Capital\r\n \r\n
    \r\n\r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default ASICDetailsUpdateComponent;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport \"../CommonPage/colourCodeEntries.scss\";\r\n\r\nconst ClassListComponent = (props) => {\r\n // connect to API\r\n const dispatch = useDispatch();\r\n const classListInfo = useSelector((state) => state.classListInfo);\r\n\r\n useEffect(() => {\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getClassList(selectedCompanyCode));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(userActions.getClassList(value.Code))\r\n );\r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(5);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n\r\n const classListTotal =\r\n classListInfo && classListInfo.items && classListInfo.items.Result\r\n ? classListInfo.items.Result.sort((a, b) =>\r\n a.CLASS_DESC > b.CLASS_DESC ? 1 : -1\r\n ).filter((filteredValue) =>\r\n filteredValue[\"CLASS_DESC\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n const currentPosts = classListTotal\r\n ? classListTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n // refresh button\r\n function handleClickRefresh(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n // if we select company from Company list push to company details tab\r\n\r\n return (\r\n
    \r\n

    Class List

    \r\n\r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {\r\n currentPosts&& currentPosts.length ===0 ? \r\n :\r\n \r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n props.handleClickClassList(\r\n e,\r\n post.RN,\r\n post.CLASS_CODE,\r\n post.CLASS_DESC,\r\n post.CLASS_NO\r\n )\r\n }>\r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
    \r\n \r\n CodeCode DetailsClass No
    No matching records found
    \r\n {\" \"}\r\n false}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={(e) =>\r\n props.handleClickClassList(\r\n e,\r\n post.RN,\r\n post.CLASS_CODE,\r\n post.CLASS_DESC,\r\n post.CLASS_NO\r\n )\r\n }\r\n >\r\n {\" \"}\r\n \r\n \r\n {post.CLASS_CODE}{post.CLASS_DESC}{post.CLASS_NO}
    \r\n
    \r\n {classListTotal && classListTotal.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /{classListTotal ? classListTotal.length : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n \r\n );\r\n};\r\nexport default ClassListComponent;\r\n","import React, { useState } from \"react\";\r\n\r\nimport DatePicker from \"react-datepicker\";\r\nimport AddOrRemoveAsicAgentListComponent from \"./AddOrRemoveAsicAgentList.component\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport ClassListComponent from \"../ClassListComponent/ClassList.component\";\r\nimport NumberFormat from \"react-number-format\";\r\n\r\nconst DividendStatementOrderComponent = (props) => {\r\n\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true); \r\n\r\n let handleClickClassList = (e, index,classCode, classDesc, classNo) => {\r\n e.preventDefault();\r\n props.setAsicDetails((classList) => ({\r\n ...classList,\r\n dividendClassCode: classCode,classCodeDetails:classDesc, classCodeNo:classNo\r\n }));\r\n handleClose();\r\n\r\n };\r\n \r\n\r\n function handleReset(e) {\r\n if (props.asicDetails.dividendClassCode) {\r\n props.setAsicDetails((value) => ({\r\n ...value,\r\n dividendClassCode: \"\",\r\n classCodeDetails: \"\",\r\n classCodeNo: \"\",\r\n \r\n }));\r\n }\r\n \r\n }\r\n \r\n function handleCalculate(e) {\r\n if (e.target.value) {\r\n props.setAsicDetails((value) => ({\r\n ...value,\r\n unFrankedAmountPercentage:100.00-e.target.value\r\n \r\n }));\r\n }\r\n \r\n }\r\n\r\n let frantAmt = 0;\r\n let unfrankAmt = 0;\r\n let total = 0;\r\n let frankPercentage = 0;\r\n let unfrankPercentage = 0;\r\n\r\n function handleFrankedAmountCalculate(e) {\r\n if (e.target.value) {\r\n frantAmt = parseFloat(e.target.value)\r\n unfrankAmt = props.asicDetails.unFrankedAmount ? props.asicDetails.unFrankedAmount:0;\r\n total = parseFloat(frantAmt) + parseFloat(unfrankAmt);\r\n if (total !== 0) {\r\n \r\n frankPercentage = frantAmt / total * 100\r\n unfrankPercentage = 100 - frankPercentage\r\n props.setAsicDetails((value) => ({\r\n ...value,\r\n frankedAmountPercentage:frankPercentage,\r\n \r\n unFrankedAmountPercentage:unfrankPercentage,\r\n }));\r\n }\r\n \r\n }\r\n \r\n }\r\n \r\n function handleUnFrankedAmountCalculate(e) {\r\n\r\n if (e.target.value) {\r\n frantAmt = props.asicDetails.frankedAmount ? props.asicDetails.frankedAmount:0;\r\n unfrankAmt = e.target.value\r\n total = parseFloat(frantAmt) + parseFloat(unfrankAmt);\r\n if (total !== 0) {\r\n \r\n unfrankPercentage = unfrankAmt / total * 100\r\n frankPercentage = 100 - unfrankPercentage\r\n props.setAsicDetails((value) => ({\r\n ...value,\r\n frankedAmountPercentage:frankPercentage,\r\n \r\n unFrankedAmountPercentage:unfrankPercentage,\r\n unFrankedAmount:e.target.value\r\n }));\r\n }\r\n \r\n }\r\n\r\n \r\n }\r\n \r\n\r\n return (\r\n \r\n
    \r\n
    \r\n
    Dividend
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n { props.handleChange(e, false, ''); handleReset(e)}}\r\n autoComplete='off' \r\n />\r\n
    \r\n handleShow(e)}>\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n {show && (\r\n \r\n }\r\n \r\n />\r\n )}\r\n\r\n
    \r\n props.handleChange(e, false, '')}\r\n disabled\r\n >\r\n
    \r\n
    \r\n props.handleChange(e, false, '')}\r\n disabled\r\n >\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n props.handleChange(e, true, 'booksCloseDate')}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.asicDetails.booksCloseDate}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n props.handleChange(e, true, 'financialYearEndDate')}\r\n dateFormat=\"dd/MM/yyyy\"\r\n placeholderText=\"DD/MM/YYYY\"\r\n value={props.asicDetails.financialYearEndDate}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} checked={props.asicDetails.interimDividend}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} checked={props.asicDetails.finalDividend}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} checked={props.asicDetails.shortMeetingNotice}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} checked={props.asicDetails.shareholdersResolutions}\r\n />\r\n \r\n
    \r\n
    \r\n props.handleChange(e, false, '')} checked={props.asicDetails.inputFrankedDollar}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, '')}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, '')}\r\n autoComplete='off' \r\n />\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n Franked Amount (%)\r\n \r\n\r\n {props.handleChange(e, false, ''); handleCalculate(e);}}\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n fixedDecimalScale={true}\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Unfranked Amount (%)\r\n \r\n \r\n\r\n props.handleChange(e, false, '')}\r\n disabled={props.asicDetails.inputFrankedDollar}\r\n placeholder=\"0.00\"\r\n decimalScale={4}\r\n thousandSeparator={true}\r\n fixedDecimalScale={true}\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n props.handleChange(e, false,\"\")}\r\n >\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n {props.handleChange(e, false, '');handleFrankedAmountCalculate(e)}}\r\n disabled={!props.asicDetails.inputFrankedDollar}\r\n placeholder=\"$0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n fixedDecimalScale={true}\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n { props.handleChange(e, false, '');handleUnFrankedAmountCalculate(e);}}\r\n disabled={!props.asicDetails.inputFrankedDollar}\r\n placeholder=\"$0.00\"\r\n decimalScale={2}\r\n thousandSeparator={true}\r\n fixedDecimalScale={true}\r\n decimalSeparator=\".\"\r\n displayType=\"input\"\r\n allowNegative={false}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n );\r\n};\r\nexport default DividendStatementOrderComponent;\r\n","import React, {useEffect} from \"react\";\r\nimport moment from \"moment\";\r\n\r\nconst OrderSummary = (props) => {\r\n useEffect(() => {\r\n \r\n // eslint-disable-next-line\r\n }, []);\r\n \r\n return (\r\n
    \r\n\r\n

    Order Confirmation

    \r\n \r\n
    \r\n {\" \"}\r\n {props.submitted=== \"AsicAdd\" ? props.changeOrder.companyName : props.companyName} [{props.submitted=== \"AsicAdd\" ? props.changeOrder.companyAcn : props.companyAcn}]\r\n
    \r\n \r\n \r\n \r\n {props.changeOrder.requestChangeAddress &&\r\n props.changeOrder.ROAddress && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.requestChangeAddress &&\r\n props.changeOrder.businessAddress && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.requestChangeAddress &&\r\n props.changeOrder.changeOfAddress &&props.changeOrder.osChangeofAddressInputlist && (props.changeOrder.osChangeofAddressInputlist.length >0) && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.requestChangeNames &&\r\n props.changeOrder.companyNameChange && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.requestChangeNames &&\r\n props.changeOrder.officerNameChange &&props.changeOrder.osNameChangeInputlist && (props.changeOrder.osNameChangeInputlist.length >0) && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.changeOfficeholder &&\r\n props.changeOrder.OfficeholderAppointment &&props.changeOrder.appointmentInputlist && (props.changeOrder.appointmentInputlist.length >0) && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.changeOfficeholder &&\r\n props.changeOrder.OfficeholderResignations &&props.changeOrder.resignInputlist && (props.changeOrder.resignInputlist.length >0) && (\r\n \r\n \r\n \r\n )}\r\n \r\n {props.changeOrder.changeToShareholdings &&\r\n props.changeOrder.shareIssue && props.changeOrder.inputList && (props.changeOrder.inputList.length >0) && (\r\n \r\n \r\n \r\n )}\r\n \r\n {props.changeOrder.changeToShareholdings &&\r\n props.changeOrder.shareCancellation && props.changeOrder.shareCancellationInputList && (props.changeOrder.shareCancellationInputList.length >0) && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.changeToShareholdings &&\r\n props.changeOrder.shareTransfer &&props.changeOrder.shareTransferInputList && (props.changeOrder.shareTransferInputList.length >0) && (\r\n \r\n \r\n \r\n )}\r\n {props.changeOrder.changeToShareholdings &&\r\n props.changeOrder.returnCapital && (\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n\r\n {props.changeOrder.dividendClassCode && (\r\n \r\n \r\n \r\n )}\r\n\r\n {\r\n props.changeOrder.additionalInfo && (\r\n \r\n \r\n \r\n )}\r\n {\" \"}\r\n
    \r\n \r\n Registered Office Address: \r\n {\" \"}\r\n
    \r\n Date:{\" \"}\r\n { props.changeOrder.raChangeDate ? (moment(props.changeOrder.raChangeDate).format(\"DD/MM/YYYY\")):\" \"}\r\n
    \r\n {props.changeOrder.registeredFullAddress.label}\r\n
    \r\n Company Occupies Premises :{\" \"}\r\n {props.changeOrder.companyOccupiesPremises ? \"yes\" : \"no\"}\r\n
    \r\n {`${\r\n !props.changeOrder.companyOccupiesPremises\r\n ? ` Occupier's Company Name : ${\r\n props.changeOrder.occupierCompanyName &&\r\n props.changeOrder.occupierCompanyName\r\n ? props.changeOrder.occupierCompanyName\r\n : \"\"\r\n }`\r\n : \"\"\r\n }`}\r\n
    \r\n \r\n Principal Business Address : \r\n \r\n
    \r\n Date:{\" \"}\r\n {moment(props.changeOrder.baChangeDate).format(\"DD/MM/YYYY\")}\r\n
    \r\n {props.changeOrder.businessFullAddress.label}
    \r\n
    \r\n \r\n Officeholder(s)/Shareholder(s) - Change of Address : \r\n \r\n\r\n \r\n {props.changeOrder &&\r\n props.changeOrder.osChangeofAddressInputlist &&\r\n props.changeOrder.osChangeofAddressInputlist.map(\r\n (value) => (\r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n
    \r\n Name:\r\n {value.changeFor === \"Officer\"\r\n ? value.officeHolderName &&\r\n value.officeHolderName.map(\r\n (value1) => value1.OFFICER_NAME\r\n )\r\n : value.changeFor === \"Shareholder\"\r\n ? value.officeHolderName &&\r\n value.officeHolderName.map(\r\n (value1) => value1.NAME\r\n )\r\n : value.officeHolderName &&\r\n value.officeHolderName[0]}\r\n
    \r\n Date:{\" \"}\r\n {moment(value.ocaChangeDate).format(\r\n \"DD/MM/YYYY\"\r\n )}\r\n
    Mode: {value.changeFor}
    {`Address: ${\r\n value.officeholdersChangeFullAddress &&\r\n value.officeholdersChangeFullAddress.label\r\n ? value.officeholdersChangeFullAddress.label\r\n : \"\"\r\n }`}
    \r\n
    \r\n
    \r\n
    \r\n \r\n Company Name Change : \r\n \r\n
    \r\n Changed Name: {props.changeOrder.companyNameChangeTo}\r\n
    \r\n Date:\r\n {moment(props.changeOrder.cnChangeDate).format(\r\n \"DD/MM/YYYY\"\r\n )}{\" \"}\r\n
    \r\n
    \r\n \r\n Officer Shareholders Name change : \r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.osNameChangeInputlist &&\r\n props.changeOrder.osNameChangeInputlist.map((value) => (\r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n
    \r\n Date:{\" \"}\r\n {moment(value.ohChangeDate).format(\"DD/MM/YYYY\")}\r\n
    Mode: {value.changeForNameChange}
    \r\n \r\n From Name:\r\n {value.changeForNameChange === \"Officer\"\r\n ? value.fromName &&\r\n value.fromName.map(\r\n (value1) => value1.OFFICER_NAME\r\n )\r\n : value.changeForNameChange === \"Shareholder\"\r\n ? value.fromName &&\r\n value.fromName.map(\r\n (value1) => value1.NAME\r\n )\r\n : value.fromName &&\r\n value.fromName[0]}\r\n \r\n
    \r\n {\" \"}\r\n To Name:{\" \"}\r\n {value.toName && value.toName ? value.toName : \"\"}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Officeholder(s) - Appointment : \r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.appointmentInputlist &&\r\n props.changeOrder.appointmentInputlist.map((value) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {value.position1 && ( \r\n \r\n \r\n \r\n ) }\r\n {value.position2 && ( \r\n \r\n \r\n \r\n )}\r\n {value.position3 && ( \r\n \r\n \r\n \r\n )}\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n ))}\r\n
    \r\n {\" \"}\r\n Officer Name : {value.appointedOfficerName && \r\n value.appointedOfficerName.map((token)=>token.OFFICER_NAME ? token.OFFICER_NAME : token)\r\n }\r\n\r\n\r\n {/* {props.changeOrder.appointedOfficerName && props.changeOrder.appointedOfficerName[0] &&\r\n props.changeOrder.appointedOfficerName[0].OFFICER_NAME?props.changeOrder.appointedOfficerName[0].OFFICER_NAME : props.changeOrder.appointedOfficerName[0] }\r\n {value.appointedOfficerName &&\r\n value.appointedOfficerName? value.appointedOfficerName: \"\"}\r\n */} \r\n
    {`Officer Address: ${\r\n value.officerAddress &&\r\n value.officerAddress.label\r\n ? value.officerAddress.label\r\n : \"\"\r\n }`}
    position1 : {value.position1} Date: {moment(value.position1ChangeDate).format(\r\n \"DD/MM/YYYY\"\r\n )}
    position2 : {value.position2} Date: {moment(value.position2ChangeDate).format(\r\n \"DD/MM/YYYY\"\r\n )}
    position3 : {value.position3} Date: {moment(value.position3ChangeDate).format(\r\n \"DD/MM/YYYY\"\r\n )}
    DOB : {value.dOB?(moment(value.dOB).format(\r\n \"DD/MM/YYYY\"\r\n )):\"\"} POB : {value.placeOfBirth} SOB : {value.stateofBrith} COB : {value.countryOfBirth}
    Alt Director : {value.alternateDirectorFor}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n Officeholder(s) - Resignations : \r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.resignInputlist &&\r\n props.changeOrder.resignInputlist.map((value) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n
    \r\n {\" \"}\r\n Officer Name:\r\n {value.resignOfficerName &&\r\n value.resignOfficerName.map(\r\n (value1) => value1.OFFICER_NAME\r\n )}\r\n
    \r\n Date:{\" \"} {value.resignationDate ? moment(value.resignationDate).format(\r\n \"DD/MM/YYYY\"\r\n ):\"\"}\r\n \r\n
    Resign Reason: {value.resignReason}
    \r\n {\" \"}\r\n Position:\r\n {value.ceasedDirector &&\r\n value.ceasedDirector.map(\r\n (value1) => value1.POSITION_HELD\r\n )}\r\n {value.ceasedDirector && value.ceasedDirector[0]\r\n ? \" Director\"\r\n : \"\"}\r\n {value.ceasedsecretary && value.ceasedsecretary[0]\r\n ? \" Secretary\"\r\n : \"\"}\r\n {value.ceasedAltDirector &&\r\n value.ceasedAltDirector[0]\r\n ? \" Alt Director\"\r\n : \"\"}\r\n {value.ceasedPublicOfficer &&\r\n value.ceasedPublicOfficer[0]\r\n ? \" Public Officer\"\r\n : \"\"}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Share Issue(s) : \r\n \r\n \r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.inputList &&\r\n props.changeOrder.inputList.map((value) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n
    \r\n Date:{\" \"}\r\n {value.shareIssueAllotmentDate?moment(value.shareIssueAllotmentDate).format(\r\n \"DD/MM/YYYY\")\r\n : \"\"}\r\n
    Name: {value.shareissueShareholderName}
    \r\n Fully Paid:{\" \"}\r\n {value.shareIssueFullyPaid ? \"yes\" : \"no\"}\r\n
    \r\n Ben Owner:{\" \"}\r\n {value.shareIssueBeneficiallyOwned ? \"yes\" : \"no\"}\r\n
    {`${\r\n !value.shareIssueBeneficiallyOwned\r\n ? ` Ben Name: ${\r\n value.shareIssueBenName &&\r\n value.shareIssueBenName\r\n ? value.shareIssueBenName\r\n : \"\"\r\n }`\r\n : \"\"\r\n }`}
    {`Address: ${\r\n value.shareholdersFullAddress &&\r\n value.shareholdersFullAddress.label\r\n ? value.shareholdersFullAddress.label\r\n : \"\"\r\n }`}
    \r\n Class: \r\n {value.shareIssueClasscode &&\r\n value.shareIssueClasscode.map(\r\n (post) => post.CLASS_CODE\r\n )}\r\n \r\n
    \r\n {`TotalShares: ${\r\n value.shareIssueTotalShares &&\r\n value.shareIssueTotalShares\r\n ? value.shareIssueTotalShares\r\n : \"\"\r\n } `}{\" \"}\r\n
    {`PerSharesPaid: ${\r\n value.shareIssuePaidPerShare &&\r\n value.shareIssuePaidPerShare\r\n ? value.shareIssuePaidPerShare\r\n : \"\"\r\n }`}
    {`TotalPaid: ${\r\n value.shareIssueTotalPaid &&\r\n value.shareIssueTotalPaid\r\n ? value.shareIssueTotalPaid\r\n : \"\"\r\n }`}
    {`${\r\n !value.shareIssueFullyPaid\r\n ? `Total Unpaid: ${\r\n value.shareIssueTotalUnpaid &&\r\n value.shareIssueTotalUnpaid\r\n ? value.shareIssueTotalUnpaid\r\n : \"\"\r\n }`\r\n : \"\"\r\n }`}
    {`${\r\n !value.shareIssueFullyPaid\r\n ? ` Per Shares UnPaid: ${value.shareIssueUnpaidPerShare}`\r\n : \"\"\r\n }`}
    \r\n
    \r\n
    \r\n
    \r\n \r\n Share Cancellation(s) \r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.shareCancellationInputList &&\r\n props.changeOrder.shareCancellationInputList.map(\r\n (value) => (\r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n
    \r\n Date:{\" \"}\r\n {moment(value.shareCancelDate).format(\r\n \"DD/MM/YYYY\"\r\n )}\r\n
    \r\n Name:\r\n {value.shareCancelShareHolderName &&\r\n value.shareCancelShareHolderName.map(\r\n (post) => post.NAME\r\n )}\r\n
    \r\n Fully Paid:\r\n {value.shareCancellationFullyPaid\r\n ? \"yes\"\r\n : \"no\"}\r\n
    \r\n Ben Owner:\r\n {value.shareCancellationBeneficiallyOwned\r\n ? \"yes\"\r\n : \"no\"}\r\n
    \r\n {!value.shareCancellationBeneficiallyOwned\r\n ? ` Ben Name: ${\r\n value.shareCancellationBenName &&\r\n value.shareCancellationBenName\r\n ? value.shareCancellationBenName\r\n : \"\"\r\n }`\r\n : \"\"}\r\n
    Class: {value.shareCancellationClassCode}
    \r\n Total Shares:{\" \"}\r\n {value.shareCancellationTotalShares}\r\n
    \r\n Per Shares Paid:\r\n {value.shareCancellationPaidPerShare}\r\n
    \r\n Total Paid: {value.shareCancellationTotalPaid}\r\n
    \r\n {!value.shareCancellationFullyPaid\r\n ? `Total Unpaid: ${\r\n value.shareCancellationTotalUnpaid &&\r\n value.shareCancellationTotalUnpaid\r\n ? value.shareCancellationTotalUnpaid\r\n : \"\"\r\n }`\r\n : \"\"}\r\n
    \r\n {\" \"}\r\n {!value.shareCancellationFullyPaid\r\n ? ` Per Shares UnPaid: ${\r\n value.shareCancellationUnpaidPerShare &&\r\n value.shareCancellationUnpaidPerShare\r\n ? value.shareCancellationUnpaidPerShare\r\n : \"\"\r\n }`\r\n : \"\"}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Share Transfer(s) :\r\n \r\n \r\n {props.changeOrder &&\r\n props.changeOrder.shareTransferInputList &&\r\n props.changeOrder.shareTransferInputList.map((value) => (\r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n ))}\r\n
    \r\n Date:{\" \"}\r\n {moment(value.shareTransferTransferDate).format(\r\n \"DD/MM/YYYY\"\r\n )}\r\n
    From Name:\r\n {\r\n value.transferFrom && value.transferFrom ? value.transferFrom: \"\"\r\n\r\n }\r\n
    \r\n From Fully Paid:\r\n {value.transferFromFullyPaid ? \"YES\" : \"NO\"}{\" \"}\r\n
    \r\n {\" \"}\r\n From Ben Owner:\r\n {value.transferFromBeneficiallyOwned\r\n ? \"YES\"\r\n : \"NO\"}{\" \"}\r\n
    \r\n To Name:\r\n {value.transferTo && value.transferTo\r\n ? value.transferTo\r\n : \"\"}{\" \"}\r\n
    \r\n Fully Paid:\r\n {value.transfertoFullyPaid ? \"yes\" : \"no\"}{\" \"}\r\n
    \r\n {\" \"}\r\n Ben Owner:\r\n {value.transfertoBeneficiallyOwned ? \"yes\" : \"no\"}\r\n {!value.transfertoBeneficiallyOwned\r\n ? ` Ben Name: ${\r\n value.transfertoBenName &&\r\n value.transfertoBenName\r\n ? value.transfertoBenName\r\n : \"\"\r\n }`\r\n : \"\"}\r\n
    \r\n {\" \"}\r\n Address:\r\n {value.shareTransferAddress &&\r\n value.shareTransferAddress.label\r\n ? value.shareTransferAddress.label\r\n : \"\"}\r\n
    \r\n {\" \"}\r\n Class:{\" \"}\r\n {value.shareTransferclassCode &&\r\n value.shareTransferclassCode\r\n ? value.shareTransferclassCode\r\n : \"\"}{\" \"}\r\n
    \r\n {\" \"}\r\n Total Shares:{\" \"}\r\n {value.shareTrasferTotalShares &&\r\n value.shareTrasferTotalShares\r\n ? value.shareTrasferTotalShares\r\n : \"\"}\r\n
    \r\n {\" \"}\r\n Per Shares Paid:{\" \"}\r\n {value.shareTransferPaidPerShare &&\r\n value.shareTransferPaidPerShare\r\n ? value.shareTransferPaidPerShare\r\n : \"\"}{\" \"}\r\n
    \r\n {\" \"}\r\n Total Paid:{\" \"}\r\n {value.shareTransferTotalPaid &&\r\n value.shareTransferTotalPaid\r\n ? value.shareTransferTotalPaid\r\n : \"\"}{\" \"}\r\n
    \r\n {\" \"}\r\n {!value.transfertoFullyPaid\r\n ? `Total Unpaid: ${\r\n value.shareTransferTotalUnpaid &&\r\n value.shareTransferTotalUnpaid\r\n ? value.shareTransferTotalUnpaid\r\n : \"\"\r\n }`\r\n : \"\"}\r\n
    \r\n {\" \"}\r\n {!value.transfertoFullyPaid\r\n ? ` Per Shares UnPaid: ${\r\n value.shareTransferUnpaidPerShare &&\r\n value.shareTransferUnpaidPerShare\r\n ? value.shareTransferUnpaidPerShare\r\n : \"\"\r\n }`\r\n : \"\"}{\" \"}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Return of Capital (Info) : \r\n \r\n
    \r\n\r\n {props.changeOrder.returnCapitalInfo}\r\n
    \r\n \r\n Dividend : \r\n \r\n
    \r\n \r\n \r\n {props.changeOrder && props.changeOrder.dividendClassCode && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )}\r\n
    Class: {props.changeOrder.dividendClassCode}
    Declaration/Books Close Date:{\" \"}\r\n {props.changeOrder.booksCloseDate ? moment(props.changeOrder.booksCloseDate).format(\"DD/MM/YYYY\"):\"\"}
    \r\n Financial Year End Date:{\" \"}\r\n {props.changeOrder.financialYearEndDate ? moment(props.changeOrder.financialYearEndDate).format(\r\n \"DD/MM/YYYY\"\r\n ):\"\"}

    Interim Dividend: {props.changeOrder.interimDividend ? \"YES\":\"NO\"}
    Final Dividend: {props.changeOrder.finalDividend ? \"YES\":\"NO\"}
    Short Meeting Notice:{props.changeOrder.shortMeetingNotice ? \"YES\":\"NO\"}
    Include Shareholders Resolutions: {props.changeOrder.shareholdersResolutions ? \"YES\":\"NO\"}
    Input Franked Dollar: {props.changeOrder.inputFrankedDollar ? \"YES\":\"NO\"}

    Dividend Per Share: {props.changeOrder.dividendPerShare}
    Total Dividend $'s: {props.changeOrder.totalDividend}

    Franked Amount (%): {props.changeOrder.frankedAmountPercentage && props.changeOrder.frankedAmountPercentage.toFixed(4)}
    Unfranked Amount (%):{\" \"}\r\n {props.changeOrder.unFrankedAmountPercentage && props.changeOrder.unFrankedAmountPercentage.toFixed(4)}
    Company Tax Rate (%): {props.changeOrder.companyTaxRate}

    Franked Amount ($): {props.changeOrder.frankedAmount}
    Unfranked Amount ($): {props.changeOrder.unFrankedAmount}
    \r\n \r\n
    \r\n \r\n Additional Info : \r\n \r\n
    \r\n {props.changeOrder.additionalMoreInfo}
    \r\n Form Signer Name: {props.changeOrder.signerName && props.changeOrder.signerName[0] && props.changeOrder.signerName[0].OFFICER_NAME?props.changeOrder.signerName[0].OFFICER_NAME : props.changeOrder.signerName[0] }\r\n
    \r\n {props.changeOrder.fileList !== null\r\n ? ` Attachment(s) : ${\r\n props.changeOrder.fileList &&\r\n props.changeOrder.fileList.map(\r\n (value) => value.meta.name\r\n )\r\n }`\r\n : \"\"}\r\n
    \r\n {props.isOrderAlter &&

    {props.changeOrderRequest && props.changeOrderRequest.items && props.changeOrderRequest.items.Desc}

    }\r\n
    \r\n );\r\n};\r\n\r\nexport default OrderSummary;\r\n","import React from 'react';\r\nimport {\r\n withRouter\r\n } from \"react-router-dom\";\r\n\r\nconst ChangeOrderStatus= (props) => {\r\n\r\n let handleClick = (e) => {\r\n props.setIsOrderSubmitted(false);\r\n props.handleReset();\r\n };\r\n return (\r\n
    \r\n
    Form Submitted\r\n {props.changeOrderRequest && props.changeOrderRequest.items && props.changeOrderRequest.items.OrderId >0 ?(\r\n

    Thankyou for your Order (ORDER NUMBER {props.changeOrderRequest && props.changeOrderRequest.items && props.changeOrderRequest.items.OrderId})\r\n we will be in touch with you shortly

    ) : (\r\n

    An unknown error occurred. Please contact support@primeconsulting.com.au if the error persists.

    \r\n )\r\n }\r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default withRouter(ChangeOrderStatus);","import React from \"react\";\r\nimport AdditionalInformationComponent from \"./AdditionalInformation.component\";\r\n\r\nconst RemoveAsicAgentListComponent = (props) => {\r\n return (\r\n
    \r\n
    \r\n \r\n props.handleChange(e, false, \"\")}\r\n />\r\n \r\n Additional Info (Inc Partner / Manager / Client / Billing\r\n Information)\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default RemoveAsicAgentListComponent;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport AddOrRemoveAsicAgentListComponent from \"./AddOrRemoveAsicAgentList.component\";\r\nimport ASICDetailsUpdateComponent from \"./ASICdetailsUpdate.component\";\r\nimport DividendStatementOrderComponent from \"./DividendStatementOrder.component\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport OrderSummary from \"./OrderSummary\";\r\nimport { withRouter} from \"react-router-dom\";\r\nimport ChangeOrderStatusComponent from \"./ChangeOrderStatusComponent/ChangeOrderStatus.component\";\r\nimport RemoveAsicAgentListComponent from \"./RemoveAsicAgentList.component\";\r\n\r\nconst EOrderOrderRequestComponent = (props) => {\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n \r\n const [isChangeOrder, setIsChangeOrder] = useState(false);\r\n const [isSuccess, setIsSuccess] = useState(false);\r\n const [isOrderSubmitted, setIsOrderSubmitted] = useState(false);\r\n const [isOrderAlter, setIsOrderAlter] = useState(false);\r\n\r\n const [popupShow, setPopupShow] = useState(false);\r\n const handlePopupClose = () =>{setPopupShow(false);setIsOrderAlter(false)};\r\n const changeOrderRequest = useSelector((state) => state.changeOrderRequest);\r\n const handlePopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupShow(true);\r\n \r\n };\r\n const [submitted, setSubmitted] = useState(\"AsicDetails\");\r\n\r\n const companyProfile = useSelector((state) => state.companyProfile);\r\n const loggedUserInfo = useSelector((state) => state.loggedUserInfo);\r\n const classListInfo = useSelector((state) => state.classListInfo);\r\n \r\n const dispatch = useDispatch();\r\n\r\n\r\n \r\n\r\n const changedCompanyName =\r\n companyProfile &&\r\n companyProfile.items &&\r\n companyProfile.items.company.CO_NAME;\r\n const changedACN =\r\n companyProfile && companyProfile.items && companyProfile.items.company.ACN;\r\n const changedLocation =\r\n companyProfile &&\r\n companyProfile.items &&\r\n companyProfile.items.company.AGENT_ID;\r\n const [inputList, setInputList] = useState([\r\n {\r\n shareissueShareholderName: \"\",\r\n // by default this bellow to fields are true\r\n shareIssueFullyPaid: true,\r\n shareIssueBeneficiallyOwned: true,\r\n shareIssueBenName: \"\",\r\n shareholdersFullAddress: \"\",\r\n shareIssueClasscode: \"\",\r\n shareIssueAllotmentDate: new Date(),\r\n shareIssueTotalShares: \"\",\r\n shareIssuePaidPerShare: \"\",\r\n shareIssueTotalPaid: \"\",\r\n shareIssueUnpaidPerShare: \"\",\r\n shareIssueTotalUnpaid: \"\",\r\n },\r\n ]);\r\n\r\n\r\n const [shareCancellationInputList, setShareCancellationInputList] = useState([\r\n {\r\n // Share Cancellation(s)\r\n\r\n shareCancelDate: new Date(),\r\n shareCancelShareHolderName: \"\",\r\n shareCancellationFullyPaid: true,\r\n shareCancellationBeneficiallyOwned: true,\r\n shareCancellationBenName: \"\",\r\n shareCancellationClassCode: \"\",\r\n provisionDesc: \"\",\r\n provision: \"\",\r\n desc: \"\",\r\n shareCancellationTotalShares: \"\",\r\n shareCancellationPaidBy: \"\",\r\n shareCancellationPaidPerShare: \"\",\r\n shareCancellationTotalPaid: \"\",\r\n shareCancellationUnpaidPerShare: \"\",\r\n shareCancellationTotalUnpaid: \"\",\r\n },\r\n ]);\r\n\r\n const [shareTransferInputList, setShareTransferInputList] = useState([\r\n {\r\n transferFrom: \"\",\r\n transferTo: \"\",\r\n shareTransferclassCode: \"\",\r\n shareTrasferTotalShares: \"\",\r\n shareTransferPaidPerShare: \"\",\r\n shareTransferTotalPaid: \"\",\r\n shareTransferUnpaidPerShare: \"\",\r\n shareTransferTotalUnpaid: \"\",\r\n shareTransferTransferDate: new Date(),\r\n shareTransferAddress: \"\",\r\n transferFromFullyPaid: false,\r\n transferFromBeneficiallyOwned: false,\r\n //while loading itself bellow 2 condition is true in that form\r\n transfertoBeneficiallyOwned: true,\r\n transfertoFullyPaid: true,\r\n },\r\n ]);\r\n const [osChangeofAddressInputlist, setOSChangeofAddressInputlist] = useState([\r\n {\r\n ocaChangeDate: new Date(),\r\n officeholdersChangeFullAddress: \"\",\r\n changeFor: \"\",\r\n officeHolderName: \"\",\r\n },\r\n ]);\r\n\r\n const [osNameChangeInputlist, setOSNameChangeInputlist] = useState([\r\n {\r\n ohChangeDate: new Date(),\r\n changeForNameChange: \"\",\r\n fromName: \"\",\r\n toName: \"\",\r\n },\r\n ]);\r\n const [appointmentInputlist, setAppointmentInputlist] = useState([\r\n {\r\n appointedOfficerName: \"\",\r\n officerAddress: \"\",\r\n position1: \"\",\r\n position1ChangeDate: new Date(),\r\n position2: \"\",\r\n position2ChangeDate: new Date(),\r\n position3: \"\",\r\n position3ChangeDate: new Date(),\r\n alternateDirectorFor: \"\",\r\n dOB:\"\",\r\n placeOfBirth: \"\",\r\n stateofBrith: \"\",\r\n countryOfBirth: \"Australia\",\r\n },\r\n ]);\r\n const [resignInputlist, setResignInputlist] = useState([\r\n {\r\n resignationDate: new Date(),\r\n resignOfficerName: \"\",\r\n resignReason: \"\",\r\n ceasedDirector: false,\r\n ceasedsecretary: false,\r\n ceasedAltDirector: false,\r\n ceasedPublicOfficer: false,\r\n },\r\n ]);\r\n\r\n const [changeOrder, setChangeOrder] = useState({\r\n loginName:\r\n loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.FullName,\r\n loginEmail:\r\n loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.EmailID,\r\n additionalCC: \"\",\r\n companyName: changedCompanyName,\r\n location: \"\",\r\n companyAcn: \"\",\r\n //OrderSelection\r\n orderSelection: submitted,\r\n\r\n //Request Change to Address(es)\r\n\r\n requestChangeAddress: false,\r\n\r\n // Registered Office Address\r\n\r\n ROAddress: false,\r\n raChangeDate: new Date(),\r\n registeredFullAddress: \"\",\r\n companyOccupiesPremises: true,\r\n occupierCompanyName: \"\",\r\n\r\n //Principal Business Address\r\n\r\n businessAddress: false,\r\n baChangeDate: new Date(),\r\n businessFullAddress: \"\",\r\n\r\n //Officeholder(s)/Shareholder(s) - Change of Address\r\n\r\n changeOfAddress: false,\r\n osChangeofAddressInputlist: osChangeofAddressInputlist,\r\n\r\n //Request Change to Name(s)\r\n requestChangeNames: false,\r\n // Company Name Change\r\n companyNameChange: false,\r\n cnChangeDate: new Date(),\r\n companyNameChangeTo: \"\",\r\n // Officer Shareholders Name change\r\n officerNameChange: false,\r\n osNameChangeInputlist: osNameChangeInputlist,\r\n\r\n //Change to officeholder(s)\r\n changeOfficeholder: false,\r\n //Officeholder(s) - Appointment\r\n OfficeholderAppointment: false,\r\n appointmentInputlist: appointmentInputlist,\r\n\r\n //Officeholder(s) - Resignations\r\n OfficeholderResignations: false,\r\n resignInputlist: resignInputlist,\r\n\r\n // Request change to shareholdings\r\n changeToShareholdings: false,\r\n\r\n // Share Issue(s)\r\n shareIssue: false,\r\n inputList: inputList,\r\n\r\n // Share Cancellation(s)\r\n shareCancellation: false,\r\n shareCancellationInputList: shareCancellationInputList,\r\n\r\n //Share Transfer(s)\r\n\r\n shareTransfer: false,\r\n shareTransferInputList: shareTransferInputList,\r\n\r\n //Return of Capital\r\n\r\n returnCapital: false,\r\n returnCapitalInfo: \"\",\r\n\r\n //Additional Info\r\n additionalInfo: false,\r\n signerName: [],\r\n additionalMoreInfo: \"\",\r\n fileList: [],\r\n dataFileList:[],\r\n // Dividend\r\n dividendClassCode: \"\",\r\n classCodeDetails: \"\",\r\n classCodeNo: \"\",\r\n booksCloseDate: \"\",\r\n financialYearEndDate: \"\",\r\n interimDividend: false,\r\n shareholdersResolutions: false,\r\n shortMeetingNotice: false,\r\n finalDividend: false,\r\n inputFrankedDollar: false,\r\n dividendPerShare: \"\",\r\n totalDividend: \"\",\r\n frankedAmountPercentage: \"\",\r\n unFrankedAmountPercentage: \"\",\r\n companyTaxRate: \"\",\r\n frankedAmount: \"\",\r\n unFrankedAmount: \"\",\r\n });\r\n\r\n let handleChange = (e, isDate, name) => {\r\n if (isDate) {\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n [name]: e,\r\n }));\r\n } else {\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n }));\r\n }\r\n };\r\n\r\n let handleComponentChange = (name, value) => {\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n [name]: value,\r\n }));\r\n };\r\n\r\n let handleClick = (e) => {\r\n console.log(\"submittedvalueradio\",e.target.value)\r\n setSubmitted(\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value\r\n );\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n orderSelection: e.target.value,\r\n }));\r\n handleReset();\r\n \r\n };\r\n let handleChangeOrder = (e) => {\r\n \r\n \r\n //Hema\r\n if(e.target.value ===\"AsicAdd\")\r\n {\r\n console.log(\"submittedsubmitted\",e.target.value)\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n companyName: \"\",\r\n location: \"\",\r\n companyAcn: \"\",\r\n }));\r\nconsole.log(\"submitted change order\",changeOrder)\r\n }\r\n };\r\n\r\n let handleReset = () => {\r\n setInputList([\r\n {\r\n shareissueShareholderName: \"\",\r\n // by default this bellow to fields are true\r\n shareIssueFullyPaid: true,\r\n shareIssueBeneficiallyOwned: true,\r\n shareIssueBenName: \"\",\r\n shareholdersFullAddress: \"\",\r\n shareIssueClasscode: \"\",\r\n shareIssueAllotmentDate: new Date(),\r\n shareIssueTotalShares: \"\",\r\n shareIssuePaidPerShare: \"\",\r\n shareIssueTotalPaid: \"\",\r\n shareIssueUnpaidPerShare: \"\",\r\n shareIssueTotalUnpaid: \"\",\r\n },\r\n ])\r\n \r\n \r\n setShareCancellationInputList([\r\n {\r\n // Share Cancellation(s)\r\n \r\n shareCancelDate: new Date(),\r\n shareCancelShareHolderName: \"\",\r\n shareCancellationFullyPaid: true,\r\n shareCancellationBeneficiallyOwned: true,\r\n shareCancellationBenName: \"\",\r\n shareCancellationClassCode: \"\",\r\n provisionDesc: \"\",\r\n provision: \"\",\r\n desc: \"\",\r\n shareCancellationTotalShares: \"\",\r\n shareCancellationPaidBy: \"\",\r\n shareCancellationPaidPerShare: \"\",\r\n shareCancellationTotalPaid: \"\",\r\n shareCancellationUnpaidPerShare: \"\",\r\n shareCancellationTotalUnpaid: \"\",\r\n },\r\n ])\r\n \r\n setShareTransferInputList([\r\n {\r\n transferFrom: \"\",\r\n transferTo: \"\",\r\n shareTransferclassCode: \"\",\r\n shareTrasferTotalShares: \"\",\r\n shareTransferPaidPerShare: \"\",\r\n shareTransferTotalPaid: \"\",\r\n shareTransferUnpaidPerShare: \"\",\r\n shareTransferTotalUnpaid: \"\",\r\n shareTransferTransferDate: new Date(),\r\n shareTransferAddress: \"\",\r\n transferFromFullyPaid: false,\r\n transferFromBeneficiallyOwned: false,\r\n //while loading itself bellow 2 condition is true in that form\r\n transfertoBeneficiallyOwned: true,\r\n transfertoFullyPaid: true,\r\n },\r\n ])\r\n setOSNameChangeInputlist([\r\n \r\n {\r\n ocaChangeDate: new Date(),\r\n officeholdersChangeFullAddress: \"\",\r\n changeFor: \"\",\r\n officeHolderName: \"\",\r\n },\r\n ])\r\n setOSChangeofAddressInputlist([\r\n {\r\n ocaChangeDate: new Date(),\r\n officeholdersChangeFullAddress: \"\",\r\n changeFor: \"\",\r\n officeHolderName: \"\",\r\n },\r\n ])\r\n \r\n\r\n setAppointmentInputlist([\r\n {\r\n appointedOfficerName: \"\",\r\n officerAddress: \"\",\r\n position1: \"\",\r\n position1ChangeDate: new Date(),\r\n position2: \"\",\r\n position2ChangeDate: new Date(),\r\n position3: \"\",\r\n position3ChangeDate: new Date(),\r\n alternateDirectorFor: \"\",\r\n dOB: \"\",\r\n placeOfBirth: \"\",\r\n stateofBrith: \"\",\r\n countryOfBirth: \"\",\r\n },\r\n ])\r\n setResignInputlist([\r\n {\r\n resignationDate: new Date(),\r\n resignOfficerName: \"\",\r\n resignReason: \"\",\r\n ceasedDirector: false,\r\n ceasedsecretary: false,\r\n ceasedAltDirector: false,\r\n ceasedPublicOfficer: false,\r\n },\r\n ])\r\n \r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n ROAddress: false,\r\n registeredFullAddress: \"\",\r\n companyOccupiesPremises: \"\",\r\n occupierCompanyName: \"\",\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n businessAddress: false,\r\n businessFullAddress: \"\",\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n companyNameChange: false,\r\n companyNameChangeTo: \"\",\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n returnCapital: false,\r\n returnCapitalInfo: \"\",\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n dividendClassCode: \"\",\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n additionalInfo: false,\r\n signerName: \"\",\r\n additionalMoreInfo: \"\",\r\n fileList: [],\r\n }));\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n // Dividend\r\n dividendClassCode: \"\",\r\n classCodeDetails: \"\",\r\n classCodeNo: \"\",\r\n booksCloseDate: \"\",\r\n financialYearEndDate: \"\",\r\n interimDividend: false,\r\n shareholdersResolutions: false,\r\n shortMeetingNotice: false,\r\n finalDividend: false,\r\n inputFrankedDollar: false,\r\n dividendPerShare: \"\",\r\n totalDividend: \"\",\r\n frankedAmountPercentage: \"\",\r\n unFrankedAmountPercentage: \"\",\r\n companyTaxRate: \"\",\r\n frankedAmount: \"\",\r\n unFrankedAmount: \"\",\r\n }));\r\n \r\n }\r\n //const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0 ) || (props.searchCompany && props.searchCompany.length > 0 )\r\n const validate = companyCode !== null || (submitted === \"AsicDetails\" ? inputSearchValue !== null && inputSearchValue.length > 0 &&\r\n ( changeOrder.requestChangeAddress || changeOrder.businessAddress ) : true) || \r\n ( submitted === \"AsicDetails\" ? props.searchCompany && props.searchCompany.length > 0 &&\r\n ( changeOrder.requestChangeAddress || changeOrder.requestChangeNames ||\r\n changeOrder.changeOfficeholder || changeOrder.changeToShareholdings) : true )\r\n\r\n const btnValidate = companyCode !== null || (submitted === \"AsicDetails\" ? inputSearchValue !== null && inputSearchValue.length > 0 && changeOrder.additionalInfo &&\r\n ( changeOrder.requestChangeAddress || changeOrder.businessAddress ) : submitted !== \"statementOrder\") || \r\n ( submitted === \"AsicDetails\" ? props.searchCompany && props.searchCompany.length > 0 && changeOrder.additionalInfo &&\r\n ( changeOrder.requestChangeAddress || changeOrder.requestChangeNames ||\r\n changeOrder.changeOfficeholder || changeOrder.changeToShareholdings) : submitted !== \"statementOrder\" )\r\n //const emptyCheck= changeOrder.changeToShareholdings|| changeOrder.changeOfficeholder||changeOrder.requestChangeNames||changeOrder.requestChangeAddress\r\n //const validate = companyCode !== null || (inputSearchValue !== null && inputSearchValue.length > 0 && emptyCheck) || (props.searchCompany && props.searchCompany.length > 0 && emptyCheck)\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getLoggedUserInfo());\r\n // eslint-disable-next-line\r\n }, []);\r\n let handleSummarylPopupClick = (e) => {\r\n dispatch(userActions.postChangeOrderRequest(changeOrder, setIsChangeOrder, setIsSuccess));\r\n };\r\n\r\n useEffect(() => {\r\n setIsOrderAlter( changeOrderRequest && changeOrderRequest.items && changeOrderRequest.items.Desc !== \"\")\r\n if (isSuccess) {\r\n setIsOrderSubmitted(true);\r\n handlePopupClose();\r\n }\r\n // eslint-disable-next-line\r\n }, [isChangeOrder, isSuccess]);\r\n\r\n // handle click event of the Add button\r\n const handleAddClick = (e) => {\r\n setInputList([\r\n ...inputList,\r\n {shareIssueFullyPaid: true,\r\n shareIssueBeneficiallyOwned: true,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: [\r\n ...inputList,\r\n {\r\n shareIssueFullyPaid: true,\r\n shareIssueBeneficiallyOwned: true,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handleRemoveClick = (index) => {\r\n const list = [...inputList];\r\n list.splice(index, 1);\r\n setInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: list,\r\n }));\r\n };\r\n\r\n const handleInputChange = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...inputList];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n inputList: list,\r\n }));\r\n };\r\n\r\n // handle click event of the shareCancellation Add button\r\n const handleAddShareCancellationClick = (e) => {\r\n setShareCancellationInputList([\r\n ...shareCancellationInputList,\r\n {shareCancellationFullyPaid: [true],\r\n shareCancellationBeneficiallyOwned: [true],\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList: [\r\n ...shareCancellationInputList,\r\n {\r\n shareCancellationFullyPaid: [true],\r\n shareCancellationBeneficiallyOwned: [true],\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handleRemoveShareCancellationClick = (index) => {\r\n const list = [...shareCancellationInputList];\r\n list.splice(index, 1);\r\n setShareCancellationInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList: list,\r\n }));\r\n };\r\n\r\n const handleInputChangeShareCancellation = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...shareCancellationInputList];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setShareCancellationInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareCancellationInputList: list,\r\n }));\r\n };\r\n\r\n // handle click event of the shareCancellation Add button\r\n const handleAddShareTransferClick = (e) => {\r\n setShareTransferInputList([\r\n ...shareTransferInputList,\r\n { transfertoBeneficiallyOwned: true,\r\n transfertoFullyPaid: true,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: [\r\n ...shareTransferInputList,\r\n {\r\n transfertoBeneficiallyOwned: true,\r\n transfertoFullyPaid: true,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handleRemoveShareTransferClick = (index) => {\r\n const list = [...shareTransferInputList];\r\n list.splice(index, 1);\r\n setShareTransferInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: list,\r\n }));\r\n };\r\n\r\n const handleInputChangeShareTransfer = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...shareTransferInputList];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setShareTransferInputList(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n shareTransferInputList: list,\r\n }));\r\n };\r\n\r\n // handle click event of the Officeholder(s)/Shareholder(s) - Change of Address Add button\r\n const handleChangeofAddressAddClick = (e) => {\r\n setOSChangeofAddressInputlist([\r\n ...osChangeofAddressInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist: [\r\n ...osChangeofAddressInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handleChangeofAddressRemoveClick = (index) => {\r\n const list = [...osChangeofAddressInputlist];\r\n list.splice(index, 1);\r\n setOSChangeofAddressInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist: list,\r\n }));\r\n };\r\n\r\n const handleChangeofAddressInputChange = (e, index) => {\r\n if (e.target.name) {\r\n const { name, value } = e.target;\r\n const list = [...osChangeofAddressInputlist];\r\n list[index][name] =\r\n e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setOSChangeofAddressInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osChangeofAddressInputlist: list,\r\n }));\r\n }\r\n };\r\n\r\n // handle click event of the .Officer Shareholders Name change Add button\r\n const handleNameChangeAddClick = (e) => {\r\n setOSNameChangeInputlist([\r\n ...osNameChangeInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: [\r\n ...osNameChangeInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handleNameChangeRemoveClick = (index) => {\r\n const list = [...osNameChangeInputlist];\r\n list.splice(index, 1);\r\n setOSNameChangeInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n };\r\n\r\n const handleNameChangeChange = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...osNameChangeInputlist];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setOSNameChangeInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n osNameChangeInputlist: list,\r\n }));\r\n };\r\n\r\n // handle click event of the .fficeholder(s) - Resignations Add button\r\n const handleResignAddClick = (e) => {\r\n setResignInputlist([\r\n ...resignInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: [\r\n ...resignInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handlResignRemoveClick = (index) => {\r\n const list = [...resignInputlist];\r\n list.splice(index, 1);\r\n setResignInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: list,\r\n }));\r\n };\r\n\r\n const handleResignInputChange = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...resignInputlist];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setResignInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n resignInputlist: list,\r\n }));\r\n };\r\n\r\n // handle click event of the .Officeholder(s) - Appointment Add button\r\n const handleAppointmentAddClick = (e) => {\r\n setAppointmentInputlist([\r\n ...appointmentInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ]);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist: [\r\n ...appointmentInputlist,\r\n {\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value,\r\n },\r\n ],\r\n }));\r\n };\r\n\r\n const handlAppointmentRemoveClick = (index) => {\r\n const list = [...appointmentInputlist];\r\n list.splice(index, 1);\r\n setAppointmentInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist: list,\r\n }));\r\n };\r\n\r\n const handleAppointmentInputChange = (e, index) => {\r\n const { name, value } = e.target;\r\n const list = [...appointmentInputlist];\r\n list[index][name] = e.target.type === \"checkbox\" ? e.target.checked : value;\r\n setAppointmentInputlist(list);\r\n setChangeOrder((changeOrder) => ({\r\n ...changeOrder,\r\n appointmentInputlist: list,\r\n }));\r\n };\r\n\r\n useEffect(() => {\r\n handleComponentChange(\"companyName\", changedCompanyName);\r\n handleComponentChange(\"companyAcn\", changedACN);\r\n handleComponentChange(\"location\", changedLocation);\r\n // eslint-disable-next-line\r\n }, [changedCompanyName, changedACN, changedLocation]);\r\n\r\n return (\r\n
    \r\n {!isOrderSubmitted ? (\r\n
    \r\n {console.log(\"orderdetails\", changeOrder)}\r\n
    \r\n Order By Details
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n Additional CC to\r\n \r\n handleChange(e, false, \"\")}\r\n autoComplete=\"off\"\r\n />\r\n
    \r\n\r\n
    \r\n
    Order Selection
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {companyProfile && companyProfile.items && (\r\n
    Company Selection
    \r\n )}\r\n\r\n {companyProfile && companyProfile.items &&
    }\r\n {companyProfile && companyProfile.items && (\r\n
    \r\n \r\n {submitted === \"AsicAdd\" ?\r\n
    \r\n handleChange(e, false, \"\")}\r\n disabled={submitted=== \"AsicAdd\" ? false : true}\r\n autoComplete=\"off\"\r\n /> \r\n {( changeOrder.companyName === \"\") && (\r\n \r\n
    \r\n \r\n Company Name Required\r\n
    \r\n )}\r\n
    \r\n : \r\n handleComponentChange(changedCompanyName)}\r\n />\r\n }\r\n
    \r\n )}\r\n {companyProfile && companyProfile.items && (\r\n
    \r\n \r\n {submitted === \"AsicAdd\" ?\r\n handleChange(e, false, \"\")}\r\n disabled={submitted=== \"AsicAdd\" ? false : true}\r\n autoComplete=\"off\"\r\n />:\r\n \r\n }\r\n
    \r\n )}\r\n {companyProfile && companyProfile.items && (\r\n
    \r\n \r\n {submitted === \"AsicAdd\" ?\r\n
    \r\n handleChange(e, false, \"\")}\r\n disabled={submitted=== \"AsicAdd\" ? false : true}\r\n autoComplete=\"off\"\r\n />\r\n {( changeOrder.companyAcn === \"\") && (\r\n \r\n
    \r\n \r\n Company ACN Required\r\n
    \r\n )}\r\n
    \r\n \r\n : \r\n }\r\n
    \r\n )}\r\n {companyProfile && companyProfile.items && (\r\n
    \r\n
    Order Details
    \r\n
    \r\n {submitted === \"AsicDetails\" ? (\r\n \r\n ) : submitted === \"statementOrder\" ? (\r\n \r\n ) : submitted === \"AsicAdd\" ? (\r\n \r\n ) : submitted === \"AsicRemove\" ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n )}\r\n
    \r\n {props.searchCompany && props.searchCompany.length === 0 && submitted !== \"AsicAdd\" ?
    \r\n {\"Company Name not selected! Please select the Company Name to proceed\"}\r\n
    : submitted && !validate ? (\r\n
    \r\n {\"Please select order details to proceed\"}\r\n
    ) : submitted !== \"statementOrder\" && !changeOrder.additionalInfo && (\r\n
    \r\n Additional info required to process the order.\r\n
    \r\n )\r\n }\r\n
    submitted === \"statementOrder\" ? submitted && validate && handlePopupShow(e) : submitted && validate && changeOrder.additionalInfo && changeOrder.signerName && changeOrder.signerName.length > 0 && changeOrder.signerName[0] !== \"\" && changeOrder.companyAcn && changeOrder.companyName && handlePopupShow(e)}\r\n disabled={ submitted === \"statementOrder\" ? !validate : !validate && !changeOrder.additionalInfo && (!changeOrder.signerName || (changeOrder.signerName && changeOrder.signerName[0] === \"\" && !changeOrder.companyAcn && !changeOrder.companyName) ) }\r\n >\r\n Submit\r\n \r\n {(changeOrder.signerName && changeOrder.signerName[0] === \"\" && changeOrder.additionalInfo ) && (\r\n \r\n
    \r\n \r\n Additional Information SignerName required\r\n
    \r\n )}\r\n {console.log(\"------\" + props.searchCompany.length)}\r\n {console.log(\"------\" + submitted && validate && !changeOrder.additionalInfo)}\r\n
    \r\n \r\n {popupShow && (\r\n handlePopupShow(e)}\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleSummarylPopupClick(e)}\r\n isPopupReportLoading={isChangeOrder}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n ) : (\r\n \r\n )}\r\n
    \r\n );\r\n};\r\nexport default withRouter(EOrderOrderRequestComponent);\r\n","import React from \"react\";\r\nimport EOrderOrderRequestComponent from \"../ChangesAndOrderRequest/EorderOrderRequest.Component\";\r\nimport \"../CompanyDetailsComponent/CompanyDetails.styles.scss\";\r\n\r\n\r\nconst EOrderComponent = (props) => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n Changes and Order Requests\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n );\r\n};\r\nexport default EOrderComponent;\r\n","import React, { useEffect } from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport \"./CompanyMenuDetails.style.scss\";\r\nimport {\r\n Switch,\r\n Route,\r\n Router,\r\n withRouter,\r\n useHistory,\r\n} from \"react-router-dom\";\r\nimport Details from \"../CompanyDetailsComponent/CompanyDetails.component\";\r\nimport CompanySnapshot from \"../CompanySnapshotComponent/CompanySnapshotComponent.component\";\r\nimport CorporateRegister from \"../CorporateRegistersComponents/CorporateRegistersComponents\";\r\nimport ASIC from \"../ASICComponents/ASICComponent\";\r\nimport ASICForms from \"../ASICFormsComponents/ASICFormsComponents\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport EmailHistoryComponent from \"../EmailHistoryComponent/EmailHistory.component\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\nimport EOrderComponent from \"../EOrderComponents/EOrderComponents\";\r\nimport ChangeOrderStatus from \"../ChangesAndOrderRequest/ChangeOrderStatusComponent/ChangeOrderStatus.component\";\r\n\r\n\r\nconst CompanyDetails = (props) => {\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n \r\n const recentCompanyList = useSelector((state) => state.recentCompanyList);\r\n useEffect(() => {\r\n setTimeout(() => {\r\n if(props.searchCompany && props.searchCompany[0]) {\r\n\r\n dispatch(userActions.getCompanyProfileByCode(props.searchCompany[0].Code));\r\n } \r\n }, 0)\r\n // eslint-disable-next-line\r\n}, [props.searchCompany]);\r\n useEffect(() => {\r\n\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const selectedCompanyName = JSON.parse(localStorage.getItem(\"companyName\"));\r\n \r\n\r\n if (selectedCompanyCode !== null) {\r\n props.setSearchCompany([\r\n { Code: selectedCompanyCode, Name: selectedCompanyName },\r\n ]);\r\n dispatch(userActions.getCompanyProfileByCode(selectedCompanyCode));\r\n } else if (selectedSearchValue !== null) {\r\n\r\n const companyCode = JSON.parse(selectedSearchValue).map((value) => {\r\n return value.Code;\r\n });\r\n const companyACN = JSON.parse(selectedSearchValue).map((value) => {\r\n return value.ACN;\r\n });\r\n props.setSearchCompany(JSON.parse(selectedSearchValue));\r\n if (companyCode) {\r\n dispatchToServices(companyCode, companyACN);\r\n dispatch(userActions.getCompanyProfileByCode(companyCode));\r\n }\r\n \r\n }\r\n \r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (props.userId && props.clientId) {\r\n dispatch(userActions.getRecentCompanyList( props.clientId,props.userId,\"all\"))\r\n }\r\n // eslint-disable-next-line\r\n }, [props.userId, props.clientId]);\r\n\r\n function dispatchToServices(companyCode, companyACN) {\r\n dispatch(userActions.getCompanyProfileByCode(companyCode));\r\n dispatch(userActions.getUnitTrustByCode(companyCode, \"summary\"));\r\n dispatch(userActions.getRegdInformation(companyACN));\r\n \r\n }\r\n\r\n \r\n \r\n\r\n return (\r\n \r\n }\r\n content={\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n \r\n }\r\n />\r\n );\r\n};\r\nexport default withRouter(CompanyDetails);\r\n","import React, { useState } from \"react\";\r\n\r\nconst MobileNumber = (props) => {\r\n const [users, setUsers] = useState({\r\n mobileNumber: props.phone,\r\n });\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n\r\n let handleChange = (e) => {\r\n setUsers((users) => ({\r\n ...users,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n \r\n return (\r\n
    \r\n

    Mobile Number

    \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n {\" \"}\r\n
    Mobile Number\r\n {handleChange(e); props.handlePersonDetailsChange(e)} }\r\n \r\n className={\r\n \"form-control input-sm \" +\r\n (submitted && !users.mobileNumber ? \"is-invalid\" : \"\") \r\n }\r\n placeholder=\"SMS.....\" value={ users.mobileNumber }\r\n autoComplete=\"off\"\r\n />\r\n {submitted && !users.mobileNumber && (\r\n
    Mobile Number Required
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default MobileNumber;\r\n","import React, { useState } from \"react\";\r\n\r\nconst NotesComponent = (props) => {\r\n const [users, setUsers] = useState({\r\n notes: props.notes,\r\n companyName: props.companyName,\r\n departementNotes: props.departementNotes,\r\n });\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n\r\n let handleChange = (e) => {\r\n setUsers((users) => ({\r\n ...users,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n return (\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n {props.departementNotes ? (\r\n
    \r\n

    Department Notes:

    \r\n {props.departementNotes}\r\n
    \r\n ) : (\r\n \"\t\"\r\n )}\r\n \r\n {\r\n handleChange(e);\r\n props.handlePersonDetailsChange(e);\r\n }}\r\n className={\r\n \"form-control input-sm \" +\r\n (submitted && !users.notes ? \"is-invalid\" : \"\")\r\n }\r\n placeholder=\"Company Notes.....\"\r\n value= {users && users.notes}\r\n autoComplete=\"off\"\r\n > \r\n {submitted && !users.notes && (\r\n
    Add some notes
    \r\n )}\r\n
    \r\n \r\n {\" \"}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default NotesComponent;\r\n","import React, { useState } from \"react\";\r\nimport MobileNumber from \"../MobileNumberComponent/MobileNumber.Component\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport EmailId from \"../EmailIdComponent/EmailId.Component\";\r\nimport moment from \"moment\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useLocation } from \"react-router-dom\";\r\nimport NotesComponent from \"../Notes.Components/NotesComponent\";\r\n\r\nconst AnnualReviewTableComponent = (props) => {\r\n const dispatch = useDispatch();\r\n const location = useLocation();\r\n const [popupShow, setPopupShow] = useState(0);\r\n const handlePopupClose = () => setPopupShow(false);\r\n const handlePopupShow = (e, index) => {\r\n e.preventDefault();\r\n\r\n setPopupShow(index);\r\n };\r\n\r\n const [popupMobileShow, setPopupMobileShow] = useState(0);\r\n const handleMobilePopupClose = () => setPopupMobileShow(false);\r\n const handleMobilePopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupMobileShow(index);\r\n };\r\n\r\n const [popupNotesShow, setPopupNotesShow] = useState(0);\r\n const handleNotesPopupClose = () => setPopupNotesShow(false);\r\n const handleNotesPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupNotesShow(index);\r\n };\r\n\r\n let handleNotesPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n if (person.notes) {\r\n dispatch(userActions.postCompanyNotes(rn, person.notes));\r\n handleNotesPopupClose();\r\n dispatch(\r\n userActions.getAnnualStatement(\r\n props.currentYear,\r\n pathName && pathName[2]\r\n )\r\n );\r\n props.history.push(props.history.location.pathname);\r\n }\r\n };\r\n\r\n let handleEmailPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n if (person.emailAddress) {\r\n dispatch(userActions.postCompanyEmailID(rn, person.emailAddress));\r\n \r\n setTimeout(() => {\r\n dispatch(\r\n userActions.getAnnualStatement(\r\n props.currentYear,\r\n pathName && pathName[2]\r\n )\r\n );\r\n }, 0);\r\n handlePopupClose();\r\n props.history.push(props.history.location.pathname);\r\n }\r\n };\r\n const pathName = location.pathname.split(\"/\");\r\n\r\n let handleMobilePopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n if (person.mobileNumber) {\r\n dispatch(userActions.postCompanyPhoneNumber(rn, person.mobileNumber));\r\n \r\n setTimeout(() => {\r\n dispatch(\r\n userActions.getAnnualStatement(\r\n props.currentYear,\r\n pathName && pathName[2]\r\n )\r\n );\r\n }, 0);\r\n handleMobilePopupClose();\r\n props.history.push(props.history.location.pathname);\r\n }\r\n };\r\n\r\n let handleClick = (e, companyCode, companyName,acn) => {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n props.recentSearch.push([{ Code: companyCode, Name: companyName }]);\r\n dispatch(userActions.postRecentCompanyList(props.userId,props.clientId,\"\",acn))\r\n console.log(\"postRecentCompanyList From Annual Review table\",props.userId,props.clientId,acn)\r\nlocalStorage.setItem(\r\n \"recentCompanySearch\",\r\n JSON.stringify(props.recentSearch)\r\n);\r\n props.history.push(\"/CompanyMenuDetails/details\");\r\n };\r\n\r\n const [person, setPerson] = useState({\r\n mobileNumber: \"\",\r\n emailAddress: \"\",\r\n notes: '\"',\r\n companyName: \"\",\r\n });\r\n\r\n let handlePersonDetailsChange = (e) => {\r\n e.preventDefault();\r\n setPerson((person) => ({\r\n ...person,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/*\r\n \r\n */}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {props.currentPosts && props.currentPosts.length === 0 ? (\r\n \r\n \r\n \r\n ) : (\r\n props.currentPosts &&\r\n props.currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n {/* \r\n */}\r\n \r\n ))\r\n )}\r\n \r\n
    NameDepartmentACNReviewASIC linkDocuSign\r\n Email\r\n \r\n SMS\r\n \r\n Notes\r\n \r\n Action
    No matching records found
    \r\n \r\n \r\n {\" \"}\r\n false}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={(e) => handleClick(e, post.Code, post.Name,post.ACN)}\r\n >\r\n {post.Name} \r\n \r\n {post.Department}{post.ACN}\r\n {post.ReviewDate\r\n ? moment(post.ReviewDate).format(\"DD/MM\")\r\n : \"\"}{\" \"}\r\n \r\n {\" \"}\r\n {post.DebtOwing}\r\n \r\n false}\r\n onClick={(e) => handlePopupShow(e, post.RN)}\r\n className=\"hand-cursor\"\r\n > \r\n \r\n {\" \"}\r\n {!post.EmailAddress?\"Add/edit email\" : post.EmailAddress.indexOf(';')!== -1? post.EmailAddress.split(';').join(\"\\n\")\r\n \r\n : post.EmailAddress}\r\n \r\n {popupShow === post.RN && (\r\n handlePopupShow(e, post.EmailAddress)}\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleEmailPopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleMobilePopupShow(e, post.RN)}\r\n >\r\n {\" \"}\r\n \r\n {popupMobileShow === post.RN && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleMobilePopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleNotesPopupShow(e, post.RN)}\r\n >\r\n\r\n \r\n \r\n \r\n {popupNotesShow === post.RN && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleNotesPopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n );\r\n};\r\nexport default AnnualReviewTableComponent;","import React from \"react\";\r\nimport \"./AnnualReviews.style.scss\";\r\nimport moment from \"moment\";\r\n\r\nconst AnnualStatementComponent = (props) => {\r\n const year = moment().format('YYYY');\r\n //console.log('AnnualStatementComponent', props, year);\r\n\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {\" \"}\r\n props.handleChange(e)}\r\n \r\n >\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    props.handleClick(e, 1, props.currentYear)}>\r\n {console.log(\"props.currentYearprops.currentYear\",props.currentYear)}\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[1]=== 'danger') ? : } January\r\n
    props.handleClick(e, 2, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[1]=== 'danger') ? : } February\r\n
    props.handleClick(e, 3, props.currentYear)}>\r\n {(props.annualStatementMonthStatus &&props.annualStatementMonthStatus.items&& props.annualStatementMonthStatus.items[2]=== 'danger') ? : } March\r\n
    props.handleClick(e, 4, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[3]=== 'danger') ? : } April\r\n
    props.handleClick(e, 5, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[4]=== 'danger') ? : } May\r\n
    props.handleClick(e, 6, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[5]=== 'danger') ? : } June\r\n
    props.handleClick(e, 7, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[6]=== 'danger') ? : } July\r\n
    props.handleClick(e, 8, props.currentYear)}>\r\n {(props.annualStatementMonthStatus &&props.annualStatementMonthStatus.items&& props.annualStatementMonthStatus.items[7]=== 'danger') ? : } August\r\n
    props.handleClick(e, 9, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[8]=== 'danger') ? : } September\r\n
    props.handleClick(e, 10, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&&props.annualStatementMonthStatus.items[9]=== 'danger') ? : } October\r\n
    props.handleClick(e, 11, props.currentYear)}>\r\n {(props.annualStatementMonthStatus &&props.annualStatementMonthStatus.items&& props.annualStatementMonthStatus.items[10]=== 'danger') ? : } November\r\n
    props.handleClick(e, 12, props.currentYear)}>\r\n {(props.annualStatementMonthStatus && props.annualStatementMonthStatus.items&& props.annualStatementMonthStatus.items[11]=== 'danger') ? : } December\r\n
    \r\n \r\n \r\n \r\n
    \r\n );\r\n};\r\nexport default AnnualStatementComponent;\r\n","import React, { useState, useEffect,useCallback } from \"react\";\r\n//import axios from \"axios\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"./AnnualReviews.style.scss\";\r\nimport AnnualReviewTableComponent from \"./AnnualReviewTable.Component\";\r\nimport AnnualStatementComponent from \"./AnnualStatement.Component\";\r\nimport { Switch, Route, Router, useHistory } from \"react-router-dom\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport DatePicker from \"react-datepicker\";\r\n\r\nconst AnnualReviewsFilter = (props) => {\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n const year = moment().format('YYYY');\r\n const annualStatement = useSelector((state) => state.annualStatement);\r\n const [currentMonth, setCurrentMonth] = useState(moment().month() + 1);\r\n const [currentYear, setCurrentYear] = useState(\"Current\");\r\n const [showTable, setShowTable] = useState(true);\r\n const selectedSubMonth = currentMonth - 1;\r\n console.log(currentYear);\r\n const initDateValue = moment().month(selectedSubMonth).year(currentYear === \"Current\" ? year : currentYear === \"Past\" ? year-1:parseInt(year)+1).endOf(\"month\").toDate();\r\n console.log('AnnualReviewsFilter.jsx - annualReviewDate', initDateValue);\r\n\r\n const [annualReviewDate, setAnnualReviewDate] = useState(initDateValue);\r\n\r\n \r\n const [filterOrders, setFilterOrders] = useState(\"\");\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n useEffect(() => {\r\n dispatch(userActions.getAnnualStatement(currentYear, moment().month() + 1));\r\n dispatch(userActions.getAnnualStatementMonthStatus(currentYear));\r\n history.push(`/MonitorLanding/${moment().month() + 1}`);\r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n let handleChange = (e, isDate) => {\r\n if (isDate) {\r\n setAnnualReviewDate(e);\r\n }\r\n };\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const [selectedFilterType, setSelectedFilterType] = useState(\"\");\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n console.log('filterOrders:::::::', annualReviewDate)\r\n const totalStatement =\r\n annualStatement && annualStatement.items\r\n ? selectedFilterType === \"department\"\r\n ? annualStatement.items.filter(\r\n (filteredValue) =>\r\n filteredValue.Department &&\r\n filteredValue.Department.toLowerCase().includes(\r\n searchInput.toLowerCase()\r\n )&&\r\n moment(filteredValue.ReviewDate).toDate() >=\r\n moment().month(selectedSubMonth).startOf(\"month\").toDate() &&\r\n moment(filteredValue.ReviewDate).toDate() <= annualReviewDate\r\n )\r\n : selectedFilterType === \"acn\"\r\n ? annualStatement.items.filter(\r\n (filteredValue) =>\r\n filteredValue.ACN &&\r\n filteredValue.ACN.trim().toLowerCase().includes(\r\n searchInput.trim().toLowerCase()\r\n )&&\r\n moment(filteredValue.ReviewDate).toDate() >=\r\n moment().month(selectedSubMonth).startOf(\"month\").toDate() &&\r\n moment(filteredValue.ReviewDate).toDate() <= annualReviewDate\r\n )\r\n : selectedFilterType === \"\"\r\n ? \r\n annualStatement.items.filter((filteredValue) =>\r\n filteredValue.Name.toLowerCase().includes(searchInput.toLowerCase()) &&\r\n moment(filteredValue.ReviewDate).toDate() >=\r\n moment().month(selectedSubMonth).year(currentYear === \"Current\"? year : currentYear === \"Past\"? year-1:parseInt(year)+1).startOf(\"month\").toDate() &&\r\n moment(filteredValue.ReviewDate).toDate() <= annualReviewDate\r\n )\r\n : annualStatement.items.filter((filteredValue) =>\r\n filteredValue.Name.toLowerCase().includes(searchInput.toLowerCase()) &&\r\n moment(filteredValue.ReviewDate).toDate() >=\r\n moment().month(selectedSubMonth).year(currentYear === \"Current\"? year : currentYear === \"Past\"? year-1:parseInt(year)+1).startOf(\"month\").toDate() &&\r\n moment(filteredValue.ReviewDate).toDate() <= annualReviewDate\r\n )\r\n :\r\n [];\r\n\r\n // filter\r\n function handleFilterChange(e) {\r\n if (e && e.target.value) {\r\n setSelectedFilterType(e.target.value);\r\n setSearchInput(\"\")\r\n }\r\n }\r\n function handleClick(e, selectedMonth, currentYr) {\r\n dispatch(userActions.getAnnualStatement(currentYr, selectedMonth));\r\n setCurrentMonth(selectedMonth);\r\n setSearchInput(\"\");\r\n setFilterOrders(\"\");\r\n history.push(`/MonitorLanding/${selectedMonth}`);\r\n setAnnualReviewDate(\r\n moment()\r\n .month(selectedMonth - 1)\r\n .year(currentYr === \"Current\"? year : currentYr === \"Past\"? year-1:parseInt(year)+1)\r\n .endOf(\"month\")\r\n .toDate()\r\n );\r\n }\r\n\r\n //year dropdown selection\r\n const annualStatementMonthStatus = useSelector(\r\n (state) => state.annualStatementMonthStatus\r\n );\r\n function handleChangeYearDropDown(e) {\r\n setCurrentYear(e.target.value);\r\n console.log(\"e.target.valuee.target.value\",e.target.value)\r\n setAnnualReviewDate(moment().month(selectedSubMonth).year(e.target.value === \"Current\"? year : e.target.value === \"Past\"? year-1:parseInt(year)+1).endOf(\"month\").toDate())\r\n dispatch(userActions.getAnnualStatementMonthStatus(e.target.value));\r\n\r\n dispatch(userActions.getAnnualStatement(e.target.value, currentMonth));\r\n setCurrentMonth(currentMonth);\r\n setSearchInput(\"\");\r\n setFilterOrders(\"\");\r\n }\r\n // button handle click\r\n\r\n function buttonHandleClick(e, value) {\r\n e.preventDefault();\r\n if (value === \"success\") {\r\n setFilterOrders(\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"]\r\n .toLowerCase()\r\n .includes(\"success\".toLowerCase())\r\n )\r\n );\r\n } else if (value === \"warning\") {\r\n setFilterOrders(\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"]\r\n .toLowerCase()\r\n .includes(\"warning\".toLowerCase())\r\n )\r\n );\r\n } else if (value === \"danger\") {\r\n setFilterOrders(\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"].toLowerCase().includes(\"danger\".toLowerCase())\r\n )\r\n );\r\n } else if (value === \"default\") {\r\n setFilterOrders(\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"]\r\n .toLowerCase()\r\n .includes(\"default\".toLowerCase())\r\n )\r\n );\r\n } else {\r\n setFilterOrders(totalStatement);\r\n }\r\n }\r\n let successTotal =\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"].toLowerCase().includes(\"success\".toLowerCase())\r\n );\r\n let warningTotal =\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"].toLowerCase().includes(\"warning\".toLowerCase())\r\n );\r\n let dangerTotal =\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"].toLowerCase().includes(\"danger\".toLowerCase())\r\n );\r\n let defaultTotal =\r\n totalStatement &&\r\n totalStatement.filter(\r\n (value) =>\r\n value[\"StatusText\"] &&\r\n value[\"StatusText\"].toLowerCase().includes(\"default\".toLowerCase())\r\n );\r\n\r\n function searchHandleChange(e) {\r\n setSearchInput(e.target.value);\r\n\r\n // setFilterOrders(totalStatement && totalStatement.filter((value) => value[\"Name\"] && value[\"Name\"].toLowerCase().includes(searchInput.toLowerCase()) ))\r\n }\r\n\r\n let currentPosts = filterOrders\r\n ? filterOrders && filterOrders.slice(indexOfFirstPost, indexOfLastPost)\r\n : totalStatement && totalStatement.slice(indexOfFirstPost, indexOfLastPost);\r\n\r\n // refresh button\r\n /*function handleClickRefreshAnnualSearch(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n \r\n}*/\r\n// calendar toggle\r\nconst [isCalendar, setIsCalendar] = useState(false)\r\nconst handleCalenderTrigger = useCallback(\r\n () =>{setIsCalendar(!isCalendar)},\r\n [isCalendar, setIsCalendar]\r\n);\r\n return (\r\n
    \r\n \r\n

    Annual Reviews

    \r\n
    \r\n \r\n \r\n
    \r\n {isCalendar &&\r\n
    \r\n \r\n
    \r\n }\r\n {console.log('currentPosts::::::', currentPosts)}\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {console.log(\"isCalendar\",isCalendar)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n {totalStatement.length >= postsPerPage && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {filterOrders\r\n ? filterOrders.length\r\n : totalStatement && totalStatement.length}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default AnnualReviewsFilter;\r\n","import React,{useState} from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport AnnualReviewsFilter from './AnnualReviewsFilter.Component';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\n\r\nconst MonitorLanding = (props) => {\r\n\r\n \r\n const [searchCompany, setSearchCompany] = useState([]);\r\n \r\n \r\n \r\n return (\r\n \r\n }content={\r\n \r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(MonitorLanding);","import React, { useState, useEffect } from \"react\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport \"../CommonPage/colourCodeEntries.scss\";\r\n\r\n\r\nconst OrderMonitor = (props) => {\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n const [filterOrders, setFilterOrders] = useState(\"\");\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getOrderMonitorStatement());\r\n // eslint-disable-next-line\r\n }, []);\r\n const orderMonitorStatement = useSelector(\r\n (state) => state.orderMonitorStatement\r\n );\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n let orderMonitorTotalStatement =\r\n orderMonitorStatement && orderMonitorStatement.items\r\n ? orderMonitorStatement.items.sort((a, b) => (b.ORDER_ID - a.ORDER_ID)).filter((filteredValue) =>\r\n filteredValue[\"COMPANY_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n \r\n \r\nlet completedTotalStatuses = orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && value[\"STATUS\"].toLowerCase().includes(\"Completed\".toLowerCase()) )\r\nlet preparedTotalStatuses = orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && (value[\"STATUS\"].toLowerCase().includes(\"Prepared\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Signed\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Lodged\".toLowerCase())))\r\nlet requestedTotalStatuses = orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => (!value[\"STATUS\"])|| ( value[\"STATUS\"] && (value[\"STATUS\"].toLowerCase().includes(\"Requested\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Info Request\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Rejected\".toLowerCase()))) )\r\n\r\n function handleClick(e, value) {\r\n e.preventDefault();\r\n if(value ===\"empty\") {\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => (!value[\"STATUS\"])|| (value[\"STATUS\"] && (value[\"STATUS\"].toLowerCase().includes(\"Requested\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Info Request\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Rejected\".toLowerCase())) )))\r\n } else if(value === 'Completed') {\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && value[\"STATUS\"].toLowerCase().includes(\"Completed\".toLowerCase()) ))\r\n } else if(value === 'Prepared') {\r\n setFilterOrders( orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && (value[\"STATUS\"].toLowerCase().includes(\"Prepared\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Signed\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Lodged\".toLowerCase()))))\r\n } else if(value === 'Requested') {\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && (value[\"STATUS\"].toLowerCase().includes(\"Requested\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Info Request\".toLowerCase()) || value[\"STATUS\"].toLowerCase().includes(\"Rejected\".toLowerCase())) ))\r\n } else {\r\n setFilterOrders(orderMonitorTotalStatement)\r\n }\r\n } \r\n\r\n function handleChange(e) {\r\n setSearchInput(e.target.value);\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"COMPANY_NAME\"] && value[\"COMPANY_NAME\"].toLowerCase().includes(searchInput.toLowerCase()) ))\r\n }\r\n\r\n function handleStatusChange(e){\r\n e.preventDefault();\r\n if(e && e.target.value){\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"STATUS\"] && value[\"STATUS\"].toLowerCase().includes(e.target.value.toLowerCase()) )) \r\n }\r\n else{\r\n setFilterOrders(orderMonitorTotalStatement)\r\n }\r\n }\r\n\r\n function handleRequestTypeChange(e){\r\n e.preventDefault();\r\n if(e && e.target.value){\r\n setFilterOrders(orderMonitorTotalStatement && orderMonitorTotalStatement.filter((value) => value[\"OPTIONS\"] && value[\"OPTIONS\"].toLowerCase().includes(e.target.value.toLowerCase()) )) \r\n }\r\n else{\r\n setFilterOrders(orderMonitorTotalStatement)\r\n }\r\n }\r\n\r\n let currentPosts = filterOrders\r\n ? filterOrders && filterOrders.slice(indexOfFirstPost, indexOfLastPost)\r\n : orderMonitorTotalStatement && orderMonitorTotalStatement.slice(indexOfFirstPost, indexOfLastPost);\r\n\r\n // refresh button\r\n function handleClickRefreshOrderMonitor(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n \r\n }\r\nfunction tooltipType(tooltipType){\r\nreturn(\r\n tooltipType===\"2\"?\t\"ASIC Agent Listed: Request a Company Debt Report\":\r\n tooltipType===\"1\"?\"ASIC Agent Listed: Request update(s) to ASIC details\":\r\n tooltipType===\"3\" ? \"ASIC Agent Listed: Request a Company Debt Report\" :\r\n tooltipType===\"4\" ? \"Request a ASIC Company Extract\":\r\n tooltipType===\"5\" ? \"Incorporate a New Company\" :\r\n tooltipType===\"6\" ? \"Request for Entity to be added to the ASIC Agent List\" :\r\n tooltipType===\"7\" ? \"Request updates to ASIC Details (Non ASIC Agent - AdHoc - Charges Apply)\" :\r\n tooltipType===\"8\" ? \"Other request\" :\r\n tooltipType===\"9\" ? \"Request for Entity to be removed the ASIC Agent List\" :\r\n tooltipType===\"10\" ? \"Dividend\" \r\n:\r\n\"\"\r\n)\r\n\r\n}\r\n\r\n\r\n return (\r\n
    \r\n

    Order Monitor

    \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n */}\r\n \r\n \r\n \r\n {console.log(\"cureentpost::::::\",filterOrders)}\r\n {\r\n \r\n currentPosts&& currentPosts.length ===0 ? \r\n :\r\n currentPosts.map((post) => (\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n {/*\r\n \r\n */}\r\n \r\n ))}\r\n \r\n
    Order NoCompany NameTypeStatusStatus dateOrdered DateOrder ByAssign ToAssign DateDept Action
    No matching records found
    {post.ORDER_ID} {post.COMPANY_NAME} {tooltipType(post.OPTIONS).slice(0, 15).concat('...')}{post.STATUS}\r\n {post.UPDATED_ON\r\n ? moment(post.UPDATED_ON).format(\"DD/MM/YYYY hh:mm A\")\r\n : \"\"}{\" \"}\r\n \r\n {post.CREATED_ON\r\n ? moment(post.CREATED_ON).format(\"DD/MM/YYYY hh:mm A\")\r\n : \"\"}{\" \"}\r\n {post.CREATED_BY}{post.ASSIGNED_TO}\r\n {post.ASSIGNED_ON\r\n ? moment(post.ASSIGNED_ON).format(\"DD/MM/YYYY hh:mm A\")\r\n : \"\"}{\" \"}\r\n {post.LOCATION}\r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    \r\n {((filterOrders && filterOrders.length>=10) || (orderMonitorTotalStatement && orderMonitorTotalStatement.length >= 10)) && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {filterOrders\r\n ? filterOrders.length\r\n : orderMonitorTotalStatement && orderMonitorTotalStatement.length}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default OrderMonitor;\r\n","import React,{useState} from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport OrderMonitor from './OrderMonitor.Component';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\n\r\n\r\nconst OrderMonitorLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n \r\n }\r\n content={\r\n\r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(OrderMonitorLanding);","import React, { useState, useEffect } from \"react\";\r\nimport \"font-awesome/css/font-awesome.min.css\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport \"../CommonPage/colourCodeEntries.scss\";\r\n\r\nconst DigitalSignature = (props) => {\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getDigitalSignatureStatement());\r\n // eslint-disable-next-line\r\n }, []);\r\n const digitalSignatureStatement = useSelector(\r\n (state) => state.digitalSignatureStatement\r\n );\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const digitalSignatureTotalStatement =\r\n digitalSignatureStatement && digitalSignatureStatement.items\r\n ? digitalSignatureStatement.items.filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n const currentPosts = digitalSignatureTotalStatement\r\n ? digitalSignatureTotalStatement.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n // expandable table coding\r\n\r\n const [expandedRows, setExpandedRows] = useState([]);\r\n const [expandState, setExpandState] = useState({});\r\n\r\n const handleRow = (e, code) => {\r\n const currentExpandedRows = expandedRows;\r\n const isRowExpanded = currentExpandedRows.includes(code);\r\n\r\n let obj = {};\r\n isRowExpanded ? (obj[code] = false) : (obj[code] = true);\r\n setExpandState(obj);\r\n\r\n // If the row is expanded, we are here to hide it. Hence remove\r\n // it from the state variable. Otherwise add to it.\r\n const newExpandedRows = isRowExpanded\r\n ? currentExpandedRows.filter((id) => id !== code)\r\n : currentExpandedRows.concat(code);\r\n\r\n setExpandedRows(newExpandedRows);\r\n };\r\n\r\n // refresh button\r\n function handleClickRefreshDigitalSignature(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n return (\r\n
    \r\n

    Digital Signatures

    \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */} \r\n \r\n \r\n {\r\n digitalSignatureStatement &¤tPosts&& currentPosts.length ===0 ?\r\n \r\n :\r\n \r\n digitalSignatureStatement &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n \r\n */}\r\n \r\n {expandedRows.includes(post.DOC_CODE) && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n
    Company NameFormTitleDoc No.Form DateIssue DateStatusMain Form SignerEsign Type Action
    No matching records found
    \r\n {expandState[post.DOC_CODE] ? (\r\n handleRow(e, post.DOC_CODE)}\r\n >\r\n ) : (\r\n handleRow(e, post.DOC_CODE)}\r\n >\r\n )}\r\n {post.CO_NAME} {post.FORM_TYPE}{post.FORM_TITLE}{post.DOC_CODE}\r\n {post.FORM_DATE\r\n ? moment(post.FORM_DATE).format(\"DD/MM/YYYY \")\r\n : \"\"}{\" \"}\r\n \r\n {post.DOCUSIGN_SEND_DATE\r\n ? moment(post.DOCUSIGN_SEND_DATE).format(\"DD/MM/YYYY \")\r\n : \"\"}{\" \"}\r\n {post.STATUS}{post.EMAIL_ADDRESS}{post.ESIGNTYPE}\r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n Envelope:{post.ENVELOPEID}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Status:{post.STATUS}
    Date:{post.DOCUSIGN_SEND_DATE}
    Signer Name:
    Signer:{post.EMAIL_ADDRESS}
    \r\n
    \r\n
    \r\n {digitalSignatureTotalStatement &&\r\n digitalSignatureTotalStatement.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {digitalSignatureTotalStatement\r\n ? digitalSignatureTotalStatement.length\r\n : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default DigitalSignature;\r\n","import React,{useState} from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport DigitalSignature from './DigitalSignatureComponent';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\nconst DigitalSignatureLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n \r\n }\r\n content={\r\n \r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(DigitalSignatureLanding);","import React from \"react\";\r\n\r\n\r\nconst ViewCompanyReport = (props) => {\r\n return (\r\n
    \r\n

    Enter Values

    \r\n\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n \r\n {\" \"}\r\n
    Show Zero Balances?\r\n {\" \"}\r\n \r\n \r\n \r\n
    Enter Show Credit Balances? \r\n {\" \"}\r\n \r\n \r\n \r\n
    Enter Sort Alphabetically?\r\n {\" \"}\r\n \r\n \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default ViewCompanyReport;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"font-awesome/css/font-awesome.min.css\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport ViewCompanyReport from \"../ViewCompanyDebtReport/ViewCompanyDebtReport\";\r\nimport \"../CommonPage/Action.scss\";\r\n\r\n\r\nconst ASICDept = (props) => {\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n\r\n // View Company Report\r\n // eslint-disable-next-line\r\n const [detailsSubmitted, setDetailsSubmitted] = useState(false);\r\n const [details, setDetails] = useState({\r\n zeroBalance: \"No\",\r\n creditBalance: \"No\",\r\n sortReport: \"No\",\r\n });\r\n\r\n //loading spinner\r\n const [isViewCompanyReportLoaded, setIsViewCompanyReportLoaded] =\r\n useState(false);\r\n\r\n let viewReporthHandleChange = (e) => {\r\n const { name, value } = e.target;\r\n setDetails((details) => ({ ...details, [name]: value }));\r\n };\r\n\r\n let viewReportHandleClick = (e) => {\r\n e.preventDefault();\r\n setDetailsSubmitted(true);\r\n dispatch(\r\n userActions.getCompaniesDebtReport(details, setIsViewCompanyReportLoaded)\r\n );\r\n \r\n };\r\n\r\n const dispatch = useDispatch();\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getAsicDebtStatement());\r\n // eslint-disable-next-line\r\n }, []);\r\n const asicDebtStatement = useSelector((state) => state.asicDebtStatement);\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const asicTotalStatement =\r\n asicDebtStatement && asicDebtStatement.items\r\n ? asicDebtStatement.items.filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n \r\n const currentPosts = asicTotalStatement\r\n ? asicTotalStatement.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n const valueCompare = 0;\r\n\r\n // refresh button\r\n function handleClickRefreshASICDebt(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n\r\n return (\r\n
    \r\n

    ASIC DEBTS

    \r\n
    \r\n \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n\r\n \r\n {\r\n asicDebtStatement && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n asicDebtStatement &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n {post.AMOUNT_OWING > valueCompare}\r\n\r\n \r\n \r\n \r\n \r\n {post.DEBT_90 > valueCompare}\r\n \r\n {/*\r\n \r\n */}\r\n \r\n ))}\r\n \r\n
    Company NameACNReview DateNow DueFuture DeptTotal Owing0-30 Days31-60 Days61-90 DaysOver 90 Days Action
    No matching records found
    {post.CO_NAME} {post.ACN}\r\n {post.REVIEW_DATE\r\n ? moment(post.REVIEW_DATE).format(\"DD/MM/YYYY\")\r\n : \"\"}{\" \"}\r\n {post.DEBT_NOW_DUE}{post.FUTURE_DEBT_DUE}\r\n valueCompare\r\n ? '\"btn btn-sm btn-danger pe-none'\r\n : \"btn-success btn btn-sm pe-none\"\r\n }\r\n >\r\n {post.AMOUNT_OWING}\r\n \r\n {post.DEBT_30}{post.DEBT_31_60}{post.DEBT_61_90}\r\n valueCompare\r\n ? '\"btn btn-sm btn-danger pe-none'\r\n : \"btn-success btn btn-sm pe-none \"\r\n }\r\n >\r\n {post.DEBT_90}\r\n \r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n\r\n \r\n
    \r\n
    \r\n {asicTotalStatement && asicTotalStatement.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /{asicTotalStatement ? asicTotalStatement.length : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default ASICDept;\r\n","import React,{useState}from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\n\r\nimport LandingPageComponent from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport ASICDept from \"./ASICDept.Component\";\r\n\r\nconst ASICDeptLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(ASICDeptLanding);\r\n","// correct code\r\nimport React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport MobileNumber from \"../MobileNumberComponent/MobileNumber.Component\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport EmailId from \"../EmailIdComponent/EmailId.Component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport moment from \"moment\";\r\nimport \"../CommonPage/colourCodeEntries.scss\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport NotesComponent from \"../Notes.Components/NotesComponent\";\r\n\r\nconst CompaniesComponent = (props) => {\r\n const companiesDetailList = useSelector((state) => state.companiesDetailList);\r\n const history = useHistory();\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getCompaniesDetailList());\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const companiesDetailListTotal =\r\n companiesDetailList && companiesDetailList.items\r\n ? companiesDetailList.items\r\n .sort((a, b) => (a.Name > b.Name ? 1 : -1))\r\n .filter((filteredValue) =>\r\n filteredValue[\"Name\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n const currentPosts = companiesDetailListTotal\r\n ? companiesDetailListTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n const [popupShow, setPopupShow] = useState(0);\r\n const handlePopupClose = () => setPopupShow(false);\r\n const handlePopupShow = (e, index) => {\r\n e.preventDefault();\r\n\r\n setPopupShow(index);\r\n };\r\n\r\n const [popupMobileShow, setPopupMobileShow] = useState(0);\r\n const handleMobilePopupClose = () => setPopupMobileShow(false);\r\n const handleMobilePopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupMobileShow(index);\r\n };\r\n\r\n let handleEmailPopupClick = (e, rn) => {\r\n e.preventDefault();\r\nconsole.log(\"person.emailAddress\",person.emailAddress)\r\n \r\n dispatch(userActions.postCompanyEmailID(rn, person.emailAddress));\r\n setTimeout(() => {\r\n dispatch(userActions.getCompaniesDetailList());\r\n }, 0);\r\n // props.history.push(props.history.location);\r\n handlePopupClose();\r\n \r\n };\r\n\r\n let handleMobilePopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n // if (person.mobileNumber) {\r\n dispatch(userActions.postCompanyPhoneNumber(rn, person.mobileNumber));\r\n setTimeout(() => {\r\n dispatch(userActions.getCompaniesDetailList());\r\n }, 0);\r\n // props.history.push(props.history.location);\r\n handleMobilePopupClose();\r\n // }\r\n };\r\n\r\n const [person, setPerson] = useState({\r\n mobileNumber: \"\",\r\n emailAddress: \"\",\r\n });\r\n\r\n let handlePersonDetailsChange = (e) => {\r\n e.preventDefault();\r\n setPerson((person) => ({\r\n ...person,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n // refresh button\r\n function handleClickRefresh(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n // if we select company from Company list push to company details tab\r\n\r\n let handleClickCompany = (e, companyCode, companyName,acn) => {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n props.recentSearch.push([{ Code: companyCode, Name: companyName }]);\r\n dispatch(userActions.postRecentCompanyList(props.userId,props.clientId,\"\",acn))\r\n console.log(\"postRecentCompanyList from companieslist\",props.userId,props.clientId,acn)\r\n localStorage.setItem(\r\n \"recentCompanySearch\",\r\n JSON.stringify(props.recentSearch)\r\n );\r\n history.push(\"/CompanyMenuDetails/details\");\r\n };\r\n // quickcompany Profile Report\r\n\r\n //loading spinner\r\n const [isQuickCompanyLoaded, setIsQuickCompanyLoaded] = useState(false);\r\n// eslint-disable-next-line\r\n const [submitted, setSubmitted] = useState(false);\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n function companyHandleClick(e, selectedCompanyCode) {\r\n setSubmitted(true);\r\n\r\n //const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n dispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n selectedCompanyCode,\r\n setIsQuickCompanyLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getQuickCompanyProfileReport(\r\n value.Code,\r\n setIsQuickCompanyLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n// current annual statement\r\n //loading spinner\r\n const [\r\n isViewCurrentAnnualStatementLoaded,\r\n setIsViewCurrentAnnualStatementLoaded,\r\n ] = useState(false);\r\n\r\nfunction viewCurrentAnnualStatementHandleClick(e, status,code,coName) {\r\n if (status === 0) {\r\n \r\n setSubmitted(true);\r\n \r\n if (code !== null) {\r\n dispatch(\r\n userActions.getViewCurrentAnnualStatementReport(\r\n code,\r\n coName,\r\n setIsViewCurrentAnnualStatementLoaded\r\n )\r\n );\r\n } \r\n handleAnnualStatementDocPopupShow(e);\r\n }\r\n}\r\n\r\n// popup error message for View Current Annual Statement\r\nconst viewCurrentAnnualStatementReport = useSelector(\r\n (state) => state.viewCurrentAnnualStatementReport\r\n);\r\n\r\nconst [popupAnnualStatementDocShow, setPopupAnnualStatementDocShow] =\r\n useState(false);\r\nconst handleAnnualStatementDocPopupClose = () =>\r\n setPopupAnnualStatementDocShow(false);\r\nconst handleAnnualStatementDocPopupShow = (e) => {\r\n e.preventDefault();\r\n setPopupAnnualStatementDocShow(true);\r\n};\r\n\r\nlet handleAnnualStatementDocPopupClick = (e) => {\r\n e.preventDefault();\r\n handleAnnualStatementDocPopupClose();\r\n};\r\n\r\n//notes popup\r\nconst [popupNotesShow, setPopupNotesShow] = useState(0);\r\n const handleNotesPopupClose = () => setPopupNotesShow(false);\r\n const handleNotesPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupNotesShow(index);\r\n };\r\n\r\n let handleNotesPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n dispatch(userActions.postCompanyNotes(rn, person.notes));\r\n setTimeout(() => {\r\n dispatch(userActions.getCompaniesDetailList());\r\n }, 0);\r\n handleNotesPopupClose();\r\n \r\n \r\n };\r\n\r\n return (\r\n
    \r\n

    Companies List

    \r\n\r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {\r\n companiesDetailList && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n \r\n companiesDetailList &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n ))}\r\n \r\n
    Company NameACNReviewMonthNotesAgentStatusEmailSMSNotes Action
    No matching records found
    \r\n {\" \"}\r\n false}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={(e) =>\r\n handleClickCompany(e, post.Code, post.Name,post.ACN)\r\n }\r\n >\r\n {post.Name}\r\n \r\n {post.ACN}\r\n {post.ReviewDate &&\r\n moment(post.ReviewDate).format(\"DD/MM/YYYY\")}\r\n \r\n {post.ReviewDate && moment(post.ReviewDate).format(\"M\")}\r\n {post.Notes ? \"Y\" : \"N\"}{post.Agent}\r\n \r\n  \r\n viewCurrentAnnualStatementHandleClick(e, post.Status,post.Code, post.Name)}\r\n >\r\n AS\r\n \r\n \r\n {popupAnnualStatementDocShow &&\r\n viewCurrentAnnualStatementReport &&\r\n viewCurrentAnnualStatementReport.error &&\r\n viewCurrentAnnualStatementReport.error.indexOf(\"400\") !== -1 && (\r\n handleAnnualStatementDocPopupShow(e)}\r\n body={\" No Annual Statement on Files.\"}\r\n handleClick={handleAnnualStatementDocPopupClick}\r\n />\r\n )}\r\n \r\n \r\n false}\r\n onClick={(e) => handlePopupShow(e, post.RN)}\r\n className=\"hand-cursor\"\r\n >\r\n \r\n \r\n {!post.Email?\"Add/edit email\" : post.Email.indexOf(';')!== -1? post.Email.split(';').join(\"\\n\")\r\n : post.Email}\r\n \r\n {popupShow === post.RN && (\r\n \r\n handlePopupShow(e, post.EmailAddress)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleEmailPopupClick(e, post.RN)}\r\n />\r\n \r\n )}\r\n { console.log(\"emailaddress\",post.EmailAddress)}\r\n \r\n false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleMobilePopupShow(e, post.RN)}\r\n >\r\n {\" \"}\r\n \r\n {popupMobileShow === post.RN && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleMobilePopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleNotesPopupShow(e, post.RN)}\r\n >\r\n \r\n \r\n\r\n \r\n {popupNotesShow === post.RN && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleNotesPopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n
      \r\n
    • \r\n false}\r\n onClick={(e) => companyHandleClick(e, post.Code)}\r\n >\r\n {console.log(\"company code\", post.Code)}\r\n Quick Profile\r\n \r\n
    • \r\n {isQuickCompanyLoaded ? : null}\r\n
    \r\n
    \r\n
    \r\n {companiesDetailListTotal && companiesDetailListTotal.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {companiesDetailListTotal ? companiesDetailListTotal.length : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n \r\n );\r\n};\r\nexport default CompaniesComponent;\r\n","import React,{useState}from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CompaniesComponent from './Companies.component';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\nconst CompaniesLanding = (props) => {\r\n \r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n \r\n } content={\r\n\r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(CompaniesLanding);","import React from \"react\";\r\nimport moment from \"moment\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst IndividualEntitiesOfficesPopup = (props) => {\r\n const history = useHistory();\r\n\r\n let handleClick = (e, companyCode, companyName) => {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n history.push(\"/CompanyMenuDetails/details\");\r\n };\r\n const Officesvalues =\r\n props.individualEntitiesOffices && props.individualEntitiesOffices.items;\r\n return (\r\n
    \r\n \r\n\r\n

    CORPORATE REGISTER

    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {Officesvalues && Officesvalues.length === 0 ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n\r\n Officesvalues &&\r\n Officesvalues.map((post) => (\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ))}\r\n \r\n \r\n
    Company NamePosition HeldAlternate ForAppointedCeased
    No matching records found
    \r\n false}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={(e) =>\r\n handleClick(e, post.value.CO_CODE, post.key)\r\n }\r\n >\r\n {post.key}\r\n \r\n \r\n \r\n {\" \"}\r\n {post.value.POSITION_HELD}\r\n \r\n {moment(post.value.APPOINTED).format(\"DD/MM/YYYY\")}\r\n {post.value.CEASED &&\r\n moment(post.value.CEASED).format(\"DD/MM/YYYY\")}\r\n
    \r\n
    \r\n );\r\n};\r\nexport default IndividualEntitiesOfficesPopup;\r\n","import React from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst IndividualEntitiesSharesPopup = (props) => {\r\n const history = useHistory();\r\n const Sharevalues =\r\n props.individualEntitiesShares && props.individualEntitiesShares.items;\r\n let handleClick = (e, companyCode, companyName) => {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n localStorage.setItem(\"companyName\", JSON.stringify(companyName));\r\n history.push(\"/CompanyMenuDetails/details\");\r\n };\r\n return (\r\n
    \r\n
    CORPORATE REGISTER
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {Sharevalues && Sharevalues.length === 0 ? (\r\n \r\n \r\n \r\n ) : (\r\n Sharevalues &&\r\n Sharevalues.map((post) => (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ))}\r\n \r\n
    NameShare ClassTotal SharesFullyPaidBeneficially Owned
    No matching records found
    false}\r\n className=\"hand-cursor text-decoration-none\"\r\n onClick={(e) =>\r\n handleClick(e, post.value.CO_CODE, post.key)\r\n }\r\n >{post.key}{post.value.CLASS_CODE}{post.value.SUM_TOT_SHARES}\r\n \r\n \r\n \r\n
    \r\n
    \r\n );\r\n};\r\nexport default IndividualEntitiesSharesPopup;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport MobileNumber from \"../MobileNumberComponent/MobileNumber.Component\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport EmailId from \"../EmailIdComponent/EmailId.Component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\nimport IndividualEntitiesOfficesPopup from \"./IndividualEntitiesOfficesPopup.component\";\r\nimport IndividualEntitiesSharesPopup from \"./IndividualEntitiesSharesPopup.component\";\r\nimport DidComponent from \"../Did.Component/Did.Component\";\r\n\r\nconst IndividualEntitiesComponent = (props) => {\r\n // phoneNumber,Emailid Update\r\n const [popupShow, setPopupShow] = useState(0);\r\n const [popupDidErrorShow, setPopupDidErrorShow] = useState(0);\r\n const [rn, setRn] = useState(\"\");\r\n const individualEntities = useSelector((state) => state.individualEntities);\r\n const handlePopupClose = () => setPopupShow(false);\r\n const handlePopupShow = (e, index) => {\r\n e.preventDefault();\r\n\r\n setPopupShow(index);\r\n };\r\n\r\n const [popupOfficeShow, setPopupOfficeShow] = useState(0);\r\n const handleOfficePopupClose = () => setPopupOfficeShow(false);\r\n const handleOfficePopupShow = (e, index, value) => {\r\n e.preventDefault();\r\n if (value === \"Offices\") {\r\n dispatch(userActions.getIndividualEntitiesOffices(index));\r\n value = \"\";\r\n }\r\n setPopupOfficeShow(index);\r\n };\r\n\r\n const [popupSharesShow, setPopupSharesShow] = useState(0);\r\n const handleSharesPopupClose = () => setPopupSharesShow(false);\r\n const handleSharesPopupShow = (e, index, value) => {\r\n e.preventDefault();\r\n if (value === \"Shares\") {\r\n dispatch(userActions.getIndividualEntitiesShares(index));\r\n\r\n value = \"\";\r\n }\r\n\r\n setPopupSharesShow(index);\r\n };\r\n\r\n const [popupMobileShow, setPopupMobileShow] = useState(0);\r\n const handleMobilePopupClose = () => setPopupMobileShow(false);\r\n const handleMobilePopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupMobileShow(index);\r\n };\r\n\r\n let handleEmailPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n // if (person.emailAddress) {\r\n dispatch(userActions.postIndividualEmailID(rn, person.emailAddress));\r\n setTimeout(() => {\r\n dispatch(userActions.getAllIndividualsEntities());\r\n }, 0);\r\n // props.history.push(props.history.location);\r\n handlePopupClose();\r\n // }\r\n };\r\n\r\n let handleMobilePopupClick = (e, rn) => {\r\n e.preventDefault();\r\n\r\n // if (person.mobileNumber) {\r\n dispatch(userActions.postIndividualPhoneNumber(rn, person.mobileNumber));\r\n setTimeout(() => {\r\n dispatch(userActions.getAllIndividualsEntities());\r\n }, 0);\r\n //props.history.push(props.history.location);\r\n handleMobilePopupClose();\r\n // }\r\n };\r\n\r\n const [popupDidShow, setPopupDidShow] = useState(0);\r\n const handleDidPopupClose = () => setPopupDidShow(false);\r\n const handleDidPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupDidShow(index);\r\n };\r\n\r\n let handleDidPopupClick = (e, rn) => {\r\n e.preventDefault();\r\n \r\n //if (person.didNumber) {\r\n dispatch(userActions.postIndividualEntitiesDid(rn, person.didNumber));\r\n setRn(rn)\r\n setPopupDidErrorShow(person.didNumber);\r\n setTimeout(() => {\r\n dispatch(userActions.getAllIndividualsEntities());\r\n }, 0);\r\n \r\n //props.history.push(props.history.location);\r\n \r\n handleDidPopupClose();\r\n // }\r\n };\r\n\r\n const [person, setPerson] = useState({\r\n mobileNumber: \"\",\r\n emailAddress: \"\",\r\n didNumber: \"\",\r\n });\r\n\r\n let handlePersonDetailsChange = (e) => {\r\n e.preventDefault();\r\n setPerson((person) => ({\r\n ...person,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getAllIndividualsEntities());\r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n \r\n\r\n // search\r\n const [searchInputIndividuals, setsearchInputIndividuals] = useState(\"\");\r\n\r\n const individualEntitiesTotal =\r\n individualEntities && individualEntities.items\r\n ? individualEntities.items\r\n .sort((a, b) => (a.SURNAME > b.SURNAME || a.CODE > b.CODE ? 1 : -1))\r\n .filter(\r\n (filteredValue) =>\r\n filteredValue[\"NAME\"] &&\r\n filteredValue[\"NAME\"]\r\n .toLowerCase()\r\n .includes(searchInputIndividuals.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n\r\n const currentPosts = individualEntitiesTotal\r\n ? individualEntitiesTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n // refresh button\r\n function handleClickRefreshIndividualEntities(e) {\r\n e.preventDefault();\r\n setsearchInputIndividuals(\"\");\r\n }\r\n\r\n //Profile Report\r\n\r\n //loading spinner\r\n const [isProfileReportLoaded, setIsProfileReportLoaded] = useState(false);\r\n\r\n function handleClickProfileReport(e, companyCode) {\r\n localStorage.setItem(\"companyCode\", JSON.stringify(companyCode));\r\n dispatch(\r\n userActions.getIndividualEntitiesProfileReport(\r\n companyCode,\r\n setIsProfileReportLoaded\r\n )\r\n );\r\n }\r\n // Offices popup\r\n\r\n const individualEntitiesOffices = useSelector(\r\n (state) => state.individualEntitiesOffices\r\n );\r\n\r\n // shares popup\r\n const individualEntitiesShares = useSelector(\r\n (state) => state.individualEntitiesShares\r\n );\r\n\r\n const didUpdate = useSelector((state) => state.didUpdate);\r\n\r\n const handleErrorDidPopupClose = () => setPopupDidErrorShow(false);\r\n const handleErrorDidPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupDidErrorShow(index);\r\n };\r\n\r\n\r\n return (\r\n
    \r\n {console.log(\"individualEntities======\",individualEntities)}\r\n

    Individuals & Entities

    \r\n\r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {\r\n individualEntities && currentPosts&& currentPosts.length ===0 ?\r\n \r\n :\r\n individualEntities &&\r\n currentPosts &&\r\n currentPosts.sort().map((post) => (\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
    Surname/Company NameNameEmailSMSDID Action
    No matching records found
    {post.SURNAME}{post.NAME}\r\n false}\r\n onClick={(e) => handlePopupShow(e, post.RN)}\r\n className=\"hand-cursor\"\r\n >\r\n \r\n \r\n \r\n {!post.EMAIL_ADDRESS?\"Add/edit email\" : post.EMAIL_ADDRESS.indexOf(';')!== -1? post.EMAIL_ADDRESS.split(';').join(\"\\n\")\r\n : post.EMAIL_ADDRESS} \r\n {popupShow === post.RN && (\r\n \r\n handlePopupShow(e, post.EmailAddress)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleEmailPopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleMobilePopupShow(e, post.RN)}\r\n >\r\n {\" \"}\r\n \r\n {popupMobileShow === post.RN && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleMobilePopupClick(e, post.RN)}\r\n />\r\n )}\r\n \r\n \r\n {post.INDIV_TYPE === \"Person\" ? (\r\n \r\n false}\r\n onClick={(e) => handleDidPopupShow(e, post.RN)}\r\n >\r\n DID\r\n \r\n ) : (\r\n \"\tn/a\"\r\n )}\r\n {popupDidShow === post.RN && (\r\n handleDidPopupShow(e, post.RN)}\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) =>\r\n handleDidPopupClick(e, post.RN)\r\n }\r\n \r\n />\r\n )}\r\n \r\n {didUpdate &&\r\n didUpdate.error &&\r\n didUpdate.error.indexOf(\"400\") !== -1 ? (\r\n \r\n handleErrorDidPopupShow(e, post.DID)\r\n }\r\n body={\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) =>\r\n handleDidPopupClick(e, rn)\r\n }\r\n // handleClick={handleErrorDidPopupClick}\r\n />\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n
      \r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleClickProfileReport(e, post.CODE)\r\n }\r\n >\r\n Profile\r\n {\" \"}\r\n
      \r\n
    • \r\n {isProfileReportLoaded ? : null}\r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleOfficePopupShow(e, post.CODE, \"Offices\")\r\n }\r\n >\r\n Offices\r\n \r\n
      \r\n {popupOfficeShow === post.CODE && (\r\n \r\n handleOfficePopupShow(e, post.CODE)\r\n }\r\n body={\r\n \r\n }\r\n />\r\n )}\r\n
    • \r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleSharesPopupShow(e, post.CODE, \"Shares\")\r\n }\r\n >\r\n Shares\r\n \r\n\r\n {popupSharesShow === post.CODE && (\r\n \r\n handleSharesPopupShow(e, post.CODE)\r\n }\r\n body={\r\n \r\n }\r\n />\r\n )}\r\n
    • \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >\r\n {\"\"}/\r\n {individualEntitiesTotal ? individualEntitiesTotal.length : 0}\r\n
    \r\n
    \r\n {console.log('currentPage::::', currentPage)}\r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default IndividualEntitiesComponent;\r\n\r\n\r\n\r\n\r\n","import React,{useState} from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport IndividualEntitiesComponent from './IndividualEntities.component';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\n\r\n\r\nconst IndividualEntitiesLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\nconst [searchCompany, setSearchCompany] = useState([]);\r\n\r\n return (\r\n \r\n }content={\r\n\r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(IndividualEntitiesLanding);","import React, { useState, useEffect } from 'react';\r\nimport '../MonitorsComponents/AnnualReviews.style.scss';\r\nimport Pagination from '../CommonPage/Pagination.component'\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\n\r\nconst JointHolderComponent = (props) => {\r\n \r\n \r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n}\r\nconst dispatch = useDispatch();\r\n\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getAllJointHolders());\r\n \r\n // eslint-disable-next-line\r\n}, []);\r\n const jointHolders=useSelector(state =>state.jointHolders)\r\n\r\n \r\n// search\r\nconst [searchInputJointHolders, setsearchInputJointHolders] = useState(\"\");\r\nconst jointHoldersTotal= jointHolders && jointHolders.items ? jointHolders.items.filter(filteredValue =>filteredValue['GROUP_DESC']&& filteredValue['GROUP_DESC'].toLowerCase().includes(searchInputJointHolders.toLowerCase())):[];\r\n\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n\r\n const currentPosts =\r\n jointHoldersTotal\r\n ? jointHoldersTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n // refresh button\r\n function handleClickRefreshJointHolders(e) {\r\n e.preventDefault();\r\n setsearchInputJointHolders(\"\");\r\n \r\n}\r\n\r\n return (\r\n \r\n
    \r\n \r\n

    Group Code List

    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n {/* \r\n */}\r\n \r\n \r\n \r\n \r\n \r\n {\r\n jointHolders && currentPosts&& currentPosts.length ===0 ?\r\n \r\n :\r\n jointHolders&¤tPosts && currentPosts.map(post => (\r\n \r\n \r\n {/* \r\n \r\n*/}\r\n \r\n ))}\r\n \r\n \r\n\r\n
    Group Description Action
    No matching records found
    {post.GROUP_DESC} \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n
  • \r\n false}>\r\nView\r\n \r\n
  • \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Showing setPostsPerPage(e.target.value)}>\r\n {\"\"}\r\n /{ jointHoldersTotal? jointHoldersTotal.length : 0}
    \r\n
    \r\n \r\n {\r\n postsPerPage &&\r\n setCurrentPage(page)}\r\n />\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n}\r\n export default JointHolderComponent;","import React,{useState} from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport JointHolderComponent from \"./JointHolder.component\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\n\r\nconst JointHolderLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(JointHolderLanding);\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\nconst BenificialOwnerComponent = (props) => {\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(5);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getAllBeneficialOwner());\r\n \r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n const beneficialOwner = useSelector((state) => state.beneficialOwner);\r\n \r\n // search\r\n const [searchInputBeneficialOwner, setsearchInputBeneficialOwner] =\r\n useState(\"\");\r\n const beneficialOwnerTotal =\r\n beneficialOwner && beneficialOwner.items\r\n ? beneficialOwner.items.filter(\r\n (filteredValue) =>\r\n filteredValue[\"BEN_NAME\"] &&\r\n filteredValue[\"BEN_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInputBeneficialOwner.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n\r\n const currentPosts = beneficialOwnerTotal\r\n ? beneficialOwnerTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n // refresh button\r\n function handleClickRefreshBeneficialOwner(e) {\r\n e.preventDefault();\r\n setsearchInputBeneficialOwner(\"\");\r\n }\r\n\r\n return (\r\n
    \r\n

    Beneficial Owners & Trusts

    \r\n\r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n {\r\n \r\n beneficialOwner && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n beneficialOwner &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n \r\n ))}\r\n \r\n
    Beneficial Owner NameTFN Action
    No matching records found
    {post.BEN_NAME} {post.TFN} \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    \r\n {beneficialOwnerTotal && beneficialOwnerTotal.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >\r\n {\"\"}/{beneficialOwnerTotal ? beneficialOwnerTotal.length : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default BenificialOwnerComponent;\r\n","import React,{useState} from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport BenificialOwnerComponent from \"./BeneficialOwner.component\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\n\r\nconst BenificialOwnerLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(BenificialOwnerLanding);\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport \"font-awesome/css/font-awesome.min.css\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport Form484InformationComponent from \"../CommonPage/Form484Information.component\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst FormsAndDocumentComponent = (props) => {\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n const[statusSort, setSortStatus] = useState(\"\");\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getElectronicLodegementService());\r\n // eslint-disable-next-line\r\n }, []);\r\n const electronicLodgementService = useSelector(\r\n (state) => state.electronicLodgementService\r\n );\r\n\r\n function handleClickStatusSort(e) {\r\n e.preventDefault();\r\n if (statusSort === \"asc\") {\r\n\r\n setSortStatus(\"desc\");\r\n \r\n } else {\r\n setSortStatus(\"asc\");\r\n }\r\n }\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const electronicLodgementServiceTotalStatement =\r\nelectronicLodgementService && electronicLodgementService.items\r\n ?(statusSort === \"\")? \r\n electronicLodgementService.items\r\n .sort((a, b) => (a.CO_NAME > b.CO_NAME ? 1 : -1))\r\n .filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n :(statusSort === \"asc\")? \r\n electronicLodgementService.items.sort((a, b) => a.DUE_DAYS.localeCompare(b.DUE_DAYS)).filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n ): electronicLodgementService.items.sort((a, b) => b.DUE_DAYS.localeCompare(a.DUE_DAYS) && b.DUE_DAYS_ONLY- a.DUE_DAYS_ONLY).filter((filteredValue) =>\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n\r\n\r\n \r\n\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n const currentPosts = electronicLodgementServiceTotalStatement\r\n ? electronicLodgementServiceTotalStatement.slice(\r\n indexOfFirstPost,\r\n indexOfLastPost\r\n )\r\n : [];\r\n\r\n\r\n// refresh button\r\nfunction handleClickRefreshELS(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n}\r\n\r\n// Form 484 information Popup.\r\nconst form484Information = useSelector(\r\n (state) => state.form484Information\r\n);\r\n\r\n //loading spinner\r\n const [isForm484DocTrackLoaded, setIsForm484DocTrackLoaded] = useState(false);\r\n // eslint-disable-next-line\r\nconst [submitted, setSubmitted] = useState(false);\r\nfunction form484DocTrackHandleClick(e,rN,docNo) {\r\n setSubmitted(true);\r\n dispatch(userActions.getForm484Information(rN,docNo,setIsForm484DocTrackLoaded));\r\n handle484DocTrackPopupShow(e, docNo);\r\n }\r\n\r\n const [popup484DocTrackShow, setPopup484DocTrackShow] = useState(0);\r\n const handle484DocTrackPopupClose = () => setPopup484DocTrackShow(false);\r\n const handle484DocTrackPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopup484DocTrackShow(index);\r\n };\r\n let handle484DocTrackPopupClick = (e) => {\r\n e.preventDefault();\r\n handle484DocTrackPopupClose();\r\n};\r\n return (\r\n
    \r\n

    Electronic Lodgement Service

    \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n\r\n \r\n {\r\n electronicLodgementService && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n electronicLodgementService &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n {/* \r\n \r\n */}\r\n \r\n\r\n\r\n{popup484DocTrackShow === post.DOC_CODE ? (\r\n handle484DocTrackPopupShow(e, post.DOC_CODE)}\r\n body={\r\n \r\n }\r\n handleClick={handle484DocTrackPopupClick}\r\n\r\n \r\n />\r\n )\r\n : popup484DocTrackShow === post.DOC_CODE && isForm484DocTrackLoaded ? :null } \r\n \r\n ))}\r\n \r\n
    SupportCompany NameFormDocument StatusDoc Track No. DateAgenthandleClickStatusSort(e)}>Status {statusSort === \"asc\" ? : } Action
    No matching records found
    \r\n \r\n {post.CO_NAME} {post.FORM_TYPE}\r\n {\" \"}\r\n \r\n {post.STATUS}\r\n \r\n {post.DOC_CODE}{moment(post.FORM_DATE).format(\"DD/MM/YYYY\")}{post.AGENT_CODE}\r\n \r\n {post.DUE_DAYS}\r\n \r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n \r\n {post.FORM_TYPE === \"484\" ? false }\r\nrole=\"button\"\r\nonClick={(e) =>form484DocTrackHandleClick(e,post.RN,post.DOC_CODE)}>: \"\" }
    \r\n
    \r\n {electronicLodgementServiceTotalStatement &&\r\n electronicLodgementServiceTotalStatement.length >= 10 && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {electronicLodgementServiceTotalStatement\r\n ? electronicLodgementServiceTotalStatement.length\r\n : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default FormsAndDocumentComponent;\r\n","import React,{useState,} from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport FormsAndDocumentComponent from './formsAndDocumentComponent';\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\n\r\n\r\nconst FormsAndDocumentsLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n\r\n return (\r\n \r\n }\r\n content={\r\n\r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(FormsAndDocumentsLanding);","import React, { useState } from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useSelector } from \"react-redux\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\n\r\nconst ResetPassword = (props) => {\r\n const [loginUser, setLoginUser] = useState({\r\n // clientId: '',\r\n userName: \"\",\r\n });\r\n\r\n const [submitted, setSubmitted] = useState(false);\r\n let handleChange = (e) => {\r\n setLoginUser((users) => ({\r\n ...loginUser,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\n const dispatch = useDispatch();\r\n const resetPassword = useSelector((state) => state.resetPassword);\r\n const [popupResetErrorShow, setPopupResetErrorShow] = useState(false);\r\n const handleResetErrorPopupClose = () => setPopupResetErrorShow(false);\r\n const handleResetErrorPopupShow = (e) => {\r\n e.preventDefault();\r\n setPopupResetErrorShow(true);\r\n };\r\n\r\n let handleErrorPopupClick = (e) => {\r\n e.preventDefault();\r\n handleResetErrorPopupClose();\r\n };\r\n\r\n\r\n function handleSubmit(e) {\r\n e.preventDefault();\r\n setSubmitted(true);\r\n const uId=window.location.search.split(\"=\");\r\n \r\n if(uId){\r\n dispatch(userActions.postResetPassword(loginUser.userName,loginUser.password,loginUser.confirmPassword,uId[1]));\r\n setPopupResetErrorShow(true)\r\n \r\n }\r\n }\r\n \r\n\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n \r\n \r\n {submitted && !loginUser.userName && (\r\n
    Username Required
    \r\n )}\r\n
    \r\n
    \r\n \r\n \r\n {submitted && !loginUser.password && (\r\n
    Password Required
    \r\n )} \r\n
    \r\n
    \r\n \r\n \r\n {submitted && !loginUser.confirmPassword && (\r\n
    ConfirmPassword Required
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n {popupResetErrorShow &&\r\n resetPassword &&\r\n resetPassword.error &&\r\n resetPassword.error.indexOf(\"400\") !== -1 ? (\r\n handleResetErrorPopupShow(e)}\r\n body={\" Reset username error\"}\r\n handleClick={handleErrorPopupClick}\r\n />\r\n ) : resetPassword && resetPassword.items ? (\r\n props.history.push(\"/PasswordChangeSuccess\")\r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n }\r\n />\r\n );\r\n};\r\nexport default ResetPassword;\r\n","import React from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\n\r\nconst ResetPasswordInstruction = (props) => {\r\n \r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n We’ve received your request!\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n You will receive an email from us shortly with \r\n instructions on how to reset your password.\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Already have an account?\r\n \r\n false}\r\n style={{fontSize:'16px', lineHeight: '19.36 px', color: ' #012040',fontStyle: 'normal', fontWeight: '550',letterspacing: '0.25px',}}\r\n \r\n className=\" hand-cursor text-decoration-none\"\r\n onClick={() => props.history.push(\"/login\")}\r\n >\r\n {\" \"}\r\n Login\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n }\r\n />\r\n );\r\n };\r\n \r\nexport default ResetPasswordInstruction;","import React from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\n\r\nconst PasswordChangeSuccess = (props) => {\r\n \r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n Password changed successfully\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n }\r\n />\r\n );\r\n };\r\n \r\nexport default PasswordChangeSuccess;\r\n","import React from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport EOrderOrderRequestComponent from \"./EorderOrderRequest.Component\";\r\n\r\n\r\nconst EOrderOrderRequestLanding = (props) => {\r\n return (\r\n }\r\n />\r\n );\r\n};\r\nexport default withRouter(EOrderOrderRequestLanding);\r\n","import React from \"react\";\r\nimport MainScreen from \"../CommonPage/MainScreen.component\";\r\n\r\nconst SignUpSuccess = (props) => {\r\n \r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n Thank you for registering!\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Our expert compliance team will be in touch and \r\n help you set up an account.\r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Already have an account?\r\n \r\n false}\r\n style={{fontSize:'16px', lineHeight: '19.36 px', color: ' #012040',fontStyle: 'normal', fontWeight: '550',letterspacing: '0.25px',}}\r\n \r\n className=\" hand-cursor text-decoration-none\"\r\n onClick={() => props.history.push(\"/login\")}\r\n >\r\n {\" \"}\r\n Login\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n }\r\n />\r\n );\r\n };\r\n export default SignUpSuccess;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\nconst UnitTrustRegisterComponent = (props) => {\r\n // shim to fix page size bug (not showing 7 records... only 5)\r\n const PAGE_MAX_SIZE = 10;\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(PAGE_MAX_SIZE);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(userActions.getUnitTrustTable(\"all\"));\r\n \r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n const unitTrustTable = useSelector((state) => state.unitTrustTable);\r\n \r\n // search\r\n const [searchInputUnitTrustTable, setSearchInputUnitTrustTable] =\r\n useState(\"\");\r\n const unitTrustTableTotal =\r\n unitTrustTable && unitTrustTable.items\r\n ? unitTrustTable.items.filter(\r\n (filteredValue) =>\r\n filteredValue[\"CO_NAME\"] &&\r\n filteredValue[\"CO_NAME\"]\r\n .toLowerCase()\r\n .includes(searchInputUnitTrustTable.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n\r\n const currentPosts = unitTrustTableTotal\r\n ? unitTrustTableTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n function handleClickRegisterAction(e, rn) {\r\n dispatch(userActions.getUnitTrustUnitholdersReport(rn, 'unitTrustModule'));\r\n }\r\n \r\n function handleClickAAJournalAction(e, rn) {\r\n dispatch(userActions.getUnitTrustApplicationAllotmentJournalReport(rn, 'unitTrustModule'));\r\n }\r\n \r\n function handleClickUnitsTransferJournalAction(e, rn) {\r\n dispatch(userActions.getUnitTrustTransferJournalReport(rn, 'unitTrustModule'));\r\n }\r\n \r\n function handleClickUnitholdersSummaryAction(e, rn) {\r\n dispatch(userActions.getUnitTrustUnitholdersSummaryReport(rn, 'unitTrustModule'));\r\n }\r\n\r\n // refresh button\r\n function handleClickUnitTrustTable(e) {\r\n e.preventDefault();\r\n setSearchInputUnitTrustTable(\"\");\r\n }\r\n\r\n return (\r\n
    \r\n

    Unit Trust Register

    \r\n\r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n {\r\n unitTrustTable && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n unitTrustTable &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n\r\n \r\n \r\n ))}\r\n \r\n
    UnitTrust Name\tTrustee Action
    No matching records found
    {post.TRUST_NAME} {post.CO_NAME} \r\n false}\r\n className=\"text-white d-flex align-items-center text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n // aria-expanded=\"false\"\r\n >\r\n \r\n \r\n\r\n
      \r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleClickRegisterAction(e, post.RN)\r\n }\r\n >\r\n Register of Unitholders\r\n {\" \"}\r\n
      \r\n
    • \r\n\r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleClickAAJournalAction(e, post.RN)\r\n }\r\n >\r\n Units - Application and Allotment Journal\r\n \r\n
      \r\n
    • \r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleClickUnitsTransferJournalAction(e, post.RN)\r\n }\r\n >\r\n Units Transfer Journal\r\n \r\n
      \r\n
    • \r\n
    • \r\n false}\r\n onClick={(e) =>\r\n handleClickUnitholdersSummaryAction(e, post.RN)\r\n }\r\n >\r\n Unitholders Summary\r\n \r\n
    • \r\n
    \r\n
    \r\n
    \r\n {unitTrustTableTotal && unitTrustTableTotal.length >= PAGE_MAX_SIZE && (\r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >\r\n {\"\"}/{unitTrustTableTotal ? unitTrustTableTotal.length : 0}\r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\nexport default UnitTrustRegisterComponent;\r\n","import React,{useState} from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\nimport UnitTrustRegisterComponent from \"./UnitTrustRegisterComponent\";\r\n\r\nconst UnitTrustRegisterLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(UnitTrustRegisterLanding);","import React, { useState, useEffect } from \"react\";\r\nimport \"../CompanyDetailsComponent/CompanyDetails.styles.scss\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\n\r\nconst DIDListComponent = (props) => {\r\n \r\n // dropdown selection\r\n const [didList, setDidList] = useState({\r\n didType: \"\",\r\n });\r\n\r\n // View ASIC Debt Report\r\n const dispatch = useDispatch();\r\n\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n\r\n ///API Reports link\r\n\r\n useEffect(() => {\r\n const selectedCompanyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n if (selectedCompanyCode !== null) {\r\n dispatch(userActions.getAsicInvoiceReportLinks(selectedCompanyCode));\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) => dispatchAPIs(value));\r\n }\r\n\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n function dispatchAPIs(value) {\r\n dispatch(userActions.getAsicInvoiceReportLinks(value.Code));\r\n }\r\n\r\n // Director ID List Report pdf format\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [isExcelLoaded, setIsExcelLoaded] = useState(false);\r\n function handleClickDidList(e,didList,value,setIsLoaded) {\r\n console.log(\"didList\",didList)\r\n dispatch(userActions.getDirectorIdReport(didList,setIsLoaded,value));\r\n }\r\n\r\n\r\n \r\n return (\r\n
    \r\n
    \r\n Director ID\r\n
    \r\n {/* false}\r\n className=\"nav-link px-4\"\r\n role=\"button\"\r\n onClick={(e) => handleClickDidList(e)}\r\n >\r\n Director ID List {isLoaded ? : null}\r\n */}\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {\r\n setDidList(() => ({\r\n ...didList,\r\n [e.target.name]: e.target.value,\r\n }));\r\n}}\r\nrequired\r\n\r\n \r\n>\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n

    {isLoaded ? : null}\r\n \r\n {isExcelLoaded ? : null}
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n DID help & information\r\n
    \r\n
  • \r\n \r\n DID Information Sheet{\" \"}\r\n \r\n
  • \r\n
  • \r\n \r\n About DID{\" \"}\r\n \r\n
  • \r\n
  • \r\n \r\n Steps to apply for DID{\" \"}\r\n \r\n
  • \r\n
  • \r\n \r\n Verifying Your Identity for DID\r\n \r\n
  • \r\n
  • \r\n \r\n Paper DID Application Form\r\n \r\n
  • \r\n
    \r\n
    \r\n \r\n
    \r\n );\r\n};\r\nexport default DIDListComponent;","import React,{useState} from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\nimport DIDListComponent from \"./DIDListComponent\";\r\n\r\n\r\nconst DIDListComponentLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(DIDListComponentLanding);","import React, { useState, useEffect } from \"react\";\r\nimport { css, styled, setup } from \"goober\";\r\nimport FullPageLoader from \"./FullPageLoader\";\r\n\r\nsetup(React.createElement);\r\n\r\nconst Ol = styled(\"ol\")`\r\n margin: 0;\r\n padding-bottom: 2.2rem;\r\n list-style-type: none;\r\n`;\r\nconst Li = styled(\"li\")`\r\n display: inline-block;\r\n text-align: center;\r\n line-height: 4.8rem;\r\n padding: 0 0.7rem;\r\n cursor: pointer;\r\n\r\n color: silver;\r\n border-bottom: 2px solid silver;\r\n\r\n &:hover,\r\n &:before {\r\n color: #0fa0ce;\r\n }\r\n &:after {\r\n content: \"\\\\00a0\\\\00a0\";\r\n }\r\n span {\r\n padding: 0 1.5rem;\r\n }\r\n &:before {\r\n position: relative;\r\n float: left;\r\n left: 50%;\r\n width: 1.2em;\r\n line-height: 1.4em;\r\n border-radius: 0;\r\n bottom: -3.99rem;\r\n }\r\n`;\r\nconst Todo = (props) => css`\r\n &:before {\r\n content: \"${props.key}\";\r\n color: silver;\r\n background-color: white;\r\n }\r\n`;\r\nconst Doing = (props) => css`\r\n &:before {\r\n content: \"${props.key}\";\r\n color: white;\r\n background-color: #33c3f0;\r\n }\r\n`;\r\nconst Done = (props) => css`\r\n &:before {\r\n content: \"${props.key}\";\r\n color: white;\r\n background-color: #33c3f0;\r\n }\r\n`;\r\n\r\nconst getStep = (defaultIndex, newIndex, length) => {\r\n if (newIndex <= length) {\r\n return newIndex;\r\n }\r\n return defaultIndex;\r\n};\r\n\r\nconst getTopNavStyles = (indx, length) => {\r\n const styles = [];\r\n for (let i = 0; i < length; i++) {\r\n if (i < indx) {\r\n styles.push(\"done\");\r\n } else if (i === indx) {\r\n styles.push(\"doing\");\r\n } else {\r\n styles.push(\"todo\");\r\n }\r\n }\r\n return styles;\r\n};\r\n\r\nconst getButtonsState = (indx, length) => {\r\n if (indx > 0 && indx < length - 1) {\r\n return {\r\n showPreviousBtn: true,\r\n showNextBtn: true,\r\n };\r\n } else if (indx === 0) {\r\n return {\r\n showPreviousBtn: false,\r\n showNextBtn: true,\r\n };\r\n } else {\r\n return {\r\n showPreviousBtn: true,\r\n showNextBtn: false,\r\n };\r\n }\r\n};\r\n\r\nexport default function MultiStep(props) {\r\n const { activeComponentClassName, inactiveComponentClassName } = props;\r\n const showNav =\r\n typeof props.showNavigation === \"undefined\" ? true : props.showNavigation;\r\n\r\n const [activeStep] = useState(\r\n getStep(0, props.activeStep, props.steps.length)\r\n );\r\n const [count, setCount] = useState(0);\r\n const [stylesState, setStyles] = useState(\r\n getTopNavStyles(activeStep, props.steps.length)\r\n );\r\n const [compState, setComp] = useState(activeStep);\r\n const [buttonsState, setButtons] = useState(\r\n getButtonsState(activeStep, props.steps.length)\r\n );\r\n\r\n useEffect(() => {\r\n console.log(\"Index changed: \", props.activeStep);\r\n setStepState(props.activeStep);\r\n // eslint-disable-next-line\r\n }, [props.activeStep]);\r\n useEffect(() => {\r\n console.log(\"ebinderOrderRequest2: \", props.ebinderResponse);\r\n \r\n props.ebinderResponse &&\r\n props.ebinderResponse.items &&\r\n setStepState(compState + 1);\r\n\r\n // eslint-disable-next-line\r\n }, [props.ebinderResponse]);\r\n\r\n const setStepState = (indx) => {\r\n console.log(\"Index changed: \", props.activeStep);\r\n setStyles(getTopNavStyles(indx, props.steps.length));\r\n setComp(indx < props.steps.length ? indx : compState);\r\n setButtons(getButtonsState(indx, props.steps.length));\r\n };\r\n\r\n const next = () => {\r\n setStepState(compState + 1);\r\n setCount(compState + 1);\r\n props.setEbinderResponse(\"\");\r\n props.setShowEBinderMangement(false);\r\n };\r\n\r\n const previous = () => {\r\n setStepState(compState > 0 ? compState - 1 : compState);\r\n setCount(compState > 0 ? compState - 1 : compState);\r\n props.setEbinderResponse(\"\");\r\n };\r\n\r\n const handleOnClick = (evt) => {\r\n if (\r\n evt.currentTarget.value === props.steps.length - 1 &&\r\n compState === props.steps.length - 1\r\n ) {\r\n setStepState(props.steps.length);\r\n } else {\r\n setStepState(evt.currentTarget.value);\r\n }\r\n };\r\n\r\n const renderSteps = () =>\r\n props.steps.map((s, i) => {\r\n if (stylesState[i] === \"todo\") {\r\n return (\r\n \r\n {s.name}\r\n \r\n \r\n );\r\n } else if (stylesState[i] === \"doing\") {\r\n return (\r\n \r\n {s.name}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n \r\n {s.name}\r\n \r\n \r\n );\r\n }\r\n });\r\n\r\n const renderNav = (show) =>\r\n show && (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {console.log('compState:::', compState)}\r\n {compState <= 5 && (\r\n \r\n Prev\r\n \r\n )}\r\n
    \r\n {\" \"}\r\n
    \r\n {count < 5 && (\r\n \r\n Next\r\n \r\n )}\r\n {console.log(\" activeStep activeStep\", count)}\r\n {count === 5 && (\r\n {\r\n props.handleClick(e);\r\n }}\r\n >\r\n Create Ebinder\r\n \r\n )}\r\n
    \r\n {count === 5 &&\r\n props.ebinderOrderRequest &&\r\n props.ebinderOrderRequest.loading ? (\r\n \r\n ) : null}\r\n {count === 1 && !props.selectedCompanyCode && (\r\n
    \r\n Company Name not selected! please select the Company Name to\r\n proceed.\r\n
    \r\n )}\r\n {count === 5 &&\r\n props.ebinderResponse &&\r\n props.ebinderResponse.error && (\r\n
    \r\n An unknown error occurred. Please contact\r\n support@primeconsulting.com.au if the error persists.\r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n\r\n return (\r\n
    \r\n
      {renderSteps()}
    \r\n {inactiveComponentClassName ? (\r\n props.steps.map((step, index) => {\r\n const className =\r\n index === compState\r\n ? activeComponentClassName\r\n : inactiveComponentClassName;\r\n return (\r\n
    \r\n {step.component}\r\n
    \r\n );\r\n })\r\n ) : (\r\n
    {props.steps[compState].component}
    \r\n )}\r\n
    {renderNav(showNav)}
    \r\n
    \r\n );\r\n}\r\n","import React from 'react';\r\n\r\nconst EBinderDeleteCustomfileComponent = (props) => {\r\n return (\r\n
    \r\n {`Are you sure you want to delete \"${props.fileName}\"?`}\r\n
    \r\n );\r\n};\r\n\r\nexport default EBinderDeleteCustomfileComponent;","import React, { useState, useEffect, useCallback } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport EBinderDeleteCustomfileComponent from \"./EBinderDeleteCustomfileComponent\";\r\nimport { useDropzone } from \"react-dropzone\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst EBinderAdditionalDoc = (props) => {\r\n const ebinderCustomFileList = useSelector(\r\n (state) => state.ebinderCustomFileList\r\n );\r\n // eslint-disable-next-line\r\n const [isFinishedUploading, setIsFinishedUploading] = useState(false);\r\n const [isUploading, setIsUploading] = useState(false);\r\n // eslint-disable-next-line\r\n const [isError, setIsError] = useState(false);\r\n const [errors, setErrors] = useState({});\r\n\r\n const onDrop = useCallback((acceptedFiles) => {\r\n console.log(\"acceptedFiles\", acceptedFiles);\r\n \r\n\r\n // Build POST data\r\n let formdata = new FormData();\r\n acceptedFiles.forEach((file) => {\r\n formdata.append(file.name, file);\r\n });\r\n\r\n console.log('formdata=====', formdata)\r\n \r\n dispatch(userActions.postEbinderCustomFileAdd(props.selectedCompanyCode,formdata,setErrors,setIsUploading));\r\n setTimeout(() => {\r\n dispatch(userActions.getEbinderCustomFileList(props.selectedCompanyCode));\r\n }, 2000);\r\n // eslint-disable-next-line\r\n }, []);\r\n const { getRootProps, getInputProps, isDragActive } = useDropzone({ onDrop });\r\n const dispatch = useDispatch();\r\n\r\n // Create user generated upload error list\r\n let fileUploadErrors = null;\r\n if (Object.keys(errors).length > 0) {\r\n console.log(\"fileUploadErrors\")\r\n fileUploadErrors = Object.keys(errors).map((key) => {\r\n switch (errors[key]) {\r\n case \"INVALID_NAME\":\r\n return (\r\n

    \r\n File '{key}' has an invalid name. File must be a PDF and only\r\n contain alphanumeric and spaces.\r\n

    \r\n );\r\n case \"INVALID_CONTENT_TYPE\":\r\n return (\r\n

    File '{key}' is not an accepted format. Files must be PDF.

    \r\n );\r\n case \"ALREADY_EXISTS\":\r\n return (\r\n

    \r\n File '{key}' already exists. Either rename your upload or delete\r\n the existing file.\r\n

    \r\n );\r\n default:\r\n return

    File '{key}' was rejected by server (unknown).

    ;\r\n }\r\n });\r\n console.log(\"fileUploadErrors\",fileUploadErrors)\r\n }\r\n\r\n\r\n\r\n \r\n // postEbinderCustomFileDelete v\r\n const [popupCustomfileDeleteShow, setPopupCustomfileDeleteShow] = useState(0);\r\n const handleCustomfileDeleteClose = () => setPopupCustomfileDeleteShow(false);\r\n const handleCustomfileDeleteShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupCustomfileDeleteShow(index);\r\n };\r\n\r\n let handleDeletePopupClick = (e, fileName) => {\r\n e.preventDefault();\r\n dispatch(\r\n userActions.postEbinderCustomFileDelete(props.selectedCompanyCode, fileName)\r\n );\r\n handleCustomfileDeleteClose();\r\n setTimeout(() => {\r\n dispatch(userActions.getEbinderCustomFileList(props.selectedCompanyCode));\r\n }, 1000);\r\n };\r\n\r\n function handleClickSelectedItems(e, value) {\r\n props.setCustomFileList((prevState) =>\r\n prevState.map((item) =>\r\n item === value\r\n ? Object.assign(item, { additionDocCheckBox: e.target.checked })\r\n : Object.assign(item)\r\n )\r\n );\r\n }\r\n\r\n function handleClickAll(e) {\r\n props.setCustomFileList((prevState) =>\r\n prevState.map((item) =>\r\n Object.assign(item, { additionDocCheckBox: true })\r\n )\r\n );\r\n }\r\n\r\n function handleClickNone(e) {\r\n props.setCustomFileList((prevState) =>\r\n prevState.map((item) =>\r\n Object.assign(item, { additionDocCheckBox: false })\r\n )\r\n );\r\n }\r\n\r\n useEffect(() => {\r\n // eslint-disable-next-line\r\n }, [\r\n props.ebinderCustomFileList,\r\n ebinderCustomFileList,\r\n props.customFileList,\r\n ]);\r\n\r\n\r\n // Upload recently finished\r\n if (isFinishedUploading) {\r\n return (\r\n
    \r\n
    \r\n

    Upload complete!

    \r\n
    \r\n
    {fileUploadErrors}
    \r\n
    \r\n );\r\n }\r\n\r\n // If there was a server error in the upload process\r\n if (isError) {\r\n return (\r\n
    \r\n

    Failed to upload due to unexpected error.

    \r\n
    \r\n );\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n

    Additional User Documents

    \r\n

    \r\n Select any additional documents which should be included in the\r\n binder.\r\n

    \r\n

    \r\n You may also upload any additional documents (pdf only) which you\r\n would like included and saved for future use.\r\n

    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {props.customFileList &&\r\n props.customFileList.map((post, index) => (\r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
    \r\n handleClickSelectedItems(e, post)}\r\n checked={post.additionDocCheckBox}\r\n value={post.additionDocCheckBox}\r\n />\r\n \r\n handleCustomfileDeleteShow(e, post)}\r\n >\r\n \r\n \r\n {popupCustomfileDeleteShow === post && (\r\n \r\n }\r\n btnName=\"Delete\"\r\n handleClick={(e) => handleDeletePopupClick(e, post)}\r\n />\r\n )}\r\n {post}
    \r\n
    \r\n
    \r\n
    \r\n \r\n {isDragActive ? (\r\n

    Drop files here to upload...

    \r\n ) : (\r\n

    Drag and drop PDF files here, or click to upload.

    \r\n )}\r\n
    \r\n
    \r\n
    {fileUploadErrors}
    \r\n
    \r\n {isUploading ? : null}\r\n
    \r\n );\r\n};\r\nexport default EBinderAdditionalDoc;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport moment from \"moment\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst EBinderManagement = (props) => {\r\n //loading spinner\r\n const [isEbinderLinkLoaded, setIsEbinderLinkLoaded] = useState(false);\r\n const manageEbinderList = useSelector((state) => state.manageEbinderList);\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n if (props.selectedCompanyCode) {\r\n \r\n dispatch(userActions.getManageEbinderList(props.selectedCompanyCode));\r\n \r\n }\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n const manageEbinderListFile =\r\n manageEbinderList && manageEbinderList.items ? manageEbinderList.items : [];\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n function eBinderHandleClick(e, binderId) {\r\n if (props.selectedCompanyCode) {\r\n dispatch(\r\n userActions.getEbinderLink(\r\n props.selectedCompanyCode,\r\n binderId,\r\n setIsEbinderLinkLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getEbinderLink(\r\n props.selectedCompanyCode,\r\n binderId,\r\n setIsEbinderLinkLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n {props.selectedCompanyCode && manageEbinderListFile && manageEbinderListFile.length === 0 && (

    e-Binder Management

    )}\r\n\r\n {props.selectedCompanyCode && manageEbinderListFile && manageEbinderListFile.length === 0 && (

    \r\n On this popup page you will find references and download links to\r\n previously created electronic binders.\r\n

    \r\n )}\r\n \r\n {props.selectedCompanyCode && manageEbinderListFile && manageEbinderListFile.length === 0 && (\r\n

    No e-binders on record

    \r\n )}\r\n {props.selectedCompanyCode && manageEbinderListFile && manageEbinderListFile.length > 0 && (\r\n

    \r\n Showing {manageEbinderListFile && manageEbinderListFile.length}{\" \"}\r\n item(s) arranged by date descending.\r\n

    \r\n )}\r\n {props.selectedCompanyCode && manageEbinderListFile &&\r\n manageEbinderListFile.map((post) => (\r\n \r\n \r\n \r\n ))}{\" \"}\r\n {isEbinderLinkLoaded ? : null}\r\n
    \r\n false}\r\n target=\"_blank\"\r\n rel=\"noreferrer\"\r\n className=\"link-primary\"\r\n style={{ cursor: \"pointer\" }}\r\n onClick={(e) => eBinderHandleClick(e, post.Id)}\r\n >\r\n eBinder-pdf (\r\n {post.CreatedAt\r\n ? moment(post.CreatedAt).format(\"DD/MM/YYYY , LTS\")\r\n : \"\"}{\" \"}\r\n )\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default EBinderManagement;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport moment from \"moment\";\r\nimport EBinderManagement from \"../EbinderMangementComponent/EbinderMangement.component\";\r\n\r\nconst EbinderCompany = (props) => {\r\n const ebinderCompanyList =useSelector((state) => state.ebinderCompanyList);\r\n const companiesDetailList = useSelector((state) => state.companiesDetailList);\r\n\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n // eslint-disable-next-line\r\n const [postsPerPage, setPostsPerPage] = useState(8);\r\n // eslint-disable-next-line\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getCompaniesDetailList());\r\n dispatch(userActions.getEbinderCompanyList());\r\n // eslint-disable-next-line\r\n }, []);\r\n\r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n const ebinderCompanyListTotal =\r\n ebinderCompanyList && ebinderCompanyList.items\r\n ? ebinderCompanyList.items\r\n .sort((a, b) => (a.Name > b.Name ? 1 : -1))\r\n .filter((filteredValue) =>\r\n filteredValue[\"Name\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n )\r\n : [];\r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n const currentPosts = ebinderCompanyListTotal\r\n ? ebinderCompanyListTotal.slice(indexOfFirstPost, indexOfLastPost)\r\n : [];\r\n\r\n // refresh button\r\n function handleClickRefresh(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n }\r\n\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n // eslint-disable-next-line\r\n const validate =\r\n companyCode !== null ||\r\n (inputSearchValue !== null && inputSearchValue.length > 0);\r\n\r\n function handleChange(e, post) {\r\n props.setSelectedCompanyCode(e.target.value);\r\n props.setDisplaySelectedCompany(post);\r\n\r\n console.log(\"displaySelectedCompany\", post);\r\n }\r\n\r\n \r\n\r\n return (\r\n
    \r\n {console.log(\"ebinderCompanyList\",ebinderCompanyList)}\r\n {console.log(\"companiesDetailList\",companiesDetailList)}\r\n companiesDetailList\r\n {console.log(\"ebinderCompanyListTotal\",ebinderCompanyListTotal)}\r\n
    \r\n

    \r\n Select Company\r\n

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {\r\n ebinderCompanyList && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n \r\n ebinderCompanyList &&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
    No matching records found
    \r\n handleChange(e, post)}\r\n value={post.Code}\r\n />\r\n \r\n \r\n {post.Name}\r\n \r\n
    \r\n ACN | {post.ACN}\r\n
    \r\n
    \r\n
    \r\n {props.displaySelectedCompany && (\r\n \r\n
    {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.Name}\r\n
    \r\n \r\n {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.ACN\r\n ? `ACN:${props.displaySelectedCompany.ACN}`\r\n : \"\"}\r\n
    \r\n\r\n {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.DATE_INC === null\r\n ? \" Incorporated: N/A\"\r\n : props.displaySelectedCompany &&\r\n props.displaySelectedCompany.DATE_INC\r\n ? `Incorporated: ${moment(\r\n props.displaySelectedCompany.DATE_INC\r\n ).format(\"DD/MM/YYYY\")}`\r\n : \"\"}\r\n
    \r\n {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.Address\r\n ? `Registered Office: ${props.displaySelectedCompany.Address}`\r\n : \"\"}\r\n
    \r\n )}\r\n { console.log('props.showEBinderMangement',props.showEBinderMangement)}\r\n {\r\n \r\n props.showEBinderMangement &&\r\n \r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n\r\n {ebinderCompanyListTotal && ebinderCompanyListTotal.length >= 10 && (\r\n \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n \r\n )}\r\n \r\n );\r\n};\r\nexport default withRouter(EbinderCompany);\r\n","import React, { useState,useMemo } from \"react\";\r\nimport { useDispatch} from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport FullPageLoader from \"../CommonPage/FullPageLoader\";\r\n\r\nconst EBinderComplete= (props) => {\r\n const selectedSearchValue = localStorage.getItem(\"inputSearchValue\");\r\n //loading spinner\r\n const [isEbinderLoaded, setIsEbinderLoaded] = useState(false);\r\n \r\n const dispatch = useDispatch();\r\n// Creation date.\r\nconst creationDate =\r\n new Date().toLocaleTimeString() + \" \" + new Date().toLocaleDateString();\r\n function eBinderHandleClick(e, binderId) {\r\n if (props.selectedCompanyCode) {\r\n dispatch(\r\n userActions.getEbinderLink(\r\n props.selectedCompanyCode,\r\n binderId,\r\n setIsEbinderLoaded\r\n )\r\n );\r\n } else if (selectedSearchValue !== null) {\r\n JSON.parse(selectedSearchValue).map((value) =>\r\n dispatch(\r\n userActions.getEbinderLink(\r\n props.selectedCompanyCode,\r\n binderId,\r\n setIsEbinderLoaded\r\n )\r\n )\r\n );\r\n }\r\n }\r\n const countFiles = (files) =>\r\n Object.keys(files).reduce((acc, cur) => acc + files[cur].length, 0);\r\n// Memoized due to the reduction over a potentially large object.\r\nlet numPrimeDocs = useMemo(\r\n () => countFiles(props.totalSelected),\r\n [props.totalSelected]\r\n);\r\n // Number of custom user documents.\r\n let numCustomDocs = props.customFileList && props.customFileList.length;\r\n return (\r\n
    \r\n

    Complete

    \r\n

    your new e-Binder has been generated successfully

    \r\n {console.log(\"numPrimeDocs\",numPrimeDocs)}\r\n\r\n

    Summary

    \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {isEbinderLoaded ? : null}\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
    Company {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.Name}
    e-Binder ID\r\n false}\r\n target=\"_blank\"\r\n rel=\"noreferrer\"\r\n className=\"link-primary\"\r\n style={{ cursor: \"pointer\" }}\r\n onClick={(e) => eBinderHandleClick(e,props.ebinderResponse && props.ebinderResponse.items && props.ebinderResponse.items.Id )}\r\n >\r\n eBinder-pdf (\r\n {creationDate}\r\n )\r\n \r\n
    Created At{creationDate}
    Prime Cloud Documents{numPrimeDocs}
    Custom User Documents{numCustomDocs}
    Included Registers\r\n {console.log('resigter::', props.register)}\r\n {props.register &&\r\n props.register.join(\",\")}
    \r\n\r\n\r\n\r\n
    \r\n );\r\n}\r\n\r\nexport default EBinderComplete;","import React, { useState} from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport EBinderCompanyComponent from \"../EBinderCompanyComponent/EBinderCompanyComponent\";\r\n\r\n\r\nconst EbinderGetStarted = (props) => {\r\n const [showManageEBinderPopup, setShowManageEBinderPopup] = useState(false);\r\n const handleClose = () => setShowManageEBinderPopup(false);\r\n const handleShow = () => {setShowManageEBinderPopup(true);props.setShowEBinderMangement(true); }\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n

    Electronic Company Binders (e-Binders)

    \r\n
    What is an e-Binder?
    \r\n

    An e-Binder offers a solution for aggregating all relevant company documents, registers and files into one place.

    \r\n

    Examples of information which can be assembled into your e-Binder include:

    \r\n
    • Registered Company Information\r\n
    • \r\n
    • PrimeCloud Official Reports / Documents\r\n
    • \r\n
    • Register of Directors & Secretaries\r\n
    • \r\n
    • Application and Allotment Journal\r\n
    • \r\n
    • Transfer Journal\r\n
    • \r\n
    • Register of Members
    \r\n \r\n \r\n
    \r\n
    How does it work?
    \r\n

    The e-Binder system will take you through the following process:

    \r\n
      \r\n
    1. Select the company for which you are creating an e-Binder.
    2. \r\n
    3. Select which Prime Cloud documents should be included.
    4. \r\n
    5. Select which Registers should be included.
    6. \r\n
    7. Review your selection.
    8. \r\n
    9. Wait for Prime Cloud to generate your binder.
    10. \r\n
    11. \r\n Access your e-Binder download link. The new e-bBinder will also be\r\n available in the 'previous binders' section.\r\n
    12. \r\n
    \r\n

    \r\n
    \r\n
    \r\n
    Previous e-Binders
    \r\n

    \r\n You can also review and download any previously generated e-binders.\r\n

    \r\n

    \r\n The e-Binders manager serves as a historical reference for record\r\n keeping purposes.\r\n

    \r\n\r\n{console.log(\"props.showEBinderMangement1111\",props.selectedCompanyCode)}\r\n
    \r\n {showManageEBinderPopup && (\r\n \r\n\r\n }\r\n \r\n />\r\n)}\r\n\r\n
    \r\n
    \r\n
    Getting Started
    \r\n

    Get started by clicking the ' Next' button below.

    \r\n\r\n
    \r\n
    \r\n );\r\n};\r\nexport default withRouter(EbinderGetStarted);","import React, { useState } from \"react\";\r\n\r\nimport moment from \"moment\";\r\n\r\nconst EBinderPrimeCloudDocs = (props) => {\r\n\r\n\r\n\r\n const [expandedRows, setExpandedRows] = useState([]);\r\n const [expandState, setExpandState] = useState({});\r\n\r\n const handleRow = (e, code) => {\r\n const currentExpandedRows = expandedRows;\r\n const isRowExpanded = currentExpandedRows.includes(code);\r\n\r\n let obj = {};\r\n isRowExpanded ? (obj[code] = false) : (obj[code] = true);\r\n setExpandState(obj);\r\n\r\n // If the row is expanded, we are here to hide it. Hence remove\r\n // it from the state variable. Otherwise add to it.\r\n const newExpandedRows = isRowExpanded\r\n ? currentExpandedRows.filter((id) => id !== code)\r\n : currentExpandedRows.concat(code);\r\n\r\n setExpandedRows(newExpandedRows);\r\n };\r\n\r\n function handleClickAll(e) {\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) => ({\r\n ...item,\r\n primeDocCheckBox: true,\r\n documents: item.documents.map((value) =>\r\n Object.assign(value, { primeSubDocCheckBox: true })\r\n ),\r\n }))\r\n );\r\n }\r\n\r\n function handleClickNone(e) {\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) => ({\r\n ...item,\r\n primeDocCheckBox: false,\r\n documents: item.documents.map((value) =>\r\n Object.assign(value, { primeSubDocCheckBox: false })\r\n ),\r\n }))\r\n );\r\n \r\n }\r\n\r\n function handleClickLatest(e) {\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) => ({\r\n ...item,\r\n primeDocCheckBox: true,\r\n documents: item.documents.map((value, index) =>\r\n index === 0\r\n ? Object.assign(value, { primeSubDocCheckBox: true })\r\n : Object.assign(value, { primeSubDocCheckBox: false })\r\n ),\r\n }))\r\n );\r\n }\r\n\r\n function handleClickSelectedItems(e, type) {\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) =>\r\n type === item.type\r\n ? {\r\n ...item,\r\n primeDocCheckBox: e.target.checked,\r\n documents: item.documents.map((value) =>\r\n Object.assign(value, { primeSubDocCheckBox: e.target.checked })\r\n ),\r\n }\r\n : {\r\n ...item,\r\n }\r\n )\r\n );\r\n }\r\n\r\n function handleClickSubSelectedItems(e, index, type, id) {\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) =>\r\n type === item.type\r\n ? {\r\n ...item,\r\n documents: item.documents.map((value) =>\r\n value.ID === id\r\n ? Object.assign(value, {\r\n primeSubDocCheckBox: e.target.checked,\r\n })\r\n : Object.assign(value)\r\n ),\r\n }\r\n : {\r\n ...item,\r\n }\r\n )\r\n );\r\n\r\n }\r\n\r\n\r\n function handleClickDeselectMainItem(e, index, type) {\r\n setTimeout(() => {\r\n let value =\r\n props.primeFileDocuments &&\r\n props.primeFileDocuments[index].documents.filter(\r\n (item) => !item.primeSubDocCheckBox\r\n );\r\n console.log(\"uncheckboxCount===:::\", value.length);\r\n\r\n props.setPrimeFileDocuments((prevState) =>\r\n prevState.map((item) =>\r\n type === item.type\r\n ? {\r\n ...item,\r\n primeDocCheckBox: value.length === 0,\r\n }\r\n : {\r\n ...item,\r\n }\r\n )\r\n );\r\n }, 0);\r\n\r\n }\r\n\r\n\r\n return (\r\n
    \r\n {console.log('ebinderCompanyCode~~~~~3~~~~~~',props.primeFileDocuments)}\r\n
    \r\n

    \r\n Select Prime Documents\r\n

    \r\n

    \r\n Please select files for inclusion from available Prime Cloud\r\n Documents.\r\n

    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n {console.log(\"props.primeFileDocuments::::::\", props.totalSelected)}\r\n {props.primeFileDocuments && props.primeFileDocuments.length < 0 && (\r\n

    No Prime Documents on record

    \r\n )}\r\n
    \r\n {props.primeFileDocuments && props.primeFileDocuments.length > 0 && (\r\n \r\n {props.primeFileDocuments &&\r\n props.primeFileDocuments.map((post, index) => (\r\n \r\n value.ID)\r\n }\r\n >\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {expandedRows.includes(post.type) && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n
    \r\n \r\n handleClickSelectedItems(e, post.type)\r\n }\r\n checked={post.primeDocCheckBox}\r\n value={post.primeDocCheckBox}\r\n />\r\n \r\n {expandState[post.type] ? (\r\n handleRow(e, post.type)}\r\n >\r\n ) : (\r\n handleRow(e, post.type)}\r\n >\r\n )}\r\n {post.type}{post.description}\r\n {props.totalSelected &&\r\n props.totalSelected[index] &&\r\n props.totalSelected[index].length > 0\r\n ? `${props.totalSelected[index].length} selected`\r\n : \" \"}\r\n
    \r\n \r\n \r\n {post.documents &&\r\n post.documents.map((value) => (\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n ))}\r\n \r\n
    \r\n {\" \"}\r\n {\r\n handleClickSubSelectedItems(\r\n e,\r\n index,\r\n post.type,\r\n value.ID\r\n );\r\n handleClickDeselectMainItem(\r\n e,\r\n index,\r\n post.type\r\n );\r\n }}\r\n />\r\n ID:{value.ID}\r\n Lodges:\r\n {value.LodgedAt !== -1 &&\r\n moment(value.LodgedAt).format(\r\n \"DD/MMM/YYYY\"\r\n )}\r\n ASIC:{value.ASIC_ID}
    \r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default EBinderPrimeCloudDocs;\r\n","import React from \"react\";\r\n\r\nconst EBinderRegisters = (props) => {\r\n const handleClickSelectedRegister = (e) => {\r\n props.setCompanyRegister({\r\n ...props.companyRegister,\r\n [e.target.name]:\r\n e.target.type === \"checkbox\" ? e.target.checked : e.target.value\r\n })\r\n \r\n };\r\n return (\r\n
    \r\n
    \r\n {console.log(props.companyRegister)}\r\n

    \r\n {\" \"}\r\n Select Company Registers\r\n

    \r\n

    \r\n Select any company registers you would like to include in the binder.\r\n

    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {\" \"}\r\n handleClickSelectedRegister(e)}\r\n />\r\n Directors & Secretaries
    \r\n {\" \"}\r\n handleClickSelectedRegister(e)}\r\n />\r\n Allotment Journal
    \r\n {\" \"}\r\n handleClickSelectedRegister(e)}\r\n />\r\n Transfer Journal
    \r\n {\" \"}\r\n handleClickSelectedRegister(e)}\r\n />\r\n Members
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default EBinderRegisters;\r\n","import React, { useState } from \"react\";\r\nimport moment from \"moment\";\r\n\r\n\r\nconst EBinderReview = (props) => {\r\n const [expandState, setExpandState] = useState({});\r\n const [expandedRows, setExpandedRows] = useState([]);\r\n const handleRow = (e, code) => {\r\n const currentExpandedRows = expandedRows;\r\n const isRowExpanded = currentExpandedRows.includes(code);\r\n\r\n let obj = {};\r\n isRowExpanded ? (obj[code] = false) : (obj[code] = true);\r\n setExpandState(obj);\r\n\r\n // If the row is expanded, we are here to hide it. Hence remove\r\n // it from the state variable. Otherwise add to it.\r\n const newExpandedRows = isRowExpanded\r\n ? currentExpandedRows.filter((id) => id !== code)\r\n : currentExpandedRows.concat(code);\r\n\r\n setExpandedRows(newExpandedRows);\r\n };\r\n\r\n\r\n return (\r\n
    \r\n\r\n
    \r\n

    Review

    \r\n

    \r\n Please review the content of your e-Binder before it is finalized for\r\n assembly.\r\n

    \r\n
    \r\n
    \r\n
    Company Overview
    \r\n

    The following is provided to confirm the selected company.

    \r\n
    \r\n\r\n
    \r\n
      \r\n
    • \r\n \r\n

      \r\n Name: {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.Name}\r\n

      \r\n
    • \r\n
    • \r\n

      \r\n ACN: {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.ACN\r\n ? props.displaySelectedCompany.ACN\r\n : \"\"}\r\n

      \r\n
    • \r\n
    • \r\n\r\n

      \r\n Registered Office: \r\n {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.Address\r\n ? props.displaySelectedCompany.Address\r\n : \"\"}\r\n

      \r\n
    • \r\n
    • \r\n

      \r\n Incorporation Date:\r\n {props.displaySelectedCompany &&\r\n props.displaySelectedCompany.DATE_INC === null\r\n ? \" Incorporated: N/A\"\r\n : props.displaySelectedCompany &&\r\n props.displaySelectedCompany.DATE_INC\r\n ? moment(\r\n props.displaySelectedCompany.DATE_INC\r\n ).format(\"DD/MM/YYYY\")\r\n : \"\"}\r\n

      \r\n
    • \r\n
    \r\n
    \r\n \r\n
    Prime Cloud Documents
    \r\n

    The following list includes all PrimeCloud forms which will be included in the binder.

    \r\n
    \r\n {props.primeFileDocuments && props.primeFileDocuments.length > 0 && (\r\n \r\n {props.primeFileDocuments &&\r\n props.primeFileDocuments.map((post, index) => (\r\n \r\n value.ID)\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {expandedRows.includes(post.type) && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n
    \r\n {props.totalSelected &&\r\n props.totalSelected[index] &&\r\n props.totalSelected[index].length > 0 &&\r\n
    \r\n {expandState[post.type] ? (\r\n handleRow(e, post.type)}\r\n >\r\n ) : (\r\n handleRow(e, post.type)}\r\n >\r\n )}\r\n
    \r\n }\r\n
    {post.type}\r\n {props.totalSelected &&\r\n props.totalSelected[index] &&\r\n props.totalSelected[index].length > 0\r\n ? `${props.totalSelected[index].length} selected`\r\n : \" 0 selected \"}\r\n {post.description}
    \r\n \r\n \r\n {post.documents &&\r\n post.documents.filter(doc =>doc.primeSubDocCheckBox).map((value) => (\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n ))}\r\n \r\n
    \r\n {\" \"}\r\n \r\n ID:{value.ID}\r\n Lodges:\r\n {value.LodgedAt !== -1 &&\r\n moment(value.LodgedAt).format(\r\n \"DD/MMM/YYYY\"\r\n )}\r\n ASIC:{value.ASIC_ID}
    \r\n
    \r\n )}\r\n
    \r\n\r\n
    Additional User Documents
    \r\n

    The following includes all additional documents which will be included in the binder

    \r\n
      \r\n {props.customFileList &&\r\n props.customFileList.map((post, index) => (\r\n
    • {post}
    • \r\n \r\n ))}\r\n
    \r\n \r\n \r\n
    Registers
    \r\n

    The following is a list of registers which has been selected for inclusion in the binder.

    \r\n

    {console.log(\"sssssssss\", props.companyRegister)}

    \r\n {props.companyRegister &&\r\n
      \r\n {props.companyRegister.directors &&
    • Directors & Secretaries
    • }\r\n {props.companyRegister.allotment &&
    • Allotment Journal
    • } \r\n {props.companyRegister.transfer &&
    • Transfer Journal
    • }\r\n {props.companyRegister.members &&
    • Members
    • }\r\n
    \r\n}\r\n
    \r\n );\r\n};\r\nexport default EBinderReview;","import React, { useState, useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport MultiStep from \"../CommonPage/MultiStep\";\r\nimport EBinderAdditionalDoc from \"../EBinderAdditionalDocComponent/EBinderAdditionalDocComponent\";\r\nimport EBinderCompanyComponent from \"../EBinderCompanyComponent/EBinderCompanyComponent\";\r\nimport EBinderComplete from \"../EBinderCompleteComponent/EbinderCompleteComponent\";\r\nimport EbinderGetStarted from \"../EBinderGetStartedComponent/EBinderGetStartedComponent\";\r\nimport EBinderPrimeCloudDocs from \"../EBinderPrimeCloudDocsComponent/EBinderPrimeCloudDocsComponent\";\r\nimport EBinderRegisters from \"../EBinderRegistersComponent/EBinderRegistersComponent\";\r\nimport EBinderReview from \"../EBinderReviewComponent/EBinderReviewComponent\";\r\n\r\nconst EbinderLanding = (props) => {\r\n const companyCode = JSON.parse(localStorage.getItem(\"companyCode\"));\r\n const inputSearchValue = JSON.parse(localStorage.getItem(\"inputSearchValue\"));\r\n const [primeFileDocuments, setPrimeFileDocuments] = useState([]);\r\n const [selectedCompanyCode, setSelectedCompanyCode] = useState();\r\n const [ebinderResponse, setEbinderResponse] = useState();\r\n const [customFileList, setCustomFileList] = useState([]);\r\n const validate =\r\n companyCode !== null ||\r\n (inputSearchValue !== null && inputSearchValue.length > 0);\r\n const dispatch = useDispatch();\r\n const [showEBinderMangement, setShowEBinderMangement] = useState(false);\r\n // selected company from company selection\r\n const [displaySelectedCompany, setDisplaySelectedCompany] = useState([]);\r\n const ebinderCustomFileList = useSelector(\r\n (state) => state.ebinderCustomFileList\r\n );\r\n const ebinderOrderRequest = useSelector(\r\n (state) => state.ebinderOrderRequest\r\n );\r\n \r\n const ebinderPrimeFileList = useSelector(\r\n (state) => state.ebinderPrimeFileList\r\n );\r\n const [isCreateEBinderLoaded, setIsCreateEBinderLoaded] = useState(false);\r\n \r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n if (selectedCompanyCode) {\r\n dispatch(userActions.getEbinderPrimeFiles(selectedCompanyCode));\r\n dispatch(userActions.getEbinderCustomFileList(selectedCompanyCode));\r\n dispatch(userActions.getManageEbinderList(selectedCompanyCode));\r\n }\r\n }, 0);\r\n\r\n // eslint-disable-next-line\r\n }, [selectedCompanyCode]);\r\n\r\n useEffect(() => {\r\n setPrimeFileDocuments(\r\n ebinderPrimeFileList &&\r\n ebinderPrimeFileList.items &&\r\n ebinderPrimeFileList.items.map((value) =>\r\n Object.assign({\r\n type: value.Type,\r\n description: value.Description,\r\n documents:\r\n value.Documents &&\r\n value.Documents.map((value) =>\r\n Object.assign(value, { primeSubDocCheckBox: true })\r\n ),\r\n primeDocCheckBox: true,\r\n })\r\n )\r\n );\r\n setCustomFileList(\r\n ebinderCustomFileList && ebinderCustomFileList.items\r\n ? ebinderCustomFileList.items.map((value) =>\r\n Object.assign(value, { additionDocCheckBox: true })\r\n )\r\n : []\r\n );\r\n\r\n // eslint-disable-next-line\r\n }, [ebinderPrimeFileList, ebinderCustomFileList]);\r\n\r\n //Company register\r\n // eslint-disable-next-line\r\n const [companyRegister, setCompanyRegister] = useState({\r\n // by default this bellow to fields are true\r\n directors: true,\r\n allotment: true,\r\n transfer: true,\r\n members: true,\r\n });\r\n let totalSelected =\r\n primeFileDocuments &&\r\n primeFileDocuments.map((value) =>\r\n value.documents.filter((item) => item.primeSubDocCheckBox)\r\n );\r\n\r\n let register = companyRegister && Object.keys(companyRegister).filter(function (key) {\r\n return companyRegister[key];\r\n });\r\n\r\n let customFiles = customFileList && customFileList.filter((value)=> value.additionDocCheckBox)\r\n console.log(\"customFiles:::::\", customFiles);\r\n function handleClick(e) {\r\n // Selected prime forms\r\n e.preventDefault();\r\n let selectedPrimeFileList = [];\r\n primeFileDocuments && Object.keys(primeFileDocuments).forEach((v) => {\r\n console.log(primeFileDocuments[v]);\r\n primeFileDocuments[v] &&\r\n primeFileDocuments[v].documents &&\r\n primeFileDocuments[v].documents\r\n .filter((doc) => doc.primeSubDocCheckBox)\r\n .forEach((f) => {\r\n selectedPrimeFileList.push({\r\n id: f.TrackingNumber,\r\n type: primeFileDocuments[v].type,\r\n });\r\n });\r\n });\r\n\r\n \r\n\r\n dispatch(\r\n userActions.postCreateEbinder(\r\n selectedCompanyCode,\r\n selectedPrimeFileList,\r\n register,\r\n customFiles,\r\n setIsCreateEBinderLoaded\r\n )\r\n );\r\n }\r\n\r\n useEffect(() => {\r\n console.log(\"ebinderOrderRequest1: \", ebinderOrderRequest);\r\n \r\n setEbinderResponse(ebinderOrderRequest)\r\n // eslint-disable-next-line\r\n }, [ebinderOrderRequest]);\r\n\r\n useEffect(() => {\r\n if (window.performance) {\r\n if (performance.navigation.type === 1) {\r\n setEbinderResponse(\"\");\r\n }\r\n }\r\n}, []);\r\n const steps = [\r\n {\r\n name: \"GetStarted\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Select Company\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Prime Cloud Docs\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Additional Docs\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Registers\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Review\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n {\r\n name: \"Complete\",\r\n validate: validate,\r\n component: (\r\n \r\n ),\r\n },\r\n ];\r\n return (\r\n
    \r\n

    EBinder Work in Progress

    \r\n \r\n
    \r\n );\r\n};\r\nexport default EbinderLanding;\r\n","import React from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\nimport EbinderLanding from '../EBinderComponent/EbinderLandingPage.component';\r\n\r\n\r\nconst EbinderMainLanding = (props) => {\r\n \r\n \r\n \r\n return (\r\n \r\n } content={\r\n\r\n \r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(EbinderMainLanding);","import React from \"react\";\r\nimport moment from \"moment\";\r\n\r\nconst BusinessDetailSummary = (props) => {\r\n const post = props.businessNameSummary && props.businessNameSummary.items;\r\n return (\r\n
    \r\n \r\n \r\n \r\n {post && post.RN ?\r\n \r\n \r\n \r\n :\"\"\r\n }\r\n {post && post.OwnerName ? \r\n \r\n \r\n \r\n \r\n : \"\"}\r\n\r\n {post && post.BusinessName ? \r\n \r\n \r\n : \"\"}\r\n {post && post.EntityType ? \r\n \r\n \r\n : \"\"}\r\n {post && post.EntityCode ?\r\n \r\n \r\n : \"\"}\r\n {post && post.Trust ? \r\n \r\n \r\n :\"\"}\r\n {post && post.ABN?\r\n \r\n \r\n : \"\"}\r\n {post && post.AsicHolderType ?\r\n \r\n \r\n : \"\"}\r\n \r\n \r\n \r\n {post && post.RegistrationDate? \r\n \r\n \r\n :\"\"}\r\n {post && post.CancellationDate ? \r\n \r\n \r\n :\"\"}\r\n {post && post.RenewalDate\r\n ?\r\n \r\n \r\n :\"\"}\r\n {post && post.RenewalYears ? \r\n \r\n \r\n : \"\"}\r\n\r\n \r\n \r\n \r\n {post && post.SnCareOf ? \r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.SnEmailAddress ?\r\n \r\n \r\n : \"\"}\r\n {post && post.SnBuilding ? \r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.SnStreet ? \r\n \r\n \r\n : \"\"}\r\n {post && post.SnSuburb ?\r\n \r\n \r\n : \"\"}\r\n {post && post.SnState ?\r\n \r\n \r\n : \"\"}\r\n {post && post.SnPostcode ?\r\n \r\n \r\n : \"\"}\r\n \r\n \r\n \r\n {post && post.BaCareOf ?\r\n \r\n \r\n : \"\"}\r\n {post && post.BaBuilding ?\r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.BaStreet ?\r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.BaSuburb ? \r\n \r\n \r\n : \"\"}\r\n {post && post.BaState ?\r\n \r\n \r\n :\" \"}\r\n {post && post.BaPostcode ?\r\n \r\n \r\n :\" \"}\r\n {post && post.BaEmailAddress ?\r\n \r\n \r\n : \"\"}\r\n {post && post.ClientAccountCode ? \r\n \r\n \r\n : \"\"}\r\n {post && post.ClientBillingCode ? \r\n \r\n \r\n : \"\"}\r\n {post && post.ClientCode ? \r\n \r\n \r\n : \"\"}\r\n {post && post.DepartmentCode ? \r\n \r\n \r\n : \"\"}\r\n {post && post.KeyContactName ? \r\n \r\n \r\n : \"\"}\r\n {post && post.KeyContactEmail ?\r\n \r\n \r\n : \"\"}\r\n {post && post.AsicKeyContactName ? \r\n \r\n \r\n : \"\"}\r\n {post && post.AsicKeyContactEmail\r\n ?\r\n \r\n \r\n : \"\"}\r\n {post && post.Partner ?\r\n \r\n \r\n \r\n \r\n : \"\" }\r\n {post && post.Manager ? \r\n \r\n \r\n \r\n :\"\"\r\n }\r\n \r\n {post && post.DebtorCareOf ?\r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.DebtorEmailAddress ?\r\n \r\n \r\n : \" \"}\r\n {post && post.DebtorNumber ? \r\n \r\n \r\n : \"\"}\r\n {post && post.SuccessorCareOf ? \r\n \r\n \r\n \r\n : \"\"}\r\n {post && post.SuccessorEmailAddress\r\n ? \r\n \r\n \r\n :\"\"}\r\n {post && post.SuccessorNumber ?\r\n \r\n \r\n \r\n : \"\"\r\n }\r\n \r\n
    RN:{post && post.RN}
    Owner Name:{post && post.OwnerName ? post.OwnerName : \" \"}
    BusinessName:{post && post.BusinessName ? post.BusinessName : \" \"}
    Entity Type:{post && post.EntityType ? post.EntityType : \"\"}
    Entity Code:{post && post.EntityCode ? post.EntityCode : \" \"}
    Trust:{post && post.Trust ? post.Trust : \" \"}
    ABN:{post && post.ABN ? post.ABN : \" \"}
    AsicHolderType:{post && post.AsicHolderType ? post.AsicHolderType : \" \"}
    Registration Date:\r\n {post && post.RegistrationDate\r\n ? moment(post.RegistrationDate).format(\"DD/MM/YYYY\")\r\n : \"\"}{\" \"}\r\n
    Cancellation Date:\r\n {post && post.CancellationDate\r\n ? moment(post.CancellationDate).format(\"DD/MM/YYYY\")\r\n : \"\"}{\" \"}\r\n
    Renewal Date:\r\n {post && post.RenewalDate\r\n ? moment(post.RenewalDate).format(\"DD/MM/YYYY\")\r\n : \"\"}{\" \"}\r\n
    Renewal Years:{post && post.RenewalYears ? post.RenewalYears : \" \"}
    Service Notice Care Of:{post && post.SnCareOf ? post.SnCareOf : \" \"}
    Service Notice Email:{post && post.SnEmailAddress ? post.SnEmailAddress : \" \"}
    Service Notice Building:{post && post.SnBuilding ? post.SnBuilding : \" \"}
    Service Notice Street:{post && post.SnStreet ? post.SnStreet : \" \"}
    Service Notice Suburb:{post && post.SnSuburb ? post.SnSuburb : \" \"}
    Service Notice State:{post && post.SnState ? post.SnState : \" \"}
    Service Notice Postcode:{post && post.SnPostcode ? post.SnPostcode : \" \"}
    Business Care Of:{post && post.BaCareOf ? post.BaCareOf : \" \"}
    Business Building:{post && post.BaBuilding ? post.BaBuilding : \" \"}
    Business Street:{post && post.BaStreet ? post.BaStreet : \" \"}
    Business Suburb:{post && post.BaSuburb ? post.BaSuburb : \" \"}
    Business State:{post && post.BaState ? post.BaState : \" \"}
    Business Postcode:{post && post.BaPostcode ? post.BaPostcode : \" \"}
    Business Email:{post && post.BaEmailAddress ? post.BaEmailAddress : \" \"}
    Client Account Code:{post && post.ClientAccountCode ? post.ClientAccountCode : \" \"}
    Client Billing Code:\r\n {post && post.ClientBillingCode ? post.ClientBillingCode : \" \"}\r\n
    Client Code:{post && post.ClientCode ? post.ClientCode : \" \"}
    Department Code:{post && post.DepartmentCode ? post.DepartmentCode : \" \"}
    Key Contact Name:{post && post.KeyContactName ? post.KeyContactName : \" \"}
    Key Contact Email:{post && post.KeyContactEmail ? post.KeyContactEmail : \" \"}
    Asic Key Contact Name:\r\n {post && post.AsicKeyContactName ? post.AsicKeyContactName : \" \"}\r\n
    Asic Key Contact Email:\r\n {post && post.AsicKeyContactEmail\r\n ? post.AsicKeyContactEmail\r\n : \" \"}\r\n
    Partner:{post && post.Partner ? post.Partner : \" \"}
    Manager:{post && post.Manager ? post.Manager : \" \"}
    Debtor CareOf:{post && post.DebtorCareOf ? post.DebtorCareOf : \" \"}
    Debtor Email:\r\n {post && post.DebtorEmailAddress ? post.DebtorEmailAddress : \" \"}\r\n
    Debtor Contact Number:{post && post.DebtorNumber ? post.DebtorNumber : \" \"}
    Successor CareOf:{post && post.SuccessorCareOf ? post.SuccessorCareOf : \" \"}
    Successor Email:\r\n {post && post.SuccessorEmailAddress\r\n ? post.SuccessorEmailAddress\r\n : \" \"}\r\n
    Successor Contact Number:{post && post.SuccessorNumber ? post.SuccessorNumber : \" \"}
    \r\n
    \r\n );\r\n};\r\n\r\nexport default BusinessDetailSummary;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\nimport \"../MonitorsComponents/AnnualReviews.style.scss\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport Pagination from \"../CommonPage/Pagination.component\";\r\nimport \"../CommonPage/Action.scss\";\r\nimport moment from \"moment\";\r\nimport Popup from \"../CommonPage/Popup.component\";\r\nimport BusinessDetailSummary from \"./BusinessDetailSummary\";\r\nimport NotesComponent from \"../Notes.Components/NotesComponent\";\r\n\r\n\r\nconst BusinessNameComponent = (props) => {\r\n const businessNameDetailList = useSelector((state) => state.businessNameDetailList);\r\n const businessNameSummary = useSelector((state) => state.businessNameSummary);\r\n \r\n const [filterStatus, setFilterStatus] = useState(\"\");\r\n const [startRenewalDate, setStartRenewalDate] = useState(\"\");\r\n const [endRenewalDate, setEndRenewalDate] = useState(\"\");\r\n const [status, setStatus] = useState(\"\");\r\n \r\n const[businessSort, setBusinessSort] = useState(\"\");\r\n const[ownerSort, setOwnerStatus] = useState(\"\");\r\n const[renewalDateSort, setRenewalDateSort] = useState(\"\");\r\n const[regDateSort, setRegDateSort] = useState(\"\");\r\n const[cancelDateSort, setCancelDateSort] = useState(\"\");\r\n const[statusSortByOwner, setSortStatusByOwner] = useState(\"\");\r\n function handleClickStatusSort(e,name) {\r\n if(name === \"BusinessName\" && businessSort === \"asc\") { setBusinessSort(\"desc\");setSortStatusByOwner(name); } else { setBusinessSort(\"asc\"); setSortStatusByOwner(name)}\r\n if(name === \"RenewalDate\" && renewalDateSort === \"asc\") { setRenewalDateSort(\"desc\");setSortStatusByOwner(name); } else { setRenewalDateSort(\"asc\"); setSortStatusByOwner(name)}\r\n if(name === \"RegistrationDate\" && regDateSort === \"asc\") { setRegDateSort(\"desc\");setSortStatusByOwner(name); } else { setRegDateSort(\"asc\"); setSortStatusByOwner(name)}\r\n if(name === \"CancellationDate\" && cancelDateSort === \"asc\") { setCancelDateSort(\"desc\");setSortStatusByOwner(name); } else { setCancelDateSort(\"asc\"); setSortStatusByOwner(name)}\r\n if(name === \"OwnerName\" && ownerSort === \"asc\") { setOwnerStatus(\"desc\");setSortStatusByOwner(name); } else { setOwnerStatus(\"asc\"); setSortStatusByOwner(name)}\r\n\r\n }\r\n\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [postsPerPage, setPostsPerPage] = useState(10);\r\n\r\n let handleKeyPress = (e) => {\r\n if (!/[0-9]/.test(e.key)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n // connect to API\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getBusinessNameDetailList());\r\n // eslint-disable-next-line\r\n }, []);\r\n \r\n // search\r\n const [searchInput, setSearchInput] = useState(\"\");\r\n\r\n \r\n\r\n // console.log(posts);\r\n\r\n const indexOfLastPost = currentPage * postsPerPage;\r\n // console.log(\"indexOfLastPost: \", indexOfLastPost);\r\n\r\n const indexOfFirstPost = indexOfLastPost - postsPerPage;\r\n // console.log(\"indexOfFirstPost: \", indexOfFirstPost);\r\n\r\n \r\n\r\n //const currentPosts = businessNameDetailListTotal ? businessNameDetailListTotal.slice(indexOfFirstPost, indexOfLastPost): [];\r\n// refresh button\r\nfunction handleClickRefresh(e) {\r\n e.preventDefault();\r\n setSearchInput(\"\");\r\n}\r\n// Business Welcome Letter\r\nfunction handleClick(e,ID) {\r\n \r\n if (ID !== null) {\r\n \r\n dispatch(userActions.getBusinessWelcomeReport(ID));\r\n } \r\n}\r\n// Business name Report\r\nfunction handleBusinessnameReportClick(e,ID) {\r\n \r\n if (ID !== null) {\r\n \r\n dispatch(userActions.getBusinessNameReport(ID));\r\n } \r\n}\r\n// Business Certificate\r\nfunction handleClickCertificate(e,BID) {\r\n \r\n if (BID !== null) {\r\n \r\n dispatch(userActions.getBusinessCertificateReport(BID));\r\n } \r\n}\r\n\r\n\r\n// Business Details Summary Click\r\nconst [businessNameSummaryShow, setBusinessNameSummaryShow] = useState(false);\r\nconst handleBusinessNameSummaryClose = () => setBusinessNameSummaryShow(false);\r\nconst handleBusinessNameSummaryShow = (e,rn) => {handleSummaryClick(e,rn);setBusinessNameSummaryShow(rn)};\r\n\r\n let handleSummaryClick = (e,rn) => {\r\n console.log(\"businessNameSummary\",businessNameSummary)\r\n e.preventDefault();\r\n if (rn !== null) {\r\n dispatch(\r\n userActions.getBusinessNameSummary(\r\n rn\r\n )\r\n );\r\n } \r\n };\r\n\r\n // status change filtter\r\n function handleRequestStatusChange(e){\r\n e.preventDefault();\r\n //if(e && e.target.value){\r\n \r\n //setFilterStatus(businessNameDetailListTotal && businessNameDetailListTotal.filter((value) => value[\"Status\"] && value[\"Status\"].toLowerCase().includes(e.target.value.toLowerCase()) )) \r\n //}\r\n //else{\r\n //setFilterStatus(businessNameDetailListTotal)\r\n //}\r\n setStatus(e.target.value);\r\n }\r\n \r\n function handleRequestReviewDateChange(e, isStartDate, isEndDate){\r\n if (isStartDate) {\r\n setStartRenewalDate(e.target.value); \r\n } \r\n if (isEndDate) {\r\n \r\n setEndRenewalDate(e.target.value)\r\n \r\n } \r\n }\r\n\r\n function pad2(n) {\r\n return (n < 10 ? \"0\" : \"\") + n;\r\n }\r\n function DateToString(date) {\r\n var month = pad2(date.getMonth() + 1); //months (0-11)\r\n var day = pad2(date.getDate()); //day (1-31)\r\n var year = date.getFullYear();\r\n \r\n var formattedDate = year + \"-\" + month + \"-\" + day;\r\n return formattedDate;\r\n }\r\n useEffect(() => {\r\n console.log(\"?????\", status)\r\n //return businessNameDetailListTotal && \r\n //businessNameDetailListTotal.filter((value) => value[\"Status\"] && value[\"Status\"].toLowerCase().includes(status.toLowerCase()) )\r\n /* if(startRenewalDate && endRenewalDate) {\r\n setFilterStatus(businessNameDetailListTotal && businessNameDetailListTotal.filter((value) => {\r\n var renewalDate = DateToString(new Date(value[\"RenewalDate\"]));\r\n if (searchInput) {\r\n return( value[\"RenewalDate\"] && startRenewalDate && endRenewalDate ? \r\n (value[\"BusinessName\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())) &&\r\n DateToString(new Date(startRenewalDate))<=renewalDate && renewalDate <= DateToString(new Date(endRenewalDate)): value[\"RenewalDate\"] )\r\n } else {\r\n return( value[\"RenewalDate\"] && startRenewalDate && endRenewalDate ? DateToString(new Date(startRenewalDate))<=renewalDate && renewalDate <= DateToString(new Date(endRenewalDate)): value[\"RenewalDate\"] )\r\n }\r\n })) \r\n }*/\r\n\r\n // eslint-disable-next-line\r\n }, [startRenewalDate, endRenewalDate, searchInput, status]);\r\n const businessNameDetailListTotal =\r\n businessNameDetailList && businessNameDetailList.items\r\n ?(statusSortByOwner === \"OwnerName\")? handleSort(ownerSort, statusSortByOwner) : \r\n (statusSortByOwner === \"RenewalDate\")? handleSort(renewalDateSort, statusSortByOwner) : \r\n (statusSortByOwner === \"RegistrationDate\")? handleSort(regDateSort, statusSortByOwner) : \r\n (statusSortByOwner === \"CancellationDate\")? handleSort(cancelDateSort, statusSortByOwner) : \r\n handleSort(businessSort, statusSortByOwner)\r\n : [];\r\n\r\n function handleSort(statusSort, statusSortByOwner) {\r\n if( statusSort === \"desc\") {\r\n return businessNameDetailList.items\r\n .sort((a, b) => \r\n (statusSortByOwner === \"OwnerName\")? b.OwnerName.localeCompare(a.OwnerName):\r\n (statusSortByOwner === \"RenewalDate\")? b.RenewalDate.localeCompare(a.RenewalDate):\r\n (statusSortByOwner === \"RegistrationDate\")? b.RegistrationDate.localeCompare(a.RegistrationDate):\r\n (statusSortByOwner === \"CancellationDate\")? b.CancellationDate.localeCompare(a.CancellationDate)\r\n :b.BusinessName.localeCompare(a.BusinessName))\r\n .filter((filteredValue) =>\r\n filteredValue[\"Status\"] && filteredValue[\"Status\"].toLowerCase().includes(status.toLowerCase()) &&\r\n filteredValue[\"BusinessName\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n \r\n ).filter((filteredValue) =>\r\n (startRenewalDate && endRenewalDate)? \r\n DateToString(new Date(startRenewalDate))<= DateToString(new Date(filteredValue[\"RenewalDate\"])) && DateToString(new Date(filteredValue[\"RenewalDate\"])) <= DateToString(new Date(endRenewalDate))\r\n : filteredValue[\"RenewalDate\"]\r\n )\r\n } else if( statusSort === \"asc\") {\r\n return businessNameDetailList.items\r\n .sort((a, b) => \r\n (statusSortByOwner === \"OwnerName\")? a.OwnerName.localeCompare(b.OwnerName):\r\n (statusSortByOwner === \"RenewalDate\")? a.RenewalDate.localeCompare(b.RenewalDate):\r\n (statusSortByOwner === \"RegistrationDate\")? a.RegistrationDate.localeCompare(b.RegistrationDate):\r\n (statusSortByOwner === \"CancellationDate\")? a.CancellationDate.localeCompare(b.CancellationDate):\r\n a.BusinessName.localeCompare(b.BusinessName))\r\n .filter((filteredValue) =>\r\n filteredValue[\"Status\"] && filteredValue[\"Status\"].toLowerCase().includes(status.toLowerCase()) &&\r\n filteredValue[\"BusinessName\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase()) \r\n ).filter((filteredValue) =>\r\n (startRenewalDate && endRenewalDate)? \r\n DateToString(new Date(startRenewalDate))<= DateToString(new Date(filteredValue[\"RenewalDate\"])) && DateToString(new Date(filteredValue[\"RenewalDate\"])) <= DateToString(new Date(endRenewalDate))\r\n : filteredValue[\"RenewalDate\"]\r\n )\r\n } else {\r\n return businessNameDetailList.items\r\n .filter((filteredValue) =>\r\n filteredValue[\"Status\"] && filteredValue[\"Status\"].toLowerCase().includes(status.toLowerCase()) &&\r\n filteredValue[\"BusinessName\"]\r\n .toLowerCase()\r\n .includes(searchInput.toLowerCase())\r\n ).filter((filteredValue) =>\r\n (startRenewalDate && endRenewalDate)? \r\n DateToString(new Date(startRenewalDate))<= DateToString(new Date(filteredValue[\"RenewalDate\"])) && DateToString(new Date(filteredValue[\"RenewalDate\"])) <= DateToString(new Date(endRenewalDate))\r\n : filteredValue[\"RenewalDate\"]\r\n )\r\n }\r\n \r\n }\r\n const currentPosts = businessNameDetailListTotal.slice(indexOfFirstPost, indexOfLastPost);\r\n\r\n\r\n let handleClickClearDate = (e, isDate) => {\r\n if (isDate) {\r\n setEndRenewalDate(\"\")\r\n setStartRenewalDate(\"\")\r\n \r\n }\r\n };\r\n\r\n //notes popup\r\n const [businessNotes, setBusinessNotes] = useState({\r\n notes: \"\",\r\n emailAddress: \"\",\r\n });\r\n let handleBusinessNotesChange = (e) => {\r\n e.preventDefault();\r\n setBusinessNotes((businessNotes) => ({\r\n ...businessNotes,\r\n [e.target.name]: e.target.value,\r\n }));\r\n };\r\nconst [popupBusinessNotesShow, setPopupBusinessNotesShow] = useState(0);\r\nconst handleBusinessPopupClose = () => setPopupBusinessNotesShow(false);\r\nconst handleBusinessPopupShow = (e, index) => {\r\n e.preventDefault();\r\n setPopupBusinessNotesShow(index);\r\n};\r\n\r\nlet handleBusinessNotesPopupClick = (e, identifier) => {\r\n\r\n e.preventDefault();\r\n\r\n dispatch(userActions.postBusinessNotes(identifier, businessNotes.notes));\r\n setTimeout(() => {\r\n dispatch(userActions.getBusinessNameDetailList());\r\n }, 0);\r\n handleBusinessPopupClose();\r\n \r\n\r\n};\r\n\r\n\r\n\r\n return (\r\n
    \r\n\r\n

    Business Names

    \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {\r\n businessNameDetailList && currentPosts&& currentPosts.length ===0 ? \r\n :\r\n businessNameDetailList&&\r\n currentPosts &&\r\n currentPosts.map((post) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
    StatushandleClickStatusSort(e,\"BusinessName\")}>BusinessName {businessSort === \"asc\" ? : }ABNhandleClickStatusSort(e,\"OwnerName\")}>Owner Name{ownerSort === \"asc\" ? : }DepartmenthandleClickStatusSort(e,\"RenewalDate\")}>Renewal Date {renewalDateSort === \"asc\" ? : }handleClickStatusSort(e,\"RegistrationDate\")}>Registration Date {regDateSort === \"asc\" ? : }handleClickStatusSort(e,\"CancellationDate\")}>\r\n Cancellation Date {cancelDateSort === \"asc\" ? : }Notes Action
    No matching records found
    \r\n \r\n \r\n \r\n {post.BusinessName}{post.ABN}{post.OwnerName}{post.DepartmentCode}{post.RenewalDate &&\r\n moment(post.RenewalDate).format(\"DD/MM/YYYY\")}\r\n {post.RegistrationDate &&\r\n moment(post.RegistrationDate).format(\"DD/MM/YYYY\")}{post.CancellationDate &&\r\n moment(post.CancellationDate).format(\"DD/MM/YYYY\")} false}\r\n className=\"hand-cursor\"\r\n onClick={(e) => handleBusinessPopupShow(e, post.ID)}\r\n >\r\n \r\n \r\n {popupBusinessNotesShow === post.ID && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={(e) => handleBusinessNotesPopupClick(e, post.ID)}\r\n />\r\n )}\r\n \r\n false}\r\n className=\"d-flex align-items-center text-white text-decoration-none \"\r\n id=\"dropdownUserDetail\"\r\n data-bs-toggle=\"dropdown\"\r\n aria-expanded=\"false\"\r\n >\r\n \r\n \r\n
      \r\n
    • \r\n false} \r\n onClick={(e) => handleBusinessNameSummaryShow(e, post.RN)}\r\n >\r\n Business Name summary\r\n \r\n \r\n
      \r\n
    • \r\n {businessNameSummaryShow === post.RN && (\r\n handleBusinessNameSummaryShow(e,post.RN)}\r\n body={\r\n \r\n }\r\n \r\n \r\n />\r\n )}\r\n
    • \r\n false}\r\n onClick={(e) => handleClick(e, post.ID)}>\r\n Welcome Letter pdf\r\n \r\n

    • \r\n
    • \r\n false}\r\n onClick={(e) => handleClickCertificate(e, post.ID)}>\r\n \r\n Business Certificate pdf\r\n \r\n

    • \r\n
    • \r\n false}\r\n onClick={(e) => handleBusinessnameReportClick(e, post.ID)}>\r\n Business NameReport\r\n \r\n
    • \r\n
    \r\n
    \r\n
    \r\n {((filterStatus && filterStatus.length>=10) || (businessNameDetailListTotal && businessNameDetailListTotal.length >= 10)) && (\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Showing{\" \"}\r\n setPostsPerPage(e.target.value)}\r\n >{\" \"}\r\n /\r\n {filterStatus\r\n ? filterStatus.length\r\n : businessNameDetailListTotal && businessNameDetailListTotal.length}\r\n \r\n \r\n
    \r\n
    \r\n {postsPerPage && (\r\n setCurrentPage(page)}\r\n />\r\n )}\r\n
    \r\n
    \r\n
    \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default BusinessNameComponent;\r\n","import React,{useState}from 'react';\r\nimport Landingpage from '../LandingPagecomponent/LandingPage.Component'\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from '../CommonPage/CommonSearch.component';\r\nimport BusinessNameComponent from './BusinessNameComponent';\r\n\r\n\r\nconst BusinessNameLanding = (props) => {\r\n \r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n \r\n } content={\r\n \r\n\r\n }/>\r\n \r\n )\r\n \r\n }\r\n export default withRouter(BusinessNameLanding);","import React from \"react\";\r\n\r\nconst ChangePasswordComponent = (props) => {\r\n \r\n\r\n return (\r\n
    \r\n {props.alertStatus && props.alertStatus.items && (\r\n
    \r\n \r\n
    \r\n {\"Password has been updated successfully\"}\r\n \r\n \r\n \r\n
    \r\n
    \r\n )}\r\n {props.alertStatus && props.alertStatus.error && (\r\n
    \r\n \r\n
    \r\n {\"Invalid Old Password\" }\r\n \r\n \r\n \r\n
    \r\n
    \r\n )}\r\n

    < strong>Change password

    \r\n {console.log(\"changePassword\",props.alertStatus && props.alertStatus)}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\" \"}\r\n
    \r\n {\r\n \r\n props.handlePersonDetailsChange(e);\r\n }}\r\n \r\n autoComplete=\"off\"\r\n />
    \r\n {\r\n \r\n props.handlePersonDetailsChange(e);\r\n }}\r\n \r\n autoComplete=\"off\" \r\n />
    \r\n {\r\n \r\n props.handlePersonDetailsChange(e);\r\n }}\r\n \r\n autoComplete=\"off\" \r\n />\r\n { props.changePwd.passWord !== props.changePwd.confirmPassword \r\n && (\r\n
    Your new password does not match
    \r\n )}
    \r\n
    \r\n );\r\n};\r\n\r\nexport default ChangePasswordComponent;\r\n","import React,{ useState,useEffect } from 'react';\r\nimport ChangePasswordComponent from '../ChangePasswordComponent/ChangePasswordComponent';\r\nimport FullPageLoader from '../CommonPage/FullPageLoader';\r\nimport \"../CommonPage/newStyles.scss\"\r\nimport Popup from '../CommonPage/Popup.component';\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { userActions } from \"../../redux/actions/user.actions\";\r\n\r\nconst ProfileSettingComponent = () => {\r\n const loggedUserInfo = useSelector((state) => state.loggedUserInfo);\r\n const changePassword= useSelector((state) => state.changePassword);\r\n // clearing popup data creating usestate for reducer.\r\n const [alertStatus, setAlertStatus] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(userActions.getLoggedUserInfo());\r\n // eslint-disable-next-line\r\n }, []);\r\n //change password popup call\r\n const [showChangePassword, setShowChangePassword] = useState(false);\r\nconst handleChangePasswordClose = () => setShowChangePassword(false);\r\nconst handleChangePasswordShow = () => {setChangePwd((changePwd) =>({...changePwd, oldPassword:\"\", passWord: \"\",confirmPassword:\"\"}));setAlertStatus(\"\");setShowChangePassword(true);}\r\n\r\n //loading spinner\r\n const [isChangePasswordLoaded, setIsChangePasswordLoaded] = useState(false);\r\n\r\n const [changePwd, setChangePwd] = useState({\r\n clientId:loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.ClientID,\r\n userId:loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.UserName,\r\n oldPassword:\"\",\r\n passWord: \"\",\r\n confirmPassword:\"\",\r\n });\r\n let handlePersonalDetailsChange = (e) => {\r\n const { name, value } = e.target;\r\n setChangePwd((changePwd) => ({ ...changePwd, [name]: value }));\r\n };\r\n\r\n let changePasswordHandleClick = (e) => {\r\n \r\n e.preventDefault();\r\nif( changePwd.passWord!==changePwd.confirmPassword)\r\n{\r\n return ;\r\n}\r\n console.log(\"hello\",changePwd);\r\n dispatch(userActions.postChangePassword(changePwd.clientId,changePwd.userId, changePwd.oldPassword,\r\n changePwd.passWord,changePwd.confirmPassword));\r\n //setTimeout(() => {\r\n setAlertStatus(changePassword)\r\n //}, 1000);\r\n\r\n \r\n}\r\n\r\n useEffect(() => {\r\n setAlertStatus(changePassword)\r\n // eslint-disable-next-line\r\n }, [changePassword]);\r\n\r\n return (\r\n \r\n \r\n
    \r\n

    Profile Settings

    \r\n
    Account Login Details
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isChangePasswordLoaded ? : null}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {showChangePassword && (\r\n \r\n }\r\n btnName=\"Save\"\r\n handleClick={changePasswordHandleClick}\r\n isPopupReportLoading={isChangePasswordLoaded}\r\n />\r\n )}\r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n );\r\n};\r\n\r\nexport default ProfileSettingComponent;","import React,{useState} from \"react\";\r\nimport Landingpage from \"../LandingPagecomponent/LandingPage.Component\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport CommonSearch from \"../CommonPage/CommonSearch.component\";\r\nimport ProfileSettingComponent from \"./ProfileSettingComponent\";\r\n\r\nconst ProfileSettingsLanding = (props) => {\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n return (\r\n }\r\n content={}\r\n />\r\n );\r\n};\r\nexport default withRouter(ProfileSettingsLanding);","import \"./App.css\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { userActions } from \"./redux/actions/user.actions\";\r\nimport SignUp from \"./pages/SignUpComponent/SignUp.Component\";\r\nimport Login from \"./pages/LoginPageComponent/LoginPage.Component.jsx\";\r\nimport ForgetPassword from \"./pages/ForgetPasswordComponent/ForgetPassword.Component\";\r\nimport LandingPage from \"./pages/LandingPagecomponent/LandingPage.Component\";\r\nimport { Switch, Route, Router, useHistory, withRouter } from \"react-router-dom\";\r\nimport React, { useState, useEffect } from \"react\";\r\nimport CompanyMenuDetails from \"./pages/CompanyMenuComponent/CompanyMenuDetails.Component\";\r\nimport MonitorLanding from \"./pages/MonitorsComponents/MonitorLanding.Component\";\r\nimport OrderMonitorLanding from \"./pages/OrderMonitorComponents/OrderMonitorLanding.Component\";\r\nimport DigitalSignatureLanding from \"./pages/DigitalSignatureComponent/DigitalSignatureLandingComponent\";\r\nimport ASICDeptLandingComponent from \"./pages/ASICDeptComponents/ASICDeptLanding.Component\";\r\nimport CompaniesLandingComponent from \"./pages/CompaniesComponents/CompaniesLanding.component\";\r\nimport IndividualEntitiesLandingComponent from \"./pages/Individual&EntitiesComponents/IndividualEntitiesLanding.component\";\r\nimport JointHolderLandingComponent from \"./pages/JointHoldersComponents/JointHolderLanding.component\";\r\nimport BeneficialOwnerLandingComponent from \"./pages/BeneficialOwnerComponent/BeneficialOwnerLanding.component\";\r\nimport PrintCompanyProfileComponent from \"./pages/PrintCompanyProfileComponents/PrintCompanyProfile.Component\";\r\nimport formsAndDocumentsLandingComponent from \"./pages/FormsandDocumentsComponent/formsAndDocumentsLanding.Component\";\r\nimport ResetPassword from \"./pages/ResetPasswordComponent/ResetPassword.Component.jsx\";\r\nimport ResetPasswordInstruction from \"./pages/ResetPasswordInstructionComponent/ResetPasswordInstruction.Component.jsx\";\r\nimport PasswordChangeSuccess from \"./pages/PasswordChangeSuccessComponent/PasswordChangeSuccess.Component.jsx\";\r\nimport EOrderOrderRequestLanding from \"./pages/ChangesAndOrderRequest/EorderOrderRequestLanding.Component\";\r\nimport SignUpSuccess from \"./pages/SignUpSuccessComponent/SignUpSuccessComponent.jsx\"\r\nimport UnitTrustRegisterLanding from \"./pages/UnitTrustRegisterComponent/UnitTrustRegisterLanding\";\r\nimport DIDListComponentLanding from \"./pages/DIDListComponent/DIDListComponentLanding\";\r\nimport ChangeOrderStatus from \"./pages/ChangesAndOrderRequest/ChangeOrderStatusComponent/ChangeOrderStatus.component\";\r\nimport EbinderMainLandingComponent from \"./pages/EbinderMainLandingComponent/EbinderMainLandingComponent\";\r\nimport BusinessNamelandingComponent from \"./pages/BusinessNameComponent/BusinessNamelanding.component\";\r\nimport ProfileSettingLanding from \"./pages/ProfileSettingComponent/ProfileSettingLanding\";\r\n\r\n\r\nfunction App() {\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n const [recentSearch, setRecentSearch] = useState([])\r\n const [searchToken, setSearchToken] = useState(\"\");\r\n const [searchUserName, setSearchUserName] = useState(\"\");\r\n const param = history.location.search && history.location.search.split(\"=\")\r\n const token = param && param[1] && param[1].split(\"&\")\r\n const loggedUserInfo = useSelector((state) => state.loggedUserInfo);\r\n const userId= loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.IDPrimeUser;\r\n const clientId=loggedUserInfo && loggedUserInfo.items && loggedUserInfo.items.IDClientProfile;\r\n const [searchCompany, setSearchCompany] = useState([]);\r\n\r\n // eslint-disable-next-line\r\n useEffect(() => {\r\n // console.log(`In ${timer} seconds you will be automatically logged out`)\r\n setSearchToken(token && token[0])\r\n setSearchUserName(param && param[2] && param[2])\r\n if(searchToken){\r\n localStorage.setItem(\"token\", JSON.stringify(searchToken));\r\n localStorage.setItem(\"userName\", searchUserName);\r\n }\r\n\r\n //localStorage.setItem(\"userName\", userName);\r\n })\r\nuseEffect(()=>{\r\n dispatch(userActions.getLoggedUserInfo())\r\n // eslint-disable-next-line\r\n}, []);\r\n\r\nuseEffect(() => {\r\n window.onbeforeunload = confirmExit;\r\n function confirmExit()\r\n {\r\n return \"show warning\";\r\n }\r\n}, [])\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n searchToken ? : \r\n }\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport default withRouter(App);\r\n","const reportWebVitals = onPerfEntry => {\r\n if (onPerfEntry && onPerfEntry instanceof Function) {\r\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\r\n getCLS(onPerfEntry);\r\n getFID(onPerfEntry);\r\n getFCP(onPerfEntry);\r\n getLCP(onPerfEntry);\r\n getTTFB(onPerfEntry);\r\n });\r\n }\r\n};\r\n\r\nexport default reportWebVitals;\r\n","export const alertConstants = {\r\n SUCCESS: 'ALERT_SUCCESS',\r\n ERROR: 'ALERT_ERROR',\r\n CLEAR: 'ALERT_CLEAR'\r\n};","import { userConstants } from '../constants/login.constants';\r\n\r\nfunction companyProfile(state = {}, action) {\r\n \r\n switch (action.type) {\r\n case userConstants.COMPANYSELECTED_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.COMPANYSELECTED_SUCCESS:\r\n return {\r\n items: action.profiles\r\n };\r\n case userConstants.COMPANYSELECTED_FAILURE:\r\n return {\r\n error: action.errorCompanyProfile\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default companyProfile","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function unitTrust(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.UNITTRUSTALL_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.UNITTRUSTALL_SUCCESS:\r\n return {\r\n items: action.unitTrust\r\n };\r\n case userConstants.UNITTRUSTALL_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default unitTrust;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function departments(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DEPARTMENTALL_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DEPARTMENTALL_SUCCESS:\r\n return {\r\n items: action.departements\r\n };\r\n case userConstants.DEPARTMENTALL_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default departments;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function annualStatement(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ANNUALSTATEMENT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ANNUALSTATEMENT_SUCCESS:\r\n return {\r\n items: action.annualStatement\r\n };\r\n case userConstants.ANNUALSTATEMENT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default annualStatement;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function asicDebtStatement(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ASICDEPTSTATEMENT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ASICDEPTSTATEMENT_SUCCESS:\r\n return {\r\n items: action.asicDebtStatement\r\n };\r\n case userConstants.ASICDEPTSTATEMENT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default asicDebtStatement;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function officerDetails(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.OFFICERDETAILSREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.OFFICERDETAILSREPORT_SUCCESS:\r\n return {\r\n items: action.officerDetails\r\n };\r\n case userConstants.OFFICERDETAILSREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default officerDetails;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function shareHolderDetails(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.SHAREHOLDERDETAILSREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.SHAREHOLDERDETAILSREPORT_SUCCESS:\r\n return {\r\n items: action.shareHolderDetails\r\n };\r\n case userConstants.SHAREHOLDERDETAILSREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default shareHolderDetails;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function documentHistoryDocDetails(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DOCUMENTHISTORYDOCREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DOCUMENTHISTORYDOCREPORT_SUCCESS:\r\n return {\r\n items: action.documentHistoryDocDetails\r\n };\r\n case userConstants.DOCUMENTHISTORYDOCREPORT_FAILURE:\r\n return {\r\n error: action.errorDocumentHistory\r\n \r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default documentHistoryDocDetails;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function documentHistoryAsicDocDetails(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DOCUMENTHISTORYASICREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DOCUMENTHISTORYASICREPORT_SUCCESS:\r\n return {\r\n items: action.documentHistoryAsicDocDetails\r\n };\r\n case userConstants.DOCUMENTHISTORYASICREPORT_FAILURE:\r\n return {\r\n error: action.errorAsicDocumentHistory\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default documentHistoryAsicDocDetails;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function asicDocumentTracking(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ASICDOCUMENTTRACKING_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ASICDOCUMENTTRACKING_SUCCESS:\r\n return {\r\n items: action.asicDocumentTracking\r\n };\r\n case userConstants.ASICDOCUMENTTRACKING_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default asicDocumentTracking;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function individualEntities(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVIDUALENTITIES_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVIDUALENTITIES_SUCCESS:\r\n return {\r\n items: action.individualEntities\r\n };\r\n case userConstants.INDIVIDUALENTITIES_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default individualEntities;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function jointHolders(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.JOINTHOLDERS_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.JOINTHOLDERS_SUCCESS:\r\n return {\r\n items: action.jointHolders\r\n };\r\n case userConstants.JOINTHOLDERS_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default jointHolders;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function beneficialOwner(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BENEFICIALOWNER_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BENEFICIALOWNER_SUCCESS:\r\n return {\r\n items: action.beneficialOwner\r\n };\r\n case userConstants.BENEFICIALOWNER_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default beneficialOwner;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function orderMonitorStatement(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ORDERMONITORSTATEMENT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ORDERMONITORSTATEMENT_SUCCESS:\r\n return {\r\n items: action.orderMonitorStatement\r\n };\r\n case userConstants.ORDERMONITORSTATEMENT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default orderMonitorStatement;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function digitalSignatureStatement(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DIGITALSIGNATURESTATEMENT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DIGITALSIGNATURESTATEMENT_SUCCESS:\r\n return {\r\n items: action.digitalSignatureStatement\r\n };\r\n case userConstants.DIGITALSIGNATURESTATEMENT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default digitalSignatureStatement;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function electronicLodgementService(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ELECTRONICLODGEMENTSERVICE_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ELECTRONICLODGEMENTSERVICE_SUCCESS:\r\n return {\r\n items: action.electronicLodgementService\r\n };\r\n case userConstants.ELECTRONICLODGEMENTSERVICE_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default electronicLodgementService;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function individualElectronicLodgementService(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_SUCCESS:\r\n return {\r\n items: action.individualElectronicLodgementService\r\n };\r\n case userConstants.INDIVIDUALELECTRONICLODGEMENTSERVICE_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default individualElectronicLodgementService;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function companiesDetailList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.COMPANIESDETAILLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.COMPANIESDETAILLIST_SUCCESS:\r\n return {\r\n items: action.companiesDetailList\r\n };\r\n case userConstants.COMPANIESDETAILLIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default companiesDetailList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function viewCurrentAnnualStatementReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_SUCCESS:\r\n return {\r\n items: action.viewCurrentAnnualStatementReport\r\n };\r\n case userConstants.VIEWCURRENTANNUALSTATEMENTREPORT_FAILURE:\r\n return {\r\n error: action.errorViewCurrentAnnualStatement\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default viewCurrentAnnualStatementReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function asicInvoiceReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ASICINVOICEREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ASICINVOICEREPORT_SUCCESS:\r\n return {\r\n items: action.viewCurrentAnnualStatementReport\r\n };\r\n case userConstants.ASICINVOICEREPORT_FAILURE:\r\n return {\r\n error: action.errorAsicInvoiceReport\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default asicInvoiceReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function asicInvoiceReportLinks(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ASICINVOICEREPORTLINK_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ASICINVOICEREPORTLINK_SUCCESS:\r\n return {\r\n items: action.asicInvoiceReportLinks\r\n };\r\n case userConstants.ASICINVOICEREPORTLINK_FAILURE:\r\n return {\r\n error: action.errorAsicInvoiceReportLink\r\n };\r\n default:\r\n return state\r\n \r\n }\r\n}\r\nexport default asicInvoiceReportLinks;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function forgetPasswordEmail(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.FORGETPASSWORDEMAIL_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.FORGETPASSWORDEMAIL_SUCCESS:\r\n return {\r\n items: action.forgetPasswordEmail\r\n };\r\n case userConstants.FORGETPASSWORDEMAIL_FAILURE:\r\n return {\r\n error: action.errorForgetPasswordEmail\r\n \r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default forgetPasswordEmail;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function resetPassword(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.RESETPASSWORD_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.RESETPASSWORD_SUCCESS:\r\n return {\r\n items: action.resetPassword\r\n };\r\n case userConstants.RESETPASSWORD_FAILURE:\r\n return {\r\n error: action.errorResetPassword\r\n \r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default resetPassword;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function annualStatementMonthStatus(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.ANNUALSTATEMENTMONTHSTATUS_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.ANNUALSTATEMENTMONTHSTATUS_SUCCESS:\r\n return {\r\n items: action.annualStatementMonthStatus\r\n };\r\n case userConstants.ANNUALSTATEMENTMONTHSTATUS_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default annualStatementMonthStatus;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function directorIdReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DIRECTORIDREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DIRECTORIDREPORT_SUCCESS:\r\n return {\r\n items: action.directorIdReport\r\n };\r\n case userConstants.DIRECTORIDREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default directorIdReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function div7ALoanReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DIV7ALOANREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DIV7ALOANREPORT_SUCCESS:\r\n return {\r\n items: action.div7ALoanReport\r\n };\r\n case userConstants.DIV7ALOANREPORT_FAILURE:\r\n return {\r\n error: action.errorDiv7ALoanReport\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default div7ALoanReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function form484Information(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.FORM484INFORMATION_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.FORM484INFORMATION_SUCCESS:\r\n return {\r\n items: action.form484Information\r\n };\r\n case userConstants.FORM484INFORMATION_FAILURE:\r\n return {\r\n error: action.errorForm484Information\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default form484Information;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function regdInformation(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.REGDINFORMATION_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.REGDINFORMATION_SUCCESS:\r\n return {\r\n items: action.regdInformation\r\n };\r\n case userConstants.REGDINFORMATION_FAILURE:\r\n return {\r\n error: action.errorRegdInformation\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default regdInformation;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function individualEntitiesShares(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVDUALENTITIESSHARES_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVDUALENTITIESSHARES_SUCCESS:\r\n return {\r\n items: action.individualEntitiesShares\r\n };\r\n case userConstants.INDIVDUALENTITIESSHARES_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default individualEntitiesShares;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function individualEntitiesOffices(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVIDUALENTITIESOFFICES_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVIDUALENTITIESOFFICES_SUCCESS:\r\n return {\r\n items: action.individualEntitiesOffices\r\n };\r\n case userConstants.INDIVIDUALENTITIESOFFICES_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default individualEntitiesOffices;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function didUpdate(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVDUALENTITIESDID_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVDUALENTITIESDID_SUCCESS:\r\n return {\r\n items: action.didUpdate\r\n };\r\n case userConstants.INDIVDUALENTITIESDID_FAILURE:\r\n return {\r\n error: action.errorDidUpdate\r\n \r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default didUpdate;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function countries(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.COUNTRIESALL_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.COUNTRIESALL_SUCCESS:\r\n return {\r\n items: action.countries\r\n };\r\n case userConstants.COUNTRIESALL_FAILURE:\r\n return {\r\n error: action.errorCountries\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default countries;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function signUp(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.SIGNUP_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.SIGNUP_SUCCESS:\r\n return {\r\n items: action.signUp\r\n };\r\n case userConstants.SIGNUP_FAILURE:\r\n return {\r\n error: action.errorSignup\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default signUp;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function unitTrustTable(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.UNITTRUSTTABLE_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.UNITTRUSTTABLE_SUCCESS:\r\n return {\r\n items: action.unitTrustTable\r\n };\r\n case userConstants.UNITTRUSTTABLE_FAILURE:\r\n return {\r\n error: action.unitTrustTableError\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default unitTrustTable;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function loggedUserInfo(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.LOGINUSERINFO_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.LOGINUSERINFO_SUCCESS:\r\n return {\r\n items: action.loggedUserInfo\r\n };\r\n case userConstants.LOGINUSERINFO_FAILURE:\r\n return {\r\n error: action.loggedUserInfoError\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default loggedUserInfo;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function classListInfo(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.CLASSLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.CLASSLIST_SUCCESS:\r\n return {\r\n items: action.classListInfo\r\n };\r\n case userConstants.CLASSLIST_FAILURE:\r\n return {\r\n error: action.classListError\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default classListInfo;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function changeOrderRequest(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.CHANGEORDER_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.CHANGEORDER_SUCCESS:\r\n return {\r\n items: action.changeOrderRequest\r\n };\r\n case userConstants.CHANGEORDER_FAILURE:\r\n return {\r\n error: action.changeOrderError\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default changeOrderRequest;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function recentCompanyList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.GETRECENTCOMPANYLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.GETRECENTCOMPANYLIST_SUCCESS:\r\n return {\r\n items: action.recentCompanyList\r\n };\r\n case userConstants.GETRECENTCOMPANYLIST_FAILURE:\r\n return {\r\n error: action.getRecentCompanyListError\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default recentCompanyList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function postRecentCompanyLIst(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.POSTRECENTCOMPANYLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.POSTRECENTCOMPANYLIST_SUCCESS:\r\n return {\r\n items: action.postRecentCompanyLIst\r\n };\r\n case userConstants.POSTRECENTCOMPANYLIST_FAILURE:\r\n return {\r\n error: action.errorPostRecentCompanyLIst\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default postRecentCompanyLIst;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function ebinderPrimeFileList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.GETEBINDERPRIMEFILELIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.GETEBINDERPRIMEFILELIST_SUCCESS:\r\n return {\r\n items: action.ebinderPrimeFileList\r\n };\r\n case userConstants.GETEBINDERPRIMEFILELIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default ebinderPrimeFileList;\r\n","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function manageEbinderList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.MANAGEEBINDERLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.MANAGEEBINDERLIST_SUCCESS:\r\n return {\r\n items: action.manageEbinderList\r\n };\r\n case userConstants.MANAGEEBINDERLIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default manageEbinderList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function eBinderLink(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.EBINDERLINKS_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.EBINDERLINKS_SUCCESS:\r\n return {\r\n items: action.eBinderLink\r\n };\r\n case userConstants.EBINDERLINKS_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default eBinderLink;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function ebinderCustomFileList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.EBINDERCUSTOMFILELIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.EBINDERCUSTOMFILELIST_SUCCESS:\r\n return {\r\n items: action.ebinderCustomFileList\r\n };\r\n case userConstants.EBINDERCUSTOMFILELIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default ebinderCustomFileList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function ebinderCompanyList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.EBINDERCOMPANYLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.EBINDERCOMPANYLIST_SUCCESS:\r\n return {\r\n items: action.ebinderCompanyList\r\n };\r\n case userConstants.EBINDERCOMPANYLIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default ebinderCompanyList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function ebinderOrderRequest(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.EBINDERORDER_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.EBINDERORDER_SUCCESS:\r\n return {\r\n items: action.ebinderOrderRequest\r\n };\r\n case userConstants.EBINDERORDER_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default ebinderOrderRequest;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function changePassword(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.CHANGEPASSWORD_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.CHANGEPASSWORD_SUCCESS:\r\n return {\r\n items: action.changePassword\r\n };\r\n case userConstants.CHANGEPASSWORD_FAILURE:\r\n return {\r\n error: action.errorChangePassword\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default changePassword;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNameDetailList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BUSINESSNAMEDETAILLIST_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BUSINESSNAMEDETAILLIST_SUCCESS:\r\n return {\r\n items: action.businessNameDetailList\r\n };\r\n case userConstants.BUSINESSNAMEDETAILLIST_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNameDetailList;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNameWelcomeReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BUSINESSWELCOMEREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BUSINESSWELCOMEREPORT_SUCCESS:\r\n return {\r\n items: action.businessNameWelcomeReport\r\n };\r\n case userConstants.BUSINESSWELCOMEREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNameWelcomeReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessCertificateReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BUSINESSCERTIFICATEREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BUSINESSCERTIFICATEREPORT_SUCCESS:\r\n return {\r\n items: action.businessCertificateReport\r\n };\r\n case userConstants.BUSINESSCERTIFICATEREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessCertificateReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNameSummary(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BUSINESSDETAILSUMMARY_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BUSINESSDETAILSUMMARY_SUCCESS:\r\n return {\r\n items: action.businessNameSummary\r\n };\r\n case userConstants.BUSINESSDETAILSUMMARY_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNameSummary;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNameReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.BUSINESSNAMEREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.BUSINESSNAMEREPORT_SUCCESS:\r\n return {\r\n items: action.businessNameReport\r\n };\r\n case userConstants.BUSINESSNAMEREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNameReport;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNotes(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.GETBUSINESSNOTES_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.GETBUSINESSNOTES_SUCCESS:\r\n return {\r\n items: action.businessNotes\r\n };\r\n case userConstants.GETBUSINESSNOTES_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNotes;","import { userConstants } from \"../constants/login.constants\";\r\n\r\n function businessNotesUpdate(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.POSTBUSINESSNOTES_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.POSTBUSINESSNOTES_SUCCESS:\r\n return {\r\n items: action.businessNotesUpdate\r\n };\r\n case userConstants.POSTBUSINESSNOTES_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default businessNotesUpdate;","\r\n import { userConstants } from \"../constants/login.constants\";\r\n\r\n function directorIdCount(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.DIRECTORIDCOUNT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.DIRECTORIDCOUNT_SUCCESS:\r\n return {\r\n items: action.directorIdCount\r\n };\r\n case userConstants.DIRECTORIDCOUNT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n }\r\n export default directorIdCount;","\r\nimport { userConstants } from \"../constants/login.constants\";\r\n\r\n function individualEntitiesWithPagination(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.INDIVIDUALENTITIESWITHPAGINATION_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.INDIVIDUALENTITIESWITHPAGINATION_SUCCESS:\r\n return {\r\n items: action.individualEntitiesWithPagination\r\n };\r\n case userConstants.INDIVIDUALENTITIESWITHPAGINATION_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}\r\nexport default individualEntitiesWithPagination;","import { combineReducers } from 'redux';\r\nimport { users } from './users.reducer';\r\nimport { alert } from './alert.reducer';\r\nimport { companyList } from './companyList.reducer';\r\nimport {persistReducer} from 'redux-persist'\r\nimport storage from 'redux-persist/lib/storage'\r\nimport companyProfile from'./companyProfile.reducer'\r\nimport unitTrust from './unitTrust.reducer';\r\nimport { userConstants } from '../constants/login.constants';\r\nimport departments from './departments.reducer';\r\nimport annualStatement from './annualStatement.reducer';\r\nimport asicDebtStatement from './AsicDebtStatement.reducer';\r\nimport companyProfileReport from'./companyProfileReport.reducer';\r\nimport membersReport from './membersReport.reducer';\r\nimport officerDetails from './officerDetails.reducer'\r\nimport shareHolderDetails from './shareHolderDetails.reducer';\r\nimport documentHistoryDocDetails from './documentHistoryByDocNo.reducer';\r\nimport documentHistoryAsicDocDetails from './documentHistoryByAsicDocNo.reducer';\r\nimport asicDocumentTracking from './AsicDocumentTracking.reducer';\r\nimport individualEntities from './individualEntities.reducer';\r\nimport jointHolders from './jointHolders.reducer';\r\nimport beneficialOwner from './beneficialOwner.reducer';\r\nimport orderMonitorStatement from'./orderMonitorStatement.reducer';\r\nimport digitalSignatureStatement from './digitalSignatureStatement.reducer';\r\nimport electronicLodgementService from './electronicLodgementService.reducer';\r\nimport individualElectronicLodgementService from './individualEletronicLodgementService.reducer';\r\nimport companiesDetailList from './companiesDetailList.reducer';\r\nimport viewCurrentAnnualStatementReport from './viewCurrentAnnualStatement.reducer';\r\nimport asicInvoiceReport from './asicInvoiceReport.reducer';\r\nimport asicInvoiceReportLinks from './asicInvoiceReportLinks.reducer'\r\nimport forgetPasswordEmail from './forgetPassword.reducer';\r\nimport resetPassword from './resetPassword.reducer';\r\nimport annualStatementMonthStatus from './annualStatementMonthStatus.reducer';\r\nimport directorIdReport from './directorIdReport.reducer';\r\nimport div7ALoanReport from './div7ALoanReport.reducer';\r\nimport form484Information from'./form484Information.reducer';\r\nimport regdInformation from './regdInformation.reducer';\r\nimport individualEntitiesShares from './individualEntitiesShares.reducer';\r\nimport individualEntitiesOffices from './individualEntitiesOffices.reducer';\r\nimport didUpdate from './didUpdate.reducer';\r\nimport countries from './countries.reducer';\r\nimport signUp from './signUp.reducer';\r\nimport unitTrustTable from './unitTrustTable.reducer';\r\nimport loggedUserInfo from './loggedUserInfo.reducer';\r\nimport classListInfo from './classListInfo.reducer';\r\nimport changeOrderRequest from './changeOrderRequest.reducer';\r\nimport recentCompanyList from './recentCompanyList.reducer';\r\nimport postRecentCompanyLIst from './postRecentCompanyLIst.reducer';\r\nimport ebinderPrimeFileList from './ebinderPrimeFileList.reducer';\r\nimport manageEbinderList from './manageEbinderList.reducer';\r\nimport eBinderLink from './eBinderLink.reducer';\r\nimport ebinderCustomFileList from './ebinderCustomFileList.reducer';\r\nimport ebinderCompanyList from './ebinderCompanyList.reducer';\r\nimport ebinderOrderRequest from './ebinderOrderRequest.reducer';\r\nimport changePassword from './changePassword.reducer';\r\nimport businessNameDetailList from './businessNameDetailList.reducer';\r\nimport businessNameWelcomeReport from './businessNameWelcomeReport.reducer';\r\nimport businessCertificateReport from './businessCertificateReport.reducer';\r\nimport businessNameSummary from './businessNameSummary.reducer';\r\nimport businessNameReport from './businessNameReport.reducer';\r\nimport businessNotes from './businessNotes.reducer';\r\nimport businessNotesUpdate from './businessNotesUpdate.reducer';\r\nimport directorIdCount from './directorIdCount.reducer';\r\nimport individualEntitiesWithPagination from './individualEntitiesWithPagination.reducer'\r\n\r\nconst persistConfig = {\r\n key:'root',\r\n storage\r\n}\r\n \r\nconst rootReducer = combineReducers({\r\n users,\r\n companyList,\r\n companyProfile,\r\n departments,\r\n alert,\r\n unitTrust,\r\n annualStatement,\r\n annualStatementMonthStatus,\r\n asicDebtStatement,\r\n companyProfileReport,\r\n membersReport,\r\n officerDetails,\r\n shareHolderDetails,\r\n documentHistoryDocDetails,\r\n documentHistoryAsicDocDetails,\r\n asicDocumentTracking,\r\n individualEntities,\r\n jointHolders,\r\n beneficialOwner,\r\n orderMonitorStatement,\r\n digitalSignatureStatement,\r\n electronicLodgementService,\r\n individualElectronicLodgementService,\r\n companiesDetailList,\r\n viewCurrentAnnualStatementReport,\r\n asicInvoiceReport,\r\n asicInvoiceReportLinks,\r\n forgetPasswordEmail,\r\n resetPassword,\r\n directorIdReport,\r\n div7ALoanReport,\r\n form484Information,\r\n regdInformation,\r\n individualEntitiesShares,\r\n individualEntitiesOffices,\r\n didUpdate,\r\n countries,\r\n signUp,\r\n unitTrustTable,\r\n loggedUserInfo,\r\n classListInfo,\r\n changeOrderRequest,\r\n recentCompanyList,\r\n postRecentCompanyLIst,\r\n ebinderPrimeFileList,\r\n manageEbinderList,\r\n eBinderLink,\r\n ebinderCustomFileList,\r\n ebinderCompanyList,\r\n ebinderOrderRequest,\r\n changePassword,\r\n businessNameDetailList,\r\n businessNameWelcomeReport,\r\n businessCertificateReport,\r\n businessNameSummary,\r\n businessNameReport,\r\n businessNotesUpdate,\r\n businessNotes,\r\n directorIdCount,\r\n individualEntitiesWithPagination,\r\n});\r\n\r\nconst resetReducer = (state, action) => {\r\n // when a logout action is dispatched it will reset redux state\r\n if (action.type === userConstants.LOGOUT) {\r\n state = undefined;\r\n }\r\n \r\n return rootReducer(state, action);\r\n };\r\n \r\n\r\n\r\nexport default persistReducer(persistConfig, resetReducer);","import { userConstants } from '../constants/login.constants';\r\n\r\nexport function users(state = {}, action) {\r\n \r\n switch (action.type) {\r\n case userConstants.LOGIN_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.LOGIN_SUCCESS:\r\n return {\r\n items: action.user\r\n };\r\n case userConstants.LOGIN_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}","import { userConstants } from \"../constants/login.constants\";\r\n\r\nexport function companyList(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.COMPANYALL_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.COMPANYALL_SUCCESS:\r\n return {\r\n items: action.company\r\n };\r\n case userConstants.COMPANYALL_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}","import { alertConstants } from \"../constants/alert.constants\";\r\n\r\nexport function alert(state = {}, action) {\r\n switch (action.type) {\r\n case alertConstants.SUCCESS:\r\n return {\r\n type: 'alert-success',\r\n message: action.message\r\n };\r\n case alertConstants.ERROR:\r\n return {\r\n type: 'alert-danger',\r\n message: action.message\r\n };\r\n case alertConstants.CLEAR:\r\n return {};\r\n default:\r\n return state\r\n }\r\n}","import { userConstants } from \"../constants/login.constants\";\r\n\r\nexport default function companyProfileReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.COMPANYPROFILEREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.COMPANYPROFILEREPORT_SUCCESS:\r\n return {\r\n items: action.companyProfileReport\r\n };\r\n case userConstants.COMPANYPROFILEREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}","import { userConstants } from \"../constants/login.constants\";\r\n\r\nexport default function membersReport(state = {}, action) {\r\n switch (action.type) {\r\n case userConstants.MEMBERSREPORT_REQUEST:\r\n return {\r\n loading: true\r\n };\r\n case userConstants.MEMBERSREPORT_SUCCESS:\r\n return {\r\n items: action.membersReport\r\n };\r\n case userConstants.MEMBERSREPORT_FAILURE:\r\n return {\r\n error: action.error\r\n };\r\n default:\r\n return state\r\n }\r\n}","import { createStore, applyMiddleware } from 'redux';\r\nimport thunkMiddleware from 'redux-thunk';\r\nimport { createLogger } from 'redux-logger';\r\nimport rootReducer from '../reducers'\r\nimport {persistStore} from 'redux-persist';\r\n\r\nconst loggerMiddleware = createLogger();\r\n\r\nexport const store = createStore(\r\n rootReducer,\r\n applyMiddleware(\r\n thunkMiddleware,\r\n loggerMiddleware\r\n )\r\n);\r\n\r\nexport const persistor = persistStore(store);","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport \"./index.css\";\r\nimport App from \"./App\";\r\nimport reportWebVitals from \"./reportWebVitals\";\r\nimport \"bootstrap/dist/css/bootstrap.css\";\r\n\r\nimport \"bootstrap/dist/js/bootstrap.bundle.min\";\r\nimport \"bootstrap-icons/font/bootstrap-icons.css\";\r\n\r\nimport { HashRouter } from \"react-router-dom\";\r\nimport { Provider} from 'react-redux';\r\nimport {store, persistor} from './redux/store/store';\r\nimport {PersistGate} from 'redux-persist/integration/react';\r\n\r\n\r\nReactDOM.render(\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ,\r\n document.getElementById(\"root\")\r\n);\r\n\r\nreportWebVitals();\r\n"],"sourceRoot":""}