{"version":3,"sources":["components/spinner/spinner.module.scss","modals/rejectConditionsChangeRequestModal/globalConfirmationModal.module.scss","modals/surveyModal/surveyModal.module.scss","modals/informationModal/informationModal.module.scss","modals/validationErrorModal/validationErrorModal.module.scss","pages/backoffice/backoffice.module.scss","modals/loginModal/loginModal.module.scss","modals/permissionDeniedModal/permissionDeniedModal.module.scss","modals/confirmWithoutFinancialCriteriaModal/confirmWithoutFinancialCriteriaModal.module.scss","modals/confirmWithoutFinancialCriteriaForChangeConditionsModal/confirmWithoutFinancialCriteriaForChangeConditionsModal.module.scss","containers/addressInputContainer/addressInputContainer.module.scss","modals/takeRequestToEvaluateModal/takeRequestToEvaluateModal.module.scss","modals/changeCompanySize/changeCompanySize.module.scss","modals/changeSetNotDeletableModal/changeCompanySize.module.scss","modals/returnModal/deleteComfirmationModal.module.scss","modals/confirmRequestNew/globalConfirmationModal.module.scss","modals/paymentRequestSendforApproveModal/paymentRequestSendforApproveModal.module.scss","modals/globalErrorModal/globalErrorModal.module.scss","pages/paymentRequest/paymentRequest.module.scss","pages/autorization/authorization.module.scss","components/header/header.module.scss","components/footer/footer.module.scss","modals/loginBackOfficeModal/loginBackOfficeModal.module.scss","pages/main/main.module.scss","modals/deleteComfirmationModal/deleteComfirmationModal.module.scss","modals/globalConfirmationModal/globalConfirmationModal.module.scss","modals/AdditionalVmiCheckConfirmation/deleteComfirmationModal.module.scss","modals/signContractModal/signContractModal.module.scss","modals/goBackConfirmationModal/deleteComfirmationModal.module.scss","modals/doublecheckEvaluationModal/doublecheckEvaluationModal.module.scss","modals/regenerateDecisionDocModal/regenerateDecisionDocModal.module.scss","modals/increaseInvegaLoanSumModal/increaseInvegaLoanSumModal.module.scss","modals/invegaLoanSumModal/invegaLoanSumModal.module.scss","modals/terminateRequestModal/terminateRequestModal.module.scss","modals/globalMessageModal/globalMessageModal.module.scss","modals/returnChangeConditionsModal/deleteComfirmationModal.module.scss","modals/confirmWithAdditionalDocs/globalConfirmationModal.module.scss","modals/submitConditionsChangeRequestModal/confirmRequestModal.module.scss","modals/changeContractFile/confirmRequestModal.module.scss","components/button/button.module.scss","modals/confirmRequestModal/confirmRequestModal.module.scss","containers/fileUploadContainer/fileUploadContainer.module.scss","pages/paymentRequestsList/paymentRequestsList.module.scss","images/logo.png","components/submenu/submenu.module.scss","layout/Guest/Guest.module.scss","pages/about/about.module.scss","containers/requirementsText/requirementsText.module.scss","pages/backoffice/autorization/authorization.module.scss","components/tableAdmin/tableAdmin.module.scss","components/input/input.module.scss","modals/approveRequestWithAdditionalDocs/confirmRequestModal.module.scss","components/rowTable/rowTable.module.scss","modals/confirmRejectNew/globalConfirmationModal.module.scss","pages/description/description.module.scss","components/spinner/spinner.js","components/spinner/withSpinner.js","components/spinner/smallSpinner.js","state/dashboard/DashboardConstants.js","state/constants.js","state/modals/ModalsConstants.js","state/auth/auth.constants.js","state/backoffice/BackofficeConstants.js","state/actions.js","state/dashboard/DashboardActions.js","state/modals/ModalsActions.js","state/auth/auth.actions.js","state/backoffice/BackofficeActions.js","state/dashboard/DashboardReducer.js","state/modals/ModalsReducer.js","state/auth/auth.reducer.js","state/backoffice/BackofficeReducer.js","state/reducers.js","api/config.js","utils/auth/localStorage.js","utils/helpers/helpers.js","api/api.js","state/dashboard/DashboardSaga.js","state/backoffice/BackofficeSaga.js","state/modals/ModalsSaga.js","state/sagas.js","state/auth/auth.sagas.js","components/header/header.js","components/footer/footer.js","components/input/input.js","components/input/InputWithTitle.js","components/input/InputWithTextInline.js","components/input/InputWithTrueFalseSelection.js","components/submenu/submenu.js","components/button/button.js","components/multiselect/multiselect.js","components/multiselect/requestMultiselect.js","components/tableAdmin/tableAdmin.js","components/rowTable/rowTable.js","components/tableProjects/tableProjects.js","modals/loginModal/loginModal.js","layout/Guest/Guest.js","utils/auth/validations.js","modals/loginBackOfficeModal/loginBackOfficeModal.js","layout/BackOfficeGuest/BackOfficeGuest.js","modals/permissionDeniedModal/permissionDeniedModal.js","pages/permissionDenied/permissionDenied.js","pages/about/about.js","pages/description/description.js","pages/home/home.js","pages/main/main.js","modals/deleteComfirmationModal/deleteComfirmationModal.js","utils/translation/translation.js","pages/requests/requests.js","pages/requests/projects.js","modals/globalConfirmationModal/globalConfirmationModal.js","modals/autorizationModal/autorizationModal.js","pages/autorization/autorization.js","pages/autorization/representative.js","pages/backoffice/TurnoversFiles.js","modals/importFilesModal/importFilesModal.js","modals/AdditionalVmiCheckConfirmation/AdditionalVmiCheckConfirmation.js","pages/backoffice/backoffice.js","pages/loginReload/loginReload.js","containers/requirementsText/requirementsText.js","containers/fileUploadContainer/fileUploadContainer.js","containers/AdditionalFileUploadContainer/additionalFileUploadContainer.js","containers/financialTable/financialTable.js","modals/signContractModal/signContractModal.js","utils/translation/criteria.js","modals/financialCriteriaModal/financialCriteriaModal.js","modals/confirmWithFinancialCriteriaModal/confirmWithFinancialCriteriaModal.js","modals/changeConditionsModal/changeConditionsModal.js","modals/confirmWithoutFinancialCriteriaModal/confirmWithoutFinancialCriteriaModal.js","modals/goBackConfirmationModal/goBackConfirmationModal.js","modals/confirmWithoutFinancialCriteriaForChangeConditionsModal/confirmWithoutFinancialCriteriaForChangeConditionsModal.js","utils/helpers/evrk.js","pages/requests/surwayAnswers.js","containers/addressInputContainer/addressInputContainer.js","pages/newRequest/newRequest.js","pages/newRequest/newRequest2.js","modals/doublecheckEvaluationModal/doublecheckEvaluationModal.js","modals/regenerateDecisionDocModal/regenerateDecisionDocModal.js","modals/increaseInvegaLoanSumModal/increaseInvegaLoanSumModal.js","modals/confirmRequestModal/confirmRequestModal.js","modals/invegaLoanSumModal/invegaLoanSumModal.js","modals/takeRequestToEvaluateModal/takeRequestToEvaluateModal.js","modals/acceptConditionsChangeRequestModal/acceptConditionsChangeRequestModal.js","modals/rejectConditionsChangeRequestModal/rejectConditionsChangeRequestModal.js","modals/changeContractFile/changeContractFile.js","modals/changeCompanySize/changeCompanySize.js","modals/changeSetNotDeletableModal/changeSetNotDeletable.js","modals/approveRequestWithAdditionalDocs/approveRequestWithAdditionalDocs.js","modals/terminateRequestModal/terminateRequestModal.js","modals/changeConditionsBoModal/changeConditionsBoModal.js","modals/globalMessageModal/globalMessageModal.js","modals/submitConditionsChangeRequestModal/submitConditionsChangeRequestModal.js","modals/returnChangeConditionsModal/returnChangeConditionsModal.js","modals/returnModal/returnModal.js","modals/autorizationModalBackoffice/autorizationModal.js","modals/confirmWithAdditionalDocs/confirmWithAdditionalDocs.js","modals/confirmRequestNew/confirmRequestNew.js","modals/confirmRejectNew/confirmRejectNew.js","pages/backoffice/request.js","pages/backoffice/request2.js","pages/backoffice/stats.js","pages/backoffice/autorization/autorization.js","modals/surveyModal/surveyModal.js","pages/paymentRequestsList/paymentRequestsList.js","modals/paymentRequestSendforApproveModal/paymentRequestSendforApproveModal.js","containers/fileUploadContainer/paymentRequestFileUploadContainer.js","pages/paymentRequest/managerActionLog.js","pages/paymentRequest/paymentRequest.js","containers/fileUploadContainer/paymentDocumentFileUploadContainer.js","utils/helpers/validators.js","pages/paymentDocument/paymentDocument.js","pages/backoffice/vmiRequests/vmiRequests.js","pages/backoffice/additionalRequests/additionalRequests.js","utils/auth/privateRoute.js","routes.js","modals/globalErrorModal/globalErrorModal.js","modals/informationModal/informationModal.js","modals/validationErrorModal/validationErrorModal.js","App.js","utils/redux/store.js","serviceWorker.js","index.js","components/tableProjects/tableProjects.module.scss","modals/importFilesModal/importFilesModal.module.scss","modals/autorizationModalBackoffice/autorizationModal.module.scss","pages/requests/requests.module.scss","modals/autorizationModal/autorizationModal.module.scss","containers/AdditionalFileUploadContainer/additionalFileUploadContainer.module.scss","modals/financialCriteriaModal/financialCriteriaModal.module.scss","pages/newRequest/newRequest.module.scss","modals/confirmWithFinancialCriteriaModal/confirmWithFinancialCriteriaModal.module.scss","modals/acceptConditionsChangeRequestModal/acceptConditionsChangeRequestModal.module.scss","modals/changeConditionsBoModal/changeConditionsModal.module.scss"],"names":["module","exports","Spinner","React","createElement","className","styles","container","spinner","WithSpinner","_ref","loading","children","constants","dashboard","SET_ON_SYNC_FLAG","UPDATE_DASHBOARD_DATA","CLEAR_USER_STATE","SET_DASHBOARD_DATA","SET_INVOICE_LIST_DATA","LOAD_INVOICE_LIST_DATA","PASS_COMPANY_INFO_ACTION","SET_FIRST_STEP_PASSED","DELETE_INVOICE","LOAD_INVOICE_APPROVE_LIST_DATA","GET_REQUEST_LIST","GET_PROJECT_LIST","CREATE_NEW_REQUEST","CREATE_NEW_REQUEST_INDIVIDUAL","GET_PAYMENT_REQUESTS_LIST","SET_PAYMENT_REQUESTS_LIST","CREATE_NEW_PAYMENT_REQUEST","SET_PAYMENT_REQUEST","CREATE_PR_NEW_PR_DOCUMENT_REQUEST","SET_PAYMENT_REQUEST_PR_DOCUMENT","CREATE_NEW_PAYMENT_REQUEST_PR_DOCUMENT","PR_DOCUMENT_DELETE_REQUEST","SET_NEW_REQUEST_DATA","SET_REQUEST_LIST","SET_PROJECT_LIST","SAVE_REQUEST","DELETE_REQUEST","LOAD_INVOICE_DATA","LOAD_OWNER_INVOICE_DATA","SET_INVOICE_DATA","SET_OWNER_INVOICE_DATA","SAVE_INVOICE_DATA","INVOICE_SAVED","INVOICE_SAVED_EROR","LOAD_REQUEST_LIMIT_DATA","SET_REQUEST_LIMIT_DATA","SET_REQUEST_GENERAL_LIMIT_DATA","LOAD_REQUEST_GENERAL_LIMIT_DATA","SAVE_COMPANY_DATA","SET_COMPANY_DATA","GET_IS_CONSENTAGREED","SET_IS_CONSENTAGREED","SET_CONSENT_DATA","GET_CAN_CREATE_REQUEST","SET_CAN_CREATE_REQUEST","LOAD_GENERAL_DATA","SET_GENERAL_DATA","APPROVE_REQUEST_SUCCESS","APPROVE_REQUEST_ERROR","APPROVE_REQUEST_RESSET","SET_SAVED_REQUEST_DESISSION_ACCEPTED","FILE_UPLOAD","GET_UPLOADED_FILES_LIST","SET_UPLOADED_FILES_LIST","GET_SIGNING_URL","SET_SIGNING_URL","SET_SIGNING_IN_INFO","GET_SIGNING_DECISION_URL","GET_SIGNING_URL_BATCH","GET_FINANCIALCRITERIA_RESULTS","SET_FINANCIALCRITERIA_RESULTS","SET_LOGIN_TYPE","SET_REQUEST_VIEW_WINDOW","SAVE_REPRESENTATIVE","LOAD_REPRESENTATIVES","SET_REPRESENTATIVES","SAVE_REPRESENTATIVE_ERROR","SET_REPRESENTATIVE","LOAD_REPRESENTATIVE","LOAD_COMPANY_REPRESENTATIVES","SET_COMPANY_REPRESENTATIVES","SEND_FOR_APPROVE","SEND_FOR_APPROVE_WITH_DOCS","SEND_PAYMENT_REQUEST_FOR_APPROVE","SEND_FOR_APPROVE_WITH_DOCS_FOR_CHANGE_CONDITIONS","modals","SET_MODAL_VISIBLE_FLAG","SET_PDF_DOWNLOAD_COMFIRM","SET_ERROR_MESSAGE","SET_MODAL_CLOSED_OK_MESSAGE","SET_MODAL_CONFIRM_ACTION","SET_PAYMENT_MODAL_CONFIRM_ACTION","SET_VALIDATION_ERROR","CONFIRM_INVOICES_FROM_MANAGER","REGENERATE_DECISION_DOC","auth","LOGIN_VAIISIS","SET_AUTH_LOADING","LOGIN_USER","SET_USER","CLEAR_USER","LOGIN_VAIISIS_TEST_CRED","SET_LOGIN_ERR_MESSAGE","PUSH_TOKEN_TO_SERVER","SET_TOKEN_PUSH_STARTED","SET_PROJECTS","GET_PROJECTS","backoffice","LOAD_REQUESTS_LIST","SET_REQUESTS_LIST","GET_REQUEST","GET_PAYMENT_REQUEST","SET_REQUEST","SET_REQUEST_STATUS","SET_PAYMENT_REQUEST_STATUS","EXPORT_DATA_ACTION","GET_STATS","SET_STATS","DOWNLOAD_CONTRACT_DOC","GET_SIGN_IN_DOC","SAVE_EDIT_ADDITIONAL_COMMENTS","GET_ADDITIONAL_COMMENTS","GET_REQUEST_LOG","SET_REQUEST_LOG","GET_INVEGA_USERS","SET_INVEGA_USERS","CALL_SAGA_FOR_ERR_HANDLE","SET_ASSESSORS","SET_RELATED_REQUESTS","DOWNLOAD_LIST_ACTION","SAVE_RISK_ASSESMENT_RESULT","DOWNLOAD_ALL_FILES","SET_REPRESENTAVITES_MANAGER_BY_REQUEST","actions","clearUserStateAction","type","updateDashboardAction","setUserOnSyncFlagAction","flag","setDashboardDataAction","payload","loadInvoiceListDataAction","setInvoiceListDataAction","passCompanyInfoAction","setFirstStepPassedAction","deleteInvoiceAction","requestId","invoiceId","loadInvoiceApproveListDataAction","getRequestListAction","getProjectListAction","createNewRequestAction","id","actionType","projectId","setNewRequestData","setRequestListAction","setProjectListAction","loadInvoiceDataAction","setInvoiceDataAction","saveInvoiceDataAction","data","setInvoiceSavedAction","setInvoiceErrorAction","saveRquestAction","deleteRequestAction","saveCompanyDataAction","setCompanySavedAction","getIsConsentAgreedAction","setIsConsentAgreedAction","setConsentDataAction","loadRequestLimitDataAction","setRequestLimitDataAction","loadGeneralDataAction","setGeneralDataAction","approveRequestError","approveRequestSuccess","approveRequestResset","loadRequestGeneralLimitDataAction","setRequestGeneralLimitDataAction","setSavedRequestDesissionAccepted","fileUploadAction","getUploadedFileList","setUploadedFileList","getSigningUrlAction","user","setSigningUrlAction","setSigningInfoAction","getFinancialCriteriaResultsAction","doubleCheck","setFinancialCriteriaResultsAction","setLoginType","createNewRequestIndividualAction","setRequestViewWindowAction","loadOwnerInvoiceDataAction","setOwnerInvoiceDataAction","getSigningDecisionUrlAction","GetSigningUrlBatchAction","saveRepresentativeAction","loadRepresentatives","setRepresentatives","setSaveRepresentativeError","setRepresentativeAction","loadCompanyRepresentatives","setCompanyRepresentatives","sendForApproveAction","sendForApproveWithDocsAction","GetCanCreateRequest","SetCanCreateRequest","getPaymentRequestsListAction","setPaymentRequestsListAction","createNewPaymentRequestAction","paymentId","surveyData","console","log","setPaymentRequestAction","createPaymentRequestNewPrDocumentAction","setPaymentRequestPrDocument","createNewPaymentRequestPrDocumentAction","docId","number","deletePrDocumentRequestAction","sendForPaymentRequestApproveAction","sendForApproveWithDocsForChangeConditionsAction","setModalVisibleFlagAction","open","msgText","setPdfDownloadComfirmAction","setModalOnSyncFlagAction","setErrorMessageAction","msg","setModalConfirmAction","action","userComment","setPaymentModalConfirmAction","setValidationErrorAction","err","setModalClosedOKAction","confirmInvoicesFromManagerAction","regenerateDecisionDocAction","loginVaiisisSagaAction","setAuthLoadingAction","loginUserAction","credentials","setUserAction","userDetails","token","mountUserAction","MOUNT_USER","clearUserAction","loginTestViispCredAction","setAuthError","pushTokenToServerAction","setTokenPushStartAction","getProjects","setProjects","setRequestsList","getRequestAction","getPaymentRequestAction","setRequest","setStatusChanged","setPaymentRequestStatusChanged","exportDataAction","downloadListAction","getGetUploadedFilesAction","setGetUploadedFilesAction","getStatsAction","setStatsAction","downloadContractDocAction","getSignInDocAction","saveEditAdditionalComments","getAdditionalComments","getRequestLogAction","setRequestLog","getInvegaUsersAction","setInvegaUsersAction","callSagaForErrHandling","setAssessorAction","setRelatedRequestsAction","saveRiskAssessmentResult","downloadAllFilesAction","setRepresentativesManagerByRequest","INITIAL_STATE","isOnSync","dashboardData","requestList","requestData","firstStepPassed","isAgreed","concentData","requestLimit","generalData","canCreateRequest","requestGeneralLimit","savedRequestDesissionAccepted","filesTableList","signInInfo","signingUrl","financialCriteriaResults","loginType","representativesList","representative","errors","paymentRequestsList","paymentRequest","paymentRequestPrDocument","INOVICE_INITIAL_STATE","invoiceData","saved","error","COMPANY_INITIAL_STATE","checking","decision","REQUEST_APPROVE_STATE","globalErrorModalVisible","loginModalVisible","globalConfirmationModalVisible","requestsModalVisible","informationModalVisible","deleteComfirmationModalVisible","signContractModalVisible","financialCriteriaModalVisible","validationErrorModalVisible","confirmInvoicesFromManagerModalVisible","autorizationModalVisible","doublecheckEvaluationModalVisible","regenerateDecisionDocModalVisible","terminateRequestModalVisible","confirmWithFinancialCriteriaModalVisible","confirmWithoutFinancialCriteriaModalVisible","paymentRequestSendforApproveModalVisible","invegaLoanSumModalVisible","importFilesModalVisible","increaseInvegaLoanSumModalVisible","confirmRequestModalVisible","takeRequestToEvaluateModalVisible","changeContractFileVisible","changeCompanySizeVisible","goBackConfirmationModalVisible","additionalVmiCheckConfirmationVisible","changeConditionsModalVisible","acceptConditionsChangeRequestModalVisible","rejectConditionsChangeRequestVisible","changeConditionsBoModalVisible","globalMessageModalVisible","submitConditionsChangeRequestModalVisible","returnChangeConditionsModalVisible","confirmWithoutFinancialCriteriaForChangeConditionsModalVisible","approveRequestWithAdditionalDocsVisible","surveyModalVisible","returnModalVisible","errMsg","validationErr","closedDialogOKMessage","confirmWithAdditionalDocsVisible","changeSetNotDeletableVisible","confirmRequestNewVisible","confirmRejectNewVisible","loggedIn","loginErr","role","tokenPushingStarted","projects","additionalComments","ApproversComment","SignatorysComment","requestLog","invegaUsers","AssessorsList","relatedRequests","PAYMENT_REQUEST_INITIAL_STATE","INVOICES_INITIAL_STATE","INVOICE_INITIAL_STATE","STATS_INITIAL_STATE","REPR_INITIAL_STATE","reducers","combineReducers","dashboardState","state","arguments","length","undefined","_objectSpread","projectList","consentData","invoiceState","ErrorDescription","companyState","requestState","_action$payload$error","modalsState","key","modalName","visible","message","backofficeRequestsState","representatives","backofficePaymentRequestsState","backofficeInvoicesState","backofficeInvoiceState","backofficeStatsState","backofficeRepresentetivesState","isProd","window","location","hostname","split","slice","join","config","DOMAIN_URL_PROD","API_BASE_URL_DEV","API_BASE_URL_PROD","concat","protocol","host","DOMAIN_URL_DEV","API_BASE_VERSION","API_ENDPOINTS","login","backOfficeLogin","logout","vaiisisTest","customLogin","startRegistersProcessing","startRegistersProcessingIndividual","getRegistersProcessingStatus","getRegistersProcessingStatusIndividual","getFinancialCriteriaResults","getFinancialCriteriaResultsFinal","getFinancialCriteriaResultsIndividual","getFinancialCriteriaResultsForSaveRequest","doubleCheckRequestEvaluation","copy","invoiceSellerList","invoiceDelete","invoiceBuyerList","confirmInvoice","rejectInvoice","invoiceOwnerData","saveInvoiceData","isConsentAgreed","createConsent","getConsent","logoff","requestStart","requestGet","requestSave","requestdelete","requestSendForApprove","paymentRequestList","paymentRequestStart","paymentRequestSavePrDocument","paymentRequestSavePrDocumentManager","paymentRequestDeletePrDocument","UploadFilesPrd","DeleteUploadedFilePrd","fileId","DownloadFilePrd","UploadFilesPr","DownloadFilePr","DeleteUploadedFilePr","GetActionLogManager","paymentRequestId","MarkUnpaidCheck","GetAdministrationInvoices","DownloadAdministrationInvoice","contractId","requestSendForApproveWithDocs","paymentRequestSendForApprove","setApprovePaymentRequest","setRejectPaymentRequest","setReturnPaymentRequest","returnPaymentWithComment","checkForApprove","ExportPr","requestApprove","requestReject","requestReturn","SetCompanySizeType","SetNotDeletable","notDeletable","requestInitialLimit","DownloadFile","DeleteUploadedFile","GetUploadedFiles","UploadFiles","UploadContract","comment","UploadChangeConditions","RejectChangeConditions","DownloadChangeConditionsInvoice","Terminate","GetFinancialEvaluationStatus","companyCreate","getGeneralData","saveUserComment","getManagerRequests","getManagerRequest","setApproveRequest","setApproveWithDocsRequest","setRejectRequest","setReturnRequest","setSignedRequest","setSendForApproveRequest","setChangeConditionsRequest","setChangeConditionsApprovedRequest","getManagerInvoices","getManagerInvoice","getManagerUploadedFiles","DownloadFileManager","getStats","ExportData","DownloadList","getSigningUrl","getSigningUrlManager","getSigningUrlDecision","regenerateDecisionDoc","getSigningUrlBatch","SaveLoanSums","GenerateContractDoc","DownloadContractDoc","GetSignedDocumentManager","GetSignedDocumentUser","GetSignedDocumentContract","GetSignedDocumentChangeConditions","GetChangeConditionsFile","GetSignedDocumentDecision","GetSigningInfo","CanConfirmInvoicesFromManager","ConfirmInvoicesFromManager","calculateFinancialCriteria","saveAdditionalComments","saveRepresentative","saveRepresentativeManager","loadRepresentativesManager","deleteRepresentative","deleteRepresentativeManager","downloadRepresentativeFile","downloadRepresentativeFileManager","getCompanyRepresentations","impersonate","getRequestLog","getInvegaUsers","getFeatureSettings","SetInvegaLoanSum","increaseInvegaLoanSum","importFiles","CanCreateOrSubmit","GetIndividualEvrks","GetCompanyEvrks","GetAssessorsList","SetAssessor","userId","ExcelList","ExcelDownloadFile","MarkForVmiRenewMass","MarkForVmiAdditionalCheckMass","GetRelatedRequests","getAddressStructDistricts","getAddressStructMunicipalities","district","getAddressStructElderships","municipality","getAddressStructSettlements","eldership","RequestChangeConditions","DownloadAllFiles","RenewVmiInfo","code","VmiAdditionalChecksList","VmiAdditionalChecksSave","GetEditListManagerByRequest","ChangeChangeConditionsFile","ApproveChangeConditions","RequestChangeConditionsManager","ReturnChangeConditions","requestSendForApproveWithDocsForChangeConditions","GetProjects","GetSignedDocumentRejectDecision","ManagerSaveRiskLevel","level","ManagerSaveRiskAssessmentResult","RecheckJadis","RecheckAml","RecheckJarManager","GetJarManagerChecks","APP_PATHS","main","requests","newRequest","newRequest2","newRequestWithId","authorization","permisssionDenied","permisssionDenied1","paymentrequests","paymentrequestsId","paymentrequest","paymentrequestId","paymentDocument","about","description","bills","billsView","billsApprove","billCreate","billEdit","billView","billApproveView","backofficeMain","backofficeRequest","backofficeRequest2","backofficePaymentRequests","backofficePaymentRequest","backofficePaymentDocument","AdditionalRequests","backofficeBills","backofficeBill","backofficeStats","backofficeRepresentatives","turnoversFiles","home","vaiisis","vmiRequests","PAGES","LOCAL_STORAGE","adminToken","storageHasProperty","itemKey","localStorage","hasOwnProperty","getLocalStorageItemIfNotExpired","itemSetupTimeKey","itemExpiry","hours","Date","getTime","getItem","removeItem","getCookieValue","getLocalStorageItem","resetLocalStorageItem","itemValue","setItem","removeLocalStorageItem","cookiesHasProperty","Cookies","getAll","cookies","get","errorhandle","statusCode","put","checkBOPage","href","Array","isArray","openFin","ErrorId","ErrorMessage","openGlobalModal","ConfirmWithFinancialCriteriaModal","emptyMessage","swal","title","icon","buttons","confirm","text","value","closeModal","formatNumber","num","minFractionDigits","toLocaleString","minimumFractionDigits","formatNumberToCurrency","parseFloat","toFixed","formatNumberStats","downloadXls","response","name","url","URL","createObjectURL","Blob","link","document","setAttribute","body","appendChild","click","downloadDoc","pathname","indexOf","Api","options","finalOptions","json","withCredentials","headers","request","method","BASE_URL","ENDPOINTS","withoutAuth","withAuth","encoding","withMangerAuth","withAuthFileUpload","endpoint","userCommentRequired","userCommentChecked","options2","refusalOfFunding","invegaLoanInterestRate","invegaContractNumber","invegaLoanSum","invegaLoanPaymentTerm","invegaLoanDelayTerm","GetSignedDocument","withAuthForm","equestId","comments","_Api","API_BASE_URL","forwardTo","history","push","setLocation","loadSellerInvoiceList","call","getSellerInvoiceList","loadBuyerInvoiceList","getBuyerInvoiceList","loadInvoiceData","getInvoiceData","loadOwnerInvoiceData","getOwnerInvoiceData","Id","passCompanyInfoSaga","formattedPayload","accepted","email","phoneNumber","phone","getRequestListSaga","getRequestList","getProjectListSaga","getProjectList","createNewRequestSaga","_ref2","dataWithType","getCompanyEvrks","evrksList","RequestId","CompanyId","companyId","delay","processStatus","status","newRequestData","createNewRequestIndividualSaga","_ref3","getIndividualEvrks","IndividualId","individualId","saveRequestSaga","_ref4","requestSystemInfo","saveSuccessfull","desission","Decision","deleteRequestSaga","_ref5","requestListData","saveCompanyData","res","result","getIsConsentAgreedSaga","getConsentData","getRequestLimit","getRequestGeneralLimit","loadGeneralData","path","getBackofficeGeneralData","fileUploadSaga","_ref6","errorDescription","getUploadedFileListSaga","_ref7","signingInfo","GetSigningInfoUser","getSigningUrlSaga","_ref8","getUrl","getSigningDecisionUrlSaga","_ref9","GetSigningUrlBatchSaga","getFinancialCriteriaResultsSaga","_ref10","getFinancialCriteriaResultsManager","getRequestStatus","RequestSystemInfo","AllEvaluationCompleted","select","sendForApproveSaga","_ref11","sendForApproveWithDocsSaga","_ref12","paymentRequestSendForApproveSaga","_ref13","searchParams","_ref14","getPaymentRequestListSaga","_ref15","createNewPaymentRequestSaga","_ref16","paymentRequestStartWithSurvey","isNaN","createPaymentRequestNewPrDocumentSaga","_ref17","createPaymentRequestPrDocumentSaga","_ref18","Number","PaymentRequestId","deletePrDocumentRequestSaga","_ref19","sendForApproveWithDocsForChangeConditionsSaga","_ref20","getRequestsListSaga","GetManagerRequests","getRequestSaga","GetManagerRequest","downloadListSaga","currentDate","downloadListXlsFile","toJSON","replace","downloadAllFiles","getInvoicesSaga","GetManagerInvoices","getInvoiceSaga","GetManagerInvoice","exportDataSaga","fileName","GetManagerUploadedFiles","GetSigningInfoManager","getStatsSaga","GetStats","downloadContractSaga","getSignInDocSaga","saveEditAdditionalCommentsSaga","data2","getsetAssessors","callSagaForErrHandle","saveRiskAssessmentResultSaga","modalConfirm","representativeId","SetInvegaRequestStatus","renderTitle","prDocumentIDs","checkboxValues","SetInvegaPaymentRequestStatus","paymentModalConfirm","confirmInvoicesFromManagerSaga","regenerateDecisionDocSaga","respond","actionWatcher","takeLatest","dashboardSaga","modalSaga","saga","backofficeSaga","loginVaiisisSaga","Login","e","loginVaiisisTestSaga","loginVaiisisTest","loginUserSaga","getToken","clearUserSaga","Logoff","pushTokenToServerSaga","getProjectsSaga","connect","dispatch","src","Logo","alt","style","display","headerButtonsContainer","marginRight","width","backgroundColor","border","onClick","Footer","Input","onChange","onEnterClick","rest","_objectWithoutProperties","_excluded","Object","assign","input","onKeyDown","InputWithTitle","placeholder","defaultProps","PropTypes","string","isRequired","func","oneOfType","InputWithTextInline","disabled","inOneLine","inOneLineContainer","inlineContainer","titleContainer","subtitles","paddingLeft","paddingBottom","map","item","i","inlineInput","InputWithTrueFalseSelection","index","Select","find","option","selectorContainer","requestsActive","setRequestsAcvive","useState","marginLeft","marginTop","header","Button","color","handleOnClick","classes","float","Link","cn","bgHeaderBtn","button","to","borderColor","MultiSelect","tooltip","note","triedToSubmit","isValid","errorMessage","label","dropOptions","setDropOptions","useEffect","arrToDropdownObject","array","setDefaultValue","val","x","defaultValue","isMulti","customStyles","isDisabled","control","minHeight","boxShadow","height","fontSize","background","borderRadius","valueContainer","provided","position","multiValue","padding","cursor","paddingTop","top","indicatorSeparator","indicatorsContainer","menu","lineHeight","isFocused","isSelected","marginBottom","RequestMultiSelect","TableRow","expiring","bodyRow","TableCell","bodyCell","Table","isEmpty","paging","totalPages","onPageClick","clickedPage","total","noHeaderRound","row","from","table","headerRow","col","headerCellNoRound","headerCell","verticalAlign","headerTitle","class","headerTitleDates","emptyRow","_","pageNumbers","keys","infoText","RowTableRow","RowTableCell","RowTable","TableRowProject","TableCellProject","TableProjects","values","setValues","password","companyCode","personalCode","handleLoginInputChange","target","modal","aria-modal","aria-labelledby","aria-describedby","loginInputsContainer","letLogin","showAfter","showTill","infoContainer","rel","Redirect","LoginModal","validateEmail","regex","test","validatePhone","validateTextinput","controllingCompaniesInputValidation","letEmptyVal","isSumValid2","sum","isInterestRateValid","isInterestVariableRateValid","isLoadSumValid","size","loanType","socialBusiness","LoanTermValidation","LoanDelayTermValidation","val2","isIntegerNumber","Math","ceil","floor","username","notValid","setNotvalid","insideLoginErr","setInsideLoginError","remove","removeCookieItem","Fragment","LoginBackOfficeModal","redirect","setredirect","pop","contentBlock","btnContainer","cancel","PermissionDenied","PermissionDeniedModal","About","aboutAllBlock","fetchdata","useCallback","textAlign","Title","StartDate","EndDate","DescriptionUrl","format","Home","setRedirect","search","shift","lastIndexOf","surname","company","checkbox","agree","setAgree","agree1","setAgree1","agree2","setAgree2","agree3","setAgree3","agree4","setAgree4","agree5","setAgree5","isCompany","setIsCompany","checkboxErr","setCheckBoxErr","onInputChange","UserAuthData","FirstName","LastName","CompanyName","CompanyCode","credentialsContainer","errorsBlock","checked","toggleAgree","yes","requestDataLabelTranslation","applicantTranslation","requestStatus","projectName","projectName2","projectOptions","paymentRequestStatus","loanPurpose","CompanySizeTypeInvega","StatusesStats","companySize","rentContractTranslation","requestLogTranslation","paymentRequestDocumentTypes","fileType","allowedTypes","getAllowedFileTypes","documentTypes","_documentTypes$find2","el","selectedId","setSelectedId","editable","setEditable","deletingItemId","setDeletingItemId","actionClick","canCreateNewRequest","setCanCreateNewRequest","TableAdmin","SubmittedNo","CreateDate","SubmittedDate","LoanSum","Status","DaysTillAdjust","DeadlineBusinessDaysUntilSignature","ProjectId","InvegaLoanSum","AssessorEmail","AssesorPhone","LoanPurposeId","FormVersion","assesorEmail","some","iconsContainer","FontAwesomeIcon","faEye","faPencilAlt","faTrash","returnContantEmail","faPlusSquare","addNewRequest","fetch","Authorization","then","ok","r","catch","finally","DeleteComfirmationModal","minWidth","ContractSigningTerm","ProjectDescription","left","transform","okTitle","modalTitle","mainText","generateNoteAboutNoFinanceFromBanks","showError","setShowError","dangerouslySetInnerHTML","__html","onAgree","open2","RoleId","PersonalCode","ValidFrom","ValidTo","setProjectId","projectsIdArray","setProjectsIdArray","Projects","file","setFile","handleInputChange","event","filter","onMultiSelectChange","selectflex","DatePicker","selected","date","year","getFullYear","month","getMonth","padStart","day","getDate","dateFormat","Files","f","downloadFile","blob","a","download","textDecoration","for","accept","files","UploadedFile","formData","FormData","append","confirmModalVisible","modalData","setModalData","modalCheckbox","setModalCheckbox","modalText","setModalText","modalAction","setModalAction","modalOkTitle","setModalOkTitle","setModalTitle","ids","addNewAutorization","AutorizationModal","GlobalConfirmationModal","parts","reprId","JSON","stringify","Token","Role","Self","RepresentativeId","PersonalName","linkText","statsState","isLoading","setIsloading","listData","setListData","async","getData","Created","Name","setFileType","setLoading","selectInput","upload","additionalCheckSelection","Accept","requestsState","_requestsState$invega","_requestsState$invega2","_requestsState$invega3","_requestsState$invega4","setFilter","RequestStatusId","RequestStatusIds","HasParentCompanyCode","OnlyWithNewInvoices","InvegaIncreasedLoanSum","SubmittedDates","dateFrom","dateTo","SignedDates","ChangeConditionsDate","FirstSubmittedDate","UserEmail","RequestAction","BusinessDaysToSignature","AssessorId","IsReserved","loanPurposeId","ConditionsChanged","IsRejectedByClient","setClickedPage","filterStatus","handleDateChange","handleSignedDatesChange","handleChangeConditionsDateChange","handleFirstSubmittedDateChange","page","storageFilter","parse","IgnoreFiles","addDays","countPerPage","sortDirection","_getLocalStorageItem","checkIfTermIsExpiring","setAdditionalCheckSelection","jsonString","jsonObject","statusIds","setStatusIds","dateFilterContainer","filterText","filterInput","filterText2","requestStatusIds","sort","b","_a$FirstName","localeCompare","Email","_a$FirstName2","justifyContent","zIndex","clearFilters","reload","rightBtnContainer","visibility","filterOnlyRelevant","TotalPageCount","TotalCount","SearchResult","SignatorysCommentExists","ApproversCommentExists","AmlCheckResultId","PepExists","Assessor","ApprovedDate","ContractSigningTime","RejectByClient","amlStatus","ImportFilesModal","AdditionalVmiCheckConfirmation","setTimeout","RequirementsText","viewWindow","additional","setAdditional","gotoBottom","scrollTo","scrollHeight","fileArr","setFileArray","rejection","setRejection","deleteConfirmation","showCancelButton","requestIdFileId","deleteFile","downloadRejectionFile","FileName","FileType","UploadedAt","Additional","Submitted","AllowDelete","fileTypeTranslation","faDownload","textUptheButton","selectFile","getElementById","acceptFiles","_r$errors","FinancialTable","fsi","regDate","notApplied","year1","year2","yearX","getYear","yearY","xs","FsiYear","FsiSubmitted","Assets","Liabilities","PropertyAmount","Turnover","criteriaValuep","criteria","finYear","dataFiltered","setDataFiltered","Rules","criteriaContainer","RuleName","sectorType","LoanInfo","setData","setNotValid","fileToUpload","setFileToUpload","addFileContainer","selectFileToUpload","evrkFull","100000","101000","101100","101200","101300","101310","102000","103000","103100","103110","103200","103900","104000","104100","104200","105000","105100","105200","106000","106100","106110","106120","106200","106210","106220","107000","107100","107200","107300","108000","108100","108200","108300","108400","108410","108500","108600","108900","108910","109000","109100","109200","110000","110100","110200","110300","110400","110500","110600","110700","110710","110720","120000","130000","131000","132000","132010","132020","133000","139000","139100","139200","139300","139400","139500","139600","139900","140000","141000","141100","141200","141300","141310","141320","141400","141900","141910","141920","141930","142000","143000","143100","143900","150000","151000","151100","151110","151120","151130","151200","152000","160000","161000","161010","162000","162100","162110","162120","162200","162300","162310","162320","162330","162400","162410","162900","170000","171000","171100","171200","172000","172100","172200","172210","172300","172310","172320","172400","172900","172910","180000","181000","181100","181200","181300","181400","182000","190000","191000","192000","192010","192020","192030","192040","200000","201000","201100","201200","201300","201400","201500","201510","201520","201530","201600","201700","202000","202010","203000","203010","203020","204000","204100","204200","205000","205100","205200","205300","205900","205910","205920","205930","205940","206000","210000","211000","211010","212000","212010","212020","220000","221000","221100","221900","222000","222100","222200","222300","222900","230000","231000","231100","231200","231300","231310","231400","231900","231910","232000","233000","233100","233110","233120","233200","234000","234100","234200","234300","234400","234900","235000","235100","235200","236000","236100","236200","236300","236400","236500","236900","237000","239000","239100","239900","239910","239920","239930","239940","240000","241000","242000","243000","243100","243200","243300","243400","244000","244100","244200","244300","244400","244500","244600","245000","245100","245200","245300","245400","250000","251000","251100","251200","252000","252100","252900","252910","253000","254000","255000","256000","256100","256200","257000","257100","257200","257300","259000","259100","259200","259300","259400","259900","260000","261000","261100","261200","262000","263000","264000","265000","265100","265110","265120","265130","265140","265200","266000","267000","268000","270000","271000","271100","271200","272000","273000","273100","273200","273300","274000","275000","275100","275200","279000","280000","281000","281100","281200","281300","281400","281500","282000","282100","282200","282300","282400","282500","282900","283000","284000","284100","284900","289000","289100","289200","289300","289400","289500","289600","289900","290000","291000","292000","293000","293100","293200","300000","301000","301100","301200","302000","303000","304000","309000","309100","309200","309900","310000","310100","310200","310300","310900","320000","321000","321100","321200","321300","322000","323000","324000","324010","324020","324030","324040","324050","324060","324070","325000","325010","325020","325030","329000","329100","329900","329910","330000","331000","331100","331200","331300","331400","331500","331600","331700","331900","332000","350000","351000","351100","351200","351300","351400","352000","352100","352200","352300","353000","353010","353020","360000","360010","360020","360030","370000","380000","381000","381100","381200","382000","382100","382200","383000","383100","383200","390000","410000","411000","412000","412010","412020","420000","421000","421100","421110","421200","421300","422000","422100","422200","429000","429100","429900","430000","431000","431100","431200","431210","431220","431230","431300","432000","432100","432110","432120","432130","432200","432900","433000","433100","433200","433300","433400","433900","439000","439100","439900","450000","451000","451100","451900","452000","453000","453100","453200","454000","460000","461000","461100","461200","461300","461400","461500","461600","461700","461800","461900","462000","462100","462200","462300","462400","463000","463100","463200","463300","463400","463410","463420","463500","463600","463700","463800","463900","464000","464100","464200","464210","464220","464230","464240","464300","464400","464410","464420","464500","464600","464610","464620","464700","464800","464900","465000","465100","465200","466000","466100","466200","466300","466400","466500","466600","466900","467000","467100","467110","467120","467130","467140","467150","467200","467300","467310","467400","467410","467420","467430","467500","467510","467520","467600","467610","467620","467700","469000","470000","471000","471100","471900","472000","472100","472200","472300","472400","472410","472420","472500","472510","472520","472600","472900","473000","474000","474100","474200","474300","475000","475100","475200","475210","475220","475230","475240","475300","475400","475900","476000","476100","476200","476300","476400","476500","477000","477100","477200","477300","477400","477500","477600","477700","477800","477810","477820","477830","477840","477890","477900","477910","478000","478100","478200","478900","479000","479100","479900","479910","479920","490000","491000","492000","493000","493100","493110","493120","493200","493900","494000","494100","494200","495000","500000","501000","502000","503000","504000","510000","511000","512000","512100","512200","520000","521000","522000","522100","522110","522120","522130","522140","522150","522160","522170","522200","522300","522400","522900","522910","522920","522930","530000","531000","532000","550000","551000","552000","552010","552020","553000","559000","560000","561000","562000","562100","562900","563000","580000","581000","581100","581200","581300","581400","581900","582000","582100","582900","590000","591000","591100","591200","591300","591400","592000","600000","601000","602000","610000","611000","612000","613000","619000","620000","620100","620200","620300","620900","630000","631000","631100","631200","639000","639100","639900","640000","641000","641100","641900","642000","643000","649000","649100","649200","649900","650000","651000","651100","651200","651210","652000","653000","660000","661000","661100","661200","661900","662000","662100","662200","662900","663000","680000","681000","682000","683000","683100","683110","683200","690000","691000","691010","691020","691030","692000","692010","692020","692030","692040","700000","701000","702000","702100","702200","710000","711000","711100","711200","711210","711220","711230","711240","711250","711260","712000","712010","712020","712030","712040","712050","712060","712070","720000","721000","721100","721900","721910","721920","721930","721940","721950","722000","722010","722020","722030","730000","731000","731100","731200","732000","740000","741000","742000","743000","749000","750000","750010","750020","750030","750040","770000","771000","771100","771200","771210","771220","772000","772100","772110","772120","772130","772140","772150","772200","772900","772910","772920","772930","773000","773100","773200","773300","773310","773320","773330","773400","773500","773900","773910","773920","773930","773940","773950","773960","773970","773980","774000","780000","781000","782000","783000","790000","791000","791100","791200","799000","800000","801000","802000","803000","810000","811000","812000","812100","812200","812900","813000","820000","821000","821100","821900","822000","823000","829000","829100","829200","829900","840000","841000","841100","841110","841120","841130","841140","841150","841160","841170","841180","841200","841300","842000","842100","842200","842300","842400","842500","843000","850000","851000","851010","851020","852000","853000","853100","853110","853120","853200","854000","854100","854200","854210","854220","854230","855000","855100","855200","855300","855900","856000","860000","861000","861010","861020","861030","861040","862000","862100","862200","862300","869000","869010","869020","869030","869040","870000","871000","872000","873000","879000","880000","881000","889000","889100","889900","900000","900100","900200","900300","900400","910000","910100","910200","910300","910400","910410","910420","910430","920000","920010","920020","920030","930000","931000","931100","931200","931300","931900","931910","931920","932000","932100","932900","940000","941000","941100","941200","942000","949000","949100","949110","949120","949200","949900","950000","951000","951100","951200","951210","952000","952100","952200","952300","952400","952500","952900","960000","960100","960200","960300","960400","960900","970000","980000","981000","982000","990000","evrkFullWithZeros","evrkFullWithoutZeros","formatCountryJson","SurwayAnswers","Ratings","StarterRatingId","InvegaCommunicationRatingId","InvegaFinancialRatingId","selectDisabled","AddressInput","nameKey","onDataChange","dataValue","DropdownMenu","dropdownItems","disableIfNoDropdownItems","inputTitle","j","_val$value","_val$value2","_val$label","Code","data-value","AddressModal","_settlements$","_settlements$$label","_settlements$$label$C","_data9","_data10","_data11","onDropdownImputChange","districtsList","setDistricts","municipalities","setMunicipalities","elderships","setElderships","settlements","setSettlements","mode","districts","_data","_data2","_data3","_data4","_data5","_data6","_data7","_data8","includes","canSeeBills","_requestData$CompanyD","_requestData$RequestS","_requestData$RequestS2","_requestData$RequestS3","_requestData$RequestS4","_requestData$RequestS5","_requestData$RequestS6","_requestData$RequestS7","_requestData$RequestS8","_requestData$RequestS9","_requestData$RequestS10","_requestData$RequestS11","_requestData$RequestS12","_requestData$RequestS13","_requestData$RequestS14","_requestData$LoanInfo","disableCheck","isNumberType","GetSignedDocumentContractUser","applicantSigningDate","invegaSigningDate","returnSignedDocumentEndpoint","setViewWindow","companyQuestionList","setCompanyQuestionList","ceoDataList","setCeoDataList","companyDataList","setCompanyDataList","applicantData","setApplicantData","farmData","setFarmData","managerData","setManagerData","otherRequestData","setOtherRequestData","pepData","setPepData","suppliers","setSuppliers","buyers","setBuyers","declarationInfo","setDeclarationInfo","loanInfo","setLoanInfo","checks","setChecks","setevrksList","hasParentCompanyValue","setHasParentCompanyValue","hasParentCompanyValueFA","setHasParentCompanyValueFA","hasParentCompanyState","setHasParentCompanyState","turnoversInfo","setTurnoversInfo","controllingCompanies","setControllingCompanies","controllingForeignCompanies","setControllingForeignCompanies","onLoanInfoChange","OtherRequests","filtered","SectorTypeId","has2Or3","canCreateRequestSectorTypeId","onCompanyInputChange","onFarmDataInputChange","scrollToError","getElementsByClassName","innerText","y","getBoundingClientRect","pageYOffset","behavior","checkSuppliers","basisForPayments","evrk","registrationCountryId","checkBuyers","questionereEmpty","IsSmall","IsSmallComment","IsNotListed","IsNotListedComment","IsProfitNotShared","IsProfitNotSharedComment","IsNotJoined","IsNotJoinedComment","IsNotTaken","IsNotTakenComment","IsNotProblemic","IsNotProblemicComment","returnEldership","returnSettlement","submit","_Object$values","check","ApplicantEmail","requestType","FarmData","ManagerData","DocumentDate","addHours","DocumentExpiredDate","OtherRequestData","ControllingCompanies","ControllingForeignCompanies","ContactInfo","CompanyData","ActivityAddressEldership","ActivityAddressMunicipalityId","ActivityAddressEldershipId","RegistrationAddressSettlement","RegistrationAddressMunicipalityId","RegistrationAddressSettlementId","FinancialData","ActivityRegions","activityRegionIds","AMLPEPcomment","aMLPEPcomment","Checks","Questionnaire","ShowQuestionList","questionnaire","parentCompanyCode","ParentCompanyCode","HasImportantResponsibilities","HasControllingPersons","HasControllingCompanies","HasImportantResponsibilitiesMoreThan4","importantResponsibilityPersons","ImportantResponsibilityPersons","controllingPersons","ControllingPersons","areAllValuesFalsy","setSavedRequest","ApplicantData","IncomeSources","incomeSourceIds","IndividualActivityCertificateNumberStartDate","onImportantResponsibilitiesChange","propName","onControllingPersonsChange","parseInt","onControllingCompaniesChange","setRequestId","savedRequest","isRequeredToCheck","isCheckBox","reason","setReason","onManagerInputChange","onOtherRequestInputChange","handleManagerDateChange","setUserComment","setMainText","setQuestionnaire","activityRegionId","setActivityRegionId","setAMLPEPcomment","isStatusGood","setIsStatusGood","setRequestSystemInfo","isSelectedEvrkInTheList","fromWhere","_requestData$FarmData","_requestData$OtherReq","_requestData$OtherReq2","CompanyEvrk","RegistrationAddressMunicipality","ActivityAddressMunicipality","ActivityAddressSettlement","ParentCompanyCodesFromRequest","setIncomeSourcesIds","setActivityRegionIds","Iban","PepData","positionId","PositionId","Surname","birthDate","BirthDate","pepPositionId","PepPositionId","institution","Institution","country","Country","citizenshipId","CitizenshipId","personCode","PersonCode","Position","personControlId","PersonControlId","sharesPart","SharesPart","votingPart","VotingPart","stateOfResidenceForTaxPurposesId","StateOfResidenceForTaxPurposesId","stateOfTheTaxpayerId","StateOfTheTaxpayerId","stateTaxIdentificationNumber","StateTaxIdentificationNumber","stockApprove","StockApprove","stockName","StockName","stockCountryId","StockCountryId","stockIsin","StockIsin","Suppliers","RegistrationCountryId","Evrk","BasisForPayments","Buyers","Invoice","RentDate","InvoiceType","arrangeTurnovers","TurnoversInfo","AMLPEPComment","list","financialDataArray2019","financialDataArray2020","financialDataArray2021","formatEvrkJson2","getValueByCode","_foundValue$label","foundValue","onEvrkInputChange","_ref21","onAddressInputChange","_ref22","RegistrationAddressDistrict","RegistrationAddressDistrictId","RegistrationAddressEldership","RegistrationAddressEldershipId","ActivityAddressDistrict","ActivityAddressDistrictId","ActivityAddressSettlementId","CompanySizeType","CompanyRegistrationDate","returnCountryNameById","_find$","administrationInvoices","setAdministrationInvoices","cleanedResponse","getContractName","selfDeclarationData","setSelfDeclarationtData","checkIf2021FinancesToShow","checkDate","onSuppliersChange","onBuyersChange","checkControlingPersonsLinesFullyFilled","checkControlingCompaniesLinesFullyFilled","areBaseValuesFilled","areAdditionalValuesFilled","checkResponsibilityPersonsLinesFullyFilled","enforceMinMax","_el","_el$target","_el2","_el2$target","_el3","_el3$target","_el5","_el5$target","_el6","_el6$target","_el4","_el4$target","_el7","_el7$target","min","max","incomeSourceOptions","activityRegionOptions","every","obj","requestBlockAll","onCompanyDataCheckBoxChange","evrkTitle","ActivityInfo","LicenceNeeded","onCountryInputChange2","CompanyRegistrationCountryId","onCountryInputChange3","onCountryInputChange4","StateOfTheTaxpayer","maxDate","clearDateButton","onBasisOfRepresentationIdChange","BasisOfRepresentationId","onDocumentTypeIdChange","DocumentTypeId","onCountryInputChange","CompanyManagerCitizenshipId","onCountryInputChange5","DocumentIssuedCountryId","onCountryInputChange6","onCountryInputChange7","onCountryInputChange8","PermanentResidenceCountryId","isOldEvrkValid","onFarmDataCheckBoxChange","handleFarmDateChange","toISOString","selectedOptions","Fsi2021Submitted","margin","Fsi2020Submitted","Fsi2019Submitted","maxLength","v","match","onSubjectRelationIdChange","SubjectRelationId","onCompanySizeTypeChange","has","hasParentCompany","onKeyPress","which","preventDefault","evt","theEvent","clipboardData","keyCode","String","fromCharCode","returnValue","NumberOfEmployees","ControllingCompaniesFromRequest","IsFound","Financials","RegistrationDate","k","p","_requestData$PepData$","_requestData$PepData$2","_requestData$PepData$3","_requestData$PepData$4","_requestData$PepData$7","_requestData$PepData$8","_requestData$PepData$9","_requestData$PepData$10","_requestData$PepData$5","_requestData$PepData$6","onHasImportantResponsibilitiesMoreThan4Change","_requestData$PepData$11","_requestData$PepData$12","_requestData$PepData$13","_requestData$PepData$14","_requestData$PepData$17","_requestData$PepData$18","_requestData$PepData$19","_requestData$PepData$20","_requestData$PepData$23","_requestData$PepData$24","_requestData$PepData$25","_requestData$PepData$26","_requestData$PepData$29","_requestData$PepData$30","_requestData$PepData$15","_requestData$PepData$16","_requestData$PepData$21","_requestData$PepData$22","_requestData$PepData$27","_requestData$PepData$28","onKeyUp","_requestData$PepData$31","_requestData$PepData$32","_requestData$PepData$33","_requestData$PepData$34","_requestData$PepData$37","_requestData$PepData$38","_requestData$PepData$39","_requestData$PepData$40","_requestData$PepData$41","_requestData$PepData$42","_requestData$PepData$43","_requestData$PepData$44","_requestData$PepData$45","_requestData$PepData$46","_requestData$PepData$47","_requestData$PepData$35","_requestData$PepData$36","_requestData$PepData$48","_requestData$PepData$49","onMultiSelectChange2","checkIfAllSuppliersLinesFullyFilled1","checkIfAllSuppliersLinesFullyFilled2","checkIfAllSuppliersLinesFullyFilled3","checkIfAllSuppliersLinesFullyFilled4","_requestData$Supplier","_requestData$Supplier2","_requestData$Supplier3","_requestData$Supplier4","_requestData$Supplier7","_requestData$Supplier8","_requestData$Supplier9","_requestData$Supplier10","_requestData$Supplier15","_requestData$Supplier16","_requestData$Supplier17","_requestData$Supplier18","_requestData$Supplier19","_requestData$Supplier20","_requestData$Supplier21","_requestData$Supplier22","_requestData$Supplier5","_requestData$Supplier6","_requestData$Supplier11","_requestData$Supplier12","_requestData$Supplier13","_requestData$Supplier14","checkIfAllBuyersLinesFullyFilled1","checkIfAllBuyersLinesFullyFilled2","checkIfAllBuyersLinesFullyFilled3","checkIfAllBuyersLinesFullyFilled4","_requestData$Buyers","_requestData$Buyers$k","_requestData$Buyers2","_requestData$Buyers2$","_requestData$Buyers4","_requestData$Buyers4$","_requestData$Buyers5","_requestData$Buyers5$","_requestData$Buyers8","_requestData$Buyers8$","_requestData$Buyers9","_requestData$Buyers9$","_requestData$Buyers10","_requestData$Buyers11","_requestData$Buyers12","_requestData$Buyers13","_requestData$Buyers3","_requestData$Buyers3$","_requestData$Buyers6","_requestData$Buyers6$","_requestData$Buyers7","_requestData$Buyers7$","_e$target","_e$target$value","LoanTerm","LoanDelayTerm","LoanPaymentDay","onCheckBoxChange","ProjectReturnUrl","FileUploadContainer","DocumentCreatedAt","RowTableAdmin","ApplicantSigningDate","InvegaSigningDate","ChangeConditionsFileId","_ref26","ContractId","CreatedAt","ContractNumber","AdministrationFee","contractNumber","AdditionalFileUploadContainer","CommentsHistory","NewComment","btnBlock","copyRequest","SignContractModal","FinancialCriteriaModal","FsiYear2020","ConfirmWithoutFinancialCriteriaModal","ChangeConditionsModal","GoBackConfirmationModal","ConfirmWithoutFinancialCriteriaForChangeConditionsModal","useHistory","LoanEvrk","SelfDeclaration","InvegaReason","onApplicantInputChange","DeclarationInfo","personRelation","PersonRelation","isValidIban","LoanSocialBusiness","companyRegistrationDate","individualRegistrationData","ageMinus5Years","subYears","ageLessThen5","_input$name","_input$surname","_input$birthDate","_input$position","_input$personRelation","onApplicantDataCheckBoxChange","yearDropdownItemNumber","scrollableYearDropdown","showYearDropdown","handleApplicantDateChange","clearContractStartDate","checkControllingPersons","_requestData$PepData","_requestData$PepData2","_requestData$PepData3","_requestData$PepData4","_requestData$PepData5","_requestData$PepData6","_requestData$PepData7","_requestData$PepData8","_requestData$PepData9","_requestData$PepData10","_requestData$PepData11","_requestData$PepData12","_requestData$PepData13","_requestData$PepData14","_requestData$PepData15","_requestData$PepData16","setSum","isSumValid","setValue","Sum","loanDelayTerm","invegaLoanSum2","invegaLoanInterestRate2","invegaLoanVariableInterestRate2","InvegaLoanPaymentTerm2","invegaContractNumber2","invegaLoanDelayTerm2","invegaPaymentDate2","setInvegaLoanInterestRate","invegaLoanVariableInterestRate","setInvegaLoanVariableInterestRate","setinvegaLoanPaymentTerm","generateInvoice","setGenerateInvoice","invoiceFee","setInvoiceFee","setInvegaLoanSum","setInvegaContractNumber","invegaPaymentDate","setInvegaPaymentDate","setInvegaLoanDelayTerm","euriborChangeDate","seteuriborChangeDate","interestTypeId","setInterestTypeId","euriborPeriodId","setEuriborPeriodId","invegaLoanPurposeId","setInvegaLoanPurposeId","formattedData","formattedData3","results","checkLoanDelayTermFormat","isInteger","inputsContainer","inputsInline","minDate","paddingleft","bottomInput","subDays","invoiceContainer","invoiceInline","checkboxTitle","assessorsList","assessor","setAssessor","setComment","badFinancialCondition","setBadFinancialCondition","changeConditionsModal","RedCheckboxTitle","changeConditionsModal__btnContainer","invegaLoanPaymentTerm2","euriborChangeDate2","interestTypeId2","euriborPeriodId2","setEuriborChangeDate","marginleft","companySizeTypeIdInvega","setCompanySizeTypeIdInvega","companySizeTypeId","notDeletableProp","setNotDeletable","dataToSent","yesNOModalInfo","globalYesNoModalInfo","loanPaymentDay2","firstInterestChangeDate2","iban2","firstInterestChangeDate","setFirstInterestChangeDate","paymentDate","setPaymentDate","iban","setIban","formattedData2","returnFirstInterestChangeDate","invedaSign","nextYearFirstDay","setYear","setMonth","setDate","halfYearLater","addMonths","quarterYearLater","error2","adjustTill","setAdjustTill","RepresentedCompanyCode","RepresentedPersonalCode","RepresentativeType","RepresentedLastName","RepresentedFirstName","RepresentedCompanyName","localLoading","setLocalLoading","container2","rejectWithoutFile","setRejectWithoutFile","rejectByClient","setRejectByClient","inline","containerLabel","_requestsState$data2","_requestsState$data3","_requestsState$data3$","_requestsState$data$O","_requestsState$data4","_requestsState$data4$","_requestsState$data5","_requestsState$data6","_requestsState$repres","_requestsState$data$F","_requestsState$data$F2","_requestsState$data7","_requestsState$data8","_requestsState$data8$","_requestsState$data9","_requestsState$data9$","_requestsState$data10","_requestsState$data11","_requestData$Controll","_requestsState$data12","_requestsState$data13","_requestsState$data14","_requestsState$data15","_requestsState$data16","_requestsState$data17","_requestsState$data18","_requestsState$data19","_requestsState$data20","_requestsState$data21","_requestsState$data22","_requestsState$data23","_requestsState$data24","_requestsState$data25","_requestsState$data26","_requestsState$data27","_requestsState$data28","_requestsState$data29","_requestsState$data30","_requestsState$data31","_requestsState$data32","_requestsState$data33","_requestsState$data34","_requestsState$data35","_requestsState$data36","_requestsState$data37","_requestsState$data38","_requestsState$data39","_requestsState$data40","_requestsState$data41","_requestsState$data42","_requestsState$data43","_requestsState$data44","_requestsState$data45","_requestsState$data46","_requestsState$data47","_requestsState$data48","_requestsState$data49","_requestsState$data50","_requestsState$data51","_requestsState$data52","_requestsState$data53","_requestsState$data54","_requestsState$data55","_requestsState$data56","_requestsState$data57","_requestsState$data58","_requestsState$data59","_requestsState$data60","_requestsState$data61","_requestsState$data62","_requestsState$data63","_requestsState$data64","_requestsState$data65","_requestsState$data66","_requestsState$data67","_requestsState$data68","_requestsState$data69","_requestsState$data70","_requestsState$data71","_requestsState$data72","_requestsState$data73","_requestsState$data74","_requestsState$data75","amlPepTrueFalseTranslation","managerDataList","rentContract","setRentContract","modalMainText","setModalMainText","invoices","setInvoices","debtSum","invoiceType","checkAlreadyPayed","vmiInvoiceStatus","checkIsComparative","SumWithoutPvm","DebtSumWithoutPvm","setUserCommentChecked","riskAssessmentNote","setRiskAssessmentNote","editAmlPepTable","setEditAmlPepTable","editRiskTable","setEditRiskTable","riskAssessmentResults","setRiskAssessmentResults","riskLevel","setRiskLevel","additionalRequestsLoading","setAdditionalRequestsLoading","downloadUploadedFile","GetSignedDocumentContractManager","checkFinancialCriteriaResults","isDate","hasInvoice","setHasInvoice","_requestsState$data","Comment","RiskAssessmentResults","RiskLevelId","RentContract","checkAdditionalRule1","CheckAdditionalRules","checkAdditionalRule2","checkAdditionalRule3","UserComment","RealEstateObjectId","setApproversCommen","setSignatorysComment","activityRegions","setActivityRegions","setGenerateNoteAboutNoFinanceFromBanks","euriborTranslation","checkTypeIdTranslate","resultIdEnum","riskIdEnum","openedMessageText","setOpenedMessagetext","messageShow","trimmedMessage","openMessageModal","setRequestData","RiskAssessmentNote","approversComment","signatorysComment","isInArray","from19To20","addExclamation","faExclamation","showErr","setShowErr","riskAssessmentDate","setRiskAssessmentDate","riskAssessmentResult","setRiskAssessmentResult","findInvegaSigningDate","contract","fsiYear","FsiYear2019","fileTypeTranslation2","uploadStyles","FileId","FileTypeId","AmlChecks","Query","HasSanctions","HasPep","CheckTypeId","CheckResultId","AmlCount100","AmlCount85","PepCount100","PepCount85","CheckResultIdTranslation","criteriaIdEnums","CriteriaId","AmlCheckTypeId","CheckName","fieldIdEnums","RiskAssessmentFieldId","AssessmentValue","ResultId","onAmlPepResultIdChange","resultId","updatedResults","Note","onAmlPepNoteChange","newNote","onAmlPepDateChange","newDate","riskAssessmentEntries","saveAmlPepAdditionalData","greenInput","yellowInput","redInput","returnRiskLevelClass","saveRiskLevel","additionalJadisRequest","additionalAMLRequest","AllInvoicesConfirmed","trueFalseTranslation","saveComment","SharesInfo","Shares","Type","DataRecieved","DataUpdated","CapitalSize","CapitalSizeCurrency","NumberOfShares","NominalValue","NominalValueCurrency","shareHolderTypeTranslate","CompanyEvrks","DateFrom","DateTo","IsMain","IsRed","IndividualEvrks","translateIsBussinessSorrow","IsBussinessSorrow","VmiExportSum","VmiExportDate","VmiImportSum","VmiImportDate","CompanySizeTypeIdInvega","NotDeletable","AdjustTill","_signInInfo$i","_signInInfo$i2","_signInInfo$i4","CommentUser","CommentInvega","BadFinancialCondition","Active","showChangeFile","_signInInfo$i3","_signInInfo$i5","InvegaSignatureNeeded","InvegaContractNumber","InvegaLoanPurposeId","InvegaLoanPaymentTerm","InvegaLoanDelayTerm","InvegaPaymentDate","InterestTypeId","EuriborPeriodId","FirstInterestChangeDate","EuriborChangeDate","InvegaLoanInterestRate","InvegaLoanVariableInterestRate","InvegaContractNumberCc","InvegaLoanSumCc","InvegaLoanPaymentTermCc","InvegaLoanDelayTermCc","InvegaPaymentDateCc","InterestTypeIdCc","EuriborPeriodIdCc","FirstInterestChangeDateCc","EuriborChangeDateCc","InvegaLoanInterestRateCc","InvegaLoanVariableInterestRateCc","takeRequestToEvaluate","changeCompanySize","confirmClick","confirmRequestNew","confirmWithDocsClick","returnClick","rejectClick","changeStatusClick","changeStatus3Click","changeStatus17Click","changeContract","changeSetNotDeletable","acceptConditionsChangeRequest","returnChangeConditionsModalOpen","hasChangeCOnditionsDoc","hasChangeConditionsRequestDoc","changeConditionsModalOpen","rejectConditionsChangeRequest","CommentedBy","ActionLogType","ChangedBy","SectorType","DoublecheckEvaluationModal","RegenerateDecisionDocModal","IncreaseInvegaLoanSumModal","InvegaLoanSumModal","ConfirmRequestModal","TakeRequestToEvaluateModal","ChangeContractFile","ChangeCompanySize","AcceptConditionsChangeRequestModal","RejectConditionsChangeRequest","ApproveRequestWithAdditionalDocs","TerminateRequestModal","ChangeConditionsBoModal","GlobalMessageModal","SubmitConditionsChangeRequestModal","ReturnChangeConditionsModal","ReturnModal","ConfirmWithAdditionalDocs","ConfirmRequestNew","ConfirmRejectNew","ChangeSetNotDeletable","_requestsState$data7$","changeStatus13Click","_statsState$data2","_statsState$data3","requestsTableHeader","requestsTableHeader2","requestsTableHeader3","_val$Requests","_val$Requests2","_val$Totals","_val$Totals2","_val$Totals3","Requests","Count","fontWeight","Totals","MaxSum","Rezerved","Reminder","setTriedToSubmit","surveyValues","setSurveyValues","starterRatingId","invegaCommunicationRatingId","invegaFinancialRatingId","onDropdownChange","errorsBlockText","_paymentRequestsList$","_paymentRequestsList$2","act","shadow","paymentRequestsListTHead","rowSpan","maxWidth","Items","paymentRequestsListTR","paymentRequestsListTD","toString","LoanSumRemainder","RequiredSumTotal","FundedSumTotal","FundedSumPercentTotal","PaymentRequestStatusId","StatusChangeDate","IsManagerEdited","paymentRequestsListTRFoot","InvestmentSumTotal","addNewPaymentRequest","paymentRequestsBtnInline","viewRequest","SurveyModal","_data$ContractInfo","_data$ContractInfo2","_data$ContractInfo5","_data$ContractInfo6","ContractInfo","_data$ContractInfo3","_data$ContractInfo4","getNameByFileType","_documentTypes$find","getFileType","iconPointer","actionsLog","setActionsLog","paymentRequestLogTranslation","closedDialogResponse","_paymentRequest$Contr","_paymentRequest$Contr2","_paymentRequest$Contr3","_paymentRequest$Contr4","_paymentRequest$Contr5","_paymentRequest$Contr6","_paymentRequest$Contr7","_paymentRequest$Contr8","_paymentRequest$Contr9","_paymentRequest$Finan","_paymentRequest$Finan2","_paymentRequest$Finan3","_paymentRequest$Docum","_paymentRequest$Docum2","_paymentRequest$Docum3","_paymentRequest$Docum4","_paymentRequest$Docum5","_paymentRequest$Docum6","_paymentRequest$Docum7","_paymentRequest$Docum8","_paymentRequest$Docum9","_paymentRequest$Docum10","_paymentRequest$Docum11","_paymentRequest$Docum12","_paymentRequest$Contr14","_paymentRequest$Contr15","_paymentRequest$Contr16","_paymentRequest$Contr17","_paymentRequest$Contr18","setComments","Comments","DocumentsInfo","Documents","IsApproved","checkedArray","setCheckboxValues","formDate","contractInfo","fieldType","financialInfo","FinancialInfo","showWhenStatus","additionalSymbols","displayNotSavedMessage","checkInvegaCommentDisabled","_paymentRequest$Contr12","statusArr","_paymentRequest$Contr10","_paymentRequest$Contr11","checkVisibility","overflow","paymentReqStyles","paymentRequestsListTH","_paymentRequest$Contr13","onCheckboxSelect","newArr","arr","SupplierName","SupplierCode","DocumentNumber","DocumentSum","RequiredSum","FundedSumPercent","FundedSum","_window$location$path","_window$location$path2","reduce","PaymentRequestFileUploadContainer","getLastInvegaComment","_paymentRequest$Comme","approvePaymentRequest","downloadPrList","ManagerActionLog","PaymentRequestSendforApproveModal","saveDataOnUploadCallback","saveDataAfterUpload","DocumentType","isNotEmptyString","registerLocale","lt","triedSave","setTriedSave","setActionType","checkBOEditPage","getInputEditStatus","boCanEdit","boCanEditInfoValues","setBOCanEditInfoValues","setLoanPurpose","documentSum","setDocumentSum","investmentSumLeft","setInvestmentSumLeft","turnoverSumLeft","setTurnoverSumLeft","investmentSum","setInvestmentSum","requiredSum","setRequiredSum","turnoverSum","setTurnoverSum","managerInfo","setManagerInfo","convertStrValueToNumber","_value","_value2","Remainders","getDropdownNameByValue","dropdown","_dropdown$find","updateNumberValueOnBlur","inputValue","setDocumentInfoValues","documentInfoValues","documentInfo","dropdownInfo","required","requiredType","defaultErrorMessage","customFunction","checkSupplierCode","emptyStr","SupplierIsCompany","onblur","checkFundsDropdown","nr","FundsOriginTypeId1","FundsOriginTypeId2","checkConnectedValues","checkFundsSum","forEach","setValueChanged","isUnsavedChanges","setIsUnsavedChanges","ValidateInput","defaultMessage","minValue","maxValue","isValidDropdown","inputDate","isValidDateTillToday","ValidateInputs","allValids","save","charAt","toLowerCase","prDocumentId","ManagerComment","supplierIsCompany","supplierName","supplierCode","documentNumber","documentDate","FundsSum1","FundsSum2","created","onDropdownInputChange","checkBOCanEdit","boCantEditFields","_paymentRequestPrDocu","managerValue","ManagerInfo","RequiredSumNum","getValue","InvestmentSum","TurnoverSum","PaidOutTotalSumPercent","FundedInvestmentSumPercent","FundedTurnoverSumPercent","getSumValue","_paymentRequestPrDocu2","_paymentRequestPrDocu3","_paymentRequestPrDocu4","_paymentRequestPrDocu5","currInvestmentSum","currTurnoverSum","TurnoverRemainder","InvestmentRemainder","dropdownItemSelected","valStr","infStr","backToPaymentRequest","setSaved","setError","goBack","getBOValue","_paymentRequestPrDocu6","_paymentRequestPrDocu7","_boCanEditInfoValues$","_getBOValue","maxlength","onBlur","sel","UTC","getHours","getMinutes","getSeconds","locale","clearDateField","PaymentDocumentFileUploadContainer","setCompanyCode","setList","renewList","justifyContext","Finished","UserPersonalName","ResponseCreatedAt","ManagerName","AppointedAt","UserName","path2","substring","tokenstring","Route","component","Backoffice","exact","BackofficeRequest","BackofficeRequest2","BackofficeStats","PaymentRequestsList","PaymentRequest","PaymentDocument","TurnoversFiles","BackofficeAuthorization","VmiRequests","Main","Representative","NewRequest","NewRequest2","LoginReload","_window$location","adminLoggedIn","showSubmenu","Router","Header","Submenu","Switch","Guest","BackofficeLogin","Description","PrivateRoute","deniedMsg","ruleMessageText","criteriaValue","translationsForValidationInputs","createHistory","onload","errModalOpen","infoModal","validationModal","Routes","GlobalErrorModal","InformationModal","ValidationErrorModal","sagaMiddleware","createSagaMiddleware","middlewares","devTools","__REDUX_DEVTOOLS_EXTENSION__","enhancers","compose","applyMiddleware","store","createStore","run","all","Boolean","render","Provider","App","navigator","serviceWorker","ready","registration","unregister"],"mappings":";2FACAA,EAAOC,QAAU,CAAC,UAAY,2BAA2B,QAAU,yBAAyB,aAAe,gC,oBCA3GD,EAAOC,QAAU,CAAC,UAAY,2CAA2C,cAAgB,+CAA+C,iBAAmB,kDAAkD,MAAQ,uCAAuC,aAAe,gD,oBCA3QD,EAAOC,QAAU,CAAC,UAAY,+BAA+B,aAAe,kCAAkC,MAAQ,2BAA2B,MAAQ,2BAA2B,MAAQ,2BAA2B,QAAU,6BAA6B,gBAAkB,qCAAqC,aAAe,kCAAkC,MAAQ,2BAA2B,gBAAkB,qCAAqC,gBAAgB,mCA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MAAO,oCACT,IAAK,mBACH,MAAO,oCACT,IAAK,mBACH,MAAO,oCAET,IAAK,gBACH,MAAO,6CACT,IAAK,gBACH,MAAO,6CACT,IAAK,gBACH,MAAO,6CACT,IAAK,gBACH,MAAO,6CACT,IAAK,mBACH,MAAO,gEACT,IAAK,mBACH,MAAO,gEACT,IAAK,2BACH,MAAO,sDACT,IAAK,wBACH,MAAO,6DACT,IAAK,aACH,MAAO,yFACT,IAAK,yBACH,MAAO,wDACT,IAAK,mBACH,MAAO,6LACT,IAAK,OACH,MAAO,yRACT,IAAK,iBACH,MAAO,qOACT,IAAK,wBACH,MAAO,gQACT,IAAK,UACH,MAAO,8MACT,IAAK,0BACH,MAAO,+OACT,IAAK,4BACH,MAAO,iBACT,IAAK,6BACH,MAAO,4GACT,IAAK,SACH,MAAO,oBACT,IAAK,eACH,MAAO,eACT,IAAK,OACH,MAAO,4IACT,IAAK,UACH,MAAO,YACT,IAAK,yCACH,MAAO,6FACT,IAAK,kDACH,MAAO,uGACT,IAAK,UACH,MAAO,gHACT,IAAK,sCACH,MAAO,2FACT,IAAK,+CACH,MAAO,0EACT,IAAK,mBACH,MAAO,yJAET,IAAK,mBACH,MAAO,6UAET,IAAK,kBACH,MAAO,2OAET,IAAK,0BACH,MAAO,4VACT,IAAK,gBACH,MAAO,oBAET,IAAK,YACH,MAAO,oUACT,IAAK,oBACH,MAAO,4RACT,IAAK,4BACH,MAAO,qQACT,IAAK,qBACH,MAAO,6RAET,IAAK,0BACH,MAAO,mZACT,IAAK,GACH,OACF,IAAK,aACH,MAAO,+CACT,IAAK,UACH,MAAO,kCACT,IAAK,WACH,MAAO,4CACT,IAAK,gBACH,MAAO,+CACT,IAAK,qBACH,MAAO,4DACT,IAAK,gBACH,MAAO,qBACT,IAAK,iBACH,MAAO,+CAET,IAAK,oBACH,MAAO,qPACT,IAAK,SACH,OACF,IAAK,SACH,MAAO,iEACT,IAAK,SACH,MAAO,sGACT,IAAK,qBACH,MAAO,2OACT,IAAK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ACRC,OAAQ,yEACRC,KAAQ,sCACRC,OAAQ,6EACRC,OAAQ,4DACRC,OAAQ,8CACRC,OAAQ,oDACRC,OAAQ,iEACRC,KAAQ,2FACRC,KACE,iLACFC,MACE,6KACFC,MACE,0JACFC,KAAQ,wEA4jCGG,GAAoB,CAC/B,CACEhtD,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,qBAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,oBAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,qCAET,CACEnS,MAAO,KACPmS,MAAO,0BAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,2CAET,CACEnS,MAAO,KACPmS,MAAO,8BAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,oCAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,wBAET,CACEnS,MAAO,KACPmS,MAAO,0BAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,qBAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,mBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,QAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,mCAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,gCAET,CACEnS,MAAO,KACPmS,MAAO,2CAET,CACEnS,MAAO,KACPmS,MAAO,wCAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,yBAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,0BAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,qCAET,CACEnS,MAAO,KACPmS,MAAO,uCAET,CACEnS,MAAO,KACPmS,MAAO,2BAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,QAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,8CAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,uBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,sCAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,oDAET,CACEnS,MAAO,KACPmS,MAAO,8BAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,WAGT,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,qBAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,QAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,8BAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,QAET,CACEnS,MAAO,KACPmS,MAAO,iCAET,CACEnS,MAAO,KACPmS,MAAO,oEAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,mBAET,CACEnS,MAAO,KACPmS,MAAO,2BAET,CACEnS,MAAO,KACPmS,MAAO,8CAET,CACEnS,MAAO,KACPmS,MAAO,iCAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,yBAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,qBAET,CACEnS,MAAO,KACPmS,MAAO,UAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,mBAET,CACEnS,MAAO,KACPmS,MAAO,cAET,CACEnS,MAAO,KACPmS,MAAO,SAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,kCAET,CACEnS,MAAO,KACPmS,MAAO,iBAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,2BAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,gCAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,oBAET,CACEnS,MAAO,KACPmS,MAAO,mBAET,CACEnS,MAAO,KACPmS,MAAO,iCAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,WAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,+BAET,CACEnS,MAAO,KACPmS,MAAO,eAET,CACEnS,MAAO,KACPmS,MAAO,wCAET,CACEnS,MAAO,KACPmS,MAAO,kBAET,CACEnS,MAAO,KACPmS,MAAO,gBAET,CACEnS,MAAO,KACPmS,MAAO,mBAET,CACEnS,MAAO,KACPmS,MAAO,+BAET,CACEnS,MAAO,KACPmS,MAAO,kCAET,CACEnS,MAAO,KACPmS,MAAO,yBAET,CACEnS,MAAO,KACPmS,MAAO,6CAET,CACEnS,MAAO,KACPmS,MAAO,yBAET,CACEnS,MAAO,KACPmS,MAAO,sBAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,YAET,CACEnS,MAAO,KACPmS,MAAO,aAET,CACEnS,MAAO,KACPmS,MAAO,2BAET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,gBAAgB,yDAAyD,eAAe,wDAAwD,qBAAuB,gEAAgE,cAAgB,yDAAyD,aAAa,wD,mBCAp6BD,EAAOC,QAAU,CAAC,UAAY,sDAAsD,aAAe,yDAAyD,cAAgB,0DAA0D,iBAAmB,6DAA6D,MAAQ,kDAAkD,MAAQ,kDAAkD,MAAQ,kDAAkD,QAAU,oDAAoD,gBAAkB,4DAA4D,aAAe,yDAAyD,gBAAkB,4DAA4D,aAAe,yDAAyD,YAAc,wDAAwD,iBAAmB,6DAA6D,MAAQ,kDAAkD,sBAAwB,kEAAkE,oCAAsC,gFAAgF,gBAAgB,0DAA0D,eAAe,yDAAyD,aAAa,yD,mBCA74CD,EAAOC,QAAU,CAAC,UAAY,yCAAyC,aAAe,4CAA4C,MAAQ,qCAAqC,MAAQ,qCAAqC,MAAQ,qCAAqC,QAAU,uCAAuC,gBAAkB,+CAA+C,aAAe,4CAA4C,gBAAkB,+CAA+C,aAAe,4CAA4C,YAAc,2CAA2C,iBAAmB,gDAAgD,MAAQ,qCAAqC,sBAAwB,qDAAqD,oCAAsC,mEAAmE,gBAAgB,6CAA6C,eAAe,4CAA4C,aAAa,6C","file":"static/js/main.f090eb6b.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"spinner_container__2gmpE\",\"spinner\":\"spinner_spinner__3v0om\",\"smallSpinner\":\"spinner_smallSpinner__Daqh1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalConfirmationModal_container__2719n\",\"checkboxTitle\":\"globalConfirmationModal_checkboxTitle__17jHw\",\"RedCheckboxTitle\":\"globalConfirmationModal_RedCheckboxTitle__1kOw2\",\"modal\":\"globalConfirmationModal_modal__3P_We\",\"btnContainer\":\"globalConfirmationModal_btnContainer__3puH5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"surveyModal_container__2mp5K\",\"contentBlock\":\"surveyModal_contentBlock__3DLt-\",\"modal\":\"surveyModal_modal__bt2Ic\",\"close\":\"surveyModal_close__23DZg\",\"title\":\"surveyModal_title__1p4EO\",\"content\":\"surveyModal_content___JOSp\",\"ruleMessageText\":\"surveyModal_ruleMessageText__2LdOl\",\"btnContainer\":\"surveyModal_btnContainer__1zI3E\",\"table\":\"surveyModal_table__1bB8C\",\"errorsBlockText\":\"surveyModal_errorsBlockText__tpVJS\",\"buttons-group\":\"surveyModal_buttons-group__2N-24\",\"display-flex\":\"surveyModal_display-flex__3E3n7\",\"login-form\":\"surveyModal_login-form__29azp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"informationModal_container__2t6-m\",\"contentBlock\":\"informationModal_contentBlock__3qAuQ\",\"modal\":\"informationModal_modal__jhXrn\",\"close\":\"informationModal_close__38uGd\",\"title\":\"informationModal_title__2WhQN\",\"content\":\"informationModal_content__pvm3Z\",\"ruleMessageText\":\"informationModal_ruleMessageText__2mkQx\",\"buttons-group\":\"informationModal_buttons-group__33NHd\",\"display-flex\":\"informationModal_display-flex__3dNuM\",\"loginButtonContainer\":\"informationModal_loginButtonContainer__2ZuUy\",\"smallGrayText\":\"informationModal_smallGrayText__25bE7\",\"login-form\":\"informationModal_login-form__1Ullc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"validationErrorModal_container__2svFl\",\"contentBlock\":\"validationErrorModal_contentBlock__A9PwY\",\"criteriaContainer\":\"validationErrorModal_criteriaContainer__3MDWg\",\"modal\":\"validationErrorModal_modal__3pwp5\",\"close\":\"validationErrorModal_close___l8JI\",\"title\":\"validationErrorModal_title__2ZtZw\",\"content\":\"validationErrorModal_content__2K6FA\",\"ruleMessageText\":\"validationErrorModal_ruleMessageText__6rgio\",\"buttons-group\":\"validationErrorModal_buttons-group__3SZgN\",\"display-flex\":\"validationErrorModal_display-flex__3vQna\",\"loginButtonContainer\":\"validationErrorModal_loginButtonContainer__1Rzc-\",\"smallGrayText\":\"validationErrorModal_smallGrayText__2B73Y\",\"login-form\":\"validationErrorModal_login-form__6OzoB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"backoffice_container__23VHz\",\"filterText\":\"backoffice_filterText__2byQC\",\"filterText2\":\"backoffice_filterText2__19h-l\",\"rightBtnContainer\":\"backoffice_rightBtnContainer__3i4Tx\",\"iconsContainer\":\"backoffice_iconsContainer__1JG8z\",\"filterInput\":\"backoffice_filterInput__8rF7u\",\"selectInput\":\"backoffice_selectInput__1mzpr\",\"dateFilterContainer\":\"backoffice_dateFilterContainer__1EbYC\",\"inputLabel\":\"backoffice_inputLabel__1v5LX\",\"tableButtonsInline\":\"backoffice_tableButtonsInline__1M7p0\",\"greenInput\":\"backoffice_greenInput__16pjj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"loginModal_container__13tMY\",\"modal\":\"loginModal_modal__2JLV6\",\"close\":\"loginModal_close__1WtMB\",\"title\":\"loginModal_title__1dQGN\",\"content\":\"loginModal_content__NJbHZ\",\"loginInputsContainer\":\"loginModal_loginInputsContainer__2_zIi\",\"errorsBlock\":\"loginModal_errorsBlock__oPegv\",\"errorsRefFormBlock\":\"loginModal_errorsRefFormBlock__2_lsM\",\"regButtonContainer\":\"loginModal_regButtonContainer__CYWGN\",\"loginForm\":\"loginModal_loginForm__1O_MH\",\"smallGrayText\":\"loginModal_smallGrayText__3jE5E\",\"reset-password\":\"loginModal_reset-password__18OJn\",\"display-flex\":\"loginModal_display-flex__N3w_0\",\"buttons-group\":\"loginModal_buttons-group__3B0RD\",\"regContainer\":\"loginModal_regContainer__GlY2-\",\"loginButtonContainer\":\"loginModal_loginButtonContainer__2k1fn\",\"rememberPassButtonContainer\":\"loginModal_rememberPassButtonContainer__3V4X5\",\"successPassRecoveryMsg\":\"loginModal_successPassRecoveryMsg__2pA0c\",\"badLoginMessage\":\"loginModal_badLoginMessage__6lmIQ\",\"login-form\":\"loginModal_login-form__2gpIH\",\"infoContainer\":\"loginModal_infoContainer__Y3Rxe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"permissionDeniedModal_container__gRP47\",\"contentBlock\":\"permissionDeniedModal_contentBlock__mi25V\",\"modal\":\"permissionDeniedModal_modal__a2LFa\",\"close\":\"permissionDeniedModal_close__2x5ak\",\"title\":\"permissionDeniedModal_title__F41OR\",\"content\":\"permissionDeniedModal_content__3BV1a\",\"buttons-group\":\"permissionDeniedModal_buttons-group__3i8oq\",\"display-flex\":\"permissionDeniedModal_display-flex__rZssU\",\"loginButtonContainer\":\"permissionDeniedModal_loginButtonContainer__1bC7G\",\"smallGrayText\":\"permissionDeniedModal_smallGrayText__1LckA\",\"login-form\":\"permissionDeniedModal_login-form__2nUMO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmWithoutFinancialCriteriaModal_container__3FqfX\",\"contentBlock\":\"confirmWithoutFinancialCriteriaModal_contentBlock__3TaYs\",\"criteriaContainer\":\"confirmWithoutFinancialCriteriaModal_criteriaContainer__wLjPP\",\"modal\":\"confirmWithoutFinancialCriteriaModal_modal__nZXou\",\"close\":\"confirmWithoutFinancialCriteriaModal_close__TiBNT\",\"title\":\"confirmWithoutFinancialCriteriaModal_title__2zWTP\",\"content\":\"confirmWithoutFinancialCriteriaModal_content__3P_zC\",\"ruleMessageText\":\"confirmWithoutFinancialCriteriaModal_ruleMessageText__3aTHb\",\"btnContainer\":\"confirmWithoutFinancialCriteriaModal_btnContainer__3z4cS\",\"buttons-group\":\"confirmWithoutFinancialCriteriaModal_buttons-group__sqjB8\",\"display-flex\":\"confirmWithoutFinancialCriteriaModal_display-flex__41YwB\",\"loginButtonContainer\":\"confirmWithoutFinancialCriteriaModal_loginButtonContainer__AfLNL\",\"smallGrayText\":\"confirmWithoutFinancialCriteriaModal_smallGrayText__2qw5o\",\"login-form\":\"confirmWithoutFinancialCriteriaModal_login-form__2CODZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_container__1eBSC\",\"contentBlock\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_contentBlock__yVRht\",\"criteriaContainer\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_criteriaContainer__S1Q1u\",\"modal\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_modal__1avCE\",\"close\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_close__3xn7M\",\"title\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_title__2x5o6\",\"content\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_content__NlLII\",\"ruleMessageText\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_ruleMessageText__1Csh6\",\"btnContainer\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_btnContainer__3iqEP\",\"buttons-group\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_buttons-group__klzaL\",\"display-flex\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_display-flex__1PtSg\",\"loginButtonContainer\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_loginButtonContainer__3Jskv\",\"smallGrayText\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_smallGrayText__IZjrC\",\"login-form\":\"confirmWithoutFinancialCriteriaForChangeConditionsModal_login-form__2I606\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputTitle\":\"addressInputContainer_inputTitle__3CidW\",\"title\":\"addressInputContainer_title__3_3y0\",\"visible\":\"addressInputContainer_visible__1OwuR\",\"disabled\":\"addressInputContainer_disabled__1Hx8q\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"takeRequestToEvaluateModal_container__3FsBc\",\"contentBlock\":\"takeRequestToEvaluateModal_contentBlock__35esw\",\"modal\":\"takeRequestToEvaluateModal_modal__1DcWc\",\"close\":\"takeRequestToEvaluateModal_close__15Gfx\",\"title\":\"takeRequestToEvaluateModal_title__3OVyR\",\"content\":\"takeRequestToEvaluateModal_content__2CcBx\",\"ruleMessageText\":\"takeRequestToEvaluateModal_ruleMessageText__1KHYe\",\"btnContainer\":\"takeRequestToEvaluateModal_btnContainer__33EAA\",\"error\":\"takeRequestToEvaluateModal_error__2PfGH\",\"buttons-group\":\"takeRequestToEvaluateModal_buttons-group__1YaH5\",\"display-flex\":\"takeRequestToEvaluateModal_display-flex__2CMEl\",\"login-form\":\"takeRequestToEvaluateModal_login-form__2kG-a\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"changeCompanySize_container__2qDk_\",\"modal\":\"changeCompanySize_modal__34kWP\",\"btnContainer\":\"changeCompanySize_btnContainer__20uqK\",\"errorsBlockText\":\"changeCompanySize_errorsBlockText__1UAv6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"changeCompanySize_container__3sLqH\",\"modal\":\"changeCompanySize_modal__3urkl\",\"btnContainer\":\"changeCompanySize_btnContainer__1TOLb\",\"errorsBlockText\":\"changeCompanySize_errorsBlockText__32hWH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"deleteComfirmationModal_container__1iM7W\",\"contentBlock\":\"deleteComfirmationModal_contentBlock__1D0T9\",\"modal\":\"deleteComfirmationModal_modal__3hmf1\",\"close\":\"deleteComfirmationModal_close__366HP\",\"title\":\"deleteComfirmationModal_title__viGik\",\"content\":\"deleteComfirmationModal_content__xP_B3\",\"ruleMessageText\":\"deleteComfirmationModal_ruleMessageText__M04RJ\",\"btnContainer\":\"deleteComfirmationModal_btnContainer__2NB9O\",\"buttons-group\":\"deleteComfirmationModal_buttons-group__2HLR-\",\"display-flex\":\"deleteComfirmationModal_display-flex__2iVmq\",\"login-form\":\"deleteComfirmationModal_login-form__3fOh-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalConfirmationModal_container__2PCgz\",\"modal\":\"globalConfirmationModal_modal__UB2rA\",\"btnContainer\":\"globalConfirmationModal_btnContainer__23Evo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"paymentRequestSendforApproveModal_container__1nivF\",\"contentBlock\":\"paymentRequestSendforApproveModal_contentBlock__1lpse\",\"criteriaContainer\":\"paymentRequestSendforApproveModal_criteriaContainer__2mi6S\",\"modal\":\"paymentRequestSendforApproveModal_modal__2KdgD\",\"close\":\"paymentRequestSendforApproveModal_close__3kthf\",\"title\":\"paymentRequestSendforApproveModal_title__hrqdo\",\"content\":\"paymentRequestSendforApproveModal_content___3T3G\",\"ruleMessageText\":\"paymentRequestSendforApproveModal_ruleMessageText__2koTb\",\"btnContainer\":\"paymentRequestSendforApproveModal_btnContainer__3B-t4\",\"buttons-group\":\"paymentRequestSendforApproveModal_buttons-group__1CYvA\",\"display-flex\":\"paymentRequestSendforApproveModal_display-flex__34Gh9\",\"loginButtonContainer\":\"paymentRequestSendforApproveModal_loginButtonContainer__2NuhJ\",\"smallGrayText\":\"paymentRequestSendforApproveModal_smallGrayText__2m-Tu\",\"login-form\":\"paymentRequestSendforApproveModal_login-form__1Fbxs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalErrorModal_container__3kkXH\",\"modal\":\"globalErrorModal_modal__2DFSf\",\"close\":\"globalErrorModal_close__1eVFx\",\"title\":\"globalErrorModal_title__3kxMY\",\"content\":\"globalErrorModal_content__2VkBZ\",\"contentBlock\":\"globalErrorModal_contentBlock__11_YS\",\"buttons-group\":\"globalErrorModal_buttons-group__3Mh-x\",\"display-flex\":\"globalErrorModal_display-flex__3fkTr\",\"loginButtonContainer\":\"globalErrorModal_loginButtonContainer__D2VX_\",\"smallGrayText\":\"globalErrorModal_smallGrayText__Wx8-Y\",\"login-form\":\"globalErrorModal_login-form__AnzfQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"paymentRequestsListTH\":\"paymentRequest_paymentRequestsListTH__aRVFO\",\"paymentRequestsListTHead\":\"paymentRequest_paymentRequestsListTHead__3K4A_\",\"paymentRequestsListTD\":\"paymentRequest_paymentRequestsListTD__11N7N\",\"paymentRequestsListTR\":\"paymentRequest_paymentRequestsListTR__3TpKw\",\"iconsContainer\":\"paymentRequest_iconsContainer__1WsMX\",\"icon\":\"paymentRequest_icon__1OG5M\",\"paymentRequestsListTRFoot\":\"paymentRequest_paymentRequestsListTRFoot__4JWJe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"authorization_container__164-K\",\"iconsContainer\":\"authorization_iconsContainer__3E2YE\",\"selectflex\":\"authorization_selectflex__2DtEs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"header_container__2WiPs\",\"linkParagraph\":\"header_linkParagraph__hEU6s\",\"mainStats\":\"header_mainStats__1jPZn\",\"stats\":\"header_stats__CL5Jw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"footer_container__3G8Gg\",\"linkParagraph\":\"footer_linkParagraph__1HRNO\",\"footer\":\"footer_footer__32o01\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"loginBackOfficeModal_container__1QC7F\",\"modal\":\"loginBackOfficeModal_modal__1KsxX\",\"close\":\"loginBackOfficeModal_close__2HiaY\",\"title\":\"loginBackOfficeModal_title__3Yxdz\",\"content\":\"loginBackOfficeModal_content__3ibi_\",\"loginInputsContainer\":\"loginBackOfficeModal_loginInputsContainer__3HJTx\",\"errorsBlock\":\"loginBackOfficeModal_errorsBlock__3FoS8\",\"errorsRefFormBlock\":\"loginBackOfficeModal_errorsRefFormBlock__1XEz5\",\"regButtonContainer\":\"loginBackOfficeModal_regButtonContainer__BUZtw\",\"loginForm\":\"loginBackOfficeModal_loginForm__2Gpdi\",\"smallGrayText\":\"loginBackOfficeModal_smallGrayText__2YU0c\",\"reset-password\":\"loginBackOfficeModal_reset-password__LPlQp\",\"display-flex\":\"loginBackOfficeModal_display-flex__1lwvt\",\"buttons-group\":\"loginBackOfficeModal_buttons-group__3LYPw\",\"regContainer\":\"loginBackOfficeModal_regContainer__1fzVx\",\"loginButtonContainer\":\"loginBackOfficeModal_loginButtonContainer__3F-z1\",\"rememberPassButtonContainer\":\"loginBackOfficeModal_rememberPassButtonContainer__2NnSr\",\"successPassRecoveryMsg\":\"loginBackOfficeModal_successPassRecoveryMsg__360w4\",\"badLoginMessage\":\"loginBackOfficeModal_badLoginMessage__72iTl\",\"inputBlock\":\"loginBackOfficeModal_inputBlock__1-Ett\",\"btnBlock\":\"loginBackOfficeModal_btnBlock__ffPvQ\",\"spanText\":\"loginBackOfficeModal_spanText__2Fr2c\",\"login-form\":\"loginBackOfficeModal_login-form__1my2n\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"credentialsContainer\":\"main_credentialsContainer__2Fbch\",\"boxContainer\":\"main_boxContainer__KetKN\",\"errorsBlock\":\"main_errorsBlock__1YRIO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"deleteComfirmationModal_container__1gEJ7\",\"contentBlock\":\"deleteComfirmationModal_contentBlock__mk-Se\",\"modal\":\"deleteComfirmationModal_modal__RUhoi\",\"close\":\"deleteComfirmationModal_close__2Zw0y\",\"title\":\"deleteComfirmationModal_title__2VpQa\",\"content\":\"deleteComfirmationModal_content__1jid3\",\"ruleMessageText\":\"deleteComfirmationModal_ruleMessageText__1BCff\",\"btnContainer\":\"deleteComfirmationModal_btnContainer__2IAif\",\"buttons-group\":\"deleteComfirmationModal_buttons-group__1Y2gQ\",\"display-flex\":\"deleteComfirmationModal_display-flex__3-1Pb\",\"login-form\":\"deleteComfirmationModal_login-form__2TPcz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalConfirmationModal_container__1FW-T\",\"modal\":\"globalConfirmationModal_modal__3VwOc\",\"btnContainer\":\"globalConfirmationModal_btnContainer__2Hghc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"deleteComfirmationModal_container__1T_eH\",\"contentBlock\":\"deleteComfirmationModal_contentBlock__2yuj3\",\"modal\":\"deleteComfirmationModal_modal__2N-Zz\",\"close\":\"deleteComfirmationModal_close__1Hftd\",\"title\":\"deleteComfirmationModal_title__1PZi3\",\"content\":\"deleteComfirmationModal_content__5yNj3\",\"ruleMessageText\":\"deleteComfirmationModal_ruleMessageText__kGBUa\",\"btnContainer\":\"deleteComfirmationModal_btnContainer__34Lfs\",\"buttons-group\":\"deleteComfirmationModal_buttons-group__2MXq3\",\"display-flex\":\"deleteComfirmationModal_display-flex__2oX5K\",\"login-form\":\"deleteComfirmationModal_login-form__pz43g\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"signContractModal_container__2Msqz\",\"modal\":\"signContractModal_modal__3bjGA\",\"btnContainer\":\"signContractModal_btnContainer__3XTSb\",\"errorsBlockText\":\"signContractModal_errorsBlockText__3hdyL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"deleteComfirmationModal_container__1x_xE\",\"contentBlock\":\"deleteComfirmationModal_contentBlock__3m_e6\",\"modal\":\"deleteComfirmationModal_modal__2Y-zy\",\"close\":\"deleteComfirmationModal_close__2MsAx\",\"title\":\"deleteComfirmationModal_title__2uu7T\",\"content\":\"deleteComfirmationModal_content__1fOXB\",\"ruleMessageText\":\"deleteComfirmationModal_ruleMessageText__2MpUh\",\"btnContainer\":\"deleteComfirmationModal_btnContainer__1_3es\",\"buttons-group\":\"deleteComfirmationModal_buttons-group__3RPPi\",\"display-flex\":\"deleteComfirmationModal_display-flex__UHluh\",\"login-form\":\"deleteComfirmationModal_login-form__p1Rec\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"doublecheckEvaluationModal_container__1-FOU\",\"modal\":\"doublecheckEvaluationModal_modal__u2O2g\",\"btnContainer\":\"doublecheckEvaluationModal_btnContainer__1adPI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"regenerateDecisionDocModal_container__2fv-R\",\"modal\":\"regenerateDecisionDocModal_modal__QCdw0\",\"btnContainer\":\"regenerateDecisionDocModal_btnContainer__3vBYF\",\"errorsBlockText\":\"regenerateDecisionDocModal_errorsBlockText__1F_xa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"increaseInvegaLoanSumModal_container__31f_8\",\"modal\":\"increaseInvegaLoanSumModal_modal__3YKTe\",\"btnContainer\":\"increaseInvegaLoanSumModal_btnContainer__3OiRt\",\"errorsBlockText\":\"increaseInvegaLoanSumModal_errorsBlockText__3sG3w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"invegaLoanSumModal_container__21-Ts\",\"modal\":\"invegaLoanSumModal_modal__F_U9f\",\"btnContainer\":\"invegaLoanSumModal_btnContainer__1_sV1\",\"errorsBlockText\":\"invegaLoanSumModal_errorsBlockText__3MUg_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"terminateRequestModal_container__1E2Tm\",\"contentBlock\":\"terminateRequestModal_contentBlock__31UaN\",\"modal\":\"terminateRequestModal_modal__2eFYZ\",\"close\":\"terminateRequestModal_close__3EwLy\",\"title\":\"terminateRequestModal_title__19mvP\",\"content\":\"terminateRequestModal_content__1u6Ly\",\"ruleMessageText\":\"terminateRequestModal_ruleMessageText__2HdoK\",\"btnContainer\":\"terminateRequestModal_btnContainer__37xWV\",\"buttons-group\":\"terminateRequestModal_buttons-group__2BwWs\",\"display-flex\":\"terminateRequestModal_display-flex__6Yy63\",\"login-form\":\"terminateRequestModal_login-form__3Ruz8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalMessageModal_container__AdEE6\",\"contentBlock\":\"globalMessageModal_contentBlock__H3aL1\",\"modal\":\"globalMessageModal_modal__1gUFQ\",\"close\":\"globalMessageModal_close__1fwID\",\"title\":\"globalMessageModal_title__WpxLD\",\"content\":\"globalMessageModal_content__3wm5m\",\"ruleMessageText\":\"globalMessageModal_ruleMessageText__2oKGs\",\"btnContainer\":\"globalMessageModal_btnContainer__1bnfp\",\"inputsContainer\":\"globalMessageModal_inputsContainer__2pl-y\",\"inputsInline\":\"globalMessageModal_inputsInline__3wvKN\",\"bottomInput\":\"globalMessageModal_bottomInput__2RmE2\",\"addFileContainer\":\"globalMessageModal_addFileContainer__2nd9o\",\"error\":\"globalMessageModal_error__3rw9j\",\"buttons-group\":\"globalMessageModal_buttons-group__3ArxN\",\"display-flex\":\"globalMessageModal_display-flex__2phcA\",\"login-form\":\"globalMessageModal_login-form__ROHeA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"deleteComfirmationModal_container__2mV8A\",\"contentBlock\":\"deleteComfirmationModal_contentBlock__1lMHV\",\"modal\":\"deleteComfirmationModal_modal__1Y4Mi\",\"close\":\"deleteComfirmationModal_close__2kfQQ\",\"title\":\"deleteComfirmationModal_title__20myf\",\"content\":\"deleteComfirmationModal_content__BIoPA\",\"ruleMessageText\":\"deleteComfirmationModal_ruleMessageText__LY-kB\",\"btnContainer\":\"deleteComfirmationModal_btnContainer__24nrF\",\"buttons-group\":\"deleteComfirmationModal_buttons-group__2UR21\",\"display-flex\":\"deleteComfirmationModal_display-flex__5BTGo\",\"login-form\":\"deleteComfirmationModal_login-form__k2Lzj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalConfirmationModal_container__1RqKa\",\"modal\":\"globalConfirmationModal_modal__2y3Ui\",\"btnContainer\":\"globalConfirmationModal_btnContainer__3SrHw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmRequestModal_container__1POL5\",\"contentBlock\":\"confirmRequestModal_contentBlock__1v3PF\",\"modal\":\"confirmRequestModal_modal__31p_u\",\"close\":\"confirmRequestModal_close__2wmFc\",\"title\":\"confirmRequestModal_title__15MH3\",\"content\":\"confirmRequestModal_content__2ZRwn\",\"ruleMessageText\":\"confirmRequestModal_ruleMessageText__ClFtM\",\"btnContainer\":\"confirmRequestModal_btnContainer__2e2wV\",\"inputsContainer\":\"confirmRequestModal_inputsContainer__3Ps1y\",\"inputsInline\":\"confirmRequestModal_inputsInline__1-v-i\",\"bottomInput\":\"confirmRequestModal_bottomInput__15Zde\",\"addFileContainer\":\"confirmRequestModal_addFileContainer__2BF4y\",\"error\":\"confirmRequestModal_error__3mUtD\",\"error2\":\"confirmRequestModal_error2__vhYVC\",\"checkboxTitle\":\"confirmRequestModal_checkboxTitle__ioOu5\",\"buttons-group\":\"confirmRequestModal_buttons-group__hlJEI\",\"display-flex\":\"confirmRequestModal_display-flex__2z7lv\",\"login-form\":\"confirmRequestModal_login-form__cSjFI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmRequestModal_container__1ESI6\",\"contentBlock\":\"confirmRequestModal_contentBlock__1_2xG\",\"modal\":\"confirmRequestModal_modal__Id3Gh\",\"close\":\"confirmRequestModal_close__cnKz-\",\"title\":\"confirmRequestModal_title__3E6FK\",\"content\":\"confirmRequestModal_content__1jMrg\",\"ruleMessageText\":\"confirmRequestModal_ruleMessageText__7hrIH\",\"btnContainer\":\"confirmRequestModal_btnContainer__3STQF\",\"inputsContainer\":\"confirmRequestModal_inputsContainer__SvUEk\",\"inputsInline\":\"confirmRequestModal_inputsInline__2JX_e\",\"bottomInput\":\"confirmRequestModal_bottomInput__1Fi3-\",\"addFileContainer\":\"confirmRequestModal_addFileContainer__oc4Um\",\"error\":\"confirmRequestModal_error__jNDCn\",\"buttons-group\":\"confirmRequestModal_buttons-group__39ZVQ\",\"display-flex\":\"confirmRequestModal_display-flex__3g2FD\",\"login-form\":\"confirmRequestModal_login-form__3Ub7g\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bgHeaderBtn\":\"button_bgHeaderBtn__3bnj-\",\"searchBtn\":\"button_searchBtn__B0hlN\",\"blue\":\"button_blue__2A3mw\",\"pink\":\"button_pink__2ZmaL\",\"green\":\"button_green__NZCRO\",\"bordo\":\"button_bordo__3POcN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmRequestModal_container__3GhC8\",\"contentBlock\":\"confirmRequestModal_contentBlock__3JJzw\",\"modal\":\"confirmRequestModal_modal__cN1ya\",\"close\":\"confirmRequestModal_close__3yvef\",\"title\":\"confirmRequestModal_title__n9890\",\"content\":\"confirmRequestModal_content__WkM3d\",\"ruleMessageText\":\"confirmRequestModal_ruleMessageText__39_y6\",\"btnContainer\":\"confirmRequestModal_btnContainer__36eZ5\",\"checkboxTitle\":\"confirmRequestModal_checkboxTitle__1UAQz\",\"inputsContainer\":\"confirmRequestModal_inputsContainer__38Lla\",\"invoiceContainer\":\"confirmRequestModal_invoiceContainer__3PUMD\",\"inputsInline\":\"confirmRequestModal_inputsInline__3BzXp\",\"invoiceInline\":\"confirmRequestModal_invoiceInline__er8Kl\",\"bottomInput\":\"confirmRequestModal_bottomInput__3qgyW\",\"addFileContainer\":\"confirmRequestModal_addFileContainer__HZvDJ\",\"error\":\"confirmRequestModal_error__3yd3y\",\"buttons-group\":\"confirmRequestModal_buttons-group__2Opmg\",\"display-flex\":\"confirmRequestModal_display-flex__-_UCW\",\"login-form\":\"confirmRequestModal_login-form__39hr4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"fileUploadContainer_container__9wdgv\",\"note\":\"fileUploadContainer_note__ZPtgb\",\"selectflex\":\"fileUploadContainer_selectflex__2YUmU\",\"textUptheButton\":\"fileUploadContainer_textUptheButton__3lD0v\",\"disable\":\"fileUploadContainer_disable__2NeWw\",\"iconsContainer\":\"fileUploadContainer_iconsContainer__58Qab\",\"iconPointer\":\"fileUploadContainer_iconPointer__3VkpR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"iconsContainer\":\"paymentRequestsList_iconsContainer__2JNFo\",\"icon\":\"paymentRequestsList_icon__V_GRe\",\"paymentRequestsListTHead\":\"paymentRequestsList_paymentRequestsListTHead__3i3A3\",\"paymentRequestsBtnInline\":\"paymentRequestsList_paymentRequestsBtnInline__2bRXa\",\"paymentRequestsListTD\":\"paymentRequestsList_paymentRequestsListTD__nw_qQ\",\"paymentRequestsListTR\":\"paymentRequestsList_paymentRequestsListTR__19tw6\",\"paymentRequestsListTRFoot\":\"paymentRequestsList_paymentRequestsListTRFoot__3PDAn\",\"shadow\":\"paymentRequestsList_shadow__71I9V\"};","module.exports = __webpack_public_path__ + \"static/media/logo.c669a968.png\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"submenu_header__2hD18\",\"linkParagraph\":\"submenu_linkParagraph__UrHbO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Guest_container__swh_C\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"about_container__2OhQq\",\"aboutAllBlock\":\"about_aboutAllBlock__30iPR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"requirementsText_container__XdqfX\",\"letter\":\"requirementsText_letter__1-tYe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"authorization_container__3SJR-\",\"iconsContainer\":\"authorization_iconsContainer__1vuza\",\"selectflex\":\"authorization_selectflex__nESN4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"main\":\"tableAdmin_main__2vs85\",\"table\":\"tableAdmin_table__2josU\",\"header\":\"tableAdmin_header__SFR1_\",\"headerRow\":\"tableAdmin_headerRow__EEUog\",\"headerCell\":\"tableAdmin_headerCell__2YAiM\",\"headerTitle\":\"tableAdmin_headerTitle__1jnBh\",\"headerTitleDates\":\"tableAdmin_headerTitleDates__kprw7\",\"headerCellNoRound\":\"tableAdmin_headerCellNoRound__HuRb0\",\"body\":\"tableAdmin_body__3tRNS\",\"bodyRow\":\"tableAdmin_bodyRow__2ViBB\",\"bodyCell\":\"tableAdmin_bodyCell__3dCzK\",\"footerRow\":\"tableAdmin_footerRow__3vw1l\",\"footerCell\":\"tableAdmin_footerCell__1-kZI\",\"emptyRow\":\"tableAdmin_emptyRow__2cuot\",\"infoText\":\"tableAdmin_infoText__3u_Gv\",\"pageNumbers\":\"tableAdmin_pageNumbers__Kn9ZH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"input_input__3izic\",\"container\":\"input_container__3pYdN\",\"inlineContainer\":\"input_inlineContainer__3eGsI\",\"inlineInput\":\"input_inlineInput__2VzBb\",\"inOneLineContainer\":\"input_inOneLineContainer__17-fa\",\"selectorContainer\":\"input_selectorContainer__1Z_vp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"confirmRequestModal_container__33ITN\",\"contentBlock\":\"confirmRequestModal_contentBlock__1nm3N\",\"modal\":\"confirmRequestModal_modal__wNPRb\",\"close\":\"confirmRequestModal_close__2Q7lm\",\"title\":\"confirmRequestModal_title__39Sfr\",\"content\":\"confirmRequestModal_content__2twyJ\",\"ruleMessageText\":\"confirmRequestModal_ruleMessageText__1K6vJ\",\"btnContainer\":\"confirmRequestModal_btnContainer__3xnYx\",\"inputsContainer\":\"confirmRequestModal_inputsContainer__37nZW\",\"inputsInline\":\"confirmRequestModal_inputsInline__2NrQv\",\"bottomInput\":\"confirmRequestModal_bottomInput__jzHLR\",\"addFileContainer\":\"confirmRequestModal_addFileContainer__2YeEX\",\"error\":\"confirmRequestModal_error__2sJkG\",\"buttons-group\":\"confirmRequestModal_buttons-group__1EmlS\",\"display-flex\":\"confirmRequestModal_display-flex__8ckcO\",\"login-form\":\"confirmRequestModal_login-form__3MmG8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"main\":\"rowTable_main__GgRnA\",\"table\":\"rowTable_table__3_kzO\",\"header\":\"rowTable_header__KOVcJ\",\"headerRow\":\"rowTable_headerRow__1akAD\",\"headerCell\":\"rowTable_headerCell__gwni-\",\"headerTitle\":\"rowTable_headerTitle__2Ne1J\",\"headerTitleDates\":\"rowTable_headerTitleDates__Jgq4I\",\"body\":\"rowTable_body__2_om8\",\"bodyRow\":\"rowTable_bodyRow__mHId3\",\"bodyCell\":\"rowTable_bodyCell__1vJHz\",\"footerRow\":\"rowTable_footerRow__2gftw\",\"footerCell\":\"rowTable_footerCell__14eKh\",\"emptyRow\":\"rowTable_emptyRow__3Vwiv\",\"infoText\":\"rowTable_infoText__2icHM\",\"pageNumbers\":\"rowTable_pageNumbers__QaTRo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"globalConfirmationModal_container__3Hvrm\",\"modal\":\"globalConfirmationModal_modal__3kBDR\",\"btnContainer\":\"globalConfirmationModal_btnContainer__HwXm9\",\"checkboxTitle\":\"globalConfirmationModal_checkboxTitle__1QANJ\",\"inputsContainer\":\"globalConfirmationModal_inputsContainer__14rgd\",\"inputsInline\":\"globalConfirmationModal_inputsInline__3d0X0\",\"containerLabel\":\"globalConfirmationModal_containerLabel__27KFh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"description_container__23265\",\"descriptionAllBlock\":\"description_descriptionAllBlock__3heqr\",\"firstLineP\":\"description_firstLineP__CPxCq\",\"marginLeft\":\"description_marginLeft__24yAE\",\"table\":\"description_table__2v3vA\"};","import React from 'react';\r\n\r\nimport styles from './spinner.module.scss';\r\n\r\nconst Spinner = () => (\r\n
\r\n
\r\n
\r\n);\r\n\r\nexport default Spinner;\r\n","import React from 'react';\r\nimport Spinner from './spinner';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst WithSpinner = ({ loading, children }) => {\r\n return loading ? : children;\r\n};\r\n\r\nWithSpinner.propTypes = {\r\n loading: PropTypes.bool.isRequired,\r\n children: PropTypes.node.isRequired,\r\n};\r\n\r\nexport default WithSpinner;\r\n","import React from 'react';\r\n\r\nimport styles from './spinner.module.scss';\r\n\r\nconst Spinner = () => (\r\n
\r\n
\r\n
\r\n);\r\n\r\nexport default Spinner;\r\n","export const dashboardConstants = {\r\n SET_ON_SYNC_FLAG: 'dashboard/SET_ON_SYNC_FLAG',\r\n UPDATE_DASHBOARD_DATA: 'dashboard/UPDATE_DASHBOARD_DATA',\r\n CLEAR_USER_STATE: 'dashboard/CLEAR_USER_STATE',\r\n SET_DASHBOARD_DATA: 'dashboard/SET_DASHBOARD_DATA',\r\n SET_INVOICE_LIST_DATA: 'dashboard/SET_INVOICE_LIST_DATA',\r\n LOAD_INVOICE_LIST_DATA: 'dashboard/LOAD_INVOICE_LIST_DATA',\r\n PASS_COMPANY_INFO_ACTION: 'dashboard/PASS_COMPANY_INFO_ACTION',\r\n SET_FIRST_STEP_PASSED: 'dashboard/SET_FIRST_STEP_PASSED',\r\n DELETE_INVOICE: 'dashboard/DELETE_INVOICE',\r\n LOAD_INVOICE_APPROVE_LIST_DATA: 'dashboard/LOAD_INVOICE_APPROVE_LIST_DATA',\r\n\r\n GET_REQUEST_LIST: 'dashboard/GET_REQUEST_LIST',\r\n GET_PROJECT_LIST: 'dashboard/GET_PROJECT_LIST',\r\n CREATE_NEW_REQUEST: 'dashboard/CREATE_NEW_REQUEST',\r\n CREATE_NEW_REQUEST_INDIVIDUAL: 'dashboard/CREATE_NEW_REQUEST_INDIVIDUAL',\r\n\r\n GET_PAYMENT_REQUESTS_LIST: 'dashboard/GET_PAYMENT_REQUESTS_LIST',\r\n SET_PAYMENT_REQUESTS_LIST: 'dashboard/SET_PAYMENT_REQUESTS_LIST',\r\n CREATE_NEW_PAYMENT_REQUEST: 'dashboard/CREATE_NEW_PAYMENT_REQUEST',\r\n SET_PAYMENT_REQUEST: 'dashboard/SET_PAYMENT_REQUEST',\r\n CREATE_PR_NEW_PR_DOCUMENT_REQUEST:\r\n 'dashboard/CREATE_PR_NEW_PR_DOCUMENT_REQUEST',\r\n SET_PAYMENT_REQUEST_PR_DOCUMENT: 'SET_PAYMENT_REQUEST_PR_DOCUMENT',\r\n CREATE_NEW_PAYMENT_REQUEST_PR_DOCUMENT:\r\n 'dashboard/CREATE_NEW_PAYMENT_REQUEST_PR_DOCUMENT',\r\n PR_DOCUMENT_DELETE_REQUEST: 'dashboard/PR_DOCUMENT_DELETE_REQUEST',\r\n\r\n SET_NEW_REQUEST_DATA: 'dashboard/SET_NEW_REQUEST_DATA',\r\n SET_REQUEST_LIST: 'dashboard/SET_REQUEST_LIST',\r\n SET_PROJECT_LIST: 'dashboard/SET_PROJECT_LIST',\r\n SAVE_REQUEST: 'dashboard/SAVE_REQUEST',\r\n DELETE_REQUEST: 'dashboard/DELETE_REQUEST',\r\n LOAD_INVOICE_DATA: 'dashboard/LOAD_INVOICE_DATA',\r\n LOAD_OWNER_INVOICE_DATA: 'dashboard/LOAD_OWNER_INVOICE_DATA',\r\n SET_INVOICE_DATA: 'dashboard/SET_INVOICE_DATA',\r\n SET_OWNER_INVOICE_DATA: 'dashboard/SET_OWNER_INVOICE_DATA',\r\n SAVE_INVOICE_DATA: 'dashboard/SAVE_INVOICE_DATA',\r\n INVOICE_SAVED: 'dashboard/INVOICE_SAVED',\r\n INVOICE_SAVED_EROR: 'dashboard/INVOICE_SAVED_EROR',\r\n LOAD_REQUEST_LIMIT_DATA: 'dashboard/LOAD_REQUEST_LIMIT_DATA',\r\n SET_REQUEST_LIMIT_DATA: 'dashboard/SET_REQUEST_LIMIT_DATA',\r\n SET_REQUEST_GENERAL_LIMIT_DATA: 'dashboard/SET_REQUEST_GENERAL_LIMIT_DATA',\r\n LOAD_REQUEST_GENERAL_LIMIT_DATA: 'dashboard/LOAD_REQUEST_GENERAL_LIMIT_DATA',\r\n\r\n SAVE_COMPANY_DATA: 'dashboard/SAVE_COMPANY_DATA',\r\n SET_COMPANY_DATA: 'dashboard/SET_COMPANY_DATA',\r\n\r\n GET_IS_CONSENTAGREED: 'dashboard/GET_IS_CONSENTAGREED',\r\n SET_IS_CONSENTAGREED: 'dashboard/SET_IS_CONSENTAGREED',\r\n SET_CONSENT_DATA: 'dashboard/SET_CONSENT_DATA',\r\n\r\n GET_CAN_CREATE_REQUEST: 'dashboard/GET_CAN_CREATE_REQUEST',\r\n SET_CAN_CREATE_REQUEST: 'dashboard/SET_CAN_CREATE_REQUEST',\r\n\r\n LOAD_GENERAL_DATA: 'dashboard/LOAD_GENERAL_DATA',\r\n SET_GENERAL_DATA: 'dashboard/SET_GENERAL_DATA',\r\n\r\n APPROVE_REQUEST_SUCCESS: 'dashboard/APPROVE_REQUEST_SUCCESS',\r\n APPROVE_REQUEST_ERROR: 'dashboard/APPROVE_REQUEST_ERROR',\r\n APPROVE_REQUEST_RESSET: 'dashboard/APPROVE_REQUEST_RESSET',\r\n\r\n SET_SAVED_REQUEST_DESISSION_ACCEPTED:\r\n 'dashboard/SET_SAVED_REQUEST_DESISSION_ACCEPTED',\r\n FILE_UPLOAD: 'dashboard/FILE_UPLOAD',\r\n GET_UPLOADED_FILES_LIST: 'dashboard/GET_UPLOADED_FILES_LIST',\r\n SET_UPLOADED_FILES_LIST: 'dashboard/SET_UPLOADED_FILES_LIST',\r\n GET_SIGNING_URL: 'dashboard/GET_SIGNING_URL',\r\n SET_SIGNING_URL: 'dashboard/GET_SIGNING_URL',\r\n SET_SIGNING_IN_INFO: 'dashboard/SET_SIGNING_IN_INFO',\r\n\r\n GET_SIGNING_DECISION_URL: 'dashboard/GET_SIGNING_DECISION_URL',\r\n\r\n GET_SIGNING_URL_BATCH: 'dashboard/GET_SIGNING_URL_BATCH',\r\n\r\n GET_FINANCIALCRITERIA_RESULTS: 'dashboard/GET_FINANCIALCRITERIA_RESULTS',\r\n SET_FINANCIALCRITERIA_RESULTS: 'dashboard/SET_FINANCIALCRITERIA_RESULTS',\r\n\r\n SET_LOGIN_TYPE: 'dashboard/SET_LOGIN_TYPE',\r\n\r\n SET_REQUEST_VIEW_WINDOW: 'dashboard/SET_REQUEST_VIEW_WINDOW',\r\n\r\n SAVE_REPRESENTATIVE: 'dashboard/SAVE_REPRESENTATIVE',\r\n LOAD_REPRESENTATIVES: 'dashboard/LOAD_REPRESENTATIVES',\r\n SET_REPRESENTATIVES: 'dashboard/SET_REPRESENTATIVES',\r\n SAVE_REPRESENTATIVE_ERROR: 'dashboard/SAVE_REPRESENTATIVE_ERROR',\r\n SET_REPRESENTATIVE: 'dashboard/SET_REPRESENTATIVE',\r\n LOAD_REPRESENTATIVE: 'dashboard/LOAD_REPRESENTATIVE',\r\n LOAD_COMPANY_REPRESENTATIVES: 'dashboard/LOAD_COMPANY_REPRESENTATIVES',\r\n SET_COMPANY_REPRESENTATIVES: 'dashboard/SET_COMPANY_REPRESENTATIVES',\r\n\r\n SEND_FOR_APPROVE: 'dashboard/SEND_FOR_APPROVE',\r\n SEND_FOR_APPROVE_WITH_DOCS: 'dashboard/SEND_FOR_APPROVE_WITH_DOCS',\r\n\r\n SEND_PAYMENT_REQUEST_FOR_APPROVE:\r\n 'dashboard/SEND_PAYMENT_REQUEST_FOR_APPROVE',\r\n SEND_FOR_APPROVE_WITH_DOCS_FOR_CHANGE_CONDITIONS:\r\n 'dashboard/SEND_FOR_APPROVE_WITH_DOCS_FOR_CHANGE_CONDITIONS',\r\n};\r\n","import { dashboardConstants } from './dashboard/DashboardConstants';\r\nimport { modalsConstants } from './modals/ModalsConstants';\r\nimport { authConstants } from './auth/auth.constants';\r\nimport { backofficeConstants } from './backoffice/BackofficeConstants';\r\n\r\nexport const constants = {\r\n dashboard: dashboardConstants,\r\n modals: modalsConstants,\r\n auth: authConstants,\r\n backoffice: backofficeConstants,\r\n};\r\n","export const modalsConstants = {\r\n SET_MODAL_VISIBLE_FLAG: 'modals/SET_MODAL_VISIBLE_FLAG',\r\n SET_PDF_DOWNLOAD_COMFIRM: 'modals/SET_PDF_DOWNLOAD_COMFIRM',\r\n SET_ON_SYNC_FLAG: 'modals/SET_ON_SYNC_FLAG',\r\n SET_ERROR_MESSAGE: 'modals/SET_ERROR_MESSAGE',\r\n SET_MODAL_CLOSED_OK_MESSAGE: 'modals/SET_MODAL_CLOSED_OK_MESSAGE',\r\n SET_MODAL_CONFIRM_ACTION: 'modals/SET_MODAL_CONFIRM_ACTION',\r\n SET_PAYMENT_MODAL_CONFIRM_ACTION: 'modals/SET_PAYMENT_MODAL_CONFIRM_ACTION',\r\n SET_VALIDATION_ERROR: 'modals/SET_VALIDATION_ERROR',\r\n CONFIRM_INVOICES_FROM_MANAGER: 'modals/CONFIRM_INVOICES_FROM_MANAGER',\r\n REGENERATE_DECISION_DOC: 'modals/REGENERATE_DECISION_DOC',\r\n};\r\n","export const authConstants = {\r\n LOGIN_VAIISIS: 'auth/LOGIN_VAIISIS',\r\n SET_AUTH_LOADING: 'auth/SET_AUTH_LOADING',\r\n LOGIN_USER: 'auth/LOGIN_USER',\r\n SET_USER: 'auth/SET_USER',\r\n CLEAR_USER: 'auth/CLEAR_USER',\r\n LOGIN_VAIISIS_TEST_CRED: 'auth/LOGIN_VAIISIS_TEST_CRED',\r\n SET_LOGIN_ERR_MESSAGE: 'auth/SET_LOGIN_ERR_MESSAGE',\r\n PUSH_TOKEN_TO_SERVER: 'auth/PUSH_TOKEN_TO_SERVER',\r\n SET_TOKEN_PUSH_STARTED: 'auth/SET_TOKEN_PUSH_STARTED',\r\n SET_PROJECTS: 'auth/SET_PROJECTS',\r\n GET_PROJECTS: 'auth/GET_PROJECTS',\r\n};\r\n","export const backofficeConstants = {\r\n LOAD_REQUESTS_LIST: 'backoffice/LOAD_REQUESTS_LIST',\r\n SET_REQUESTS_LIST: 'backoffice/SET_REQUESTS_LIST',\r\n GET_REQUEST: 'backoffice/GET_REQUEST',\r\n GET_PAYMENT_REQUEST: 'backoffice/GET_PAYMENT_REQUEST',\r\n SET_REQUEST: 'backoffice/SET_REQUEST',\r\n SET_REQUEST_STATUS: 'backoffice/SET_REQUEST_STATUS',\r\n SET_PAYMENT_REQUEST_STATUS: 'backoffice/SET_PAYMENT_REQUEST_STATUS',\r\n LOAD_INVOICE_LIST_DATA: 'backoffice/LOAD_INVOICE_LIST_DATA',\r\n SET_INVOICE_LIST_DATA: 'backoffice/SET_INVOICE_LIST_DATA',\r\n LOAD_INVOICE_DATA: 'backoffice/LOAD_INVOICE_DATA',\r\n SET_INVOICE_DATA: 'backoffice/SET_INVOICE_DATA',\r\n EXPORT_DATA_ACTION: 'backoffice/EXPORT_DATA_ACTION',\r\n GET_UPLOADED_FILES_LIST: 'backoffice/GET_UPLOADED_FILES_LIST',\r\n SET_UPLOADED_FILES_LIST: 'backoffice/SET_UPLOADED_FILES_LIST',\r\n GET_STATS: 'backoffice/GET_STATS',\r\n SET_STATS: 'backoffice/SET_STATS',\r\n DOWNLOAD_CONTRACT_DOC: 'backoffice/DOWNLOAD_CONTRACT_DOC',\r\n GET_SIGN_IN_DOC: 'backoffice/GET_SIGN_IN_DOC',\r\n LOAD_REPRESENTATIVES: 'backoffice/LOAD_REPRESENTATIVES',\r\n SET_REPRESENTATIVES: 'backoffice/SET_REPRESENTATIVES',\r\n SET_REPRESENTATIVE: 'backoffice/SET_REPRESENTATIVE',\r\n SAVE_REPRESENTATIVE: 'backoffice/SAVE_REPRESENTATIVE',\r\n SAVE_REPRESENTATIVE_ERROR: 'backoffice/SAVE_REPRESENTATIVE_ERROR',\r\n SAVE_EDIT_ADDITIONAL_COMMENTS: 'backoffice/SAVE_EDIT_ADDITIONAL_COMMENTS',\r\n GET_ADDITIONAL_COMMENTS: 'backoffice/GET_ADDITIONAL_COMMENTS',\r\n GET_REQUEST_LOG: 'backoffice/GET_REQUEST_LOG',\r\n SET_REQUEST_LOG: 'backoffice/SET_REQUEST_LOG',\r\n GET_INVEGA_USERS: 'backoffice/GET_INVEGA_USERS',\r\n SET_INVEGA_USERS: 'backoffice/SET_INVEGA_USERS',\r\n CALL_SAGA_FOR_ERR_HANDLE: 'backoffice/CALL_SAGA_FOR_ERR_HANDLE',\r\n SET_ASSESSORS: 'backoffice/SET_ASSESSORS',\r\n SET_RELATED_REQUESTS: 'backoffice/SET_RELATED_REQUESTS',\r\n DOWNLOAD_LIST_ACTION: 'backoffice/DOWNLOAD_LIST_ACTION',\r\n SAVE_RISK_ASSESMENT_RESULT: 'backoffice/SAVE_RISK_ASSESMENT_RESULT',\r\n DOWNLOAD_ALL_FILES: 'backoffice/DOWNLOAD_ALL_FILES',\r\n SET_REPRESENTAVITES_MANAGER_BY_REQUEST:\r\n 'backoffice/SET_REPRESENTAVITES_MANAGER_BY_REQUEST',\r\n};\r\n","import { userActions } from './dashboard/DashboardActions';\r\nimport { modalActions } from './modals/ModalsActions';\r\nimport { authActions } from './auth/auth.actions';\r\nimport { backofficeActions } from './backoffice/BackofficeActions';\r\n\r\nexport const actions = {\r\n dashboard: userActions,\r\n modals: modalActions,\r\n auth: authActions,\r\n backoffice: backofficeActions,\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst setUserOnSyncFlagAction = (flag) => {\r\n return {\r\n type: constants.dashboard.SET_ON_SYNC_FLAG,\r\n flag,\r\n };\r\n};\r\n\r\nconst clearUserStateAction = () => {\r\n return {\r\n type: constants.dashboard.CLEAR_USER_STATE,\r\n };\r\n};\r\n\r\nconst updateDashboardAction = () => {\r\n return {\r\n type: constants.dashboard.UPDATE_DASHBOARD_DATA,\r\n };\r\n};\r\n\r\nconst setDashboardDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_DASHBOARD_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadInvoiceListDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_INVOICE_LIST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadRequestLimitDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_REQUEST_LIMIT_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadRequestGeneralLimitDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_REQUEST_GENERAL_LIMIT_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadInvoiceApproveListDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_INVOICE_APPROVE_LIST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setInvoiceListDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_INVOICE_LIST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst deleteInvoiceAction = (requestId, invoiceId) => {\r\n return {\r\n type: constants.dashboard.DELETE_INVOICE,\r\n requestId,\r\n invoiceId,\r\n };\r\n};\r\n\r\nconst passCompanyInfoAction = (payload) => {\r\n return {\r\n type: constants.dashboard.PASS_COMPANY_INFO_ACTION,\r\n payload,\r\n };\r\n};\r\n\r\nconst setFirstStepPassedAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_FIRST_STEP_PASSED,\r\n payload,\r\n };\r\n};\r\n\r\nconst getRequestListAction = () => {\r\n return {\r\n type: constants.dashboard.GET_REQUEST_LIST,\r\n };\r\n};\r\n\r\nconst getProjectListAction = () => {\r\n return {\r\n type: constants.dashboard.GET_PROJECT_LIST,\r\n };\r\n};\r\n\r\nconst saveInvoiceDataAction = (requestId, data) => {\r\n return {\r\n type: constants.dashboard.SAVE_INVOICE_DATA,\r\n requestId,\r\n data,\r\n };\r\n};\r\n\r\nconst setInvoiceSavedAction = (payload) => {\r\n return {\r\n type: constants.dashboard.INVOICE_SAVED,\r\n payload,\r\n };\r\n};\r\n\r\nconst setInvoiceErrorAction = (payload) => {\r\n return {\r\n type: constants.dashboard.INVOICE_SAVED_EROR,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequestListAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_REQUEST_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst setProjectListAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_PROJECT_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst createNewRequestAction = (id, actionType, requestId, projectId) => {\r\n return {\r\n type: constants.dashboard.CREATE_NEW_REQUEST,\r\n id,\r\n actionType,\r\n requestId,\r\n projectId,\r\n };\r\n};\r\n\r\nconst createNewRequestIndividualAction = (\r\n id,\r\n actionType,\r\n requestId,\r\n projectId\r\n) => {\r\n return {\r\n type: constants.dashboard.CREATE_NEW_REQUEST_INDIVIDUAL,\r\n id,\r\n actionType,\r\n requestId,\r\n projectId,\r\n };\r\n};\r\n\r\nconst saveRquestAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SAVE_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst deleteRequestAction = (id) => {\r\n return {\r\n type: constants.dashboard.DELETE_REQUEST,\r\n id,\r\n };\r\n};\r\n\r\nconst loadInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadOwnerInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_OWNER_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setOwnerInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_OWNER_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setNewRequestData = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_NEW_REQUEST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst saveCompanyDataAction = (requestId, payload) => {\r\n return {\r\n type: constants.dashboard.SAVE_COMPANY_DATA,\r\n requestId,\r\n payload,\r\n };\r\n};\r\n\r\nconst setCompanySavedAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_COMPANY_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst getIsConsentAgreedAction = () => {\r\n return {\r\n type: constants.dashboard.GET_IS_CONSENTAGREED,\r\n };\r\n};\r\n\r\nconst setIsConsentAgreedAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_IS_CONSENTAGREED,\r\n payload,\r\n };\r\n};\r\n\r\nconst setConsentDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_CONSENT_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequestLimitDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_REQUEST_LIMIT_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequestGeneralLimitDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_REQUEST_GENERAL_LIMIT_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst GetCanCreateRequest = () => {\r\n return {\r\n type: constants.dashboard.GET_CAN_CREATE_REQUEST,\r\n };\r\n};\r\n\r\nconst SetCanCreateRequest = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_CAN_CREATE_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadGeneralDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.LOAD_GENERAL_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setGeneralDataAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_GENERAL_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst approveRequestError = (payload) => {\r\n return {\r\n type: constants.dashboard.APPROVE_REQUEST_ERROR,\r\n payload,\r\n };\r\n};\r\n\r\nconst approveRequestSuccess = (payload) => {\r\n return {\r\n type: constants.dashboard.APPROVE_REQUEST_SUCCESS,\r\n payload,\r\n };\r\n};\r\nconst approveRequestResset = (payload) => {\r\n return {\r\n type: constants.dashboard.APPROVE_REQUEST_RESSET,\r\n payload,\r\n };\r\n};\r\n\r\nconst setSavedRequestDesissionAccepted = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_SAVED_REQUEST_DESISSION_ACCEPTED,\r\n payload,\r\n };\r\n};\r\n\r\nconst fileUploadAction = (payload, actionType) => {\r\n return {\r\n type: constants.dashboard.FILE_UPLOAD,\r\n payload,\r\n actionType,\r\n };\r\n};\r\n\r\nconst getUploadedFileList = (id) => {\r\n return {\r\n type: constants.dashboard.GET_UPLOADED_FILES_LIST,\r\n id,\r\n };\r\n};\r\n\r\nconst setUploadedFileList = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_UPLOADED_FILES_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst getSigningUrlAction = (payload, requestId, user) => {\r\n return {\r\n type: constants.dashboard.GET_SIGNING_URL,\r\n payload,\r\n requestId,\r\n user,\r\n };\r\n};\r\n\r\nconst setSigningUrlAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_SIGNING_URL,\r\n payload,\r\n };\r\n};\r\n\r\nconst setSigningInfoAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_SIGNING_IN_INFO,\r\n payload,\r\n };\r\n};\r\n\r\nconst getSigningDecisionUrlAction = (requestId) => {\r\n return {\r\n type: constants.dashboard.GET_SIGNING_DECISION_URL,\r\n requestId,\r\n };\r\n};\r\n\r\nconst GetSigningUrlBatchAction = () => {\r\n return {\r\n type: constants.dashboard.GET_SIGNING_URL_BATCH,\r\n };\r\n};\r\n\r\nconst getFinancialCriteriaResultsAction = (id, user, doubleCheck) => {\r\n return {\r\n type: constants.dashboard.GET_FINANCIALCRITERIA_RESULTS,\r\n id,\r\n user,\r\n doubleCheck,\r\n };\r\n};\r\n\r\nconst setFinancialCriteriaResultsAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_FINANCIALCRITERIA_RESULTS,\r\n payload,\r\n };\r\n};\r\n\r\nconst sendForApproveAction = (id) => {\r\n return {\r\n type: constants.dashboard.SEND_FOR_APPROVE,\r\n id,\r\n };\r\n};\r\n\r\nconst sendForApproveWithDocsAction = (id) => {\r\n return {\r\n type: constants.dashboard.SEND_FOR_APPROVE_WITH_DOCS,\r\n id,\r\n };\r\n};\r\n\r\nconst sendForPaymentRequestApproveAction = (id) => {\r\n return {\r\n type: constants.dashboard.SEND_PAYMENT_REQUEST_FOR_APPROVE,\r\n id,\r\n };\r\n};\r\n\r\n//login type set\r\nconst setLoginType = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_LOGIN_TYPE,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequestViewWindowAction = () => {\r\n return {\r\n type: constants.dashboard.SET_REQUEST_VIEW_WINDOW,\r\n };\r\n};\r\n\r\nconst saveRepresentativeAction = (data) => {\r\n return {\r\n type: constants.dashboard.SAVE_REPRESENTATIVE,\r\n data,\r\n };\r\n};\r\n\r\nconst setRepresentativeAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_REPRESENTATIVE,\r\n payload,\r\n };\r\n};\r\n\r\nconst setSaveRepresentativeError = (payload) => {\r\n return {\r\n type: constants.dashboard.SAVE_REPRESENTATIVE_ERROR,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadRepresentatives = () => {\r\n return {\r\n type: constants.dashboard.LOAD_REPRESENTATIVES,\r\n };\r\n};\r\n\r\nconst setRepresentatives = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_REPRESENTATIVES,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadCompanyRepresentatives = () => {\r\n return {\r\n type: constants.dashboard.LOAD_COMPANY_REPRESENTATIVES,\r\n };\r\n};\r\n\r\nconst setCompanyRepresentatives = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_COMPANY_REPRESENTATIVES,\r\n payload,\r\n };\r\n};\r\n\r\nconst getPaymentRequestsListAction = (id) => {\r\n return {\r\n type: constants.dashboard.GET_PAYMENT_REQUESTS_LIST,\r\n id,\r\n };\r\n};\r\n\r\nconst setPaymentRequestsListAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_PAYMENT_REQUESTS_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst createNewPaymentRequestAction = (\r\n id,\r\n actionType,\r\n paymentId,\r\n requestId,\r\n surveyData\r\n) => {\r\n console.log(requestId);\r\n console.log(surveyData);\r\n return {\r\n type: constants.dashboard.CREATE_NEW_PAYMENT_REQUEST,\r\n id,\r\n actionType,\r\n paymentId,\r\n requestId,\r\n surveyData,\r\n };\r\n};\r\n\r\nconst setPaymentRequestAction = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_PAYMENT_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst createPaymentRequestNewPrDocumentAction = (id, payload) => {\r\n return {\r\n type: constants.dashboard.CREATE_PR_NEW_PR_DOCUMENT_REQUEST,\r\n id,\r\n payload,\r\n };\r\n};\r\n\r\nconst setPaymentRequestPrDocument = (payload) => {\r\n return {\r\n type: constants.dashboard.SET_PAYMENT_REQUEST_PR_DOCUMENT,\r\n payload,\r\n };\r\n};\r\n\r\nconst createNewPaymentRequestPrDocumentAction = (\r\n id,\r\n docId,\r\n actionType,\r\n number\r\n) => {\r\n return {\r\n type: constants.dashboard.CREATE_NEW_PAYMENT_REQUEST_PR_DOCUMENT,\r\n id,\r\n docId,\r\n actionType,\r\n number,\r\n };\r\n};\r\n\r\nconst deletePrDocumentRequestAction = (docId, requestId, paymentId) => {\r\n return {\r\n type: constants.dashboard.PR_DOCUMENT_DELETE_REQUEST,\r\n docId,\r\n requestId,\r\n paymentId,\r\n };\r\n};\r\n\r\nconst sendForApproveWithDocsForChangeConditionsAction = (id) => {\r\n return {\r\n type: constants.dashboard.SEND_FOR_APPROVE_WITH_DOCS_FOR_CHANGE_CONDITIONS,\r\n id,\r\n };\r\n};\r\n\r\nexport const userActions = {\r\n clearUserStateAction,\r\n updateDashboardAction,\r\n setUserOnSyncFlagAction,\r\n setDashboardDataAction,\r\n loadInvoiceListDataAction,\r\n setInvoiceListDataAction,\r\n passCompanyInfoAction,\r\n setFirstStepPassedAction,\r\n deleteInvoiceAction,\r\n loadInvoiceApproveListDataAction,\r\n getRequestListAction,\r\n getProjectListAction,\r\n createNewRequestAction,\r\n setNewRequestData,\r\n setRequestListAction,\r\n setProjectListAction,\r\n loadInvoiceDataAction,\r\n setInvoiceDataAction,\r\n saveInvoiceDataAction,\r\n setInvoiceSavedAction,\r\n setInvoiceErrorAction,\r\n saveRquestAction,\r\n deleteRequestAction,\r\n saveCompanyDataAction,\r\n setCompanySavedAction,\r\n getIsConsentAgreedAction,\r\n setIsConsentAgreedAction,\r\n setConsentDataAction,\r\n loadRequestLimitDataAction,\r\n setRequestLimitDataAction,\r\n loadGeneralDataAction,\r\n setGeneralDataAction,\r\n approveRequestError,\r\n approveRequestSuccess,\r\n approveRequestResset,\r\n loadRequestGeneralLimitDataAction,\r\n setRequestGeneralLimitDataAction,\r\n setSavedRequestDesissionAccepted,\r\n fileUploadAction,\r\n getUploadedFileList,\r\n setUploadedFileList,\r\n getSigningUrlAction,\r\n setSigningUrlAction,\r\n setSigningInfoAction,\r\n getFinancialCriteriaResultsAction,\r\n setFinancialCriteriaResultsAction,\r\n setLoginType,\r\n createNewRequestIndividualAction,\r\n setRequestViewWindowAction,\r\n loadOwnerInvoiceDataAction,\r\n setOwnerInvoiceDataAction,\r\n getSigningDecisionUrlAction,\r\n GetSigningUrlBatchAction,\r\n saveRepresentativeAction,\r\n loadRepresentatives,\r\n setRepresentatives,\r\n setSaveRepresentativeError,\r\n setRepresentativeAction,\r\n loadCompanyRepresentatives,\r\n setCompanyRepresentatives,\r\n sendForApproveAction,\r\n sendForApproveWithDocsAction,\r\n GetCanCreateRequest,\r\n SetCanCreateRequest,\r\n getPaymentRequestsListAction,\r\n setPaymentRequestsListAction,\r\n createNewPaymentRequestAction,\r\n setPaymentRequestAction,\r\n createPaymentRequestNewPrDocumentAction,\r\n setPaymentRequestPrDocument,\r\n createNewPaymentRequestPrDocumentAction,\r\n deletePrDocumentRequestAction,\r\n sendForPaymentRequestApproveAction,\r\n sendForApproveWithDocsForChangeConditionsAction,\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst setModalVisibleFlagAction = (open, msgText) => {\r\n return {\r\n type: constants.modals.SET_MODAL_VISIBLE_FLAG,\r\n open,\r\n msgText,\r\n };\r\n};\r\n\r\nconst setPdfDownloadComfirmAction = (data) => {\r\n return {\r\n type: constants.modals.SET_PDF_DOWNLOAD_COMFIRM,\r\n data,\r\n };\r\n};\r\n\r\nconst setModalOnSyncFlagAction = (flag) => {\r\n return {\r\n type: constants.modals.SET_ON_SYNC_FLAG,\r\n flag,\r\n };\r\n};\r\n\r\nconst setErrorMessageAction = (msg) => {\r\n return {\r\n type: constants.modals.SET_ERROR_MESSAGE,\r\n msg,\r\n };\r\n};\r\n\r\nconst setValidationErrorAction = (err) => {\r\n return {\r\n type: constants.modals.SET_VALIDATION_ERROR,\r\n err,\r\n };\r\n};\r\n\r\nconst setModalClosedOKAction = (action) => {\r\n return {\r\n type: constants.modals.SET_MODAL_CLOSED_OK_MESSAGE,\r\n action,\r\n };\r\n};\r\n\r\nconst setModalConfirmAction = (payload, action, userComment) => {\r\n return {\r\n type: constants.modals.SET_MODAL_CONFIRM_ACTION,\r\n payload,\r\n action,\r\n userComment,\r\n };\r\n};\r\n\r\nconst setPaymentModalConfirmAction = (payload, action) => {\r\n return {\r\n type: constants.modals.SET_PAYMENT_MODAL_CONFIRM_ACTION,\r\n payload,\r\n action,\r\n };\r\n};\r\n\r\nconst confirmInvoicesFromManagerAction = (requestId) => {\r\n return {\r\n type: constants.modals.CONFIRM_INVOICES_FROM_MANAGER,\r\n requestId,\r\n };\r\n};\r\n\r\nconst regenerateDecisionDocAction = (requestId) => {\r\n return {\r\n type: constants.modals.REGENERATE_DECISION_DOC,\r\n requestId,\r\n };\r\n};\r\n\r\nexport const modalActions = {\r\n setModalVisibleFlagAction,\r\n setPdfDownloadComfirmAction,\r\n setModalOnSyncFlagAction,\r\n setErrorMessageAction,\r\n setModalConfirmAction,\r\n setPaymentModalConfirmAction,\r\n setValidationErrorAction,\r\n setModalClosedOKAction,\r\n confirmInvoicesFromManagerAction,\r\n regenerateDecisionDocAction,\r\n};\r\n","import { constants } from '..';\r\n\r\nconst loginVaiisisSagaAction = () => ({\r\n type: constants.auth.LOGIN_VAIISIS,\r\n});\r\n\r\nconst setAuthLoadingAction = (flag) => ({\r\n type: constants.auth.SET_AUTH_LOADING,\r\n flag,\r\n});\r\n\r\nconst loginUserAction = (credentials) => ({\r\n type: constants.auth.LOGIN_USER,\r\n credentials,\r\n});\r\n\r\nconst setUserAction = (userDetails, token) => ({\r\n type: constants.auth.SET_USER,\r\n userDetails,\r\n token,\r\n});\r\n\r\nconst mountUserAction = () => ({\r\n type: constants.auth.MOUNT_USER,\r\n});\r\n\r\nconst clearUserAction = () => ({\r\n type: constants.auth.CLEAR_USER,\r\n});\r\n\r\nconst loginTestViispCredAction = (credentials) => ({\r\n type: constants.auth.LOGIN_VAIISIS_TEST_CRED,\r\n credentials,\r\n});\r\n\r\nconst setAuthError = () => ({\r\n type: constants.auth.SET_LOGIN_ERR_MESSAGE,\r\n});\r\n\r\nconst pushTokenToServerAction = () => {\r\n return {\r\n type: constants.auth.PUSH_TOKEN_TO_SERVER,\r\n };\r\n};\r\n\r\nconst setTokenPushStartAction = () => {\r\n return {\r\n type: constants.auth.SET_TOKEN_PUSH_STARTED,\r\n };\r\n};\r\n\r\nconst getProjects = () => {\r\n return {\r\n type: constants.auth.GET_PROJECTS,\r\n };\r\n};\r\n\r\nconst setProjects = (payload) => {\r\n return {\r\n type: constants.auth.SET_PROJECTS,\r\n payload,\r\n };\r\n};\r\nexport const authActions = {\r\n loginVaiisisSagaAction,\r\n setAuthLoadingAction,\r\n loginUserAction,\r\n setUserAction,\r\n mountUserAction,\r\n clearUserAction,\r\n loginTestViispCredAction,\r\n setAuthError,\r\n pushTokenToServerAction,\r\n setTokenPushStartAction,\r\n getProjects,\r\n setProjects,\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst getRequestListAction = (payload) => {\r\n return {\r\n type: constants.backoffice.LOAD_REQUESTS_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequestsList = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REQUESTS_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst getRequestAction = (payload) => {\r\n return {\r\n type: constants.backoffice.GET_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst getPaymentRequestAction = (payload) => {\r\n return {\r\n type: constants.backoffice.GET_PAYMENT_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRequest = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nconst setStatusChanged = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REQUEST_STATUS,\r\n payload,\r\n };\r\n};\r\n\r\nconst setPaymentRequestStatusChanged = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_PAYMENT_REQUEST_STATUS,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadInvoiceListDataAction = (payload) => {\r\n return {\r\n type: constants.backoffice.LOAD_INVOICE_LIST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setInvoiceListDataAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_INVOICE_LIST_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst loadInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.backoffice.LOAD_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst setInvoiceDataAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_INVOICE_DATA,\r\n payload,\r\n };\r\n};\r\n\r\nconst exportDataAction = (payload) => {\r\n return {\r\n type: constants.backoffice.EXPORT_DATA_ACTION,\r\n payload,\r\n };\r\n};\r\n\r\nconst downloadListAction = (payload) => {\r\n return {\r\n type: constants.backoffice.DOWNLOAD_LIST_ACTION,\r\n payload,\r\n };\r\n};\r\n\r\nconst getGetUploadedFilesAction = (id) => {\r\n return {\r\n type: constants.backoffice.GET_UPLOADED_FILES_LIST,\r\n id,\r\n };\r\n};\r\n\r\nconst setGetUploadedFilesAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_UPLOADED_FILES_LIST,\r\n payload,\r\n };\r\n};\r\n\r\nconst getStatsAction = (payload) => {\r\n return {\r\n type: constants.backoffice.GET_STATS,\r\n payload,\r\n };\r\n};\r\n\r\nconst setStatsAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_STATS,\r\n payload,\r\n };\r\n};\r\n\r\nconst downloadContractDocAction = (requestId) => {\r\n return {\r\n type: constants.backoffice.DOWNLOAD_CONTRACT_DOC,\r\n requestId,\r\n };\r\n};\r\n\r\nconst getSignInDocAction = (requestId, user) => {\r\n return {\r\n type: constants.backoffice.GET_SIGN_IN_DOC,\r\n requestId,\r\n user,\r\n };\r\n};\r\n\r\nconst loadRepresentatives = () => {\r\n return {\r\n type: constants.backoffice.LOAD_REPRESENTATIVES,\r\n };\r\n};\r\n\r\nconst setRepresentatives = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REPRESENTATIVES,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRepresentativeAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REPRESENTATIVE,\r\n payload,\r\n };\r\n};\r\n\r\nconst saveRepresentativeAction = (data) => {\r\n return {\r\n type: constants.backoffice.SAVE_REPRESENTATIVE,\r\n data,\r\n };\r\n};\r\n\r\nconst setSaveRepresentativeError = (payload) => {\r\n return {\r\n type: constants.backoffice.SAVE_REPRESENTATIVE_ERROR,\r\n payload,\r\n };\r\n};\r\n\r\nconst saveEditAdditionalComments = (action, payload) => {\r\n return {\r\n type: constants.backoffice.SAVE_EDIT_ADDITIONAL_COMMENTS,\r\n action,\r\n payload,\r\n };\r\n};\r\n\r\nconst getAdditionalComments = (payload) => {\r\n return {\r\n type: constants.backoffice.GET_ADDITIONAL_COMMENTS,\r\n payload,\r\n };\r\n};\r\n\r\nconst getRequestLogAction = (requestId) => {\r\n return {\r\n type: constants.backoffice.GET_REQUEST_LOG,\r\n requestId,\r\n };\r\n};\r\n\r\nconst setRequestLog = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REQUEST_LOG,\r\n payload,\r\n };\r\n};\r\n\r\nconst getInvegaUsersAction = () => {\r\n return {\r\n type: constants.backoffice.GET_INVEGA_USERS,\r\n };\r\n};\r\n\r\nconst setInvegaUsersAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_INVEGA_USERS,\r\n payload,\r\n };\r\n};\r\n\r\nconst callSagaForErrHandling = (payload) => {\r\n return {\r\n type: constants.backoffice.CALL_SAGA_FOR_ERR_HANDLE,\r\n payload,\r\n };\r\n};\r\n\r\nconst setAssessorAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_ASSESSORS,\r\n payload,\r\n };\r\n};\r\n\r\nconst setRelatedRequestsAction = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_RELATED_REQUESTS,\r\n payload,\r\n };\r\n};\r\n\r\nconst saveRiskAssessmentResult = (action, payload) => {\r\n return {\r\n type: constants.backoffice.SAVE_RISK_ASSESMENT_RESULT,\r\n action,\r\n payload,\r\n };\r\n};\r\n\r\nconst downloadAllFilesAction = (id) => {\r\n return {\r\n type: constants.backoffice.DOWNLOAD_ALL_FILES,\r\n id,\r\n };\r\n};\r\n\r\nconst setRepresentativesManagerByRequest = (payload) => {\r\n return {\r\n type: constants.backoffice.SET_REPRESENTAVITES_MANAGER_BY_REQUEST,\r\n payload,\r\n };\r\n};\r\n\r\nexport const backofficeActions = {\r\n getRequestListAction,\r\n setRequestsList,\r\n getRequestAction,\r\n getPaymentRequestAction,\r\n setRequest,\r\n setStatusChanged,\r\n setPaymentRequestStatusChanged,\r\n loadInvoiceListDataAction,\r\n setInvoiceListDataAction,\r\n loadInvoiceDataAction,\r\n setInvoiceDataAction,\r\n exportDataAction,\r\n downloadListAction,\r\n getGetUploadedFilesAction,\r\n setGetUploadedFilesAction,\r\n getStatsAction,\r\n setStatsAction,\r\n downloadContractDocAction,\r\n getSignInDocAction,\r\n loadRepresentatives,\r\n setRepresentatives,\r\n setRepresentativeAction,\r\n saveRepresentativeAction,\r\n setSaveRepresentativeError,\r\n saveEditAdditionalComments,\r\n getAdditionalComments,\r\n // terminateRequestAction,\r\n getRequestLogAction,\r\n setRequestLog,\r\n getInvegaUsersAction,\r\n setInvegaUsersAction,\r\n callSagaForErrHandling,\r\n setAssessorAction,\r\n setRelatedRequestsAction,\r\n saveRiskAssessmentResult,\r\n downloadAllFilesAction,\r\n setRepresentativesManagerByRequest,\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst INITIAL_STATE = {\r\n isOnSync: false,\r\n dashboardData: [],\r\n requestList: [],\r\n requestData: {},\r\n firstStepPassed: false,\r\n isAgreed: null,\r\n concentData: {},\r\n requestLimit: 0,\r\n generalData: {},\r\n canCreateRequest: false,\r\n requestGeneralLimit: 0,\r\n savedRequestDesissionAccepted: false,\r\n filesTableList: [],\r\n signInInfo: null,\r\n signingUrl: '',\r\n financialCriteriaResults: null,\r\n loginType: null,\r\n representativesList: null,\r\n representative: {},\r\n errors: [],\r\n paymentRequestsList: [],\r\n paymentRequest: [],\r\n paymentRequestPrDocument: [],\r\n};\r\n\r\nconst INOVICE_INITIAL_STATE = {\r\n invoiceData: {},\r\n saved: false,\r\n error: false,\r\n};\r\n\r\nconst COMPANY_INITIAL_STATE = {\r\n id: '',\r\n saved: false,\r\n error: false,\r\n checking: false,\r\n decision: {},\r\n};\r\n\r\nconst REQUEST_APPROVE_STATE = {\r\n saved: false,\r\n error: false,\r\n};\r\n\r\nexport const userReducer = (state = INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.dashboard.SET_ON_SYNC_FLAG:\r\n return {\r\n ...state,\r\n isOnSync: action.flag,\r\n };\r\n\r\n case constants.dashboard.SET_DASHBOARD_DATA:\r\n return {\r\n ...state,\r\n dashboardData: action.payload,\r\n };\r\n case constants.dashboard.LOAD_INVOICE_LIST_DATA:\r\n return {\r\n ...state,\r\n isOnSync: true,\r\n saved: false,\r\n error: false,\r\n };\r\n case constants.dashboard.LOAD_INVOICE_APPROVE_LIST_DATA:\r\n return {\r\n ...state,\r\n isOnSync: true,\r\n };\r\n case constants.dashboard.SET_INVOICE_LIST_DATA:\r\n return {\r\n ...state,\r\n dashboardData: action.payload,\r\n isOnSync: false,\r\n };\r\n case constants.dashboard.SET_REQUEST_LIMIT_DATA:\r\n return {\r\n ...state,\r\n requestLimit: action.payload,\r\n };\r\n case constants.dashboard.SET_REQUEST_GENERAL_LIMIT_DATA:\r\n return {\r\n ...state,\r\n requestGeneralLimit: action.payload,\r\n };\r\n case constants.dashboard.SET_FIRST_STEP_PASSED:\r\n return {\r\n ...state,\r\n firstStepPassed: action.payload,\r\n };\r\n case constants.dashboard.SET_REQUEST_LIST:\r\n return {\r\n ...state,\r\n requestList: action.payload,\r\n };\r\n case constants.dashboard.SET_PROJECT_LIST:\r\n return {\r\n ...state,\r\n projectList: action.payload,\r\n };\r\n case constants.dashboard.SET_NEW_REQUEST_DATA:\r\n return {\r\n ...state,\r\n requestData: action.payload,\r\n };\r\n case constants.dashboard.SET_REQUEST_VIEW_WINDOW:\r\n return {\r\n ...state,\r\n requestData: { ...state.requestData, type: 'view' },\r\n };\r\n\r\n case constants.dashboard.SET_IS_CONSENTAGREED:\r\n return {\r\n ...state,\r\n isAgreed: action.payload.isAgreed,\r\n };\r\n case constants.dashboard.SET_CONSENT_DATA:\r\n return {\r\n ...state,\r\n consentData: action.payload,\r\n };\r\n case constants.dashboard.SET_GENERAL_DATA:\r\n return {\r\n ...state,\r\n generalData: action.payload,\r\n };\r\n case constants.dashboard.SET_CAN_CREATE_REQUEST:\r\n return {\r\n ...state,\r\n canCreateRequest: action.payload,\r\n };\r\n\r\n case constants.dashboard.SET_SAVED_REQUEST_DESISSION_ACCEPTED:\r\n return {\r\n ...state,\r\n savedRequestDesissionAccepted: action.payload,\r\n };\r\n case constants.dashboard.SET_UPLOADED_FILES_LIST:\r\n return {\r\n ...state,\r\n filesTableList: action.payload,\r\n };\r\n case constants.dashboard.SET_SIGNING_IN_INFO:\r\n return {\r\n ...state,\r\n signInInfo: action.payload,\r\n };\r\n\r\n case constants.dashboard.SET_FINANCIALCRITERIA_RESULTS:\r\n return {\r\n ...state,\r\n financialCriteriaResults: action.payload,\r\n };\r\n\r\n case constants.dashboard.SET_LOGIN_TYPE:\r\n return {\r\n ...state,\r\n loginType: action.payload,\r\n };\r\n case constants.dashboard.CLEAR_USER_STATE:\r\n return {\r\n ...INITIAL_STATE,\r\n };\r\n case constants.dashboard.SET_REPRESENTATIVES:\r\n case constants.dashboard.SET_COMPANY_REPRESENTATIVES:\r\n return {\r\n ...state,\r\n representativesList: action.payload,\r\n };\r\n case constants.dashboard.SAVE_REPRESENTATIVE_ERROR:\r\n return {\r\n ...state,\r\n errors: action.payload,\r\n };\r\n case constants.dashboard.SET_REPRESENTATIVE:\r\n return {\r\n ...state,\r\n representative: action.payload,\r\n };\r\n case constants.dashboard.SET_PAYMENT_REQUESTS_LIST:\r\n return {\r\n ...state,\r\n paymentRequestsList: action.payload,\r\n };\r\n case constants.dashboard.SET_PAYMENT_REQUEST:\r\n return {\r\n ...state,\r\n paymentRequest: action.payload,\r\n };\r\n case constants.dashboard.SET_PAYMENT_REQUEST_PR_DOCUMENT:\r\n return {\r\n ...state,\r\n paymentRequestPrDocument: action.payload,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const invoiceReducer = (state = INOVICE_INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.dashboard.SET_INVOICE_DATA:\r\n case constants.dashboard.SET_OWNER_INVOICE_DATA:\r\n return {\r\n ...state,\r\n invoiceData: action.payload,\r\n };\r\n case constants.dashboard.SAVE_INVOICE_DATA:\r\n return {\r\n ...state,\r\n invoiceData: {},\r\n };\r\n case constants.dashboard.INVOICE_SAVED:\r\n return {\r\n ...state,\r\n saved: action.payload,\r\n error: false,\r\n };\r\n case constants.dashboard.INVOICE_SAVED_EROR:\r\n return {\r\n ...state,\r\n error: action.payload.error.ErrorDescription,\r\n saved: false,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const companyReducer = (state = COMPANY_INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.dashboard.SET_COMPANY_DATA:\r\n return {\r\n ...state,\r\n id: action.payload.id,\r\n saved: action.payload.saved,\r\n checking: false,\r\n error: action.payload.error,\r\n decision: action.payload.decision,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const requestReducer = (state = REQUEST_APPROVE_STATE, action) => {\r\n switch (action.type) {\r\n case constants.dashboard.APPROVE_REQUEST_ERROR:\r\n return {\r\n ...state,\r\n error: action.payload.error?.ErrorDescription || '',\r\n saved: false,\r\n };\r\n case constants.dashboard.APPROVE_REQUEST_SUCCESS:\r\n return {\r\n ...state,\r\n error: false,\r\n saved: true,\r\n };\r\n case constants.dashboard.APPROVE_REQUEST_RESSET:\r\n return {\r\n ...state,\r\n error: false,\r\n saved: false,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst INITIAL_STATE = {\r\n globalErrorModalVisible: false,\r\n loginModalVisible: false,\r\n globalConfirmationModalVisible: false,\r\n requestsModalVisible: false,\r\n informationModalVisible: false,\r\n deleteComfirmationModalVisible: false,\r\n signContractModalVisible: false,\r\n financialCriteriaModalVisible: false,\r\n validationErrorModalVisible: false,\r\n confirmInvoicesFromManagerModalVisible: false,\r\n autorizationModalVisible: false,\r\n doublecheckEvaluationModalVisible: false,\r\n regenerateDecisionDocModalVisible: false,\r\n terminateRequestModalVisible: false,\r\n confirmWithFinancialCriteriaModalVisible: false,\r\n confirmWithoutFinancialCriteriaModalVisible: false,\r\n paymentRequestSendforApproveModalVisible: false,\r\n invegaLoanSumModalVisible: false,\r\n importFilesModalVisible: false,\r\n increaseInvegaLoanSumModalVisible: false,\r\n confirmRequestModalVisible: false,\r\n takeRequestToEvaluateModalVisible: false,\r\n changeContractFileVisible: false,\r\n changeCompanySizeVisible: false,\r\n goBackConfirmationModalVisible: false,\r\n additionalVmiCheckConfirmationVisible: false,\r\n changeConditionsModalVisible: false,\r\n acceptConditionsChangeRequestModalVisible: false,\r\n rejectConditionsChangeRequestVisible: false,\r\n changeConditionsBoModalVisible: false,\r\n globalMessageModalVisible: false,\r\n submitConditionsChangeRequestModalVisible: false,\r\n returnChangeConditionsModalVisible: false,\r\n confirmWithoutFinancialCriteriaForChangeConditionsModalVisible: false,\r\n approveRequestWithAdditionalDocsVisible: false,\r\n surveyModalVisible: false,\r\n returnModalVisible: false,\r\n isOnSync: false,\r\n errMsg: '',\r\n validationErr: null,\r\n closedDialogOKMessage: null,\r\n confirmWithAdditionalDocsVisible: false,\r\n changeSetNotDeletableVisible: false,\r\n confirmRequestNewVisible: false,\r\n confirmRejectNewVisible: false,\r\n};\r\n\r\nexport const modalsReducer = (state = INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.modals.SET_ON_SYNC_FLAG:\r\n return {\r\n ...state,\r\n isOnSync: action.flag,\r\n };\r\n case constants.modals.SET_MODAL_VISIBLE_FLAG:\r\n const { open, msgText } = action;\r\n const key = open.modalName + 'Visible';\r\n return {\r\n ...state,\r\n [key]: open.visible,\r\n msgText,\r\n };\r\n case constants.modals.SET_ERROR_MESSAGE:\r\n return {\r\n ...state,\r\n errMsg: action.msg,\r\n };\r\n case constants.modals.SET_VALIDATION_ERROR:\r\n return {\r\n ...state,\r\n validationErr: action.err,\r\n };\r\n case constants.modals.SET_MODAL_CLOSED_OK_MESSAGE:\r\n return {\r\n ...state,\r\n closedDialogOKMessage: action.action.message,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { constants } from '..';\r\n\r\nconst INITIAL_STATE = {\r\n loading: false,\r\n user: null,\r\n token: null,\r\n loggedIn: false,\r\n loginErr: false,\r\n role: 'admin',\r\n tokenPushingStarted: false,\r\n projects: null,\r\n};\r\n\r\nexport const authReducer = (state = INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.auth.SET_AUTH_LOADING:\r\n return {\r\n ...state,\r\n loading: action.flag,\r\n };\r\n case constants.auth.SET_USER:\r\n return {\r\n ...state,\r\n user: action.userDetails.user,\r\n token: action.userDetails.token,\r\n loggedIn: true,\r\n role: action.userDetails.role,\r\n };\r\n case constants.auth.CLEAR_USER:\r\n return {\r\n ...INITIAL_STATE,\r\n };\r\n case constants.auth.SET_LOGIN_ERR_MESSAGE:\r\n return {\r\n ...state,\r\n loginErr: true,\r\n };\r\n case constants.auth.SET_TOKEN_PUSH_STARTED:\r\n return {\r\n ...state,\r\n tokenPushingStarted: true,\r\n };\r\n case constants.auth.SET_PROJECTS:\r\n return {\r\n ...state,\r\n projects: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { constants } from '../constants';\r\n\r\nconst INITIAL_STATE = {\r\n loading: false,\r\n data: {},\r\n filesTableList: [],\r\n additionalComments: {\r\n ApproversComment: '',\r\n SignatorysComment: '',\r\n },\r\n requestLog: [],\r\n invegaUsers: [],\r\n AssessorsList: [],\r\n relatedRequests: [],\r\n};\r\n\r\nconst PAYMENT_REQUEST_INITIAL_STATE = {\r\n loading: false,\r\n data: null,\r\n};\r\n\r\nconst INVOICES_INITIAL_STATE = {\r\n loading: false,\r\n data: null,\r\n};\r\n\r\nconst INVOICE_INITIAL_STATE = {\r\n loading: false,\r\n data: null,\r\n};\r\n\r\nconst STATS_INITIAL_STATE = {\r\n loading: false,\r\n data: null,\r\n};\r\n\r\nconst REPR_INITIAL_STATE = {\r\n representativesList: [],\r\n representative: {},\r\n loading: false,\r\n errors: [],\r\n};\r\n\r\nexport const backofficeRequestsReducer = (state = INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.backoffice.LOAD_REQUESTS_LIST:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n case constants.backoffice.SET_REQUESTS_LIST:\r\n return {\r\n ...state,\r\n loading: false,\r\n data: action.payload,\r\n };\r\n case constants.backoffice.GET_REQUEST:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n case constants.backoffice.SET_REQUEST:\r\n return {\r\n ...state,\r\n loading: false,\r\n data: action.payload,\r\n };\r\n case constants.backoffice.SET_REQUEST_STATUS:\r\n return {\r\n ...state,\r\n loading: action.payload,\r\n };\r\n\r\n case constants.backoffice.SET_PAYMENT_REQUEST_STATUS:\r\n return {\r\n ...state,\r\n loading: action.payload,\r\n };\r\n case constants.backoffice.SET_UPLOADED_FILES_LIST:\r\n return {\r\n ...state,\r\n filesTableList: action.payload,\r\n };\r\n case constants.backoffice.GET_ADDITIONAL_COMMENTS:\r\n return {\r\n ...state,\r\n additionalComments: action.payload,\r\n };\r\n case constants.backoffice.SET_REQUEST_LOG:\r\n return {\r\n ...state,\r\n requestLog: action.payload,\r\n };\r\n case constants.backoffice.SET_REPRESENTAVITES_MANAGER_BY_REQUEST:\r\n return {\r\n ...state,\r\n representatives: action.payload,\r\n };\r\n case constants.backoffice.SET_INVEGA_USERS:\r\n return {\r\n ...state,\r\n invegaUsers: action.payload,\r\n };\r\n case constants.backoffice.SET_ASSESSORS:\r\n return {\r\n ...state,\r\n AssessorsList: action.payload,\r\n };\r\n case constants.backoffice.SET_RELATED_REQUESTS:\r\n return {\r\n ...state,\r\n relatedRequests: action.payload,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const backofficePaymentRequestsReducer = (\r\n state = PAYMENT_REQUEST_INITIAL_STATE,\r\n action\r\n) => {\r\n switch (action.type) {\r\n case constants.backoffice.GET_PAYMENT_REQUEST:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const backofficeInvoicesReducer = (\r\n state = INVOICES_INITIAL_STATE,\r\n action\r\n) => {\r\n switch (action.type) {\r\n case constants.backoffice.LOAD_INVOICE_LIST_DATA:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n case constants.backoffice.SET_INVOICE_LIST_DATA:\r\n return {\r\n ...state,\r\n loading: false,\r\n data: action.payload,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const backofficeInvoiceReducer = (\r\n state = INVOICE_INITIAL_STATE,\r\n action\r\n) => {\r\n switch (action.type) {\r\n case constants.backoffice.LOAD_INVOICE_DATA:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n case constants.backoffice.SET_INVOICE_DATA:\r\n return {\r\n ...state,\r\n loading: false,\r\n data: action.payload,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const backofficeStatsReducer = (state = STATS_INITIAL_STATE, action) => {\r\n switch (action.type) {\r\n case constants.backoffice.GET_STATS:\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n case constants.backoffice.SET_STATS:\r\n return {\r\n ...state,\r\n loading: false,\r\n data: action.payload,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const backofficeRepresentetivesReducer = (\r\n state = REPR_INITIAL_STATE,\r\n action\r\n) => {\r\n switch (action.type) {\r\n case constants.backoffice.SET_REPRESENTATIVES:\r\n return {\r\n ...state,\r\n representativesList: action.payload,\r\n };\r\n case constants.backoffice.SET_REPRESENTATIVE:\r\n return {\r\n ...state,\r\n representative: action.payload,\r\n };\r\n case constants.backoffice.SAVE_REPRESENTATIVE_ERROR:\r\n return {\r\n ...state,\r\n errors: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { combineReducers } from 'redux';\r\nimport {\r\n userReducer,\r\n invoiceReducer,\r\n companyReducer,\r\n requestReducer,\r\n} from './dashboard/DashboardReducer';\r\nimport { modalsReducer } from './modals/ModalsReducer';\r\nimport { authReducer } from './auth/auth.reducer';\r\nimport {\r\n backofficeRequestsReducer,\r\n backofficePaymentRequestsReducer,\r\n backofficeInvoicesReducer,\r\n backofficeInvoiceReducer,\r\n backofficeStatsReducer,\r\n backofficeRepresentetivesReducer,\r\n} from './backoffice/BackofficeReducer';\r\n\r\nexport const reducers = combineReducers({\r\n dashboardState: userReducer,\r\n invoiceState: invoiceReducer,\r\n companyState: companyReducer,\r\n requestState: requestReducer,\r\n modalsState: modalsReducer,\r\n auth: authReducer,\r\n backofficeRequestsState: backofficeRequestsReducer,\r\n backofficePaymentRequestsState: backofficePaymentRequestsReducer,\r\n backofficeInvoicesState: backofficeInvoicesReducer,\r\n backofficeInvoiceState: backofficeInvoiceReducer,\r\n backofficeStatsState: backofficeStatsReducer,\r\n backofficeRepresentetivesState: backofficeRepresentetivesReducer,\r\n});\r\n","export const isProd = () => {\r\n const parts = window.location.hostname.split('.');\r\n const sndleveldomain = parts.slice(-2).join('.');\r\n if (sndleveldomain === config.DOMAIN_URL_PROD) {\r\n return true;\r\n }\r\n return false;\r\n};\r\n\r\nexport const isLocalhost = () => {\r\n const parts = window.location.hostname.split('.');\r\n const sndleveldomain = parts.slice(-2).join('.');\r\n if (sndleveldomain === config.DOMAIN_URL_LOCALHOST) {\r\n return true;\r\n }\r\n return false;\r\n};\r\n\r\nexport const config = {\r\n API_BASE_URL_DEV: 'https://kiwi-test.scorify.lt',\r\n //API_BASE_URL_DEV: 'https://localhost:44378',\r\n API_BASE_URL_PROD: `${window.location.protocol}//${window.location.host}`,\r\n DOMAIN_URL_DEV: 'scorify.lt',\r\n DOMAIN_URL_PROD: `ilte.lt`,\r\n API_BASE_VERSION: 'api/Auth',\r\n API_ENDPOINTS: {\r\n login: '/api/Auth/Login',\r\n backOfficeLogin: '/api/Auth/Authenticate/backoffice',\r\n logout: '/api/Auth/logout',\r\n vaiisisTest: '/api/Auth/vaiisistest',\r\n customLogin: '/Auth/CustomLogin',\r\n\r\n startRegistersProcessing: '/api/Company/StartRegistersProcessing',\r\n startRegistersProcessingIndividual:\r\n '/api/Individual/StartRegistersProcessing',\r\n getRegistersProcessingStatus: (id) =>\r\n `/api/Company/GetRegistersProcessingStatus/${id}`,\r\n getRegistersProcessingStatusIndividual: (id) =>\r\n `/api/Individual/GetRegistersProcessingStatus/${id}`,\r\n getFinancialCriteriaResults: (id) =>\r\n `/api/request/GetFinancialCriteriaResults/${id}`,\r\n\r\n getFinancialCriteriaResultsFinal: (id) =>\r\n `/api/request/GetFinancialCriteriaResultsFinal/${id}`,\r\n\r\n getFinancialCriteriaResultsIndividual: (id) =>\r\n `/api/Individual/GetFinancialCriteriaResults/${id}`,\r\n\r\n getFinancialCriteriaResultsForSaveRequest: (id) =>\r\n `/api/Request/GetFinancialCriteriaResults/${id}`,\r\n\r\n doubleCheckRequestEvaluation: (id) =>\r\n `/api/Request/DoubleCheckRequestEvaluation?requestId=${id}`,\r\n copy: (id) => `/api/Request/Copy/${id}`,\r\n\r\n invoiceSellerList: (id) => `/api/Invoice/TenantList?requestId=${id}`,\r\n invoiceDelete: (id) => `/api/Invoice/Delete?invoiceId=${id}`,\r\n invoiceBuyerList: '/api/Invoice/OwnerList',\r\n confirmInvoice: '/api/Invoice/Confirm',\r\n rejectInvoice: '/api/Invoice/Reject',\r\n invoiceData: (requestId, id) =>\r\n `/api/Invoice/GetByTenant?requestId=${requestId}&invoiceId=${id}`,\r\n invoiceOwnerData: (requestId, id) =>\r\n `/api/Invoice/GetByOwner?requestId=${requestId}&invoiceId=${id}`,\r\n saveInvoiceData: (id) => `/api/Invoice/Save?requestId=${id}`,\r\n\r\n isConsentAgreed: '/api/Users/IsConsentAgreed',\r\n createConsent: '/api/Users/CreateConsent',\r\n getConsent: '/api/Users/GetConsent',\r\n logoff: '/api/Users/logoff',\r\n\r\n requestList: '/api/Request/List',\r\n projectList: '/api/Request/GetProjectsList',\r\n requestStart: (id) => `/api/Request/Start`,\r\n requestGet: (id) => `/api/Request/Get?requestId=${id}`,\r\n requestSave: '/api/Request/Save',\r\n requestdelete: (id) => `/api/Request/Delete?requestId=${id}`,\r\n requestSendForApprove: (id) =>\r\n `/api/Request/SendForApprove?requestId=${id}`,\r\n\r\n paymentRequestList: (id) => `/api/PaymentRequest/List?requestId=${id}`,\r\n paymentRequest: (id, paymentId) =>\r\n `/api/PaymentRequest/Get?requestId=${id}&paymentRequestId=${paymentId}`,\r\n paymentRequestStart: (id) => `/api/PaymentRequest/Start?requestId=${id}`,\r\n paymentRequestSavePrDocument: (id) =>\r\n `/api/PaymentRequest/SavePrDocument?paymentRequestId=${id}`,\r\n paymentRequestSavePrDocumentManager: (id) =>\r\n `/api/PaymentRequest/SavePrDocumentManager?paymentRequestId=${id}`,\r\n paymentRequestPrDocument: (id, docId) =>\r\n `/api/PaymentRequest/GetPrDocument?paymentRequestId=${id}&prDocumentId=${docId}`,\r\n paymentRequestDeletePrDocument: (id) =>\r\n `/api/PaymentRequest/DeletePrDocument?prDocumentId=${id}`,\r\n UploadFilesPrd: '/api/PaymentRequest/uploadFilesPrd',\r\n DeleteUploadedFilePrd: (invoiceId, fileId) =>\r\n `/api/PaymentRequest/DeleteUploadedFilePrd/${invoiceId}/${fileId}`,\r\n DownloadFilePrd: (invoiceId, fileId) =>\r\n `/api/PaymentRequest/DownloadFilePrd/${invoiceId}/${fileId}`,\r\n UploadFilesPr: '/api/PaymentRequest/uploadFilesPr',\r\n DownloadFilePr: (invoiceId, fileId) =>\r\n `/api/PaymentRequest/DownloadFilePr/${invoiceId}/${fileId}`,\r\n DeleteUploadedFilePr: (invoiceId, fileId) =>\r\n `/api/PaymentRequest/DeleteUploadedFilePr/${invoiceId}/${fileId}`,\r\n GetActionLogManager: (paymentRequestId) =>\r\n `/api/PaymentRequest/GetActionLogManager?paymentRequestId=${paymentRequestId}`,\r\n MarkUnpaidCheck: (paymentRequestId) =>\r\n `/api/PaymentRequest/MarkUnpaidCheck?paymentRequestId=${paymentRequestId}`,\r\n\r\n GetAdministrationInvoices: (requestId) =>\r\n `/api/Request/GetAdministrationInvoices/${requestId}`,\r\n DownloadAdministrationInvoice: (contractId) =>\r\n `/api/Request/DownloadAdministrationInvoice/${contractId}`,\r\n\r\n requestSendForApproveWithDocs: (id) =>\r\n `/api/Request/SubmitAdditionalDocs?requestId=${id}`,\r\n\r\n paymentRequestSendForApprove: (paymentId) =>\r\n `/api/PaymentRequest/Submit?paymentRequestId=${paymentId}`,\r\n\r\n setApprovePaymentRequest: (paymentId) =>\r\n `/api/PaymentRequest/Approve?paymentRequestId=${paymentId}`,\r\n setRejectPaymentRequest: (paymentId) =>\r\n `/api/PaymentRequest/Reject?paymentRequestId=${paymentId}`,\r\n setReturnPaymentRequest: (paymentId) =>\r\n `/api/PaymentRequest/Return?paymentRequestId=${paymentId}`, //todo\r\n returnPaymentWithComment: (paymentId) =>\r\n `/api/PaymentRequest/ReturnWithComment?paymentRequestId=${paymentId}`,\r\n checkForApprove: `/api/Request/CheckForApprove`,\r\n ExportPr: (id, paymentId) =>\r\n `/api/PaymentRequest/ExportPr?requestId=${id}&paymentRequestId=${paymentId}`,\r\n requestApprove: (id) => `/api/Request/Approve?requestId=${id}`,\r\n requestReject: (id) => `/api/Request/Reject?requestId=${id}`,\r\n requestReturn: '/api/Request/Return',\r\n SetCompanySizeType: '/api/Request/ManagerSaveCompanySizeType',\r\n SetNotDeletable: (requestId, notDeletable) =>\r\n `/api/Request/SetNotDeletable?requestId=${requestId}¬Deletable=${notDeletable}`,\r\n requestInitialLimit: (id) => `/api/Request/GetInitialRequestLimit/${id}`,\r\n canCreateRequest: '/api/Request/CanCreateRequest',\r\n requestLimit: (id) => `/api/Request/GetRequestLimit/${id}`,\r\n\r\n DownloadFile: (requestId, fileId) =>\r\n `/api/request/DownloadFile/${requestId}/${fileId}`,\r\n DeleteUploadedFile: (id) => `/api/request/DeleteUploadedFile/${id}`,\r\n GetUploadedFiles: (id) => `/api/request/GetUploadedFiles/${id}`,\r\n UploadFiles: '/api/request/UploadFiles',\r\n UploadContract: (comment) =>\r\n `/api/request/UploadContract?comment=${comment}`,\r\n\r\n UploadChangeConditions: '/api/Request/UploadChangeConditions',\r\n RejectChangeConditions: `/api/Request/RejectChangeConditions`,\r\n\r\n DownloadChangeConditionsInvoice: (contractId) =>\r\n `/api/Request/DownloadChangeConditionsInvoice/${contractId}`,\r\n\r\n Terminate: '/api/Request/Terminate',\r\n\r\n GetFinancialEvaluationStatus: (id) =>\r\n `/api/Request/GetFinancialEvaluationStatus/${id}`,\r\n companyCreate: '/api/company/save',\r\n getGeneralData: '/api/Request/GetGeneralInfo',\r\n saveUserComment: '/api/Request/SaveUserComment',\r\n\r\n getManagerRequests: '/api/Request/GetManagerRequests',\r\n getManagerRequest: (id) => `/api/Request/GetForManager?requestId=${id}`,\r\n setApproveRequest: (id) => `/api/Request/Approve?requestId=${id}`,\r\n setApproveWithDocsRequest: (id) =>\r\n `/api/Request/WaitForAdditionalDocsNew?requestId=${id}`,\r\n setRejectRequest: (id) => `/api/Request/Reject?requestId=${id}`,\r\n setReturnRequest: (id) => `/api/Request/Return?requestId=${id}`,\r\n setSignedRequest: (id) => `/api/Request/Signed?requestId=${id}`,\r\n setSendForApproveRequest: (id) =>\r\n `/api/Request/InvegaSendForApprove?requestId=${id}`,\r\n setApproveRequest: (id) => `/api/Request/InvegaSetApprove?requestId=${id}`,\r\n setChangeConditionsRequest: (id) =>\r\n `/api/Request/InvegaSetChangeConditions?requestId=${id}`,\r\n setChangeConditionsApprovedRequest: (id) =>\r\n `/api/Request/InvegaSetChangeConditionsApproved?requestId=${id}`,\r\n getManagerInvoices: (id) => `/api/Invoice/ManagerList?requestId=${id}`,\r\n getManagerInvoice: (id) => `/api/Invoice/ManagerGet?invoiceId=${id}`,\r\n getManagerUploadedFiles: (id) =>\r\n `/api/request/GetUploadedFilesManager/${id}`,\r\n DownloadFileManager: (requestId, fileId) =>\r\n `/api/request/DownloadFileManager/${requestId}/${fileId}`,\r\n getStats: `/api/backoffice/GetStats`,\r\n\r\n ExportData: '/api/BackOffice/ExportData',\r\n DownloadList: '/api/BackOffice/ExportManagerRequests',\r\n\r\n getSigningUrl: (id) => `/api/Request/GetSigningUrl/${id}`,\r\n getSigningUrlManager: (id) => `/api/Request/GetSigningUrlManager/${id}`,\r\n getSigningUrlDecision: (id) => `/api/Request/GetSigningUrlDecision/${id}`,\r\n regenerateDecisionDoc: (id) =>\r\n `/api/request/RegenerateDecisionDoc?requestId=${id}`,\r\n\r\n getSigningUrlBatch: '/api/Request/GetSigningUrlBatch',\r\n\r\n SaveLoanSums: (id) => `/api/Request/SaveLoanSums?requestId=${id}`,\r\n\r\n GenerateContractDoc: (id) => `/api/Request/GenerateContractDoc/${id}`,\r\n DownloadContractDoc: (id) => `/api/Request/DownloadContractDoc/${id}`,\r\n\r\n GetSignedDocumentManager: (id) => `/api/Request/GetSignedDocument/${id}`,\r\n GetSignedDocumentUser: (id) => `/api/Request/GetSignedDocument/${id}`,\r\n\r\n GetSignedDocumentContract: (id) =>\r\n `/api/Request/GetSignedDocumentContract/${id}`,\r\n GetSignedDocumentChangeConditions: (id) =>\r\n `/api/Request/GetSignedDocumentChangeConditions/${id}`,\r\n GetChangeConditionsFile: (requestId, fileId) =>\r\n `/api/Request/GetChangeConditionsFile/${requestId}/${fileId}`,\r\n GetSignedDocumentDecision: (id) =>\r\n `/api/Request/GetSignedDocumentDecision/${id}`,\r\n\r\n GetSigningInfo: (id) => `/api/Request/GetSigningInfo/${id}`,\r\n CanConfirmInvoicesFromManager: (id) =>\r\n `/api/request/CanConfirmInvoicesFromManager?requestId=${id}`,\r\n ConfirmInvoicesFromManager: (id) =>\r\n `/api/request/ConfirmInvoicesFromManager?requestId=${id}`,\r\n\r\n calculateFinancialCriteria: '/api/Request/CalculateFinancialCriteria',\r\n\r\n saveAdditionalComments: '/api/request/SaveAdditionalComments',\r\n getAdditionalComments: (id) => `/api/request/GetAdditionalComments/${id}`,\r\n\r\n saveRepresentative: '/api/Representatives/SaveCompanyRepresentative',\r\n saveRepresentativeManager:\r\n '/api/Representatives/SaveCompanyRepresentativeManager',\r\n loadRepresentativesManager: '/api/Representatives/GetEditListManager',\r\n loadRepresentatives: '/api/Representatives/GetEditList',\r\n deleteRepresentative: (id) =>\r\n `/api/Representatives/DeleteCompanyRepresentative/${id}`,\r\n deleteRepresentativeManager: (id) =>\r\n `/api/Representatives/DeleteCompanyRepresentativeManager/${id}`,\r\n downloadRepresentativeFile: (id, fileId) =>\r\n `/api/Representatives/DownloadFile/${id}/${fileId}`,\r\n downloadRepresentativeFileManager: (id, fileId) =>\r\n `/api/Representatives/DownloadFileManager/${id}/${fileId}`,\r\n getCompanyRepresentations: '/api/Representatives/GetCompanyRepresentations',\r\n impersonate: '/api/Representatives/Impersonate',\r\n getRequestLog: (id) => `/api/Request/GetActionLogManager?requestId=${id}`,\r\n getInvegaUsers: '/api/BackOffice/GetInvegaUsers',\r\n getFeatureSettings: '/api/feature/get',\r\n SetInvegaLoanSum: '/api/Request/SetInvegaLoanSum',\r\n increaseInvegaLoanSum: '/api/Request/IcreaseInvegaLoanSum',\r\n\r\n importFiles: '/api/BackOffice/ImportDataList',\r\n\r\n CanCreateOrSubmit: (id) => `/api/Request/CanCreateOrSubmit?requestId=${id}`,\r\n GetIndividualEvrks: (id) =>\r\n `/api/Request/GetIndividualEvrks?requestId=${id}`,\r\n GetCompanyEvrks: (id) => `/api/Request/GetCompanyEvrks?requestId=${id}`,\r\n GetAssessorsList: '/api/Request/GetAssessorsList',\r\n SetAssessor: (requestId, userId) =>\r\n `/api/Request/SetAssessor?requestId=${requestId}&userId=${userId}`,\r\n\r\n ExcelList: `/api/Excel/list`,\r\n ExcelDownloadFile: (id) => `/api/Excel/DownloadFile?id=${id}`,\r\n\r\n MarkForVmiRenewMass: '/api/Request/MarkForVmiRenewMass',\r\n MarkForVmiAdditionalCheckMass: '/api/Request/MarkForVmiAdditionalCheckMass',\r\n\r\n GetRelatedRequests: (id) =>\r\n `/api/Request/GetRelatedRequests?requestId=${id}`,\r\n\r\n getAddressStructDistricts: '/api/Request/GetAddressStructDistricts',\r\n getAddressStructMunicipalities: (district) =>\r\n `/api/Request/GetAddressStructMunicipalities?districtId=${district}`,\r\n getAddressStructElderships: (municipality) =>\r\n `/api/Request/GetAddressStructElderships?municipalityId=${municipality}`,\r\n getAddressStructSettlements: (municipality, eldership) =>\r\n `/api/Request/GetAddressStructSettlements?municipalityId=${municipality}&eldershipId=${eldership}`,\r\n RequestChangeConditions: (id) => `/api/Request/RequestChangeConditions`,\r\n saveRiskAssessmentResult: '/api/request/ManagerSaveRiskAssessmentResult',\r\n DownloadAllFiles: (id) => `/api/Request/DownloadAllFiles/${id}`,\r\n\r\n RenewVmiInfo: (code) => `/api/Request/RenewVmiInfo?companyCode=${code}`,\r\n VmiAdditionalChecksList: '/api/Request/VmiAdditionalChecksList',\r\n VmiAdditionalChecksSave: (code) =>\r\n `/api/Request/VmiAdditionalChecksSave?code=${code}`,\r\n GetEditListManagerByRequest: (id) =>\r\n `/api/Representatives/GetEditListManagerByRequest?requestId=${id}`,\r\n ChangeChangeConditionsFile: '/api/Request/ChangeChangeConditionsFile',\r\n ApproveChangeConditions: `/api/Request/ApproveChangeConditions`,\r\n RequestChangeConditionsManager: `/api/Request/RequestChangeConditionsManager`,\r\n ReturnChangeConditions: (id, comment) =>\r\n `/api/Request/ReturnChangeConditions?requestId=${id}&comment=${comment}`,\r\n requestSendForApproveWithDocsForChangeConditions: (id) =>\r\n `/api/Request/SubmitAdditionalDocsForChangeConditions?requestId=${id}`,\r\n GetProjects: '/api/Request/GetProjectsList',\r\n GetSignedDocumentRejectDecision: (requestId) =>\r\n `/api/Request/GetSignedDocumentRejectDecision/${requestId}`,\r\n ManagerSaveRiskLevel: (id, level) =>\r\n `/api/Request/ManagerSaveRiskLevel?requestId=${id}&riskLevel=${level}`,\r\n ManagerSaveRiskAssessmentResult: `/api/Request/ManagerSaveRiskAssessmentResult`,\r\n RecheckJadis: (requestId) =>\r\n `/api/Request/RecheckJadis?requestId=${requestId}`,\r\n RecheckAml: (requestId) => `/api/Request/RecheckAml?requestId=${requestId}`,\r\n RecheckJarManager: (code) =>\r\n `/api/Request/RecheckJarManager?companyCode=${code}`,\r\n GetJarManagerChecks: `/api/Request/GetJarManagerChecks`,\r\n },\r\n\r\n APP_PATHS: {\r\n login: '/login',\r\n main: '/main-window',\r\n requests: '/main-window/requests',\r\n projects: '/main-window/projects',\r\n newRequest: '/main-window/requests/new-request',\r\n newRequest2: '/main-window/requests/new-request-2',\r\n newRequestWithId: '/main-window/requests/new-request/:id',\r\n authorization: '/main-window/authorization',\r\n permisssionDenied: `/permission-denied/:id`,\r\n permisssionDenied1: `/permission-denied`,\r\n representative: '/representative',\r\n paymentrequests: '/main-window/paymentrequests',\r\n paymentrequestsId: '/main-window/paymentrequests',\r\n paymentrequest: '/main-window/paymentrequest',\r\n paymentrequestId: '/main-window/paymentrequest',\r\n paymentDocument: '/main-window/paymentdocument',\r\n\r\n about: `/about`,\r\n description: `/description`,\r\n\r\n bills: '/main-window/bills',\r\n billsView: (id) => `/main-window/bills/${id}`,\r\n billsApprove: '/main-window/bills-approve',\r\n billCreate: '/main-window/bill/create',\r\n billEdit: '/main-window/bill/edit',\r\n billView: '/main-window/bill/view',\r\n billApproveView: '/main-window/bill/approveview',\r\n\r\n backoffice: '/backofficelogin',\r\n backofficeMain: '/backoffice/main',\r\n backofficeRequest: '/backoffice/request',\r\n backofficeRequest2: '/backoffice/request-2',\r\n backofficePaymentRequests: '/backoffice/paymentrequests',\r\n backofficePaymentRequest: '/backoffice/paymentrequest',\r\n backofficePaymentDocument: '/backoffice/paymentdocument',\r\n AdditionalRequests: '/backoffice/additionalRequests',\r\n\r\n backofficeBills: '/backoffice/bills',\r\n backofficeBill: '/backoffice/bill',\r\n backofficeStats: '/backoffice/stats',\r\n backofficeRepresentatives: '/backoffice/representatives',\r\n turnoversFiles: '/backoffice/turnovers-files',\r\n\r\n home: '/',\r\n vaiisis: '/api/Auth/Login',\r\n\r\n vmiRequests: '/backoffice/vmi-requests',\r\n },\r\n PAGES: {\r\n home: 'Home',\r\n },\r\n LOCAL_STORAGE: {\r\n adminToken: 'adminToken',\r\n },\r\n};\r\n","import Cookies from 'universal-cookie';\r\nimport { config, isProd, isLocalhost } from '../../api/config';\r\n\r\nconst storageHasProperty = (itemKey) => {\r\n return localStorage.hasOwnProperty(itemKey);\r\n};\r\n\r\nexport const getLocalStorageItemIfNotExpired = (\r\n itemKey,\r\n itemSetupTimeKey,\r\n itemExpiry\r\n) => {\r\n if (storageHasProperty(itemKey, itemSetupTimeKey)) {\r\n const hours = itemExpiry;\r\n const now = new Date().getTime();\r\n const setupTime = localStorage.getItem(itemSetupTimeKey);\r\n\r\n if (now - setupTime > hours * 60 * 60 * 1000) {\r\n localStorage.removeItem(itemKey);\r\n localStorage.removeItem(itemSetupTimeKey);\r\n return null;\r\n } else {\r\n return localStorage.getItem(itemKey);\r\n }\r\n } else {\r\n return getCookieValue(itemKey);\r\n }\r\n};\r\n\r\nexport const getLocalStorageItem = (itemKey) => {\r\n if (storageHasProperty(itemKey)) {\r\n return localStorage.getItem(itemKey);\r\n }\r\n\r\n return getCookieValue(itemKey);\r\n};\r\n\r\nexport const resetLocalStorageItem = (itemKey, itemValue) => {\r\n if (storageHasProperty(itemKey)) {\r\n localStorage.removeItem(itemKey);\r\n }\r\n\r\n localStorage.setItem(itemKey, itemValue);\r\n};\r\n\r\nexport const removeLocalStorageItem = (itemKey) => {\r\n if (storageHasProperty(itemKey)) {\r\n localStorage.removeItem(itemKey);\r\n }\r\n};\r\n\r\nconst cookiesHasProperty = (itemKey) => {\r\n const cookies = new Cookies();\r\n\r\n const allCookies = cookies.getAll();\r\n\r\n return allCookies.hasOwnProperty(itemKey);\r\n};\r\n\r\nexport const getCookieValue = (itemKey) => {\r\n const cookies = new Cookies();\r\n if (cookiesHasProperty(itemKey)) {\r\n return cookies.get(itemKey);\r\n }\r\n\r\n return null;\r\n};\r\n\r\nexport const resetCookieItem = (itemKey, itemValue) => {\r\n const cookies = new Cookies();\r\n\r\n if (storageHasProperty(itemKey)) {\r\n cookies.remove(itemKey);\r\n }\r\n cookies.set(itemKey, itemValue, {\r\n path: '/',\r\n domain: isProd()\r\n ? config.DOMAIN_URL_PROD\r\n : isLocalhost()\r\n ? config.DOMAIN_URL_LOCALHOST\r\n : config.DOMAIN_URL_DEV,\r\n });\r\n};\r\n\r\nexport const removeCookieItem = (itemKey) => {\r\n const cookies = new Cookies();\r\n if (cookiesHasProperty(itemKey)) {\r\n cookies.remove(itemKey);\r\n }\r\n};\r\n","import { actions } from '../../state/actions';\r\nimport { put } from 'redux-saga/effects';\r\nimport swal from 'sweetalert';\r\nimport { removeLocalStorageItem } from '../../utils';\r\nimport { isProd } from '../../api/config';\r\n\r\nexport function* errorhandle(error) {\r\n console.log(error);\r\n\r\n if (error.statusCode === 401) {\r\n console.log('401');\r\n yield put(actions.auth.clearUserAction());\r\n removeLocalStorageItem('userToken');\r\n removeLocalStorageItem('token');\r\n removeLocalStorageItem('loginType');\r\n removeLocalStorageItem('Role');\r\n removeLocalStorageItem('boFilter');\r\n removeLocalStorageItem('currentPage');\r\n\r\n if (checkBOPage()) {\r\n window.location.href = '/backofficelogin';\r\n } else {\r\n window.location.href = isProd()\r\n ? 'https://paslaugos.ilte.lt/?sessionExpired=true'\r\n : 'https://barzda.scorify.lt/?sessionExpired=true';\r\n }\r\n } else if (\r\n error.statusCode === 400 &&\r\n error.error &&\r\n Array.isArray(error.error)\r\n ) {\r\n const openFin = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(openFin));\r\n\r\n const err = error.error;\r\n yield put(actions.modals.setErrorMessageAction(err));\r\n\r\n const open = {\r\n modalName: 'globalErrorModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } else if (\r\n error.statusCode === 400 &&\r\n error.error != null &&\r\n error.error.ErrorId == null &&\r\n error.error.ErrorMessage == null\r\n ) {\r\n const err = error.error.errors;\r\n yield put(actions.modals.setValidationErrorAction(err));\r\n const open = {\r\n modalName: 'validationErrorModal',\r\n visible: true,\r\n };\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } else if (\r\n error.statusCode === 400 &&\r\n error.error != null &&\r\n error.error.ErrorId == null &&\r\n error.error.ErrorMessage != null\r\n ) {\r\n const err = error.error.ErrorMessage;\r\n yield put(actions.modals.setValidationErrorAction(err));\r\n\r\n const open = {\r\n modalName: 'validationErrorModal',\r\n visible: true,\r\n };\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } else {\r\n const openGlobalModal = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n\r\n const open = {\r\n modalName: 'globalErrorModal',\r\n visible: true,\r\n };\r\n\r\n const ConfirmWithFinancialCriteriaModal = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n const ConfirmWithoutFinancialCriteriaModal = {\r\n modalName: 'confirmWithoutFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n const PaymentRequestSendforApproveModal = {\r\n modalName: 'paymentRequestSendforApproveModal',\r\n visible: false,\r\n };\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(openGlobalModal));\r\n if (error.error != null && error.error.ErrorDescription != null) {\r\n console.log(error.error.ErrorDescription);\r\n const emptyMessage = error.error.ErrorDescription;\r\n // const msgtext =\r\n // if\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n yield put(\r\n actions.modals.setModalVisibleFlagAction(\r\n ConfirmWithFinancialCriteriaModal\r\n )\r\n );\r\n\r\n yield put(actions.modals.setErrorMessageAction(emptyMessage));\r\n } else if (error == 'NoLoginType') {\r\n console.log('NoLoginType');\r\n yield put(actions.auth.clearUserAction());\r\n // window.location.reload();\r\n } else if (error.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const emptyMessage = 'Įvyko klaida';\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n yield put(actions.modals.setErrorMessageAction(emptyMessage));\r\n }\r\n yield put(actions.backoffice.setStatusChanged(false));\r\n }\r\n}\r\n\r\nexport const formatNumber = (num, minFractionDigits) => {\r\n if (num != null && typeof num === 'number') {\r\n return num.toLocaleString('lt', {\r\n minimumFractionDigits: minFractionDigits || 2,\r\n });\r\n } else {\r\n return num;\r\n }\r\n};\r\nexport const formatNumberToCurrency = (num) => {\r\n if (num != null) {\r\n return parseFloat(num, 10).toFixed(2);\r\n }\r\n return null;\r\n};\r\n\r\nexport const formatNumberStats = (num) => {\r\n if (num != null && typeof num === 'number') {\r\n return num.toLocaleString('de-DE', { minimumFractionDigits: 2 });\r\n } else {\r\n return num;\r\n }\r\n};\r\n\r\nexport const downloadXls = (response, name) => {\r\n const url = window.URL.createObjectURL(\r\n new Blob([response], { 'Content-Type': 'application/vnd.ms-excel' })\r\n );\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', `${name}.zip`);\r\n document.body.appendChild(link);\r\n link.click();\r\n};\r\n\r\nexport const downloadAllFilesHelper = (response, name) => {\r\n const url = window.URL.createObjectURL(\r\n new Blob([response], { 'Content-Type': 'application/vnd.ms-excel' })\r\n );\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', `${name}.zip`);\r\n document.body.appendChild(link);\r\n link.click();\r\n};\r\n\r\nexport const downloadDoc = (response, name) => {\r\n const url = window.URL.createObjectURL(\r\n new Blob([response], { 'Content-Type': 'application/pdf' })\r\n );\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', `${name}.pdf`);\r\n document.body.appendChild(link);\r\n link.click();\r\n};\r\n\r\nexport const downloadListXlsFile = (response, name) => {\r\n const url = window.URL.createObjectURL(\r\n new Blob([response], { 'Content-Type': 'application/vnd.ms-excel' })\r\n );\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', `${name}.xlsx`);\r\n document.body.appendChild(link);\r\n link.click();\r\n};\r\n\r\nexport const checkBOPage = () => {\r\n return window.location.pathname.indexOf('backoffice') !== -1 ? true : false;\r\n};\r\n\r\nexport const backToPrevHistoryPage = () => {\r\n document.referrer.includes(window.location.host)\r\n ? window.history.back()\r\n : (window.location = `${window.location.protocol}//${window.location.host}`);\r\n};\r\n","import request from 'request-promise';\r\nimport { config } from './config';\r\nimport { getLocalStorageItemIfNotExpired } from '../utils';\r\nimport { checkBOPage } from '../utils/helpers/helpers';\r\n\r\nexport class Api {\r\n static API_BASE_URL =\r\n process.env.NODE_ENV === 'production'\r\n ? config.API_BASE_URL_PROD\r\n : config.API_BASE_URL_DEV;\r\n\r\n static BASE_URL = Api.API_BASE_URL;\r\n\r\n static ENDPOINTS = config.API_ENDPOINTS;\r\n\r\n static getTokenFromLocalStorage() {\r\n const token = getLocalStorageItemIfNotExpired('userToken');\r\n return token;\r\n }\r\n\r\n static getManagerTokenFromLocalStorage() {\r\n const token = getLocalStorageItemIfNotExpired('token');\r\n return token;\r\n }\r\n\r\n static getLoginTypeFromLocalStorage() {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n return loginType;\r\n }\r\n\r\n static async withAuth(options) {\r\n const finalOptions = {\r\n json: true,\r\n\r\n withCredentials: true,\r\n headers: {\r\n withCredentials: true,\r\n },\r\n ...options,\r\n };\r\n return await request(finalOptions);\r\n }\r\n\r\n static async withMangerAuth(options) {\r\n const finalOptions = {\r\n json: true,\r\n\r\n withCredentials: true,\r\n headers: {\r\n withCredentials: true,\r\n },\r\n ...options,\r\n };\r\n return await request(finalOptions);\r\n }\r\n\r\n static async withAuthFileUpload(options) {\r\n const finalOptions = {\r\n json: true,\r\n withCredentials: true,\r\n\r\n headers: {\r\n withCredentials: true,\r\n },\r\n ...options,\r\n };\r\n return await request(finalOptions);\r\n }\r\n\r\n static async withoutAuth(options) {\r\n const finalOptions = {\r\n json: true,\r\n ...options,\r\n };\r\n return await request(finalOptions);\r\n }\r\n\r\n static async getToken(credentials) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.backOfficeLogin,\r\n body: credentials,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n static async customLogin() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.customLogin,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n // login\r\n static async Login() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.login,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n static async loginVaiisisTest(credentials) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.vaiisisTest,\r\n body: credentials,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n static async Logoff() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.logoff,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n // Invoices\r\n static async getSellerInvoiceList(requestId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.invoiceSellerList(requestId),\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getInvoiceData(requestId, invoiceId) {\r\n const options = {\r\n method: 'GET',\r\n url:\r\n Api.BASE_URL +\r\n Api.ENDPOINTS.invoiceData(\r\n requestId,\r\n invoiceId === null ? '' : invoiceId\r\n ),\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getOwnerInvoiceData(requestId, invoiceId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.invoiceOwnerData(requestId, invoiceId),\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async saveInvoiceData(requestId, data) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveInvoiceData(requestId),\r\n body: data,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getBuyerInvoiceList() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.invoiceBuyerList,\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async deleteInvoice(invoiceId) {\r\n const options = {\r\n method: 'DELETE',\r\n url: Api.BASE_URL + Api.ENDPOINTS.invoiceDelete(invoiceId),\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async confirmInvoice(payload) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.confirmInvoice,\r\n body: payload,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async rejectInvoice(payload) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.rejectInvoice,\r\n body: payload,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n // Projects\r\n\r\n static async getProjectList() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.projectList,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n // Requests\r\n\r\n static async getRequestList() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestList,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestStart(body, id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestStart(id),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestGet(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestGet(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestSave(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestSave,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestdelete(id) {\r\n const options = {\r\n method: 'DELETE',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestdelete(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestSendForApprove(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestSendForApprove(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async DownloadList(body) {\r\n const options = {\r\n method: 'POST',\r\n encoding: null,\r\n url: Api.BASE_URL + Api.ENDPOINTS.DownloadList,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async requestSendForApproveWithDocs(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestSendForApproveWithDocs(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestApprove(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestApprove,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async checkForApprove(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.checkForApprove,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestReject(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestReject,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async requestReturn(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestReturn,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async ManagerSaveCompanySizeType(body, id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.SetCompanySizeType(id),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async startRegistersProcessing(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.startRegistersProcessing,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async startRegistersProcessingIndividual(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.startRegistersProcessingIndividual,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async saveCompanyData(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.companyCreate,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getRegistersProcessingStatus(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getRegistersProcessingStatus(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getRegistersProcessingStatusIndividual(id) {\r\n const options = {\r\n method: 'GET',\r\n url:\r\n Api.BASE_URL + Api.ENDPOINTS.getRegistersProcessingStatusIndividual(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getFinancialCriteriaResults(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getFinancialCriteriaResults(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getFinancialCriteriaResultsFinal(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getFinancialCriteriaResultsFinal(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getFinancialCriteriaResultsForSaveRequest(id) {\r\n const options = {\r\n method: 'GET',\r\n url:\r\n Api.BASE_URL +\r\n Api.ENDPOINTS.getFinancialCriteriaResultsForSaveRequest(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async copy(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.copy(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async doubleCheckRequestEvaluation(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.doubleCheckRequestEvaluation(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getFinancialCriteriaResultsManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getFinancialCriteriaResultsFinal(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async calculateFinancialCriteriaManager(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.calculateFinancialCriteria,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async isConsentAgreed() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.isConsentAgreed,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getConsent() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getConsent,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async createConsent(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.createConsent,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getRequestLimit(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestInitialLimit(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetFinancialEvaluationStatus(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetFinancialEvaluationStatus(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getRequestGeneralLimit(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.requestLimit(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async canCreateRequest() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.canCreateRequest,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getGeneralData() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getGeneralData,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n static async getBackofficeGeneralData() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getGeneralData,\r\n };\r\n return await Api.withoutAuth(options);\r\n }\r\n\r\n static async DownloadFile(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.DownloadFile(id),\r\n };\r\n return await Api.withAuthFileUpload(options);\r\n }\r\n\r\n static async DeleteUploadedFile(id) {\r\n const options = {\r\n method: 'DELETE',\r\n url: Api.BASE_URL + Api.ENDPOINTS.DeleteUploadedFile(id),\r\n };\r\n return await Api.withAuthFileUpload(options);\r\n }\r\n\r\n static async GetUploadedFiles(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetUploadedFiles(id),\r\n };\r\n return await Api.withAuthFileUpload(options);\r\n }\r\n\r\n static async UploadFiles(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.UploadFiles,\r\n body: body,\r\n };\r\n return await Api.withAuthFileUpload(options);\r\n }\r\n\r\n static async GetManagerRequests(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getManagerRequests,\r\n body: body.payload,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetManagerRequest(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getManagerRequest(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async saveAdditionalComments(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveAdditionalComments,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getAdditionalComments(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getAdditionalComments(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async SetInvegaRequestStatus(request) {\r\n let endpoint = '';\r\n // eslint-disable-next-line default-case\r\n switch (request.action) {\r\n case 'INVEGA_REJECT_REQUEST':\r\n endpoint = Api.ENDPOINTS.setRejectRequest(request.payload.requestId);\r\n break;\r\n case 'INVEGA_RETURN_REQUEST':\r\n endpoint = Api.ENDPOINTS.setReturnRequest(request.payload.requestId);\r\n break;\r\n case 'INVEGA_CONFIRM_REQUEST':\r\n endpoint = Api.ENDPOINTS.setApproveRequest(request.payload.requestId);\r\n break;\r\n case 'INVEGA_CONFIRMWITHDOCS_REQUEST':\r\n endpoint = Api.ENDPOINTS.setApproveWithDocsRequest(\r\n request.payload.requestId\r\n );\r\n break;\r\n case 'INVEGA_SIGN_REQUEST':\r\n endpoint = Api.ENDPOINTS.setSignedRequest(request.payload.requestId);\r\n break;\r\n case 'INVEGA_CHANGE_TO_SENDFORAPPROVE_REQUEST':\r\n endpoint = Api.ENDPOINTS.setSendForApproveRequest(\r\n request.payload.requestId\r\n );\r\n break;\r\n case 'INVEGA_CHANGE_TO_APPROVE_REQUEST':\r\n endpoint = Api.ENDPOINTS.setApproveRequest(request.payload.requestId);\r\n break;\r\n case 'INVEGA_CHANGE_TO_CHANGECONDITIONS_REQUEST':\r\n endpoint = Api.ENDPOINTS.setChangeConditionsRequest(\r\n request.payload.requestId\r\n );\r\n break;\r\n case 'INVEGA_CHANGE_TO_CHANGECONDITIONSAPPROVED_REQUEST':\r\n endpoint = Api.ENDPOINTS.setChangeConditionsApprovedRequest(\r\n request.payload.requestId\r\n );\r\n break;\r\n }\r\n\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + endpoint,\r\n body: {\r\n comment: request.payload.comment,\r\n userCommentRequired: request.payload.userCommentChecked,\r\n },\r\n };\r\n\r\n const options2 = {\r\n method: 'POST',\r\n url: Api.BASE_URL + endpoint,\r\n body: {\r\n comment: request.payload.comment,\r\n userCommentRequired: request.payload.userCommentChecked,\r\n refusalOfFunding: request.payload.refusalOfFunding,\r\n invegaLoanInterestRate: request.payload.invegaLoanInterestRate,\r\n invegaContractNumber: request.payload.invegaContractNumber,\r\n invegaLoanSum: request.payload.invegaLoanSum,\r\n invegaLoanPaymentTerm: request.payload.invegaLoanPaymentTerm,\r\n invegaLoanDelayTerm: request.payload.invegaLoanDelayTerm,\r\n },\r\n };\r\n return await Api.withMangerAuth(\r\n request.action === 'INVEGA_CONFIRMWITHDOCS_REQUEST' ? options2 : options\r\n );\r\n }\r\n\r\n static async GetManagerInvoices(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getManagerInvoices(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async ReturnRequest(id, body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.setReturnRequest(id),\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetManagerInvoice(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getManagerInvoice(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async ExportData(body) {\r\n const options = {\r\n method: 'POST',\r\n encoding: null,\r\n url: Api.BASE_URL + Api.ENDPOINTS.ExportData,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetManagerUploadedFiles(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getManagerUploadedFiles(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetStats(body) {\r\n console.log(body);\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getStats,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getSigningUrl(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getSigningUrl(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getSigningUrlManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getSigningUrlManager(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getSigningUrlDecision(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getSigningUrlDecision(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async regenerateDecisionDoc(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.regenerateDecisionDoc(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getSigningUrlBatch() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getSigningUrlBatch,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async saveUserComment(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveUserComment,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async SaveLoanSums(body, id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.SaveLoanSums(id),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GenerateContractDoc(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GenerateContractDoc(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async DownloadContractDoc(id) {\r\n const options = {\r\n method: 'GET',\r\n encoding: null,\r\n\r\n url: Api.BASE_URL + Api.ENDPOINTS.DownloadContractDoc(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetSignedDocumentManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocument(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetSignedDocumentUser(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocument(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n //usersigninin DOc download\r\n static async GetSignedDocumentContractUser(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocumentContract(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n static async GetSignedDocumentDecisionUser(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocumentDecision(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n //Invegasigninin DOc download\r\n static async GetSignedDocumentContractManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocumentContract(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n static async GetSignedDocumentDecisionManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocumentDecision(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetSigningInfoUser(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSigningInfo(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetSigningInfoManager(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSigningInfo(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async CanConfirmInvoicesFromManager(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.CanConfirmInvoicesFromManager(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async ConfirmInvoicesFromManager(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ConfirmInvoicesFromManager(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n static async saveRepresentative(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveRepresentative,\r\n body,\r\n };\r\n return await Api.withAuthForm(options);\r\n }\r\n\r\n static async saveRepresentativeManager(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveRepresentativeManager,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async loadRepresentativesManager() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.loadRepresentativesManager,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async loadRepresentatives() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.loadRepresentatives,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async deleteRepresentative(id) {\r\n const options = {\r\n method: 'DELETE',\r\n url: Api.BASE_URL + Api.ENDPOINTS.deleteRepresentative(id),\r\n body: {},\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async deleteRepresentativeManager(id) {\r\n const options = {\r\n method: 'DELETE',\r\n url: Api.BASE_URL + Api.ENDPOINTS.deleteRepresentativeManager(id),\r\n body: {},\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async loadCompanyRepresentatives() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getCompanyRepresentations,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async getRequestLog(requestId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getRequestLog(requestId),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async getInvegaUsers() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.getInvegaUsers,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async CanCreateOrSubmit(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.CanCreateOrSubmit(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetIndividualEvrks(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetIndividualEvrks(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetCompanyEvrks(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetCompanyEvrks(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetAssessorsList() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetAssessorsList,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async SetAssessor(equestId, userId) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.SetAssessor(equestId, userId),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async ExcelList() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ExcelList,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async ExcelDownloadFile(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ExcelDownloadFile(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async MarkForVmiRenewMass(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.MarkForVmiRenewMass,\r\n body: body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async MarkForVmiAdditionalCheckMass(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.MarkForVmiAdditionalCheckMass,\r\n body: body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async paymentRequestList(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestList(id),\r\n };\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n //return await Api.withAuth(options);\r\n }\r\n\r\n static async paymentRequest(id, paymentId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequest(id, paymentId),\r\n };\r\n\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n\r\n static async paymentRequestStart(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestStart(body.requestId),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async paymentRequestStartWithSurvey(requestId, body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestStart(requestId),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetRelatedRequests(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetRelatedRequests(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async paymentRequestSendForApprove(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestSendForApprove(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async SetInvegaPaymentRequestStatus(paymentRequest) {\r\n let endpoint = '';\r\n switch (paymentRequest.action) {\r\n case 'INVEGA_REJECT_PAYMENT_REQUEST':\r\n endpoint = Api.ENDPOINTS.setRejectPaymentRequest(\r\n paymentRequest.payload.id\r\n );\r\n break;\r\n case 'INVEGA_RETURN_PAYMENT_REQUEST':\r\n endpoint = Api.ENDPOINTS.setReturnPaymentRequest(\r\n paymentRequest.payload.id\r\n );\r\n break;\r\n case 'INVEGA_CONFIRM_PAYMENT_REQUEST':\r\n endpoint = Api.ENDPOINTS.setApprovePaymentRequest(\r\n paymentRequest.payload.id\r\n );\r\n break;\r\n default:\r\n return null;\r\n }\r\n\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + endpoint,\r\n body: {\r\n comment: paymentRequest.payload.comments,\r\n },\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n static async paymentRequestSavePrDocument(body, id) {\r\n const options = {\r\n method: 'POST',\r\n url: checkBOPage()\r\n ? Api.BASE_URL + Api.ENDPOINTS.paymentRequestSavePrDocumentManager(id)\r\n : Api.BASE_URL + Api.ENDPOINTS.paymentRequestSavePrDocument(id),\r\n body,\r\n };\r\n\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n\r\n static async returnPaymentWithComment(body, id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.returnPaymentWithComment(id),\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async paymentRequestPrDocument(id, docId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestPrDocument(id, docId),\r\n };\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n\r\n static async paymentRequestDeletePrDocument(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.paymentRequestDeletePrDocument(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n static async ExportPr(id, paymentId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ExportPr(id, paymentId),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n static async GetActionLogManager(paymentRequestId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetActionLogManager(paymentRequestId),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetAdministrationInvoices(requestId) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetAdministrationInvoices(requestId),\r\n };\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n\r\n static async DownloadAdministrationInvoice(contractId) {\r\n const options = {\r\n method: 'GET',\r\n url:\r\n Api.BASE_URL + Api.ENDPOINTS.DownloadAdministrationInvoice(contractId),\r\n };\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n static async RequestChangeConditions(id, body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.RequestChangeConditions(id),\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async saveRiskAssessmentResult(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.saveRiskAssessmentResult,\r\n body,\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async RenewVmiInfo(code) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.VmiAdditionalChecksSave(code),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async DownloadAllFiles(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.DownloadAllFiles(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetEditListManagerByRequest(id) {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetEditListManagerByRequest(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async requestSendForApproveWithDocsForChangeConditions(id) {\r\n const options = {\r\n method: 'POST',\r\n url:\r\n Api.BASE_URL +\r\n Api.ENDPOINTS.requestSendForApproveWithDocsForChangeConditions(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async GetSignedDocumentRejectDecision(id) {\r\n const options = {\r\n method: 'GET',\r\n headers: {\r\n 'Content-Type': 'application/pdf',\r\n },\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetSignedDocumentRejectDecision(id),\r\n };\r\n return await Api.withMangerAuth(options);\r\n }\r\n\r\n static async GetProjects() {\r\n const options = {\r\n method: 'GET',\r\n url: Api.BASE_URL + Api.ENDPOINTS.GetProjects,\r\n };\r\n return checkBOPage()\r\n ? await Api.withMangerAuth(options)\r\n : await Api.withAuth(options);\r\n }\r\n static async ManagerSaveRiskLevel(id, level) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ManagerSaveRiskLevel(id, level),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n static async ManagerSaveRiskAssessmentResult(body) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.ManagerSaveRiskAssessmentResult,\r\n body,\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n\r\n static async RecheckAml(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.RecheckAml(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n static async RecheckJadis(id) {\r\n const options = {\r\n method: 'POST',\r\n url: Api.BASE_URL + Api.ENDPOINTS.RecheckJadis(id),\r\n };\r\n return await Api.withAuth(options);\r\n }\r\n}\r\n","import { actions } from '../actions';\r\nimport { call, put, delay, select } from 'redux-saga/effects';\r\n// import { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nimport { checkBOPage, errorhandle } from '../../utils/helpers/helpers';\r\nimport swal from 'sweetalert';\r\nimport { Api } from '../../api/api';\r\nimport { history } from './../../App';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nconst forwardTo = (location) => {\r\n history.push(location);\r\n};\r\n\r\nconst setLocation = (location) => {\r\n window.location = location;\r\n};\r\n\r\nfunction* loadSellerInvoiceList(request) {\r\n try {\r\n let data = yield call(Api.getSellerInvoiceList, request.payload);\r\n yield put(actions.dashboard.setInvoiceListDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* loadBuyerInvoiceList() {\r\n try {\r\n let data = yield call(Api.getBuyerInvoiceList);\r\n yield put(actions.dashboard.setInvoiceListDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* loadInvoiceData(request) {\r\n try {\r\n let data = yield call(\r\n Api.getInvoiceData,\r\n request.payload.requestId,\r\n request.payload.invoiceId\r\n );\r\n yield put(actions.dashboard.setInvoiceDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* loadOwnerInvoiceData(request) {\r\n try {\r\n let data = yield call(\r\n Api.getOwnerInvoiceData,\r\n request.payload.requestId,\r\n request.payload.invoiceId\r\n );\r\n yield put(actions.dashboard.setOwnerInvoiceDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* saveInvoiceData(request) {\r\n try {\r\n yield call(Api.saveInvoiceData, request.requestId, request.data);\r\n\r\n yield put(actions.dashboard.setInvoiceSavedAction(true));\r\n } catch (error) {\r\n yield put(actions.dashboard.setInvoiceErrorAction(error));\r\n } finally {\r\n if (request.data.Id) {\r\n yield put(\r\n actions.dashboard.loadInvoiceDataAction({\r\n requestId: request.requestId,\r\n invoiceId: request.data.Id,\r\n })\r\n );\r\n }\r\n }\r\n}\r\n\r\nfunction* passCompanyInfoSaga({ payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n //call enpointo to pass the date\r\n const formattedPayload = {\r\n accepted: true,\r\n email: payload.email,\r\n phoneNumber: payload.phone,\r\n };\r\n\r\n yield call(Api.createConsent, formattedPayload);\r\n\r\n // yield call(forwardTo, config.APP_PATHS.requests);\r\n // window.location.reload();\r\n yield put(actions.dashboard.setFirstStepPassedAction(true));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getRequestListSaga() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.getRequestList);\r\n yield put(actions.dashboard.setRequestListAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getProjectListSaga() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.getProjectList);\r\n yield put(actions.dashboard.setProjectListAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* createNewRequestSaga({ id, actionType, requestId, projectId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (id) {\r\n const requestData = yield call(Api.requestGet, id);\r\n const dataWithType = {\r\n type: actionType,\r\n ...requestData,\r\n };\r\n // const hardcode = [100000, 291000, 592000, 493900];\r\n const getCompanyEvrks = yield call(Api.GetCompanyEvrks, id);\r\n\r\n yield put(\r\n actions.dashboard.setNewRequestData({\r\n ...dataWithType,\r\n evrksList: getCompanyEvrks,\r\n })\r\n );\r\n } else {\r\n const canCreateRequest = yield call(Api.canCreateRequest);\r\n\r\n yield put(actions.dashboard.SetCanCreateRequest(canCreateRequest));\r\n\r\n if (canCreateRequest) {\r\n const { RequestId, CompanyId } =\r\n actionType === 'copy'\r\n ? yield call(Api.copy, requestId)\r\n : yield call(Api.requestStart, '', projectId);\r\n const companyId = {\r\n CompanyId: CompanyId,\r\n };\r\n yield call(Api.startRegistersProcessing, companyId);\r\n\r\n while (true) {\r\n yield delay(3000);\r\n const processStatus = yield call(\r\n Api.getRegistersProcessingStatus,\r\n CompanyId\r\n );\r\n if (processStatus.status === 'Failed') {\r\n yield call(forwardTo, config.APP_PATHS.requests);\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n\r\n break;\r\n } else if (processStatus.status === 'Finished') {\r\n const newRequestData = yield call(Api.requestGet, RequestId);\r\n const dataWithType = {\r\n type: actionType,\r\n ...newRequestData,\r\n };\r\n\r\n // const hardcode = [100000, 291000, 592000, 493900];\r\n\r\n const getCompanyEvrks = yield call(Api.GetCompanyEvrks, RequestId);\r\n\r\n yield put(\r\n actions.dashboard.setNewRequestData({\r\n ...dataWithType,\r\n evrksList: getCompanyEvrks,\r\n })\r\n );\r\n yield put(actions.dashboard.getRequestListAction());\r\n break;\r\n }\r\n }\r\n } else {\r\n swal({\r\n title:\r\n 'Vienam paskolos gavėjui iš Priemonės lėšų gali būti suteikta tik viena paskola. Jūs jau esate pateikę paraišką paskolai gauti.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n }\r\n } catch (error) {\r\n if (actionType === 'copy') {\r\n swal({\r\n title:\r\n error.error && error.error.ErrorMessage\r\n ? error.error.ErrorMessage\r\n : 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n yield* errorhandle(error);\r\n }\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* createNewRequestIndividualSaga({\r\n id,\r\n actionType,\r\n requestId,\r\n projectId,\r\n}) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n // const individualsEvrk = yield call(Api.GetIndividualEvrks, id);\r\n if (id) {\r\n const requestData = yield call(Api.requestGet, id);\r\n\r\n //const hardcode = [100000, 291000, 592000, 493900];\r\n\r\n const getIndividualEvrks = yield call(Api.GetIndividualEvrks, id);\r\n const dataWithType = {\r\n type: actionType,\r\n ...requestData,\r\n };\r\n yield put(\r\n actions.dashboard.setNewRequestData({\r\n ...dataWithType,\r\n evrksList: getIndividualEvrks,\r\n })\r\n );\r\n } else {\r\n const canCreateRequest = yield call(Api.canCreateRequest);\r\n\r\n yield put(actions.dashboard.SetCanCreateRequest(canCreateRequest));\r\n\r\n if (canCreateRequest) {\r\n const { RequestId, IndividualId } =\r\n actionType === 'copy'\r\n ? yield call(Api.copy, requestId)\r\n : yield call(Api.requestStart, '', projectId);\r\n\r\n const individualId = {\r\n IndividualId: IndividualId,\r\n };\r\n\r\n yield call(Api.startRegistersProcessingIndividual, individualId);\r\n\r\n while (true) {\r\n yield delay(3000);\r\n const processStatus = yield call(\r\n Api.getRegistersProcessingStatusIndividual,\r\n IndividualId\r\n );\r\n if (processStatus.status === 'Failed') {\r\n // yield call(forwardTo, config.APP_PATHS.requests);\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n\r\n break;\r\n } else if (processStatus.status === 'Finished') {\r\n const newRequestData = yield call(Api.requestGet, RequestId);\r\n const dataWithType = {\r\n type: actionType,\r\n ...newRequestData,\r\n };\r\n\r\n // const hardcode = [100000, 291000, 592000, 493900];\r\n\r\n const getIndividualEvrks = yield call(\r\n Api.GetIndividualEvrks,\r\n RequestId\r\n );\r\n\r\n yield put(\r\n actions.dashboard.setNewRequestData({\r\n ...dataWithType,\r\n evrksList: getIndividualEvrks,\r\n })\r\n );\r\n yield put(actions.dashboard.getRequestListAction());\r\n break;\r\n }\r\n }\r\n } else {\r\n swal({\r\n title:\r\n 'Vienam paskolos gavėjui iš Priemonės lėšų gali būti suteikta tik viena paskola. Jūs jau esate pateikę paraišką paskolai gauti.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n // yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveRequestSaga({ payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const requestId = payload.requestSystemInfo.RequestId;\r\n\r\n const requestSave = yield call(Api.requestSave, payload);\r\n\r\n // yield call(Api.GetFinancialEvaluationStatus, requestId);\r\n if (requestSave && requestSave.saveSuccessfull) {\r\n while (true) {\r\n yield delay(2000);\r\n const processStatus = yield call(\r\n Api.GetFinancialEvaluationStatus,\r\n requestId\r\n );\r\n if (processStatus.status === 'Failed') {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n const open = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n break;\r\n } else if (processStatus.status === 'Finished') {\r\n console.log('FINISHEDD');\r\n // yield put(\r\n // actions.dashboard.setRequestViewWindowAction()\r\n // );\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n yield put(\r\n actions.dashboard.createNewRequestAction(requestId, 'view')\r\n );\r\n } else if (loginType === 'Individual') {\r\n yield put(\r\n actions.dashboard.createNewRequestIndividualAction(\r\n requestId,\r\n 'view'\r\n )\r\n );\r\n }\r\n const data = yield call(\r\n Api.getFinancialCriteriaResultsForSaveRequest,\r\n requestId\r\n );\r\n yield put(actions.dashboard.setFinancialCriteriaResultsAction(data));\r\n\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n const desission =\r\n data.Decision != null && data.Decision === 'Accepted'\r\n ? true\r\n : false;\r\n yield put(\r\n actions.dashboard.setSavedRequestDesissionAccepted(desission)\r\n );\r\n yield put(actions.modals.setModalVisibleFlagAction(open, data));\r\n break;\r\n }\r\n }\r\n } else {\r\n swal({\r\n title: 'Nepavyko išsaugoti paraiškos',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* deleteRequestSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n yield call(Api.requestdelete, id);\r\n const requestListData = yield call(Api.getRequestList);\r\n yield put(actions.dashboard.setRequestListAction(requestListData));\r\n const open = {\r\n modalName: 'deleteComfirmationModal',\r\n visible: false,\r\n };\r\n yield put(actions.dashboard.setNewRequestData([]));\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n swal({\r\n title: 'Paraiška sėkmingai ištrinta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveCompanyData(request) {\r\n try {\r\n request.payload.RequestId = request.requestId;\r\n let res = yield call(Api.saveCompanyData, request.payload);\r\n\r\n const companyId = {\r\n CompanyId: res.CompanyId,\r\n };\r\n\r\n yield call(Api.startRegistersProcessing, companyId);\r\n\r\n while (true) {\r\n yield delay(1000);\r\n const processStatus = yield call(\r\n Api.getRegistersProcessingStatus,\r\n res.CompanyId\r\n );\r\n if (processStatus.status === 'Failed') {\r\n //failed to check status\r\n break;\r\n } else if (processStatus.status === 'Finished') {\r\n yield delay(1000);\r\n const result = yield call(\r\n Api.getFinancialCriteriaResults,\r\n res.CompanyId\r\n );\r\n\r\n if (result.Decision === 'Accepted') {\r\n yield put(\r\n actions.dashboard.setCompanySavedAction({\r\n id: res.CompanyId,\r\n saved: true,\r\n checking: false,\r\n error: false,\r\n decision: {},\r\n })\r\n );\r\n } else {\r\n yield put(\r\n actions.dashboard.setCompanySavedAction({\r\n id: res.CompanyId,\r\n saved: false,\r\n checking: false,\r\n error: true,\r\n decision: result,\r\n })\r\n );\r\n }\r\n break;\r\n }\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n //yield put(actions.dashboard.setInvoiceDataAction(request.data));\r\n }\r\n}\r\n\r\nfunction* getIsConsentAgreedSaga() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n\r\n if (loginType != null) {\r\n yield put(actions.dashboard.setLoginType(loginType));\r\n } else {\r\n throw 'NoLoginType';\r\n }\r\n\r\n const isAgreed = yield call(Api.isConsentAgreed);\r\n yield put(actions.dashboard.setIsConsentAgreedAction(isAgreed));\r\n\r\n if (isAgreed.isAgreed !== true) {\r\n // get company info\r\n const getConsentData = yield call(Api.getConsent);\r\n yield put(actions.dashboard.setConsentDataAction(getConsentData));\r\n }\r\n } catch (error) {\r\n console.log(error.error);\r\n // yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getRequestLimit(request) {\r\n try {\r\n let data = yield call(Api.getRequestLimit, request.payload);\r\n yield put(actions.dashboard.setRequestLimitDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* getRequestGeneralLimit(request) {\r\n try {\r\n let data = yield call(Api.getRequestGeneralLimit, request.payload);\r\n yield put(actions.dashboard.setRequestGeneralLimitDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* loadGeneralData() {\r\n const path = window.location.pathname;\r\n try {\r\n if (path === '/backoffice/main') {\r\n const data = yield call(Api.getBackofficeGeneralData);\r\n yield put(actions.dashboard.setGeneralDataAction(data));\r\n } else {\r\n const data = yield call(Api.getGeneralData);\r\n yield put(actions.dashboard.setGeneralDataAction(data));\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* getCanCreateRequestSaga() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n // canCreateRequest\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* fileUploadSaga({ payload, actionType }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n if (actionType === 'upload') {\r\n yield call(Api.UploadFiles, payload);\r\n }\r\n } catch (error) {\r\n swal({\r\n title: 'Klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: error.errorDescription,\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getUploadedFileListSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.GetUploadedFiles, id);\r\n yield put(actions.dashboard.setUploadedFileList(data));\r\n //sign Table\r\n const signingInfo = yield call(Api.GetSigningInfoUser, id);\r\n yield put(actions.dashboard.setSigningInfoAction(signingInfo));\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getSigningUrlSaga({ payload, requestId, user }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (user === 'user') {\r\n const getUrl = yield call(Api.getSigningUrl, requestId);\r\n if (getUrl) {\r\n const win = window.open(getUrl.signingUrl, '_blank');\r\n // console.log(win)\r\n // win.focus();\r\n }\r\n } else if (user === 'manager') {\r\n //do manager stuff\r\n const getUrl = yield call(Api.getSigningUrlManager, requestId);\r\n if (getUrl) {\r\n const win = window.open(getUrl.signingUrl, '_blank');\r\n // win.focus();\r\n }\r\n console.log('manager saga was called');\r\n console.log(requestId);\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n const open = {\r\n modalName: 'signContractModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n}\r\n\r\nfunction* getSigningDecisionUrlSaga({ requestId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const getUrl = yield call(Api.getSigningUrlDecision, requestId);\r\n if (getUrl) {\r\n const win = window.open(getUrl.signingUrl, '_blank');\r\n // win.focus();\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* GetSigningUrlBatchSaga() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const getUrl = yield call(Api.getSigningUrlBatch);\r\n if (getUrl) {\r\n const win = window.open(getUrl.signingUrl, '_blank');\r\n // win.focus();\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getFinancialCriteriaResultsSaga({ id, user, doubleCheck }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (user === 'Manager') {\r\n const data = yield call(Api.getFinancialCriteriaResultsManager, id);\r\n yield put(actions.dashboard.setFinancialCriteriaResultsAction(data));\r\n } else {\r\n if (doubleCheck === 'approve') {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n yield call(Api.checkForApprove, { requestId: id });\r\n\r\n //loop\r\n while (true) {\r\n yield delay(2000);\r\n const processStatus = yield call(\r\n Api.GetFinancialEvaluationStatus,\r\n id\r\n );\r\n if (processStatus.status === 'Failed') {\r\n const open = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n break;\r\n } else if (processStatus.status === 'Finished') {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n const data = yield call(Api.getFinancialCriteriaResultsFinal, id);\r\n yield put(\r\n actions.dashboard.setFinancialCriteriaResultsAction(data)\r\n );\r\n } else if (loginType === 'Individual') {\r\n console.log('Individual GetFinancialEvaluationStatus');\r\n const data = yield call(Api.getFinancialCriteriaResultsFinal, id);\r\n yield put(\r\n actions.dashboard.setFinancialCriteriaResultsAction(data)\r\n );\r\n }\r\n break;\r\n }\r\n }\r\n } else {\r\n const getRequestStatus = (state) =>\r\n state.dashboardState.requestData.RequestSystemInfo\r\n .AllEvaluationCompleted;\r\n const status = yield select(getRequestStatus);\r\n\r\n console.log(status);\r\n if (status) {\r\n const data = yield call(Api.getFinancialCriteriaResultsFinal, id);\r\n yield put(actions.dashboard.setFinancialCriteriaResultsAction(data));\r\n } else {\r\n const data = yield call(Api.getFinancialCriteriaResults, id);\r\n yield put(actions.dashboard.setFinancialCriteriaResultsAction(data));\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n // yield put(actions.modals.setModalOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* sendForApproveSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n yield call(Api.requestSendForApprove, id);\r\n\r\n yield put(actions.dashboard.createNewRequestAction(id, 'view'));\r\n\r\n swal({\r\n title: 'Paraiška pateikta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* sendForApproveWithDocsSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n yield call(Api.requestSendForApproveWithDocs, id);\r\n\r\n yield put(actions.dashboard.createNewRequestAction(id, 'view'));\r\n\r\n swal({\r\n title: 'Papildomi dokumentai pateikti vertinimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* paymentRequestSendForApproveSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n yield call(Api.paymentRequestSendForApprove, id);\r\n const url = new URL(window.location.href);\r\n //yield put(actions.dashboard.createNewRequestAction(id, 'view'));\r\n\r\n const requestId = url.searchParams.get('requestId');\r\n const paymentId = url.searchParams.get('paymentRequestId');\r\n\r\n yield put(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n requestId,\r\n 'view',\r\n paymentId\r\n )\r\n );\r\n\r\n swal({\r\n title: 'Mokėjimo prašymas pateiktas vertinimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveRepresentative({ data }) {\r\n try {\r\n yield call(Api.saveRepresentative, data);\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n yield put(actions.dashboard.loadRepresentatives());\r\n } catch (error) {\r\n yield put(actions.dashboard.setSaveRepresentativeError(error));\r\n yield put(actions.dashboard.setRepresentativeAction(data));\r\n //yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* loadRepresentatives() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.loadRepresentatives);\r\n yield put(actions.dashboard.setRepresentatives(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* loadCompanyRepresentatives() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.loadCompanyRepresentatives);\r\n yield put(actions.dashboard.setCompanyRepresentatives(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getPaymentRequestListSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n //yield delay(1000); //AV todo: get paymensList\r\n const data = yield call(Api.paymentRequestList, id);\r\n yield put(actions.dashboard.setPaymentRequestsListAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* createNewPaymentRequestSaga({\r\n id,\r\n actionType,\r\n paymentId,\r\n requestId,\r\n surveyData,\r\n}) {\r\n try {\r\n if (id !== null) {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n // yield delay(1000); //AV todo: get paymensList\r\n const data = yield call(Api.paymentRequest, id, paymentId, actionType);\r\n data.actionType = actionType;\r\n data.requestId = id;\r\n yield put(actions.dashboard.setPaymentRequestAction(data));\r\n } else {\r\n let data;\r\n\r\n if (surveyData) {\r\n data = yield call(\r\n Api.paymentRequestStartWithSurvey,\r\n paymentId,\r\n surveyData\r\n );\r\n } else {\r\n data = yield call(Api.paymentRequestStart, {\r\n requestId: paymentId,\r\n });\r\n }\r\n\r\n if (data && !isNaN(data)) {\r\n yield call(\r\n setLocation,\r\n `${config.APP_PATHS.paymentrequest}?requestId=${paymentId}&paymentRequestId=${data}&actionType=edit`\r\n );\r\n }\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* createPaymentRequestNewPrDocumentSaga({ id, payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.paymentRequestSavePrDocument, payload, id);\r\n if (data && !checkBOPage()) {\r\n yield createPaymentRequestPrDocumentSaga({\r\n id,\r\n docId: data,\r\n actionType: 'edit',\r\n });\r\n }\r\n yield put(actions.dashboard.approveRequestSuccess(true));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n yield put(actions.dashboard.approveRequestError(error));\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* createPaymentRequestPrDocumentSaga({\r\n id,\r\n docId,\r\n actionType,\r\n number,\r\n}) {\r\n try {\r\n if (docId !== null) {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.paymentRequestPrDocument, id, docId);\r\n data.actionType = actionType;\r\n data.Number = number;\r\n data.PaymentRequestId = id;\r\n yield put(actions.dashboard.setPaymentRequestPrDocument(data));\r\n } else {\r\n yield put(\r\n actions.dashboard.setPaymentRequestPrDocument({\r\n actionType: actionType,\r\n })\r\n );\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* deletePrDocumentRequestSaga({ docId, requestId, paymentId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n yield call(Api.paymentRequestDeletePrDocument, docId);\r\n const data = yield call(Api.paymentRequest, requestId, paymentId, 'edit');\r\n data.actionType = 'edit';\r\n data.requestId = requestId;\r\n yield put(actions.dashboard.setPaymentRequestAction(data));\r\n //const requestListData = yield call(Api.getRequestList);\r\n //yield put(actions.dashboard.setRequestListAction(requestListData));\r\n const open = {\r\n modalName: 'deleteComfirmationModal',\r\n visible: false,\r\n };\r\n //yield put(actions.dashboard.setNewRequestData([]));\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n swal({\r\n title: 'Mokėjimo prašymo dokumentas sėkmingai ištrintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* sendForApproveWithDocsForChangeConditionsSaga({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n yield call(Api.requestSendForApproveWithDocsForChangeConditions, id);\r\n\r\n yield put(actions.dashboard.createNewRequestAction(id, 'view'));\r\n\r\n swal({\r\n title: 'Papildomi dokumentai pateikti sąlygų keitimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nexport {\r\n loadSellerInvoiceList,\r\n passCompanyInfoSaga,\r\n getRequestListSaga,\r\n getProjectListSaga,\r\n loadBuyerInvoiceList,\r\n createNewRequestSaga,\r\n loadInvoiceData,\r\n saveInvoiceData,\r\n saveRequestSaga,\r\n saveCompanyData,\r\n deleteRequestSaga,\r\n getIsConsentAgreedSaga,\r\n getRequestLimit,\r\n loadGeneralData,\r\n getCanCreateRequestSaga,\r\n getRequestGeneralLimit,\r\n fileUploadSaga,\r\n getUploadedFileListSaga,\r\n getSigningUrlSaga,\r\n getFinancialCriteriaResultsSaga,\r\n createNewRequestIndividualSaga,\r\n loadOwnerInvoiceData,\r\n getSigningDecisionUrlSaga,\r\n GetSigningUrlBatchSaga,\r\n saveRepresentative,\r\n loadRepresentatives,\r\n loadCompanyRepresentatives,\r\n sendForApproveSaga,\r\n getPaymentRequestListSaga,\r\n createNewPaymentRequestSaga,\r\n sendForApproveWithDocsSaga,\r\n createPaymentRequestNewPrDocumentSaga,\r\n createPaymentRequestPrDocumentSaga,\r\n deletePrDocumentRequestSaga,\r\n paymentRequestSendForApproveSaga,\r\n sendForApproveWithDocsForChangeConditionsSaga,\r\n};\r\n","import { actions } from '../actions';\r\nimport { call, put, delay } from 'redux-saga/effects';\r\nimport {\r\n errorhandle,\r\n downloadXls,\r\n downloadDoc,\r\n downloadListXlsFile,\r\n} from '../../utils/helpers/helpers';\r\nimport { Api } from '../../api/api';\r\n\r\nfunction* getRequestsListSaga(payload) {\r\n try {\r\n const data = yield call(Api.GetManagerRequests, payload);\r\n yield put(actions.backoffice.setRequestsList(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* getRequestSaga(request) {\r\n try {\r\n const data = yield call(Api.GetManagerRequest, request.payload);\r\n yield put(actions.backoffice.setRequest(data));\r\n\r\n const relatedRequests = yield call(Api.GetRelatedRequests, request.payload);\r\n yield put(actions.backoffice.setRelatedRequestsAction(relatedRequests));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* downloadListSaga({ payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const response = yield call(Api.DownloadList, payload);\r\n\r\n const currentDate = new Date();\r\n const fileName =\r\n 'paraiskos' + '_' + currentDate.toJSON().slice(0, 10).replace(/-/g, '/');\r\n downloadListXlsFile(response, fileName);\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* downloadAllFiles({ id }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const response = yield call(Api.DownloadAllFiles, id);\r\n console.log(response);\r\n const fileName = 'zip';\r\n downloadXls(response, fileName);\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getInvoicesSaga(request) {\r\n try {\r\n const data = yield call(Api.GetManagerInvoices, request.payload);\r\n yield put(actions.backoffice.setInvoiceListDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* getInvoiceSaga(request) {\r\n try {\r\n const data = yield call(Api.GetManagerInvoice, request.payload);\r\n yield put(actions.backoffice.setInvoiceDataAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* exportDataSaga({ payload }) {\r\n const hardCodedPayload = {\r\n dates: {\r\n dateFrom: '2020-04-12T08:57:31.646Z',\r\n dateTo: '2020-04-15T08:57:31.646Z',\r\n },\r\n };\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const response = yield call(Api.ExportData, payload);\r\n\r\n const currentDate = new Date();\r\n const fileName =\r\n 'paraiškos' + '_' + currentDate.toJSON().slice(0, 10).replace(/-/g, '/');\r\n downloadXls(response, fileName);\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getUploadedFileListSaga({ id }) {\r\n try {\r\n const data = yield call(Api.GetManagerUploadedFiles, id);\r\n yield put(actions.backoffice.setGetUploadedFilesAction(data));\r\n\r\n //sign Table\r\n const signingInfo = yield call(Api.GetSigningInfoManager, id);\r\n yield put(actions.dashboard.setSigningInfoAction(signingInfo));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* getStatsSaga(payload) {\r\n try {\r\n const data = yield call(Api.GetStats, payload?.payload);\r\n console.log(data);\r\n yield put(actions.backoffice.setStatsAction(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n }\r\n}\r\n\r\nfunction* downloadContractSaga({ requestId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const response = yield call(Api.DownloadContractDoc, requestId);\r\n\r\n const fileName = `sutartis_Nr_${requestId}`;\r\n downloadDoc(response, fileName);\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getSignInDocSaga({ requestId, user }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (user === 'user') {\r\n const response = yield call(Api.GetSignedDocumentUser, requestId);\r\n } else if (user === 'manager') {\r\n const currentDate = new Date();\r\n const response = yield call(Api.GetSignedDocumentManager, requestId);\r\n const fileName =\r\n 'Sutartis' + '_' + currentDate.toJSON().slice(0, 10).replace(/-/g, '/');\r\n downloadDoc(response, fileName);\r\n }\r\n const response = yield call(Api.DownloadContractDoc, requestId);\r\n\r\n const currentDate = new Date();\r\n const fileName =\r\n 'Sutartis' + '_' + currentDate.toJSON().slice(0, 10).replace(/-/g, '/');\r\n downloadDoc(response, fileName);\r\n } catch (error) {\r\n console.log(error);\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* loadRepresentatives() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n const data = yield call(Api.loadRepresentativesManager);\r\n yield put(actions.backoffice.setRepresentatives(data));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveRepresentative({ data }) {\r\n try {\r\n yield call(Api.saveRepresentativeManager, data);\r\n\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n yield put(actions.backoffice.loadRepresentatives());\r\n } catch (error) {\r\n yield put(actions.backoffice.setSaveRepresentativeError(error));\r\n yield put(actions.backoffice.setRepresentativeAction(data));\r\n //yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveEditAdditionalCommentsSaga({ action, payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (action === 'save') {\r\n yield call(Api.saveAdditionalComments, payload);\r\n } else if (action === 'get') {\r\n const data = yield call(Api.getAdditionalComments, payload);\r\n yield put(actions.backoffice.getAdditionalComments(data));\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getRequestLog({ requestId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const data = yield call(Api.getRequestLog, requestId);\r\n yield put(actions.backoffice.setRequestLog(data));\r\n\r\n const data2 = yield call(Api.GetEditListManagerByRequest, requestId);\r\n yield put(actions.backoffice.setRepresentativesManagerByRequest(data2));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* getInvegaUsers() {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const data = yield call(Api.getInvegaUsers);\r\n yield put(actions.backoffice.setInvegaUsersAction(data));\r\n\r\n const getsetAssessors = yield call(Api.GetAssessorsList);\r\n yield put(actions.backoffice.setAssessorAction(getsetAssessors));\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* callSagaForErrHandle({ error }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n yield* errorhandle(error);\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* saveRiskAssessmentResultSaga({ action, payload }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n if (action === 'save') {\r\n yield call(Api.saveRiskAssessmentResult, payload);\r\n yield getRequestSaga({ payload: payload.requestId });\r\n } //else if (action === 'get') {\r\n //const data = yield call(Api.getAdditionalComments, payload);\r\n //yield put(actions.backoffice.getAdditionalComments(data));\r\n //}\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nexport {\r\n getRequestsListSaga,\r\n getRequestSaga,\r\n getInvoicesSaga,\r\n getInvoiceSaga,\r\n getUploadedFileListSaga,\r\n exportDataSaga,\r\n downloadListSaga,\r\n getStatsSaga,\r\n downloadContractSaga,\r\n getSignInDocSaga,\r\n loadRepresentatives,\r\n saveRepresentative,\r\n saveEditAdditionalCommentsSaga,\r\n getRequestLog,\r\n getInvegaUsers,\r\n callSagaForErrHandle,\r\n saveRiskAssessmentResultSaga,\r\n downloadAllFiles,\r\n};\r\n","import { actions } from '../actions';\r\nimport { call, put, select } from 'redux-saga/effects';\r\nimport { errorhandle } from '../../utils/helpers/helpers';\r\nimport { Api } from '../../api/api';\r\nimport swal from 'sweetalert';\r\n\r\nfunction* modalConfirm(request) {\r\n try {\r\n if (request.action === 'DELETE_REPRESENTATIVE') {\r\n yield call(Api.deleteRepresentative, request.payload.representativeId);\r\n yield put(actions.dashboard.loadRepresentatives());\r\n }\r\n if (request.action === 'DELETE_REPRESENTATIVE_MANAGER') {\r\n yield call(\r\n Api.deleteRepresentativeManager,\r\n request.payload.representativeId\r\n );\r\n\r\n yield put(actions.backoffice.loadRepresentatives());\r\n }\r\n if (\r\n request.action === 'INVEGA_REJECT_REQUEST' ||\r\n request.action === 'INVEGA_CONFIRM_REQUEST' ||\r\n request.action === 'INVEGA_CONFIRMWITHDOCS_REQUEST' ||\r\n request.action === 'INVEGA_RETURN_REQUEST' ||\r\n request.action === 'INVEGA_SIGN_REQUEST' ||\r\n request.action === 'INVEGA_CHANGE_TO_SENDFORAPPROVE_REQUEST' ||\r\n request.action === 'INVEGA_CHANGE_TO_APPROVE_REQUEST' ||\r\n request.action === 'INVEGA_CHANGE_TO_CHANGECONDITIONS_REQUEST' ||\r\n request.action === 'INVEGA_CHANGE_TO_CHANGECONDITIONSAPPROVED_REQUEST'\r\n ) {\r\n yield put(actions.backoffice.setStatusChanged(true));\r\n yield call(Api.SetInvegaRequestStatus, request);\r\n\r\n yield put(actions.backoffice.setStatusChanged(false));\r\n yield put(actions.backoffice.getRequestAction(request.payload.requestId));\r\n yield put(\r\n actions.backoffice.getGetUploadedFilesAction(request.payload.requestId)\r\n );\r\n const comments = yield call(\r\n Api.getAdditionalComments,\r\n request.payload.requestId\r\n );\r\n yield put(actions.backoffice.getAdditionalComments(comments));\r\n\r\n // window.location.reload();\r\n const renderTitle = () => {\r\n if (request.action === 'INVEGA_REJECT_REQUEST') {\r\n return 'Paraiška sėkmingai atmesta';\r\n } else if (request.action === 'INVEGA_CONFIRM_REQUEST') {\r\n return 'Paraiškos finansavimas sėkmingai patvirtintas';\r\n } else if (request.action === 'INVEGA_CONFIRMWITHDOCS_REQUEST') {\r\n return 'Paraiškos finansavimas sėkmingai patvirtintas. Laukiama papildomų dokumentų.';\r\n } else if (request.action === 'INVEGA_RETURN_REQUEST') {\r\n return 'Paraiška sėkmingai grąžinta tikslinimui';\r\n } else if (request.action === 'INVEGA_SIGN_REQUEST') {\r\n return 'Paskolos sutartis sėkmingai pasirašyta';\r\n } else if (request.action === 'INVEGA_CHANGE_TO_APPROVE_REQUEST') {\r\n return 'Paraiškos būsena sėkmingai pakeista į \"Patvirtinta\"';\r\n } else if (\r\n request.action === 'INVEGA_CHANGE_TO_CHANGECONDITIONS_REQUEST'\r\n ) {\r\n return 'Paraiškos būsena sėkmingai pakeista į \"Sąlygų keitimas\"';\r\n } else if (\r\n request.action === 'INVEGA_CHANGE_TO_CHANGECONDITIONSAPPROVED_REQUEST'\r\n ) {\r\n return 'Paraiškos būsena sėkmingai pakeista į \"Patvirtintas sąlygų keitimas\"';\r\n } else if (\r\n request.action === 'INVEGA_CHANGE_TO_SENDFORAPPROVE_REQUEST'\r\n ) {\r\n return 'Paraiškos būsena sėkmingai pakeista į \"Pateikta vertinti\"';\r\n }\r\n };\r\n // window.location.href = '/backoffice/main';\r\n swal({\r\n title: renderTitle(),\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n if (\r\n request.action === 'INVEGA_REJECT_PAYMENT_REQUEST' ||\r\n request.action === 'INVEGA_CONFIRM_PAYMENT_REQUEST' ||\r\n request.action === 'INVEGA_RETURN_PAYMENT_REQUEST'\r\n ) {\r\n yield put(actions.backoffice.setPaymentRequestStatusChanged(true));\r\n\r\n if (request.action === 'INVEGA_RETURN_PAYMENT_REQUEST') {\r\n // Iškviečia endpoint'ą gražinimui\r\n const payload = {\r\n comment: request.payload.comments,\r\n prDocumentIDs: request.payload.checkboxValues,\r\n };\r\n yield call(Api.returnPaymentWithComment, payload, request.payload.id);\r\n } else {\r\n // Iškviečia endpoint'ą Patvirtinimui, atmetimui\r\n yield call(Api.SetInvegaPaymentRequestStatus, request);\r\n }\r\n\r\n const renderTitle = () => {\r\n if (request.action === 'INVEGA_REJECT_PAYMENT_REQUEST') {\r\n return 'Mokėjimo prašymas sėkmingai atmestas';\r\n } else if (request.action === 'INVEGA_CONFIRM_PAYMENT_REQUEST') {\r\n return 'Mokėjimo prašymo finansavimas sėkmingai patvirtintas';\r\n } else if (request.action === 'INVEGA_RETURN_PAYMENT_REQUEST') {\r\n return 'Mokėjimo prašymas sėkmingai grąžintas tikslinimui';\r\n }\r\n };\r\n\r\n swal({\r\n title: renderTitle(),\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n yield put(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n request.payload.requestId,\r\n 'view',\r\n request.payload.id\r\n )\r\n );\r\n }\r\n\r\n if (request.action === 'YES_NO_ACTION') {\r\n const payload = {\r\n message: request.payload.comments,\r\n };\r\n yield put(actions.modals.setModalClosedOKAction(payload));\r\n }\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.backoffice.setPaymentRequestStatusChanged(false));\r\n }\r\n\r\n if (request.action === 'APPROVE_REQUEST') {\r\n try {\r\n // //Iškviesti ir rodyti šviesoforą\r\n const canCreateRequest = yield call(\r\n Api.CanCreateOrSubmit,\r\n request.payload\r\n );\r\n\r\n if (canCreateRequest) {\r\n yield put(\r\n actions.dashboard.getFinancialCriteriaResultsAction(\r\n request.payload,\r\n 'User',\r\n 'approve'\r\n )\r\n );\r\n const open = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } else {\r\n swal({\r\n title:\r\n 'Nebegalima teikti paraiškų, nes pasibaigė finansavimo priemonei skirtos lėšos ',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } catch (error) {\r\n swal({\r\n title: error.error.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n }\r\n if (request.action === 'APPROVE_REQUEST_WITH_DOCS') {\r\n console.log('APPROVE_REQUEST_WITH_DOCS');\r\n try {\r\n // neberodyti šviesoforo\r\n const canCreateOrSubmit = yield call(\r\n Api.CanCreateOrSubmit,\r\n request.payload\r\n );\r\n\r\n {\r\n /*} if (canCreateOrSubmit) {\r\n yield put(\r\n actions.dashboard.getFinancialCriteriaResultsAction(\r\n request.payload,\r\n 'User',\r\n 'approve'\r\n )\r\n );\r\n const open = {\r\n modalName: 'confirmWithoutFinancialCriteriaModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } else {\r\n swal({\r\n title: 'Paraiškos teikiamos iki 2021 m. birželio 30 d. 23:59:59 val.',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }*/\r\n }\r\n const open = {\r\n modalName: 'confirmWithoutFinancialCriteriaModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } catch (error) {\r\n swal({\r\n title: error.error.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n }\r\n if (request.action === 'APPROVE_REQUEST_WITH_DOCS_FOR_CHANGE_CONDITIONS') {\r\n console.log('APPROVE_REQUEST_WITH_DOCS_FOR_CHANGE_CONDITIONS');\r\n try {\r\n // neberodyti šviesoforo\r\n // const canCreateOrSubmit = yield call(\r\n // Api.CanCreateOrSubmit,\r\n // request.payload\r\n // );\r\n\r\n const open = {\r\n modalName: 'confirmWithoutFinancialCriteriaForChangeConditionsModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } catch (error) {\r\n swal({\r\n title: error.error.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n }\r\n}\r\n\r\nfunction* paymentModalConfirm(paymentRequest) {\r\n if (paymentRequest.action === 'APPROVE_PAYMENT_REQUEST') {\r\n const open = {\r\n modalName: 'paymentRequestSendforApproveModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n {\r\n /*try {\r\n const canCreateRequest = yield call(\r\n Api.CanCreateOrSubmit,\r\n paymentRequest.payload\r\n );\r\n\r\n if (canCreateRequest) {\r\n yield put(\r\n actions.dashboard.getFinancialCriteriaResultsAction(\r\n paymentRequest.payload,\r\n 'User',\r\n 'approve'\r\n )\r\n );\r\n const open = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: true,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n } {/*else {\r\n swal({\r\n title:\r\n 'Nebegalima teikti paraiškų, nes pasibaigė finansavimo priemonei skirtos lėšos ',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } catch (error) {\r\n swal({\r\n title: error.error.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }*/\r\n }\r\n }\r\n}\r\n\r\nfunction* confirmInvoicesFromManagerSaga({ requestId }) {\r\n try {\r\n const open = {\r\n modalName: 'confirmInvoicesFromManagerModal',\r\n visible: false,\r\n };\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const respond = yield call(Api.CanConfirmInvoicesFromManager, requestId);\r\n\r\n if (respond === true) {\r\n yield call(Api.ConfirmInvoicesFromManager, requestId);\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n swal({\r\n title: 'Naujos sąskaitos sėkmingai patvirtintos finansavimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n // yield call(Api.ConfirmInvoicesFromManager, body);\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n swal({\r\n title:\r\n 'Nėra naujų sąskaitų, kurias būtų galima patvirtinti finansavimui',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } catch (error) {\r\n const open = {\r\n modalName: 'confirmInvoicesFromManagerModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\n\r\nfunction* regenerateDecisionDocSaga({ requestId }) {\r\n try {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(true));\r\n\r\n const respond = yield call(Api.regenerateDecisionDoc, requestId);\r\n console.log(respond);\r\n\r\n const open = {\r\n modalName: 'regenerateDecisionDocModal',\r\n visible: false,\r\n };\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n yield put(actions.backoffice.getRequestAction(requestId));\r\n yield put(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n\r\n yield put(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n swal({\r\n title: 'Sprendimas sėkmingai iš naujo sugeneruotas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (error) {\r\n yield* errorhandle(error);\r\n } finally {\r\n yield put(actions.dashboard.setUserOnSyncFlagAction(false));\r\n }\r\n}\r\nexport {\r\n modalConfirm,\r\n paymentModalConfirm,\r\n confirmInvoicesFromManagerSaga,\r\n regenerateDecisionDocSaga,\r\n};\r\n","import { constants } from './constants';\r\nimport { takeLatest, all, call } from 'redux-saga/effects';\r\n\r\nimport * as dashboardSaga from './dashboard/DashboardSaga';\r\nimport * as backofficeSaga from './backoffice/BackofficeSaga';\r\nimport * as modalSaga from './modals/ModalsSaga';\r\n\r\nimport * as saga from '.';\r\n\r\nfunction* actionWatcher() {\r\n yield takeLatest(\r\n constants.dashboard.LOAD_INVOICE_LIST_DATA,\r\n dashboardSaga.loadSellerInvoiceList\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_REQUEST_LIMIT_DATA,\r\n dashboardSaga.getRequestLimit\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_REQUEST_GENERAL_LIMIT_DATA,\r\n dashboardSaga.getRequestGeneralLimit\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_INVOICE_APPROVE_LIST_DATA,\r\n dashboardSaga.loadBuyerInvoiceList\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_REQUEST_LIST,\r\n dashboardSaga.getRequestListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_PROJECT_LIST,\r\n dashboardSaga.getProjectListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.CREATE_NEW_REQUEST,\r\n dashboardSaga.createNewRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.CREATE_NEW_REQUEST_INDIVIDUAL,\r\n dashboardSaga.createNewRequestIndividualSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SAVE_REQUEST,\r\n dashboardSaga.saveRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.DELETE_REQUEST,\r\n dashboardSaga.deleteRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_INVOICE_DATA,\r\n dashboardSaga.loadInvoiceData\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_OWNER_INVOICE_DATA,\r\n dashboardSaga.loadOwnerInvoiceData\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SAVE_INVOICE_DATA,\r\n dashboardSaga.saveInvoiceData\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SAVE_COMPANY_DATA,\r\n dashboardSaga.saveCompanyData\r\n );\r\n\r\n yield takeLatest(\r\n constants.modals.SET_MODAL_CONFIRM_ACTION,\r\n modalSaga.modalConfirm\r\n );\r\n\r\n yield takeLatest(\r\n constants.modals.SET_PAYMENT_MODAL_CONFIRM_ACTION,\r\n modalSaga.paymentModalConfirm\r\n );\r\n\r\n yield takeLatest(\r\n constants.modals.CONFIRM_INVOICES_FROM_MANAGER,\r\n modalSaga.confirmInvoicesFromManagerSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.modals.REGENERATE_DECISION_DOC,\r\n modalSaga.regenerateDecisionDocSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.PASS_COMPANY_INFO_ACTION,\r\n dashboardSaga.passCompanyInfoSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_IS_CONSENTAGREED,\r\n dashboardSaga.getIsConsentAgreedSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_GENERAL_DATA,\r\n dashboardSaga.loadGeneralData\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.FILE_UPLOAD,\r\n dashboardSaga.fileUploadSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_UPLOADED_FILES_LIST,\r\n dashboardSaga.getUploadedFileListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_FINANCIALCRITERIA_RESULTS,\r\n dashboardSaga.getFinancialCriteriaResultsSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SEND_FOR_APPROVE,\r\n dashboardSaga.sendForApproveSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SEND_FOR_APPROVE_WITH_DOCS,\r\n dashboardSaga.sendForApproveWithDocsSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SEND_PAYMENT_REQUEST_FOR_APPROVE,\r\n dashboardSaga.paymentRequestSendForApproveSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SEND_FOR_APPROVE_WITH_DOCS_FOR_CHANGE_CONDITIONS,\r\n dashboardSaga.sendForApproveWithDocsForChangeConditionsSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_SIGNING_URL,\r\n dashboardSaga.getSigningUrlSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_SIGNING_DECISION_URL,\r\n dashboardSaga.getSigningDecisionUrlSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_SIGNING_URL_BATCH,\r\n dashboardSaga.GetSigningUrlBatchSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.SAVE_REPRESENTATIVE,\r\n dashboardSaga.saveRepresentative\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_REPRESENTATIVES,\r\n dashboardSaga.loadRepresentatives\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.LOAD_COMPANY_REPRESENTATIVES,\r\n dashboardSaga.loadCompanyRepresentatives\r\n );\r\n\r\n yield takeLatest(constants.auth.LOGIN_VAIISIS, saga.loginVaiisisSaga);\r\n yield takeLatest(constants.auth.LOGIN_USER, saga.loginUserSaga);\r\n yield takeLatest(\r\n constants.auth.LOGIN_VAIISIS_TEST_CRED,\r\n saga.loginVaiisisTestSaga\r\n );\r\n yield takeLatest(constants.auth.CLEAR_USER, saga.clearUserSaga);\r\n yield takeLatest(\r\n constants.auth.PUSH_TOKEN_TO_SERVER,\r\n saga.pushTokenToServerSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.LOAD_REQUESTS_LIST,\r\n backofficeSaga.getRequestsListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_REQUEST,\r\n backofficeSaga.getRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_PAYMENT_REQUEST,\r\n backofficeSaga.getRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.LOAD_INVOICE_LIST_DATA,\r\n backofficeSaga.getInvoicesSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.LOAD_INVOICE_DATA,\r\n backofficeSaga.getInvoiceSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.EXPORT_DATA_ACTION,\r\n backofficeSaga.exportDataSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_UPLOADED_FILES_LIST,\r\n backofficeSaga.getUploadedFileListSaga\r\n );\r\n\r\n yield takeLatest(constants.backoffice.GET_STATS, backofficeSaga.getStatsSaga);\r\n\r\n yield takeLatest(\r\n constants.backoffice.DOWNLOAD_CONTRACT_DOC,\r\n backofficeSaga.downloadContractSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.DOWNLOAD_LIST_ACTION,\r\n backofficeSaga.downloadListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_SIGN_IN_DOC,\r\n backofficeSaga.getSignInDocSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.LOAD_REPRESENTATIVES,\r\n backofficeSaga.loadRepresentatives\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.SAVE_REPRESENTATIVE,\r\n backofficeSaga.saveRepresentative\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.SAVE_EDIT_ADDITIONAL_COMMENTS,\r\n backofficeSaga.saveEditAdditionalCommentsSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_REQUEST_LOG,\r\n backofficeSaga.getRequestLog\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.GET_INVEGA_USERS,\r\n backofficeSaga.getInvegaUsers\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.CALL_SAGA_FOR_ERR_HANDLE,\r\n backofficeSaga.callSagaForErrHandle\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.GET_PAYMENT_REQUESTS_LIST,\r\n dashboardSaga.getPaymentRequestListSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.CREATE_NEW_PAYMENT_REQUEST,\r\n dashboardSaga.createNewPaymentRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.CREATE_PR_NEW_PR_DOCUMENT_REQUEST,\r\n dashboardSaga.createPaymentRequestNewPrDocumentSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.CREATE_NEW_PAYMENT_REQUEST_PR_DOCUMENT,\r\n dashboardSaga.createPaymentRequestPrDocumentSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.dashboard.PR_DOCUMENT_DELETE_REQUEST,\r\n dashboardSaga.deletePrDocumentRequestSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.SAVE_RISK_ASSESMENT_RESULT,\r\n backofficeSaga.saveRiskAssessmentResultSaga\r\n );\r\n\r\n yield takeLatest(\r\n constants.backoffice.DOWNLOAD_ALL_FILES,\r\n backofficeSaga.downloadAllFiles\r\n );\r\n\r\n yield takeLatest(constants.auth.GET_PROJECTS, saga.getProjectsSaga);\r\n}\r\n\r\nexport default function* rootSaga() {\r\n yield all([call(actionWatcher)]);\r\n}\r\n","import { call, put, delay, select } from 'redux-saga/effects';\r\nimport { Api } from '../../api/api';\r\nimport { config } from '../../api/config';\r\nimport { actions } from '..';\r\nimport { resetLocalStorageItem, removeLocalStorageItem } from '../../utils';\r\nimport { history } from './../../App';\r\nimport { isProd } from '../../api/config';\r\nimport { checkBOPage } from '../../utils/helpers/helpers';\r\n\r\nconst forwardTo = (location) => {\r\n history.push(location);\r\n};\r\n\r\nexport function* loginVaiisisSaga() {\r\n try {\r\n yield put(actions.auth.setAuthLoadingAction(true));\r\n\r\n const { token } = yield call(Api.Login);\r\n } catch (e) {\r\n console.log(e);\r\n } finally {\r\n yield put(actions.auth.setAuthLoadingAction(false));\r\n }\r\n}\r\n\r\nexport function* loginVaiisisTestSaga({ credentials }) {\r\n try {\r\n yield put(actions.auth.setAuthLoadingAction(true));\r\n\r\n const { token, loginType } = yield call(Api.loginVaiisisTest, credentials);\r\n console.log(token);\r\n\r\n resetLocalStorageItem('userToken', token);\r\n resetLocalStorageItem('loginType', loginType);\r\n\r\n const userDetails = {\r\n token: token,\r\n };\r\n yield put(actions.auth.setUserAction(userDetails, token));\r\n } catch (e) {\r\n console.log(e);\r\n } finally {\r\n yield put(actions.auth.setAuthLoadingAction(false));\r\n }\r\n}\r\n\r\nexport function* loginUserSaga({ credentials }) {\r\n try {\r\n yield put(actions.auth.setAuthLoadingAction(true));\r\n\r\n removeLocalStorageItem('boFilter');\r\n\r\n yield call(Api.getToken, credentials);\r\n\r\n const userDetails = {\r\n user: 'admin',\r\n loggedIn: true,\r\n role: 'admin',\r\n };\r\n yield put(actions.auth.setUserAction(userDetails));\r\n } catch (e) {\r\n yield put(actions.auth.setAuthError());\r\n } finally {\r\n yield put(actions.auth.setAuthLoadingAction(false));\r\n }\r\n}\r\n\r\nexport function* clearUserSaga() {\r\n try {\r\n yield put(actions.auth.setAuthLoadingAction(true));\r\n yield call(Api.Logoff);\r\n\r\n removeLocalStorageItem('userToken');\r\n removeLocalStorageItem('token');\r\n removeLocalStorageItem('loginType');\r\n removeLocalStorageItem('Role');\r\n removeLocalStorageItem('boFilter');\r\n removeLocalStorageItem('currentPage');\r\n } catch (e) {\r\n console.log(e);\r\n } finally {\r\n if (checkBOPage()) {\r\n window.location.href = isProd()\r\n ? 'https://paslaugos.ilte.lt/backofficelogin'\r\n : 'https://barzda.scorify.lt/backofficelogin';\r\n } else {\r\n window.location.href = isProd()\r\n ? 'https://paslaugos.ilte.lt/'\r\n : 'https://barzda.scorify.lt/';\r\n }\r\n }\r\n}\r\n\r\nexport function* pushTokenToServerSaga() {\r\n const getTokenPushingStarted = (state) => state.auth.tokenPushingStarted;\r\n const selectGetTokenPushingStarted = yield select(getTokenPushingStarted);\r\n try {\r\n // if (!selectGetTokenPushingStarted) {\r\n yield put(actions.auth.setTokenPushStartAction(true));\r\n while (true) {\r\n yield delay(1000 * 60);\r\n // console.log('hello from push token saga')\r\n }\r\n // }\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n}\r\n\r\nexport function* getProjectsSaga() {\r\n try {\r\n yield put(actions.auth.setAuthLoadingAction(true));\r\n const projects = yield call(Api.GetProjects);\r\n yield put(actions.auth.setProjects(projects));\r\n } catch (e) {\r\n console.log(e);\r\n } finally {\r\n yield put(actions.auth.setAuthLoadingAction(false));\r\n }\r\n}\r\n","import React, { useEffect } from 'react';\r\nimport styles from './header.module.scss';\r\nimport { actions } from '../../state';\r\nimport { connect } from 'react-redux';\r\nimport Logo from '../../images/logo.png';\r\nimport { checkBOPage } from '../../utils/helpers/helpers';\r\nimport { config } from './../../api/config';\r\nimport { isProd } from '../../api/config';\r\nimport { removeLocalStorageItem } from '../../utils';\r\n\r\nconst Header = ({ dispatch, generalData }) => {\r\n const goToMainWindow = () => {\r\n removeLocalStorageItem('boFilter');\r\n removeLocalStorageItem('currentPage');\r\n window.location.href = isProd()\r\n ? checkBOPage()\r\n ? 'https://paslaugos.ilte.lt/backoffice/main'\r\n : 'https://paslaugos.ilte.lt/platform'\r\n : checkBOPage()\r\n ? 'https://barzda.scorify.lt/backoffice/main'\r\n : 'https://barzda.scorify.lt/platform';\r\n };\r\n\r\n const logout = () => {\r\n dispatch(actions.auth.clearUserAction());\r\n };\r\n\r\n // useEffect(() => {\r\n // dispatch(actions.dashboard.loadGeneralDataAction());\r\n // }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"logo\"\r\n \r\n\r\n {/*} \r\n Apie projektą\r\n \r\n \r\n Priemonių aprašymai\r\n */}\r\n {\r\n // \r\n // Pasirašytų sutarčių suma: \r\n // \r\n // {' '}\r\n // {formatNumber(generalData.ReservedSum)} EUR{' '}\r\n // \r\n // iš\r\n // \r\n // {' '}\r\n // {formatNumber(generalData.TotalSum)} EUR{' '}\r\n // \r\n //
\r\n // Pasirašytų sutarčių suma: \r\n // \r\n // {' '}\r\n // {formatNumber(generalData.ReservedSum)} EUR{' '}\r\n // \r\n // iš\r\n // \r\n // {' '}\r\n // {formatNumber(generalData.TotalSum)} EUR{' '}\r\n // \r\n //
\r\n }\r\n
\r\n \r\n \r\n goToMainWindow()}\r\n >\r\n \r\n \r\n Priemonių sąrašas\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n generalData: state.dashboardState.generalData,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Header);\r\n","import React from 'react';\r\nimport styles from './footer.module.scss';\r\n\r\nconst Footer = () => {\r\n const checkBottom = () => {\r\n const intViewportHeight = window.innerHeight;\r\n return intViewportHeight < 756 ? 'auto' : 0;\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n

\r\n Naudotojo instrukciją galite rasti\r\n \r\n {' '}\r\n \r\n čia\r\n \r\n \r\n

\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Footer;\r\n","import React from 'react';\r\nimport styles from './input.module.scss';\r\n\r\nconst Input = ({\r\n name,\r\n type,\r\n onChange,\r\n value,\r\n width,\r\n onEnterClick,\r\n ...rest\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Input;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './input.module.scss';\r\n\r\nconst InputWithTitle = ({\r\n name,\r\n type,\r\n onChange,\r\n value,\r\n placeholder,\r\n ...rest\r\n}) => {\r\n return (\r\n
\r\n

{placeholder}

\r\n \r\n
\r\n );\r\n};\r\n\r\nInputWithTitle.defaultProps = {\r\n name: PropTypes.string.isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n value: PropTypes.oneOfType([\r\n PropTypes.string.isRequired,\r\n PropTypes.number.isRequired,\r\n ]).isRequired,\r\n};\r\n\r\nexport default InputWithTitle;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './input.module.scss';\r\n\r\nconst InputWithTextInline = ({\r\n name,\r\n type,\r\n onChange,\r\n value,\r\n placeholder,\r\n disabled,\r\n inOneLine,\r\n ...rest\r\n}) => {\r\n return (\r\n \r\n
\r\n

{placeholder}

\r\n {rest.subtitles && (\r\n
    \r\n {rest.subtitles.map((item, i) => (\r\n
  • \r\n

    {item}

    \r\n
  • \r\n ))}\r\n
\r\n )}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nInputWithTextInline.defaultProps = {\r\n name: PropTypes.string.isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n value: PropTypes.oneOfType([\r\n PropTypes.string.isRequired,\r\n PropTypes.number.isRequired,\r\n ]).isRequired,\r\n};\r\n\r\nexport default InputWithTextInline;\r\n","import React from 'react';\r\nimport Select from 'react-select';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './input.module.scss';\r\n\r\nconst InputWithTrueFalseSelection = ({\r\n options,\r\n name,\r\n type,\r\n onChange,\r\n value,\r\n index,\r\n placeholder,\r\n disabled,\r\n style,\r\n ...rest\r\n}) => {\r\n return (\r\n
\r\n
\r\n

{placeholder}

\r\n
\r\n option.value === value)}\r\n // onChange={(e) => onChange(e.value, index)}\r\n options={(options, (disabled = { disabled }))}\r\n placeholder={'-'}\r\n className={styles.selectorContainer}\r\n disabled={disabled}\r\n styles={style}\r\n />\r\n
\r\n );\r\n};\r\n\r\nInputWithTrueFalseSelection.defaultProps = {\r\n name: PropTypes.string.isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n value: PropTypes.oneOfType([\r\n PropTypes.string.isRequired,\r\n PropTypes.number.isRequired,\r\n ]).isRequired,\r\n};\r\n\r\nexport default InputWithTrueFalseSelection;\r\n","import React, { useState } from 'react';\r\nimport styles from './submenu.module.scss';\r\nimport { connect } from 'react-redux';\r\nimport { Button } from '../../components';\r\nimport { config } from '../../api/config';\r\nimport { hasRole, RoleEnum, isLoginType, LoginTypeEnum } from '../../utils';\r\nimport { actions } from '../../state';\r\n\r\nconst Submenu = ({ dispatch }) => {\r\n // const path = window.location.pathname.split('/')[2];\r\n // console.log(path);\r\n\r\n const [requestsActive, setRequestsAcvive] = useState(1);\r\n\r\n const clickMenu = (menuId) => {\r\n //dispatch(actions.dashboard.loadGeneralDataAction());\r\n setRequestsAcvive(menuId);\r\n };\r\n\r\n return (\r\n \r\n clickMenu(1)}\r\n >\r\n PARAIŠKŲ SĄRAŠAS\r\n \r\n \r\n );\r\n};\r\n\r\nexport default connect()(Submenu);\r\n","import React from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport cn from 'classnames';\r\nimport styles from './button.module.scss';\r\n\r\nconst Button = ({\r\n children,\r\n type,\r\n color,\r\n handleOnClick,\r\n classes = {},\r\n url,\r\n float,\r\n ...rest\r\n}) => {\r\n if (type === 'bgHeader') {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n }\r\n\r\n if (type === 'standart') {\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n );\r\n }\r\n\r\n if (type === 'longBtn') {\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n );\r\n }\r\n\r\n if (type === 'longBtn2') {\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n );\r\n }\r\n\r\n if (type === 'cancel') {\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n );\r\n }\r\n\r\n if (type === 'lightBlue') {\r\n return (\r\n \r\n );\r\n }\r\n\r\n if (type === 'darkBlue') {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n }\r\n};\r\n\r\nexport default Button;\r\n","import React, { useState, useEffect } from 'react';\r\nimport Select from 'react-select';\r\n\r\nconst MultiSelect = ({\r\n title,\r\n options,\r\n value,\r\n onChange,\r\n name,\r\n placeholder,\r\n tooltip,\r\n note,\r\n type,\r\n disabled,\r\n triedToSubmit,\r\n isValid,\r\n errorMessage,\r\n label,\r\n}) => {\r\n const [dropOptions, setDropOptions] = useState([]);\r\n\r\n useEffect(() => {\r\n arrToDropdownObject();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [options]);\r\n\r\n const arrToDropdownObject = () => {\r\n const array = options.map((item) => ({\r\n value: item,\r\n label: item.value,\r\n }));\r\n setDropOptions(array);\r\n };\r\n\r\n const setDefaultValue = () =>\r\n value ? value?.map((val) => options?.find((x) => x?.value === val)) : [];\r\n\r\n return (\r\n
\r\n {title &&

{title}

}\r\n {label && {label}}\r\n
\r\n onChange(e)}\r\n placeholder={placeholder}\r\n styles={customStyles}\r\n isDisabled={disabled}\r\n />\r\n
\r\n {note &&

{note}

}\r\n {triedToSubmit && !isValid &&

{errorMessage}

}\r\n
\r\n );\r\n};\r\n\r\nexport default MultiSelect;\r\n\r\nexport const customStyles = {\r\n control: (styles) => ({\r\n ...styles,\r\n backgroundColor: '#fff',\r\n minHeight: '40px',\r\n boxShadow: 'none',\r\n height: 'auto',\r\n fontSize: '10px',\r\n background: '#fff',\r\n border: '1px solid #c4ced4',\r\n borderRadius: '5px',\r\n '&:hover': {\r\n border: '1px solid #c4ced4',\r\n },\r\n '&:focus': {\r\n border: '1px solid #c4ced4',\r\n },\r\n }),\r\n valueContainer: (provided, state) => ({\r\n ...provided,\r\n height: '40px',\r\n position: 'auto',\r\n }),\r\n multiValue: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n fontSize: '15px',\r\n padding: '1px 5px 0px 5px',\r\n '&>div:hover': {\r\n backgroundColor: '#eaf6fe',\r\n cursor: 'pointer',\r\n },\r\n }),\r\n input: (provided, state) => ({\r\n ...provided,\r\n paddingLeft: '7px',\r\n fontSize: '14px',\r\n marginTop: '0px',\r\n color: '#2b363b',\r\n paddingTop: '0px',\r\n }),\r\n placeholder: (provided, state) => ({\r\n ...provided,\r\n top: '50%',\r\n fontSize: '14px',\r\n paddingLeft: '3px',\r\n }),\r\n indicatorSeparator: (provided, state) => ({\r\n ...provided,\r\n display: 'none',\r\n }),\r\n indicatorsContainer: (provided, state) => ({\r\n ...provided,\r\n height: '40px',\r\n }),\r\n menu: (provided, state) => ({\r\n ...provided,\r\n fontSize: '14px',\r\n lineHeight: '180%',\r\n padding: '14px 15px 9px 15px',\r\n }),\r\n isFocused: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n }),\r\n option: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: (state.isSelected || state.isFocused) && '#eaf6fe',\r\n borderRadius: (state.isSelected || state.isFocused) && '4px',\r\n marginBottom: '5px',\r\n '&:hover': {\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n cursor: 'pointer',\r\n },\r\n }),\r\n};\r\n","import React, { useState, useEffect } from 'react';\r\nimport Select from 'react-select';\r\n\r\nconst RequestMultiSelect = ({\r\n title,\r\n options,\r\n value,\r\n onChange,\r\n name,\r\n placeholder,\r\n tooltip,\r\n note,\r\n type,\r\n disabled,\r\n triedToSubmit,\r\n isValid,\r\n errorMessage,\r\n label,\r\n}) => {\r\n const [dropOptions, setDropOptions] = useState([]);\r\n\r\n const setDefaultValue = () =>\r\n value\r\n ? value?.map((val) => options?.find((x) => x?.value === val.value))\r\n : [];\r\n\r\n return (\r\n
\r\n {title &&

{title}

}\r\n {label && {label}}\r\n
\r\n onChange(e)}\r\n placeholder={placeholder}\r\n styles={customStyles}\r\n isDisabled={disabled}\r\n />\r\n
\r\n {note &&

{note}

}\r\n {triedToSubmit && !isValid &&

{errorMessage}

}\r\n
\r\n );\r\n};\r\n\r\nexport default RequestMultiSelect;\r\n\r\nexport const customStyles = {\r\n control: (styles, { isDisabled }) => ({\r\n ...styles,\r\n backgroundColor: isDisabled ? '#f2f2f2' : '#fff',\r\n minHeight: '40px',\r\n boxShadow: 'none',\r\n fontSize: '10px',\r\n background: isDisabled ? '#f2f2f2' : '#fff',\r\n border: '1px solid #033878',\r\n borderRadius: '5px',\r\n }),\r\n\r\n valueContainer: (provided, state) => ({\r\n ...provided,\r\n position: 'auto',\r\n }),\r\n multiValue: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n marginTop: '0px',\r\n fontSize: '15px',\r\n padding: '2px 5px 0px 5px',\r\n '&>div:hover': {\r\n backgroundColor: '#eaf6fe',\r\n cursor: 'pointer',\r\n },\r\n }),\r\n input: (provided, state) => ({\r\n ...provided,\r\n paddingLeft: '7px',\r\n fontSize: '12px',\r\n marginTop: '0px',\r\n color: '#2b363b',\r\n paddingTop: '0px',\r\n }),\r\n placeholder: (provided, state) => ({\r\n ...provided,\r\n top: '50%',\r\n fontSize: '12px',\r\n paddingLeft: '7px',\r\n }),\r\n indicatorSeparator: (provided, state) => ({\r\n ...provided,\r\n display: 'none',\r\n }),\r\n indicatorsContainer: (provided, state) => ({\r\n ...provided,\r\n height: '35px',\r\n }),\r\n menu: (provided, state) => ({\r\n ...provided,\r\n fontSize: '12px',\r\n lineHeight: '180%',\r\n padding: '10px 15px 9px 10px',\r\n }),\r\n isFocused: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n }),\r\n option: (provided, state) => ({\r\n ...provided,\r\n backgroundColor: (state.isSelected || state.isFocused) && '#eaf6fe',\r\n borderRadius: (state.isSelected || state.isFocused) && '4px',\r\n marginBottom: '5px',\r\n '&:hover': {\r\n backgroundColor: '#eaf6fe',\r\n borderRadius: '4px',\r\n cursor: 'pointer',\r\n },\r\n }),\r\n};\r\n","import React from 'react';\r\nimport styles from './tableAdmin.module.scss';\r\nimport { Link } from 'react-router-dom';\r\nimport { Button } from '../../components';\r\n\r\nconst Table = ({\r\n children,\r\n header,\r\n isEmpty,\r\n paging,\r\n totalPages,\r\n onPageClick,\r\n clickedPage,\r\n expiring,\r\n total = null,\r\n noHeaderRound,\r\n}) => {\r\n const row = Array.from({ length: header.length });\r\n const renderHeader = () =>\r\n header.map((col, i) => {\r\n if (col.type == 'checkbox') {\r\n return (\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n \r\n \r\n {col}\r\n \r\n \r\n );\r\n }\r\n });\r\n /*\r\n header.map((col, i) => {\r\n \r\n return (\r\n
\r\n {col}\r\n
\r\n
)\r\n }\r\n );*/\r\n\r\n const renderEmptyRow = () =>\r\n isEmpty && (\r\n
\r\n {row.map((_, i) => (\r\n \r\n ))}\r\n
\r\n );\r\n const renderPaging = () =>\r\n paging &&\r\n totalPages > 1 && (\r\n
\r\n
    \r\n \r\n onPageClick(\r\n clickedPage && clickedPage != 1 ? +clickedPage - 1 : 1\r\n )\r\n }\r\n >\r\n «\r\n \r\n {[...Array(totalPages).keys()].map((i) => (\r\n onPageClick(i + 1)}\r\n className={i + 1 == clickedPage ? 'active' : ''}\r\n >\r\n {i + 1}\r\n \r\n ))}\r\n \r\n onPageClick(\r\n clickedPage != totalPages ? +clickedPage + 1 : totalPages\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
\r\n {renderHeader()}\r\n
\r\n
\r\n
\r\n {children}\r\n
\r\n
\r\n {renderEmptyRow()}\r\n {total && (\r\n Viso įrašų: {total}\r\n )}\r\n {renderPaging()}\r\n {isEmpty &&

tuščia

}\r\n
\r\n );\r\n};\r\n\r\nexport const TableRow = ({ children, expiring, onClick }) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nexport const TableCell = ({ children }) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nexport default Table;\r\n","import React from 'react';\r\nimport styles from './rowTable.module.scss';\r\n\r\nconst RowTable = ({ children, header }) => {\r\n const renderHeader = () =>\r\n header.map((col, i) => {\r\n return (\r\n \r\n \r\n {col}\r\n \r\n \r\n );\r\n });\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n {renderHeader()}\r\n
\r\n
\r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport const RowTableRow = ({ children, onClick }) => (\r\n
\r\n {children}\r\n
\r\n);\r\n\r\nexport const RowTableCell = ({ children }) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nexport default RowTable;\r\n","import React from 'react';\r\nimport styles from './tableProjects.module.scss';\r\nimport { Link } from 'react-router-dom';\r\nimport { Button } from '../../components';\r\n\r\nconst TableProjects = ({\r\n children,\r\n header,\r\n isEmpty,\r\n paging,\r\n totalPages,\r\n onPageClick,\r\n clickedPage,\r\n expiring,\r\n total = null,\r\n}) => {\r\n const row = Array.from({ length: header.length });\r\n\r\n {\r\n /*const renderHeader = () =>\r\n header.map((col, i) => {\r\n if (col.type == 'checkbox') {\r\n return (\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n \r\n \r\n {col}\r\n \r\n \r\n );\r\n }\r\n });*/\r\n }\r\n /*\r\n header.map((col, i) => {\r\n \r\n return (\r\n
\r\n {col}\r\n
\r\n
)\r\n }\r\n );*/\r\n\r\n const renderEmptyRow = () =>\r\n isEmpty && (\r\n
\r\n {row.map((_, i) => (\r\n \r\n ))}\r\n
\r\n );\r\n const renderPaging = () =>\r\n paging &&\r\n totalPages > 1 && (\r\n
\r\n
    \r\n \r\n onPageClick(\r\n clickedPage && clickedPage != 1 ? +clickedPage - 1 : 1\r\n )\r\n }\r\n >\r\n «\r\n \r\n {[...Array(totalPages).keys()].map((i) => (\r\n onPageClick(i + 1)}\r\n className={i + 1 == clickedPage ? 'active' : ''}\r\n >\r\n {i + 1}\r\n \r\n ))}\r\n \r\n onPageClick(\r\n clickedPage != totalPages ? +clickedPage + 1 : totalPages\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
\r\n {renderHeader()}\r\n
\r\n
*/}\r\n
\r\n {children}\r\n
\r\n
\r\n {renderEmptyRow()}\r\n {total && (\r\n Viso įrašų: {total}\r\n )}\r\n {renderPaging()}\r\n {isEmpty &&

tuščia

}\r\n
\r\n );\r\n};\r\n\r\nexport const TableRowProject = ({ children, expiring, onClick }) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nexport const TableCellProject = ({ children }) => (\r\n
\r\n {children}\r\n
\r\n);\r\n\r\nexport default TableProjects;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from '../../state';\r\nimport styles from './loginModal.module.scss';\r\nimport { WithSpinner } from './../../components';\r\nimport { Link } from 'react-router-dom';\r\nimport { config, isProd } from '../../api/config';\r\nimport swal from 'sweetalert';\r\n\r\nconst LoginModal = ({ dispatch, open, loginErr, loading }) => {\r\n const [values, setValues] = useState({\r\n email: '',\r\n password: '',\r\n companyCode: '',\r\n personalCode: '',\r\n });\r\n\r\n const handleLoginInputChange = ({ target: { name, value } }) => {\r\n setValues({ ...values, [name]: value });\r\n };\r\n\r\n const onTestLogin = () => {\r\n dispatch(actions.auth.loginTestViispCredAction(values));\r\n };\r\n\r\n const checkUrlAddress = () => {\r\n const url = window.location.hostname;\r\n if (url !== 'tiesioginespaskolos.ilte.lt') {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const letLogin = () => {\r\n const getTime = new Date();\r\n const showAfter = new Date('2020-09-30T17:00:00.00');\r\n const showTill = new Date('2020-10-01T06:00:00.00');\r\n\r\n if (getTime > showAfter && getTime < showTill) {\r\n return false;\r\n }\r\n return true;\r\n };\r\n\r\n const showMessage = () => {\r\n swal({\r\n title:\r\n 'Informuojame, kad dėl VĮ Registrų centro vykdomų informacinės sistemos darbų, nuo rugsėjo 30 d. (17 val.) iki spalio 1 d. (6 val.) nebus galimybės prisijungti ir pateikti paraiškų. Atsiprašome už laikinus nepatogumus.',\r\n icon: 'warning',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n };\r\n\r\n const goToMainWindow = () => {\r\n window.location.href = isProd()\r\n ? 'https://paslaugos.ilte.lt/'\r\n : 'https://barzda.scorify.lt/';\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n
\r\n

\r\n Paraiškas gali teikti tik juridinio asmens\r\n vadovas/verslininkas arba įgaliotas asmuo\r\n

\r\n
\r\n goToMainWindow()}\r\n >\r\n {letLogin() ? (\r\n Prisijungti\r\n ) : (\r\n showMessage()}\r\n >\r\n Prisijungti per El. valdžios vartus\r\n \r\n )}\r\n \r\n
\r\n
\r\n

\r\n {' '}\r\n \r\n Prieš pradėdamas pildyti paraišką pareiškėjas privalo:\r\n {' '}\r\n

\r\n
\r\n

\r\n 1) Paraiškos pateikimo metu Paskolos gavėjas yra pateikęs\r\n valstybės įmonei Registrų centrui finansinių ataskaitų rinkinį,\r\n kuriame išsamiai nurodyta nuosavo kapitalo sudėtis. Jei Paskolos\r\n gavėjas priklauso įmonių grupei, kaip ji apibrėžta Lietuvos\r\n Respublikos įmonių grupių konsoliduotosios finansinės\r\n atskaitomybės įstatyme, valstybės įmonei Registrų centrui turi\r\n būti pateikusi įmonių grupės konsoliduotųjų finansinių ataskaitų\r\n rinkinį, kuriame išsamiai nurodyta nuosavo kapitalo sudėtis. Jei\r\n dėl Paskolos kreipiasi verslininkas, jis turi pateikti INVEGAI\r\n finansinius dokumentus;\r\n

\r\n

\r\n 2) Paraiškos vertinimo metu Paskolos gavėjas atitinka minimalius\r\n patikimų mokesčių mokėtojų kriterijus, nustatytus Lietuvos\r\n Respublikos mokesčių administravimo įstatymo 401{' '}\r\n straipsnyje. Atitiktis šiam reikalavimui vertinama pagal\r\n Valstybinės mokesčių inspekcijos prie Lietuvos Respublikos\r\n finansų ministerijos informaciją, skelbiamą interneto svetainėje\r\n \r\n {' '}\r\n https://www.vmi.lt/evmi/mokesciu-moketoju-informacija\r\n \r\n ;\r\n

\r\n

\r\n 3) Paraiškos pateikimo metu Paskolos gavėjui nėra iškelta\r\n bankroto ir (ar) restruktūrizavimo byla pagal Lietuvos\r\n Respublikos juridinių asmenų nemokumo įstatymą arba iki jo\r\n įsigaliojimo galiojusius Lietuvos Respublikos įmonių bankroto\r\n įstatymą ir Lietuvos Respublikos įmonių restruktūrizavimo\r\n įstatymą arba, jei pareiškėjas yra verslininkas, kaip apibrėžta\r\n SVV įstatyme, jam nėra iškelta fizinio asmens bankroto byla\r\n pagal Lietuvos Respublikos fizinių asmenų bankroto įstatymą;\r\n

\r\n

\r\n 4) Paskolos gavėjas nėra valstybės ir savivaldybių įmonė ir\r\n įmonė, kurioje 25 procentus ir daugiau įmonės akcijų, pajų ar\r\n kitokių dalyvavimą įmonės kapitale žyminčių kapitalo dalių arba\r\n 25 procentus ir daugiau įmonės dalyvių balsų tiesiogiai ar\r\n netiesiogiai (pagal balsavimo sutartį, balsavimo teisės\r\n perleidimo sutartį, įgaliojimą ir pan.) atskirai arba kartu turi\r\n valstybė ir (ar) savivaldybė.\r\n

\r\n
\r\n

\r\n Bendra informacija pareiškėjams teikiama:\r\n

\r\n\r\n

\r\n Elektroniniu paštu:{' '}\r\n \r\n \r\n uzklausos@ilte.lt{' '}\r\n \r\n \r\n

\r\n

\r\n Telefonu: +370 5 210 7510\r\n

\r\n\r\n
\r\n
\r\n
\r\n {checkUrlAddress() && (\r\n
\r\n
\r\n Direktorius:\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n )}\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n auth: state.auth,\r\n loggedIn: state.auth.loggedIn,\r\n loginErr: state.auth.loginErr,\r\n loading: state.auth.loading,\r\n});\r\n\r\nexport default connect(mapStateToProps)(LoginModal);\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport LoginModal from '../../modals/loginModal/loginModal';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { removeLocalStorageItem } from '../../utils';\r\n\r\nimport styles from './Guest.module.scss';\r\n\r\nconst Guest = ({ loggedIn }) => {\r\n useEffect(() => {\r\n // {!loggedIn &&\r\n // removeLocalStorageItem('userToken');\r\n // removeLocalStorageItem('token');\r\n // }\r\n }, [loggedIn]);\r\n return (\r\n
\r\n

Skatinamosios finansinės priemonės

\r\n
\r\n {loggedIn ? : null}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loggedIn: state.auth.loggedIn,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Guest);\r\n","import { subYears, format } from 'date-fns';\r\n\r\nexport const validateEmail = (email) => {\r\n const re =\r\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const regex = re.test(email);\r\n if (email == null || email.length === 0) {\r\n return '* neįvestas el.paštas (pvz. test@test.lt)';\r\n } else if (!regex) {\r\n return '* neteisingas el.paštas (pvz. test@test.lt) ';\r\n } else {\r\n return null;\r\n }\r\n};\r\n\r\nexport const validatePhone = (phone, name) => {\r\n const re = /^[+]?[(]?[0-9]{3}[)]?[-\\s]?[0-9]{3}[-\\s]?[0-9]{3,5}$/im;\r\n const regex = re.test(phone);\r\n if (phone != null) {\r\n if (phone.length === 0) {\r\n return `* neįvestas ${name} (pvz. +37061111111)`;\r\n } else if (!regex) {\r\n return `* neteisingas ${name} (pvz. +37061111111)`;\r\n } else {\r\n return null;\r\n }\r\n } else {\r\n return `* neteisingas ${name} (pvz. +37061111111)`;\r\n }\r\n};\r\n\r\nexport const validatePassword = (password) => {\r\n if (password.length === 0) {\r\n return '* neįvestas slaptažodis ';\r\n } else if (password.length < 4) {\r\n return '* per trumpas slaptažodis slaptažodis ';\r\n } else {\r\n return null;\r\n }\r\n};\r\n\r\nexport const validateTextinput = (val, name, length, msg = 'neįvestas') => {\r\n if (val == null || val.length === 0) {\r\n return `* ${msg} ${name} `;\r\n } else if (length == null ? val.length < length : val.length < length) {\r\n return `* per trumpas ${name} `;\r\n } else {\r\n return null;\r\n }\r\n};\r\n\r\nexport const validateCompanyCodeInput = (val, name) => {\r\n if (val == null || val.length === 0) {\r\n return `* neįvestas ${name} `;\r\n } else if (val.length !== 9) {\r\n return `* įmonės kodas turi būti sudarytas iš 9 skaitmenų `;\r\n } else {\r\n return null;\r\n }\r\n};\r\n\r\nexport const sumValidation = (sum) => {\r\n var ex = /^-?\\d+\\.?\\d*$/;\r\n if (sum === null || sum.length === 0) {\r\n return `* neįvestas laukas `;\r\n } else if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const twoDigitsAfterCommaValidation = (sum) => {\r\n if (sum !== 0 && !sum) {\r\n return 'Neįvestas laukas';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const controllingCompaniesInputValidation = (val, letEmptyVal) => {\r\n if (letEmptyVal && (val == null || val.length < 1)) {\r\n return null;\r\n }\r\n\r\n if (val == null || val.length < 1) {\r\n return 'Neįvestas laukas';\r\n }\r\n const ex = /^(\\d{9}|\\d{9}|\\d{9})(, +(\\d{9}|\\d{9}|\\d{9}))*$/;\r\n\r\n if (ex.test(val) === false) {\r\n return 'Neteisingas formatas';\r\n }\r\n\r\n return null;\r\n};\r\n\r\nexport const isSumValid = (sum) => {\r\n if (!sum && sum !== 0) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const isSumValid2 = (sum) => {\r\n if (!sum && sum !== 0) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n\r\n if (sum == 0 || sum == 0.0 || sum == 0.0) {\r\n return 'Paskolos suma negali būti 0';\r\n }\r\n\r\n if (sum > 5000000) {\r\n return 'Paskolos suma negali būti didesnė nei 5 000 000.00 eur';\r\n }\r\n\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const isInterestRateValid = (sum) => {\r\n if (!sum && sum !== 0) {\r\n return 'Neįvestas skaičius. Formatas 0.00 ';\r\n }\r\n\r\n // if (sum == 0 || sum == 0.0 || sum == 0.0) {\r\n // return 'Paskolos palūkanų norma negali būti 0';\r\n // }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const isInterestVariableRateValid = (sum) => {\r\n {\r\n /*if (!sum && sum !== 0) {\r\n return 'Neįvestas skaičius. Formatas 0.00 ';\r\n }\r\n\r\n if (sum == 0 || sum == 0.0 || sum == 0.0) {\r\n return 'Palūkanos negali būti 0';\r\n }*/\r\n }\r\n var ex = /^\\d*\\.?\\d{0,3}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const isSumValidMax100000 = (sum) => {\r\n if (!sum && sum !== 0) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n\r\n if (sum == 0 || sum == 0.0 || sum == 0.0) {\r\n return 'Paskolos suma negali būti 0';\r\n }\r\n\r\n if (sum > 100000) {\r\n return 'Paskolos suma negali būti didesnė nei 100 000';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n};\r\n\r\nexport const isLoadSumValid = (\r\n sum,\r\n //regDate,\r\n size,\r\n loanType,\r\n socialBusiness,\r\n loginType\r\n) => {\r\n //const date = new Date();\r\n //const ageMinusYear = subYears(new Date(date), 1);\r\n //const isYoungCompany = new Date(regDate) > ageMinusYear;\r\n\r\n if (!sum && sum !== 0) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n\r\n if (sum == 0 || sum == 0.0 || sum == 0.0) {\r\n return 'Paskolos suma negali būti 0.0 eur';\r\n }\r\n\r\n if (sum > 5000000) {\r\n return 'Paskolos suma negali būti didesnė nei 5 000 000.00 eur';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n\r\n {\r\n /*const loanTypeText = (type) => {\r\n if (type == 1) {\r\n return 'investicinė';\r\n }\r\n if (type == 2) {\r\n return 'apyvartinė';\r\n }\r\n return '';\r\n };*/\r\n }\r\n // if (isYoungCompany && size < 3) {\r\n // if (sum * 1 < 25000) {\r\n // return `Minimali ${loanTypeText(\r\n // loanType\r\n // )} paskolos suma jaunai įmonei yra 25 tūkst. Eur.`;\r\n // }\r\n // }\r\n\r\n /* Socialinis verslas */\r\n\r\n // if (socialBusiness && socialBusiness !== 'false' && loanType == 1) {\r\n // if (sum * 1 > 800000) {\r\n // return 'Maksimali investicinė paskolos suma socialiniam verslui yra 800 tūkst. Eur.';\r\n // }\r\n // }\r\n\r\n /* Investicinė */\r\n\r\n //\r\n // if (loanType == 1) {\r\n // if (sum * 1 > 300000) {\r\n // return 'Maksimali investicinės paskolos suma yra 3 mln. Eur.';\r\n // }\r\n // }\r\n // /* Apyvartinė */\r\n\r\n // if (loanType == 2) {\r\n // if (sum * 1 > 200000) {\r\n // return 'Maksimali apyvartinės paskolos suma yra 200 tūkst. Eur.';\r\n // }\r\n // }\r\n\r\n return null;\r\n};\r\n\r\nexport const LoanTermValidation = (val) => {\r\n if (val == null || val == 0) {\r\n return 'Privalote nurodyti paskolos terminą';\r\n }\r\n\r\n if (val > 120) {\r\n return 'Maksimalus paskolos terminas yra 120 mėn.';\r\n }\r\n\r\n return null;\r\n};\r\n\r\nexport const LoanDelayTermValidation = (val, val2) => {\r\n if (val == null || val == 0) {\r\n return 'Privalote nurodyti paskolos atidėjimo terminą';\r\n }\r\n\r\n if (val > 120) {\r\n return 'Maksimalus paskolos atidėjimo terminas yra 120 mėn.';\r\n }\r\n\r\n {\r\n /*} if (val > val2) {\r\n return 'Paskolos atidėjimo terminas negali būti ilgesnis už paskolos terminą';\r\n }*/\r\n }\r\n\r\n return null;\r\n};\r\n\r\n// export const sumValidation = (sum) => {\r\n// var ex = /^\\d+\\.\\d{0,2}$/;\r\n// if (sum === null || sum.length === 0) {\r\n// return `* neįvestas laukas `;\r\n// } else if (ex.test(sum) === false) {\r\n// return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n// }\r\n// return null;\r\n// };\r\n\r\nexport const isCommentFilled = (val) => {\r\n if (!val) {\r\n return 'privalote užpildyti komentaro lauką';\r\n }\r\n\r\n if (val.length < 6) {\r\n return 'įveskite ilgesnį/tikslesnį komentarą';\r\n }\r\n\r\n return false;\r\n};\r\n\r\nexport const isIntegerNumber = (number) => {\r\n if (!number && number !== 0) {\r\n return '*neįvestas privalomas laukas';\r\n }\r\n if (isNaN(number) || Math.ceil(+number) !== Math.floor(+number)) {\r\n return '*neteisingas formatas. Galimi tik sveiki skaičiai';\r\n }\r\n return null;\r\n};\r\n\r\nexport const controlingForeignCompaiesInputValidation = (val) => {\r\n const ex = /^[^,\\s]{1,22}(?:, [^,\\s]{1,22})*$/;\r\n\r\n if (!val) {\r\n return false;\r\n }\r\n\r\n if (ex.test(val) === false) {\r\n return 'Neteisingas formatas';\r\n }\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from '../../state';\r\nimport styles from './loginBackOfficeModal.module.scss';\r\nimport { WithSpinner } from './../../components';\r\nimport {\r\n validateEmail,\r\n validatePassword,\r\n} from './../../utils/auth/validations';\r\nimport { isProd } from '../../api/config';\r\n// import { config } from '../../api/config';\r\n// import { Api } from './../../api/api';\r\n\r\nconst LoginModal = ({ dispatch, open, loginErr, loading }) => {\r\n const [values, setValues] = useState({ username: '', password: '' }); //email\r\n\r\n const [notValid, setNotvalid] = useState(false);\r\n const [insideLoginErr, setInsideLoginError] = useState(false);\r\n\r\n useEffect(() => {\r\n setInsideLoginError(loginErr);\r\n }, [loginErr]);\r\n\r\n const handleLoginInputChange = ({ target: { name, value } }) => {\r\n setValues({ ...values, [name]: value });\r\n };\r\n\r\n const onSubmit = (e) => {\r\n dispatch(actions.auth.loginUserAction(values));\r\n };\r\n\r\n const goToMainWindow = () => {\r\n window.location.href = isProd()\r\n ? 'https://paslaugos.ilte.lt/backofficelogin'\r\n : 'https://barzda.scorify.lt/backofficelogin';\r\n };\r\n\r\n const onEnterClick = (e) => {\r\n if (e.key === 'Enter') {\r\n onSubmit();\r\n }\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n

Prisijungimas Invega darbuotojams

\r\n {/*{insideLoginErr && (\r\n

\r\n Neteisingas prisijungimo vardas ar/ir slaptažodis\r\n

\r\n )}\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n *Pamiršus prisijungimo duomenis kreipkitės į administratorių\r\n \r\n
*/}\r\n
\r\n goToMainWindow()}\r\n >\r\n Prisijungti\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n auth: state.auth,\r\n loggedIn: state.auth.loggedIn,\r\n loginErr: state.auth.loginErr,\r\n loading: state.auth.loading,\r\n});\r\n\r\nexport default connect(mapStateToProps)(LoginModal);\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport LoginBackOfficeModal from '../../modals/loginBackOfficeModal/loginBackOfficeModal';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { removeCookieItem } from '../../utils';\r\n\r\n// import styles from './Guest.module.scss';\r\n\r\nconst BackofficeLogin = ({ loggedIn }) => {\r\n useEffect(() => {\r\n removeCookieItem('brzd');\r\n }, []);\r\n return (\r\n <>\r\n
\r\n {loggedIn ? : null}\r\n \r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loggedIn: state.auth.loggedIn,\r\n});\r\n\r\nexport default connect(mapStateToProps)(BackofficeLogin);\r\n","import React, { useState } from 'react';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\n\r\nimport styles from './permissionDeniedModal.module.scss';\r\n// import { WithSpinner } from './../../components';\r\nimport { actions } from './../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { useParams } from 'react-router';\r\n\r\nconst PermissionDeniedModal = ({ open, dispatch }) => {\r\n const [redirect, setredirect] = useState(false);\r\n const cancel = () => {\r\n setredirect(true);\r\n const open = {\r\n modalName: 'permissionDeniedModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n const id = window.location.href.split('/').pop();\r\n\r\n const errText = () => {\r\n if (id === '1') {\r\n return 'Negavome duomenų apie Jūsų tapatybę';\r\n } else if (id === '2') {\r\n return 'Prisijungiant per El. valdžios vartus nepasirinkote atstovaujamos įmonės. Prašome pakartoti prisijungimą pasirenkant atstovaujamą verslo subjektą.';\r\n } else if (id === '3') {\r\n return 'Pagal Juridinių asmenų duomenis, jūs negalite atstovauti pasirinktos įmonės';\r\n } else {\r\n return 'Įvyko klaida, prašome pabandyti prisijungti iš naujo';\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n
\r\n

Dėmesio!

\r\n\r\n

{errText()}

\r\n
\r\n cancel()}\r\n className=\"vaiisisloginbtn\"\r\n >\r\n Prisijungti iš naujo\r\n \r\n
\r\n
\r\n
\r\n {redirect ? : null}\r\n \r\n )\r\n );\r\n};\r\n\r\nexport default connect()(PermissionDeniedModal);\r\n","import React from 'react';\r\n\r\nimport PermissionDeniedModal from '../../modals/permissionDeniedModal/permissionDeniedModal';\r\n\r\nconst PermissionDenied = () => {\r\n\r\n return (\r\n
\r\n

\r\n \r\n
\r\n );\r\n};\r\n\r\n\r\nexport default (PermissionDenied);\r\n","import React from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport styles from './about.module.scss';\r\n\r\nconst About = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n

Apie projektą

\r\n

\r\n Ši interneto platforma skirta Verslo subjektams, norintiems teikti\r\n paraiškas pagal įvairias skatinamąsias finansines priemones.\r\n

\r\n

Detalų sąrašą galite peržiūrėti prisijungę prie sistemos.

\r\n

\r\n Priemonę parengė Ekonomikos ir inovacijų ministerija ir UAB\r\n „Investicijų ir verslo garantijos“ („Invega“). Projekto techninę\r\n pusę įgyvendina bendrovė „Fintegry\".\r\n

\r\n

\r\n Daugiau informacijos apie finansavimo teikimo sąlygas rasite{' '}\r\n Priemonių aprašymuose.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default About;\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport styles from './description.module.scss';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableProjects,\r\n TableRowProject,\r\n TableCellProject,\r\n} from '../../components';\r\n\r\nimport { format } from 'date-fns';\r\n\r\nconst Projects = ({ projectList, dispatch, loading, canCreateRequest }) => {\r\n const tableHeader = ['Priemonė', 'Terminas', 'Kurti naują'];\r\n\r\n const currentDate = new Date();\r\n const fetchdata = useCallback(() => {\r\n dispatch(actions.dashboard.getProjectListAction());\r\n }, [dispatch, projectList]);\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.clearUserStateAction());\r\n fetchdata();\r\n dispatch(actions.dashboard.setSavedRequestDesissionAccepted(false));\r\n dispatch(actions.auth.pushTokenToServerAction());\r\n }, []);\r\n\r\n return (\r\n \r\n \r\n
\r\n

Priemonių aprašymai

\r\n\r\n \r\n {projectList != null &&\r\n projectList.map(\r\n ({ Id, Title, StartDate, EndDate, DescriptionUrl }) => (\r\n \r\n \r\n

\r\n {Id} {Title}\r\n

\r\n
\r\n Lorem ipsum dolor sit amet. Est nihil provident sit incidunt\r\n harum eum inventore aliquid. Id ratione quod aut placeat\r\n consequatur id maxime voluptatibus eos voluptas aliquam? Qui\r\n possimus numquam qui omnis perferendis et excepturi\r\n laudantium et laboriosam fugiat est distinctio sint!\r\n
\r\n
\r\n {DescriptionUrl}\r\n

Paraiškų teikimo terminas: nuo{' '}\r\n \r\n {{ StartDate } !== null &&\r\n format(new Date(StartDate), 'yyyy-MM-dd')}\r\n {' '}\r\n iki{' '}\r\n \r\n {EndDate !== null &&\r\n format(new Date(EndDate), 'yyyy-MM-dd')}\r\n \r\n
\r\n
\r\n )\r\n )}\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n projectList: state.dashboardState.projectList,\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Projects);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner } from '../../components';\r\nimport { resetLocalStorageItem } from '../../utils';\r\nimport { config } from '../../api/config';\r\nimport { Redirect } from 'react-router-dom';\r\n\r\nconst Home = () => {\r\n const [redirect, setRedirect] = useState(false);\r\n useEffect(() => {\r\n const token = window.location.search.slice(7).split('&').shift();\r\n const loginType = window.location.search\r\n .slice(window.location.search.lastIndexOf('&') + 1)\r\n .slice(10);\r\n // dispatch(actions.dashboard.setLoginType(loginType));\r\n\r\n resetLocalStorageItem('userToken', token);\r\n resetLocalStorageItem('loginType', loginType);\r\n resetLocalStorageItem('Role', 0);\r\n if (token.length > 30) {\r\n setRedirect(true);\r\n }\r\n }, []);\r\n return (\r\n \r\n
\r\n

Logged in

\r\n
\r\n {redirect ? : null}\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n dashboardData: state.dashboardState.dashboardData,\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Home);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from './../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner, Header } from '../../components';\r\nimport { InputWithTitle } from '../../components';\r\nimport styles from './main.module.scss';\r\nimport { config } from '../../api/config';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { validateEmail, validatePhone } from './../../utils/auth/validations';\r\nimport { isEnabled } from '../../utils';\r\n\r\nconst Main = ({\r\n dispatch,\r\n loading,\r\n isAgreed,\r\n consentData,\r\n firstStepPassed,\r\n loginType,\r\n}) => {\r\n // const [notValidRegistration, setNotValidRegistration] = useState(false);\r\n const [values, setValues] = useState({\r\n name: '',\r\n surname: '',\r\n company: '',\r\n code: '',\r\n email: '',\r\n phone: '',\r\n checkbox: false,\r\n });\r\n const [notValid, setNotvalid] = useState(false);\r\n const [agree, setAgree] = useState(false);\r\n const [agree1, setAgree1] = useState(false);\r\n const [agree2, setAgree2] = useState(false);\r\n const [agree3, setAgree3] = useState(false);\r\n const [agree4, setAgree4] = useState(false);\r\n const [agree5, setAgree5] = useState(false);\r\n\r\n const [isCompany, setIsCompany] = useState(null);\r\n\r\n const toggleAgree = () => {\r\n if (!agree === true) {\r\n setCheckBoxErr(false);\r\n }\r\n setAgree(!agree);\r\n };\r\n\r\n const [checkboxErr, setCheckBoxErr] = useState(false);\r\n\r\n const onInputChange = ({ target: { name, value } }) => {\r\n setValues({ ...values, [name]: value });\r\n };\r\n\r\n const confirm = () => {\r\n const data = {\r\n email: values.email,\r\n phone: values.phone,\r\n checkbox: agree,\r\n };\r\n setNotvalid(true);\r\n if (agree && agree1 && agree2 && agree3 && agree4 && agree5) {\r\n if (\r\n validateEmail(values.email) === null &&\r\n validatePhone(values.phone) === null\r\n ) {\r\n dispatch(actions.dashboard.passCompanyInfoAction(data));\r\n }\r\n } else {\r\n setCheckBoxErr(true);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.getIsConsentAgreedAction());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (loginType === 'Individual' || loginType === 'Company')\r\n setIsCompany(loginType === 'Individual' ? false : true);\r\n }, [loginType]);\r\n\r\n useEffect(() => {\r\n if (\r\n consentData != null &&\r\n consentData.UserAuthData != null &&\r\n consentData.UserAuthData.FirstName != null\r\n ) {\r\n const data = consentData.UserAuthData;\r\n setValues({\r\n name: data.FirstName,\r\n surname: data.LastName,\r\n company: data.CompanyName,\r\n code: data.CompanyCode,\r\n });\r\n }\r\n }, [consentData]);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Sutikimo patvirtinimas

\r\n
\r\n
\r\n \r\n\r\n {isCompany === true && (\r\n \r\n )}\r\n\r\n \r\n {notValid && (\r\n

\r\n {validateEmail(values.email)}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {isCompany === true && (\r\n \r\n )}\r\n\r\n \r\n {notValid && (\r\n

\r\n {validatePhone(values.phone, 'telefono numeris')}\r\n

\r\n )}\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n confirm()}\r\n >\r\n Tvirtinu, kad pateikta informacija yra teisinga\r\n \r\n
\r\n {firstStepPassed || isAgreed ? (\r\n \r\n ) : null}\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n dashboardData: state.dashboardState.dashboardData,\r\n loading: state.dashboardState.isOnSync,\r\n firstStepPassed: state.dashboardState.firstStepPassed,\r\n isAgreed: state.dashboardState.isAgreed,\r\n consentData: state.dashboardState.consentData,\r\n loginType: state.dashboardState.loginType,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Main);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './deleteComfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\n\r\nconst DeleteComfirmationModal = ({ open, id, loading, dispatch }) => {\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'deleteComfirmationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = (id) => {\r\n dispatch(actions.dashboard.deleteRequestAction(id));\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Ar tikrai norite ištrinti šią paraišką?

\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(DeleteComfirmationModal);\r\n","export const requestDataLabelTranslation = (text) => {\r\n switch (text) {\r\n case 'ApplicantName':\r\n return 'Pareiškėjo vardas';\r\n case 'ApplicantSurname':\r\n return 'Pareiškėjo pavardė';\r\n case 'ApplicantEmail':\r\n return 'Pareiškėjo el. pašto adresas';\r\n case 'ApplicantPhone':\r\n return 'Pareiškėjo kontaktinis telefono numeris';\r\n case 'CompanyName':\r\n return 'Verslo subjekto pavadinimas';\r\n case 'CompanyCode':\r\n return 'Verslo subjekto JAR kodas';\r\n case 'CompanyManagerName':\r\n return 'Verslo subjekto vadovo vardas, pavardė';\r\n case 'CompanyType':\r\n return 'Verslo subjekto tipas';\r\n case 'CompanySizeType':\r\n return 'Smulkios ir vidutinės įmonės dydis';\r\n case 'CompanyRegistrationDate':\r\n return 'Verslo subjekto registracijos data';\r\n case 'CompanyRegistrationAddress':\r\n return 'Verslo subjekto registracijos adresas';\r\n case 'CompanyPhone':\r\n return 'Verslo subjekto kontaktinis telefono numeris';\r\n case 'CompanyEmail':\r\n return 'Verslo subjekto el. pašto adresas';\r\n case 'FirstName':\r\n return 'Vardas';\r\n case 'LastName':\r\n return 'Pavardė';\r\n case 'FarmCertificateNumber':\r\n return 'Verslo subjekto įregistravimo pažymėjimo numeris ';\r\n case 'FarmRegistrationDate':\r\n return 'Verslo subjekto įregistravimo data';\r\n case 'FarmIdentificationCode':\r\n return 'Ūkininko ūkio (-ių) identifikavimo kodas';\r\n case 'FarmHoldingNumber':\r\n return 'Žemės ūkio valdos Nr. ';\r\n case 'FarmEvrk':\r\n return 'Pagrindinė ekonominė veikla ';\r\n case 'IncomeSources':\r\n return 'Pajamų lėšų šaltinis';\r\n case 'OtherIncomeSource':\r\n return 'Kitas lėšų šaltinis';\r\n\r\n case 'Position':\r\n return 'Pareigos';\r\n case 'BasisOfRepresentationId':\r\n return 'Atstovavimo pagrindas';\r\n case 'DocumentTypeId':\r\n return 'Asmens tapatybės dokumento tipas';\r\n case 'DocumentNumber':\r\n return 'Asmens tapatybės dokumento Nr.';\r\n case 'DocumentIssuedCountryId':\r\n return 'Asmens tapatybės dokumentą išdavusi valstybė';\r\n case 'DocumentDate':\r\n return 'Asmens dokumento išdavimo data';\r\n case 'DocumentExpiredDate':\r\n return 'Asmens dokumento galiojimo pabaigos data';\r\n case 'StateOfTheTaxpayerId':\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 'PermanentResidenceCountryId':\r\n return 'Nuolatinės gyvenamosios vietos valstybė';\r\n case 'BasisOfRepresentationId':\r\n return 'Atstovavimo pagrindas';\r\n case 'DocumentTypeId':\r\n return 'Asmens tapatybės dokumento tipas';\r\n case 'DocumentNumber':\r\n return 'Asmens tapatybės dokumento Nr.';\r\n case 'DocumentIssuedCountryId':\r\n return 'Asmens tapatybės dokumentą išdavusi valstybė';\r\n case 'DocumentDate':\r\n return 'Asmens dokumento išdavimo data';\r\n case 'DocumentExpiredDate':\r\n return 'Asmens dokumento galiojimo pabaigos data';\r\n case 'StateOfTheTaxpayerId':\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 'PermanentResidenceCountryId':\r\n return 'Nuolatinės gyvenamosios vietos valstybė';\r\n case 'ActivityInfo':\r\n return 'Veiklos aprašymas (laisvu tekstu)';\r\n case 'LicenceNeeded':\r\n return 'Ar Jūsų vykdomai ekonominei veiklai yra reikalinga licencija ar speciali registracija? ';\r\n case 'CompanyRegistrationCountry':\r\n return 'Įmonės registracijos šalis';\r\n case 'StateTaxIdentificationNumber':\r\n return 'Mokesčių mokėtojo kodas';\r\n case 'StateOfResidenceForTaxPurposes':\r\n return 'Rezidavimo valstybė mokesčių tikslais ';\r\n case 'StateOfResidenceForTaxPurposesId':\r\n return 'Rezidavimo valstybė mokesčių tikslais ';\r\n case 'StateOfTheTaxpayer':\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 'StateOfTheTaxpayerId':\r\n return 'Mokesčio mokėtojo valstybė';\r\n\r\n case 'ContractEmail':\r\n return 'El. pašto adresas, kuriuo bus siunčiamas paskolos sutarties grafikas ir sąskaitos';\r\n case 'CompanyEvrk':\r\n return 'Pagrindinė ekonominė veikla';\r\n case 'IndividualEvrk':\r\n return 'Pagrindinė ekonominė veikla';\r\n case 'Fsi2018Submitted':\r\n return 'Ar pateikta 2018 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2019Submitted':\r\n return 'Ar pateikta 2019 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2021Submitted':\r\n return 'Ar pateikta 2021 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2020Submitted':\r\n return 'Ar pateikta 2020 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'FsiStartDate':\r\n return 'Ataskaitos laikotarpis nuo';\r\n case 'FsiEndDate':\r\n return 'Ataskaitos laikotarpis iki';\r\n\r\n case 'FsiStartDate2019':\r\n return 'Ataskaitos laikotarpis nuo';\r\n case 'FsiEndDate2019':\r\n return 'Ataskaitos laikotarpis iki';\r\n\r\n case 'FsiStartDate2020':\r\n return 'Ataskaitos laikotarpis nuo';\r\n case 'FsiEndDate2020':\r\n return 'Ataskaitos laikotarpis iki';\r\n case 'Turnover2021Input':\r\n return '2021 m. Apyvartos suma, EUR';\r\n case 'FsiStartDate2021':\r\n return 'Ataskaitos laikotarpis nuo';\r\n case 'FsiEndDate2021':\r\n return 'Ataskaitos laikotarpis iki';\r\n\r\n case 'Turnover18':\r\n return 'Apyvarta 2018 m., EUR';\r\n case 'Turnover19':\r\n return 'Apyvarta 2019 m., EUR';\r\n case 'Turnover21':\r\n return 'Apyvarta 2021 m., EUR';\r\n case 'Turnover20':\r\n return 'Apyvarta 2020 m., EUR';\r\n case 'Income18':\r\n return 'Pajamos 2018 m., EUR';\r\n case 'Income19':\r\n return 'Pajamos 2019 m., EUR';\r\n case 'Assets18':\r\n return 'Turto suma 2018 m., EUR';\r\n case 'Assets19':\r\n return 'Turto suma 2019 m., EUR';\r\n case 'Assets20':\r\n return 'Turto suma 2020 m., EUR';\r\n case 'Assets21':\r\n return 'Turto suma 2021 m., EUR';\r\n case 'PropertyAmount18':\r\n return 'Nuosavybės suma 2018 m., EUR';\r\n case 'PropertyAmount20':\r\n return 'Nuosavybės suma 2020 m., EUR';\r\n case 'PropertyAmount21':\r\n return 'Nuosavybės suma 2021 m., EUR';\r\n case 'PropertyAmount19':\r\n return 'Nuosavybės suma 2019 m., EUR';\r\n\r\n case 'Liabilities18':\r\n return 'Įsipareigojimų suma 2018 m., EUR';\r\n case 'Liabilities19':\r\n return 'Įsipareigojimų suma 2019 m., EUR';\r\n case 'Liabilities20':\r\n return 'Įsipareigojimų suma 2020 m., EUR';\r\n case 'Liabilities21':\r\n return 'Įsipareigojimų suma 2021 m., EUR';\r\n case 'ShortTermDebts18':\r\n return 'Trumpalaikių skolų tiekėjams suma 2018 m., EUR';\r\n case 'ShortTermDebts19':\r\n return 'Trumpalaikių skolų tiekėjams suma 2019 m., EUR';\r\n case 'EmployeesCount2019March1':\r\n return 'Darbuotojų skaičius 2020 m. kovo 1 dienai';\r\n case 'CurrentEmployeesCount':\r\n return 'Darbuotojų skaičius paraiškos teikimo metu ';\r\n case 'IsUnreable':\r\n return 'Patikimo mokesčių mokėtojo kriterijų neatitinkanti įmonė';\r\n case 'CompanyActivityAddress':\r\n return 'Verslo subjekto faktinės veiklos vykdymo adresas';\r\n case 'ControlStructure':\r\n return 'Pateikite verslo subjekto nuosavybės ir (ar) kontrolės struktūros aprašymą ir (arba) įkelkite struktūros schemą prie teikiamų dokumentų ';\r\n case 'Iban':\r\n return 'Verslo subjekto atsiskaitomoji sąskaita (nurodoma LR įsteigtoje kredito įstaigoje ar užsienio kredito įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita. Formatas: LT000000000000000000)';\r\n case 'MoreThan5Years':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis Socialinio poveikio projektas Ir įmonės amžius didesnis nei 5 metai.';\r\n case 'MediumSizeBusinessman':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis Socialinio poveikio projektas ir verslininko dydis pagal SVV deklaraciją - Vidutinė įmonė.';\r\n case 'BigSize':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: verslo subjekto dydis pagal SVV deklaraciją - didelė įmonė.';\r\n case 'MoreThan3YearsNotSocial':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis nėra Socialinio poveikio projektas Ir įmonės amžius didesnis nei 3 metai.';\r\n case 'CompanyManagerCitizenship':\r\n return 'Pilietybė';\r\n case 'CompanyManagerCitizenship2':\r\n return 'Verslo subjekto (fizinio asmens) tapatybę patvirtinantį dokumentą išdavusi šalis';\r\n case 'Status':\r\n return 'Teisinis statusas';\r\n case 'PersonalCode':\r\n return 'Asmens kodas';\r\n case 'Evrk':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojančio paraiškos pateikimo dieną, EVRK kodas. Formatas: 000000';\r\n case 'PvmCode':\r\n return 'PVM kodas';\r\n case 'OldIndividualActivityCertificateNumber':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, numeris';\r\n case 'OldIndividualActivityCertificateNumberStartDate':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, pradžios data';\r\n case 'OldEvrk':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, EVRK kodas Formatas: 000000';\r\n case 'IndividualActivityCertificateNumber':\r\n return 'Galiojančios individualios veiklos ar verslo liudijimo pažymėjimo numeris';\r\n case 'IndividualActivityCertificateNumberStartDate':\r\n return 'Galiojančio Verslo liudijimo ar IV pažymos išdavimo data';\r\n case 'CheckBusinessman':\r\n return 'Patvirtinu kad, aš esu verslininkas, kaip jis apibrėžtas Lietuvos Respublikos smulkiojo ir vidutinio verslo plėtros įstatyme.';\r\n\r\n case 'CheckCompanySize':\r\n return 'Ar įmonė, kurią aš atstovauju, atsižvelgiant į Lietuvos Respublikos smulkiojo ir vidutinio verslo plėtros įstatymą (t.y. įvertinus visų susijusių ir partnerinių įmonių duomenis) yra MVĮ (labai maža, maža arba vidutinė įmonė)?';\r\n\r\n case 'CheckCompanyAge':\r\n return 'Ar įmonė, kurią aš atstovauju ir visos į įmonių grupę patenkančios įmonės (visos su mano įmone susijusios įmonės) yra veikiančios trumpiau negu trejus metus?';\r\n\r\n case 'CheckConsolidatedReport':\r\n return 'Ar įmonė, kurią aš atstovauju ir visos į įmonių grupę patenkančios įmonės (visos su mano įmone susijusios įmonės) sudaro konsoliduotąją ataskaitą? Jei taip, nurodykite įmonės kodą ir prie paraiškos prisekite konsoliduotą ataskaitą';\r\n case 'StatusInitial':\r\n return 'Teisinis statusas';\r\n\r\n case 'EuLoanSum':\r\n return 'Verslo subjektas yra gavęs paskolą (-as) ar sudaręs lizingo sandorį (-ius), kurie yra garantuoti skatinamosios finansinės priemonės „Portfelinės garantijos paskoloms 2“ lėšomis (įrašyti bendrą sumą). Jeigu nėra, įrašykite 0.00 EUR.';\r\n case 'InvegaAsapSumLoan':\r\n return 'Verslo subjektas yra gavęs paskolą iš skatinamosios finansinės priemonės „Paskolos labiausiai nuo COVID-19 nukentėjusiems verslams“ lėšų (įrašyti bendrą sumą). Jeigu nėra, įrašykite 0.00 EUR.';\r\n case 'InvegaMostAffectedLoanSum':\r\n return 'Veiklos subjektas yra paskolą iš skatinamosios finansinės priemonės „Apmokėtinų sąskaitų Paskolos“ lėšų (įrašyti bendrą sumą). Jeigu nėra, įrašykite 0.00 EUR.';\r\n case 'InvegaTurapSumLoan':\r\n return 'Veiklos subjektas yra gavęs paskolą iš skatinamosios finansinės priemonės \"Paskolos turizmo ir viešojo maitinimo paslaugų teikėjams\" lėšų (įrašyti bendrą sumą). Jeigu nėra, įrašykite 0.00 EUR.';\r\n\r\n case 'InvegaPortfolioLoan2Sum':\r\n return 'Kita (-os) pagal 2020 m. kovo 19 d. Europos Komisijos komunikatą dėl laikinosios valstybės pagalbos priemonių, skirtų ekonomikai remti reaguojant į dabartinį COVID-19 protrūkį, sistemos 3.2 ir (arba) 3.3 punktą įgyvendinama (-os) priemonė (-ės) (įrašyti bendrą sumą). Jeigu nėra, įrašykite 0.00 EUR.';\r\n case '':\r\n return;\r\n case 'SectorType':\r\n return 'Paraiška teikiama už sektorių';\r\n case 'LoanSum':\r\n return 'Prašoma Paskolos suma, EUR';\r\n case 'LoanTerm':\r\n return 'Pageidaujamas Paskolos terminas mėn.';\r\n case 'LoanDelayTerm':\r\n return 'Paskolos atidėjimo terminas (mėn.)';\r\n case 'LoanSocialBusiness':\r\n return 'Ar paskola skirta socialinio poveikio projektui* vykdyti?';\r\n case 'LoanPurposeId':\r\n return 'Paskolos paskirtis';\r\n case 'LoanPaymentDay':\r\n return 'Pageidaujama įmokos mokėjimo diena';\r\n\r\n case 'ParentCompanyCode':\r\n return 'Nurodykite visus Įmonių grupei priklausančių įmonių kodus. Jei esate didelė įmonė, nurodykite visus Įmonių grupei priklausančių įmonių kodus. Pvz. 111111111, 222222222';\r\n case 'Check1':\r\n return;\r\n case 'Check2':\r\n return 'Patvirtinu, kad paraiškoje pateikta informacija teisinga;';\r\n case 'Check3':\r\n return 'Patvirtinu, kad atitinku priemonės apraše nustatytus reikalavimus pareiškėjams.';\r\n case 'CheckIndividualAge':\r\n return 'Ar Verslo subjektas, kurį aš atstovauju ir visos į įmonių grupę patenkančios įmonės (visos su mano įmone susijusios įmonės) yra veikiančios trumpiau negu trejus metus?';\r\n case 'VatCode':\r\n return 'PVM kodas';\r\n case 'BirthDate':\r\n return 'Gimimo data';\r\n case 'Check8Turnover1':\r\n return 'Man žinoma, kad Paskolos, skiriamos Paskolos gavėjo apyvartinėms lėšoms finansuoti, atveju pagal Priemonę teikiama valstybės pagalba gali būti sumuojama su kita valstybės pagalba ir (ar) nereikšminga (de minimis) pagalba toms pačioms tinkamoms finansuoti išlaidoms, jei dėl tokio sumavimo neviršijamos pagal Priemonę nustatytos didžiausios pagalbos ribos;';\r\n case 'Check9Turnover2':\r\n return 'Patvirtinu, kad Paskola skiriama Paskolos gavėjo apyvartinėms lėšoms finansuoti, ir bus naudojama naujų rinkų ir (ar) naujų tiekėjų ir (ar) naujų išteklių paieškai ir (ar) įėjimui į naujas rinkas;';\r\n case 'Check10Chinese':\r\n return 'Patvirtinu, kad importo arba eksporto dalis su Kinijos Liaudies Respublika (valstybės kodas CN) sudaro ne mažiau kaip 25 proc. bendros Paskolos gavėjo importo arba eksporto (įskaitant ir su Europos Sąjungos šalimis) dalies nuo 2021 m. sausio 1 d. iki 2021 m. gruodžio 31 d., o jei Paskolos gavėjo pagrindinė vykdoma veikla yra didmeninė ir (ar) mažmeninė prekyba, jam Paskola teikiama tik tuo atveju, jei Paskolos gavėjo eksporto dalis su Kinijos Liaudies Respublika (valstybės kodas CN) sudaro ne mažiau kaip 25 proc. bendros Paskolos gavėjo eksporto dalies;';\r\n\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const applicantTranslation = (text) => {\r\n switch (text) {\r\n case 'ApplicantName':\r\n return 'Pareiškėjo vardas';\r\n case 'ApplicantSurname':\r\n return 'Pareiškėjo pavardė';\r\n case 'ApplicantEmail':\r\n return 'Pareiškėjo el. pašto adresas';\r\n case 'ApplicantPhone':\r\n return 'Pareiškėjo kontaktinis telefono numeris';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const requestStatus = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Rengiama';\r\n case 2:\r\n return 'Pateikta vertinti';\r\n case 3:\r\n return 'Patvirtinta';\r\n case 4:\r\n return 'Atmesta';\r\n case 5:\r\n return 'Grąžinta tikslinimui';\r\n case 6:\r\n return 'Neatitinka kriterijų';\r\n case 7:\r\n return 'Sugeneruota sutartis';\r\n case 8:\r\n return 'Pareiškėjo pasirašyta sutartis';\r\n case 9:\r\n return 'Pasirašyta finansavimo sutartis';\r\n case 10:\r\n return 'Nutraukta sutartis';\r\n case 11:\r\n return 'Laukiama papildomų dokumentų';\r\n case 12:\r\n return 'Pateikti papildomi dokumentai';\r\n case 13:\r\n return 'Sąlygų keitimas\t';\r\n case 14:\r\n return 'Sugeneruotas sutarties sąlygų keitimas';\r\n case 15:\r\n return 'Pareiškėjo pasirašytas sąlygų keitimas';\r\n case 16:\r\n return 'Invegos pasirašytas sąlygų keitimas';\r\n case 17:\r\n return 'Patvirtintas sąlygų keitimas';\r\n case 18:\r\n return 'Pateikti papildomi dokumentai sąlygų keitimui';\r\n case 19:\r\n return 'Sąlygų keitimas grąžintas tikslinimui';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const projectName = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Paskolos nuo karo nukentėjusiems';\r\n {\r\n /*case 2:\r\n return 'Projektas Pimpackiukas';*/\r\n }\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const projectName2 = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'TIESIOGINĖS PASKOLOS NUO KARO NUKENTĖJUSIEMS VERSLO SUBJEKTAMS';\r\n {\r\n /*case 2:\r\n return 'Projektas Pimpackiukas';*/\r\n }\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const projectOptions = [\r\n { label: 'Paskolos nuo karo nukentėjusiems', value: 1 },\r\n //{ label: 'Projektas Pimpackiukas', value: 2 },\r\n];\r\n\r\nexport const paymentRequestStatus = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Nepateikta';\r\n case 2:\r\n return 'Patvirtinta';\r\n case 3:\r\n return 'Grąžinta tikslinimui';\r\n case 4:\r\n return 'Atmesta';\r\n case 5:\r\n return 'Pateikta vertinti';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const loanPurpose = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Investicinė';\r\n case 2:\r\n return 'Apyvartinė';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const helpSchem = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'De minimis';\r\n case 2:\r\n return 'GBER';\r\n case 3:\r\n return 'Netaikoma';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const CompanySizeTypeInvega = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Labai maža';\r\n case 2:\r\n return 'Maža';\r\n case 3:\r\n return 'Vidutinė';\r\n case 4:\r\n return 'Didelė';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\n// statistikoje kitokie pavadinimai ALIG-36\r\nexport const requestStatusForStats = (text) => {\r\n switch (text) {\r\n case 110:\r\n return 'Teigiamas sprendimas';\r\n case 210:\r\n return 'Neigiamas sprendimas';\r\n case 3:\r\n return 'Patvirtinta';\r\n case 4:\r\n return 'Priimtas neigiamas sprendimas';\r\n case 5:\r\n return 'Grąžinta tikslinimui';\r\n case 6:\r\n return 'Atmesta sistemos';\r\n case 7:\r\n return 'Sugeneruota sutarčių';\r\n case 8:\r\n return 'Pareiškėjo pasirašyta sutartis';\r\n case 9:\r\n return 'Pasirašyta finansavimo sutartis';\r\n case 10:\r\n return 'Nutraukta sutartis';\r\n case 11:\r\n return 'Laukiama papildomų dokumentų';\r\n case 13:\r\n return 'Sąlygų keitimas\t';\r\n case 14:\r\n return 'Sugeneruotas sutarties sąlygų keitimas';\r\n case 15:\r\n return 'Pareiškėjo pasirašytas sąlygų keitimas';\r\n case 16:\r\n return 'Invegos pasirašytas sąlygų keitimas';\r\n case 111:\r\n return 'Investicinė paskola\t';\r\n case 2:\r\n return 'Vertinama';\r\n case 211:\r\n return 'Investicinė paskola\t';\r\n case 112:\r\n return 'Apyvartinė paskola\t';\r\n case 212:\r\n return 'Apyvartinė paskola\t';\r\n case 15:\r\n return 'Keisti būseną';\r\n case 99:\r\n return 'VISO';\r\n case 100:\r\n return 'Rezervuota priemonės lėšų suma';\r\n case 101:\r\n return 'Likutis';\r\n case 17:\r\n return 'Patvirtintas sąlygų keitimas';\r\n case 18:\r\n return 'Pateikti papildomi dokumentai sąlygų keitimui';\r\n case 19:\r\n return 'Sąlygų keitimas grąžintas tikslinimui';\r\n case 13:\r\n return 'Sąlygų keitimas\t';\r\n case 14:\r\n return 'Sugeneruotas sutarties sąlygų keitimas';\r\n\r\n case 16:\r\n return 'Invegos pasirašytas sąlygų keitimas';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const StatusesStats = (text) => {\r\n switch (text) {\r\n case 'Created':\r\n return 'Rengiama';\r\n case 'Evaluating':\r\n return 'Vertinama';\r\n case 'Submitted':\r\n return 'Pateikta (nuo priemonės pradžios)';\r\n case 'PositiveDecision':\r\n return 'Teigiamas sprendimas';\r\n case 'NegativeDecision':\r\n return 'Neigiamas sprendimas';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const companySize = (text) => {\r\n switch (text) {\r\n case 'NotApplicable':\r\n return 'Nepateko į kriterijus';\r\n case 'VerySmall':\r\n return 'Labai maža';\r\n case 'Small':\r\n return 'Maža';\r\n case 'MediumSize':\r\n return 'Vidutinė įmonė';\r\n default:\r\n return text;\r\n }\r\n};\r\n\r\nexport const invoiceStatus = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Rengiama';\r\n case 2:\r\n return 'Patikrinta';\r\n case 3:\r\n return 'Atmesta';\r\n case 4:\r\n return 'Finansuojama';\r\n case 5:\r\n return 'Nefinansuojama';\r\n default:\r\n return '-';\r\n }\r\n};\r\n\r\nexport const vmiInvoiceStatus = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Išsiųsta';\r\n case 2:\r\n return 'Patvirtinta';\r\n case 3:\r\n return 'Tikslintina';\r\n case 4:\r\n return 'Nerasta';\r\n default:\r\n return '-';\r\n }\r\n};\r\n\r\nexport const amlCheckResultId = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Accept';\r\n case 2:\r\n return 'Reject';\r\n case 3:\r\n return 'ManualCheck';\r\n default:\r\n return id;\r\n }\r\n};\r\n\r\nexport const amlCheckTypeId = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'RequestSubject';\r\n case 2:\r\n return 'RequestCompany';\r\n case 3:\r\n return 'ContraollingCompany';\r\n case 4:\r\n return 'ControllingPerson';\r\n default:\r\n return id;\r\n }\r\n};\r\n\r\nexport const rentContractTranslation = (name) => {\r\n switch (name) {\r\n case 'RealEstateObjectId':\r\n return 'NT objekto unikalus numeris. Formatas: xxxx-xxxx-xxxx:xxxx arba xxxx-xxxx-xxxx';\r\n case 'RealEstateAddress':\r\n return 'NT objekto adresas';\r\n case 'ResidentialUse':\r\n return 'NT objekto paskirtis';\r\n case 'ContractIsRegisteredAtAuthority':\r\n return 'Patvirtinu, kad nuomos sutartis registruota valstybės įmonėje Registrų centre.\t';\r\n case 'ContractStartDate':\r\n return 'Turto nuomos pradžios data *';\r\n case 'ContractEndDate':\r\n return 'Turto nuomos pabaigos data *';\r\n case 'RentedArea':\r\n return 'Nuomojamas plotas (kv.m.)\t';\r\n case 'MonthlyRentalPrice':\r\n return 'Mėnesio nuomos kaina, EUR be PVM';\r\n case 'ContactPersonName':\r\n return 'Atsakingo asmens vardas ir pavardė (kontaktinis asmuo)';\r\n case 'AlreadyReceivedCovidSupportSum':\r\n return 'Nurodykite bendrą kairiau išvardintų įmonių, iki šios paraiškos pateikimo dienos gautą pagalbos sumą EUR (tik subsidijų, dotacijų, mokesčių lengvatų forma) pagal kitas priemones, kurioms taikomas 2020 m. kovo 19 d. Europos Komisijos komunikato „Laikinoji valstybės pagalbos priemonių, skirtų ekonomikai remti reaguojant į dabartinį COVID-19 protrūkį, sistema\" 3.1. skirsnis ir bendrosios nuostatos. Anksčiau gautos nuomos mokesčio kompensacijos suvesti nereikia. Įveskite 0.00, jei pagalbos nebuvo gauta.';\r\n case 'CheckTotalAmountLimit':\r\n return 'Patvirtinu, kad bendra man, kartu su įmonėmis, kurios gali turėti kontrolę man, kaip pareiškėjui, arba kurias aš, kaip pareiškėjas, galiu kontroliuoti, teikiamo finansavimo pagal 2020 m. kovo 19 d. Europos Komisijos komunikato „Laikinoji valstybės pagalbos priemonių, skirtų ekonomikai remti reaguojant į dabartinį COVID-19 protrūkį, sistema“ 3.1 dalį ir bendrąsias nuostatas (subsidijų, dotacijų, mokesčių lengvatų forma) suma neviršija 800 000 eurų, jei mano veikla vykdoma žuvininkystės ir akvakultūros sektoriuje – 120 000 eurų, jei pirminės žemės ūkio produktų gamybos srityje – 100 000 eurų per komunikato taikymo laikotarpį.';\r\n case 'CheckNotRentFromSelf':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesinuomoju patalpų iš nuomotojo, kuris yra fizinis asmuo, turintis daugumą dalyvių balsų įmonėje, kurią atstovauju.';\r\n case 'CheckRentForMainEconomicActivity':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) pagrindinė veikla yra ekonominė veikla ir su nuomotoju esu (įmonė, kurią atstovauju yra) sudaręs (-iusi) patalpų nuomos sutartį savo ekonominei veiklai vykdyti.';\r\n case 'CheckMainActivityWasDenied':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) vykdoma pagrindinė veikla atitinka veiklas, kurios karantino laikotarpiu buvo arba yra uždraustos Lietuvos Respublikos Vyriausybės 2020 m. kovo 14 d. nutarimu Nr. 207 „Dėl karantino Lietuvos Respublikoje paskelbimo“ ir aš draudimo laikotarpiu jos nevykdžiau.';\r\n case 'CheckNotOnlyInternetSales':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) vykdoma pagrindinė veikla nėra elektroninė prekyba, ginklų ir šaudmenų specializuota mažmeninė prekyba, azartinių žaidimų ir lažybų ar kitų azartinių lošimų organizavimo veikla, finansų įstaigų vykdoma veikla.';\r\n case 'CheckNoIllegalSupport':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesu (nėra) gavęs (-usi) neteisėtos pagalbos, kuri Europos Komisijos sprendimu (dėl individualios pagalbos arba pagalbos schemos) buvo pripažinta neteisėta ir nesuderinama su vidaus rinka arba esu (yra) grąžinęs (-usi) visą jos sumą, įskaitant palūkanas, teisės aktuose nustatyta tvarka.';\r\n case 'CheckDataIsCorrect':\r\n return 'Patvirtinu, kad paraiškoje pateikti nuomos sutarties duomenys ir duomenys apie pateiktą nuomos mokestį yra tikri ir teisingi.';\r\n case 'OwnerCompanyCode':\r\n return 'Nuomotojo įmonės kodas (jei nuomotojas įmonė)';\r\n case 'OwnerPersonalCode':\r\n return 'Asmens kodas (jei nuomotojas fizinis asmuo)';\r\n case 'OwnerIndividualActivityCertificateNumber':\r\n return 'Indiv. veiklos pažymėjimo/patento nr. (jei nuomotojas fizinis asmuo)';\r\n case 'OwnerName':\r\n return 'Nuomotojo įmonės pavadinimas arba asmens vardas pavardė';\r\n case 'OwnerPhone':\r\n return 'Nuomotojo kontaktinis telefono numeris';\r\n case 'OwnerContactPersonName':\r\n return 'Atsakingo asmens vardas ir pavardė (kontaktinis asmuo)';\r\n case 'OwnerEmail':\r\n return 'Nuomotojo kontaktinis el. pašto adresas';\r\n case 'CheckResidentialUse':\r\n return 'NT paskirtis';\r\n case 'CheckContractIsRegisteredAtAuthority':\r\n return 'Patvirtinu, kad nuomos sutartis registruota valstybės įmonėje Registrų centre.';\r\n case 'CheckNotSameCompanyGroup':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) ir nuomotojas nepriklausome tai pačiai įmonių grupei.';\r\n\r\n case 'CheckAdditionalRules':\r\n return 'Sutinku, kad „Invega“ atliktų patikras susijusias su daliniu nuomos mokesčio kompensavimu. Įsipareigoju pateikti atitinkamų dokumentų kopijas, o patikrų vietoje atveju pateikti atitinkamus dokumentus susipažinti.';\r\n\r\n case 'checkAdditionalRule1':\r\n return 'Įsipareigoju saugoti su nuomos mokesčio skaičiavimu, sumokėjimu bei daliniu jo kompensavimu susijusius dokumentus ne trumpiau kaip 5 kalendorinius metus.';\r\n case 'checkAdditionalRule2':\r\n return 'Sutinku, kad mano vardas ir pavardė (mano įmonės pavadinimas) ir man išmokėtos kompensacijų sumos būtų skelbiami „Invegos“ interneto svetainėje.';\r\n\r\n case 'checkAdditionalRule3':\r\n return 'Esu informuotas, kad „Invega“ turi teisę tvarkyti mano pateiktus ar vertinant paraišką sužinotus asmens duomenis.';\r\n\r\n case 'CheckNotCoveredByBudget':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesu (nėra) gavęs (-usi) nuomos mokesčio kompensavimo už kompensavimo laikotarpiu patirtas nuomos mokesčio įšlaidas iš kitų Lietuvos Respublikos valstybės biudžeto ir (arba) savivaldybių biudžetų, kitų piniginių išteklių, kuriais disponuoja valstybė ir (ar) savivaldybė, Europos Sąjungos struktūrinių fondų, kitų Europos Sąjungos finansinės paramos priemonių ar kitos tarptautinės paramos lėšų. ';\r\n case 'ControllingCompanies':\r\n return 'Nurodykite patronuojančiosios ir patronuojamųjų įmonių kodus, t.y. įmonė(s), kurios gali turėti kontrolę* Jums, įmones, kurias Jūs kaip pareiškėjas galite kontroliuoti* ir įmones, kurias kontroliuoja* Jus patronuojanti (-ios) įmonė(s):';\r\n case 'ControllingForeignCompanies':\r\n return 'Nurodykite užsienio įmonių kodus, kurios gali turėti kontrolę Jums, kaip pareiškėjui, arba kurias Jūs, kaip pareiškėjas, galite kontroliuoti';\r\n case 'NumberOfEmployees':\r\n return 'Darbuotojų skaičius paraiškos pateikimo datai';\r\n default:\r\n return name;\r\n }\r\n};\r\n\r\nexport const translationsForValidationInputs = (name) => {\r\n switch (name) {\r\n case 'RealEstateObjectId':\r\n return 'NT objekto unikalus numeris\t';\r\n case 'RealEstateAddress':\r\n return 'NT objekto adresas';\r\n case 'ResidentialUse':\r\n return 'NT objekto paskirtis';\r\n case 'ContractIsRegisteredAtAuthority':\r\n return 'Patvirtinu, kad nuomos sutartis registruota valstybės įmonėje Registrų centre.\t';\r\n case 'ContractStartDate':\r\n return 'Turto nuomos pradžios data *';\r\n case 'ContractEndDate':\r\n return 'Turto nuomos pabaigos data *';\r\n case 'RentedArea':\r\n return 'Nuomojamas plotas (kv.m.)\t';\r\n case 'MonthlyRentalPrice':\r\n return 'Mėnesio nuomos kaina, EUR be PVM';\r\n case 'ContactPersonName':\r\n return 'Atsakingo asmens vardas ir pavardė (kontaktinis asmuo)';\r\n case 'AlreadyReceivedCovidSupportSum':\r\n return 'Nurodykite bendrą kairiau išvardintų įmonių, iki šios paraiškos pateikimo dienos gautą pagalbos sumą EUR (tik subsidijų, dotacijų, mokesčių lengvatų forma) pagal kitas priemones, kurioms taikomas 2020 m. kovo 19 d. Europos Komisijos komunikato „Laikinoji valstybės pagalbos priemonių, skirtų ekonomikai remti reaguojant į dabartinį COVID-19 protrūkį, sistema\" 3.1. skirsnis ir bendrosios nuostatos. Anksčiau gautos nuomos mokesčio kompensacijos suvesti nereikia. Įveskite 0.00, jei pagalbos nebuvo gauta.';\r\n case 'CheckTotalAmountLimit':\r\n return 'Patvirtinu, kad bendra man, kartu su įmonėmis, kurios gali turėti kontrolę man, kaip pareiškėjui, arba kurias aš, kaip pareiškėjas, galiu kontroliuoti, teikiamo finansavimo pagal 2020 m. kovo 19 d. Europos Komisijos komunikato „Laikinoji valstybės pagalbos priemonių, skirtų ekonomikai remti reaguojant į dabartinį COVID-19 protrūkį, sistema“ 3.1 dalį ir bendrąsias nuostatas (subsidijų, dotacijų, mokesčių lengvatų forma) suma neviršija 800 000 eurų, jei mano veikla vykdoma žuvininkystės ir akvakultūros sektoriuje – 120 000 eurų, jei pirminės žemės ūkio produktų gamybos srityje – 100 000 eurų per komunikato taikymo laikotarpį.';\r\n case 'CheckNotRentFromSelf':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesinuomoju patalpų iš nuomotojo, kuris yra fizinis asmuo, turintis daugumą dalyvių balsų įmonėje, kurią atstovauju.';\r\n case 'CheckRentForMainEconomicActivity':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) pagrindinė veikla yra ekonominė veikla ir su nuomotoju esu (įmonė, kurią atstovauju yra) sudaręs (-iusi) patalpų nuomos sutartį savo ekonominei veiklai vykdyti.';\r\n case 'CheckMainActivityWasDenied':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) vykdoma pagrindinė veikla atitinka veiklas, kurios karantino laikotarpiu buvo arba yra uždraustos Lietuvos Respublikos Vyriausybės 2020 m. kovo 14 d. nutarimu Nr. 207 „Dėl karantino Lietuvos Respublikoje paskelbimo“ ir aš draudimo laikotarpiu jos nevykdžiau.';\r\n case 'CheckNotOnlyInternetSales':\r\n return 'Patvirtinu, kad mano (įmonės, kurią atstovauju) vykdoma pagrindinė veikla nėra elektroninė prekyba, ginklų ir šaudmenų specializuota mažmeninė prekyba, azartinių žaidimų ir lažybų ar kitų azartinių lošimų organizavimo veikla, finansų įstaigų vykdoma veikla.';\r\n case 'CheckNoIllegalSupport':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesu (nėra) gavęs (-usi) neteisėtos pagalbos, kuri Europos Komisijos sprendimu (dėl individualios pagalbos arba pagalbos schemos) buvo pripažinta neteisėta ir nesuderinama su vidaus rinka arba esu (yra) grąžinęs (-usi) visą jos sumą, įskaitant palūkanas, teisės aktuose nustatyta tvarka.';\r\n case 'CheckDataIsCorrect':\r\n return 'Patvirtinu, kad paraiškoje pateikti nuomos sutarties duomenys ir duomenys apie pateiktą nuomos mokestį yra tikri ir teisingi.';\r\n case 'OwnerCompanyCode':\r\n return 'Nuomotojo įmonės kodas (jei nuomotojas įmonė)';\r\n case 'OwnerPersonalCode':\r\n return 'Asmens kodas (jei nuomotojas fizinis asmuo)';\r\n case 'OwnerIndividualActivityCertificateNumber':\r\n return 'Indiv. veiklos pažymėjimo/patento nr. (jei nuomotojas fizinis asmuo)';\r\n case 'OwnerName':\r\n return 'Nuomotojo įmonės pavadinimas arba asmens vardas pavardė';\r\n case 'OwnerPhone':\r\n return 'Nuomotojo kontaktinis telefono numeris';\r\n case 'OwnerContactPersonName':\r\n return 'Atsakingo asmens vardas ir pavardė (kontaktinis asmuo)';\r\n case 'OwnerEmail':\r\n return 'Nuomotojo kontaktinis el. pašto adresas';\r\n case 'CheckResidentialUse':\r\n return 'NT paskirtis';\r\n case 'CheckContractIsRegisteredAtAuthority':\r\n return 'Patvirtinu, kad nuomos sutartis registruota valstybės įmonėje Registrų centre.';\r\n case 'CheckNotSameCompanyGroup':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) ir nuomotojas nepriklausome tai pačiai įmonių grupei.';\r\n\r\n case 'CheckAdditionalRules':\r\n return 'Sutinku, kad „Invega“ atliktų patikras susijusias su daliniu nuomos mokesčio kompensavimu. Įsipareigoju pateikti atitinkamų dokumentų kopijas, o patikrų vietoje atveju pateikti atitinkamus dokumentus susipažinti.\\nĮsipareigoju saugoti su nuomos mokesčio skaičiavimu, sumokėjimu bei daliniu jo kompensavimu susijusius dokumentus ne trumpiau kaip 5 kalendorinius metus.';\r\n\r\n case 'CheckNotCoveredByBudget':\r\n return 'Patvirtinu, kad aš (įmonė, kurią atstovauju) nesu (nėra) gavęs (-usi) nuomos mokesčio kompensavimo už kompensavimo laikotarpiu patirtas nuomos mokesčio įšlaidas iš kitų Lietuvos Respublikos valstybės biudžeto ir (arba) savivaldybių biudžetų, kitų piniginių išteklių, kuriais disponuoja valstybė ir (ar) savivaldybė, Europos Sąjungos struktūrinių fondų, kitų Europos Sąjungos finansinės paramos priemonių ar kitos tarptautinės paramos lėšų. ';\r\n case 'ApplicantName':\r\n return 'Verslo subjekto atstovo vardas';\r\n case 'ApplicantSurname':\r\n return 'Verslo subjekto atstovo pavardė';\r\n case 'ApplicantEmail':\r\n return 'Verslo subjekto atstovo el. pašto adresas';\r\n case 'ApplicantPhone':\r\n return 'Verslo subjekto atstovo kontaktinis telefono numeris';\r\n case 'CompanyName':\r\n return 'Verslo subjekto pavadinimas';\r\n case 'CompanyCode':\r\n return 'Verslo subjekto JAR kodas';\r\n case 'CompanyManagerName':\r\n return 'Verslo subjekto vadovo vardas, pavardė';\r\n case 'CompanyType':\r\n return 'Verslo subjekto tipas';\r\n case 'CompanySizeType':\r\n return 'Smulkios ir vidutinės įmonės dydis';\r\n case 'CompanyRegistrationDate':\r\n return 'Verslo subjekto registracijos data';\r\n case 'CompanyRegistrationAddress':\r\n return 'Verslo subjekto registracijos adresas (pvz. Gatvės g. 1, Gyvenvietė, Miesto raj. sav.)';\r\n case 'CompanyPhone':\r\n return 'Verslo subjekto kontaktinis telefono numeris';\r\n case 'CompanyEmail':\r\n return 'Verslo subjekto el. pašto adresas';\r\n case 'CompanyEvrk':\r\n return 'Pagrindinė ekonominė veikla';\r\n case 'IndividualEvrk':\r\n return 'Pagrindinė ekonominė veikla';\r\n case 'Fsi2018Submitted':\r\n return 'Ar pateikta 2018 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2019Submitted':\r\n return 'Ar pateikta 2019 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2020Submitted':\r\n return 'Ar pateikta 2020 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Fsi2021Submitted':\r\n return 'Ar pateikta 2020 m. finansinė atskaitomybė Registrų centrui?';\r\n case 'Turnover18':\r\n return 'Apyvarta 2018 m., EUR';\r\n case 'Turnover19':\r\n return 'Apyvarta 2019 m., EUR';\r\n case 'Turnover20':\r\n return 'Apyvarta 2020 m., EUR';\r\n case 'Turnover21':\r\n return 'Apyvarta 2021 m., EUR';\r\n case 'Income18':\r\n return 'Pajamos 2018 m., EUR';\r\n case 'Income19':\r\n return 'Pajamos 2019 m., EUR';\r\n case 'Income20':\r\n return 'Pajamos 2020 m., EUR';\r\n case 'Assets18':\r\n return 'Turto suma 2018 m., EUR';\r\n case 'Assets19':\r\n return 'Turto suma 2019 m., EUR';\r\n case 'Assets20':\r\n return 'Turto suma 2020 m., EUR';\r\n case 'Assets21':\r\n return 'Turto suma 2021 m., EUR';\r\n case 'PropertyAmount18':\r\n return 'Nuosavybės suma 2018 m., EUR';\r\n case 'PropertyAmount19':\r\n return 'Nuosavybės suma 2019 m., EUR';\r\n case 'PropertyAmount20':\r\n return 'Nuosavybės suma 2020 m., EUR';\r\n case 'PropertyAmount21':\r\n return 'Nuosavybės suma 2021 m., EUR';\r\n case 'Liabilities18':\r\n return 'Įsipareigojimų suma 2018 m., EUR';\r\n case 'Liabilities19':\r\n return 'Įsipareigojimų suma 2019 m., EUR';\r\n case 'Liabilities20':\r\n return 'Įsipareigojimų suma 2020 m., EUR';\r\n case 'Liabilities21':\r\n return 'Įsipareigojimų suma 2021 m., EUR';\r\n case 'ShortTermDebts18':\r\n return 'Trumpalaikių skolų tiekėjams suma 2018 m., EUR';\r\n case 'ShortTermDebts19':\r\n return 'Trumpalaikių skolų tiekėjams suma 2019 m., EUR';\r\n case 'ShortTermDebts21':\r\n return 'Trumpalaikių skolų tiekėjams suma 2021 m., EUR';\r\n case 'EmployeesCount2019March1':\r\n return 'Darbuotojų skaičius 2020 m. kovo 1 dienai';\r\n case 'CurrentEmployeesCount':\r\n return 'Darbuotojų skaičius paraiškos teikimo metu ';\r\n case 'IsUnreable':\r\n return 'Patikimo mokesčių mokėtojo kriterijų neatitinkanti įmonė';\r\n case 'CompanyActivityAddress':\r\n return 'Įmonės faktinės veiklos vykdymo adresas (pvz. Gatvės g. 1, Gyvenvietė, Miesto raj. sav.)';\r\n case 'ControlStructure':\r\n return 'Pateikite verslo subjekto nuosavybės ir (ar) kontrolės struktūros aprašymą ir (arba) įkelkite struktūros schemą prie teikiamų dokumentų ';\r\n case 'Iban':\r\n return 'Verslo subjekto atsiskaitomoji sąskaita. Nurodoma LR įsteigtoje kredito įstaigoje ar užsienio kredito įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita. Formatas: LT000000000000000000';\r\n case 'CompanyManagerCitizenship':\r\n return 'Įmonės vadovo pilietybė (jeigu asmuo be pilietybės – nurodoma valstybė, kuri išdavė asmens tapatybę patvirtinantį dokumentą)';\r\n case 'Status':\r\n return 'Teisinis statusas';\r\n case 'PersonalCode':\r\n return 'Asmens kodas';\r\n case 'Evrk':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojančio paraiškos pateikimo dieną, EVRK kodas. Formatas: 000000';\r\n case 'PvmCode':\r\n return 'PVM kodas';\r\n case 'ParentCompanyCode':\r\n return 'Nurodykite visus Įmonių grupei priklausančių įmonių kodus. Jei esate didelė įmonė, nurodykite visus Įmonių grupei priklausančių įmonių kodus. Pvz. 111111111, 222222222';\r\n\r\n case 'OldIndividualActivityCertificateNumber':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, numeris';\r\n case 'OldIndividualActivityCertificateNumberStartDate':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, pradžios data';\r\n case 'OldEvrk':\r\n return 'Patento ar individualios veiklos pažymėjimo, galiojusio iki 2020-03-16, EVRK kodas Formatas: 000000';\r\n case 'IndividualActivityCertificateNumber':\r\n return 'Galiojančios individualios veiklos ar verslo liudijimo pažymėjimo numeris';\r\n case 'IndividualActivityCertificateNumberStartDate':\r\n return 'Galiojančio Verslo liudijimo ar IV pažymos išdavimo data';\r\n case 'CheckBusinessman':\r\n return 'Patvirtinu kad, aš esu verslininkas, kaip jis apibrėžtas Lietuvos Respublikos smulkiojo ir vidutinio verslo plėtros įstatyme.';\r\n\r\n case 'CheckCompanySize':\r\n return 'Ar įmonė, kurią aš atstovauju, atsižvelgiant į Lietuvos Respublikos smulkiojo ir vidutinio verslo plėtros įstatymą (t.y. įvertinus visų susijusių ir partnerinių įmonių duomenis) yra MVĮ (labai maža, maža arba vidutinė įmonė)?';\r\n\r\n case 'CheckCompanyAge':\r\n return 'Ar įmonė, kurią aš atstovauju ir visos į įmonių grupę patenkančios įmonės (visos su mano įmone susijusios įmonės) yra veikiančios trumpiau negu trejus metus?';\r\n case 'CheckConsolidatedReport':\r\n return 'Ar įmonė, kurią aš atstovauju ir visos į įmonių grupę patenkančios įmonės (visos su mano įmone susijusios įmonės) sudaro konsoliduotąją ataskaitą? Jei taip, nurodykite įmonės kodą ir prie paraiškos prisekite konsoliduotą ataskaitą';\r\n case 'RentDate':\r\n return 'Laikotarpis, už kurį išrašyta sąskaita';\r\n case 'RentContract':\r\n return 'NT objekto unikalus numeris ir Nuomojamas plotas (kv.m.)';\r\n case 'ParentCompanyCodesFromRequest':\r\n return 'Nurodykite visus Įmonių grupei priklausančių įmonių kodus. Jei esate didelė įmonė, nurodykite visus Įmonių grupei priklausančių įmonių kodus';\r\n default:\r\n return name;\r\n }\r\n};\r\n\r\nexport const invoiceTranslation = (name) => {\r\n switch (name) {\r\n case '':\r\n return '';\r\n default:\r\n return name;\r\n }\r\n};\r\n\r\nexport const invoiceType = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'PVM sąskaita faktūra';\r\n case 2:\r\n return 'Pinigų priėmimo orderis';\r\n case 3:\r\n return 'Kvitas';\r\n case 4:\r\n return 'Mokama (grynais arba pavedimu) tik pagal nuomos sutartį';\r\n case 5:\r\n return 'Sąskaita faktūra';\r\n }\r\n};\r\n\r\nexport const documentType = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Sąskaita faktūra arba PVM sąskaita faktūra';\r\n case 2:\r\n return 'Darbo užmokesčio žiniaraštis';\r\n case 3:\r\n return 'Apmokėjimą pagrindžiantis dokumentas';\r\n case 4:\r\n return 'Priėmimo-perdavimo aktas';\r\n case 5:\r\n return 'Kiti dokumentai';\r\n }\r\n};\r\n\r\nexport const amlStatus = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Priimta';\r\n case 2:\r\n return 'Atmesta';\r\n case 3:\r\n return 'Rankinis patikrinimas';\r\n default:\r\n return '-';\r\n }\r\n};\r\n\r\nexport const requestLogTranslation = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Rengiama';\r\n //case 2:\r\n // return 'Neatitinka kriterijų';\r\n case 3:\r\n return 'Pateikta vertinti';\r\n case 4:\r\n return 'Patvirtinta';\r\n case 5:\r\n return 'Atmesta';\r\n case 6:\r\n return 'Grąžinta tikslinimui';\r\n case 7:\r\n return 'Sugeneruota sutartis';\r\n case 8:\r\n return 'Pareiškėjo pasirašyta sutartis';\r\n case 9:\r\n return 'Pasirašyta paskolos sutartis';\r\n case 10:\r\n return 'Nutraukta sutartis';\r\n //case 13:\r\n // return 'Paskolos suma įvesta';\r\n //case 14:\r\n // return 'Padidinta paskolos suma';\r\n case 16:\r\n return 'Pakeista būsena į \"Pateikta vertinti\"';\r\n case 19:\r\n return 'Pakeista sutartis';\r\n case 18:\r\n return 'Paskirtas vertintojas';\r\n case 20:\r\n return 'Įvestas verslo subjekto statusas';\r\n case 21:\r\n return 'Patvirtinta paraiška (laukiama dokumentų)';\r\n case 50:\r\n return 'Paprašyta pateikti papildomus dokumentus';\r\n case 22:\r\n return 'Pateikti papildomi dokumentai vertinimui';\r\n case 39:\r\n return 'Pateiktas prašymas pakeisti sutarties sąlygas';\r\n case 40:\r\n return 'Sugeneruotas sąlygų keitimo dokumentas';\r\n case 41:\r\n return 'Pareiškėjo pasirašytas sąlygų keitimas';\r\n case 42:\r\n return 'Invegos pasirašytas sąlygų keitimas';\r\n case 43:\r\n return 'Invegos atmestas sąlygų keitimas';\r\n case 44:\r\n return 'Įvesta papildoma AML/PEP informacija';\r\n case 45:\r\n return 'Vertintojas inicijavo sutarties keitimą';\r\n case 46:\r\n return 'Vertintojas grąžino tikslinti sutarties keitimą';\r\n case 47:\r\n return 'Patvirtintas sąlygų keitimas';\r\n case 48:\r\n return 'Pateikti papildomi dokumentai sąlygų keitimui';\r\n case 49:\r\n return 'Pateikta pareiškėjo pasirašymui';\r\n case 52:\r\n return 'Pakartotinai patikrintas JADIS';\r\n case 53:\r\n return 'Pakartotinai patikrintas AML';\r\n case 51:\r\n return 'Įvesta rizikos grupė';\r\n case 54:\r\n return 'Pakartotinai patikrintas JAR';\r\n case 55:\r\n return 'Pakeista būsena į Patvirtinta';\r\n case 57:\r\n return ' Pakeista būsena į Sąlygų keitimas';\r\n case 56:\r\n return 'Pakeista būsena į Patvirtintas sąlygų keitimas';\r\n default:\r\n return id;\r\n }\r\n};\r\n\r\nexport const fileTypeTranslation = (type) => {\r\n switch (type) {\r\n case 1:\r\n return 'SVV subjekto statuso deklaracija';\r\n case 2:\r\n return 'Vienos įmonės deklaracija';\r\n case 3:\r\n return 'Verslo subjektą apibūdinantys dokumentai (1)';\r\n case 4:\r\n return 'Verslo planas (Aprašo priedas Nr. 1)';\r\n case 5:\r\n return 'Verslo subjekto valdymo organo sprendimas dėl Paskolos gavimo, turto įkeitimo ir įgaliotų asmenų sudaryti atitinkamus sandorius paskyrimo';\r\n case 6:\r\n return 'Verslininko individualios veiklos registracijos dokumentai, asmens tapatybės dokumento kopija ir laisvos formos dokumentas, kuriame būtų nurodyti verslininko ir su juo susijusių įmonių ryšiai ';\r\n case 7:\r\n return 'Finansiniai dokumentai';\r\n case 8:\r\n return 'Buhalterinė pažyma apie importą arba eksportą į Kinijos Liaudies Respubliką';\r\n case 11:\r\n return 'Kiti dokumentai (5)';\r\n case 9:\r\n return 'Einamųjų finansinių metų tarpinis finansinių ataskaitų rinkinys';\r\n case 10:\r\n return 'Motyvuotas paaiškinimas (3)';\r\n case 12:\r\n return 'Paskolos gavėjo finansinė būklė ir prognozės (Aprašymo priedas Nr. 1)';\r\n case 13:\r\n return 'Pareiškėjo veiklos (finansinių) duomenų detalizacijos forma (2)';\r\n case 14:\r\n return 'Įgaliojimas (4)';\r\n case 15:\r\n return 'Vadovo asmens tapatybės dokumento kopija';\r\n default:\r\n return type;\r\n }\r\n};\r\n\r\nexport const paymentRequestDocumentTypes = [\r\n {\r\n name: 'Apmokėjimą pagrindžiantys dokumentai',\r\n fileType: 3,\r\n allowedTypes: '.pdf',\r\n },\r\n {\r\n name: 'Kiti dokumentai',\r\n fileType: 5,\r\n allowedTypes: '.docx, .xlsx, .doc, .xls, .pdf, .jpeg, .png',\r\n },\r\n];\r\n\r\nexport const getNameByFileType = (documentTypes, fileType) => {\r\n return documentTypes.find((el) => el.fileType === fileType)?.name || fileType;\r\n};\r\n\r\nexport const getAllowedFileTypes = (documentTypes, fileType) => {\r\n return (\r\n documentTypes.find((el) => +el.fileType === +fileType)?.allowedTypes || ''\r\n );\r\n};\r\n\r\nexport const questionListTranslations = (val) => {\r\n switch (val) {\r\n case 'IsSmall':\r\n return 'Bendrovė ir visos su ja susijusios įmonės atitinka labai mažos arba mažos įmonės statusą pagal Lietuvos Respublikos smulkaus ir vidutinio verslo plėtros įstatymo nuostatas. Pagrindiniai kriterijai: įmonėje (atsižvelgiant ir į susijusias ir partnerines įmones) dirba mažiau kaip 50 darbuotojų ir įmonė atitinka bent vieną iš šių kriterijų: metinės pajamos neviršija 10 mln. Eur arba įmonės balanse nurodyto turto vertė neviršija 10 mln. Eur';\r\n case 'IsNotListed':\r\n return 'Bendrovė arba kuri nors iš su ja susijusių įmonių nėra listinguojamos reguliuojamoje rinkoje';\r\n case 'IsProfitNotShared':\r\n return 'Bendrovė arba kuri nors iš su ja susijusių įmonių nėra skirsčiusi pelno akcininkams ar dalininkams';\r\n case 'IsNotJoined':\r\n return 'Bendrovė arba kuri nors iš su ja susijusių įmonių nėra sukurta per įmonių susijungimą';\r\n case 'IsNotTaken':\r\n return 'Bendrovė arba kuri nors iš su ja susijusių įmonių nėra perėmusi kitos įmonės veiklą';\r\n case 'IsNotProblemic':\r\n return 'Bendrovė arba kuri nors iš su ja susijusių įmonių nėra sunkumų patirianti įmonė. Sunkumų patiriančios įmonės apibrėžimas pateiktas Komisijos reglamento (ES) Nr. 651/2014 2 straipsnio 18 dalyje';\r\n default:\r\n return val;\r\n }\r\n};\r\n\r\nexport const paymentRequestLogTranslation = (id) => {\r\n switch (id) {\r\n case 23:\r\n return 'Pridėtas mokėjimo prašymo failas';\r\n case 24:\r\n return 'Pridėtas mokėjimo prašymo dokumento failas';\r\n case 25:\r\n return 'Pašalintas mokėjimo prašymo failas';\r\n case 26:\r\n return 'Pašalintas mokėjimo prašymo dokumento failas';\r\n case 27:\r\n return 'Sukurtas mokėjimo prašymas';\r\n case 28:\r\n return 'Mokėjimo prašymas pateiktas vertinimui';\r\n case 29:\r\n return 'Mokėjimo prašymas grąžintas tikslinimui';\r\n case 30:\r\n return 'Atmestas mokėjimo prašymas';\r\n case 31:\r\n return 'Patvirtintas mokėjimo prašymas';\r\n case 32:\r\n return 'Redaguotas mokėjimo prašymas';\r\n case 33:\r\n return 'Pridėtas mokėjimo prašymo dokumentas';\r\n case 34:\r\n return 'Ištrintas mokėjimo prašymo dokumentas';\r\n case 35:\r\n return 'Patvirtintas mokėjimo prašymo dokumentas';\r\n case 36:\r\n return 'Grąžintas mokėjimo prašymo dokumentas';\r\n case 37:\r\n return 'Vertintojas redagavo mokėjimo prašymo dokumentą';\r\n default:\r\n return id;\r\n }\r\n};\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner, TableAdmin, TableRow, TableCell } from '../../components';\r\n// import { RequirementsText } from '../../containers';\r\n\r\nimport styles from './requests.module.scss';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faEye,\r\n faPencilAlt,\r\n faTrash,\r\n faPlusSquare,\r\n faFileAlt,\r\n faEuroSign,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport swal from 'sweetalert';\r\n\r\nimport DeleteComfirmationModal from '../../modals/deleteComfirmationModal/deleteComfirmationModal';\r\n\r\nimport { format } from 'date-fns';\r\nimport { Link, Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { Api } from '../../api/api';\r\nimport {\r\n requestStatus,\r\n projectName,\r\n loanPurpose,\r\n} from './../../utils/translation/translation';\r\nimport {\r\n formatNumber,\r\n formatNumberToCurrency,\r\n} from './../../utils/helpers/helpers';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nconst Requests = ({\r\n requestList,\r\n dispatch,\r\n loading,\r\n deleteComfirmationModalVisible,\r\n canCreateRequest,\r\n}) => {\r\n const tableHeader = [\r\n 'Paraiškos ID',\r\n 'Paraiškos numeris',\r\n 'Pareiškėjas',\r\n 'Pareiškėjo kodas',\r\n 'Sukūrimo data',\r\n 'Pateikimo vertinimui data',\r\n 'Prašoma paskolos suma, EUR',\r\n 'Skirta paskolos suma, EUR',\r\n 'Būsena',\r\n 'Liko dienų paraiškos patikslinimui',\r\n 'Liko dienų sutarties pasirašymui',\r\n 'Priemonė',\r\n 'Atsakingas darbuotojas',\r\n 'Telefonas pasiteiravimui',\r\n 'Veiksmai',\r\n ];\r\n\r\n const [selectedId, setSelectedId] = useState(null);\r\n const [editable, setEditable] = useState(false);\r\n\r\n const [deletingItemId, setDeletingItemId] = useState(null);\r\n\r\n const actionClick = (action, Id) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n\r\n if (action === 'view') {\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction(Id, 'view'));\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(Id, 'view', '', 1)\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n\r\n setEditable(false);\r\n setSelectedId(Id);\r\n } else if (action === 'edit') {\r\n setEditable(false);\r\n setSelectedId(Id);\r\n\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction(Id, 'edit'));\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(Id, 'edit')\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } else if (action === 'delete') {\r\n setDeletingItemId(Id);\r\n\r\n const open = {\r\n modalName: 'deleteComfirmationModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n };\r\n\r\n const fetchdata = useCallback(() => {\r\n dispatch(actions.dashboard.getRequestListAction());\r\n }, [dispatch, requestList]);\r\n\r\n const createJustOneValidRequest = () => {\r\n const validate = requestList.filter((val) => {\r\n return val.Status !== 1 || val.Status !== 5 || val.Status !== 6;\r\n });\r\n return validate.length < 2 ? true : false;\r\n };\r\n\r\n const [canCreateNewRequest, setCanCreateNewRequest] = useState(false);\r\n const addNewRequest = () => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n\r\n // call cancreate request\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.canCreateRequest, {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n if (r) {\r\n setCanCreateNewRequest(true);\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction());\r\n } else if (loginType === 'Individual') {\r\n dispatch(actions.dashboard.createNewRequestIndividualAction());\r\n } else {\r\n swal({\r\n title: 'Klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } else {\r\n swal({\r\n title:\r\n 'Vienam paskolos gavėjui iš Priemonės lėšų gali būti suteikta tik viena paskola. Jūs jau esate pateikę paraišką paskolai gauti.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n })\r\n .finally(() => {\r\n setCanCreateNewRequest(false);\r\n\r\n // dispatch(actions.dashboard.setUserOnSyncFlagAction(false));\r\n // setLocalLoading(false);\r\n });\r\n };\r\n\r\n const openPaymentRequest = (id) => {\r\n dispatch(actions.dashboard.getPaymentRequestsListAction(id));\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.clearUserStateAction());\r\n fetchdata();\r\n dispatch(actions.dashboard.setSavedRequestDesissionAccepted(false));\r\n dispatch(actions.auth.pushTokenToServerAction());\r\n }, []);\r\n\r\n const returnContantEmail = (status, assesorEmail) => {\r\n const assessorDic = [2, 3, 4, 5, 13, 17, 18, 19];\r\n const operationDic = [7, 8, 9, 10, 11, 12, 14, 15, 16];\r\n\r\n if (assessorDic.some((val) => val === status)) {\r\n return assesorEmail || 'uzklausos@ilte.lt';\r\n }\r\n\r\n if (operationDic.some((val) => val === status)) {\r\n return 'operacijos@ilte.lt';\r\n }\r\n\r\n if (status === 1 || status === 6) {\r\n return 'uzklausos@ilte.lt';\r\n }\r\n\r\n return 'uzklausos@ilte.lt';\r\n };\r\n\r\n return (\r\n \r\n \r\n {/*
\r\n

\r\n Informuojame, kad INVEGAI gavus paraiškų už visą Priemonei skirtą\r\n sumą, Jūsų pateikta paraiška bus įtraukta į rezervinį sąrašą ir bus\r\n vertinama pagal paraiškų pateikimo datą tuo atveju, jei\r\n atsilaisvintų priemonei skirtų lėšų arba būtų nuspręsta skirti\r\n papildomą finansavimą priemonei įgyvendinti.\r\n

\r\n
*/}\r\n \r\n
\r\n

Paraiškos

\r\n\r\n \r\n {requestList != null &&\r\n requestList.map(\r\n ({\r\n Id,\r\n SubmittedNo,\r\n CompanyName,\r\n CompanyCode,\r\n CreateDate,\r\n SubmittedDate,\r\n LoanSum,\r\n Status,\r\n DaysTillAdjust,\r\n DeadlineBusinessDaysUntilSignature,\r\n ProjectId,\r\n InvegaLoanSum,\r\n AssessorEmail,\r\n AssesorPhone,\r\n LoanPurposeId,\r\n FormVersion,\r\n }) => (\r\n \r\n {Id}\r\n {SubmittedNo}\r\n {CompanyName}\r\n {CompanyCode}\r\n \r\n {CreateDate !== null &&\r\n format(new Date(CreateDate), 'yyyy-MM-dd')}\r\n \r\n \r\n {SubmittedDate !== null &&\r\n format(new Date(SubmittedDate), 'yyyy-MM-dd')}\r\n \r\n {formatNumber(LoanSum)}\r\n {formatNumber(InvegaLoanSum)}\r\n {requestStatus(Status)}\r\n {Status === 5 && DaysTillAdjust} \r\n \r\n {Status === 7 && DeadlineBusinessDaysUntilSignature}{' '}\r\n \r\n {projectName(ProjectId)}\r\n \r\n {returnContantEmail(Status, AssessorEmail)}\r\n \r\n \r\n {AssesorPhone ? AssesorPhone : '(85) 210 7510'}\r\n \r\n \r\n
\r\n \r\n actionClick('view', Id)}\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n \r\n {(Status === 1 || Status === 5) && (\r\n \r\n actionClick('edit', Id)}\r\n style={{\r\n color: '#005eae',\r\n }}\r\n />\r\n \r\n )}\r\n\r\n {/*{(Status === 9 ||\r\n Status === 13 ||\r\n Status === 14 ||\r\n Status === 15 ||\r\n Status === 16) && (\r\n \r\n openPaymentRequest(Id)}\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n \r\n )}*/}\r\n\r\n {(Status === 1 || Status === 6) && (\r\n actionClick('delete', Id)}\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n )}\r\n
\r\n
\r\n
\r\n )\r\n )}\r\n
\r\n \r\n addNewRequest()}\r\n />\r\n \r\n
\r\n \r\n {canCreateNewRequest ? (\r\n \r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestList: state.dashboardState.requestList,\r\n loading: state.dashboardState.isOnSync,\r\n deleteComfirmationModalVisible:\r\n state.modalsState.deleteComfirmationModalVisible,\r\n canCreateRequest: state.dashboardState.canCreateRequest,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Requests);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableProjects,\r\n TableRowProject,\r\n TableCellProject,\r\n Button,\r\n} from '../../components';\r\n\r\nimport styles from './requests.module.scss';\r\n\r\nimport swal from 'sweetalert';\r\n\r\nimport { format } from 'date-fns';\r\nimport { Link, Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { Api } from '../../api/api';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nconst Projects = ({ projectList, dispatch, loading, canCreateRequest }) => {\r\n const tableHeader = ['Priemonė', 'Terminas', 'Kurti naują'];\r\n\r\n const [selectedId, setSelectedId] = useState(null);\r\n\r\n const actionClick = (action, Id) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n\r\n if (action === 'view') {\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction(Id, 'view'));\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(Id, 'view')\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n\r\n setSelectedId(Id);\r\n }\r\n };\r\n const currentDate = new Date();\r\n const fetchdata = useCallback(() => {\r\n dispatch(actions.dashboard.getProjectListAction());\r\n }, [dispatch, projectList]);\r\n\r\n const [canCreateNewRequest, setCanCreateNewRequest] = useState(false);\r\n const addNewRequest = (projectId) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n\r\n // call cancreate request\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.canCreateRequest, {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n if (r) {\r\n setCanCreateNewRequest(true);\r\n if (loginType === 'Company') {\r\n dispatch(\r\n actions.dashboard.createNewRequestAction(\r\n '',\r\n '',\r\n '',\r\n projectId\r\n )\r\n );\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(\r\n '',\r\n '',\r\n '',\r\n projectId\r\n )\r\n );\r\n } else {\r\n swal({\r\n title: 'Klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n } else {\r\n swal({\r\n title:\r\n 'Vienam paskolos gavėjui iš Priemonės lėšų gali būti suteikta tik viena paskola. Jūs jau esate pateikę paraišką paskolai gauti.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n })\r\n .finally(() => {\r\n setCanCreateNewRequest(false);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.clearUserStateAction());\r\n fetchdata();\r\n dispatch(actions.dashboard.setSavedRequestDesissionAccepted(false));\r\n dispatch(actions.auth.pushTokenToServerAction());\r\n }, []);\r\n\r\n return (\r\n \r\n \r\n {/*ideti Inactive patikra*/}\r\n \r\n

\r\n Pasirinkite priemonę, kuriai norite parengti paraišką\r\n

\r\n\r\n \r\n {projectList != null &&\r\n projectList.map(\r\n ({\r\n Id,\r\n Title,\r\n StartDate,\r\n EndDate,\r\n ContractSigningTerm,\r\n DescriptionUrl,\r\n ProjectDescription,\r\n }) => (\r\n \r\n \r\n

\"{Title}\"

\r\n
\r\n {ProjectDescription}\r\n
\r\n
\r\n Plačiau apie paskolos teikimo sąlygas galite pasiskaityti\r\n čia:{' '}\r\n \r\n {DescriptionUrl}\r\n \r\n

Paraiškų teikimo terminas iki:{' '}\r\n \r\n {EndDate !== null &&\r\n format(new Date(EndDate), 'yyyy-MM-dd')}\r\n {' '}\r\n d.\r\n
\r\n Sutarčių pasirašymo terminas iki:{' '}\r\n \r\n {ContractSigningTerm !== null &&\r\n format(new Date(ContractSigningTerm), 'yyyy-MM-dd')}\r\n {' '}\r\n d.\r\n
\r\n\r\n \r\n {format(new Date(currentDate), 'yyyy-MM-dd HH:mm:ss') <\r\n format(new Date(EndDate), 'yyyy-MM-dd HH:mm:ss') && (\r\n \r\n
\r\n {/* */}\r\n \r\n addNewRequest(Id)}\r\n >\r\n Pildyti paraišką\r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n )\r\n )}\r\n \r\n \r\n\r\n {canCreateNewRequest ? (\r\n \r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n projectList: state.dashboardState.projectList,\r\n loading: state.dashboardState.isOnSync,\r\n canCreateRequest: state.dashboardState.canCreateRequest,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Projects);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './globalConfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\n\r\nconst GlobalConfirmationModal = ({\r\n open,\r\n text,\r\n data,\r\n action,\r\n loading,\r\n dispatch,\r\n checkbox,\r\n okTitle,\r\n modalTitle,\r\n mainText,\r\n userComment,\r\n generateNoteAboutNoFinanceFromBanks,\r\n}) => {\r\n const [agree, setAgree] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n\r\n const onAgree = () => {\r\n setAgree(!agree);\r\n };\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n setAgree(false);\r\n setShowError(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n console.log(action);\r\n\r\n const yes = () => {\r\n if (generateNoteAboutNoFinanceFromBanks) {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n const open2 = {\r\n modalName: 'approveRequestWithAdditionalDocs',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open2));\r\n } else {\r\n if (!checkbox || (checkbox && agree)) {\r\n dispatch(\r\n actions.modals.setModalConfirmAction(data, action, userComment)\r\n );\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n setAgree(false);\r\n setShowError(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n } else {\r\n setShowError(true);\r\n }\r\n }\r\n {\r\n /*if (action === 'INVEGA_CONFIRMWITHDOCS_REQUEST') {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n // const open2 = {\r\n // modalName: 'approveRequestWithAdditionalDocs',\r\n // visible: true,\r\n // };\r\n // dispatch(actions.modals.setModalVisibleFlagAction(open2));\r\n\r\n if (generateNoteAboutNoFinanceFromBanks) {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n const open2 = {\r\n modalName: 'approveRequestWithAdditionalDocs',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open2));\r\n } else {\r\n dispatch(\r\n actions.modals.setModalConfirmAction(data, action, userComment)\r\n );\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n setAgree(false);\r\n setShowError(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n } else {\r\n dispatch(actions.modals.setModalConfirmAction(data, action, userComment));\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: false,\r\n };\r\n setAgree(false);\r\n setShowError(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }*/\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
{modalTitle}
\r\n\r\n
\r\n
\r\n
\r\n \r\n {checkbox && showError && (\r\n
\r\n \r\n Turite pažymėti, kad sutinkate su sąlygomis.\r\n \r\n
\r\n )}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(GlobalConfirmationModal);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './autorizationModal.module.scss';\r\nimport {\r\n Button,\r\n WithSpinner,\r\n InputWithTextInline,\r\n MultiSelect,\r\n} from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport DatePicker from 'react-datepicker';\r\nimport 'react-datepicker/dist/react-datepicker.css';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { Link } from 'react-router-dom';\r\nimport { projectOptions } from './../../utils/translation/translation';\r\n\r\nconst AutorizationModal = ({\r\n open,\r\n id,\r\n loading,\r\n dispatch,\r\n errors,\r\n representative,\r\n}) => {\r\n const [values, setValues] = useState({\r\n Id: null,\r\n RoleId: 1,\r\n FirstName: '',\r\n LastName: '',\r\n PersonalCode: '',\r\n ValidFrom: '',\r\n ValidTo: '',\r\n });\r\n\r\n const [projectId, setProjectId] = useState();\r\n const [projectsIdArray, setProjectsIdArray] = useState(\r\n representative?.Projects\r\n );\r\n const [file, setFile] = useState({\r\n file: '',\r\n });\r\n\r\n const handleInputChange = ({ target: { name, value } }) => {\r\n setValues({ ...values, [name]: value });\r\n };\r\n\r\n const handleStartDateChange = (date) => {\r\n if (!date) {\r\n setValues({ ...values, ['ValidFrom']: '' });\r\n return;\r\n }\r\n const year = date.getFullYear();\r\n const month = `${date.getMonth() + 1}`.padStart(2, 0);\r\n const day = `${date.getDate()}`.padStart(2, 0);\r\n setValues({ ...values, ['ValidFrom']: [year, month, day].join('-') });\r\n };\r\n\r\n const handleEndDateChange = (date) => {\r\n if (!date) {\r\n setValues({ ...values, ['ValidTo']: '' });\r\n return;\r\n }\r\n const year = date.getFullYear();\r\n const month = `${date.getMonth() + 1}`.padStart(2, 0);\r\n const day = `${date.getDate()}`.padStart(2, 0);\r\n setValues({ ...values, ['ValidTo']: [year, month, day].join('-') });\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFile(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const setUploadFile = (e) => {\r\n const file = e.target.files[0];\r\n\r\n if (file && file.size > 20 * 1048 * 1048) {\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n return;\r\n }\r\n\r\n setFile(file);\r\n };\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n setValues(representative);\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n formData.append('UploadedFile', file);\r\n formData.append('FirstName', values.FirstName);\r\n formData.append('LastName', values.LastName);\r\n formData.append('PersonalCode', values.PersonalCode);\r\n formData.append('ValidFrom', values.ValidFrom);\r\n formData.append('ValidTo', values.ValidTo);\r\n formData.append('RepresentativeType', 'Company');\r\n if (values.Id) {\r\n formData.append('Id', values.Id);\r\n }\r\n for (let i = 0; i < projectsIdArray.length; i++) {\r\n formData.append('Projects', projectsIdArray[i]);\r\n }\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.saveRepresentative, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n dispatch(actions.dashboard.loadRepresentatives());\r\n } else {\r\n res.json().then((r) => {\r\n if (r.ErrorMessage) {\r\n dispatch(\r\n actions.dashboard.setSaveRepresentativeError(r.ErrorMessage)\r\n );\r\n } else {\r\n dispatch(actions.dashboard.setSaveRepresentativeError(r.errors));\r\n }\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n })\r\n .finally(() => {\r\n //setIsloading(false);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n if (representative) {\r\n setValues(representative);\r\n setProjectsIdArray(representative.Projects);\r\n }\r\n }, [representative]);\r\n\r\n const onMultiSelectChange = (event) => {\r\n setProjectId(event);\r\n const filter = event.map((val) => val.value);\r\n setProjectsIdArray(filter);\r\n };\r\n\r\n const setDefaultValue = () =>\r\n projectsIdArray\r\n ? projectsIdArray?.map((val) =>\r\n projectOptions?.find((x) => x?.value === val)\r\n )\r\n : [];\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Pridėti įgaliotinį

\r\n\r\n
\r\n
\r\n
\r\n \r\n Priemonės(-ių) pavadinimas(-ai)\r\n \r\n\r\n onMultiSelectChange(e)}\r\n value={setDefaultValue() || ''}\r\n defaultValue={setDefaultValue()}\r\n options={projectOptions}\r\n />\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {/*\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n */}\r\n \r\n {representative &&\r\n representative.Files &&\r\n representative.Files.map((f) => (\r\n
\r\n downloadFile(representative.Id, f)}\r\n style={{ color: '#009fe3', textDecoration: 'none' }}\r\n >\r\n Įgaliojimas Nr. {f}\r\n \r\n
\r\n ))}\r\n \r\n \r\n

\r\n Galimi priedų formatai: .pdf, .adoc. Maksimalus dydis 20MB.\r\n

\r\n
\r\n
\r\n\r\n {errors && (\r\n
\r\n {typeof errors == 'string' && (\r\n
{errors}
\r\n )}\r\n {errors.Projects &&\r\n errors.Projects.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.FirstName &&\r\n errors.FirstName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.LastName &&\r\n errors.LastName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.PersonalCode &&\r\n errors.PersonalCode.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.ValidFrom &&\r\n errors.ValidFrom.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.ValidTo &&\r\n errors.ValidTo.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.UploadedFile &&\r\n errors.UploadedFile.map((e) => (\r\n
{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\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n errors: state.dashboardState.errors,\r\n representative: state.dashboardState.representative,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AutorizationModal);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner, TableAdmin, TableRow, TableCell } from '../../components';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport { Link } from 'react-router-dom';\r\nimport styles from './authorization.module.scss';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faTrash,\r\n faPlusSquare,\r\n faPencilAlt,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport { config } from '../../api/config';\r\nimport { Api } from './../../api/api';\r\nimport AutorizationModal from '../../modals/autorizationModal/autorizationModal';\r\nimport { projectName } from './../../utils/translation/translation';\r\n\r\nconst Authorization = ({\r\n representativesList,\r\n dispatch,\r\n loading,\r\n autorizationModalVisible,\r\n confirmModalVisible,\r\n}) => {\r\n const tableHeader = [\r\n 'Vardas',\r\n 'Pavardė',\r\n 'Asmens kodas',\r\n 'Įgaliojimo pradžia',\r\n 'Įgaliojimo pabaiga',\r\n 'Priemonės (-ių) pavadinimas (-ai)',\r\n 'Dokumentai',\r\n ];\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalCheckbox, setModalCheckbox] = useState(false);\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalOkTitle, setModalOkTitle] = useState();\r\n const [modalTitle, setModalTitle] = useState();\r\n\r\n const actionClick = (representativeId) => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText('Ar tikrai norite ištrinti?');\r\n setModalData({ representativeId });\r\n setModalAction('DELETE_REPRESENTATIVE');\r\n setModalCheckbox(false);\r\n setModalTitle('');\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const addNewAutorization = () => {\r\n dispatch(\r\n actions.dashboard.setRepresentativeAction({\r\n RoleId: 1,\r\n FirstName: '',\r\n LastName: '',\r\n PersonalCode: '',\r\n ValidFrom: '',\r\n ValidTo: '',\r\n })\r\n );\r\n dispatch(actions.dashboard.setSaveRepresentativeError({}));\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const editAutorization = (id) => {\r\n dispatch(actions.dashboard.setSaveRepresentativeError({}));\r\n const row = representativesList.find((r) => r.Id === id);\r\n\r\n dispatch(actions.dashboard.setRepresentativeAction(row));\r\n\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFile(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.loadRepresentatives());\r\n }, []);\r\n\r\n const roleName = (roleId) => {\r\n switch (roleId) {\r\n case 1:\r\n return 'Pareiškėjas';\r\n case 2:\r\n return 'Sąskaitų tvirtintojas';\r\n case 3:\r\n return 'Pareiškėjas ir sąskaitų tvirtintojas';\r\n }\r\n };\r\n\r\n const returnProjectsNames = (ids) => {\r\n if (ids && ids?.length > 0) {\r\n return ids.map((val) =>

{projectName(val)}

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

Įgaliojimai

\r\n\r\n \r\n {representativesList != null &&\r\n representativesList.map(\r\n ({\r\n Id,\r\n FirstName,\r\n LastName,\r\n PersonalCode,\r\n ValidFrom,\r\n ValidTo,\r\n Files,\r\n Projects,\r\n }) => (\r\n \r\n {FirstName}\r\n {LastName}\r\n {PersonalCode}\r\n {ValidFrom}\r\n {ValidTo}\r\n {returnProjectsNames(Projects)}\r\n\r\n \r\n {Files.map((f) => (\r\n
\r\n downloadFile(Id, f)}\r\n style={{ color: '#009fe3', textDecoration: 'none' }}\r\n >\r\n Įgaliojimas Nr. {f}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {/*\r\n
\r\n editAutorization(Id)}>\r\n \r\n \r\n actionClick(Id)}>\r\n \r\n \r\n
\r\n
*/}\r\n
\r\n )\r\n )}\r\n
\r\n\r\n addNewAutorization()}>\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n representativesList: state.dashboardState.representativesList,\r\n loading: state.dashboardState.isOnSync,\r\n autorizationModalVisible: state.modalsState.autorizationModalVisible,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Authorization);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { Link, Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from '../../api/api';\r\nimport { resetLocalStorageItem, hasRole, RoleEnum } from '../../utils';\r\nimport styles from './authorization.module.scss';\r\n\r\nconst Representative = ({ dispatch, representativesList }) => {\r\n const selectCompany = (e) => {\r\n if (e.target.value == 0) {\r\n return;\r\n }\r\n\r\n const parts = e.target.value.split('-');\r\n const reprId = parts[0];\r\n const type = parts[1];\r\n\r\n if (type == 'company') {\r\n resetLocalStorageItem('loginType', 'Company');\r\n }\r\n if (type == 'personal') {\r\n resetLocalStorageItem('loginType', 'Individual');\r\n }\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.impersonate, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: JSON.stringify({\r\n representativeId: reprId,\r\n }),\r\n })\r\n .then((r) => r.json())\r\n .then((json) => {\r\n resetLocalStorageItem('userToken', json.Token);\r\n resetLocalStorageItem('Role', json.Role);\r\n window.location.href = config.APP_PATHS.projects;\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.loadCompanyRepresentatives());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (representativesList && representativesList.length == 0) {\r\n window.location.href = config.APP_PATHS.projects;\r\n }\r\n }, [representativesList]);\r\n\r\n return (\r\n
\r\n

Įmonės atstovavimas

\r\n\r\n \r\n\r\n
\r\n dispatch(actions.dashboard.loadGeneralDataAction())}\r\n >\r\n Atstovauju save\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n representativesList: state.dashboardState.representativesList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Representative);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n Button,\r\n} from '../../components';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { Link } from 'react-router-dom';\r\nimport { requestStatusForStats } from './../../utils/translation/translation';\r\nimport { formatNumberStats } from '../../utils/helpers/helpers';\r\nimport swal from 'sweetalert';\r\nimport { format } from 'date-fns';\r\n\r\nconst TurnoversFiles = ({ dispatch, statsState }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [listData, setListData] = useState([]);\r\n\r\n useEffect(() => {\r\n const getData = async () => {\r\n try {\r\n setIsloading(true);\r\n const response = await Api.ExcelList();\r\n setListData(response);\r\n console.log(response);\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n setIsloading(false);\r\n }\r\n };\r\n getData();\r\n }, []);\r\n\r\n const tableHeader = ['Suformavimo data', 'Priedo pavadinimas', ''];\r\n\r\n const download = (id, name) => {\r\n console.log(id);\r\n\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.ExcelDownloadFile(id), {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `${name}`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n return (\r\n \r\n
\r\n

\r\n Apyvartų excel failai\r\n

\r\n \r\n \r\n \r\n\r\n \r\n {listData.length > 0 &&\r\n listData.map(({ Created, Id, Name }) => (\r\n \r\n \r\n {format(new Date(Created), 'yyyy-MM-dd hh:mm:ss')}\r\n \r\n {Name}\r\n \r\n
\r\n

download(Id, Name)} className=\"pdownload\">\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n statsState: state.backofficeStatsState,\r\n});\r\n\r\nexport default connect(mapStateToProps)(TurnoversFiles);\r\n","import React, { useState } from 'react';\r\nimport styles from './importFilesModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst ImportFilesModal = ({ open, dispatch }) => {\r\n const [fileType, setFileType] = useState('');\r\n const [file, setFile] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'importFilesModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n setFileType('');\r\n setFile(null);\r\n };\r\n\r\n const upload = () => {\r\n if (!file) {\r\n swal({\r\n title: 'Pasirinkite priedą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n return;\r\n }\r\n if (fileType === '') {\r\n swal({\r\n title: 'Pasirinkite tipą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n return;\r\n }\r\n\r\n setLoading(true);\r\n\r\n const formData = new FormData();\r\n formData.append('File', file);\r\n formData.append('FileType', fileType);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.importFiles, {\r\n method: 'POST',\r\n credentials: 'include',\r\n headers: {\r\n withCredentials: true,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n setLoading(false);\r\n setFileType('');\r\n setFile(null);\r\n const open = {\r\n modalName: 'importFilesModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n setLoading(false);\r\n res.json().then((r) => {\r\n if (r.ErrorDescription) {\r\n swal({\r\n title: r.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n })\r\n .finally(() => {\r\n //setIsloading(false);\r\n });\r\n };\r\n\r\n const setUploadFile = (e) => {\r\n const file = e.target.files[0];\r\n console.log(file);\r\n\r\n if (file && file.size > 20 * 1048 * 1048) {\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n return;\r\n }\r\n\r\n setFile(file);\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n
\r\n

Duomenų iš priedų įkėlimas

\r\n
\r\n
\r\n
\r\n \r\n Pasirinkite priedą\r\n \r\n \r\n\r\n

\r\n {file && file.name ? file.name : 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};\r\n\r\nconst mapStateToProps = (state) => ({});\r\n\r\nexport default connect(mapStateToProps)(ImportFilesModal);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport styles from './deleteComfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { history } from './../../App';\r\nimport swal from 'sweetalert';\r\n\r\nconst AdditionalVmiCheckConfirmation = ({\r\n open,\r\n filter,\r\n additionalCheckSelection,\r\n loading,\r\n dispatch,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const forwardTo = (location) => {\r\n history.push(location);\r\n window.location.reload();\r\n };\r\n const closeModal = {\r\n modalName: 'additionalVmiCheckConfirmation',\r\n visible: false,\r\n };\r\n\r\n const cancel = () => {\r\n dispatch(actions.modals.setModalVisibleFlagAction(closeModal));\r\n };\r\n\r\n const returnEndpoint = () => {\r\n if (additionalCheckSelection === 'MarkForVmiRenew') {\r\n return Api.API_BASE_URL + config.API_ENDPOINTS.MarkForVmiRenewMass;\r\n } else {\r\n return (\r\n Api.API_BASE_URL + config.API_ENDPOINTS.MarkForVmiAdditionalCheckMass\r\n );\r\n }\r\n };\r\n\r\n const yes = () => {\r\n console.log(filter);\r\n\r\n fetch(returnEndpoint(), {\r\n method: 'POST',\r\n\r\n headers: {\r\n Accept: 'application/json, text/plain',\r\n 'Content-Type': 'application/json;charset=UTF-8',\r\n\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify(filter),\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n cancel();\r\n\r\n swal({\r\n title: 'Įvykdyta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n // dispatch(actions.backoffice.callSagaForErrHandling(r));\r\n\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n {additionalCheckSelection === 'MarkForVmiRenew' ? (\r\n

\r\n Ar tikrai norite užklausti apyvartų kritimo išfiltruotoms\r\n įmonėms?\r\n

\r\n ) : (\r\n

\r\n Ar tikrai norite papildomai užklausti apyvartų išfiltruotoms\r\n įmonėms?\r\n

\r\n )}\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AdditionalVmiCheckConfirmation);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n Button,\r\n MultiSelect,\r\n} from '../../components';\r\nimport styles from '../backoffice/backoffice.module.scss';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faEuroSign,\r\n faEye,\r\n faFileAlt,\r\n faWindowRestore,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport { format } from 'date-fns';\r\nimport { Link } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport {\r\n requestStatus,\r\n amlStatus,\r\n loanPurpose,\r\n projectName,\r\n} from './../../utils/translation/translation';\r\nimport { formatNumber } from './../../utils/helpers/helpers';\r\nimport { addDays, differenceInBusinessDays } from 'date-fns';\r\nimport DatePicker from 'react-datepicker';\r\nimport {\r\n resetLocalStorageItem,\r\n getLocalStorageItem,\r\n removeLocalStorageItem,\r\n} from './../../utils';\r\nimport ImportFilesModal from './../../modals/importFilesModal/importFilesModal';\r\nimport AdditionalVmiCheckConfirmation from './../../modals/AdditionalVmiCheckConfirmation/AdditionalVmiCheckConfirmation';\r\n\r\nconst countPerPage = 30;\r\nconst filterKey = 'boFilter';\r\n\r\nconst Backoffice = ({\r\n dispatch,\r\n requestsState,\r\n loading,\r\n importFilesModalVisible,\r\n additionalVmiCheckConfirmationVisible,\r\n}) => {\r\n const tableHeader = [\r\n 'Paraiškos ID',\r\n 'Paraiškos numeris',\r\n 'Pareiškėjas',\r\n 'Pareiškėjo kodas',\r\n 'Sukūrimo data',\r\n 'Paskolos tipas',\r\n 'Pirmo pateikimo vertinti data / Pateikimo vertinimui data',\r\n 'Paraiškos patvirtinimo data',\r\n 'Sutarties pasirašymo data',\r\n 'Liko dienų pareiškėjo pasirašymui',\r\n 'Liko dienų paraiškos patikslinimui',\r\n 'Prašoma paskolos suma, EUR',\r\n 'Paskolos suma, EUR',\r\n 'AML',\r\n 'PEP',\r\n 'Ar yra tvirtintojo komentaras?',\r\n 'Ar keistos sąlygos?',\r\n 'Ar atmesta pareiškėjo prašymu?',\r\n 'Priemonė',\r\n 'Būsena',\r\n 'Vertintojas',\r\n 'Veiksmai',\r\n ];\r\n\r\n const [filter, setFilter] = useState({\r\n RequestId: null,\r\n SubmittedNo: null,\r\n projectId: null,\r\n RequestStatusId: null,\r\n RequestStatusIds: null,\r\n HasParentCompanyCode: null,\r\n CompanyCode: null,\r\n CompanyName: null,\r\n // OnlyRelevant: false,\r\n OnlyWithNewInvoices: false,\r\n AllEvaluationCompleted: null,\r\n InvegaIncreasedLoanSum: null,\r\n SubmittedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n //ApprovedDates: {\r\n // dateFrom: null,\r\n // dateTo: null,\r\n //},\r\n SignedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n UserEmail: null,\r\n RequestAction: null,\r\n BusinessDaysToSignature: null,\r\n DaysTillAdjust: null,\r\n AssessorId: null,\r\n IsReserved: null,\r\n loanPurposeId: null,\r\n FormVersion: null,\r\n ConditionsChanged: null,\r\n IsRejectedByClient: null,\r\n });\r\n\r\n const [clickedPage, setClickedPage] = useState(1);\r\n\r\n const clearFilters = (page) => {\r\n removeLocalStorageItem(filterKey);\r\n dispatch(\r\n actions.backoffice.getRequestListAction({\r\n RequestId: null,\r\n SubmittedNo: null,\r\n projectId: null,\r\n RequestStatusId: null,\r\n RequestStatusIds: null,\r\n HasParentCompanyCode: null,\r\n CompanyCode: null,\r\n CompanyName: null,\r\n //OnlyRelevant: false,\r\n OnlyWithNewInvoices: false,\r\n AllEvaluationCompleted: null,\r\n InvegaIncreasedLoanSum: null,\r\n SubmittedDates: null,\r\n //ApprovedDates: null,\r\n SignedDates: null,\r\n ChangeConditionsDate: null,\r\n FirstSubmittedDate: null,\r\n page: page,\r\n countPerPage: countPerPage,\r\n sortDirection: 2,\r\n UserEmail: null,\r\n RequestAction: null,\r\n BusinessDaysToSignature: null,\r\n DaysTillAdjust: null,\r\n AssessorId: null,\r\n IsReserved: null,\r\n loanPurposeId: null,\r\n FormVersion: null,\r\n ConditionsChanged: null,\r\n IsRejectedByClient: null,\r\n })\r\n );\r\n setFilter({\r\n RequestId: null,\r\n SubmittedNo: null,\r\n projectId: null,\r\n RequestStatusId: null,\r\n RequestStatusIds: null,\r\n HasParentCompanyCode: null,\r\n CompanyCode: '',\r\n CompanyName: '',\r\n //OnlyRelevant: false,\r\n OnlyWithNewInvoices: false,\r\n AllEvaluationCompleted: null,\r\n InvegaIncreasedLoanSum: null,\r\n IgnoreFiles: false,\r\n SubmittedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n // ApprovedDates: {\r\n // dateFrom: null,\r\n // dateTo: null,\r\n //},\r\n SignedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n UserEmail: null,\r\n RequestAction: null,\r\n BusinessDaysToSignature: null,\r\n DaysTillAdjust: null,\r\n AssessorId: null,\r\n IsReserved: null,\r\n loanPurposeId: null,\r\n FormVersion: null,\r\n ConditionsChanged: null,\r\n IsRejectedByClient: null,\r\n });\r\n resetLocalStorageItem('currentPage', 1);\r\n setClickedPage(1);\r\n window.location.reload();\r\n };\r\n\r\n const filterStatus = ({ target: { name, value } }) => {\r\n setFilter({ ...filter, [name]: value === '-' ? null : value });\r\n };\r\n\r\n const setTrueFalseFilter = ({ target: { name, value } }) => {\r\n setFilter({\r\n ...filter,\r\n [name]: value === '-' ? null : value == 'true' ? true : false,\r\n });\r\n };\r\n\r\n const filterOnlyRelevant = ({ target: { name, value } }) => {\r\n setFilter({ ...filter, [name]: value === 'true' });\r\n };\r\n\r\n const handleDateChange = (date, name) => {\r\n if (date) {\r\n setFilter({\r\n ...filter,\r\n SubmittedDates: { ...filter.SubmittedDates, [name]: date },\r\n });\r\n }\r\n };\r\n\r\n const handleApprovedDatesChange = (date, name) => {\r\n if (date) {\r\n setFilter({\r\n ...filter,\r\n ApprovedDates: { ...filter.ApprovedDates, [name]: date },\r\n });\r\n }\r\n };\r\n\r\n const handleSignedDatesChange = (date, name) => {\r\n if (date) {\r\n setFilter({\r\n ...filter,\r\n SignedDates: { ...filter.SignedDates, [name]: date },\r\n });\r\n }\r\n };\r\n\r\n const handleChangeConditionsDateChange = (date, name) => {\r\n if (date) {\r\n setFilter({\r\n ...filter,\r\n ChangeConditionsDate: { ...filter.ChangeConditionsDate, [name]: date },\r\n });\r\n }\r\n };\r\n\r\n const handleFirstSubmittedDateChange = (date, name) => {\r\n if (date) {\r\n setFilter({\r\n ...filter,\r\n FirstSubmittedDate: { ...filter.FirstSubmittedDate, [name]: date },\r\n });\r\n }\r\n };\r\n\r\n const applyFilter = () => {\r\n resetLocalStorageItem(filterKey, JSON.stringify(filter));\r\n resetLocalStorageItem('currentPage', 1);\r\n fetchdata(1);\r\n setClickedPage(1);\r\n };\r\n\r\n const fetchdata = (page) => {\r\n let storageFilter = getLocalStorageItem(filterKey);\r\n if (storageFilter) {\r\n //const parsedData = JSON.parse(storageFilter);\r\n storageFilter = JSON.parse(storageFilter);\r\n //setStatusIds(parsedData?.RequestStatusIds);\r\n } else {\r\n storageFilter = {\r\n RequestId: null,\r\n SubmittedNo: null,\r\n projectId: null,\r\n RequestStatusId: null,\r\n RequestStatusIds: null,\r\n HasParentCompanyCode: null,\r\n CompanyCode: '',\r\n CompanyName: '',\r\n //OnlyRelevant: false,\r\n OnlyWithNewInvoices: false,\r\n AllEvaluationCompleted: null,\r\n InvegaIncreasedLoanSum: null,\r\n IgnoreFiles: false,\r\n SubmittedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n // ApprovedDates: {\r\n // dateFrom: null,\r\n // dateTo: null,\r\n //},\r\n SignedDates: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: null,\r\n dateTo: null,\r\n },\r\n UserEmail: null,\r\n RequestAction: null,\r\n BusinessDaysToSignature: null,\r\n DaysTillAdjust: null,\r\n AssessorId: null,\r\n IsReserved: null,\r\n loanPurposeId: null,\r\n FormVersion: null,\r\n ConditionsChanged: null,\r\n IsRejectedByClient: null,\r\n };\r\n }\r\n\r\n dispatch(actions.backoffice.setRequestsList([]));\r\n\r\n dispatch(\r\n actions.backoffice.getRequestListAction({\r\n RequestId: storageFilter.RequestId,\r\n SubmittedNo: storageFilter.SubmittedNo,\r\n projectId: storageFilter.projectId,\r\n RequestStatusId: storageFilter.RequestStatusId,\r\n RequestStatusIds: storageFilter.RequestStatusIds,\r\n HasParentCompanyCode: storageFilter.HasParentCompanyCode,\r\n CompanyName: storageFilter.CompanyName,\r\n CompanyCode: storageFilter.CompanyCode,\r\n // OnlyRelevant: storageFilter.OnlyRelevant,\r\n OnlyWithNewInvoices: storageFilter.OnlyWithNewInvoices,\r\n AllEvaluationCompleted: storageFilter.AllEvaluationCompleted,\r\n InvegaIncreasedLoanSum: storageFilter.InvegaIncreasedLoanSum,\r\n\r\n SubmittedDates: {\r\n dateFrom: storageFilter.SubmittedDates.dateFrom\r\n ? format(\r\n new Date(storageFilter.SubmittedDates.dateFrom),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n dateTo: storageFilter.SubmittedDates.dateTo\r\n ? addDays(new Date(storageFilter.SubmittedDates.dateTo), 1)\r\n : null,\r\n },\r\n //ApprovedDates: {\r\n // dateFrom: storageFilter.ApprovedDates.dateFrom\r\n // ? format(\r\n // new Date(storageFilter.ApprovedDates.dateFrom),\r\n // 'yyyy-MM-dd'\r\n // )\r\n // : null,\r\n // dateTo: storageFilter.ApprovedDates.dateTo\r\n // ? addDays(new Date(storageFilter.ApprovedDates.dateTo), 1)\r\n // : null,\r\n //},\r\n SignedDates: {\r\n dateFrom: storageFilter.SignedDates.dateFrom\r\n ? format(new Date(storageFilter.SignedDates.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: storageFilter.SignedDates.dateTo\r\n ? format(new Date(storageFilter.SignedDates.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: storageFilter.ChangeConditionsDate.dateFrom\r\n ? format(\r\n new Date(storageFilter.ChangeConditionsDate.dateFrom),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n dateTo: storageFilter.ChangeConditionsDate.dateTo\r\n ? format(\r\n new Date(storageFilter.ChangeConditionsDate.dateTo),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: storageFilter.FirstSubmittedDate.dateFrom\r\n ? format(\r\n new Date(storageFilter.FirstSubmittedDate.dateFrom),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n dateTo: storageFilter.FirstSubmittedDate.dateTo\r\n ? format(\r\n new Date(storageFilter.FirstSubmittedDate.dateTo),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n },\r\n page: page,\r\n countPerPage: countPerPage,\r\n sortDirection: 2,\r\n UserEmail: storageFilter.UserEmail,\r\n RequestAction: storageFilter.RequestAction,\r\n BusinessDaysToSignature: storageFilter.BusinessDaysToSignature,\r\n DaysTillAdjust: storageFilter.DaysTillAdjust,\r\n AssessorId: storageFilter.AssessorId,\r\n IsReserved: storageFilter.IsReserved,\r\n loanPurposeId: storageFilter.loanPurposeId,\r\n FormVersion: storageFilter.FormVersion,\r\n ConditionsChanged: storageFilter.ConditionsChanged,\r\n IsRejectedByClient: storageFilter.IsRejectedByClient,\r\n })\r\n );\r\n setClickedPage(1);\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.backoffice.getInvegaUsersAction());\r\n const storageFilter = getLocalStorageItem(filterKey);\r\n if (storageFilter) {\r\n setFilter(JSON.parse(storageFilter));\r\n }\r\n const page = getLocalStorageItem('currentPage') ?? 1;\r\n fetchdata(page);\r\n setClickedPage(page);\r\n checkIfTermIsExpiring();\r\n }, []);\r\n\r\n const onPageClick = (page) => {\r\n resetLocalStorageItem('currentPage', page);\r\n fetchdata(page);\r\n setClickedPage(page);\r\n };\r\n\r\n const download = () => {\r\n dispatch(\r\n actions.backoffice.exportDataAction({\r\n ...filter,\r\n projectId: filter.projectId,\r\n SubmittedDates: {\r\n dateFrom: filter.SubmittedDates.dateFrom,\r\n dateTo: filter.SubmittedDates.dateTo\r\n ? addDays(new Date(filter.SubmittedDates.dateTo), 1)\r\n : null,\r\n },\r\n //ApprovedDates: {\r\n // dateFrom: filter.ApprovedDates.dateFrom,\r\n // dateTo: filter.ApprovedDates.dateTo\r\n // ? addDays(new Date(filter.ApprovedDates.dateTo), 1)\r\n // : null,\r\n //},\r\n SignedDates: {\r\n dateFrom: filter.SignedDates.dateFrom\r\n ? format(new Date(filter.SignedDates.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: filter.SignedDates.dateTo\r\n ? format(new Date(filter.SignedDates.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: filter.ChangeConditionsDate.dateFrom\r\n ? format(\r\n new Date(filter.ChangeConditionsDate.dateFrom),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n dateTo: filter.ChangeConditionsDate.dateTo\r\n ? format(new Date(filter.ChangeConditionsDate.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: filter.FirstSubmittedDate.dateFrom\r\n ? format(new Date(filter.FirstSubmittedDate.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: filter.FirstSubmittedDate.dateTo\r\n ? format(new Date(filter.FirstSubmittedDate.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n })\r\n );\r\n };\r\n\r\n const downloadList = () => {\r\n dispatch(\r\n actions.backoffice.downloadListAction({\r\n ...filter,\r\n RequestId: filter.RequestId,\r\n SubmittedNo: filter.SubmittedNo,\r\n projectId: filter.projectId,\r\n RequestStatusId: filter.RequestStatusId,\r\n RequestStatusIds: filter.RequestStatusIds,\r\n CompanyName: filter.CompanyName,\r\n CompanyCode: filter.CompanyCode,\r\n SubmittedDates: {\r\n dateFrom: filter.SubmittedDates.dateFrom\r\n ? format(new Date(filter.SubmittedDates.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: filter.SubmittedDates.dateTo\r\n ? addDays(new Date(filter.SubmittedDates.dateTo), 1)\r\n : null,\r\n },\r\n //ApprovedDates: {\r\n // dateFrom: filter.ApprovedDates.dateFrom\r\n // ? format(new Date(filter.ApprovedDates.dateFrom), 'yyyy-MM-dd')\r\n // : null,\r\n // dateTo: filter.ApprovedDates.dateTo\r\n // ? addDays(new Date(filter.ApprovedDates.dateTo), 1)\r\n // : null,\r\n //},\r\n SignedDates: {\r\n dateFrom: filter.SignedDates.dateFrom\r\n ? format(new Date(filter.SignedDates.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: filter.SignedDates.dateTo\r\n ? format(new Date(filter.SignedDates.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n ChangeConditionsDate: {\r\n dateFrom: filter.ChangeConditionsDate.dateFrom\r\n ? format(\r\n new Date(filter.ChangeConditionsDate.dateFrom),\r\n 'yyyy-MM-dd'\r\n )\r\n : null,\r\n dateTo: filter.ChangeConditionsDate.dateTo\r\n ? format(new Date(filter.ChangeConditionsDate.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n FirstSubmittedDate: {\r\n dateFrom: filter.FirstSubmittedDate.dateFrom\r\n ? format(new Date(filter.FirstSubmittedDate.dateFrom), 'yyyy-MM-dd')\r\n : null,\r\n dateTo: filter.FirstSubmittedDate.dateTo\r\n ? format(new Date(filter.FirstSubmittedDate.dateTo), 'yyyy-MM-dd')\r\n : null,\r\n },\r\n RequestAction: filter.RequestAction,\r\n BusinessDaysToSignature: filter.BusinessDaysToSignature,\r\n DaysTillAdjust: filter.DaysTillAdjust,\r\n loanPurposeId: filter.loanPurposeId,\r\n FormVersion: filter.FormVersion,\r\n AssessorId: filter.AssessorId,\r\n IsReserved: filter.IsReserved,\r\n ConditionsChanged: filter.ConditionsChanged,\r\n IsRejectedByClient: filter.IsRejectedByClient,\r\n })\r\n );\r\n };\r\n const signAll = () => {\r\n dispatch(actions.dashboard.GetSigningUrlBatchAction());\r\n };\r\n\r\n const checkIfTermIsExpiring = (val, status) => {\r\n return false;\r\n // var utc = new Date().toJSON().slice(0, 10).replace(/-/g, ',');\r\n // const diff = differenceInBusinessDays(new Date(utc), new Date(val));\r\n // if (status === 2) {\r\n // return diff > 6 ? true : false;\r\n // } else {\r\n // return false;\r\n // }\r\n };\r\n\r\n const hasComments = (val1, val2) => {\r\n return `${val1 === true ? 'Taip' : 'Ne'}`;\r\n };\r\n\r\n const importFiles = () => {\r\n const open = {\r\n modalName: 'importFilesModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [additionalCheckSelection, setAdditionalCheckSelection] =\r\n useState(null);\r\n const AdditionalVmiCheckClick = (selection) => {\r\n setAdditionalCheckSelection(selection);\r\n\r\n const open = {\r\n modalName: 'additionalVmiCheckConfirmation',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const jsonString = getLocalStorageItem(filterKey);\r\n const jsonObject = JSON.parse(jsonString);\r\n\r\n const [statusIds, setStatusIds] = useState(\r\n jsonObject?.RequestStatusIds ? jsonObject?.RequestStatusIds : []\r\n );\r\n const onMultiSelectChange = (event) => {\r\n const requestStatusIds = event?.map((val) => val.value);\r\n setStatusIds(requestStatusIds);\r\n\r\n setFilter({\r\n ...filter,\r\n RequestStatusIds: requestStatusIds?.length > 0 ? requestStatusIds : null,\r\n });\r\n };\r\n const requestStatusOptions = [\r\n { label: 'Rengiama', value: 1 },\r\n { label: 'Pateikta vertinti', value: 2 },\r\n { label: 'Patvirtinta', value: 3 },\r\n { label: 'Atmesta', value: 4 },\r\n { label: 'Grąžinta tikslinimui', value: 5 },\r\n { label: 'Neatitinka kriterijų', value: 6 },\r\n { label: 'Sugeneruota sutartis', value: 7 },\r\n { label: 'Pareiškėjo pasirašyta sutartis', value: 8 },\r\n { label: 'Pasirašyta finansavimo sutartis', value: 9 },\r\n { label: 'Nutraukta sutartis', value: 10 },\r\n { label: 'Laukiama papildomų dokumentų', value: 11 },\r\n { label: 'Pateikti papildomi dokumentai', value: 12 },\r\n\r\n { label: 'Sąlygų keitimas', value: 13 },\r\n { label: 'Sąlygų keitimas grąžintas tikslinimui', value: 19 },\r\n { label: 'Pateikti papildomi dokumentai sąlygų keitimui', value: 18 },\r\n { label: 'Patvirtintas sąlygų keitimas', value: 17 },\r\n { label: 'Sugeneruotas sąlygų keitimo dokumentas', value: 14 },\r\n { label: 'Pareiškėjo pasirašytas sąlygų keitimo dokumentas', value: 15 },\r\n { label: 'Invegos pasirašytas sąlygų keitimo dokumentas', value: 16 },\r\n ];\r\n\r\n return (\r\n \r\n
\r\n

Paraiškos

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {/*} */}\r\n \r\n \r\n Pareiškėjo kodas:\r\n filterStatus(e)}\r\n style={{ color: '#597a96' }}\r\n className={styles.filterInput}\r\n />\r\n \r\n
\r\n
\r\n
\r\n {' '}\r\n
\r\n Statusas\r\n
\r\n onMultiSelectChange(e)}\r\n defaultValue={statusIds || null}\r\n value={statusIds || ''}\r\n options={requestStatusOptions}\r\n />\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n Pirmo pateikimo vertinti data nuo:\r\n \r\n handleFirstSubmittedDateChange(e, 'dateFrom')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n\r\n \r\n Pirmo pateikimo vertinti data iki:\r\n \r\n handleFirstSubmittedDateChange(e, 'dateTo')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n
\r\n\r\n
\r\n \r\n Pateikimo vertinimui data nuo:\r\n \r\n handleDateChange(e, 'dateFrom')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n\r\n \r\n Pateikimo vertinimui data iki:\r\n \r\n handleDateChange(e, 'dateTo')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n
\r\n\r\n {/*
\r\n \r\n Paraiškos patvirtinimo data nuo:\r\n \r\n handleApprovedDatesChange(e, 'dateFrom')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n\r\n \r\n Paraiškos patvirtinimo data iki:\r\n \r\n handleApprovedDatesChange(e, 'dateTo')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n
*/}\r\n\r\n
\r\n \r\n Invega sutarties pasirašymo data nuo:\r\n \r\n handleSignedDatesChange(e, 'dateFrom')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n\r\n \r\n Invega sutarties pasirašymo data iki:\r\n \r\n handleSignedDatesChange(e, 'dateTo')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n
\r\n
\r\n \r\n Prašymo dėl sutarties sąlygų keitimo data nuo:\r\n \r\n \r\n handleChangeConditionsDateChange(e, 'dateFrom')\r\n }\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n\r\n \r\n Prašymo dėl sutarties sąlygų keitimo data iki:\r\n \r\n handleChangeConditionsDateChange(e, 'dateTo')}\r\n dateFormat=\"yyyy-MM-dd\"\r\n />\r\n
\r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Ar rezervinė paraiška?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Ar pakeistos sutarties sąlygos?\r\n \r\n \r\n -\r\n \r\n \r\n Taip\r\n \r\n \r\n Ne\r\n \r\n \r\n \r\n\r\n \r\n Ar atmesta pareiškėjo prašymu?\r\n \r\n \r\n -\r\n \r\n \r\n Taip\r\n \r\n \r\n Ne\r\n \r\n \r\n \r\n
\r\n \r\n Pagal kokią formą parengta paraiška?\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n {/*
\r\n
\r\n \r\n
*/}\r\n
\r\n\r\n \r\n \r\n clearFilters(1)}\r\n >\r\n Išvalyti filtrus\r\n \r\n \r\n \r\n \r\n
\r\n {/*
\r\n
\r\n
\r\n AdditionalVmiCheckClick('MarkForVmiRenew')}\r\n >\r\n Apyvartų kritimo užklausimas\r\n \r\n
\r\n
\r\n \r\n AdditionalVmiCheckClick('MarkForVmiAdditionalCheck')\r\n }\r\n >\r\n Papildomas apyvartų užklausimas\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
*/}\r\n
\r\n
\r\n \r\n
\r\n importFiles()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n }}\r\n >\r\n \r\n \r\n {/*
\r\n \r\n \r\n \r\n
*/}\r\n {/* */}\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n filterOnlyRelevant(e)}\r\n checked={filter.IgnoreFiles}\r\n name=\"IgnoreFiles\"\r\n value={!filter.IgnoreFiles}\r\n />{' '}\r\n Ignoruoti priedus\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.SearchResult &&\r\n requestsState.data.SearchResult.map(\r\n ({\r\n Id,\r\n SubmittedNo,\r\n CompanyName,\r\n CompanyCode,\r\n CreateDate,\r\n SubmittedDate,\r\n LoanPurposeId,\r\n ProjectId,\r\n Status,\r\n SignatorysCommentExists,\r\n ApproversCommentExists,\r\n AmlCheckResultId,\r\n PepExists,\r\n InvegaLoanSum,\r\n LoanSum,\r\n Assessor,\r\n ApprovedDate,\r\n FirstSubmittedDate,\r\n ContractSigningTime,\r\n DeadlineBusinessDaysUntilSignature,\r\n DaysTillAdjust,\r\n ConditionsChanged,\r\n RejectByClient,\r\n FormVersion,\r\n }) => (\r\n \r\n {Id}\r\n {SubmittedNo}\r\n {CompanyName}\r\n {CompanyCode}\r\n \r\n {CreateDate !== null &&\r\n format(new Date(CreateDate), 'yyyy-MM-dd')}\r\n \r\n {loanPurpose(LoanPurposeId)}\r\n \r\n {FirstSubmittedDate !== null &&\r\n format(new Date(FirstSubmittedDate), 'yyyy-MM-dd')}\r\n

\r\n {SubmittedDate !== null &&\r\n format(new Date(SubmittedDate), 'yyyy-MM-dd')}\r\n
\r\n \r\n {ApprovedDate !== null &&\r\n format(new Date(ApprovedDate), 'yyyy-MM-dd')}\r\n \r\n \r\n {ContractSigningTime !== null &&\r\n format(new Date(ContractSigningTime), 'yyyy-MM-dd')}\r\n \r\n \r\n {Status === 7 && DeadlineBusinessDaysUntilSignature}{' '}\r\n \r\n {Status === 5 && DaysTillAdjust} \r\n {formatNumber(LoanSum)}\r\n {formatNumber(InvegaLoanSum)}\r\n {amlStatus(AmlCheckResultId)}\r\n {PepExists ? 'Yra' : 'Nėra'}\r\n \r\n {hasComments(\r\n ApproversCommentExists,\r\n SignatorysCommentExists\r\n )}\r\n \r\n {ConditionsChanged ? 'Taip' : 'Ne'}\r\n \r\n {Status === 4 && RejectByClient ? 'Taip' : 'Ne'}\r\n \r\n {projectName(ProjectId)}\r\n {requestStatus(Status)}\r\n {Assessor}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n )}\r\n \r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestsState: state.backofficeRequestsState,\r\n loading: state.dashboardState.isOnSync,\r\n importFilesModalVisible: state.modalsState.importFilesModalVisible,\r\n additionalVmiCheckConfirmationVisible:\r\n state.modalsState.additionalVmiCheckConfirmationVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Backoffice);\r\n","import React, { useEffect } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner } from '../../components';\r\n// import styles from './home.module.scss';\r\n\r\nconst Home = ({loading}) => {\r\n useEffect(() => {\r\n setTimeout(function() {\r\n document.location.reload()\r\n}, 2000);\r\n \r\n\r\n }, [loading]);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(Home);\r\n","import React from 'react';\r\nimport styles from './requirementsText.module.scss';\r\n\r\nconst RequirementsText = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Pareiškėjas turi tenkinti VISAS šias sąlygas norint gauti dalinį\r\n nuomos mokesčio kompensavimą\r\n

\r\n

\r\n 1. Pareiškėjas įmonė – ekonominę veiklą vykdantis juridinis asmuo\r\n (išskyrus valstybės ir savivaldybių įmones ir įmones, kuriose 25\r\n procentus ir daugiau įmonės akcijų, pajų ar kitokių dalyvavimą\r\n įmonės kapitale žyminčių kapitalo dalių arba 25 procentus ir\r\n daugiau įmonės dalyvių balsų tiesiogiai ar netiesiogiai (pagal\r\n balsavimo sutartį, balsavimo teisės perleidimo sutartį, įgaliojimą\r\n ir pan.) atskirai arba kartu turi valstybė ir (ar) savivaldybė),\r\n kurio metinės pajamos 2019 m. neviršijo 50 000 000 Eur\r\n (penkiasdešimt milijonų eurų) arba turto balansinė vertė 2019 m.\r\n gruodžio 31 d. neviršijo 43 000 000 Eur (keturiasdešimt trijų\r\n milijonų eurų).\r\n

\r\n

\r\n 2. Pareiškėjas verslininkas – kaip ši sąvoka apibrėžta Lietuvos\r\n Respublikos smulkiojo ir vidutinio verslo plėtros įstatyme.\r\n

\r\n

\r\n 3. Pareiškėjo vykdoma pagrindinė veikla atitinka veiklas, kurios\r\n karantino laikotarpiu buvo arba yra uždraustos Lietuvos\r\n Respublikos Vyriausybės 2020 m. kovo 14 d. nutarimu Nr. 207 „Dėl\r\n karantino Lietuvos Respublikos teritorijoje paskelbimo“ (toliau -\r\n Nutarimas) ir kurių draudimo laikotarpiu jis nevykdė. Aplinkybė,\r\n kad tam tikra veikla karantino laikotarpio pradžioje buvo\r\n uždrausta Nutarimu, tačiau pakeitus Nutarimą karantino laikotarpiu\r\n tapo leidžiama, neturi įtakos šiame Apraše nustatytam nuomos\r\n mokesčio kompensacijos skyrimui ir mokėjimui, jeigu pareiškėjas\r\n tokios veiklos jos draudimo laikotarpiu nevykdė. Taip pat Apraše\r\n nustatytam nuomos mokesčio kompensacijos skyrimui ir mokėjimui\r\n įtakos neturi aplinkybė, kad pareiškėjas nevykdydamas karantino\r\n laikotarpiu uždraustos savo pagrindinės veiklos, vykdė\r\n nepagrindinę Nutarimu neuždraustą veiklą.\r\n

\r\n

\r\n 4. Pareiškėjo vykdoma pagrindinė veikla nėra elektroninė prekyba,\r\n ginklų ir šaudmenų specializuota mažmeninė prekyba, azartinių\r\n žaidimų ir lažybų ar kitų azartinių lošimų organizavimo veikla,\r\n finansų įstaigų vykdoma veikla.\r\n

\r\n

\r\n 5. Pareiškėjas 2019 m. gruodžio 31 d. nebuvo sunkumų patirianti\r\n įmonė, kaip tai apibrėžta 2014 m. birželio 17 d. Komisijos\r\n reglamento (ES) Nr. 651/2014, kuriuo tam tikrų kategorijų pagalba\r\n skelbiama suderinama su vidaus rinka taikant Sutarties 107 ir 108\r\n straipsnius, 2 straipsnio 18 punkte.\r\n

\r\n

\r\n 6. Pareiškėjas paraiškos pateikimo metu nėra įgijęs\r\n bankrutuojančios, restruktūrizuojamos, likviduojamos įmonės\r\n statuso.\r\n

\r\n

\r\n 7. Pareiškėjas yra įregistruotas Juridinių asmenų registre (kai\r\n pareiškėjas yra įmonė) arba pradėjo vykdyti veiklą (kai\r\n pareiškėjas yra verslininkas) ne vėliau kaip 2020 m. kovo 16\r\n dieną.\r\n

\r\n

\r\n 8. Pareiškėjas ir nuomotojas negali priklausyti tai pačiai įmonių\r\n grupei ir (ar) pareiškėjas negali nuomotis patalpų iš nuomotojo,\r\n kai nuomotojas yra fizinis asmuo, turintis daugumą dalyvių balsų\r\n įmonėje, teikiančioje paraišką.\r\n

\r\n

\r\n 9. Pareiškėjas (išskyrus, kai pareiškėjas yra verslininkas)\r\n paraiškos pateikimo metu turi būti pateikęs 2019 m. metinių\r\n finansinių ataskaitų rinkinį valstybės įmonei Registrų centrui.\r\n

\r\n

\r\n 10. Jeigu pareiškėjas priklauso įmonių grupei, turi įkelti į\r\n paraiškos teikimo aplinką pasirašytas konsoliduotąją pelno\r\n (nuostolio) ataskaitą ir konsoliduotą balansą: už 2019 m.\r\n (laikotarpiui nuo 2019-01-01 iki 2019-12-31), jeigu pareiškėjas\r\n yra MVĮ (labai maža, maža arba vidutinė įmonė kaip nustatyta LR\r\n Smulkiojo ir vidutinio verslo plėtros įstatyme); už 2019 m. ir\r\n 2018 m. (laikotarpiui nuo 2019-01-01 iki 2019-12-31 ir\r\n laikotarpiui nuo 2018-01-01 iki 2018-12-31), jeigu pareiškėjas\r\n nėra MVĮ.\r\n

\r\n

\r\n 11. Pareiškėjas neturi būti gavęs neteisėtos pagalbos, kuri\r\n Europos Komisijos sprendimu (dėl individualios pagalbos arba\r\n pagalbos schemos) buvo pripažinta neteisėta ir nesuderinama su\r\n vidaus rinka arba yra grąžinęs visą jos sumą, įskaitant palūkanas,\r\n teisės aktuose nustatyta tvarka.\r\n

\r\n

\r\n 12. Pareiškėjas su nuomotoju yra sudaręs patalpų nuomos sutartį\r\n savo ekonominei veiklai vykdyti.\r\n

\r\n

\r\n 13. Patalpų nuomos sutartis pasirašyta ne vėliau kaip 2020 m. kovo\r\n 15 d.\r\n

\r\n

\r\n 14. Patalpų numos sutartis paraiškos pateikimo metu yra galiojanti\r\n ir registruota valstybės įmonėje Registrų centre. ir registruota\r\n valstybės įmonėje Registrų centre.\r\n

\r\n

15. Patalpų nuomotojas nėra valstybės turto valdytojas.

\r\n

\r\n 16. Patalpų nuomotojas po karantino paskelbimo datos yra sumažinęs\r\n nuomos mokestį pareiškėjui ne mažiau kaip 30 proc. (kompensavimo\r\n laikotarpiu pareiškėjo ir nuomotojo sutartas nuomos mokestis\r\n lyginamas su 2020 m. vasario mėn. galiojusio nuomos mokesčio\r\n dydžiu. Jeigu pareiškėjas nuo savo veiklos pradžios pirmąjį nuomos\r\n mokestį sumokėjo už 2020 m. kovo mėn., kompensavimo laikotarpio\r\n nuomos mokestis lyginamas su 2020 m. kovo mėn. pareiškėjui taikytu\r\n nuomos mokesčiu. Jeigu pareiškėjas nuo savo veiklos pradžios\r\n pirmąjį nuomos mokestį sumokėjo už 2020 m. balandžio mėn. ar\r\n vėlesnius mėnesius, kompensavimo laikotarpio nuomos mokestis\r\n lyginamas su nuomos sutartyje numatytu mėnesio nuomos mokesčiu.\r\n Jei pareiškėjas nuo savo veiklos pradžios pirmąjį nuomos mokestį\r\n sumokėjo už 2020 m. kovo mėn. ir kovo mėn. jam jau buvo pritaikytą\r\n nuolaida, kompensavimo laikotarpio nuomos mokestis lyginamas su\r\n nuomos sutartyje nurodytu nuomos mokesčiu).\r\n

\r\n

\r\n 17. Nuomotojo išrašytos PVM sąskaitos–faktūros, pagal kurias bus\r\n skaičiuojama kompensacija, yra pateiktos į VMI prie LR FM\r\n „Išmaniąją mokesčių administravimo sistemą (i.MAS).\"\r\n

\r\n

\r\n 18. Pareiškėjas nėra gavęs nuomos mokesčio kompensavimo už\r\n kompensavimo laikotarpiu patirtas nuomos mokesčio įšlaidas iš kitų\r\n Lietuvos Respublikos valstybės biudžeto ir (arba) savivaldybių\r\n biudžetų, kitų piniginių išteklių, kuriais disponuoja valstybė ir\r\n (ar) savivaldybė, Europos Sąjungos struktūrinių fondų, kitų\r\n Europos Sąjungos finansinės paramos priemonių ar kitos\r\n tarptautinės paramos lėšų.\r\n

\r\n

\r\n 19. Pareiškėjui teikiamo finansavimo (subsidijų, dotacijų,\r\n grąžintinų avansų, mokesčių lengvatų forma) pagal Komunikatą\r\n (Komunikatas – Europos Komisijos 2020 m. kovo 19 d. komunikatas\r\n Laikinoji valstybės pagalbos priemonių, skirtų ekonomikai remti\r\n reaguojant į dabartinį COVID-19 protrūkį, sistema su paskutiniais\r\n pakeitimais) suma negali viršyti 800 000 eurų, o jei pareiškėjas\r\n vykdo veiklą žuvininkystės ir akvakultūros sektoriuje - 120 000\r\n eurų, o jei pareiškėjas vykdo veiklą pirminės žemės ūkio produktų\r\n gamybos srityje - 100 000 eurų per Komunikato taikymo laikotarpį.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\nexport default RequirementsText;\r\n","import React, { useState, useEffect } from 'react';\r\nimport Select from 'react-select';\r\nimport styles from './fileUploadContainer.module.scss';\r\nimport {\r\n WithSpinner,\r\n Button,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n} from '../../components';\r\nimport swal from 'sweetalert';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from './../../state/actions';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faTrash, faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport { format } from 'date-fns';\r\nimport { fileTypeTranslation } from './../../utils/translation/translation';\r\n\r\nconst FileUploadContainer = ({\r\n dispatch,\r\n loading,\r\n requestId,\r\n filesTableList,\r\n viewWindow,\r\n status,\r\n}) => {\r\n const tableHeader = [\r\n 'Priedo paskirtis',\r\n 'Įkelto priedo pavadinimas',\r\n 'Data',\r\n 'Ar papildomas?',\r\n 'Veiksmai',\r\n ];\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileType, setFileType] = useState(null);\r\n const [additional, setAdditional] = useState(null);\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const gotoBottom = (id) => {\r\n window.scrollTo(0, document.body.scrollHeight);\r\n };\r\n\r\n const upload = (e) => {\r\n setIsloading(true);\r\n const file = e.target.files[0];\r\n\r\n if (file.size > 20 * 1048 * 1048) {\r\n setIsloading(false);\r\n\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const formData = new FormData();\r\n formData.append('Files', file);\r\n formData.append('RequestId', requestId);\r\n formData.append('FileType', fileType);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadFiles, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.dashboard.getUploadedFileList(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai įkeltas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko atlikti veiksmo';\r\n\r\n if (r?.errors?.RequestId) {\r\n title = r.errors.RequestId[0];\r\n } else if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n swal({\r\n title: 'Negalima pateikti failo šiai paraiškai',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n // dispatch(actions.dashboard.fileUploadAction(formData, 'upload'));\r\n }\r\n };\r\n\r\n const onFileTypeSelectorChange = ({ target: { name, value } }) => {\r\n setFileType(value === '-' ? null : value);\r\n setAdditional(value === '-' ? false : false);\r\n };\r\n\r\n const onFileTypeSelectChange = ({ value }) => {\r\n setFileType(value === '-' ? null : value);\r\n };\r\n\r\n const [fileArr, setFileArray] = useState([]);\r\n const [rejection, setRejection] = useState(null);\r\n\r\n useEffect(() => {\r\n if (filesTableList && filesTableList.length !== 0 && status === 10) {\r\n setRejection(filesTableList.slice(-1)[0]);\r\n setFileArray([filesTableList]);\r\n setFileArray([...filesTableList].slice(0, filesTableList.length - 1));\r\n } else {\r\n setFileArray(filesTableList);\r\n }\r\n }, [filesTableList, status, rejection]);\r\n\r\n const deleteFile = (id) => {\r\n setIsloading(true);\r\n const requestIdFileId = `${requestId}/${id}`;\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DeleteUploadedFile(requestIdFileId),\r\n {\r\n method: 'DELETE',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.dashboard.getUploadedFileList(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai ištrintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Nepavyko pašalinti priedo',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log('catch block');\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n };\r\n\r\n const deleteConfirmation = (id) => {\r\n swal({\r\n title: 'Ar tikrai norite ištrinti šį failą?',\r\n icon: 'warning',\r\n showCancelButton: true,\r\n\r\n buttons: {\r\n confirm: {\r\n text: 'Taip',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n cancel: {\r\n text: 'Ne',\r\n value: false,\r\n visible: true,\r\n className: 'btn btn-primary',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((result) => {\r\n if (result) {\r\n deleteFile(id);\r\n }\r\n });\r\n };\r\n\r\n const downloadRejectionFile = (requestId, id, fileName) => {\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.DownloadFile(requestId, id), {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const acceptFiles = (fileType) => {\r\n if (+fileType === 3 || +fileType === 15) {\r\n return '.pdf, .adoc';\r\n }\r\n\r\n if (+fileType === 13) {\r\n return '.xlsx, .xls';\r\n }\r\n {\r\n /*} if (+fileType === 9) {\r\n return '.xlsx, .xls';\r\n }*/\r\n }\r\n return '.xlsx, .xls, .doc, .docx, .adoc, .xml, .txt, .pdf';\r\n };\r\n\r\n const downloadAllFiles = () => {\r\n console.log('clicked');\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.DownloadAllFiles(requestId), {\r\n method: 'GET',\r\n headers: {\r\n 'content-Type': 'application/zip',\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = `Visi_priedai_${requestId}.zip`;\r\n document.body.appendChild(a); // we need to append the element to the dom -> otherwise it will not work in firefox\r\n a.click();\r\n a.remove(); //afterwards we remove the element again\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n // dispatch(actions.backoffice.downloadAllFilesAction(requestId));\r\n };\r\n\r\n const returnFileTypeNr = (val) => {\r\n if (val == 9) {\r\n return 7;\r\n }\r\n if (val == 10) {\r\n return 4;\r\n }\r\n if (val == 13) {\r\n return 3;\r\n }\r\n if (val == 14) {\r\n return 5;\r\n }\r\n if (val == 3) {\r\n return 2;\r\n }\r\n if (val == 5) {\r\n return null;\r\n }\r\n if (val == 6) {\r\n return null;\r\n }\r\n return val;\r\n };\r\n\r\n return (\r\n \r\n
\r\n

Priedų įkėlimas

\r\n {fileArr != null && fileArr.length > 0 ? (\r\n <>\r\n \r\n {fileArr.map(\r\n ({\r\n Id,\r\n FileName,\r\n FileType,\r\n UploadedAt,\r\n Additional,\r\n Submitted,\r\n AllowDelete,\r\n }) => (\r\n \r\n {fileTypeTranslation(FileType)}\r\n {FileName}\r\n \r\n {format(new Date(UploadedAt), 'yyyy-MM-dd')}\r\n \r\n {Additional ? 'Taip' : 'Ne'}\r\n \r\n
\r\n {((Additional == true &&\r\n (status == 11 || status == 19)) ||\r\n !viewWindow) &&\r\n (Submitted == false || Submitted == null) && (\r\n deleteConfirmation(Id)}\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n )}\r\n\r\n \r\n downloadRejectionFile(requestId, Id, FileName)\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n )\r\n )}\r\n
\r\n
\r\n
\r\n\r\n downloadAllFiles()}\r\n float=\"right\"\r\n >\r\n Atsisiųsti visus įkeltus priedus\r\n \r\n
\r\n
\r\n \r\n ) : (\r\n

Nėra įkeltų priedų

\r\n )}\r\n {!viewWindow && (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n {/*} \r\n\r\n */}\r\n\r\n {/*\r\n\r\n */}\r\n\r\n \r\n \r\n
\r\n \r\n \r\n Pasirinkti priedą\r\n \r\n\r\n selectFile('fileElem')}\r\n disabled={!fileType}\r\n style={{ marginTop: '9px', padding: '9px' }}\r\n >\r\n PASIRINKTI PRIEDĄ\r\n \r\n \r\n \r\n
\r\n

\r\n Prisekite reikiamas rinkmenas.
\r\n Galimi priedų formatai: .xlsx, .xls, .doc, .docx, .xml, .txt,\r\n .pdf. Maksimalus dydis 20MB.

\r\n

\r\n Priedų formos atsisiuntimui:\r\n

\r\n -{' '}\r\n \r\n Detalizacijos forma\r\n \r\n .\r\n {/*\r\n
-{' '}\r\n \r\n Aprašymo priedas Nr. 1\r\n \r\n
-{' '}\r\n \r\n Aprašymo priedas Nr. 2\r\n \r\n

\r\n Pastaba:
\r\n (1) Įmonės Vadovo pasirašyta SVV subjekto statuso deklaraciją\r\n (išskyrus atvejį, kai Paskolos gavėjas patvirtina, kad yra didelė\r\n įmonė);\r\n
\r\n (2) Paskolos gavėjo esama ir prognozuojama finansinė būklė\r\n (skaičiavimai), atspindintys Paskolos gavėjo galimybę laiku mokėti\r\n įmokas pagal visus esamus ir būsimus Verslo subjekto finansinius\r\n įsipareigojimus visam Paskolos terminui;\r\n
\r\n (3) Paskolos gavėją apibūdinančius dokumentus: registracijos\r\n dokumentus, steigimo ir veiklos dokumentus (įstatus, nuostatus,\r\n bendrijos dalyvių sutartį ir pan.), vadovo asmens tapatybės\r\n dokumento kopijas, informaciją apie Verslo subjekto dalyvius\r\n (savininkus, naudos gavėjus), aktualią Paskolos gavėjo dalyvių\r\n struktūrą ir laisvos formos dokumentą, kuriame būtų nurodyti\r\n Paskolos gavėjo ir su juo susijusių įmonių ryšiai (netaikoma\r\n verslininkams, kurie neturi su jais susijusių įmonių);\r\n
\r\n (4) Verslo planas, kuriame aprašomas vykdomas verslas ir\r\n finansavimo poreikis, nurodoma esama ir prognozuojama finansinė\r\n būklė (skaičiavimai), atspindintys Verslo subjekto galimybę laiku\r\n mokėti įmokas pagal visus esamus ir būsimus Verslo subjekto\r\n finansinius įsipareigojimus visam Paskolos terminui, siūlymą dėl\r\n Paskolos užtikrinimo priemonių (jei taikoma);\r\n
\r\n (5) Verslininkas turi pateikti finansinius dokumentus už\r\n paskutiniuosius dvejus finansinius metus ar trumpesnį terminą (jei\r\n veikia trumpiau nei du metus);\r\n
\r\n *Esant poreikiui Verslo subjekto gali būti paprašyta pagrįsti\r\n duomenis pateikiant papildomus dokumentus.\r\n
\r\n (6) Jei dėl Paskolos kreipiasi ne PVM mokėtojas, jis turi pateikti\r\n buhalterinę pažymą apie importą arba eksportą į Kinijos Liaudies\r\n Respubliką (valstybės kodas CN) ir bendrą Paskolos gavėjo importą\r\n arba eksportą nuo 2021 m. sausio 1 d. iki 2021 m. gruodžio 31 d.;\r\n
\r\n (7)  Einamųjų finansinių metų tarpinio finansinių ataskaitų\r\n rinkinio už paskutinį praėjusį ketvirtį arba mėnesio, ėjusio prieš\r\n Paraiškos pateikimą, paskutinę dieną dokumentus. Jei Paskolos\r\n kreipiasi verslininkas, jis gali pateikti lygiaverčius dokumentus;{' '}\r\n
\r\n (8) Verslo subjektas teikdamas Paraišką ne pirmą kartą (t. y., kai\r\n ankstesnė (-s) Paraiška (-os) buvo atmesta (-os), turi pateikti\r\n motyvuotą paaiškinimą dėl įvykusių pokyčių Verslo subjekto\r\n veikloje ir su Paraiška teikiamuose dokumentuose (duomenyse) bei\r\n pateikti paaiškinimą pagrindžiančius dokumentus.\r\n

*/}\r\n

\r\n
\r\n )}\r\n
\r\n {rejection && (\r\n
\r\n

Sutarties nutraukimo dokumentas

\r\n \r\n downloadRejectionFile(requestId, rejection.Id, rejection.FileName)\r\n }\r\n >\r\n {rejection.FileName}\r\n

\r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n filesTableList: state.dashboardState.filesTableList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(FileUploadContainer);\r\n","import React, { useState, useEffect } from 'react';\r\nimport Select from 'react-select';\r\n\r\nimport styles from './additionalFileUploadContainer.module.scss';\r\nimport {\r\n WithSpinner,\r\n Button,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n} from '../../components';\r\nimport swal from 'sweetalert';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from './../../state/actions';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faTrash, faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport { format } from 'date-fns';\r\nimport { fileTypeTranslation } from './../../utils/translation/translation';\r\n\r\nconst AdditionalFileUploadContainer = ({\r\n dispatch,\r\n loading,\r\n requestId,\r\n filesTableList,\r\n viewWindow,\r\n status,\r\n}) => {\r\n const tableHeader = [\r\n 'Priedo paskirtis',\r\n 'Įkelto priedo pavadinimas',\r\n 'Data',\r\n 'Ar papildomas?',\r\n 'Veiksmai',\r\n ];\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileType, setFileType] = useState(null);\r\n const [additional, setAdditional] = useState(null);\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const gotoBottom = (id) => {\r\n window.scrollTo(0, document.body.scrollHeight);\r\n };\r\n\r\n const upload = (e) => {\r\n setIsloading(true);\r\n const file = e.target.files[0];\r\n\r\n if (file.size > 20 * 1048 * 1048) {\r\n setIsloading(false);\r\n\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const formData = new FormData();\r\n formData.append('Files', file);\r\n formData.append('RequestId', requestId);\r\n formData.append('FileType', fileType);\r\n formData.append('Additional', additional);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadFiles, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.dashboard.getUploadedFileList(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai įkeltas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko pateikti priedo';\r\n if (r?.errors?.RequestId) {\r\n title = r.errors.RequestId[0];\r\n } else if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n // dispatch(actions.dashboard.fileUploadAction(formData, 'upload'));\r\n }\r\n };\r\n\r\n const onFileTypeSelectorChange = ({ target: { name, value } }) => {\r\n setFileType(value === '-' ? null : value);\r\n setAdditional(value === '-' ? true : true);\r\n };\r\n\r\n const onFileTypeSelectChange = ({ value }) => {\r\n setFileType(value === '-' ? null : value);\r\n setAdditional(value === '-' ? true : true);\r\n };\r\n\r\n const [fileArr, setFileArray] = useState([]);\r\n const [rejection, setRejection] = useState(null);\r\n\r\n useEffect(() => {\r\n if (filesTableList && filesTableList.length !== 0 && status === 10) {\r\n setRejection(filesTableList.slice(-1)[0]);\r\n setFileArray([filesTableList]);\r\n setFileArray([...filesTableList].slice(0, filesTableList.length - 1));\r\n } else {\r\n setFileArray(filesTableList);\r\n }\r\n }, [filesTableList, status, rejection]);\r\n\r\n const deleteFile = (id) => {\r\n setIsloading(true);\r\n const requestIdFileId = `${requestId}/${id}`;\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DeleteUploadedFile(requestIdFileId),\r\n {\r\n method: 'DELETE',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.dashboard.getUploadedFileList(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai ištrintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Nepavyko pašalinti priedo',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n swal({\r\n title: 'Nepavyko pateikti priedo',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n };\r\n\r\n const deleteConfirmation = (id) => {\r\n swal({\r\n title: 'Ar tikrai norite ištrinti šį failą?',\r\n icon: 'warning',\r\n showCancelButton: true,\r\n\r\n buttons: {\r\n confirm: {\r\n text: 'Taip',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n cancel: {\r\n text: 'Ne',\r\n value: false,\r\n visible: true,\r\n className: 'btn btn-primary',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((result) => {\r\n if (result) {\r\n deleteFile(id);\r\n }\r\n });\r\n };\r\n\r\n const downloadRejectionFile = (requestId, id, fileName) => {\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.DownloadFile(requestId, id), {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const acceptFiles = (fileType) => {\r\n if (+fileType === 3 || +fileType === 15) {\r\n return '.pdf, .adoc';\r\n }\r\n\r\n if (+fileType === 13) {\r\n return '.xlsx, .xls';\r\n }\r\n return '.xlsx, .xls, .doc, .docx, .adoc, .xml, .txt, .pdf';\r\n };\r\n\r\n return (\r\n \r\n
\r\n {viewWindow && (status == 11 || status == 19) && (\r\n

Papildomų priedų įkėlimas

\r\n )}\r\n {viewWindow && (status == 11 || status == 19) && (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n {/*} \r\n\r\n */}\r\n\r\n {/*\r\n\r\n */}\r\n\r\n \r\n \r\n
\r\n \r\n \r\n Pasirinkti priedą\r\n \r\n\r\n selectFile('fileElem')}\r\n disabled={!fileType}\r\n style={{ marginTop: '9px', padding: '9px' }}\r\n >\r\n PASIRINKTI PRIEDĄ\r\n \r\n \r\n \r\n
\r\n

\r\n Prisekite reikiamas rinkmenas.
\r\n Galimi priedų formatai: .xlsx, .xls, .doc, .docx, .xml, .txt,\r\n .pdf. Maksimalus dydis 20MB.
\r\n

\r\n

\r\n Priedų formos atsisiuntimui:\r\n

\r\n -{' '}\r\n \r\n Detalizacijos forma\r\n \r\n .\r\n {/*

\r\n Priedų formos atsisiuntimui:\r\n

\r\n
-{' '}\r\n \r\n Įmonės vadovo pasirašyta SVV deklaracija{' '}\r\n \r\n (\r\n \r\n Pildymo instrukcija\r\n \r\n );\r\n
-{' '}\r\n \r\n Aprašymo priedas Nr. 1\r\n \r\n
-{' '}\r\n \r\n Aprašymo priedas Nr. 2\r\n \r\n

\r\n Pastaba:
\r\n (1) Įmonės Vadovo pasirašyta SVV subjekto statuso deklaraciją\r\n (išskyrus atvejį, kai Paskolos gavėjas patvirtina, kad yra didelė\r\n įmonė);\r\n
\r\n (2) Paskolos gavėjo esama ir prognozuojama finansinė būklė\r\n (skaičiavimai), atspindintys Paskolos gavėjo galimybę laiku mokėti\r\n įmokas pagal visus esamus ir būsimus Verslo subjekto finansinius\r\n įsipareigojimus visam Paskolos terminui;\r\n
\r\n (3) Paskolos gavėją apibūdinančius dokumentus: registracijos\r\n dokumentus, steigimo ir veiklos dokumentus (įstatus, nuostatus,\r\n bendrijos dalyvių sutartį ir pan.), vadovo asmens tapatybės\r\n dokumento kopijas, informaciją apie Verslo subjekto dalyvius\r\n (savininkus, naudos gavėjus), aktualią Paskolos gavėjo dalyvių\r\n struktūrą ir laisvos formos dokumentą, kuriame būtų nurodyti\r\n Paskolos gavėjo ir su juo susijusių įmonių ryšiai (netaikoma\r\n verslininkams, kurie neturi su jais susijusių įmonių);\r\n
\r\n (4) Verslo planas, kuriame aprašomas vykdomas verslas ir\r\n finansavimo poreikis, nurodoma esama ir prognozuojama finansinė\r\n būklė (skaičiavimai), atspindintys Verslo subjekto galimybę laiku\r\n mokėti įmokas pagal visus esamus ir būsimus Verslo subjekto\r\n finansinius įsipareigojimus visam Paskolos terminui, siūlymą dėl\r\n Paskolos užtikrinimo priemonių (jei taikoma);\r\n
\r\n (5) Verslininkas turi pateikti finansinius dokumentus už\r\n paskutiniuosius dvejus finansinius metus ar trumpesnį terminą (jei\r\n veikia trumpiau nei du metus);\r\n
\r\n *Esant poreikiui Verslo subjekto gali būti paprašyta pagrįsti\r\n duomenis pateikiant papildomus dokumentus.\r\n
\r\n (6) Jei dėl Paskolos kreipiasi ne PVM mokėtojas, jis turi pateikti\r\n buhalterinę pažymą apie importą arba eksportą į Kinijos Liaudies\r\n Respubliką (valstybės kodas CN) ir bendrą Paskolos gavėjo importą\r\n arba eksportą nuo 2021 m. sausio 1 d. iki 2021 m. gruodžio 31 d.;\r\n
\r\n (7)  Einamųjų finansinių metų tarpinio finansinių ataskaitų\r\n rinkinio už paskutinį praėjusį ketvirtį arba mėnesio, ėjusio prieš\r\n Paraiškos pateikimą, paskutinę dieną dokumentus. Jei Paskolos\r\n kreipiasi verslininkas, jis gali pateikti lygiaverčius dokumentus;{' '}\r\n
\r\n (8) Verslo subjektas teikdamas Paraišką ne pirmą kartą (t. y., kai\r\n ankstesnė (-s) Paraiška (-os) buvo atmesta (-os), turi pateikti\r\n motyvuotą paaiškinimą dėl įvykusių pokyčių Verslo subjekto\r\n veikloje ir su Paraiška teikiamuose dokumentuose (duomenyse) bei\r\n pateikti paaiškinimą pagrindžiančius dokumentus.\r\n

*/}\r\n

\r\n
\r\n )}\r\n
\r\n {rejection && (\r\n
\r\n

Sutarties nutraukimo dokumentas

\r\n \r\n downloadRejectionFile(requestId, rejection.Id, rejection.FileName)\r\n }\r\n >\r\n {rejection.FileName}\r\n

\r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n filesTableList: state.dashboardState.filesTableList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AdditionalFileUploadContainer);\r\n","import React from 'react';\r\nimport { TableAdmin, TableRow, TableCell } from '../../components';\r\nimport { formatNumber } from '../../utils/helpers/helpers';\r\nimport { getYear } from 'date-fns/esm';\r\n\r\nconst FinancialTable = ({ data, fsi, regDate }) => {\r\n const notApplied = (year) => {\r\n const year1 = year ? new Date(year, 0, 1) : null;\r\n const year2 = regDate ? new Date(regDate) : null;\r\n\r\n const yearX = getYear(year1);\r\n const yearY = getYear(year2);\r\n\r\n if (yearX && yearY) {\r\n if (yearX < yearY) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n return (\r\n
\r\n {!fsi && (\r\n
\r\n \r\n \r\n Pateikta atskaitomybė Registrų centrui \r\n \r\n \r\n Turto suma, Eur \r\n \r\n \r\n Įsipareigojimų suma, Eur \r\n \r\n \r\n Nuosavybės suma, Eur \r\n \r\n \r\n Apyvarta, Eur \r\n \r\n \r\n
\r\n )}\r\n
\r\n {data?.map((val, i) => (\r\n \r\n \r\n \r\n {val?.FsiSubmitted ? (\r\n Taip\r\n ) : (\r\n \r\n {notApplied(val?.FsiYear) ? 'Ne' : 'Netaikoma'}\r\n \r\n )}\r\n \r\n \r\n {!fsi && (\r\n <>\r\n \r\n \r\n {formatNumber(val?.Assets)}{' '}\r\n /\r\n \r\n \r\n \r\n \r\n {formatNumber(val?.Liabilities)}{' '}\r\n /\r\n \r\n \r\n \r\n \r\n {formatNumber(val?.PropertyAmount)}{' '}\r\n /\r\n \r\n \r\n \r\n \r\n {formatNumber(val?.Turnover)}{' '}\r\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 FinancialTable;\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './signContractModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\n\r\nimport { sumValidation } from './../../utils/auth/validations';\r\n\r\nconst SignContractModal = ({ open, loading, dispatch, requestId }) => {\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'signContractModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const signContract = () => {\r\n // sign\r\n dispatch(actions.dashboard.getSigningUrlAction(null, requestId, 'user'));\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n Ar tikrai norite pasirašyti šį dokumentą?\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(SignContractModal);\r\n","export const criteriaValue = (criteria) => {\r\n switch (criteria) {\r\n case 'MunicipalityShareCount':\r\n return 'Pareiškėjas nėra valstybės ar savivaldybės įmonė, kurios 25 proc. ir daugiau įmonės akcijų, pajų ar kitokių dalyvavimą įmonės kapitale žyminčių kapitalo dalių ar 25 proc. ir daugiau įmonės dalyvių balsų tiesiogiai ar netiesiogiai (pagal balsavimo sutartį, balsavimo teisės perleidimo sutartį, įgaliojimą ir pan.) atskirai arba kartu turi valstybė ir (ar) savivaldybė.';\r\n case 'LegalStatus':\r\n return 'Pareiškėjas paraiškos pateikimo metu negali būti įgijęs bankrutuojančios, restruktūrizuojamos, likviduojamos įmonės statuso.';\r\n case 'RentParticipantShareCountCompany':\r\n return 'Pareiškėjas ir nuomotojas negali priklausyti tai pačiai įmonių grupei.';\r\n case 'RentParticipantShareCountPerson':\r\n return 'Pareiškėjas negali nuomotis patalpų iš nuomotojo, turinčio daugumą dalyvių balsų įmonėje, teikiančioje paraišką.';\r\n case 'RentParticipantShareholdersShareCountPersonRule':\r\n return 'Pareiškėjas negali nuomotis patalpų iš nuomotojo, turinčio daugumą dalyvių balsų įmonėje, teikiančioje paraišką.';\r\n case 'RegistrationDate':\r\n return 'Pareiškėjas (juridinis asmuo) turi būti įregistruotas Juridinių asmenų registre.';\r\n case 'Activity':\r\n return 'Pareiškėjo vykdoma pagrindinė veikla negali būti elektroninė prekyba, ginklų ir šaudmenų specializuota mažmeninė prekyba, azartinių žaidimų ir lažybų ar kitų azartinių lošimų organizavimo veikla, finansų įstaigų vykdoma veikla.';\r\n case 'UndertakingInDifficulty':\r\n return 'Pareiškėjas 2019 m. gruodžio 31 d. negali būti laikomas sunkumų patiriančia įmone, kaip tai apibrėžta 2014 m. birželio 17 d. Komisijos reglamento (ES) Nr. 651/2014, kuriuo tam tikrų kategorijų pagalba skelbiama suderinama su vidaus rinka taikant Sutarties 107 ir 108 straipsnius, 2 straipsnio 18 punkte.';\r\n case 'FinancialIndicators':\r\n return 'Įmonė (įskaitant įmonių grupę) paraiškos pateikimo metu yra pateikusi VĮ Registrų centrui finansinių ataskaitų rinkinius. ';\r\n case 'FinancialIndicators2020':\r\n return 'Įmonė (įskaitant įmonių grupę) paraiškos pateikimo metu yra pateikusi VĮ Registrų centrui finansinių ataskaitų rinkinius. ';\r\n case 'FinancialIndicatorsIndividual':\r\n return 'Pareiškėjas (fizinis asmuo) paraiškos teikimo metu vykdo paraiškoje nurodytą registruotą verslininko veiklą.';\r\n\r\n case 'IbanLithuanian':\r\n return 'Paraiškoje nurodyta LR įsteigtoje kredito įstaigoje ar užsienio įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita.';\r\n case 'Iban':\r\n return 'Paraiškoje nurodyta LR įsteigtoje kredito įstaigoje ar užsienio įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita.';\r\n case 'PersonBankruptcy':\r\n return 'Pareiškėjas (fizinis asmuo) nėra bankrutuojantis arba pradėjęs bankroto procedūras.';\r\n\r\n case 'CompanyIncome':\r\n return 'Pareiškėjo metinės pajamos 2019 m. negali viršyti 50 000 000 Eur (penkiasdešimt milijonų eurų) arba turto balansinė vertė 2019 m. gruodžio 31 d. negali viršyti 43 000 000 Eur (keturiasdešimt trijų milijonų eurų).';\r\n\r\n case 'ContractIsInNtrRegister':\r\n return 'Patalpų nuomos sutartis turi būti registruota valstybės įmonėje Registrų centre.';\r\n\r\n case 'ContractStartDate':\r\n return 'Patalpų nuomos sutartis turi būti pasirašyta ne vėliau kaip 2020 m. kovo 15 d.';\r\n\r\n case 'ContractEndDate':\r\n return 'Nuomos sutartis turi galioti bent iki 2020 m. liepos 1d.';\r\n\r\n case 'ContractStartDateMatchesRegister':\r\n return 'Paraiškoje pateikta nekilnojamo turto nuomos pradžios data nesutampa su valstybės įmonėje Registrų centras užregistuota nuomos pradžios data';\r\n case 'ContractEndDateMatchesRegister':\r\n return 'Paraiškoje pateikta nekilnojamo turto nuomos pabaigos data nesutampa su valstybės įmonėje Registrų centras užregistuota turto nuomos pabaigos data';\r\n\r\n case 'ContractPartiesMatches':\r\n return 'Paraiškoje pateikti nuomos sutarties nuomotojo ir pareiškėjo (nuomininko) duomenys nesutampa su valstybės įmonėje Registrų centre užregistruotos nuomos sutarties nuomotojo ir nuomininko duomenimis.';\r\n case 'NtrContractValidFromDateRule':\r\n return 'NTR registre pateikta sutarties sudarymo data turi būti ne vėlesnė nei 2020m.kovo 15d.';\r\n case 'AllowedEvrkCodes':\r\n return 'Pagrindinė ekonominė vykdoma veikla yra finansuojama';\r\n\r\n case 'AllINdividualActivitiesIsInRange':\r\n return '“Pagal VMI pateiktą informaciją, paraiškoje nurodyta veikla negaliojo visu laikotarpiu, imant nuo 2019 m. lapkričio 1 d. iki 2020 m. sausio 31 d.';\r\n case 'ActivityForbidden':\r\n return 'Pagrindinė ekonominė vykdoma veikla turi būti įtraukta į ribojamų veiklų sąrašą, jei pagrindinės vykdomos veiklos pradžios data (pagal VMI pateiktus duomenis) yra vėlesnė nei 2020 m. sausio 31 d.';\r\n case 'CompanyActivityOngoing':\r\n return 'Jei įmonė visu laikotarpiu nuo 2019 m. lapkričio 1 d. iki 2020 m. sausio 31 d. nevykdė veiklos, paraiška neatitinka kriterijų.';\r\n case 'IndividualActivityForbidden':\r\n return 'Pagal VMI pateiktą informaciją, jei vykdomos veiklos pradžios data yra vėliau nei 2020m. sausio 31 d., ji turi būti įtraukta į ribojamų veiklų sąrašą (VMI). Veikloms, kurių pradžia yra anksčiau nei 2020m. sausio 31 d., taisyklė netaikoma.';\r\n case 'CompanyTooYoung':\r\n return 'Pareiškėjo veikla įregistruota ne vėliau kaip iki 2020 m. gruodžio 31d. ';\r\n case 'AllowedEvrkCodesMain':\r\n return 'Paskolos gavėjo vykdoma pagrindinė ūkinė veikla įtraukta į karantino metu ribojamų ir netiesiogiai ribojamų ūkinių veiklų sąrašą.';\r\n\r\n default:\r\n return criteria;\r\n }\r\n};\r\n\r\nexport const criteriaValuep = (criteria) => {\r\n switch (criteria) {\r\n case 'MunicipalityShareCount':\r\n return 'Pareiškėjas nėra valstybės ar savivaldybės įmonė, kurios 25 proc. ir daugiau įmonės akcijų, pajų ar kitokių dalyvavimą įmonės kapitale žyminčių kapitalo dalių ar 25 proc. ir daugiau įmonės dalyvių balsų tiesiogiai ar netiesiogiai (pagal balsavimo sutartį, balsavimo teisės perleidimo sutartį, įgaliojimą ir pan.) atskirai arba kartu turi valstybė ir (ar) savivaldybė';\r\n case 'LegalStatus':\r\n return 'Pareiškėjas paraiškos pateikimo metu negali būti įgijęs bankrutuojančios, restruktūrizuojamos, likviduojamos įmonės statuso.';\r\n case 'RentParticipantShareCountCompany':\r\n return 'Pareiškėjas ir nuomotojas negali priklausyti tai pačiai įmonių grupei.';\r\n case 'RentParticipantShareCountPerson':\r\n return 'Pareiškėjas negali nuomotis patalpų iš nuomotojo, turinčio daugumą dalyvių balsų įmonėje, teikiančioje paraišką.';\r\n case 'RentParticipantShareholdersShareCountPersonRule':\r\n return 'Pareiškėjas negali nuomotis patalpų iš nuomotojo, turinčio daugumą dalyvių balsų įmonėje, teikiančioje paraišką.';\r\n case 'RegistrationDate':\r\n return 'Pareiškėjas (juridinis asmuo) turi būti įregistruotas Juridinių asmenų registre.';\r\n case 'Activity':\r\n return 'Pareiškėjo vykdoma pagrindinė veikla negali būti elektroninė prekyba, ginklų ir šaudmenų specializuota mažmeninė prekyba, azartinių žaidimų ir lažybų ar kitų azartinių lošimų organizavimo veikla, finansų įstaigų vykdoma veikla.';\r\n case 'UndertakingInDifficulty':\r\n return 'Pareiškėjas 2019 m. gruodžio 31 d. negali būti laikomas sunkumų patiriančia įmone, kaip tai apibrėžta 2014 m. birželio 17 d. Komisijos reglamento (ES) Nr. 651/2014, kuriuo tam tikrų kategorijų pagalba skelbiama suderinama su vidaus rinka taikant Sutarties 107 ir 108 straipsnius, 2 straipsnio 18 punkte.';\r\n case 'FinancialIndicators':\r\n return 'Įmonė (įskaitant įmonių grupę) paraiškos pateikimo metu yra pateikusi VĮ Registrų centrui finansinių ataskaitų rinkinius.';\r\n case 'FinancialIndicators2020':\r\n return 'Įmonė (įskaitant įmonių grupę) paraiškos pateikimo metu yra pateikusi VĮ Registrų centrui finansinių ataskaitų rinkinius. ';\r\n case 'FinancialIndicatorsIndividual':\r\n return 'Pareiškėjas (fizinis asmuo) paraiškos teikimo metu vykdo paraiškoje nurodytą registruotą verslininko veiklą.';\r\n\r\n case 'IbanLithuanian':\r\n return 'Paraiškoje nurodyta LR įsteigtoje kredito įstaigoje ar užsienio įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita.';\r\n case 'Iban':\r\n return 'Paraiškoje nurodyta LR įsteigtoje kredito įstaigoje ar užsienio įstaigos filiale, įsteigtame Lietuvoje, esanti ir pareiškėjui priklausanti atsiskaitomoji sąskaita.';\r\n case 'PersonBankruptcy':\r\n return 'Pareiškėjas (fizinis asmuo) nėra bankrutuojantis arba pradėjęs bankroto procedūras.';\r\n\r\n case 'CompanyIncome':\r\n return 'Pareiškėjo metinės pajamos 2019 m. negali viršyti 50 000 000 Eur (penkiasdešimt milijonų eurų) arba turto balansinė vertė 2019 m. gruodžio 31 d. negali viršyti 43 000 000 Eur (keturiasdešimt trijų milijonų eurų).';\r\n\r\n case 'ContractIsInNtrRegister':\r\n return 'Patalpų nuomos sutartis turi būti registruota valstybės įmonėje Registrų centre.';\r\n\r\n case 'ContractStartDate':\r\n return 'Patalpų nuomos sutartis turi būti pasirašyta ne vėliau kaip 2020 m. kovo 15 d.';\r\n\r\n case 'ContractEndDate':\r\n return 'Nuomos sutartis turi galioti bent iki 2020 m. liepos 1d.';\r\n\r\n case 'ContractStartDateMatchesRegister':\r\n return 'Paraiškoje pateikta nekilnojamo turto nuomos pradžios data nesutampa su valstybės įmonėje Registrų centras užregistuota nuomos pradžios data';\r\n\r\n case 'ContractEndDateMatchesRegister':\r\n return 'Paraiškoje pateikta nekilnojamo turto nuomos pabaigos data nesutampa su valstybės įmonėje Registrų centras užregistuota turto nuomos pabaigos data';\r\n\r\n case 'ContractPartiesMatches':\r\n return 'Paraiškoje pateikti nuomos sutarties nuomotojo ir pareiškėjo (nuomininko) duomenys nesutampa su valstybės įmonėje Registrų centre užregistruotos nuomos sutarties nuomotojo ir nuomininko duomenimis.';\r\n case 'NtrContractValidFromDate':\r\n return 'NTR registre pateikta sutarties sudarymo data turi būti ne vėlesnė nei 2020m. kovo 15d.';\r\n case 'CompanyCountry':\r\n return 'Pareiškėjas (juridinis asmuo) yra įregistruotas VĮ Registrų centras Juridinių asmenų registre.';\r\n case 'CompanyLongTermDebtor':\r\n return 'Pareiškėjas atitinka minimalius Lietuvos Respublikos mokesčių administravimo įstatymo 401 straipsnyje nustatytus patikimų mokesčių mokėtojų kriterijus';\r\n case 'CompanyStatus':\r\n return 'Įmonei nėra iškelta nemokumo byla ir (ar) ji nėra restruktūrizuojama pagal Lietuvos Respublikos juridinių asmenų nemokumo įstatymą arba iki jo įsigaliojimo galiojusius Lietuvos Respublikos įmonių bankroto įstatymą ir Lietuvos Respublikos restruktūrizavimo įstatymą.';\r\n case 'CompanyActivityOngoing':\r\n return 'Jei įmonė visu laikotarpiu nuo 2019 m. lapkričio 1 d. iki 2020 m. sausio 31 d. nevykdė veiklos, paraiška neatitinka kriterijų.”';\r\n case 'IndividualActivityForbidden':\r\n return 'Pagal VMI pateiktą informaciją, jei vykdomos veiklos pradžios data yra vėliau nei 2020m. sausio 31 d., ji turi būti įtraukta į ribojamų veiklų sąrašą (VMI). Veikloms, kurių pradžia yra anksčiau nei 2020m. sausio 31 d., taisyklė netaikoma.';\r\n case 'AllINdividualActivitiesIsInRange':\r\n return '“Pagal VMI pateiktą informaciją, paraiškoje nurodyta veikla negaliojo visu laikotarpiu, imant nuo 2019 m. lapkričio 1 d. iki 2020 m. sausio 31 d.';\r\n case 'NtrContractValidFromDateRule':\r\n return 'NTR registre pateikta sutarties sudarymo data turi būti ne vėlesnė nei 2020m.kovo 15d.';\r\n case 'AllowedEvrkCodes':\r\n return 'Pagrindinė ekonominė vykdoma veikla yra finansuojama';\r\n case 'ActivityForbidden':\r\n return 'Pagrindinė ekonominė vykdoma veikla turi būti įtraukta į ribojamų veiklų sąrašą, jei pagrindinės vykdomos veiklos pradžios data (pagal VMI pateiktus duomenis) yra vėlesnė nei 2020 m. sausio 31 d.';\r\n case 'MoreThan5Years':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis Socialinio poveikio projektas Ir įmonės amžius didesnis nei 5 metai.';\r\n case 'MediumSizeBusinessman':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis Socialinio poveikio projektas ir verslininko dydis pagal SVV deklaraciją - Vidutinė įmonė.';\r\n case 'BigSize':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: verslo subjekto dydis pagal SVV deklaraciją - didelė įmonė.';\r\n case 'MoreThan3YearsNotSocial':\r\n return 'Pareiškėjas neatitinka priemonės aprašyme 6 punktu nustatyto Paskolos gavėjo apibrėžimo: paskolos paskirtis nėra Socialinio poveikio projektas Ir įmonės amžius didesnis nei 3 metai.';\r\n case 'AllowedEvrkCodesInvest':\r\n return 'Paskolos gavėjo Investicinė paskola nebus skirta bent vienai iš Paskolos gavėjo vykdomų ūkinių veiklų, kuri yra iš finansų, žemės ūkio, miškininkystės, žuvininkystės ir akvakultūros sektoriaus (-ių) veiklų.';\r\n case 'CompanyTooYoung':\r\n return 'Pareiškėjo veikla įregistruota ne vėliau kaip iki 2020 m. gruodžio 31d. ';\r\n case 'AllowedEvrkCodesMain':\r\n return 'Paskolos gavėjo vykdoma pagrindinė ūkinė veikla įtraukta į karantino metu ribojamų ir netiesiogiai ribojamų ūkinių veiklų sąrašą.';\r\n\r\n default:\r\n return criteria;\r\n }\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport styles from './financialCriteriaModal.module.scss';\r\nimport { WithSpinner } from '../../components';\r\nimport { actions } from './../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { criteriaValuep } from '../../utils/translation/criteria';\r\n\r\nconst FinancialCriteriaModal = ({\r\n open,\r\n data,\r\n dispatch,\r\n text,\r\n loading,\r\n finYear,\r\n}) => {\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [dataFiltered, setDataFiltered] = useState(null);\r\n useEffect(() => {\r\n if (data && data.Rules) {\r\n setDataFiltered(data.Rules);\r\n }\r\n }, [data]);\r\n\r\n return (\r\n open && (\r\n \r\n
\r\n \r\n
\r\n

Atitikimo finansavimui kriterijai

\r\n
\r\n {dataFiltered != null && dataFiltered.length !== 0 ? (\r\n dataFiltered.map((val, i) => (\r\n \r\n {val.RuleName === 'FinancialIndicators' ? (\r\n finYear === 2020 ? (\r\n criteriaValuep('FinancialIndicators2020')\r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )\r\n ) : val.RuleName === 'CompanyLongTermDebtor' ? (\r\n \r\n Pareiškėjas atitinka minimalius Lietuvos Respublikos\r\n mokesčių administravimo įstatymo 401{' '}\r\n straipsnyje nustatytus patikimų mokesčių mokėtojų\r\n kriterijus\r\n \r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )}\r\n
\r\n ))\r\n ) : text != null &&\r\n text.Decision != null &&\r\n text.Rules != null ? (\r\n text.Rules.map((val, i) => (\r\n \r\n {val.RuleName === 'FinancialIndicators' ? (\r\n finYear === 2020 ? (\r\n criteriaValuep('FinancialIndicators2020')\r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )\r\n ) : val.RuleName === 'CompanyLongTermDebtor' ? (\r\n \r\n Pareiškėjas atitinka minimalius Lietuvos Respublikos\r\n mokesčių administravimo įstatymo 401{' '}\r\n straipsnyje nustatytus patikimų mokesčių mokėtojų\r\n kriterijus\r\n \r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )}\r\n
\r\n ))\r\n ) : (\r\n

Patikra neatlikta

\r\n )}\r\n {/* {text} */}\r\n {text != null &&\r\n text.Decision === 'Denied' &&\r\n text.Rules != null && (\r\n \r\n Paraiška neatitinka keliamų kriterijų. Su sprendimu dėl\r\n kriterijų neatitikimo galite susipažinti skiltyje\r\n \"Sutartis ir pasirašymas\".\r\n

\r\n )}\r\n {text != null && text.Decision === 'Accepted' && (\r\n \r\n Paraiška atitinka keliamus kriterijus. Pateikite paraišką\r\n vertinimui.\r\n

\r\n )}\r\n
\r\n\r\n
\r\n cancel()}\r\n className=\"vaiisisloginbtn\"\r\n style={{ marginTop: '0rem' }}\r\n >\r\n Gerai\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n text: state.modalsState.msgText,\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(FinancialCriteriaModal);\r\n","import React, { useState, useEffect } from 'react';\r\nimport styles from './confirmWithFinancialCriteriaModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { criteriaValuep } from '../../utils/translation/criteria';\r\n\r\nconst ConfirmWithFinancialCriteriaModal = ({\r\n open,\r\n dispatch,\r\n text,\r\n loading,\r\n financialCriteriaResults,\r\n id,\r\n finYear,\r\n}) => {\r\n const [agree, setAgree] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n\r\n const onAgree = () => {\r\n agree === false ? setShowError(false) : setShowError(true);\r\n setAgree(!agree);\r\n };\r\n const cancel = () => {\r\n setAgree(false);\r\n setShowError(false);\r\n const open = {\r\n modalName: 'confirmWithFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const cancel2 = () => {\r\n setAgree(false);\r\n setShowError(false);\r\n cancel();\r\n dispatch(\r\n actions.dashboard.createNewRequestAction(\r\n id.RequestSystemInfo.RequestId,\r\n 'view'\r\n )\r\n );\r\n };\r\n const yes = () => {\r\n dispatch(\r\n actions.dashboard.sendForApproveAction(id.RequestSystemInfo.RequestId)\r\n );\r\n\r\n cancel();\r\n };\r\n\r\n const [data, setData] = useState(financialCriteriaResults);\r\n useEffect(() => {\r\n if (financialCriteriaResults && financialCriteriaResults.Rules) {\r\n setData(financialCriteriaResults);\r\n }\r\n // if denied - reload\r\n }, [financialCriteriaResults]);\r\n\r\n const [dataFiltered, setDataFiltered] = useState(null);\r\n useEffect(() => {\r\n if (data && data.Rules) {\r\n setDataFiltered(data.Rules);\r\n }\r\n }, [data]);\r\n\r\n return (\r\n open && (\r\n \r\n
\r\n \r\n
\r\n

Atitikimo finansavimui kriterijai

\r\n
\r\n {data != null &&\r\n data.Decision != null &&\r\n dataFiltered?.length !== 0 &&\r\n dataFiltered?.map((val, i) => (\r\n \r\n {val.RuleName === 'FinancialIndicators' ? (\r\n finYear === 2020 ? (\r\n criteriaValuep('FinancialIndicators2020')\r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )\r\n ) : val.RuleName === 'CompanyLongTermDebtor' ? (\r\n \r\n Pareiškėjas atitinka minimalius Lietuvos Respublikos\r\n mokesčių administravimo įstatymo 401{' '}\r\n straipsnyje nustatytus patikimų mokesčių mokėtojų\r\n kriterijus\r\n \r\n ) : (\r\n criteriaValuep(val.RuleName)\r\n )}\r\n
\r\n ))}\r\n {/*} {\r\n text.Decision === 'Accepted' (\r\n \r\n Paraiška atitinka keliamus kriterijus. Pateikite paraišką vertinimui.\r\n

\r\n )}*/}\r\n
\r\n\r\n {data && data.Decision === 'Accepted' ? (\r\n <>\r\n
\r\n \r\n \r\n
\r\n \r\n ) : (\r\n <>\r\n \r\n Jūsų paraiška negali būti pateikta tolimesniam vertinimui,\r\n nes neatitinka minimalių reikalavimų paskolai gauti. Su\r\n sprendimu dėl kriterijų neatitikimo galite susipažinti\r\n skiltyje \"Sutartis ir pasirašymas\".\r\n

\r\n
\r\n cancel2()}\r\n className=\"vaiisisloginbtn\"\r\n style={{ marginTop: '0rem' }}\r\n >\r\n Gerai\r\n \r\n
\r\n \r\n )}\r\n
\r\n \r\n \r\n
\r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n text: state.modalsState.msgText,\r\n // loading: state.modalsState.isOnSync,\r\n financialCriteriaResults: state.dashboardState.financialCriteriaResults,\r\n id: state.dashboardState.requestData,\r\n sectorType: state.dashboardState.requestData.LoanInfo,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ConfirmWithFinancialCriteriaModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from '../changeContractFile/confirmRequestModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport './changeConditionsModal.scss';\r\n\r\nconst ChangeConditionsModal = ({ open, requestId, dispatch }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n\r\n const [fileToUpload, setFileToUpload] = useState([]);\r\n\r\n const selectFileToUpload = (file) => {\r\n console.log(file);\r\n setFileToUpload([...fileToUpload, file]);\r\n };\r\n const cancel = () => {\r\n setNotValid(false);\r\n setFileToUpload(null);\r\n\r\n const open = {\r\n modalName: 'changeConditionsModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n console.log(fileToUpload);\r\n if (fileToUpload && fileToUpload.length > 0) {\r\n const formData = new FormData();\r\n\r\n formData.append('RequestId', requestId);\r\n\r\n for (let i = 0; i < fileToUpload.length; i++) {\r\n formData.append('Files', fileToUpload[i]);\r\n }\r\n\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.RequestChangeConditions(requestId),\r\n {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n dispatch(\r\n actions.dashboard.createNewRequestAction(requestId, 'view')\r\n );\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(\r\n requestId,\r\n 'view'\r\n )\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n dispatch(actions.dashboard.getUploadedFileList(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Prašymas pakeisti sutartį sėkmingai pateiktas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n
\r\n \r\n

Prašymas pakeisti sutarties sąlygas

\r\n

Prašome prisegti priedą(-us) sutarties sąlygų pakeitimui

\r\n \r\n \r\n selectFileToUpload(e.target.files[0])}\r\n />\r\n
\r\n {fileToUpload && fileToUpload?.length > 0\r\n ? fileToUpload.map((val, i) => (\r\n

\r\n {val.name}\r\n

\r\n ))\r\n : ''}\r\n
\r\n {notValid && !fileToUpload && (\r\n \r\n Privalote pasirinkti priedą\r\n

\r\n )}\r\n
\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ChangeConditionsModal);\r\n","import React, { useState, useEffect } from 'react';\r\nimport styles from './confirmWithoutFinancialCriteriaModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\n\r\nconst ConfirmWithoutFinancialCriteriaModal = ({\r\n open,\r\n dispatch,\r\n text,\r\n loading,\r\n id,\r\n}) => {\r\n const [agree, setAgree] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n\r\n const onAgree = () => {\r\n agree === false ? setShowError(false) : setShowError(true);\r\n setAgree(!agree);\r\n };\r\n\r\n const cancel = () => {\r\n setAgree(false);\r\n setShowError(false);\r\n const open = {\r\n modalName: 'confirmWithoutFinancialCriteriaModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n dispatch(\r\n actions.dashboard.sendForApproveWithDocsAction(\r\n id.RequestSystemInfo.RequestId\r\n )\r\n );\r\n\r\n cancel();\r\n };\r\n\r\n return (\r\n open && (\r\n \r\n
\r\n \r\n
\r\n

\r\n Ar tikrai norite pateikti papildomus dokumentus vertinimui? \r\n

\r\n

\r\n Prieš pasirenkatant \"PATEIKTI DOKUMENTUS\", patikrinkite, ar prie\r\n paraiškos pridėjote visus prašomus papildomus dokumentus.\r\n Patikrinti galėsite pasirinkus \"ATŠAUKTI\". \r\n
\r\n

\r\n {\r\n
\r\n \r\n \r\n
\r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n text: state.modalsState.msgText,\r\n id: state.dashboardState.requestData,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ConfirmWithoutFinancialCriteriaModal);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './deleteComfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { history } from './../../App';\r\n\r\nconst GoBackConfirmationModal = ({ open, id, loading, dispatch }) => {\r\n const forwardTo = (location) => {\r\n history.push(location);\r\n window.location.reload();\r\n };\r\n\r\n const closeModal = {\r\n modalName: 'goBackConfirmationModal',\r\n visible: false,\r\n };\r\n\r\n const cancel = () => {\r\n dispatch(actions.modals.setModalVisibleFlagAction(closeModal));\r\n };\r\n\r\n const yes = (id) => {\r\n dispatch(actions.modals.setModalVisibleFlagAction(closeModal));\r\n forwardTo('/main-window/requests');\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

\r\n Užpildyti paraiškos duomenys nėra išsaugoti.
Ar tikrai\r\n norite grįžti atgal neužsaugojus įvestų duomenų?{' '}\r\n

\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(GoBackConfirmationModal);\r\n","import React, { useState, useEffect } from 'react';\r\nimport swal from 'sweetalert';\r\nimport styles from './confirmWithoutFinancialCriteriaForChangeConditionsModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst ConfirmWithoutFinancialCriteriaForChangeConditionsModal = ({\r\n open,\r\n dispatch,\r\n text,\r\n loading,\r\n id,\r\n}) => {\r\n const [agree, setAgree] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const onAgree = () => {\r\n agree === false ? setShowError(false) : setShowError(true);\r\n setAgree(!agree);\r\n };\r\n\r\n const cancel = () => {\r\n setAgree(false);\r\n setShowError(false);\r\n const open = {\r\n modalName: 'confirmWithoutFinancialCriteriaForChangeConditionsModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n dispatch(\r\n actions.dashboard.sendForApproveWithDocsForChangeConditionsAction(\r\n id.RequestSystemInfo.RequestId\r\n )\r\n );\r\n\r\n cancel();\r\n };\r\n\r\n // const changeFile = (id) => {\r\n // document.getElementById(id).click();\r\n // };\r\n\r\n // const selectFile = (e) => {\r\n // setIsloading(true);\r\n\r\n // console.log(id);\r\n // const file = e.target.files[0];\r\n\r\n // const formData = new FormData();\r\n // formData.append('File', file);\r\n // formData.append('RequestId', id);\r\n // formData.append('FileId', id);\r\n\r\n // fetch(Api.API_BASE_URL + config.API_ENDPOINTS.requestSendForApproveWithDocsForChangeConditions, {\r\n // method: 'POST',\r\n // headers: {\r\n // Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n // },\r\n // body: formData,\r\n // })\r\n // .then((res) => {\r\n // if (res.ok === true) {\r\n // // renew info\r\n // dispatch(actions.dashboard.getUploadedFileList(id));\r\n // swal({\r\n // title: 'Papildomi dokumentai sėkmingai pakeistas',\r\n // icon: 'success',\r\n // buttons: {\r\n // confirm: {\r\n // text: 'Gerai',\r\n // value: true,\r\n // visible: true,\r\n // className: 'btn btn-pink',\r\n // closeModal: true,\r\n // },\r\n // },\r\n // });\r\n // cancel();\r\n // } else if (res.status === 403) {\r\n // swal({\r\n // title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n // icon: 'error',\r\n // buttons: {\r\n // confirm: {\r\n // text: 'Gerai',\r\n // value: true,\r\n // visible: true,\r\n // className: 'btn swal-ok-btn',\r\n // closeModal: true,\r\n // },\r\n // },\r\n // });\r\n // } else {\r\n // res.json().then((r) => {\r\n // let title = 'Nepavyko pateikti priedo';\r\n // if (r.errors) {\r\n // title = r.errors['Files[0].FileName'][0];\r\n // } else if (r.ErrorDescription) {\r\n // title = r.ErrorDescription;\r\n // }\r\n // swal({\r\n // title: title,\r\n // icon: 'error',\r\n // buttons: {\r\n // confirm: {\r\n // text: 'Gerai',\r\n // value: true,\r\n // visible: true,\r\n // className: 'btn swal-ok-btn',\r\n // closeModal: true,\r\n // },\r\n // },\r\n // });\r\n // });\r\n // }\r\n // })\r\n // .catch((err) => {\r\n // console.log(err);\r\n // })\r\n // .finally(() => {\r\n // setIsloading(false);\r\n // });\r\n // };\r\n\r\n // const acceptFiles = () => {\r\n // return '.xlsx, .xls, .doc, .docx, .xml, .txt, .pdf';\r\n // };\r\n\r\n return (\r\n open && (\r\n \r\n
\r\n \r\n
\r\n

\r\n Ar tikrai norite pateikti papildomus dokumentus sąlygų\r\n keitimui? \r\n

\r\n

\r\n Prieš pasirenkatant \"PATEIKTI DOKUMENTUS\", patikrinkite, ar prie\r\n paraiškos pridėjote visus prašomus papildomus dokumentus.\r\n Patikrinti galėsite pasirinkus \"ATŠAUKTI\". \r\n
\r\n

\r\n {\r\n <>\r\n
\r\n \r\n \r\n
\r\n {/* selectFile(e)}\r\n /> */}\r\n \r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n text: state.modalsState.msgText,\r\n id: state.dashboardState.requestData,\r\n});\r\n\r\nexport default connect(mapStateToProps)(\r\n ConfirmWithoutFinancialCriteriaForChangeConditionsModal\r\n);\r\n","export const evrkJson = {\r\n 100000: 'Maisto produktų gamyba',\r\n 101000: 'Mėsos perdirbimas ir konservavimas ir mėsos produktų gamyba',\r\n 101100: 'Mėsos perdirbimas ir konservavimas',\r\n 101200: 'Paukštienos perdirbimas ir konservavimas',\r\n 101300: 'Mėsos ir paukštienos produktų gamyba',\r\n 101310: 'Rūkytų mėsos ir paukštienos produktų gamyba',\r\n 102000: 'Žuvų, vėžiagyvių ir moliuskų perdirbimas ir konservavimas',\r\n 103000: 'Vaisių ir daržovių perdirbimas ir konservavimas',\r\n 103100: 'Bulvių perdirbimas ir konservavimas',\r\n 103110: 'Bulvių miltų gamyba',\r\n 103200: 'Vaisių, uogų ir daržovių sulčių gamyba',\r\n 103900: 'Kitas vaisių ir daržovių perdirbimas ir konservavimas',\r\n 104000: 'Gyvūninių ir augalinių riebalų bei aliejaus gamyba',\r\n 104100: 'Aliejaus ir riebalų gamyba',\r\n 104200: 'Margarino ir panašių valgomųjų riebalų gamyba',\r\n 105000: 'Pieno produktų gamyba',\r\n 105100: 'Pieninių veikla ir sūrių gamyba',\r\n 105200: 'Valgomųjų ledų gamyba',\r\n 106000: 'Grūdų malimo produktų, krakmolo ir krakmolo produktų gamyba',\r\n 106100: 'Grūdų malimo produktų gamyba',\r\n 106110: 'Miltų gamyba',\r\n 106120: 'Kruopų gamyba',\r\n 106200: 'Krakmolo ir krakmolo produktų gamyba',\r\n 106210: 'Gliukozės sirupo ir maltozės gamyba',\r\n 106220: 'Krakmolo gamyba',\r\n 107000: 'Kepyklos ir miltinių produktų gamyba',\r\n 107100: '\"Duonos gamyba; šviežių konditerijos kepinių ir pyragaičių gamyba\"',\r\n 107200:\r\n '\"Džiūvėsių ir sausainių gamyba; ilgai išsilaikančių konditerijos kepinių ir pyragaičių gamyba\"',\r\n 107300: 'Makaronų, vermišelių, kuskuso ir panašių miltinių produktų gamyba',\r\n 108000: 'Kitų maisto produktų gamyba',\r\n 108100: 'Cukraus gamyba',\r\n 108200: 'Kakavos, šokolado ir cukraus saldumynų gamyba',\r\n 108300: 'Arbatos ir kavos apdorojimas ir perdirbimas',\r\n 108400: 'Užgardų ir pagardų gamyba',\r\n 108410: 'Acto gamyba',\r\n 108500: 'Paruoštų valgių ir patiekalų gamyba',\r\n 108600: 'Homogenizuotų ir dietinių maisto produktų gamyba',\r\n 108900: 'Kitų, niekur kitur nepriskirtų, maisto produktų gamyba',\r\n 108910: 'Mielių gamyba',\r\n 109000: 'Paruoštų pašarų gyvuliams gamyba',\r\n 109100: 'Paruoštų pašarų ūkio gyvuliams gamyba',\r\n 109200: 'Paruošto ėdalo naminiams gyvūnėliams gamyba',\r\n 110000: 'Gėrimų gamyba',\r\n 110100: 'Spirito distiliavimas, rektifikavimas ir maišymas',\r\n 110200: 'Vynuogių vyno gamyba',\r\n 110300: 'Sidro ir kitokių vaisių, uogų vynų gamyba',\r\n 110400: 'Kitų nedistiliuotų fermentuotų gėrimų gamyba',\r\n 110500: 'Alaus gamyba',\r\n 110600: 'Salyklo gamyba',\r\n 110700:\r\n '\"Nealkoholinių gėrimų gamyba; mineralinio ir kito, pilstomo į butelius, vandens gamyba\"',\r\n 110710: 'Nealkoholinių gėrimų gamyba',\r\n 110720: 'Natūralaus mineralinio ir kito, pilstomo į butelius, vandens gamyba',\r\n 120000: 'Tabako gaminių gamyba',\r\n 130000: 'Tekstilės gaminių gamyba',\r\n 131000: 'Tekstilės pluoštų paruošimas ir verpimas',\r\n 132000: 'Tekstilės audimas',\r\n 132010: 'Lininių audinių audimas',\r\n 132020: 'Sintetinių audinių audimas',\r\n 133000: 'Tekstilės apdaila',\r\n 139000: 'Kitų tekstilės gaminių ir dirbinių gamyba',\r\n 139100: 'Megztų (trikotažinių) ir nertų medžiagų gamyba',\r\n 139200: 'Gatavų tekstilės dirbinių, išskyrus drabužius, gamyba',\r\n 139300: 'Kilimų ir kilimėlių gamyba',\r\n 139400: 'Virvių, lynų, virvelių ir tinklų gamyba',\r\n 139500:\r\n 'Neaustinių medžiagų ir neaustinių medžiagų gaminių ir dirbinių, išskyrus drabužius, gamyba',\r\n 139600: 'Kitų techninės ir pramoninės tekstilės gaminių ir dirbinių gamyba',\r\n 139900:\r\n 'Kitų, niekur kitur nepriskirtų, tekstilės gaminių ir dirbinių gamyba',\r\n 140000: 'Drabužių siuvimas (gamyba)',\r\n 141000: 'Drabužių, išskyrus kailinius drabužius, siuvimas (gamyba)',\r\n 141100: 'Odinių drabužių siuvimas',\r\n 141200: 'Darbo drabužių siuvimas',\r\n 141300: 'Kitų viršutinių drabužių siuvimas',\r\n 141310: 'Vyriškų viršutinių drabužių siuvimas',\r\n 141320: 'Moteriškų viršutinių drabužių siuvimas',\r\n 141400: 'Apatinių drabužių siuvimas',\r\n 141900: 'Kitų drabužių siuvimas ir drabužių priedų gamyba',\r\n 141910: 'Vaiko drabužėlių siuvimas',\r\n 141920: 'Sportinės aprangos siuvimas',\r\n 141930: 'Kailinių kepurių ir kitų galvos apdangalų gamyba',\r\n 142000: 'Kailinių dirbinių ir gaminių gamyba',\r\n 143000: 'Megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 143100:\r\n 'Pėdkelnių, triko, kojinių ir kitų panašių megztų (trikotažinių) ir nertų gaminių bei dirbinių gamyba',\r\n 143900: 'Kitų megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 150000: 'Odos ir odos dirbinių gamyba',\r\n 151000:\r\n '\"Odų rauginimas ir išdirbimas; lagaminų, rankinių, balno reikmenų ir pakinktų gamyba; kailių išdirbimas ir dažymas\"',\r\n 151100: '\"Odų rauginimas ir išdirbimas; kailių išdirbimas ir dažymas\"',\r\n 151110: 'Odų rauginimas, naudojant augalines medžiagas',\r\n 151120: 'Odų rauginimas, naudojant mineralines ir chemines medžiagas',\r\n 151130: 'Odų išdirbimas',\r\n 151200:\r\n 'Lagaminų, rankinių ir panašių reikmenų, balno reikmenų ir pakinktų gamyba',\r\n 152000: 'Avalynės gamyba',\r\n 160000:\r\n 'Medienos bei medienos ir kamštienos gaminių, išskyrus baldus, gamyba; gaminių iš šiaudų ir pynimo medžiagų gamyba',\r\n 161000: 'Medienos pjaustymas ir obliavimas',\r\n 161010: 'Cheminis medienos apdorojimas konservantais',\r\n 162000:\r\n 'Gaminių ir dirbinių iš medienos, kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 162100: 'Faneravimo dangos ir medienos plokščių gamyba',\r\n 162110: 'Medienos plaušo plokščių, padengtų dekoratyvine plėvele, gamyba',\r\n 162120: 'Presuotos medienos gamyba',\r\n 162200: 'Sumontuotų parketo grindų gamyba',\r\n 162300: 'Kitų statybinių dailidžių ir stalių dirbinių gamyba',\r\n 162310: 'Fasoninių detalių ir malksnų (gontų) stogų dengimui gamyba',\r\n 162320: 'Medinių surenkamųjų statinių ar jų detalių gamyba',\r\n 162330: 'Medinių sieninių plokščių ir spintų gamyba',\r\n 162400: 'Medinės taros gamyba',\r\n 162410: 'Padėklų, stovų ir kitų medinių pakrovimo reikmenų gamyba',\r\n 162900:\r\n 'Kitų medienos gaminių gamyba; dirbinių iš kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 170000: 'Popieriaus ir popieriaus gaminių gamyba',\r\n 171000: 'Plaušienos, popieriaus ir kartono gamyba',\r\n 171100: 'Plaušienos gamyba',\r\n 171200: 'Popieriaus ir kartono gamyba',\r\n 172000: 'Popieriaus ir kartoninių gaminių gamyba',\r\n 172100:\r\n 'Gofruotojo popieriaus ir kartono bei taros iš popieriaus ir kartono gamyba',\r\n 172200: 'Buitinių ir higienos reikmenų bei tualeto reikmenų gamyba',\r\n 172210: 'Tualetinio popieriaus gamyba',\r\n 172300: 'Popierinių raštinės reikmenų gamyba',\r\n 172310: 'Kopijavimo popieriaus gamyba',\r\n 172320: 'Vokų ir atvirukų gamyba',\r\n 172400: 'Sienų apmušalų (tapetų) gamyba',\r\n 172900: 'Kitų popierinių ir kartoninių gaminių gamyba',\r\n 172910: 'Filtravimo popieriaus gamyba',\r\n 180000: 'Spausdinimas ir įrašytų laikmenų tiražavimas',\r\n 181000: 'Spausdinimas ir su spausdinimu susijusios paslaugos',\r\n 181100: 'Laikraščių spausdinimas',\r\n 181200: 'Kitas spausdinimas',\r\n 181300: 'Parengiamoji spausdinimo ir žiniasklaidos veikla',\r\n 181400: 'Įrišimas ir susijusios paslaugos',\r\n 182000: 'Įrašytų laikmenų tiražavimas',\r\n 190000: 'Kokso ir rafinuotų naftos produktų gamyba',\r\n 191000: 'Koksavimo krosnių produktų gamyba',\r\n 192000: 'Rafinuotų naftos produktų gamyba',\r\n 192010: 'Skystojo arba dujinio kuro gamyba',\r\n 192020: 'Tepalų ir kitų alyvų gamyba',\r\n 192030: 'Parafino ir techninio vazelino gamyba',\r\n 192040: 'Naftos bitumo gamyba',\r\n 200000: 'Chemikalų ir chemijos produktų gamyba',\r\n 201000:\r\n 'Pagrindinių chemikalų, trąšų ir azoto junginių, pirminių plastikų ir pirminio sintetinio kaučiuko gamyba',\r\n 201100: 'Pramoninių dujų gamyba',\r\n 201200: 'Dažiklių ir pigmentų gamyba',\r\n 201300: 'Kitų pagrindinių neorganinių chemikalų gamyba',\r\n 201400: 'Kitų pagrindinių organinių chemikalų gamyba',\r\n 201500: 'Trąšų ir azoto junginių gamyba',\r\n 201510: 'Grynųjų ar kompleksinių azoto ir fosforo trąšų gamyba',\r\n 201520: 'Karbamido gamyba',\r\n 201530: 'Amoniako gamyba',\r\n 201600: 'Pirminių plastikų gamyba',\r\n 201700: 'Pirminio sintetinio kaučiuko gamyba',\r\n 202000: 'Pesticidų ir kitų agrocheminių medžiagų gamyba',\r\n 202010: 'Dezinfekantų gamyba',\r\n 203000:\r\n 'Dažų, lakų ir panašių dangų medžiagų, spaustuvinių dažų ir mastikų gamyba',\r\n 203010: 'Emalinių dažų ir lakų gamyba',\r\n 203020: 'Organinių sudėtingų tirpiklių ir skiediklių gamyba',\r\n 204000:\r\n 'Muilo ir ploviklių, valiklių ir blizgiklių, kvepalų ir tualeto priemonių gamyba',\r\n 204100: 'Muilo ir ploviklių, valiklių ir blizgiklių gamyba',\r\n 204200: 'Kvepalų ir tualeto priemonių gamyba',\r\n 205000: 'Kitų cheminių medžiagų gamyba',\r\n 205100: 'Sprogiųjų medžiagų gamyba',\r\n 205200: 'Klijų gamyba',\r\n 205300: 'Eterinio aliejaus gamyba',\r\n 205900: 'Kitų, niekur kitur nepriskirtų, cheminių medžiagų gamyba',\r\n 205910: 'Lydymo, litavimo ar suvirinimo miltelių ir pastų gamyba',\r\n 205920:\r\n 'Aktyvintų anglių, tepalų priedų, paruoštų kaučiuko vulkanizavimo greitiklių, katalizatorių gamyba',\r\n 205930: 'Antidetonatorių, antifrizų, skysčių hidraulinėms sistemoms gamyba',\r\n 205940: 'Rašalo ir tušo gamyba',\r\n 206000: 'Cheminių pluoštų gamyba',\r\n 210000: 'Pagrindinių vaistų pramonės gaminių ir farmacinių preparatų gamyba',\r\n 211010: 'Narkotinių medžiagų gamyba',\r\n 212000: 'Farmacinių preparatų gamyba',\r\n 212010: 'Vaistų gamyba',\r\n 212020: 'Veterinarinių vaistų gamyba',\r\n 220000: 'Guminių ir plastikinių gaminių gamyba',\r\n 221000: 'Guminių gaminių gamyba',\r\n 221100:\r\n '\"Guminių padangų ir kamerų gamyba; guminių padangų restauravimas ir atnaujinimas\"',\r\n 221900: 'Kitų guminių gaminių gamyba',\r\n 222000: 'Plastikinių gaminių gamyba',\r\n 222100: 'Plastikinių plokščių, lakštų, vamzdžių ir profiliuočių gamyba',\r\n 222200: 'Plastikinių pakuočių gamyba',\r\n 222300: 'Plastikinių statybos dirbinių gamyba',\r\n 222900: 'Kitų plastikinių gaminių gamyba',\r\n 230000: 'Kitų nemetalo mineralinių produktų gamyba',\r\n 231000: 'Stiklo ir stiklo gaminių bei dirbinių gamyba',\r\n 231100: 'Plokščiojo stiklo gamyba',\r\n 231200: 'Plokščiojo stiklo pjaustymas ir apdorojimas',\r\n 231300: 'Tuščiavidurio stiklo gamyba',\r\n 231310: 'Stiklinių talpyklų gamyba',\r\n 231400: 'Stiklo pluoštų gamyba',\r\n 231900:\r\n 'Kito stiklo, įskaitant skirto techninėms reikmėms, gamyba ir apdorojimas',\r\n 231910:\r\n 'Stiklinių izoliatorių ir stiklinių izoliacinių jungiamųjų detalių gamyba',\r\n 232000: 'Ugniai atsparių gaminių gamyba',\r\n 233000: 'Statybinių medžiagų iš molio gamyba',\r\n 233100: 'Keraminių apdailos ir šaligatvio plytelių gamyba',\r\n 233110: 'Koklių gamyba',\r\n 233120: 'Keraminių grindinio dangų gamyba',\r\n 233200: 'Degto molio plytų, plytelių ir statybinių dirbinių gamyba',\r\n 234000: 'Kitų porcelianinių ir keraminių gaminių bei dirbinių gamyba',\r\n 234100: 'Keraminių buities ir puošybos gaminių bei dirbinių gamyba',\r\n 234200: 'Keraminių santechnikos gaminių ir dirbinių gamyba',\r\n 234300: 'Keraminių izoliatorių ir keraminių izoliacinių detalių gamyba',\r\n 234400: 'Kitų techninės paskirties keraminių gaminių ir dirbinių gamyba',\r\n 234900: 'Kitų keraminių gaminių ir dirbinių gamyba',\r\n 235000: 'Cemento, kalkių ir gipso gamyba',\r\n 235100: 'Cemento gamyba',\r\n 235200: 'Kalkių ir gipso gamyba',\r\n 236000: 'Betono, cemento ir gipso gaminių bei dirbinių gamyba',\r\n 236100: 'Betono gaminių, skirtų statybinėms reikmėms, gamyba',\r\n 236200: 'Gipso gaminių, naudojamų statybinėms reikmėms, gamyba',\r\n 236300: 'Prekinio betono mišinio gamyba',\r\n 236400: 'Statybinių skiedinių gamyba',\r\n 236500: 'Fibrolito gamyba',\r\n 236900: 'Kitų betono, gipso ir cemento gaminių bei dirbinių gamyba',\r\n 237000: 'Akmens pjaustymas, tašymas ir apdailinimas',\r\n 239000:\r\n 'Abrazyvinių gaminių ir niekur kitur nepriskirtų nemetalo mineralinių produktų gamyba',\r\n 239100: 'Abrazyvinių gaminių gamyba',\r\n 239900:\r\n 'Kitų, niekur kitur nepriskirtų, nemetalo mineralinių produktų gamyba',\r\n 239910: 'Asbestinio pluošto, verpalų ir audinių bei gaminių iš jų gamyba',\r\n 239920: 'Frikcinių medžiagų ir jų gaminių gamyba',\r\n 239930: 'Mineralinių izoliacinių medžiagų gamyba',\r\n 239940: 'Dirbinių iš bitumo gamyba',\r\n 240000: 'Pagrindinių metalų gamyba',\r\n 241000: 'Tomo ketaus ir plieno bei ferolydinių gamyba',\r\n 242000:\r\n 'Plieninių vamzdžių, vamzdelių, tuščiavidurių profilių ir susijusių jungiamųjų detalių gamyba',\r\n 243000: 'Kitų plieno pirminio apdirbimo gaminių gamyba',\r\n 243100: 'Šaltasis strypų tempimas',\r\n 243200: 'Šaltasis siaurų juostų valcavimas',\r\n 243300: 'Šaltasis formavimas ar lankstymas',\r\n 243400: 'Šaltasis vielos tempimas',\r\n 244000: 'Pagrindinių tauriųjų ir kitų spalvotųjų metalų gamyba',\r\n 244100: 'Tauriųjų metalų gamyba',\r\n 244200: 'Aliuminio gamyba',\r\n 244300: 'Švino, cinko ir alavo gamyba',\r\n 244400: 'Vario gamyba',\r\n 244500: 'Kitų spalvotųjų metalų gamyba',\r\n 244600: 'Branduolinio kuro perdirbimas',\r\n 245000: 'Metalų liejinių gamyba',\r\n 245100: 'Geležies liejinių gamyba',\r\n 245200: 'Plieno liejinių gamyba',\r\n 245300: 'Lengvųjų metalų liejinių gamyba',\r\n 245400: 'Kitų spalvotųjų metalų liejinių gamyba',\r\n 250000: 'Metalo gaminių, išskyrus mašinas ir įrenginius, gamyba',\r\n 251000: 'Konstrukcinių metalo gaminių gamyba',\r\n 251100: 'Metalo konstrukcijų ir jų dalių gamyba',\r\n 251200: 'Metalinių durų ir langų gamyba',\r\n 252000: 'Metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252100: 'Centrinio šildymo radiatorių ir katilų gamyba',\r\n 252900: 'Kitų metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252910: 'Metalinių talpyklų suslėgtosioms ar suskystintosioms dujoms gamyba',\r\n 253000:\r\n 'Garo generatorių, išskyrus centrinio šildymo karšto vandens katilus, gamyba',\r\n 254000: 'Ginklų ir šaudmenų gamyba',\r\n 255000:\r\n '\"Metalo kalimas, presavimas, štampavimas ir profiliavimas; miltelių metalurgija\"',\r\n 256000: '\"Metalų apdorojimas ir dengimas; mechaninis apdirbimas\"',\r\n 256100: 'Metalų apdorojimas ir dengimas',\r\n 256200: 'Mechaninis apdirbimas',\r\n 257000: 'Valgomųjų įrankių, kitų įrankių ir bendrųjų metalo dirbinių gamyba',\r\n 257100: 'Valgomųjų ir kitų pjovimo įrankių gamyba',\r\n 257200: 'Spynų ir vyrių gamyba',\r\n 257300: 'Kitų įrankių gamyba',\r\n 259000: 'Kitų metalo gaminių gamyba',\r\n 259100: 'Plieninių statinių ir panašių talpyklų gamyba',\r\n 259200: 'Lengvųjų metalų taros gamyba',\r\n 259300: 'Vielos gaminių, grandinių ir spyruoklių gamyba',\r\n 259400: 'Tvirtinimo detalių ir sriegimo mašinų gaminių gamyba',\r\n 259900: 'Kitų, niekur kitur nepriskirtų, metalo gaminių gamyba',\r\n 260000: 'Kompiuterinių, elektroninių ir optinių gaminių gamyba',\r\n 261000: 'Elektroninių komponentų ir plokščių gamyba',\r\n 261100: 'Elektroninių komponentų gamyba',\r\n 261200: 'Sumontuotų elektroninių plokščių gamyba',\r\n 262000: 'Kompiuterių ir išorinės įrangos gamyba',\r\n 263000: 'Ryšių įrangos gamyba',\r\n 264000: 'Vartotojiškos elektroninės įrangos gamyba',\r\n 265000:\r\n '\"Matavimo, bandymo, navigacinės ir kontrolės įrangos gamyba; įvairių tipų laikrodžių gamyba\"',\r\n 265100:\r\n 'Matavimo, bandymo, navigacinės ir kontrolės įrangos prietaisų ir aparatų gamyba',\r\n 265110: 'Elektros skaitiklių gamyba',\r\n 265120: 'Vandens skaitiklių gamyba',\r\n 265130: 'Dujų skaitiklių gamyba',\r\n 265140: 'Automatinio reguliavimo ir kontrolės prietaisų gamyba',\r\n 265200: 'Įvairių tipų laikrodžių gamyba',\r\n 266000: 'Švitinimo, elektromedicininės ir elektroterapinės įrangos gamyba',\r\n 267000: 'Optinių prietaisų ir fotografijos įrangos gamyba',\r\n 268000: 'Magnetinių ir optinių laikmenų gamyba',\r\n 270000: 'Elektros įrangos gamyba',\r\n 271000:\r\n 'Elektros variklių, generatorių, transformatorių bei elektros skirstomosios ir valdymo įrangos gamyba',\r\n 271100: 'Elektros variklių, generatorių ir transformatorių gamyba',\r\n 271200: 'Elektros skirstomosios ir valdymo įrangos gamyba',\r\n 272000: 'Baterijų ir akumuliatorių gamyba',\r\n 273000: 'Laidų ir instaliacijos įtaisų gamyba',\r\n 273100: 'Skaidulinės optikos kabelių gamyba',\r\n 273200: 'Kitų elektronikos bei elektros laidų ir kabelių gamyba',\r\n 273300: 'Instaliacijos įtaisų gamyba',\r\n 274000: 'Elektros apšvietimo įrangos gamyba',\r\n 275000: 'Buitinių aparatų ir prietaisų gamyba',\r\n 275100: 'Buitinių elektrinių aparatų ir prietaisų gamyba',\r\n 275200: 'Buitinių neelektrinių aparatų ir prietaisų gamyba',\r\n 279000: 'Kitos elektros įrangos gamyba',\r\n 280000: 'Niekur kitur nepriskirtų mašinų ir įrangos gamyba',\r\n 281000: 'Bendrosios paskirties mašinų gamyba',\r\n 281100:\r\n 'Variklių ir turbinų, išskyrus orlaivių, transporto priemonių ir motociklų variklius, gamyba',\r\n 281200: 'Hidraulinės energijos įrangos gamyba',\r\n 281300: 'Kitų siurblių ir kompresorių gamyba',\r\n 281400: 'Kitų čiaupų ir sklendžių gamyba',\r\n 281500:\r\n 'Guolių, krumpliaračių, krumplinių pavarų ir varomųjų elementų gamyba',\r\n 282000: 'Kitų bendrosios paskirties mašinų ir įrangos gamyba',\r\n 282100: 'Orkaičių, krosnių ir krosnių degiklių gamyba',\r\n 282200: 'Kėlimo ir krovimo įrangos gamyba',\r\n 282300:\r\n 'Įstaigos mašinų ir įrangos (išskyrus kompiuterius ir išorinę įrangą) gamyba',\r\n 282400: 'Variklinių rankinių įrankių gamyba',\r\n 282500: 'Nebuitinių aušinimo ir vėdinimo įrenginių gamyba',\r\n 282900:\r\n 'Kitų, niekur kitur nepriskirtų, bendrosios paskirties mašinų ir įrangos gamyba',\r\n 283000: 'Žemės ir miškų ūkio mašinų gamyba',\r\n 284000: 'Metalo formavimo įrangos ir staklių gamyba',\r\n 284100: 'Metalo formavimo įrangos gamyba',\r\n 284900: 'Kitų staklių gamyba',\r\n 289000: 'Kitų specialiosios paskirties mašinų gamyba',\r\n 289100: 'Metalurgijos mašinų gamyba',\r\n 289200: 'Kasybos, karjerų eksploatavimo ir statybos mašinų gamyba',\r\n 289300: 'Maisto, gėrimų ir tabako apdorojimo mašinų gamyba',\r\n 289400: 'Tekstilės, drabužių ir odos gaminių gamybos mašinų gamyba',\r\n 289500: 'Popieriaus ir kartono gamybos mašinų gamyba',\r\n 289600: 'Plastikų ir gumos gamybos mašinų gamyba',\r\n 289900:\r\n 'Kitų, niekur kitur nepriskirtų, specialiosios paskirties mašinų gamyba',\r\n 290000: 'Variklinių transporto priemonių, priekabų ir puspriekabių gamyba',\r\n 291000: 'Variklinių transporto priemonių gamyba',\r\n 292000:\r\n '\"Variklinių transporto priemonių kėbulų gamyba; priekabų ir puspriekabių gamyba\"',\r\n 293000: 'Variklinių transporto priemonių dalių ir pagalbinių reikmenų gamyba',\r\n 293100:\r\n 'Variklinių transporto priemonių elektros ir elektroninės įrangos gamyba',\r\n 293200: 'Variklinių transporto priemonių kitų dalių ir reikmenų gamyba',\r\n 300000: 'Kitų transporto priemonių ir įrangos gamyba',\r\n 301000: 'Įvairių tipų laivų statyba',\r\n 301100: 'Laivų ir plūdriųjų konstrukcijų statyba',\r\n 301200: 'Pramoginių ir sportinių katerių (laivų) statyba',\r\n 302000: 'Geležinkelio lokomotyvų bei riedmenų gamyba',\r\n 303000: 'Orlaivių ir erdvėlaivių bei susijusios įrangos gamyba',\r\n 304000: 'Karinių kovinių transporto priemonių gamyba',\r\n 309000: 'Niekur kitur nepriskirtų transporto priemonių gamyba',\r\n 309100: 'Motociklų gamyba',\r\n 309200: 'Dviračių ir invalidų vežimėlių gamyba',\r\n 309900: 'Kitos, niekur kitur nepriskirtos, transporto įrangos gamyba',\r\n 310000: 'Baldų gamyba',\r\n 310100: 'Įstaigos ir prekybos įmonių (parduotuvių) baldų gamyba',\r\n 310200: 'Virtuvės baldų gamyba',\r\n 310300: 'Čiužinių gamyba',\r\n 310900: 'Kitų baldų gamyba',\r\n 320000: 'Kita gamyba',\r\n 321000: 'Papuošalų, juvelyrinių, bižuterijos ir panašių dirbinių gamyba',\r\n 321100: 'Monetų kalimas',\r\n 321200: 'Papuošalų, juvelyrinių ir panašių dirbinių gamyba',\r\n 321300: 'Dirbtinės bižuterijos ir panašių dirbinių gamyba',\r\n 322000: 'Muzikos instrumentų gamyba',\r\n 323000: 'Sporto reikmenų gamyba',\r\n 324000: 'Žaidimų ir žaislų gamyba',\r\n 324010: 'Konstravimo rinkinių gamyba',\r\n 324020: 'Plastikinių žaislų gamyba',\r\n 324030: 'Medinių žaislų gamyba',\r\n 324040: 'Kimštinių žaislų gamyba',\r\n 324050: 'Stalo arba kambario žaidimų gamyba',\r\n 324060: 'Plastikinių triračių ir kitų žaislų su ratukais gamyba',\r\n 324070: 'Elektrinių žaislų ir žaidimų gamyba',\r\n 325000:\r\n 'Medicinos ir odontologijos prietaisų, instrumentų ir reikmenų gamyba',\r\n 325010: 'Odontologinio cemento gamyba',\r\n 325020: 'Ortopedinių ir kitokių įtaisų gamyba',\r\n 325030: 'Protezų gamyba',\r\n 329000: 'Niekur kitur nepriskirta gamyba',\r\n 329100: 'Šluotų ir šepečių gamyba',\r\n 329900: 'Kita, niekur kitur nepriskirta, gamyba',\r\n 329910: 'Medinių karstų ir kitų laidojimo reikmenų gamyba',\r\n 330000: 'Mašinų ir įrangos remontas ir įrengimas',\r\n 331000: 'Metalo gaminių, mašinų ir įrangos remontas',\r\n 331100: 'Metalo gaminių remontas',\r\n 331200: 'Mašinų remontas',\r\n 331300: 'Elektroninės ir optinės įrangos remontas',\r\n 331400: 'Elektros įrangos remontas',\r\n 331500: 'Įvairių tipų laivų remontas ir techninė priežiūra',\r\n 331600: 'Orlaivių ir erdvėlaivių remontas ir techninė priežiūra',\r\n 331700: 'Kitų transporto priemonių remontas ir techninė priežiūra',\r\n 331900: 'Kitos įrangos remontas',\r\n 332000: 'Pramoninių mašinų ir įrangos įrengimas',\r\n 451000: 'Variklinių transporto priemonių pardavimas',\r\n 451100: 'Automobilių ir lengvųjų variklinių transporto priemonių pardavimas',\r\n 451900: 'Kitų variklinių transporto priemonių pardavimas',\r\n 453000:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų pardavimas',\r\n 453200:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų mažmeninė prekyba',\r\n 454000:\r\n 'Motociklų ir jų atsarginių dalių bei pagalbinių reikmenų pardavimas, techninė priežiūra ir remontas',\r\n 470000:\r\n 'Mažmeninė prekyba, išskyrus variklinių transporto priemonių ir motociklų prekybą',\r\n 471000: 'Mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 471900: 'Kita mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 472600: 'Tabako gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 474000:\r\n 'Informacijos ir ryšių technologijų (IRT) įrangos mažmeninė prekyba specializuotose parduotuvėse ',\r\n 474100:\r\n 'Kompiuterių, jų išorinės ir programinės įrangos mažmeninė prekyba specializuotose parduotuvėse ',\r\n 474200:\r\n 'Telekomunikacijų įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474300:\r\n 'Garso ir vaizdo įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475000:\r\n 'Kitos namų ūkio įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475100: 'Tekstilės gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 475200:\r\n 'Metalo dirbinių, dažų ir stiklo mažmeninė prekyba specializuotose parduotuvėse',\r\n 475210: 'Dažų, lakų ir politūrų mažmeninė prekyba',\r\n 475220: 'Plokščiojo stiklo mažmeninė prekyba',\r\n 475230: 'Statybinių medžiagų mažmeninė prekyba',\r\n 475240: 'Medžiagų ir smulkiojo remonto darbams įrangos mažmeninė prekyba',\r\n 475300:\r\n 'Kilimų, kilimėlių, sienų ir grindų dangų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475400:\r\n 'Elektrinių buitinių aparatų ir prietaisų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475900:\r\n 'Baldų, apšvietimo įrangos ir kitų namų ūkio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476000:\r\n 'Kultūros ir poilsio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476100: 'Knygų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476200:\r\n 'Laikraščių ir raštinės reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476300:\r\n 'Muzikos ir vaizdo įrašų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476400: 'Sporto įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 476500: 'Žaidimų ir žaislų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477000: 'Kitų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477100: 'Drabužių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477200:\r\n 'Avalynės ir odos gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477400:\r\n 'Medicinos ir ortopedinių prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477500:\r\n 'Kosmetikos ir tualeto reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477600:\r\n 'Gėlių, sodinukų, sėklų, trąšų, naminių gyvūnėlių ir jų ėdalo mažmeninė prekyba specializuotose parduotuvėse ',\r\n 477700:\r\n 'Laikrodžių, papuošalų ir juvelyrinių dirbinių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477800: 'Kita naujų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477810:\r\n 'Suvenyrų, meno dirbinių ir religinių reikmenų specializuota mažmeninė prekyba',\r\n 477820:\r\n 'Buitinio skystojo kuro, dujų balionų, anglies ir malkų specializuota mažmeninė prekyba',\r\n 477890: 'Kita specializuota mažmeninė prekyba',\r\n 477900: 'Naudotų daiktų mažmeninė prekyba parduotuvėse',\r\n 477910: 'Antikvarinių daiktų mažmeninė prekyba',\r\n 478000: 'Mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478200:\r\n 'Tekstilės, drabužių ir avalynės mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478900: 'Kitų prekių mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 479000: 'Mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479900: 'Kita mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479910: 'Mažmeninė prekyba per keliaujančius firmos atstovus',\r\n 479920: 'Mažmeninė prekyba iš automatų smulkioms prekėms pardavinėti',\r\n 493000: 'Kitas keleivinis sausumos transportas ',\r\n 493100: 'Keleivių vežimas miesto arba priemiestiniu sausumos transportu ',\r\n 493110: 'Keleivių vežimas autobusais mieste ar priemiestyje ',\r\n 501000: 'Jūrų ir pakrančių keleivinis vandens transportas ',\r\n 511000: 'Keleivinis oro transportas',\r\n 550000: 'Apgyvendinimo veikla ',\r\n 551000: 'Viešbučių ir panašių laikinų buveinių veikla',\r\n 552000: 'Poilsiautojų ir kita trumpalaikio apgyvendinimo veikla',\r\n 552010: 'Poilsio namų veikla',\r\n 552020: 'Vaikų poilsio stovyklų veikla',\r\n 553000:\r\n 'Poilsinių transporto priemonių, priekabų aikštelių ir stovyklaviečių veikla',\r\n 559000: 'Kita apgyvendinimo veikla',\r\n 560000: 'Maitinimo ir gėrimų teikimo veikla',\r\n 561000: 'Restoranų ir pagaminto valgio teikimo veikla',\r\n 562000:\r\n 'Pagaminto valgio tiekimas renginiams ir kitų maitinimo paslaugų veikla',\r\n 562100: 'Pagaminto valgio tiekimas renginiams',\r\n 562900: 'Kitų maitinimo paslaugų teikimas',\r\n 563000: 'Gėrimų pardavimo vartoti vietoje veikla',\r\n 591400: 'Kino filmų rodymas',\r\n 592000: 'Garso įrašymas ir muzikos įrašų leidyba ',\r\n 742000: 'Fotografavimo veikla',\r\n 771220: 'Turistinių autobusų nuoma',\r\n 772000: 'Asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772100: 'Poilsio ir sporto reikmenų nuoma ir išperkamoji nuoma',\r\n 772110: 'Pramoginių valčių nuoma',\r\n 772120: 'Jojamųjų žirgų nuoma',\r\n 772130: 'Dviračių nuoma',\r\n 772200: 'Vaizdajuosčių ir kompaktinių diskų nuoma',\r\n 772900: 'Kitų asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772910: 'Tekstilės dirbinių, drabužių ir avalynės nuoma',\r\n 772920: 'Baldų ir kitų asmeniniam naudojimui skirtų daiktų nuoma',\r\n 772930: 'Muzikos instrumentų, teatro dekoracijų ir kostiumų nuoma',\r\n 773400: 'Vandens transporto priemonių ir įrangos nuoma ir išperkamoji nuoma',\r\n 773900:\r\n 'Kitų, niekur kitur nepriskirtų, mašinų, įrangos ir materialiųjų vertybių nuoma ir išperkamoji nuoma ',\r\n 773920: 'Motociklų nuoma ',\r\n 773930: 'Automobilinių namelių nuoma ',\r\n 772140: 'Sporto įrangos nuoma',\r\n 772150: 'Kitų turizmo priemonių nuoma',\r\n 790000:\r\n 'Kelionių agentūrų, ekskursijų organizatorių, išankstinio užsakymo paslaugų ir susijusi veikla',\r\n 791000: 'Kelionių agentūrų ir ekskursijų organizatorių veikla',\r\n 791100: 'Kelionių agentūrų veikla',\r\n 791200: 'Ekskursijų organizatorių veikla',\r\n 799000: 'Kitų išankstinio užsakymo ir susijusių paslaugų veikla',\r\n 821900:\r\n 'Fotokopijavimo, dokumentų rengimo ir kita specializuota įstaigai būdingų paslaugų veikla ',\r\n 823000: 'Posėdžių ir verslo renginių organizavimas',\r\n 850000: 'Švietimas',\r\n 851000: 'Ikimokyklinis ugdymas',\r\n 851010: 'Ikimokyklinio amžiaus vaikų ugdymas',\r\n 851020: 'Priešmokyklinio amžiaus vaikų ugdymas',\r\n 855000: 'Kitas mokymas',\r\n 855100: 'Sportinis ir rekreacinis švietimas',\r\n 855200: 'Kultūrinis švietimas',\r\n 855300: 'Vairavimo mokyklų veikla',\r\n 855900: 'Kitas, niekur kitur nepriskirtas, švietimas',\r\n 860000: 'Žmonių sveikatos priežiūros veikla',\r\n 861000: 'Ligoninių veikla',\r\n 861020: 'Specializuotųjų ligoninių veikla',\r\n 862000: 'Medicininės ir odontologinės praktikos veikla',\r\n 862100: 'Bendrosios praktikos gydytojų veikla',\r\n 862200: 'Gydytojų specialistų veikla',\r\n 862300: 'Odontologinės praktikos veikla',\r\n 869000: 'Kita žmonių sveikatos priežiūros veikla',\r\n 869010:\r\n 'Viduriniojo medicinos personalo paslaugų teikiamas ligoniams ne ligoninėse',\r\n 889100: 'Vaikų dienos priežiūros veikla',\r\n 900000: 'Kūrybinė, meninė ir pramogų organizavimo veikla',\r\n 900100: 'Scenos pastatymų veikla',\r\n 900200: 'Scenos pastatymams būdingų paslaugų veikla',\r\n 900300: 'Meninė kūryba',\r\n 900400: 'Meno įrenginių eksploatavimo veikla',\r\n 910000: 'Bibliotekų, archyvų, muziejų ir kita kultūrinė veikla ',\r\n 910100: 'Bibliotekų ir archyvų veikla ',\r\n 910200: 'Muziejų veikla',\r\n 910300:\r\n 'Istorinių vietų ir pastatų bei panašių turistų lankomų vietų eksploatavimas',\r\n 910400: 'Botanikos ir zoologijos sodų bei gamtos rezervatų veikla',\r\n 910410: 'Zoologijos sodų veikla',\r\n 910420: 'Botanikos sodų veikla',\r\n 930000: 'Sportinė veikla, pramogų ir poilsio organizavimo veikla',\r\n 931000: 'Sportinė veikla',\r\n 931100: 'Sporto įrenginių eksploatavimas',\r\n 931200: 'Sporto klubų veikla',\r\n 931300: 'Kūno rengybos centrų veikla',\r\n 931900: 'Kita sportinė veikla',\r\n 931920: 'Sportinė ar mėgėjų žvejyba bei su ja susijusi veikla ',\r\n 932000: 'Pramogų ir poilsio organizavimo veikla',\r\n 932100: 'Atrakcionų ir teminių parkų veikla',\r\n 932900: 'Kita pramogų ir poilsio organizavimo veikla',\r\n 950000: 'Kompiuterių ir asmeninių bei namų ūkio reikmenų taisymas',\r\n 951000: 'Kompiuterių ir ryšių įrangos remontas',\r\n 951100: 'Kompiuterių ir išorinės įrangos remontas',\r\n 951200: 'Ryšių įrangos remontas',\r\n 951210: 'Ryšio sistemų techninė priežiūra',\r\n 952000: 'Asmeninių ir namų ūkio reikmenų taisymas',\r\n 952100: 'Vartotojiškos elektroninės įrangos remontas',\r\n 952200: 'Buitinių aparatų ir prietaisų, namų bei sodo įrangos remontas',\r\n 952300: 'Avalynės ir odos gaminių taisymas',\r\n 952400: 'Baldų ir interjero reikmenų taisymas',\r\n 952500: 'Įvairių tipų laikrodžių ir juvelyrinių dirbinių taisymas',\r\n 952900: 'Kitų asmeninių ir namų ūkio reikmenų taisymas',\r\n 960000: 'Kita asmenų aptarnavimo veikla',\r\n 960100: 'Tekstilės ir kailių gaminių skalbimas ir (sausasis) valymas',\r\n 960200: 'Kirpyklų ir kitų grožio salonų veikla',\r\n 960400: 'Fizinės gerovės užtikrinimo veikla',\r\n 960900: 'Kita, niekur kitur nepriskirta, asmenų aptarnavimo veikla',\r\n 493900: 'Kitas, niekur kitur nepriskirtas, keleivinis sausumos transportas',\r\n};\r\n\r\nexport const cSectorEvrk = [\r\n 100000, 101000, 101100, 101200, 101300, 101310, 102000, 103000, 103100,\r\n 103110, 103200, 103900, 104000, 104100, 104200, 105000, 105100, 105200,\r\n 106000, 106100, 106110, 106120, 106200, 106210, 106220, 107000, 107100,\r\n 107200, 107300, 108000, 108100, 108200, 108300, 108400, 108410, 108500,\r\n 108600, 108900, 108910, 109000, 109100, 109200, 110000, 110100, 110200,\r\n 110300, 110400, 110500, 110600, 110700, 110710, 110720, 120000, 130000,\r\n 131000, 132000, 132010, 132020, 133000, 139000, 139100, 139200, 139300,\r\n 139400, 139500, 139600, 139900, 140000, 141000, 141100, 141200, 141300,\r\n 141310, 141320, 141400, 141900, 141910, 141920, 141930, 142000, 143000,\r\n 143100, 143900, 150000, 151000, 151100, 151110, 151120, 151130, 151200,\r\n 152000, 160000, 161000, 161010, 162000, 162100, 162110, 162120, 162200,\r\n 162300, 162310, 162320, 162330, 162400, 162410, 162900, 170000, 171000,\r\n 171100, 171200, 172000, 172100, 172200, 172210, 172300, 172310, 172320,\r\n 172400, 172900, 172910, 180000, 181000, 181100, 181200, 181300, 181400,\r\n 182000, 182000, 190000, 191000, 192000, 192010, 192020, 192030, 192040,\r\n 200000, 201000, 201100, 201200, 201300, 201400, 201500, 201510, 201520,\r\n 201530, 201600, 201700, 202000, 202010, 203000, 203000, 203010, 203020,\r\n 204000, 204100, 204200, 205000, 205100, 205200, 205300, 205900, 205910,\r\n 205920, 205930, 205940, 206000, 210000, 211010, 212000, 212010, 212020,\r\n 220000, 221000, 221100, 221900, 222000, 222100, 222200, 222300, 222900,\r\n 230000, 231000, 231100, 231200, 231300, 231310, 231400, 231900, 231910,\r\n 232000, 232000, 233000, 233100, 233110, 233120, 233200, 234000, 234100,\r\n 234200, 234300, 234400, 234900, 235000, 235100, 235200, 236000, 236100,\r\n 236200, 236300, 236400, 236500, 236900, 237000, 239000, 239100, 239900,\r\n 239910, 239920, 239930, 239940, 240000, 241000, 242000, 243000, 243100,\r\n 243200, 243300, 243400, 244000, 244100, 244200, 244300, 244400, 244500,\r\n 244600, 245000, 245100, 245200, 245300, 245400, 250000, 251000, 251100,\r\n 251200, 252000, 252100, 252900, 252910, 253000, 254000, 255000, 256000,\r\n 256100, 256200, 257000, 257100, 257200, 257300, 259000, 259100, 259200,\r\n 259300, 259400, 259900, 260000, 261000, 261100, 261200, 262000, 263000,\r\n 264000, 265000, 265100, 265110, 265120, 265130, 265140, 265200, 266000,\r\n 267000, 268000, 270000, 271000, 271100, 271200, 272000, 273000, 273100,\r\n 273200, 273300, 274000, 275000, 275100, 275200, 279000, 280000, 281000,\r\n 281100, 281200, 281300, 281400, 281500, 282000, 282100, 282200, 282300,\r\n 282400, 282500, 282900, 283000, 284000, 284100, 284900, 289000, 289100,\r\n 289200, 289300, 289400, 289500, 289600, 289900, 290000, 291000, 292000,\r\n 293000, 293100, 293200, 300000, 301000, 301100, 301200, 302000, 303000,\r\n 304000, 309000, 309100, 309200, 309900, 310000, 310100, 310200, 310300,\r\n 310900, 320000, 321000, 321100, 321200, 321300, 322000, 323000, 324000,\r\n 324010, 324020, 324030, 324040, 324050, 324060, 324070, 325000, 325010,\r\n 325020, 325030, 329000, 329100, 329900, 329910, 330000, 331000, 331100,\r\n 331200, 331300, 331400, 331500, 331600, 331700, 331900, 332000,\r\n];\r\n\r\nexport const supportedActivity = [\r\n 451000, 451100, 451900, 453000, 453200, 454000, 470000, 471000, 471900,\r\n 472600, 474000, 474100, 474200, 474300, 475000, 475100, 475200, 475210,\r\n 475220, 475230, 475240, 475300, 475400, 475900, 476000, 476100, 476200,\r\n 476300, 476400, 476500, 477000, 477100, 477200, 477400, 477500, 477600,\r\n 477700, 477800, 477810, 477820, 477890, 477900, 477910, 478000, 478200,\r\n 478900, 479000, 479900, 479910, 479920, 493000, 493100, 493110, 501000,\r\n 511000, 550000, 551000, 552000, 552010, 552020, 553000, 559000, 560000,\r\n 561000, 562000, 562100, 562900, 563000, 591400, 592000, 742000, 771220,\r\n 772000, 772100, 772110, 772120, 772130, 772200, 772900, 772910, 772920,\r\n 772930, 773400, 773900, 773920, 773930, 772140, 772150, 790000, 791000,\r\n 791100, 791200, 799000, 821900, 823000, 850000, 851000, 851010, 851020,\r\n 855000, 855100, 855200, 855300, 855900, 860000, 861000, 861020, 862000,\r\n 862100, 862200, 862300, 869000, 869010, 889100, 900000, 900100, 900200,\r\n 900300, 900400, 910000, 910100, 910200, 910300, 910400, 910410, 910420,\r\n 930000, 931000, 931100, 931200, 931300, 931900, 931920, 932000, 932100,\r\n 932900, 950000, 951000, 951100, 951200, 951210, 952000, 952100, 952200,\r\n 952300, 952400, 952500, 952900, 960000, 960100, 960200, 960400, 960900,\r\n 493900,\r\n];\r\n\r\nexport const evrkFull = {\r\n '010000':\r\n 'Augalininkystė ir gyvulininkystė, medžioklė ir susijusių paslaugų veikla',\r\n '011000': 'Vienmečių augalų auginimas',\r\n '011100':\r\n 'Grūdinių (išskyrus ryžius), ankštinių ir aliejingų sėklų augalų auginimas',\r\n '011200': 'Ryžių auginimas',\r\n '011300': 'Daržovių ir melionų, šakniavaisių ir gumbavaisių auginimas',\r\n '011310': 'Bulvių auginimas',\r\n '011320': 'Cukrinių runkelių auginimas',\r\n '011330': 'Daržovių auginimas atvirame grunte',\r\n '011340': 'Daržovių auginimas uždarame grunte',\r\n '011350': 'Daržovių sėklų gavyba',\r\n '011360': 'Grybų ir valgomųjų trumų auginimas',\r\n '011400': 'Cukranendrių auginimas',\r\n '011500': 'Tabako auginimas',\r\n '011600': 'Pluoštinių augalų auginimas',\r\n '011900': 'Kitų vienmečių augalų auginimas',\r\n '011910': 'Gėlių auginimas',\r\n '012000': 'Daugiamečių augalų auginimas',\r\n '012100': 'Vynuogių auginimas',\r\n '012200': 'Tropinių ir subtropinių vaisių ir uogų auginimas',\r\n '012300': 'Citrusų vaisių auginimas',\r\n '012400': 'Sėklavaisių ir kaulavaisių auginimas',\r\n '012500': 'Kitų vaismedžių, uogakrūmių ir riešutmedžių vaisių auginimas',\r\n '012600': 'Aliejinių augalų vaisių ir uogų auginimas',\r\n '012700': 'Gėrimams gaminti vartojamų augalų auginimas',\r\n '012800':\r\n 'Prieskoninių, kvapiųjų, vaistinių ir kitokių farmacijos pramonėje naudojamų augalų auginimas',\r\n '012900': 'Kitų daugiamečių augalų auginimas',\r\n '013000': 'Augalų dauginimas',\r\n '014000': 'Gyvulininkystė',\r\n '014100': 'Pieninių galvijų auginimas',\r\n '014200': 'Kitų galvijų ir buivolų auginimas',\r\n '014210': 'Galvijų auginimas ir penėjimas mėsai',\r\n '014220': 'Veislinių telyčių auginimas',\r\n '014230': 'Veislinių bulių auginimas',\r\n '014240': 'Veislinių bulių spermos gavyba',\r\n '014300': 'Arklių ir kitų kanopinių gyvūnų auginimas',\r\n '014400': 'Kupranugarių ir Camelidae šeimos gyvūnų auginimas',\r\n '014500': 'Avių ir ožkų auginimas',\r\n '014510': 'Avių auginimas',\r\n '014520': 'Ožkų auginimas',\r\n '014600': 'Kiaulių auginimas',\r\n '014610': 'Kiaulių auginimas ir penėjimas mėsai',\r\n '014620': 'Veislinių kiaulių auginimas',\r\n '014700': 'Naminių paukščių auginimas',\r\n '014710': 'Naminių paukščių auginimas mėsai ir kiaušinių gavybai',\r\n '014720': 'Veislinių naminių paukščių auginimas',\r\n '014900': 'Kitų gyvūnų auginimas',\r\n '014910': 'Švelniakailių žvėrelių auginimas',\r\n '014920': 'Bitininkystė',\r\n '014930': 'Vynuoginių sraigių ir sliekų auginimas',\r\n '015000': 'Mišrusis žemės ūkis',\r\n '016000': 'Žemės ūkiui būdingų paslaugų ir derliaus apdorojimo veikla',\r\n '016100': 'Augalininkystei būdingų paslaugų veikla',\r\n '016110':\r\n 'Augalų apsaugos nuo ligų, kenkėjų ir piktžolių žemės ūkio paslaugų veikla',\r\n '016120': 'Žemės ūkio augalų tręšimas mineralinėmis ir organinėmis trąšomis',\r\n '016200': 'Gyvulininkystei būdingų paslaugų veikla',\r\n '016210': 'Dirbtinio apsėklinimo veikla',\r\n '016300': 'Derliaus apdorojimo veikla',\r\n '016400': 'Sėklininkystė',\r\n '017000': 'Medžioklė, gaudymas spąstais ir susijusių paslaugų veikla',\r\n '020000': 'Miškininkystė ir medienos ruoša',\r\n '021000': 'Miško medžių auginimas ir kita miškininkystės veikla',\r\n '022000': 'Medienos ruoša',\r\n '023000': 'Laukinių nemedieninių medžių produktų rinkimas',\r\n '023000': 'Laukinių nemedieninių produktų rinkimas',\r\n '023010': 'Miško grybų rinkimas',\r\n '023020': 'Riešutų ir miško uogų rinkimas',\r\n '024000': 'Miškininkystei būdingų paslaugų veikla',\r\n '030000': 'Žvejyba ir akvakultūra',\r\n '031000': 'Žvejyba',\r\n '031100': 'Jūrinė žvejyba',\r\n '031110': 'Žuvų perdirbimas žvejybiniuose laivuose',\r\n '031200': 'Gėlųjų vandenų žvejyba',\r\n '032000': 'Akvakultūra',\r\n '032100': 'Jūrinė akvakultūra',\r\n '032200': 'Gėlųjų vandenų akvakultūra',\r\n '050000': 'Akmens anglių ir rusvųjų anglių kasyba',\r\n '051000': 'Juodųjų akmens anglių (antracito) kasyba',\r\n '052000': 'Rusvųjų anglių kasyba',\r\n '060000': 'Žalios naftos ir gamtinių dujų gavyba',\r\n '061000': 'Žalios naftos gavyba',\r\n '062000': 'Gamtinių dujų gavyba',\r\n '070000': 'Metalų rūdų kasyba',\r\n '071000': 'Geležies rūdų kasyba',\r\n '072000': 'Spalvotųjų metalų rūdų kasyba',\r\n '072100': 'Urano ir torio rūdų kasyba',\r\n '072900': 'Kitų spalvotųjų metalų rūdų kasyba',\r\n '080000': 'Kita kasyba ir karjerų eksploatavimas',\r\n '081000': 'Akmens, smėlio ir molio karjerų eksploatavimas',\r\n '081100':\r\n 'Dekoratyvinio ir statybinio akmens, klinčių, gipso, kreidos ir skalūno karjerų eksploatavimas',\r\n '081200': 'Smėlio ir žvyro karjerų eksploatavimas; molio ir kaolino kasyba',\r\n '089000': 'Niekur kitur nepriskirta kasyba ir karjerų eksploatavimas',\r\n '089100': 'Mineralinių iškasenų chemijos pramonei ir trąšoms gaminti kasyba',\r\n '089200': 'Durpių gavyba',\r\n '089300': 'Druskos gavyba',\r\n '089900': 'Kita, niekur kitur nepriskirta, kasyba ir karjerų eksploatavimas',\r\n '090000': 'Kasybai būdingų paslaugų veikla',\r\n '091000': 'Naftos ir gamtinių dujų gavybai būdingų paslaugų veikla',\r\n '091010': 'Gamtinių dujų parengimas transportuoti (gabenti)',\r\n '099000': 'Kitai kasybai ir karjerų eksploatavimui būdingų paslaugų veikla',\r\n 100000: 'Maisto produktų gamyba',\r\n 101000: 'Mėsos perdirbimas ir konservavimas ir mėsos produktų gamyba',\r\n 101100: 'Mėsos perdirbimas ir konservavimas',\r\n 101200: 'Paukštienos perdirbimas ir konservavimas',\r\n 101300: 'Mėsos ir paukštienos produktų gamyba',\r\n 101310: 'Rūkytų mėsos ir paukštienos produktų gamyba',\r\n 102000: 'Žuvų, vėžiagyvių ir moliuskų perdirbimas ir konservavimas',\r\n 103000: 'Vaisių ir daržovių perdirbimas ir konservavimas',\r\n 103100: 'Bulvių perdirbimas ir konservavimas',\r\n 103110: 'Bulvių miltų gamyba',\r\n 103200: 'Vaisių, uogų ir daržovių sulčių gamyba',\r\n 103900: 'Kitas vaisių ir daržovių perdirbimas ir konservavimas',\r\n 104000: 'Gyvūninių ir augalinių riebalų bei aliejaus gamyba',\r\n 104100: 'Aliejaus ir riebalų gamyba',\r\n 104200: 'Margarino ir panašių valgomųjų riebalų gamyba',\r\n 105000: 'Pieno produktų gamyba',\r\n 105100: 'Pieninių veikla ir sūrių gamyba',\r\n 105200: 'Valgomųjų ledų gamyba',\r\n 106000: 'Grūdų malimo produktų, krakmolo ir krakmolo produktų gamyba',\r\n 106100: 'Grūdų malimo produktų gamyba',\r\n 106110: 'Miltų gamyba',\r\n 106120: 'Kruopų gamyba',\r\n 106200: 'Krakmolo ir krakmolo produktų gamyba',\r\n 106210: 'Gliukozės sirupo ir maltozės gamyba',\r\n 106220: 'Krakmolo gamyba',\r\n 107000: 'Kepyklos ir miltinių produktų gamyba',\r\n 107100: 'Duonos gamyba; šviežių konditerijos kepinių ir pyragaičių gamyba',\r\n 107200:\r\n 'Džiūvėsių ir sausainių gamyba; ilgai išsilaikančių konditerijos kepinių ir pyragaičių gamyba',\r\n 107300: 'Makaronų, vermišelių, kuskuso ir panašių miltinių produktų gamyba',\r\n 108000: 'Kitų maisto produktų gamyba',\r\n 108100: 'Cukraus gamyba',\r\n 108200: 'Kakavos, šokolado ir cukraus saldumynų gamyba',\r\n 108300: 'Arbatos ir kavos apdorojimas ir perdirbimas',\r\n 108400: 'Užgardų ir pagardų gamyba',\r\n 108410: 'Acto gamyba',\r\n 108500: 'Paruoštų valgių ir patiekalų gamyba',\r\n 108600: 'Homogenizuotų ir dietinių maisto produktų gamyba',\r\n 108900: 'Kitų, niekur kitur nepriskirtų, maisto produktų gamyba',\r\n 108910: 'Mielių gamyba',\r\n 109000: 'Paruoštų pašarų gyvuliams gamyba',\r\n 109100: 'Paruoštų pašarų ūkio gyvuliams gamyba',\r\n 109200: 'Paruošto ėdalo naminiams gyvūnėliams gamyba',\r\n 110000: 'Gėrimų gamyba',\r\n 110100: 'Spirito distiliavimas, rektifikavimas ir maišymas',\r\n 110200: 'Vynuogių vyno gamyba',\r\n 110300: 'Sidro ir kitokių vaisių, uogų vynų gamyba',\r\n 110400: 'Kitų nedistiliuotų fermentuotų gėrimų gamyba',\r\n 110500: 'Alaus gamyba',\r\n 110600: 'Salyklo gamyba',\r\n 110700:\r\n 'Nealkoholinių gėrimų gamyba; mineralinio ir kito, pilstomo į butelius, vandens gamyba',\r\n 110710: 'Nealkoholinių gėrimų gamyba',\r\n 110720: 'Natūralaus mineralinio ir kito, pilstomo į butelius, vandens gamyba',\r\n 120000: 'Tabako gaminių gamyba',\r\n 130000: 'Tekstilės gaminių gamyba',\r\n 131000: 'Tekstilės pluoštų paruošimas ir verpimas',\r\n 132000: 'Tekstilės audimas',\r\n 132010: 'Lininių audinių audimas',\r\n 132020: 'Sintetinių audinių audimas',\r\n 133000: 'Tekstilės apdaila',\r\n 139000: 'Kitų tekstilės gaminių ir dirbinių gamyba',\r\n 139100: 'Megztų (trikotažinių) ir nertų medžiagų gamyba',\r\n 139200: 'Gatavų tekstilės dirbinių, išskyrus drabužius, gamyba',\r\n 139300: 'Kilimų ir kilimėlių gamyba',\r\n 139400: 'Virvių, lynų, virvelių ir tinklų gamyba',\r\n 139500:\r\n 'Neaustinių medžiagų ir neaustinių medžiagų gaminių ir dirbinių, išskyrus drabužius, gamyba',\r\n 139600: 'Kitų techninės ir pramoninės tekstilės gaminių ir dirbinių gamyba',\r\n 139900:\r\n 'Kitų, niekur kitur nepriskirtų, tekstilės gaminių ir dirbinių gamyba',\r\n 140000: 'Drabužių siuvimas (gamyba)',\r\n 141000: 'Drabužių, išskyrus kailinius drabužius, siuvimas (gamyba)',\r\n 141100: 'Odinių drabužių siuvimas',\r\n 141200: 'Darbo drabužių siuvimas',\r\n 141300: 'Kitų viršutinių drabužių siuvimas',\r\n 141310: 'Vyriškų viršutinių drabužių siuvimas',\r\n 141320: 'Moteriškų viršutinių drabužių siuvimas',\r\n 141400: 'Apatinių drabužių siuvimas',\r\n 141900: 'Kitų drabužių siuvimas ir drabužių priedų gamyba',\r\n 141910: 'Vaiko drabužėlių siuvimas',\r\n 141920: 'Sportinės aprangos siuvimas',\r\n 141930: 'Kailinių kepurių ir kitų galvos apdangalų gamyba',\r\n 142000: 'Kailinių dirbinių ir gaminių gamyba',\r\n 143000: 'Megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 143100:\r\n 'Pėdkelnių, triko, kojinių ir kitų panašių megztų (trikotažinių) ir nertų gaminių bei dirbinių gamyba',\r\n 143900: 'Kitų megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 150000: 'Odos ir odos dirbinių gamyba',\r\n 151000:\r\n 'Odų rauginimas ir išdirbimas; lagaminų, rankinių, balno reikmenų ir pakinktų gamyba; kailių išdirbimas ir dažymas',\r\n 151100: 'Odų rauginimas ir išdirbimas; kailių išdirbimas ir dažymas',\r\n 151110: 'Odų rauginimas, naudojant augalines medžiagas',\r\n 151120: 'Odų rauginimas, naudojant mineralines ir chemines medžiagas',\r\n 151130: 'Odų išdirbimas',\r\n 151200:\r\n 'Lagaminų, rankinių ir panašių reikmenų, balno reikmenų ir pakinktų gamyba',\r\n 152000: 'Avalynės gamyba',\r\n 160000:\r\n 'Medienos bei medienos ir kamštienos gaminių, išskyrus baldus, gamyba; gaminių iš šiaudų ir pynimo medžiagų gamyba',\r\n 161000: 'Medienos pjaustymas ir obliavimas',\r\n 161010: 'Cheminis medienos apdorojimas konservantais',\r\n 162000:\r\n 'Gaminių ir dirbinių iš medienos, kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 162100: 'Faneravimo dangos ir medienos plokščių gamyba',\r\n 162110: 'Medienos plaušo plokščių, padengtų dekoratyvine plėvele, gamyba',\r\n 162120: 'Presuotos medienos gamyba',\r\n 162200: 'Sumontuotų parketo grindų gamyba',\r\n 162300: 'Kitų statybinių dailidžių ir stalių dirbinių gamyba',\r\n 162310: 'Fasoninių detalių ir malksnų (gontų) stogų dengimui gamyba',\r\n 162320: 'Medinių surenkamųjų statinių ar jų detalių gamyba',\r\n 162330: 'Medinių sieninių plokščių ir spintų gamyba',\r\n 162400: 'Medinės taros gamyba',\r\n 162410: 'Padėklų, stovų ir kitų medinių pakrovimo reikmenų gamyba',\r\n 162900:\r\n 'Kitų medienos gaminių gamyba; dirbinių iš kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 170000: 'Popieriaus ir popieriaus gaminių gamyba',\r\n 171000: 'Plaušienos, popieriaus ir kartono gamyba',\r\n 171100: 'Plaušienos gamyba',\r\n 171200: 'Popieriaus ir kartono gamyba',\r\n 172000: 'Popieriaus ir kartoninių gaminių gamyba',\r\n 172100:\r\n 'Gofruotojo popieriaus ir kartono bei taros iš popieriaus ir kartono gamyba',\r\n 172200: 'Buitinių ir higienos reikmenų bei tualeto reikmenų gamyba',\r\n 172210: 'Tualetinio popieriaus gamyba',\r\n 172300: 'Popierinių raštinės reikmenų gamyba',\r\n 172310: 'Kopijavimo popieriaus gamyba',\r\n 172320: 'Vokų ir atvirukų gamyba',\r\n 172400: 'Sienų apmušalų (tapetų) gamyba',\r\n 172900: 'Kitų popierinių ir kartoninių gaminių gamyba',\r\n 172910: 'Filtravimo popieriaus gamyba',\r\n 180000: 'Spausdinimas ir įrašytų laikmenų tiražavimas',\r\n 181000: 'Spausdinimas ir su spausdinimu susijusios paslaugos',\r\n 181100: 'Laikraščių spausdinimas',\r\n 181200: 'Kitas spausdinimas',\r\n 181300: 'Parengiamoji spausdinimo ir žiniasklaidos veikla',\r\n 181400: 'Įrišimas ir susijusios paslaugos',\r\n 182000: 'Įrašytų laikmenų tiražavimas',\r\n 190000: 'Kokso ir rafinuotų naftos produktų gamyba',\r\n 191000: 'Koksavimo krosnių produktų gamyba',\r\n 192000: 'Rafinuotų naftos produktų gamyba',\r\n 192010: 'Skystojo arba dujinio kuro gamyba',\r\n 192020: 'Tepalų ir kitų alyvų gamyba',\r\n 192030: 'Parafino ir techninio vazelino gamyba',\r\n 192040: 'Naftos bitumo gamyba',\r\n 200000: 'Chemikalų ir chemijos produktų gamyba',\r\n 201000:\r\n 'Pagrindinių chemikalų, trąšų ir azoto junginių, pirminių plastikų ir pirminio sintetinio kaučiuko gamyba',\r\n 201100: 'Pramoninių dujų gamyba',\r\n 201200: 'Dažiklių ir pigmentų gamyba',\r\n 201300: 'Kitų pagrindinių neorganinių chemikalų gamyba',\r\n 201400: 'Kitų pagrindinių organinių chemikalų gamyba',\r\n 201500: 'Trąšų ir azoto junginių gamyba',\r\n 201510: 'Grynųjų ar kompleksinių azoto ir fosforo trąšų gamyba',\r\n 201520: 'Karbamido gamyba',\r\n 201530: 'Amoniako gamyba',\r\n 201600: 'Pirminių plastikų gamyba',\r\n 201700: 'Pirminio sintetinio kaučiuko gamyba',\r\n 202000: 'Pesticidų ir kitų agrocheminių medžiagų gamyba',\r\n 202010: 'Dezinfekantų gamyba',\r\n 203000:\r\n 'Dažų, lakų ir panašių dangų medžiagų, spaustuvinių dažų ir mastikų gamyba',\r\n 203010: 'Emalinių dažų ir lakų gamyba',\r\n 203020: 'Organinių sudėtingų tirpiklių ir skiediklių gamyba',\r\n 204000:\r\n 'Muilo ir ploviklių, valiklių ir blizgiklių, kvepalų ir tualeto priemonių gamyba',\r\n 204100: 'Muilo ir ploviklių, valiklių ir blizgiklių gamyba',\r\n 204200: 'Kvepalų ir tualeto priemonių gamyba',\r\n 205000: 'Kitų cheminių medžiagų gamyba',\r\n 205100: 'Sprogiųjų medžiagų gamyba',\r\n 205200: 'Klijų gamyba',\r\n 205300: 'Eterinio aliejaus gamyba',\r\n 205900: 'Kitų, niekur kitur nepriskirtų, cheminių medžiagų gamyba',\r\n 205910: 'Lydymo, litavimo ar suvirinimo miltelių ir pastų gamyba',\r\n 205920:\r\n 'Aktyvintų anglių, tepalų priedų, paruoštų kaučiuko vulkanizavimo greitiklių, katalizatorių gamyba',\r\n 205930: 'Antidetonatorių, antifrizų, skysčių hidraulinėms sistemoms gamyba',\r\n 205940: 'Rašalo ir tušo gamyba',\r\n 206000: 'Cheminių pluoštų gamyba',\r\n 210000: 'Pagrindinių vaistų pramonės gaminių ir farmacinių preparatų gamyba',\r\n 211000: 'Pagrindinių vaistų pramonės gaminių gamyba',\r\n 211010: 'Narkotinių medžiagų gamyba',\r\n 212000: 'Farmacinių preparatų gamyba',\r\n 212010: 'Vaistų gamyba',\r\n 212020: 'Veterinarinių vaistų gamyba',\r\n 220000: 'Guminių ir plastikinių gaminių gamyba',\r\n 221000: 'Guminių gaminių gamyba',\r\n 221100:\r\n 'Guminių padangų ir kamerų gamyba; guminių padangų restauravimas ir atnaujinimas',\r\n 221900: 'Kitų guminių gaminių gamyba',\r\n 222000: 'Plastikinių gaminių gamyba',\r\n 222100: 'Plastikinių plokščių, lakštų, vamzdžių ir profiliuočių gamyba',\r\n 222200: 'Plastikinių pakuočių gamyba',\r\n 222300: 'Plastikinių statybos dirbinių gamyba',\r\n 222900: 'Kitų plastikinių gaminių gamyba',\r\n 230000: 'Kitų nemetalo mineralinių produktų gamyba',\r\n 231000: 'Stiklo ir stiklo gaminių bei dirbinių gamyba',\r\n 231100: 'Plokščiojo stiklo gamyba',\r\n 231200: 'Plokščiojo stiklo pjaustymas ir apdorojimas',\r\n 231300: 'Tuščiavidurio stiklo gamyba',\r\n 231310: 'Stiklinių talpyklų gamyba',\r\n 231400: 'Stiklo pluoštų gamyba',\r\n 231900:\r\n 'Kito stiklo, įskaitant skirto techninėms reikmėms, gamyba ir apdorojimas',\r\n 231910:\r\n 'Stiklinių izoliatorių ir stiklinių izoliacinių jungiamųjų detalių gamyba',\r\n 232000: 'Ugniai atsparių gaminių gamyba',\r\n 233000: 'Statybinių medžiagų iš molio gamyba',\r\n 233100: 'Keraminių apdailos ir šaligatvio plytelių gamyba',\r\n 233110: 'Koklių gamyba',\r\n 233120: 'Keraminių grindinio dangų gamyba',\r\n 233200: 'Degto molio plytų, plytelių ir statybinių dirbinių gamyba',\r\n 234000: 'Kitų porcelianinių ir keraminių gaminių bei dirbinių gamyba',\r\n 234100: 'Keraminių buities ir puošybos gaminių bei dirbinių gamyba',\r\n 234200: 'Keraminių santechnikos gaminių ir dirbinių gamyba',\r\n 234300: 'Keraminių izoliatorių ir keraminių izoliacinių detalių gamyba',\r\n 234400: 'Kitų techninės paskirties keraminių gaminių ir dirbinių gamyba',\r\n 234900: 'Kitų keraminių gaminių ir dirbinių gamyba',\r\n 235000: 'Cemento, kalkių ir gipso gamyba',\r\n 235100: 'Cemento gamyba',\r\n 235200: 'Kalkių ir gipso gamyba',\r\n 236000: 'Betono, cemento ir gipso gaminių bei dirbinių gamyba',\r\n 236100: 'Betono gaminių, skirtų statybinėms reikmėms, gamyba',\r\n 236200: 'Gipso gaminių, naudojamų statybinėms reikmėms, gamyba',\r\n 236300: 'Prekinio betono mišinio gamyba',\r\n 236400: 'Statybinių skiedinių gamyba',\r\n 236500: 'Fibrolito gamyba',\r\n 236900: 'Kitų betono, gipso ir cemento gaminių bei dirbinių gamyba',\r\n 237000: 'Akmens pjaustymas, tašymas ir apdailinimas',\r\n 239000:\r\n 'Abrazyvinių gaminių ir niekur kitur nepriskirtų nemetalo mineralinių produktų gamyba',\r\n 239100: 'Abrazyvinių gaminių gamyba',\r\n 239900:\r\n 'Kitų, niekur kitur nepriskirtų, nemetalo mineralinių produktų gamyba',\r\n 239910: 'Asbestinio pluošto, verpalų ir audinių bei gaminių iš jų gamyba',\r\n 239920: 'Frikcinių medžiagų ir jų gaminių gamyba',\r\n 239930: 'Mineralinių izoliacinių medžiagų gamyba',\r\n 239940: 'Dirbinių iš bitumo gamyba',\r\n 240000: 'Pagrindinių metalų gamyba',\r\n 241000: 'Tomo ketaus ir plieno bei ferolydinių gamyba',\r\n 242000:\r\n 'Plieninių vamzdžių, vamzdelių, tuščiavidurių profilių ir susijusių jungiamųjų detalių gamyba',\r\n 243000: 'Kitų plieno pirminio apdirbimo gaminių gamyba',\r\n 243100: 'Šaltasis strypų tempimas',\r\n 243200: 'Šaltasis siaurų juostų valcavimas',\r\n 243300: 'Šaltasis formavimas ar lankstymas',\r\n 243400: 'Šaltasis vielos tempimas',\r\n 244000: 'Pagrindinių tauriųjų ir kitų spalvotųjų metalų gamyba',\r\n 244100: 'Tauriųjų metalų gamyba',\r\n 244200: 'Aliuminio gamyba',\r\n 244300: 'Švino, cinko ir alavo gamyba',\r\n 244400: 'Vario gamyba',\r\n 244500: 'Kitų spalvotųjų metalų gamyba',\r\n 244600: 'Branduolinio kuro perdirbimas',\r\n 245000: 'Metalų liejinių gamyba',\r\n 245100: 'Geležies liejinių gamyba',\r\n 245200: 'Plieno liejinių gamyba',\r\n 245300: 'Lengvųjų metalų liejinių gamyba',\r\n 245400: 'Kitų spalvotųjų metalų liejinių gamyba',\r\n 250000: 'Metalo gaminių, išskyrus mašinas ir įrenginius, gamyba',\r\n 251000: 'Konstrukcinių metalo gaminių gamyba',\r\n 251100: 'Metalo konstrukcijų ir jų dalių gamyba',\r\n 251200: 'Metalinių durų ir langų gamyba',\r\n 252000: 'Metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252100: 'Centrinio šildymo radiatorių ir katilų gamyba',\r\n 252900: 'Kitų metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252910: 'Metalinių talpyklų suslėgtosioms ar suskystintosioms dujoms gamyba',\r\n 253000:\r\n 'Garo generatorių, išskyrus centrinio šildymo karšto vandens katilus, gamyba',\r\n 254000: 'Ginklų ir šaudmenų gamyba',\r\n 255000:\r\n 'Metalo kalimas, presavimas, štampavimas ir profiliavimas; miltelių metalurgija',\r\n 256000: 'Metalų apdorojimas ir dengimas; mechaninis apdirbimas',\r\n 256100: 'Metalų apdorojimas ir dengimas',\r\n 256200: 'Mechaninis apdirbimas',\r\n 257000: 'Valgomųjų įrankių, kitų įrankių ir bendrųjų metalo dirbinių gamyba',\r\n 257100: 'Valgomųjų ir kitų pjovimo įrankių gamyba',\r\n 257200: 'Spynų ir vyrių gamyba',\r\n 257300: 'Kitų įrankių gamyba',\r\n 259000: 'Kitų metalo gaminių gamyba',\r\n 259100: 'Plieninių statinių ir panašių talpyklų gamyba',\r\n 259200: 'Lengvųjų metalų taros gamyba',\r\n 259300: 'Vielos gaminių, grandinių ir spyruoklių gamyba',\r\n 259400: 'Tvirtinimo detalių ir sriegimo mašinų gaminių gamyba',\r\n 259900: 'Kitų, niekur kitur nepriskirtų, metalo gaminių gamyba',\r\n 260000: 'Kompiuterinių, elektroninių ir optinių gaminių gamyba',\r\n 261000: 'Elektroninių komponentų ir plokščių gamyba',\r\n 261100: 'Elektroninių komponentų gamyba',\r\n 261200: 'Sumontuotų elektroninių plokščių gamyba',\r\n 262000: 'Kompiuterių ir išorinės įrangos gamyba',\r\n 263000: 'Ryšių įrangos gamyba',\r\n 264000: 'Vartotojiškos elektroninės įrangos gamyba',\r\n 265000:\r\n 'Matavimo, bandymo, navigacinės ir kontrolės įrangos gamyba; įvairių tipų laikrodžių gamyba',\r\n 265100:\r\n 'Matavimo, bandymo, navigacinės ir kontrolės įrangos prietaisų ir aparatų gamyba',\r\n 265110: 'Elektros skaitiklių gamyba',\r\n 265120: 'Vandens skaitiklių gamyba',\r\n 265130: 'Dujų skaitiklių gamyba',\r\n 265140: 'Automatinio reguliavimo ir kontrolės prietaisų gamyba',\r\n 265200: 'Įvairių tipų laikrodžių gamyba',\r\n 266000: 'Švitinimo, elektromedicininės ir elektroterapinės įrangos gamyba',\r\n 267000: 'Optinių prietaisų ir fotografijos įrangos gamyba',\r\n 268000: 'Magnetinių ir optinių laikmenų gamyba',\r\n 270000: 'Elektros įrangos gamyba',\r\n 271000:\r\n 'Elektros variklių, generatorių, transformatorių bei elektros skirstomosios ir valdymo įrangos gamyba',\r\n 271100: 'Elektros variklių, generatorių ir transformatorių gamyba',\r\n 271200: 'Elektros skirstomosios ir valdymo įrangos gamyba',\r\n 272000: 'Baterijų ir akumuliatorių gamyba',\r\n 273000: 'Laidų ir instaliacijos įtaisų gamyba',\r\n 273100: 'Skaidulinės optikos kabelių gamyba',\r\n 273200: 'Kitų elektronikos bei elektros laidų ir kabelių gamyba',\r\n 273300: 'Instaliacijos įtaisų gamyba',\r\n 274000: 'Elektros apšvietimo įrangos gamyba',\r\n 275000: 'Buitinių aparatų ir prietaisų gamyba',\r\n 275100: 'Buitinių elektrinių aparatų ir prietaisų gamyba',\r\n 275200: 'Buitinių neelektrinių aparatų ir prietaisų gamyba',\r\n 279000: 'Kitos elektros įrangos gamyba',\r\n 280000: 'Niekur kitur nepriskirtų mašinų ir įrangos gamyba',\r\n 281000: 'Bendrosios paskirties mašinų gamyba',\r\n 281100:\r\n 'Variklių ir turbinų, išskyrus orlaivių, transporto priemonių ir motociklų variklius, gamyba',\r\n 281200: 'Hidraulinės energijos įrangos gamyba',\r\n 281300: 'Kitų siurblių ir kompresorių gamyba',\r\n 281400: 'Kitų čiaupų ir sklendžių gamyba',\r\n 281500:\r\n 'Guolių, krumpliaračių, krumplinių pavarų ir varomųjų elementų gamyba',\r\n 282000: 'Kitų bendrosios paskirties mašinų ir įrangos gamyba',\r\n 282100: 'Orkaičių, krosnių ir krosnių degiklių gamyba',\r\n 282200: 'Kėlimo ir krovimo įrangos gamyba',\r\n 282300:\r\n 'Įstaigos mašinų ir įrangos (išskyrus kompiuterius ir išorinę įrangą) gamyba',\r\n 282400: 'Variklinių rankinių įrankių gamyba',\r\n 282500: 'Nebuitinių aušinimo ir vėdinimo įrenginių gamyba',\r\n 282900:\r\n 'Kitų, niekur kitur nepriskirtų, bendrosios paskirties mašinų ir įrangos gamyba',\r\n 283000: 'Žemės ir miškų ūkio mašinų gamyba',\r\n 284000: 'Metalo formavimo įrangos ir staklių gamyba',\r\n 284100: 'Metalo formavimo įrangos gamyba',\r\n 284900: 'Kitų staklių gamyba',\r\n 289000: 'Kitų specialiosios paskirties mašinų gamyba',\r\n 289100: 'Metalurgijos mašinų gamyba',\r\n 289200: 'Kasybos, karjerų eksploatavimo ir statybos mašinų gamyba',\r\n 289300: 'Maisto, gėrimų ir tabako apdorojimo mašinų gamyba',\r\n 289400: 'Tekstilės, drabužių ir odos gaminių gamybos mašinų gamyba',\r\n 289500: 'Popieriaus ir kartono gamybos mašinų gamyba',\r\n 289600: 'Plastikų ir gumos gamybos mašinų gamyba',\r\n 289900:\r\n 'Kitų, niekur kitur nepriskirtų, specialiosios paskirties mašinų gamyba',\r\n 290000: 'Variklinių transporto priemonių, priekabų ir puspriekabių gamyba',\r\n 291000: 'Variklinių transporto priemonių gamyba',\r\n 292000:\r\n 'Variklinių transporto priemonių kėbulų gamyba; priekabų ir puspriekabių gamyba',\r\n 293000: 'Variklinių transporto priemonių dalių ir pagalbinių reikmenų gamyba',\r\n 293100:\r\n 'Variklinių transporto priemonių elektros ir elektroninės įrangos gamyba',\r\n 293200: 'Variklinių transporto priemonių kitų dalių ir reikmenų gamyba',\r\n 300000: 'Kitų transporto priemonių ir įrangos gamyba',\r\n 301000: 'Įvairių tipų laivų statyba',\r\n 301100: 'Laivų ir plūdriųjų konstrukcijų statyba',\r\n 301200: 'Pramoginių ir sportinių katerių (laivų) statyba',\r\n 302000: 'Geležinkelio lokomotyvų bei riedmenų gamyba',\r\n 303000: 'Orlaivių ir erdvėlaivių bei susijusios įrangos gamyba',\r\n 304000: 'Karinių kovinių transporto priemonių gamyba',\r\n 309000: 'Niekur kitur nepriskirtų transporto priemonių gamyba',\r\n 309100: 'Motociklų gamyba',\r\n 309200: 'Dviračių ir invalidų vežimėlių gamyba',\r\n 309900: 'Kitos, niekur kitur nepriskirtos, transporto įrangos gamyba',\r\n 310000: 'Baldų gamyba',\r\n 310100: 'Įstaigos ir prekybos įmonių (parduotuvių) baldų gamyba',\r\n 310200: 'Virtuvės baldų gamyba',\r\n 310300: 'Čiužinių gamyba',\r\n 310900: 'Kitų baldų gamyba',\r\n 320000: 'Kita gamyba',\r\n 321000: 'Papuošalų, juvelyrinių, bižuterijos ir panašių dirbinių gamyba',\r\n 321100: 'Monetų kalimas',\r\n 321200: 'Papuošalų, juvelyrinių ir panašių dirbinių gamyba',\r\n 321300: 'Dirbtinės bižuterijos ir panašių dirbinių gamyba',\r\n 322000: 'Muzikos instrumentų gamyba',\r\n 323000: 'Sporto reikmenų gamyba',\r\n 324000: 'Žaidimų ir žaislų gamyba',\r\n 324010: 'Konstravimo rinkinių gamyba',\r\n 324020: 'Plastikinių žaislų gamyba',\r\n 324030: 'Medinių žaislų gamyba',\r\n 324040: 'Kimštinių žaislų gamyba',\r\n 324050: 'Stalo arba kambario žaidimų gamyba',\r\n 324060: 'Plastikinių triračių ir kitų žaislų su ratukais gamyba',\r\n 324070: 'Elektrinių žaislų ir žaidimų gamyba',\r\n 325000:\r\n 'Medicinos ir odontologijos prietaisų, instrumentų ir reikmenų gamyba',\r\n 325010: 'Odontologinio cemento gamyba',\r\n 325020: 'Ortopedinių ir kitokių įtaisų gamyba',\r\n 325030: 'Protezų gamyba',\r\n 329000: 'Niekur kitur nepriskirta gamyba',\r\n 329100: 'Šluotų ir šepečių gamyba',\r\n 329900: 'Kita, niekur kitur nepriskirta, gamyba',\r\n 329910: 'Medinių karstų ir kitų laidojimo reikmenų gamyba',\r\n 330000: 'Mašinų ir įrangos remontas ir įrengimas',\r\n 331000: 'Metalo gaminių, mašinų ir įrangos remontas',\r\n 331100: 'Metalo gaminių remontas',\r\n 331200: 'Mašinų remontas',\r\n 331300: 'Elektroninės ir optinės įrangos remontas',\r\n 331400: 'Elektros įrangos remontas',\r\n 331500: 'Įvairių tipų laivų remontas ir techninė priežiūra',\r\n 331600: 'Orlaivių ir erdvėlaivių remontas ir techninė priežiūra',\r\n 331700: 'Kitų transporto priemonių remontas ir techninė priežiūra',\r\n 331900: 'Kitos įrangos remontas',\r\n 332000: 'Pramoninių mašinų ir įrangos įrengimas',\r\n 350000: 'Elektros, dujų, garo tiekimas ir oro kondicionavimas',\r\n 351000: 'Elektros energijos gamyba, perdavimas ir paskirstymas',\r\n 351100: 'Elektros gamyba',\r\n 351200: 'Elektros perdavimas',\r\n 351300: 'Elektros paskirstymas',\r\n 351400: 'Elektros pardavimas',\r\n 352000: 'Dujų gamyba; dujinio kuro paskirstymas dujotiekiais',\r\n 352100: 'Dujų gamyba',\r\n 352200: 'Dujinio kuro paskirstymas dujotiekiais',\r\n 352300: 'Dujų pardavimas dujotiekiais',\r\n 353000: 'Garo tiekimas ir oro kondicionavimas',\r\n 353010: 'Garo tiekimas',\r\n 353020: 'Karšto vandens tiekimas',\r\n 360000: 'Vandens surinkimas, valymas ir tiekimas',\r\n 360010: 'Vandens surinkimas ir valymas',\r\n 360020: 'Vandens tiekimas pramonės įmonėms',\r\n 360030: 'Vandens tiekimas gyventojams',\r\n 370000: 'Nuotekų valymas',\r\n 380000: 'Atliekų surinkimas, tvarkymas ir šalinimas; medžiagų atgavimas',\r\n 381000: 'Atliekų surinkimas',\r\n 381100: 'Nepavojingų atliekų surinkimas',\r\n 381200: 'Pavojingų atliekų surinkimas',\r\n 382000: 'Atliekų tvarkymas ir šalinimas',\r\n 382100: 'Nepavojingų atliekų tvarkymas ir šalinimas',\r\n 382200: 'Pavojingų atliekų tvarkymas ir šalinimas',\r\n 383000: 'Medžiagų atgavimas',\r\n 383100: 'Mašinų duženų išmontavimas',\r\n 383200: 'Išrūšiuotų medžiagų atgavimas',\r\n 390000: 'Regeneravimas ir kita atliekų tvarkyba',\r\n 410000: 'Pastatų statyba',\r\n 411000: 'Statybų plėtra',\r\n 412000: 'Gyvenamųjų ir negyvenamųjų pastatų statyba',\r\n 412010: 'Naujų pastatų statyba',\r\n 412020: 'Pastatų remontas, restauravimas ir rekonstravimas',\r\n 420000: 'Inžinerinių statinių statyba',\r\n 421000: 'Kelių ir geležinkelių tiesimas',\r\n 421100: 'Kelių ir automagistralių tiesimas',\r\n 421110: 'Kelio dangos ir stovėjimo aikštelių ženklinimas',\r\n 421200: 'Geležinkelių ir požeminių geležinkelių tiesimas',\r\n 421300: 'Tiltų ir tunelių statyba',\r\n 422000: 'Komunalinių statinių statyba',\r\n 422100: 'Komunalinių nuotekų statinių statyba',\r\n 422200: 'Komunalinių elektros ir telekomunikacijos statinių statyba',\r\n 429000: 'Kitų inžinerinių statinių statyba',\r\n 429100: 'Vandens statinių statyba',\r\n 429900: 'Kitų, niekur kitur nepriskirtų, inžinerinių statinių statyba',\r\n 430000: 'Specializuota statybos veikla',\r\n 431000: 'Statinių nugriovimas ir statybvietės paruošimas',\r\n 431100: 'Statinių nugriovimas',\r\n 431200: 'Statybvietės paruošimas',\r\n 431210: 'Paruošiamieji žemės kasimo darbai tiesiant kelius',\r\n 431220: 'Žemės darbai statybos aikštelėse',\r\n 431230: 'Sausinimo ir drėkinimo sistemų tiesimas',\r\n 431300: 'Žvalgomasis gręžimas',\r\n 432000: 'Elektros, vandentiekio ir kitos įrangos įrengimas',\r\n 432100: 'Elektros sistemų įrengimas',\r\n 432110: 'Pastatų ir statinių elektros tinklų įrengimas',\r\n 432120: 'Gaisro pavojaus ir apsaugos signalizacijos įrengimas',\r\n 432130: 'Antenų, ryšio sistemų įrengimas',\r\n 432200: 'Vandentiekio, šildymo ir oro kondicionavimo sistemų įrengimas',\r\n 432900: 'Kitos įrangos įrengimas',\r\n 433000: 'Statybos baigimas ir apdaila',\r\n 433100: 'Tinkavimas',\r\n 433200: 'Staliaus dirbinių įrengimas',\r\n 433300: 'Grindų ir sienų dengimas',\r\n 433400: 'Dažymas ir stiklinimas',\r\n 433900: 'Kiti statybos baigiamieji ir apdailos darbai',\r\n 439000: 'Kita specializuota statybos veikla',\r\n 439100: 'Stogų dengimas',\r\n 439900: 'Kita, niekur kitur nepriskirta, specializuota statybos veikla',\r\n 450000:\r\n 'Variklinių transporto priemonių ir motociklų didmeninė ir mažmeninė prekyba bei remontas',\r\n 451000: 'Variklinių transporto priemonių pardavimas',\r\n 451100: 'Automobilių ir lengvųjų variklinių transporto priemonių pardavimas',\r\n 451900: 'Kitų variklinių transporto priemonių pardavimas',\r\n 452000: 'Variklinių transporto priemonių techninė priežiūra ir remontas',\r\n 453000:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų pardavimas',\r\n 453100:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų didmeninė prekyba',\r\n 453200:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų mažmeninė prekyba',\r\n 454000:\r\n 'Motociklų ir jų atsarginių dalių bei pagalbinių reikmenų pardavimas, techninė priežiūra ir remontas',\r\n 460000:\r\n 'Didmeninė prekyba, išskyrus prekybą variklinėmis transporto priemonėmis ir motociklais',\r\n 461000: 'Didmeninė prekyba už atlygį ar pagal sutartį',\r\n 461100:\r\n 'Žemės ūkio žaliavų, gyvų gyvulių, tekstilės žaliavų ir pusgaminių pardavimo agentų veikla',\r\n 461200:\r\n 'Degalų, rūdų, metalų ir pramoninių cheminių preparatų pardavimo agentų veikla',\r\n 461300: 'Statybinio miško ir statybinių medžiagų pardavimo agentų veikla',\r\n 461400: 'Mašinų, pramonės įrangos, laivų ir lėktuvų pardavimo agentų veikla',\r\n 461500:\r\n 'Baldų, namų ūkio reikmenų, metalo ir geležies dirbinių pardavimo agentų veikla',\r\n 461600:\r\n 'Tekstilės, drabužių, kailių, avalynės ir odos dirbinių pardavimo agentų veikla',\r\n 461700: 'Maisto produktų, gėrimų ir tabako pardavimo agentų veikla',\r\n 461800: 'Kitų specifinių produktų pardavimo agentų specializuota veikla',\r\n 461900: 'Įvairių prekių pardavimo agentų veikla',\r\n 462000: 'Žemės ūkio žaliavų ir gyvų gyvulių didmeninė prekyba',\r\n 462100:\r\n 'Grūdų, neperdirbto tabako, sėklų ir pašarų gyvuliams didmeninė prekyba',\r\n 462200: 'Gėlių ir sodinukų didmeninė prekyba',\r\n 462300: 'Gyvų gyvulių didmeninė prekyba',\r\n 462400: 'Kailių ir odų didmeninė prekyba',\r\n 463000: 'Maisto produktų, gėrimų, tabako ir jo gaminių didmeninė prekyba',\r\n 463100: 'Vaisių, uogų ir daržovių didmeninė prekyba',\r\n 463200: 'Mėsos ir mėsos produktų didmeninė prekyba',\r\n 463300:\r\n 'Pieno produktų, kiaušinių bei valgomųjų aliejaus ir riebalų didmeninė prekyba',\r\n 463400: 'Gėrimų didmeninė prekyba',\r\n 463410: 'Alkoholinių gėrimų didmeninė prekyba',\r\n 463420: 'Nealkoholinių gėrimų didmeninė prekyba',\r\n 463500: 'Tabako gaminių didmeninė prekyba',\r\n 463600: 'Cukraus, šokolado ir cukraus saldumynų didmeninė prekyba',\r\n 463700: 'Kavos, arbatos, kakavos ir prieskonių didmeninė prekyba',\r\n 463800:\r\n 'Kitų maisto produktų, įskaitant žuvis, vėžiagyvius ir moliuskus, didmeninė prekyba',\r\n 463900: 'Maisto produktų, gėrimų ir tabako nespecializuota didmeninė prekyba',\r\n 464000: 'Namų ūkio reikmenų didmeninė prekyba',\r\n 464100: 'Tekstilės gaminių didmeninė prekyba',\r\n 464200: 'Drabužių ir avalynės didmeninė prekyba',\r\n 464210: 'Guminės avalynės didmeninė prekyba',\r\n 464220: 'Odinės avalynės didmeninė prekyba',\r\n 464230: 'Kailinių gaminių didmeninė prekyba',\r\n 464240: 'Drabužių ir drabužių priedų didmeninė prekyba',\r\n 464300: 'Elektrinių buitinių aparatų arba prietaisų didmeninė prekyba',\r\n 464400:\r\n 'Porceliano ir stiklo dirbinių bei valymo priemonių didmeninė prekyba',\r\n 464410: 'Porceliano ir stiklo dirbinių didmeninė prekyba',\r\n 464420: 'Valymo priemonių didmeninė prekyba',\r\n 464500: 'Kvepalų ir kosmetikos priemonių didmeninė prekyba',\r\n 464600: 'Farmacijos prekių didmeninė prekyba',\r\n 464610:\r\n 'Chirurginių ir ortopedinių instrumentų bei protezų didmeninė prekyba',\r\n 464620: 'Vaistų ir vaistinių medžiagų didmeninė prekyba',\r\n 464700: 'Baldų, kilimų ir apšvietimo įrangos didmeninė prekyba',\r\n 464800: 'Laikrodžių, papuošalų ir juvelyrinių dirbinių didmeninė prekyba',\r\n 464900: 'Kitų namų ūkio reikmenų didmeninė prekyba',\r\n 465000: 'Informacijos ir ryšių technologijų (IRT) įrangos didmeninė prekyba',\r\n 465100: 'Kompiuterių, jų išorinės ir programinės įrangos didmeninė prekyba',\r\n 465200:\r\n 'Elektroninės ir telekomunikacinės įrangos ir jos dalių didmeninė prekyba',\r\n 466000: 'Kitų mašinų, įrangos ir reikmenų didmeninė prekyba',\r\n 466100: 'Žemės ūkio mašinų, įrangos ir reikmenų didmeninė prekyba',\r\n 466200: 'Staklių didmeninė prekyba',\r\n 466300: 'Kasybos, statybos ir statybos inžinerijos mašinų didmeninė prekyba',\r\n 466400:\r\n 'Tekstilės pramonės mašinų bei siuvamųjų ir mezgimo mašinų didmeninė prekyba',\r\n 466500: 'Įstaigos baldų didmeninė prekyba',\r\n 466600: 'Kitų įstaigos mašinų ir įrangos didmeninė prekyba',\r\n 466900: 'Kitų mašinų ir įrangos didmeninė prekyba',\r\n 467000: 'Kita specializuota didmeninė prekyba',\r\n 467100: 'Kietojo, skystojo ir dujinio kuro bei priedų didmeninė prekyba',\r\n 467110: 'Kietojo kuro didmeninė prekyba',\r\n 467120: 'Benzino didmeninė prekyba',\r\n 467130: 'Dujinio kuro didmeninė prekyba',\r\n 467140: 'Dyzelinio kuro didmeninė prekyba',\r\n 467150: 'Tepalų didmeninė prekyba',\r\n 467200: 'Metalų rūdų ir metalų didmeninė prekyba',\r\n 467300:\r\n 'Medienos, statybinių medžiagų ir sanitarinių įrenginių didmeninė prekyba',\r\n 467310: 'Popierinių sienų apmušalų didmeninė prekyba',\r\n 467400:\r\n 'Metalinių dirbinių, vandentiekio ir šildymo įrangos bei reikmenų didmeninė prekyba',\r\n 467410: 'Geležies dirbinių didmeninė prekyba',\r\n 467420: 'Vandentiekio įrangos didmeninė prekyba',\r\n 467430: 'Šildymo įrangos didmeninė prekyba',\r\n 467500: 'Chemijos produktų didmeninė prekyba',\r\n 467510: 'Agrocheminių produktų ir trąšų didmeninė prekyba',\r\n 467520:\r\n 'Ne vaistinės paskirties stipriai veikiančiųjų ir nuodingųjų medžiagų didmeninė prekyba',\r\n 467600: 'Kitų tarpinių produktų didmeninė prekyba',\r\n 467610: 'Popieriaus ritinių ir kartono didmeninė prekyba',\r\n 467620: 'Linų pluošto didmeninė prekyba',\r\n 467700: 'Atliekų ir laužo didmeninė prekyba',\r\n 469000: 'Nespecializuota didmeninė prekyba',\r\n 470000:\r\n 'Mažmeninė prekyba, išskyrus variklinių transporto priemonių ir motociklų prekybą',\r\n 471000: 'Mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 471100:\r\n 'Mažmeninė prekyba nespecializuotose parduotuvėse, kuriose vyrauja maistas, gėrimai ir tabakas',\r\n 471900: 'Kita mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 472000:\r\n 'Maisto, gėrimų ir tabako mažmeninė prekyba specializuotose parduotuvėse',\r\n 472100:\r\n 'Vaisių, uogų ir daržovių mažmeninė prekyba specializuotose parduotuvėse',\r\n 472200:\r\n 'Mėsos ir mėsos produktų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472300:\r\n 'Žuvų, vėžiagyvių ir moliuskų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472400:\r\n 'Duonos, bandelių, konditerijos gaminių ir cukraus saldumynų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472410: 'Duonos, pyrago ir kitų miltinių produktų mažmeninė prekyba',\r\n 472420: 'Konditerijos gaminių ir saldumynų mažmeninė prekyba',\r\n 472500: 'Gėrimų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472510: 'Alkoholinių gėrimų mažmeninė prekyba',\r\n 472520: 'Gaivinamųjų gėrimų mažmeninė prekyba',\r\n 472600: 'Tabako gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 472900: 'Kita maisto produktų mažmeninė prekyba specializuotose parduotuvėse',\r\n 473000: 'Automobilių degalų mažmeninė prekyba specializuotose parduotuvėse',\r\n 474000:\r\n 'Informacijos ir ryšių technologijų (IRT) įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474100:\r\n 'Kompiuterių, jų išorinės ir programinės įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474200:\r\n 'Telekomunikacijų įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474300:\r\n 'Garso ir vaizdo įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475000:\r\n 'Kitos namų ūkio įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475100: 'Tekstilės gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 475200:\r\n 'Metalo dirbinių, dažų ir stiklo mažmeninė prekyba specializuotose parduotuvėse',\r\n 475210: 'Dažų, lakų ir politūrų mažmeninė prekyba',\r\n 475220: 'Plokščiojo stiklo mažmeninė prekyba',\r\n 475230: 'Statybinių medžiagų mažmeninė prekyba',\r\n 475240: 'Medžiagų ir smulkiojo remonto darbams įrangos mažmeninė prekyba',\r\n 475300:\r\n 'Kilimų, kilimėlių, sienų ir grindų dangų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475400:\r\n 'Elektrinių buitinių aparatų ir prietaisų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475900:\r\n 'Baldų, apšvietimo įrangos ir kitų namų ūkio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476000:\r\n 'Kultūros ir poilsio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476100: 'Knygų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476200:\r\n 'Laikraščių ir raštinės reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476300:\r\n 'Muzikos ir vaizdo įrašų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476400: 'Sporto įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 476500: 'Žaidimų ir žaislų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477000: 'Kitų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477100: 'Drabužių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477200:\r\n 'Avalynės ir odos gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477300: 'Vaistinių, ruošiančių ir parduodančių vaistus, veikla',\r\n 477400:\r\n 'Medicinos ir ortopedinių prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477500:\r\n 'Kosmetikos ir tualeto reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477600:\r\n 'Gėlių, sodinukų, sėklų, trąšų, naminių gyvūnėlių ir jų ėdalo mažmeninė prekyba specializuotose parduotuvėse',\r\n 477700:\r\n 'Laikrodžių, papuošalų ir juvelyrinių dirbinių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477800: 'Kita naujų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477810:\r\n 'Suvenyrų, meno dirbinių ir religinių reikmenų specializuota mažmeninė prekyba',\r\n 477820:\r\n 'Buitinio skystojo kuro, dujų balionų, anglies ir malkų specializuota mažmeninė prekyba',\r\n 477830: 'Ginklų ir šaudmenų specializuota mažmeninė prekyba',\r\n 477840: 'Optikos prekių mažmeninė prekyba',\r\n 477890: 'Kita specializuota mažmeninė prekyba',\r\n 477900: 'Naudotų daiktų mažmeninė prekyba parduotuvėse',\r\n 477910: 'Antikvarinių daiktų mažmeninė prekyba',\r\n 478000: 'Mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478100:\r\n 'Maisto, gėrimų ir tabako gaminių mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478200:\r\n 'Tekstilės, drabužių ir avalynės mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478900: 'Kitų prekių mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 479000: 'Mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479100: 'Užsakomasis pardavimas paštu arba internetu',\r\n 479900: 'Kita mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479910: 'Mažmeninė prekyba per keliaujančius firmos atstovus',\r\n 479920: 'Mažmeninė prekyba iš automatų smulkioms prekėms pardavinėti',\r\n 490000: 'Sausumos transportas ir transportavimas vamzdynais',\r\n 491000: 'Tarpmiestinis keleivinis geležinkelio transportas',\r\n 492000: 'Krovininis geležinkelio transportas',\r\n 493000: 'Kitas keleivinis sausumos transportas',\r\n 493100: 'Keleivių vežimas miesto arba priemiestiniu sausumos transportu',\r\n 493110: 'Keleivių vežimas autobusais mieste ar priemiestyje',\r\n 493120: 'Keleivių vežimas troleibusais mieste ar priemiestyje',\r\n 493200: 'Taksi veikla',\r\n 493900: 'Kitas, niekur kitur nepriskirtas, keleivinis sausumos transportas',\r\n 494000: 'Krovininis kelių transportas ir perkraustymo veikla',\r\n 494100: 'Krovininis kelių transportas',\r\n 494200: 'Perkraustymo veikla',\r\n 495000: 'Transportavimas vamzdynais',\r\n 500000: 'Vandens transportas',\r\n 501000: 'Jūrų ir pakrančių keleivinis vandens transportas',\r\n 502000: 'Jūrų ir pakrančių krovininis vandens transportas',\r\n 503000: 'Vidaus vandenų keleivinis transportas',\r\n 504000: 'Vidaus vandenų krovininis transportas',\r\n 510000: 'Oro transportas',\r\n 511000: 'Keleivinis oro transportas',\r\n 512000: 'Krovininis oro transportas ir kosminis transportas',\r\n 512100: 'Krovininis oro transportas',\r\n 512200: 'Kosminis transportas',\r\n 520000: 'Sandėliavimas ir transportui būdingų paslaugų veikla',\r\n 521000: 'Sandėliavimas ir saugojimas',\r\n 522000: 'Transportui būdingų paslaugų veikla',\r\n 522100: 'Sausumos transportui būdingų paslaugų veikla',\r\n 522110: 'Traukinių eismo organizavimas ir reguliavimas',\r\n 522120: 'Automobilių stovėjimo aikštelių eksploatavimas',\r\n 522130: 'Techninių priemonių, reguliuojančių gatvių judėjimą, eksploatavimas',\r\n 522140: 'Gatvių, kelių, tiltų, tunelių eksploatavimas',\r\n 522150: 'Sauskelių transporto stočių eksploatavimas',\r\n 522160: 'Riedmenų techninė priežiūra ir smulkus remontas',\r\n 522170: 'Geležinkelių eksploatavimas',\r\n 522200: 'Vandens transportui būdingų paslaugų veikla',\r\n 522300: 'Oro transportui būdingų paslaugų veikla',\r\n 522400: 'Krovinių tvarkymas',\r\n 522900: 'Kita transportui būdingų paslaugų veikla',\r\n 522910: 'Muitinės tarpininkų veikla',\r\n 522920: 'Krovinių gabenimo agentų ir ekspeditorių veikla',\r\n 522930: 'Vežimo dokumentų ir kelionės lapų parengimas ir išdavimas',\r\n 530000: 'Pašto ir pasiuntinių (kurjerių) veikla',\r\n 531000:\r\n 'Pašto pagal įpareigojimą teikti universaliąsias paslaugas atliekama veikla',\r\n 532000: 'Kita pašto ir pasiuntinių (kurjerių) veikla',\r\n 550000: 'Apgyvendinimo veikla',\r\n 551000: 'Viešbučių ir panašių laikinų buveinių veikla',\r\n 552000: 'Poilsiautojų ir kita trumpalaikio apgyvendinimo veikla',\r\n 552010: 'Poilsio namų veikla',\r\n 552020: 'Vaikų poilsio stovyklų veikla',\r\n 553000:\r\n 'Poilsinių transporto priemonių, priekabų aikštelių ir stovyklaviečių veikla',\r\n 559000: 'Kita apgyvendinimo veikla',\r\n 560000: 'Maitinimo ir gėrimų teikimo veikla',\r\n 561000: 'Restoranų ir pagaminto valgio teikimo veikla',\r\n 562000:\r\n 'Pagaminto valgio tiekimas renginiams ir kitų maitinimo paslaugų veikla',\r\n 562100: 'Pagaminto valgio tiekimas renginiams',\r\n 562900: 'Kitų maitinimo paslaugų teikimas',\r\n 563000: 'Gėrimų pardavimo vartoti vietoje veikla',\r\n 580000: 'Leidybinė veikla',\r\n 581000: 'Knygų, periodinių leidinių leidyba ir kita leidybinė veikla',\r\n 581100: 'Knygų leidyba',\r\n 581200: 'Žinynų, katalogų ir adresų sąrašų leidyba',\r\n 581300: 'Laikraščių leidyba',\r\n 581400: 'Žurnalų ir periodinių leidinių leidyba',\r\n 581900: 'Kita leidyba',\r\n 582000: 'Programinės įrangos leidyba',\r\n 582100: 'Kompiuterinių žaidimų leidyba',\r\n 582900: 'Kita programinės įrangos leidyba',\r\n 590000:\r\n 'Kino filmų, vaizdo filmų ir televizijos programų gamyba, garso įrašymo ir muzikos įrašų leidybos veikla',\r\n 591000: 'Kino filmų, vaizdo filmų ir televizijos programų rengėjų veikla',\r\n 591100: 'Kino filmų, vaizdo filmų ir televizijos programų gamyba',\r\n 591200:\r\n 'Pagamintų kino filmų, vaizdo filmų ir televizijos programų meninis apipavidalinimas',\r\n 591300: 'Kino filmų, vaizdo filmų ir televizijos programų platinimas',\r\n 591400: 'Kino filmų rodymas',\r\n 592000: 'Garso įrašymas ir muzikos įrašų leidyba',\r\n 600000: 'Programų rengimas ir transliavimas',\r\n 601000: 'Radijo programų transliavimas',\r\n 602000: 'Televizijos programų rengimas ir transliavimas',\r\n 610000: 'Telekomunikacijos',\r\n 611000: 'Laidinio ryšio paslaugų veikla',\r\n 612000: 'Belaidžio ryšio paslaugų veikla',\r\n 613000: 'Palydovinio ryšio paslaugų veikla',\r\n 619000: 'Kitų ryšių paslaugų veikla',\r\n 620000: 'Kompiuterių programavimo, konsultacinė ir susijusi veikla',\r\n 620100: 'Kompiuterių programavimo veikla',\r\n 620200: 'Kompiuterių konsultacinė veikla',\r\n 620300: 'Kompiuterinės įrangos tvarkyba',\r\n 620900: 'Kita informacinių technologijų ir kompiuterių paslaugų veikla',\r\n 630000: 'Informacinių paslaugų veikla',\r\n 631000:\r\n 'Duomenų apdorojimo, interneto serverių paslaugų (prieglobos) ir susijusi veikla; interneto vartų paslaugų veikla',\r\n 631100:\r\n 'Duomenų apdorojimo, interneto serverių paslaugų (prieglobos) ir susijusi veikla',\r\n 631200: 'Interneto vartų paslaugų veikla',\r\n 639000: 'Kita informacinių paslaugų veikla',\r\n 639100: 'Naujienų agentūrų veikla',\r\n 639900: 'Kita, niekur kitur nepriskirta, informacinių paslaugų veikla',\r\n 640000:\r\n 'Finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 641000: 'Piniginis tarpininkavimas',\r\n 641100: 'Centrinė bankininkystė',\r\n 641900: 'Kitas piniginis tarpininkavimas',\r\n 642000: 'Kontroliuojančiųjų bendrovių veikla',\r\n 643000: 'Trestų, fondų ir panašių finansinių institucijų veikla',\r\n 649000:\r\n 'Kita finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 649100: 'Finansinė išperkamoji nuoma',\r\n 649200: 'Kitas kredito teikimas',\r\n 649900:\r\n 'Kita, niekur kitur nepriskirta, finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 650000:\r\n 'Draudimo, perdraudimo ir pensijų lėšų kaupimo, išskyrus privalomąjį socialinį draudimą, veikla',\r\n 651000: 'Draudimas',\r\n 651100: 'Gyvybės draudimas',\r\n 651200: 'Ne gyvybės draudimas',\r\n 651210: 'Kelionių draudimas',\r\n 652000: 'Perdraudimas',\r\n 653000: 'Pensijų lėšų kaupimas',\r\n 660000: 'Pagalbinė finansinių paslaugų ir draudimo veikla',\r\n 661000:\r\n 'Pagalbinė finansinių paslaugų, išskyrus draudimą ir pensijų lėšų kaupimą, veikla',\r\n 661100: 'Finansų rinkos valdymas',\r\n 661200: 'Vertybinių popierių ir prekių sutarčių sudarymo tarpininkavimas',\r\n 661900:\r\n 'Kita pagalbinė finansinių paslaugų, išskyrus draudimą ir pensijų lėšų kaupimą, veikla',\r\n 662000: 'Pagalbinė draudimo ir pensijų lėšų kaupimo veikla',\r\n 662100: 'Rizikos ir žalos vertinimas',\r\n 662200: 'Draudimo agentų ir brokerių veikla',\r\n 662900: 'Kita pagalbinė draudimo ir pensijų lėšų kaupimo veikla',\r\n 663000: 'Fondų valdymo veikla',\r\n 680000: 'Nekilnojamojo turto operacijos',\r\n 681000: 'Nuosavo nekilnojamojo turto pirkimas ir pardavimas',\r\n 682000: 'Nuosavo arba nuomojamo nekilnojamojo turto nuoma ir eksploatavimas',\r\n 683000: 'Nekilnojamojo turto operacijos už atlygį arba pagal sutartį',\r\n 683100: 'Nekilnojamojo turto agentūrų veikla',\r\n 683110: 'Nekilnojamojo turto vertinimas',\r\n 683200: 'Nekilnojamojo turto tvarkyba už atlygį arba pagal sutartį',\r\n 690000: 'Teisinė ir apskaitos veikla',\r\n 691000: 'Teisinė veikla',\r\n 691010:\r\n 'Konsultacijos ir juridinis atstovavimas civilinėse ir baudžiamosiose bylose',\r\n 691020: 'Konsultacijos ir atstovavimas darbo ginčuose',\r\n 691030: 'Bendrieji patarimai ir konsultacijos, teisinių dokumentų rengimas',\r\n 692000:\r\n 'Apskaitos, buhalterijos ir audito veikla; konsultacijos mokesčių klausimais',\r\n 692010: 'Buhalterinė apskaita ir audito atlikimas',\r\n 692020: 'Finansinių ataskaitų rengimas',\r\n 692030: 'Firmų ir kitų bendrovių komercinių operacijų apskaitos tvarkymas',\r\n 692040: 'Mokesčių konsultacijos',\r\n 700000: 'Pagrindinių buveinių veikla; konsultacinė valdymo veikla',\r\n 701000: 'Pagrindinių buveinių veikla',\r\n 702000: 'Konsultacinė valdymo veikla',\r\n 702100: 'Viešųjų ryšių ir komunikacijos veikla',\r\n 702200: 'Konsultacinė verslo ir kito valdymo veikla',\r\n 710000:\r\n 'Architektūros ir inžinerijos veikla; techninis tikrinimas ir analizė',\r\n 711000:\r\n 'Architektūros ir inžinerijos veikla bei su ja susijusios techninės konsultacijos',\r\n 711100: 'Architektūros veikla',\r\n 711200: 'Inžinerijos veikla ir su ja susijusios techninės konsultacijos',\r\n 711210: 'Inžinerinė - technologinė veikla',\r\n 711220: 'Projektiniai - konstruktoriniai darbai',\r\n 711230: 'Gatvių eismo projektavimas',\r\n 711240: 'Geodezinė veikla',\r\n 711250: 'Geologinės paieškos ir žvalgyba',\r\n 711260: 'Miškotvarka ir žemėtvarka',\r\n 712000: 'Techninis tikrinimas ir analizė',\r\n 712010: 'Aplinkos kontrolė, ekologinis monitoringas',\r\n 712020: 'Medžiagų bandymai ir analizė',\r\n 712030: 'Produkcijos kokybės bandymai ir analizė',\r\n 712040:\r\n 'Maisto produktų tyrimas pagal higienos reikalavimus, įskaitant veterinarinį, susijusį su maisto produktų gamyba, tyrimą ir tikrinimą',\r\n 712050:\r\n 'Variklinių transporto priemonių saugaus eismo periodinis patikrinimas',\r\n 712060: 'Matavimo priemonių patikra bei kalibravimas',\r\n 712070:\r\n 'Gaminių sertifikavimas, jų normatyvinių dokumentų reikalavimų kontrolė',\r\n 720000: 'Moksliniai tyrimai ir taikomoji veikla',\r\n 721000: 'Gamtos mokslų ir inžinerijos moksliniai tyrimai ir taikomoji veikla',\r\n 721100: 'Biotechnologijos moksliniai tyrimai ir taikomoji veikla',\r\n 721900:\r\n 'Kiti gamtos mokslų ir inžinerijos moksliniai tyrimai ir taikomoji veikla',\r\n 721910: 'Agrarinių mokslų tiriamieji ir taikomieji darbai',\r\n 721920: 'Gamtos mokslų tiriamieji ir taikomieji darbai',\r\n 721930: 'Matematikos mokslų tiriamieji ir taikomieji darbai',\r\n 721940: 'Medicinos mokslų tiriamieji ir taikomieji darbai',\r\n 721950: 'Technikos mokslų tiriamieji ir taikomieji darbai',\r\n 722000:\r\n 'Socialinių ir humanitarinių mokslų moksliniai tyrimai ir taikomoji veikla',\r\n 722010: 'Humanitarinių mokslų tiriamieji ir taikomieji darbai',\r\n 722020: 'Socialinių mokslų tiriamieji ir taikomieji darbai',\r\n 722030: 'Teologijos mokslų tiriamieji ir taikomieji darbai',\r\n 730000: 'Reklama ir rinkos tyrimas',\r\n 731000: 'Reklama',\r\n 731100: 'Reklamos agentūrų veikla',\r\n 731200: 'Atstovavimas žiniasklaidai',\r\n 732000: 'Rinkos tyrimas ir viešosios nuomonės apklausa',\r\n 740000: 'Kita profesinė, mokslinė ir techninė veikla',\r\n 741000: 'Specializuota projektavimo veikla',\r\n 742000: 'Fotografavimo veikla',\r\n 743000: 'Vertimo raštu ir žodžiu veikla',\r\n 749000:\r\n 'Kita, niekur kitur nepriskirta, profesinė, mokslinė ir techninė veikla',\r\n 750000: 'Veterinarinė veikla',\r\n 750010: 'Gyvulių ir gyvūnų stacionarinis gydymas',\r\n 750020: 'Gyvulių ir gyvūnų ambulatorinis gydymas',\r\n 750030: 'Veterinarinė diagnostinė veikla',\r\n 750040: 'Veterinarijos laboratorijų veikla',\r\n 770000: 'Nuoma ir išperkamoji nuoma',\r\n 771000: 'Variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771100:\r\n 'Automobilių ir lengvųjų variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771200:\r\n 'Sunkiasvorių variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771210: 'Krovininių automobilių nuoma',\r\n 771220: 'Turistinių autobusų nuoma',\r\n 772000: 'Asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772100: 'Poilsio ir sporto reikmenų nuoma ir išperkamoji nuoma',\r\n 772110: 'Pramoginių valčių nuoma',\r\n 772120: 'Jojamųjų žirgų nuoma',\r\n 772130: 'Dviračių nuoma',\r\n 772140: 'Sporto įrangos nuoma',\r\n 772150: 'Kitų turizmo priemonių nuoma',\r\n 772200: 'Vaizdajuosčių ir kompaktinių diskų nuoma',\r\n 772900: 'Kitų asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772910: 'Tekstilės dirbinių, drabužių ir avalynės nuoma',\r\n 772920: 'Baldų ir kitų asmeniniam naudojimui skirtų daiktų nuoma',\r\n 772930: 'Muzikos instrumentų, teatro dekoracijų ir kostiumų nuoma',\r\n 773000:\r\n 'Kitų mašinų, įrangos ir materialiųjų vertybių nuoma ir išperkamoji nuoma',\r\n 773100: 'Žemės ūkio mašinų ir įrenginių nuoma ir išperkamoji nuoma',\r\n 773200:\r\n 'Statybos ir inžinerinių statybos darbų mašinų ir įrenginių nuoma ir išperkamoji nuoma',\r\n 773300:\r\n 'Įstaigos mašinų ir įrangos, įskaitant kompiuterius, nuoma ir išperkamoji nuoma',\r\n 773310: 'Kompiuterių nuoma',\r\n 773320: 'Kopijavimo, spausdinimo ir teksto apdorojimo mašinų nuoma',\r\n 773330: 'Kasos aparatų nuoma',\r\n 773400: 'Vandens transporto priemonių ir įrangos nuoma ir išperkamoji nuoma',\r\n 773500: 'Oro transporto priemonių ir įrangos nuoma ir išperkamoji nuoma',\r\n 773900:\r\n 'Kitų, niekur kitur nepriskirtų, mašinų, įrangos ir materialiųjų vertybių nuoma ir išperkamoji nuoma',\r\n 773910: 'Geležinkelio transporto priemonių nuoma',\r\n 773920: 'Motociklų nuoma',\r\n 773930: 'Automobilinių namelių nuoma',\r\n 773940: 'Konteinerių, kilnojamųjų platformų ir padėklų nuoma',\r\n 773950: 'Pramoninių elektrinių ir neelektrinių mašinų nuoma',\r\n 773960: 'Radijo ir televizijos įrenginių nuoma',\r\n 773970: 'Ryšių įrenginių nuoma',\r\n 773980: 'Matavimo ir kontrolės įrenginių nuoma',\r\n 774000:\r\n 'Intelektinės nuosavybės ir panašių produktų, išskyrus autorių teisių saugomus objektus, išperkamoji nuoma',\r\n 780000: 'Įdarbinimo veikla',\r\n 781000: 'Įdarbinimo agentūrų veikla',\r\n 782000: 'Laikinojo įdarbinimo agentūrų veikla',\r\n 783000: 'Kitas darbo jėgos teikimas',\r\n 790000:\r\n 'Kelionių agentūrų, ekskursijų organizatorių, išankstinio užsakymo paslaugų ir susijusi veikla',\r\n 791000: 'Kelionių agentūrų ir ekskursijų organizatorių veikla',\r\n 791100: 'Kelionių agentūrų veikla',\r\n 791200: 'Ekskursijų organizatorių veikla',\r\n 799000: 'Kitų išankstinio užsakymo ir susijusių paslaugų veikla',\r\n 800000: 'Apsaugos ir tyrimo veikla',\r\n 801000: 'Privati apsauga',\r\n 802000: 'Apsaugos sistemų paslaugų veikla',\r\n 803000: 'Tyrimo veikla',\r\n 810000: 'Pastatų aptarnavimas ir kraštovaizdžio tvarkymas',\r\n 811000: 'Kombinuota patalpų funkcionavimo užtikrinimo veikla',\r\n 812000: 'Valymo veikla',\r\n 812100: 'Paprastasis pastatų valymas',\r\n 812200: 'Kita pastatų ir pramoninio valymo veikla',\r\n 812900: 'Kita valymo veikla',\r\n 813000: 'Kraštovaizdžio tvarkymas',\r\n 820000:\r\n 'Administracinė veikla, įstaigų ir kitų verslo įmonių aptarnavimo veikla',\r\n 821000: 'Įstaigų administracinė ir aptarnavimo veikla',\r\n 821100: 'Kombinuotųjų įstaigos administracinių paslaugų veikla',\r\n 821900:\r\n 'Fotokopijavimo, dokumentų rengimo ir kita specializuota įstaigai būdingų paslaugų veikla',\r\n 822000: 'Užsakomųjų informacinių paslaugų centrų veikla',\r\n 823000: 'Posėdžių ir verslo renginių organizavimas',\r\n 829000: 'Niekur kitur nepriskirta verslui būdingų paslaugų veikla',\r\n 829100: 'Išieškojimo agentūrų ir kredito biurų veikla',\r\n 829200: 'Fasavimo ir pakavimo veikla',\r\n 829900: 'Kita, niekur kitur nepriskirta, verslui būdingų paslaugų veikla',\r\n 840000: 'Viešasis valdymas ir gynyba; privalomasis socialinis draudimas',\r\n 841000:\r\n 'Valstybės valdymas ir bendroji ekonominė bei socialinė bendruomenės politika',\r\n 841100: 'Bendroji viešojo valdymo veikla',\r\n 841110: 'Lietuvos Respublikos apskričių veikla',\r\n 841120: 'Lietuvos Respublikos savivaldybių veikla',\r\n 841130: 'Lietuvos Respublikos seniūnijų veikla',\r\n 841140: 'Iždo valdymas ir priežiūra',\r\n 841150: 'Biudžeto vykdymas ir valstybinių fondų tvarkymas',\r\n 841160:\r\n 'Centrinių administracinių institucijų įstatymų leidžiamoji ir vykdomoji veikla',\r\n 841170: 'Vadovavimas muitinės tarnyboms ir jų veikla',\r\n 841180:\r\n 'Vadovavimas statistikos ir sociologijos tarnyboms įvairiuose valstybės valdymo lygiuose bei jų veikla',\r\n 841200:\r\n 'Sveikatos priežiūros, švietimo, kultūros ir kitų socialinių paslaugų, išskyrus socialinį draudimą, veiklos reguliavimas',\r\n 841300: 'Verslo veiklos reguliavimas ir parama efektyviau ją organizuoti',\r\n 842000: 'Bendruomenei teikiamų paslaugų užtikrinimas',\r\n 842100: 'Užsienio reikalai',\r\n 842200: 'Gynybos veikla',\r\n 842300: 'Teisingumo ir teisminė veikla',\r\n 842400: 'Viešosios tvarkos ir apsaugos veikla',\r\n 842500: 'Priešgaisrinių tarnybų veikla',\r\n 843000: 'Privalomojo (valstybinio) socialinio draudimo veikla',\r\n 850000: 'Švietimas',\r\n 851000: 'Ikimokyklinis ugdymas',\r\n 851010: 'Ikimokyklinio amžiaus vaikų ugdymas',\r\n 851020: 'Priešmokyklinio amžiaus vaikų ugdymas',\r\n 852000: 'Pradinis ugdymas',\r\n 853000: 'Vidurinis ugdymas',\r\n 853100: 'Bendrasis vidurinis ugdymas',\r\n 853110: 'Pagrindinis ugdymas',\r\n 853120: 'Vidurinis ugdymas',\r\n 853200: 'Techninis ir profesinis vidurinis mokymas',\r\n 854000: 'Aukštasis mokslas',\r\n 854100:\r\n 'Aukštojo mokslo laipsnio nesuteikiantis mokymas baigus vidurinę mokyklą',\r\n 854200: 'Aukštasis (tretinis) mokslas',\r\n 854210: 'Aukštasis neuniversitetinis mokslas',\r\n 854220: 'Aukštasis universitetinis mokslas',\r\n 854230: 'Doktorantūra',\r\n 855000: 'Kitas mokymas',\r\n 855100: 'Sportinis ir rekreacinis švietimas',\r\n 855200: 'Kultūrinis švietimas',\r\n 855300: 'Vairavimo mokyklų veikla',\r\n 855900: 'Kitas, niekur kitur nepriskirtas, švietimas',\r\n 856000: 'Švietimui būdingų paslaugų veikla',\r\n 860000: 'Žmonių sveikatos priežiūros veikla',\r\n 861000: 'Ligoninių veikla',\r\n 861010: 'Bendrosios paskirties ligoninių veikla',\r\n 861020: 'Specializuotųjų ligoninių veikla',\r\n 861030: 'Reabilitacijos ligoninių veikla',\r\n 861040: 'Slaugos ligoninių veikla',\r\n 862000: 'Medicininės ir odontologinės praktikos veikla',\r\n 862100: 'Bendrosios praktikos gydytojų veikla',\r\n 862200: 'Gydytojų specialistų veikla',\r\n 862300: 'Odontologinės praktikos veikla',\r\n 869000: 'Kita žmonių sveikatos priežiūros veikla',\r\n 869010:\r\n 'Viduriniojo medicinos personalo paslaugų teikiamas ligoniams ne ligoninėse',\r\n 869020: 'Kraujo perpylimo įstaigų ir kraujo bankų veikla',\r\n 869030: 'Medicinos laboratorijų veikla',\r\n 869040: 'Greitosios pagalbos veikla',\r\n 870000: 'Kita stacionarinė globos veikla',\r\n 871000: 'Stacionarinė slaugos įstaigų veikla',\r\n 872000:\r\n 'Stacionarinė protiškai atsilikusių, psichikos ligonių, sergančiųjų priklausomybės ligomis globos veikla',\r\n 873000: 'Stacionarinė pagyvenusių ir neįgaliųjų asmenų globos veikla',\r\n 879000: 'Kita stacionarinė globos veikla',\r\n 880000: 'Nesusijusio su apgyvendinimu socialinio darbo veikla',\r\n 881000:\r\n 'Nesusijusio su apgyvendinimu socialinio darbo su pagyvenusiais ir neįgaliaisiais asmenimis veikla',\r\n 889000: 'Kita, nesusijusi su apgyvendinimu, socialinio darbo veikla',\r\n 889100: 'Vaikų dienos priežiūros veikla',\r\n 889900:\r\n 'Kita, niekur kitur nepriskirta, nesusijusi su apgyvendinimu socialinio darbo veikla',\r\n 900000: 'Kūrybinė, meninė ir pramogų organizavimo veikla',\r\n 900100: 'Scenos pastatymų veikla',\r\n 900200: 'Scenos pastatymams būdingų paslaugų veikla',\r\n 900300: 'Meninė kūryba',\r\n 900400: 'Meno įrenginių eksploatavimo veikla',\r\n 910000: 'Bibliotekų, archyvų, muziejų ir kita kultūrinė veikla',\r\n 910100: 'Bibliotekų ir archyvų veikla',\r\n 910200: 'Muziejų veikla',\r\n 910300:\r\n 'Istorinių vietų ir pastatų bei panašių turistų lankomų vietų eksploatavimas',\r\n 910400: 'Botanikos ir zoologijos sodų bei gamtos rezervatų veikla',\r\n 910410: 'Zoologijos sodų veikla',\r\n 910420: 'Botanikos sodų veikla',\r\n 910430: 'Gamtos rezervatų ir draustinių veikla',\r\n 920000: 'Azartinių žaidimų ir lažybų organizavimo veikla',\r\n 920010: 'Loterijų organizavimo veikla',\r\n 920020: 'Azartinių lošimų ir lažybų organizavimo veikla',\r\n 920030: 'Kitų azartinių žaidimų organizavimo veikla',\r\n 930000: 'Sportinė veikla, pramogų ir poilsio organizavimo veikla',\r\n 931000: 'Sportinė veikla',\r\n 931100: 'Sporto įrenginių eksploatavimas',\r\n 931200: 'Sporto klubų veikla',\r\n 931300: 'Kūno rengybos centrų veikla',\r\n 931900: 'Kita sportinė veikla',\r\n 931910: 'Sportinė ar mėgėjų medžioklė ir su ja susijusi veikla',\r\n 931920: 'Sportinė ar mėgėjų žvejyba ir su ja susijusi veikla',\r\n 932000: 'Pramogų ir poilsio organizavimo veikla',\r\n 932100: 'Atrakcionų ir teminių parkų veikla',\r\n 932900: 'Kita pramogų ir poilsio organizavimo veikla',\r\n 940000: 'Narystės organizacijų veikla',\r\n 941000: 'Verslininkų, darbdavių ir profesinių narystės organizacijų veikla',\r\n 941100: 'Verslininkų ir darbdavių narystės organizacijų veikla',\r\n 941200: 'Profesinių narystės organizacijų veikla',\r\n 942000: 'Profesinių sąjungų veikla',\r\n 949000: 'Kitų narystės organizacijų veikla',\r\n 949100: 'Religinių organizacijų veikla',\r\n 949110: 'Religinių bendrijų veikla',\r\n 949120: 'Vienuolynų veikla',\r\n 949200: 'Politinių organizacijų veikla',\r\n 949900: 'Kitų, niekur kitur nepriskirtų, narystės organizacijų veikla',\r\n 950000: 'Kompiuterių ir asmeninių bei namų ūkio reikmenų taisymas',\r\n 951000: 'Kompiuterių ir ryšių įrangos remontas',\r\n 951100: 'Kompiuterių ir išorinės įrangos remontas',\r\n 951200: 'Ryšių įrangos remontas',\r\n 951210: 'Ryšio sistemų techninė priežiūra',\r\n 952000: 'Asmeninių ir namų ūkio reikmenų taisymas',\r\n 952100: 'Vartotojiškos elektroninės įrangos remontas',\r\n 952200: 'Buitinių aparatų ir prietaisų, namų bei sodo įrangos remontas',\r\n 952300: 'Avalynės ir odos gaminių taisymas',\r\n 952400: 'Baldų ir interjero reikmenų taisymas',\r\n 952500: 'Įvairių tipų laikrodžių ir juvelyrinių dirbinių taisymas',\r\n 952900: 'Kitų asmeninių ir namų ūkio reikmenų taisymas',\r\n 960000: 'Kita asmenų aptarnavimo veikla',\r\n 960100: 'Tekstilės ir kailių gaminių skalbimas ir (sausasis) valymas',\r\n 960200: 'Kirpyklų ir kitų grožio salonų veikla',\r\n 960300: 'Laidotuvių ir su jomis susijusi veikla',\r\n 960400: 'Fizinės gerovės užtikrinimo veikla',\r\n 960900: 'Kita, niekur kitur nepriskirta, asmenų aptarnavimo veikla',\r\n 970000: 'Namų ūkių, samdančių namų ūkio personalą, veikla',\r\n 980000:\r\n 'Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų gaminių gamyba ir paslaugų teikimu',\r\n 981000:\r\n ' Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų gaminių ar reikmenų gamyba',\r\n 981000:\r\n 'Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų gaminių ar reikmenų gamyba',\r\n 982000:\r\n 'Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų paslaugų teikimu',\r\n 990000: 'Ekstrateritorinių organizacijų ir įstaigų veikla',\r\n};\r\n\r\nexport const evrkFullWithZeros = {\r\n '010000':\r\n 'Augalininkystė ir gyvulininkystė, medžioklė ir susijusių paslaugų veikla',\r\n '011000': 'Vienmečių augalų auginimas',\r\n '011100':\r\n 'Grūdinių (išskyrus ryžius), ankštinių ir aliejingų sėklų augalų auginimas',\r\n '011200': 'Ryžių auginimas',\r\n '011300': 'Daržovių ir melionų, šakniavaisių ir gumbavaisių auginimas',\r\n '011310': 'Bulvių auginimas',\r\n '011320': 'Cukrinių runkelių auginimas',\r\n '011330': 'Daržovių auginimas atvirame grunte',\r\n '011340': 'Daržovių auginimas uždarame grunte',\r\n '011350': 'Daržovių sėklų gavyba',\r\n '011360': 'Grybų ir valgomųjų trumų auginimas',\r\n '011400': 'Cukranendrių auginimas',\r\n '011500': 'Tabako auginimas',\r\n '011600': 'Pluoštinių augalų auginimas',\r\n '011900': 'Kitų vienmečių augalų auginimas',\r\n '011910': 'Gėlių auginimas',\r\n '012000': 'Daugiamečių augalų auginimas',\r\n '012100': 'Vynuogių auginimas',\r\n '012200': 'Tropinių ir subtropinių vaisių ir uogų auginimas',\r\n '012300': 'Citrusų vaisių auginimas',\r\n '012400': 'Sėklavaisių ir kaulavaisių auginimas',\r\n '012500': 'Kitų vaismedžių, uogakrūmių ir riešutmedžių vaisių auginimas',\r\n '012600': 'Aliejinių augalų vaisių ir uogų auginimas',\r\n '012700': 'Gėrimams gaminti vartojamų augalų auginimas',\r\n '012800':\r\n 'Prieskoninių, kvapiųjų, vaistinių ir kitokių farmacijos pramonėje naudojamų augalų auginimas',\r\n '012900': 'Kitų daugiamečių augalų auginimas',\r\n '013000': 'Augalų dauginimas',\r\n '014000': 'Gyvulininkystė',\r\n '014100': 'Pieninių galvijų auginimas',\r\n '014200': 'Kitų galvijų ir buivolų auginimas',\r\n '014210': 'Galvijų auginimas ir penėjimas mėsai',\r\n '014220': 'Veislinių telyčių auginimas',\r\n '014230': 'Veislinių bulių auginimas',\r\n '014240': 'Veislinių bulių spermos gavyba',\r\n '014300': 'Arklių ir kitų kanopinių gyvūnų auginimas',\r\n '014400': 'Kupranugarių ir Camelidae šeimos gyvūnų auginimas',\r\n '014500': 'Avių ir ožkų auginimas',\r\n '014510': 'Avių auginimas',\r\n '014520': 'Ožkų auginimas',\r\n '014600': 'Kiaulių auginimas',\r\n '014610': 'Kiaulių auginimas ir penėjimas mėsai',\r\n '014620': 'Veislinių kiaulių auginimas',\r\n '014700': 'Naminių paukščių auginimas',\r\n '014710': 'Naminių paukščių auginimas mėsai ir kiaušinių gavybai',\r\n '014720': 'Veislinių naminių paukščių auginimas',\r\n '014900': 'Kitų gyvūnų auginimas',\r\n '014910': 'Švelniakailių žvėrelių auginimas',\r\n '014920': 'Bitininkystė',\r\n '014930': 'Vynuoginių sraigių ir sliekų auginimas',\r\n '015000': 'Mišrusis žemės ūkis',\r\n '016000': 'Žemės ūkiui būdingų paslaugų ir derliaus apdorojimo veikla',\r\n '016100': 'Augalininkystei būdingų paslaugų veikla',\r\n '016110':\r\n 'Augalų apsaugos nuo ligų, kenkėjų ir piktžolių žemės ūkio paslaugų veikla',\r\n '016120': 'Žemės ūkio augalų tręšimas mineralinėmis ir organinėmis trąšomis',\r\n '016200': 'Gyvulininkystei būdingų paslaugų veikla',\r\n '016210': 'Dirbtinio apsėklinimo veikla',\r\n '016300': 'Derliaus apdorojimo veikla',\r\n '016400': 'Sėklininkystė',\r\n '017000': 'Medžioklė, gaudymas spąstais ir susijusių paslaugų veikla',\r\n '020000': 'Miškininkystė ir medienos ruoša',\r\n '021000': 'Miško medžių auginimas ir kita miškininkystės veikla',\r\n '022000': 'Medienos ruoša',\r\n '023000': 'Laukinių nemedieninių medžių produktų rinkimas',\r\n '023000': 'Laukinių nemedieninių produktų rinkimas',\r\n '023010': 'Miško grybų rinkimas',\r\n '023020': 'Riešutų ir miško uogų rinkimas',\r\n '024000': 'Miškininkystei būdingų paslaugų veikla',\r\n '030000': 'Žvejyba ir akvakultūra',\r\n '031000': 'Žvejyba',\r\n '031100': 'Jūrinė žvejyba',\r\n '031110': 'Žuvų perdirbimas žvejybiniuose laivuose',\r\n '031200': 'Gėlųjų vandenų žvejyba',\r\n '032000': 'Akvakultūra',\r\n '032100': 'Jūrinė akvakultūra',\r\n '032200': 'Gėlųjų vandenų akvakultūra',\r\n '050000': 'Akmens anglių ir rusvųjų anglių kasyba',\r\n '051000': 'Juodųjų akmens anglių (antracito) kasyba',\r\n '052000': 'Rusvųjų anglių kasyba',\r\n '060000': 'Žalios naftos ir gamtinių dujų gavyba',\r\n '061000': 'Žalios naftos gavyba',\r\n '062000': 'Gamtinių dujų gavyba',\r\n '070000': 'Metalų rūdų kasyba',\r\n '071000': 'Geležies rūdų kasyba',\r\n '072000': 'Spalvotųjų metalų rūdų kasyba',\r\n '072100': 'Urano ir torio rūdų kasyba',\r\n '072900': 'Kitų spalvotųjų metalų rūdų kasyba',\r\n '080000': 'Kita kasyba ir karjerų eksploatavimas',\r\n '081000': 'Akmens, smėlio ir molio karjerų eksploatavimas',\r\n '081100':\r\n 'Dekoratyvinio ir statybinio akmens, klinčių, gipso, kreidos ir skalūno karjerų eksploatavimas',\r\n '081200': 'Smėlio ir žvyro karjerų eksploatavimas; molio ir kaolino kasyba',\r\n '089000': 'Niekur kitur nepriskirta kasyba ir karjerų eksploatavimas',\r\n '089100': 'Mineralinių iškasenų chemijos pramonei ir trąšoms gaminti kasyba',\r\n '089200': 'Durpių gavyba',\r\n '089300': 'Druskos gavyba',\r\n '089900': 'Kita, niekur kitur nepriskirta, kasyba ir karjerų eksploatavimas',\r\n '090000': 'Kasybai būdingų paslaugų veikla',\r\n '091000': 'Naftos ir gamtinių dujų gavybai būdingų paslaugų veikla',\r\n '091010': 'Gamtinių dujų parengimas transportuoti (gabenti)',\r\n '099000': 'Kitai kasybai ir karjerų eksploatavimui būdingų paslaugų veikla',\r\n};\r\n\r\nexport const evrkFullWithoutZeros = {\r\n 100000: 'Maisto produktų gamyba',\r\n 101000: 'Mėsos perdirbimas ir konservavimas ir mėsos produktų gamyba',\r\n 101100: 'Mėsos perdirbimas ir konservavimas',\r\n 101200: 'Paukštienos perdirbimas ir konservavimas',\r\n 101300: 'Mėsos ir paukštienos produktų gamyba',\r\n 101310: 'Rūkytų mėsos ir paukštienos produktų gamyba',\r\n 102000: 'Žuvų, vėžiagyvių ir moliuskų perdirbimas ir konservavimas',\r\n 103000: 'Vaisių ir daržovių perdirbimas ir konservavimas',\r\n 103100: 'Bulvių perdirbimas ir konservavimas',\r\n 103110: 'Bulvių miltų gamyba',\r\n 103200: 'Vaisių, uogų ir daržovių sulčių gamyba',\r\n 103900: 'Kitas vaisių ir daržovių perdirbimas ir konservavimas',\r\n 104000: 'Gyvūninių ir augalinių riebalų bei aliejaus gamyba',\r\n 104100: 'Aliejaus ir riebalų gamyba',\r\n 104200: 'Margarino ir panašių valgomųjų riebalų gamyba',\r\n 105000: 'Pieno produktų gamyba',\r\n 105100: 'Pieninių veikla ir sūrių gamyba',\r\n 105200: 'Valgomųjų ledų gamyba',\r\n 106000: 'Grūdų malimo produktų, krakmolo ir krakmolo produktų gamyba',\r\n 106100: 'Grūdų malimo produktų gamyba',\r\n 106110: 'Miltų gamyba',\r\n 106120: 'Kruopų gamyba',\r\n 106200: 'Krakmolo ir krakmolo produktų gamyba',\r\n 106210: 'Gliukozės sirupo ir maltozės gamyba',\r\n 106220: 'Krakmolo gamyba',\r\n 107000: 'Kepyklos ir miltinių produktų gamyba',\r\n 107100: 'Duonos gamyba; šviežių konditerijos kepinių ir pyragaičių gamyba',\r\n 107200:\r\n 'Džiūvėsių ir sausainių gamyba; ilgai išsilaikančių konditerijos kepinių ir pyragaičių gamyba',\r\n 107300: 'Makaronų, vermišelių, kuskuso ir panašių miltinių produktų gamyba',\r\n 108000: 'Kitų maisto produktų gamyba',\r\n 108100: 'Cukraus gamyba',\r\n 108200: 'Kakavos, šokolado ir cukraus saldumynų gamyba',\r\n 108300: 'Arbatos ir kavos apdorojimas ir perdirbimas',\r\n 108400: 'Užgardų ir pagardų gamyba',\r\n 108410: 'Acto gamyba',\r\n 108500: 'Paruoštų valgių ir patiekalų gamyba',\r\n 108600: 'Homogenizuotų ir dietinių maisto produktų gamyba',\r\n 108900: 'Kitų, niekur kitur nepriskirtų, maisto produktų gamyba',\r\n 108910: 'Mielių gamyba',\r\n 109000: 'Paruoštų pašarų gyvuliams gamyba',\r\n 109100: 'Paruoštų pašarų ūkio gyvuliams gamyba',\r\n 109200: 'Paruošto ėdalo naminiams gyvūnėliams gamyba',\r\n 110000: 'Gėrimų gamyba',\r\n 110100: 'Spirito distiliavimas, rektifikavimas ir maišymas',\r\n 110200: 'Vynuogių vyno gamyba',\r\n 110300: 'Sidro ir kitokių vaisių, uogų vynų gamyba',\r\n 110400: 'Kitų nedistiliuotų fermentuotų gėrimų gamyba',\r\n 110500: 'Alaus gamyba',\r\n 110600: 'Salyklo gamyba',\r\n 110700:\r\n 'Nealkoholinių gėrimų gamyba; mineralinio ir kito, pilstomo į butelius, vandens gamyba',\r\n 110710: 'Nealkoholinių gėrimų gamyba',\r\n 110720: 'Natūralaus mineralinio ir kito, pilstomo į butelius, vandens gamyba',\r\n 120000: 'Tabako gaminių gamyba',\r\n 130000: 'Tekstilės gaminių gamyba',\r\n 131000: 'Tekstilės pluoštų paruošimas ir verpimas',\r\n 132000: 'Tekstilės audimas',\r\n 132010: 'Lininių audinių audimas',\r\n 132020: 'Sintetinių audinių audimas',\r\n 133000: 'Tekstilės apdaila',\r\n 139000: 'Kitų tekstilės gaminių ir dirbinių gamyba',\r\n 139100: 'Megztų (trikotažinių) ir nertų medžiagų gamyba',\r\n 139200: 'Gatavų tekstilės dirbinių, išskyrus drabužius, gamyba',\r\n 139300: 'Kilimų ir kilimėlių gamyba',\r\n 139400: 'Virvių, lynų, virvelių ir tinklų gamyba',\r\n 139500:\r\n 'Neaustinių medžiagų ir neaustinių medžiagų gaminių ir dirbinių, išskyrus drabužius, gamyba',\r\n 139600: 'Kitų techninės ir pramoninės tekstilės gaminių ir dirbinių gamyba',\r\n 139900:\r\n 'Kitų, niekur kitur nepriskirtų, tekstilės gaminių ir dirbinių gamyba',\r\n 140000: 'Drabužių siuvimas (gamyba)',\r\n 141000: 'Drabužių, išskyrus kailinius drabužius, siuvimas (gamyba)',\r\n 141100: 'Odinių drabužių siuvimas',\r\n 141200: 'Darbo drabužių siuvimas',\r\n 141300: 'Kitų viršutinių drabužių siuvimas',\r\n 141310: 'Vyriškų viršutinių drabužių siuvimas',\r\n 141320: 'Moteriškų viršutinių drabužių siuvimas',\r\n 141400: 'Apatinių drabužių siuvimas',\r\n 141900: 'Kitų drabužių siuvimas ir drabužių priedų gamyba',\r\n 141910: 'Vaiko drabužėlių siuvimas',\r\n 141920: 'Sportinės aprangos siuvimas',\r\n 141930: 'Kailinių kepurių ir kitų galvos apdangalų gamyba',\r\n 142000: 'Kailinių dirbinių ir gaminių gamyba',\r\n 143000: 'Megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 143100:\r\n 'Pėdkelnių, triko, kojinių ir kitų panašių megztų (trikotažinių) ir nertų gaminių bei dirbinių gamyba',\r\n 143900: 'Kitų megztų (trikotažinių) ir nertų drabužių gamyba',\r\n 150000: 'Odos ir odos dirbinių gamyba',\r\n 151000:\r\n 'Odų rauginimas ir išdirbimas; lagaminų, rankinių, balno reikmenų ir pakinktų gamyba; kailių išdirbimas ir dažymas',\r\n 151100: 'Odų rauginimas ir išdirbimas; kailių išdirbimas ir dažymas',\r\n 151110: 'Odų rauginimas, naudojant augalines medžiagas',\r\n 151120: 'Odų rauginimas, naudojant mineralines ir chemines medžiagas',\r\n 151130: 'Odų išdirbimas',\r\n 151200:\r\n 'Lagaminų, rankinių ir panašių reikmenų, balno reikmenų ir pakinktų gamyba',\r\n 152000: 'Avalynės gamyba',\r\n 160000:\r\n 'Medienos bei medienos ir kamštienos gaminių, išskyrus baldus, gamyba; gaminių iš šiaudų ir pynimo medžiagų gamyba',\r\n 161000: 'Medienos pjaustymas ir obliavimas',\r\n 161010: 'Cheminis medienos apdorojimas konservantais',\r\n 162000:\r\n 'Gaminių ir dirbinių iš medienos, kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 162100: 'Faneravimo dangos ir medienos plokščių gamyba',\r\n 162110: 'Medienos plaušo plokščių, padengtų dekoratyvine plėvele, gamyba',\r\n 162120: 'Presuotos medienos gamyba',\r\n 162200: 'Sumontuotų parketo grindų gamyba',\r\n 162300: 'Kitų statybinių dailidžių ir stalių dirbinių gamyba',\r\n 162310: 'Fasoninių detalių ir malksnų (gontų) stogų dengimui gamyba',\r\n 162320: 'Medinių surenkamųjų statinių ar jų detalių gamyba',\r\n 162330: 'Medinių sieninių plokščių ir spintų gamyba',\r\n 162400: 'Medinės taros gamyba',\r\n 162410: 'Padėklų, stovų ir kitų medinių pakrovimo reikmenų gamyba',\r\n 162900:\r\n 'Kitų medienos gaminių gamyba; dirbinių iš kamštienos, šiaudų ir pynimo medžiagų gamyba',\r\n 170000: 'Popieriaus ir popieriaus gaminių gamyba',\r\n 171000: 'Plaušienos, popieriaus ir kartono gamyba',\r\n 171100: 'Plaušienos gamyba',\r\n 171200: 'Popieriaus ir kartono gamyba',\r\n 172000: 'Popieriaus ir kartoninių gaminių gamyba',\r\n 172100:\r\n 'Gofruotojo popieriaus ir kartono bei taros iš popieriaus ir kartono gamyba',\r\n 172200: 'Buitinių ir higienos reikmenų bei tualeto reikmenų gamyba',\r\n 172210: 'Tualetinio popieriaus gamyba',\r\n 172300: 'Popierinių raštinės reikmenų gamyba',\r\n 172310: 'Kopijavimo popieriaus gamyba',\r\n 172320: 'Vokų ir atvirukų gamyba',\r\n 172400: 'Sienų apmušalų (tapetų) gamyba',\r\n 172900: 'Kitų popierinių ir kartoninių gaminių gamyba',\r\n 172910: 'Filtravimo popieriaus gamyba',\r\n 180000: 'Spausdinimas ir įrašytų laikmenų tiražavimas',\r\n 181000: 'Spausdinimas ir su spausdinimu susijusios paslaugos',\r\n 181100: 'Laikraščių spausdinimas',\r\n 181200: 'Kitas spausdinimas',\r\n 181300: 'Parengiamoji spausdinimo ir žiniasklaidos veikla',\r\n 181400: 'Įrišimas ir susijusios paslaugos',\r\n 182000: 'Įrašytų laikmenų tiražavimas',\r\n 190000: 'Kokso ir rafinuotų naftos produktų gamyba',\r\n 191000: 'Koksavimo krosnių produktų gamyba',\r\n 192000: 'Rafinuotų naftos produktų gamyba',\r\n 192010: 'Skystojo arba dujinio kuro gamyba',\r\n 192020: 'Tepalų ir kitų alyvų gamyba',\r\n 192030: 'Parafino ir techninio vazelino gamyba',\r\n 192040: 'Naftos bitumo gamyba',\r\n 200000: 'Chemikalų ir chemijos produktų gamyba',\r\n 201000:\r\n 'Pagrindinių chemikalų, trąšų ir azoto junginių, pirminių plastikų ir pirminio sintetinio kaučiuko gamyba',\r\n 201100: 'Pramoninių dujų gamyba',\r\n 201200: 'Dažiklių ir pigmentų gamyba',\r\n 201300: 'Kitų pagrindinių neorganinių chemikalų gamyba',\r\n 201400: 'Kitų pagrindinių organinių chemikalų gamyba',\r\n 201500: 'Trąšų ir azoto junginių gamyba',\r\n 201510: 'Grynųjų ar kompleksinių azoto ir fosforo trąšų gamyba',\r\n 201520: 'Karbamido gamyba',\r\n 201530: 'Amoniako gamyba',\r\n 201600: 'Pirminių plastikų gamyba',\r\n 201700: 'Pirminio sintetinio kaučiuko gamyba',\r\n 202000: 'Pesticidų ir kitų agrocheminių medžiagų gamyba',\r\n 202010: 'Dezinfekantų gamyba',\r\n 203000:\r\n 'Dažų, lakų ir panašių dangų medžiagų, spaustuvinių dažų ir mastikų gamyba',\r\n 203010: 'Emalinių dažų ir lakų gamyba',\r\n 203020: 'Organinių sudėtingų tirpiklių ir skiediklių gamyba',\r\n 204000:\r\n 'Muilo ir ploviklių, valiklių ir blizgiklių, kvepalų ir tualeto priemonių gamyba',\r\n 204100: 'Muilo ir ploviklių, valiklių ir blizgiklių gamyba',\r\n 204200: 'Kvepalų ir tualeto priemonių gamyba',\r\n 205000: 'Kitų cheminių medžiagų gamyba',\r\n 205100: 'Sprogiųjų medžiagų gamyba',\r\n 205200: 'Klijų gamyba',\r\n 205300: 'Eterinio aliejaus gamyba',\r\n 205900: 'Kitų, niekur kitur nepriskirtų, cheminių medžiagų gamyba',\r\n 205910: 'Lydymo, litavimo ar suvirinimo miltelių ir pastų gamyba',\r\n 205920:\r\n 'Aktyvintų anglių, tepalų priedų, paruoštų kaučiuko vulkanizavimo greitiklių, katalizatorių gamyba',\r\n 205930: 'Antidetonatorių, antifrizų, skysčių hidraulinėms sistemoms gamyba',\r\n 205940: 'Rašalo ir tušo gamyba',\r\n 206000: 'Cheminių pluoštų gamyba',\r\n 210000: 'Pagrindinių vaistų pramonės gaminių ir farmacinių preparatų gamyba',\r\n 211000: 'Pagrindinių vaistų pramonės gaminių gamyba',\r\n 211010: 'Narkotinių medžiagų gamyba',\r\n 212000: 'Farmacinių preparatų gamyba',\r\n 212010: 'Vaistų gamyba',\r\n 212020: 'Veterinarinių vaistų gamyba',\r\n 220000: 'Guminių ir plastikinių gaminių gamyba',\r\n 221000: 'Guminių gaminių gamyba',\r\n 221100:\r\n 'Guminių padangų ir kamerų gamyba; guminių padangų restauravimas ir atnaujinimas',\r\n 221900: 'Kitų guminių gaminių gamyba',\r\n 222000: 'Plastikinių gaminių gamyba',\r\n 222100: 'Plastikinių plokščių, lakštų, vamzdžių ir profiliuočių gamyba',\r\n 222200: 'Plastikinių pakuočių gamyba',\r\n 222300: 'Plastikinių statybos dirbinių gamyba',\r\n 222900: 'Kitų plastikinių gaminių gamyba',\r\n 230000: 'Kitų nemetalo mineralinių produktų gamyba',\r\n 231000: 'Stiklo ir stiklo gaminių bei dirbinių gamyba',\r\n 231100: 'Plokščiojo stiklo gamyba',\r\n 231200: 'Plokščiojo stiklo pjaustymas ir apdorojimas',\r\n 231300: 'Tuščiavidurio stiklo gamyba',\r\n 231310: 'Stiklinių talpyklų gamyba',\r\n 231400: 'Stiklo pluoštų gamyba',\r\n 231900:\r\n 'Kito stiklo, įskaitant skirto techninėms reikmėms, gamyba ir apdorojimas',\r\n 231910:\r\n 'Stiklinių izoliatorių ir stiklinių izoliacinių jungiamųjų detalių gamyba',\r\n 232000: 'Ugniai atsparių gaminių gamyba',\r\n 233000: 'Statybinių medžiagų iš molio gamyba',\r\n 233100: 'Keraminių apdailos ir šaligatvio plytelių gamyba',\r\n 233110: 'Koklių gamyba',\r\n 233120: 'Keraminių grindinio dangų gamyba',\r\n 233200: 'Degto molio plytų, plytelių ir statybinių dirbinių gamyba',\r\n 234000: 'Kitų porcelianinių ir keraminių gaminių bei dirbinių gamyba',\r\n 234100: 'Keraminių buities ir puošybos gaminių bei dirbinių gamyba',\r\n 234200: 'Keraminių santechnikos gaminių ir dirbinių gamyba',\r\n 234300: 'Keraminių izoliatorių ir keraminių izoliacinių detalių gamyba',\r\n 234400: 'Kitų techninės paskirties keraminių gaminių ir dirbinių gamyba',\r\n 234900: 'Kitų keraminių gaminių ir dirbinių gamyba',\r\n 235000: 'Cemento, kalkių ir gipso gamyba',\r\n 235100: 'Cemento gamyba',\r\n 235200: 'Kalkių ir gipso gamyba',\r\n 236000: 'Betono, cemento ir gipso gaminių bei dirbinių gamyba',\r\n 236100: 'Betono gaminių, skirtų statybinėms reikmėms, gamyba',\r\n 236200: 'Gipso gaminių, naudojamų statybinėms reikmėms, gamyba',\r\n 236300: 'Prekinio betono mišinio gamyba',\r\n 236400: 'Statybinių skiedinių gamyba',\r\n 236500: 'Fibrolito gamyba',\r\n 236900: 'Kitų betono, gipso ir cemento gaminių bei dirbinių gamyba',\r\n 237000: 'Akmens pjaustymas, tašymas ir apdailinimas',\r\n 239000:\r\n 'Abrazyvinių gaminių ir niekur kitur nepriskirtų nemetalo mineralinių produktų gamyba',\r\n 239100: 'Abrazyvinių gaminių gamyba',\r\n 239900:\r\n 'Kitų, niekur kitur nepriskirtų, nemetalo mineralinių produktų gamyba',\r\n 239910: 'Asbestinio pluošto, verpalų ir audinių bei gaminių iš jų gamyba',\r\n 239920: 'Frikcinių medžiagų ir jų gaminių gamyba',\r\n 239930: 'Mineralinių izoliacinių medžiagų gamyba',\r\n 239940: 'Dirbinių iš bitumo gamyba',\r\n 240000: 'Pagrindinių metalų gamyba',\r\n 241000: 'Tomo ketaus ir plieno bei ferolydinių gamyba',\r\n 242000:\r\n 'Plieninių vamzdžių, vamzdelių, tuščiavidurių profilių ir susijusių jungiamųjų detalių gamyba',\r\n 243000: 'Kitų plieno pirminio apdirbimo gaminių gamyba',\r\n 243100: 'Šaltasis strypų tempimas',\r\n 243200: 'Šaltasis siaurų juostų valcavimas',\r\n 243300: 'Šaltasis formavimas ar lankstymas',\r\n 243400: 'Šaltasis vielos tempimas',\r\n 244000: 'Pagrindinių tauriųjų ir kitų spalvotųjų metalų gamyba',\r\n 244100: 'Tauriųjų metalų gamyba',\r\n 244200: 'Aliuminio gamyba',\r\n 244300: 'Švino, cinko ir alavo gamyba',\r\n 244400: 'Vario gamyba',\r\n 244500: 'Kitų spalvotųjų metalų gamyba',\r\n 244600: 'Branduolinio kuro perdirbimas',\r\n 245000: 'Metalų liejinių gamyba',\r\n 245100: 'Geležies liejinių gamyba',\r\n 245200: 'Plieno liejinių gamyba',\r\n 245300: 'Lengvųjų metalų liejinių gamyba',\r\n 245400: 'Kitų spalvotųjų metalų liejinių gamyba',\r\n 250000: 'Metalo gaminių, išskyrus mašinas ir įrenginius, gamyba',\r\n 251000: 'Konstrukcinių metalo gaminių gamyba',\r\n 251100: 'Metalo konstrukcijų ir jų dalių gamyba',\r\n 251200: 'Metalinių durų ir langų gamyba',\r\n 252000: 'Metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252100: 'Centrinio šildymo radiatorių ir katilų gamyba',\r\n 252900: 'Kitų metalinių cisternų, rezervuarų ir talpyklų gamyba',\r\n 252910: 'Metalinių talpyklų suslėgtosioms ar suskystintosioms dujoms gamyba',\r\n 253000:\r\n 'Garo generatorių, išskyrus centrinio šildymo karšto vandens katilus, gamyba',\r\n 254000: 'Ginklų ir šaudmenų gamyba',\r\n 255000:\r\n 'Metalo kalimas, presavimas, štampavimas ir profiliavimas; miltelių metalurgija',\r\n 256000: 'Metalų apdorojimas ir dengimas; mechaninis apdirbimas',\r\n 256100: 'Metalų apdorojimas ir dengimas',\r\n 256200: 'Mechaninis apdirbimas',\r\n 257000: 'Valgomųjų įrankių, kitų įrankių ir bendrųjų metalo dirbinių gamyba',\r\n 257100: 'Valgomųjų ir kitų pjovimo įrankių gamyba',\r\n 257200: 'Spynų ir vyrių gamyba',\r\n 257300: 'Kitų įrankių gamyba',\r\n 259000: 'Kitų metalo gaminių gamyba',\r\n 259100: 'Plieninių statinių ir panašių talpyklų gamyba',\r\n 259200: 'Lengvųjų metalų taros gamyba',\r\n 259300: 'Vielos gaminių, grandinių ir spyruoklių gamyba',\r\n 259400: 'Tvirtinimo detalių ir sriegimo mašinų gaminių gamyba',\r\n 259900: 'Kitų, niekur kitur nepriskirtų, metalo gaminių gamyba',\r\n 260000: 'Kompiuterinių, elektroninių ir optinių gaminių gamyba',\r\n 261000: 'Elektroninių komponentų ir plokščių gamyba',\r\n 261100: 'Elektroninių komponentų gamyba',\r\n 261200: 'Sumontuotų elektroninių plokščių gamyba',\r\n 262000: 'Kompiuterių ir išorinės įrangos gamyba',\r\n 263000: 'Ryšių įrangos gamyba',\r\n 264000: 'Vartotojiškos elektroninės įrangos gamyba',\r\n 265000:\r\n 'Matavimo, bandymo, navigacinės ir kontrolės įrangos gamyba; įvairių tipų laikrodžių gamyba',\r\n 265100:\r\n 'Matavimo, bandymo, navigacinės ir kontrolės įrangos prietaisų ir aparatų gamyba',\r\n 265110: 'Elektros skaitiklių gamyba',\r\n 265120: 'Vandens skaitiklių gamyba',\r\n 265130: 'Dujų skaitiklių gamyba',\r\n 265140: 'Automatinio reguliavimo ir kontrolės prietaisų gamyba',\r\n 265200: 'Įvairių tipų laikrodžių gamyba',\r\n 266000: 'Švitinimo, elektromedicininės ir elektroterapinės įrangos gamyba',\r\n 267000: 'Optinių prietaisų ir fotografijos įrangos gamyba',\r\n 268000: 'Magnetinių ir optinių laikmenų gamyba',\r\n 270000: 'Elektros įrangos gamyba',\r\n 271000:\r\n 'Elektros variklių, generatorių, transformatorių bei elektros skirstomosios ir valdymo įrangos gamyba',\r\n 271100: 'Elektros variklių, generatorių ir transformatorių gamyba',\r\n 271200: 'Elektros skirstomosios ir valdymo įrangos gamyba',\r\n 272000: 'Baterijų ir akumuliatorių gamyba',\r\n 273000: 'Laidų ir instaliacijos įtaisų gamyba',\r\n 273100: 'Skaidulinės optikos kabelių gamyba',\r\n 273200: 'Kitų elektronikos bei elektros laidų ir kabelių gamyba',\r\n 273300: 'Instaliacijos įtaisų gamyba',\r\n 274000: 'Elektros apšvietimo įrangos gamyba',\r\n 275000: 'Buitinių aparatų ir prietaisų gamyba',\r\n 275100: 'Buitinių elektrinių aparatų ir prietaisų gamyba',\r\n 275200: 'Buitinių neelektrinių aparatų ir prietaisų gamyba',\r\n 279000: 'Kitos elektros įrangos gamyba',\r\n 280000: 'Niekur kitur nepriskirtų mašinų ir įrangos gamyba',\r\n 281000: 'Bendrosios paskirties mašinų gamyba',\r\n 281100:\r\n 'Variklių ir turbinų, išskyrus orlaivių, transporto priemonių ir motociklų variklius, gamyba',\r\n 281200: 'Hidraulinės energijos įrangos gamyba',\r\n 281300: 'Kitų siurblių ir kompresorių gamyba',\r\n 281400: 'Kitų čiaupų ir sklendžių gamyba',\r\n 281500:\r\n 'Guolių, krumpliaračių, krumplinių pavarų ir varomųjų elementų gamyba',\r\n 282000: 'Kitų bendrosios paskirties mašinų ir įrangos gamyba',\r\n 282100: 'Orkaičių, krosnių ir krosnių degiklių gamyba',\r\n 282200: 'Kėlimo ir krovimo įrangos gamyba',\r\n 282300:\r\n 'Įstaigos mašinų ir įrangos (išskyrus kompiuterius ir išorinę įrangą) gamyba',\r\n 282400: 'Variklinių rankinių įrankių gamyba',\r\n 282500: 'Nebuitinių aušinimo ir vėdinimo įrenginių gamyba',\r\n 282900:\r\n 'Kitų, niekur kitur nepriskirtų, bendrosios paskirties mašinų ir įrangos gamyba',\r\n 283000: 'Žemės ir miškų ūkio mašinų gamyba',\r\n 284000: 'Metalo formavimo įrangos ir staklių gamyba',\r\n 284100: 'Metalo formavimo įrangos gamyba',\r\n 284900: 'Kitų staklių gamyba',\r\n 289000: 'Kitų specialiosios paskirties mašinų gamyba',\r\n 289100: 'Metalurgijos mašinų gamyba',\r\n 289200: 'Kasybos, karjerų eksploatavimo ir statybos mašinų gamyba',\r\n 289300: 'Maisto, gėrimų ir tabako apdorojimo mašinų gamyba',\r\n 289400: 'Tekstilės, drabužių ir odos gaminių gamybos mašinų gamyba',\r\n 289500: 'Popieriaus ir kartono gamybos mašinų gamyba',\r\n 289600: 'Plastikų ir gumos gamybos mašinų gamyba',\r\n 289900:\r\n 'Kitų, niekur kitur nepriskirtų, specialiosios paskirties mašinų gamyba',\r\n 290000: 'Variklinių transporto priemonių, priekabų ir puspriekabių gamyba',\r\n 291000: 'Variklinių transporto priemonių gamyba',\r\n 292000:\r\n 'Variklinių transporto priemonių kėbulų gamyba; priekabų ir puspriekabių gamyba',\r\n 293000: 'Variklinių transporto priemonių dalių ir pagalbinių reikmenų gamyba',\r\n 293100:\r\n 'Variklinių transporto priemonių elektros ir elektroninės įrangos gamyba',\r\n 293200: 'Variklinių transporto priemonių kitų dalių ir reikmenų gamyba',\r\n 300000: 'Kitų transporto priemonių ir įrangos gamyba',\r\n 301000: 'Įvairių tipų laivų statyba',\r\n 301100: 'Laivų ir plūdriųjų konstrukcijų statyba',\r\n 301200: 'Pramoginių ir sportinių katerių (laivų) statyba',\r\n 302000: 'Geležinkelio lokomotyvų bei riedmenų gamyba',\r\n 303000: 'Orlaivių ir erdvėlaivių bei susijusios įrangos gamyba',\r\n 304000: 'Karinių kovinių transporto priemonių gamyba',\r\n 309000: 'Niekur kitur nepriskirtų transporto priemonių gamyba',\r\n 309100: 'Motociklų gamyba',\r\n 309200: 'Dviračių ir invalidų vežimėlių gamyba',\r\n 309900: 'Kitos, niekur kitur nepriskirtos, transporto įrangos gamyba',\r\n 310000: 'Baldų gamyba',\r\n 310100: 'Įstaigos ir prekybos įmonių (parduotuvių) baldų gamyba',\r\n 310200: 'Virtuvės baldų gamyba',\r\n 310300: 'Čiužinių gamyba',\r\n 310900: 'Kitų baldų gamyba',\r\n 320000: 'Kita gamyba',\r\n 321000: 'Papuošalų, juvelyrinių, bižuterijos ir panašių dirbinių gamyba',\r\n 321100: 'Monetų kalimas',\r\n 321200: 'Papuošalų, juvelyrinių ir panašių dirbinių gamyba',\r\n 321300: 'Dirbtinės bižuterijos ir panašių dirbinių gamyba',\r\n 322000: 'Muzikos instrumentų gamyba',\r\n 323000: 'Sporto reikmenų gamyba',\r\n 324000: 'Žaidimų ir žaislų gamyba',\r\n 324010: 'Konstravimo rinkinių gamyba',\r\n 324020: 'Plastikinių žaislų gamyba',\r\n 324030: 'Medinių žaislų gamyba',\r\n 324040: 'Kimštinių žaislų gamyba',\r\n 324050: 'Stalo arba kambario žaidimų gamyba',\r\n 324060: 'Plastikinių triračių ir kitų žaislų su ratukais gamyba',\r\n 324070: 'Elektrinių žaislų ir žaidimų gamyba',\r\n 325000:\r\n 'Medicinos ir odontologijos prietaisų, instrumentų ir reikmenų gamyba',\r\n 325010: 'Odontologinio cemento gamyba',\r\n 325020: 'Ortopedinių ir kitokių įtaisų gamyba',\r\n 325030: 'Protezų gamyba',\r\n 329000: 'Niekur kitur nepriskirta gamyba',\r\n 329100: 'Šluotų ir šepečių gamyba',\r\n 329900: 'Kita, niekur kitur nepriskirta, gamyba',\r\n 329910: 'Medinių karstų ir kitų laidojimo reikmenų gamyba',\r\n 330000: 'Mašinų ir įrangos remontas ir įrengimas',\r\n 331000: 'Metalo gaminių, mašinų ir įrangos remontas',\r\n 331100: 'Metalo gaminių remontas',\r\n 331200: 'Mašinų remontas',\r\n 331300: 'Elektroninės ir optinės įrangos remontas',\r\n 331400: 'Elektros įrangos remontas',\r\n 331500: 'Įvairių tipų laivų remontas ir techninė priežiūra',\r\n 331600: 'Orlaivių ir erdvėlaivių remontas ir techninė priežiūra',\r\n 331700: 'Kitų transporto priemonių remontas ir techninė priežiūra',\r\n 331900: 'Kitos įrangos remontas',\r\n 332000: 'Pramoninių mašinų ir įrangos įrengimas',\r\n 350000: 'Elektros, dujų, garo tiekimas ir oro kondicionavimas',\r\n 351000: 'Elektros energijos gamyba, perdavimas ir paskirstymas',\r\n 351100: 'Elektros gamyba',\r\n 351200: 'Elektros perdavimas',\r\n 351300: 'Elektros paskirstymas',\r\n 351400: 'Elektros pardavimas',\r\n 352000: 'Dujų gamyba; dujinio kuro paskirstymas dujotiekiais',\r\n 352100: 'Dujų gamyba',\r\n 352200: 'Dujinio kuro paskirstymas dujotiekiais',\r\n 352300: 'Dujų pardavimas dujotiekiais',\r\n 353000: 'Garo tiekimas ir oro kondicionavimas',\r\n 353010: 'Garo tiekimas',\r\n 353020: 'Karšto vandens tiekimas',\r\n 360000: 'Vandens surinkimas, valymas ir tiekimas',\r\n 360010: 'Vandens surinkimas ir valymas',\r\n 360020: 'Vandens tiekimas pramonės įmonėms',\r\n 360030: 'Vandens tiekimas gyventojams',\r\n 370000: 'Nuotekų valymas',\r\n 380000: 'Atliekų surinkimas, tvarkymas ir šalinimas; medžiagų atgavimas',\r\n 381000: 'Atliekų surinkimas',\r\n 381100: 'Nepavojingų atliekų surinkimas',\r\n 381200: 'Pavojingų atliekų surinkimas',\r\n 382000: 'Atliekų tvarkymas ir šalinimas',\r\n 382100: 'Nepavojingų atliekų tvarkymas ir šalinimas',\r\n 382200: 'Pavojingų atliekų tvarkymas ir šalinimas',\r\n 383000: 'Medžiagų atgavimas',\r\n 383100: 'Mašinų duženų išmontavimas',\r\n 383200: 'Išrūšiuotų medžiagų atgavimas',\r\n 390000: 'Regeneravimas ir kita atliekų tvarkyba',\r\n 410000: 'Pastatų statyba',\r\n 411000: 'Statybų plėtra',\r\n 412000: 'Gyvenamųjų ir negyvenamųjų pastatų statyba',\r\n 412010: 'Naujų pastatų statyba',\r\n 412020: 'Pastatų remontas, restauravimas ir rekonstravimas',\r\n 420000: 'Inžinerinių statinių statyba',\r\n 421000: 'Kelių ir geležinkelių tiesimas',\r\n 421100: 'Kelių ir automagistralių tiesimas',\r\n 421110: 'Kelio dangos ir stovėjimo aikštelių ženklinimas',\r\n 421200: 'Geležinkelių ir požeminių geležinkelių tiesimas',\r\n 421300: 'Tiltų ir tunelių statyba',\r\n 422000: 'Komunalinių statinių statyba',\r\n 422100: 'Komunalinių nuotekų statinių statyba',\r\n 422200: 'Komunalinių elektros ir telekomunikacijos statinių statyba',\r\n 429000: 'Kitų inžinerinių statinių statyba',\r\n 429100: 'Vandens statinių statyba',\r\n 429900: 'Kitų, niekur kitur nepriskirtų, inžinerinių statinių statyba',\r\n 430000: 'Specializuota statybos veikla',\r\n 431000: 'Statinių nugriovimas ir statybvietės paruošimas',\r\n 431100: 'Statinių nugriovimas',\r\n 431200: 'Statybvietės paruošimas',\r\n 431210: 'Paruošiamieji žemės kasimo darbai tiesiant kelius',\r\n 431220: 'Žemės darbai statybos aikštelėse',\r\n 431230: 'Sausinimo ir drėkinimo sistemų tiesimas',\r\n 431300: 'Žvalgomasis gręžimas',\r\n 432000: 'Elektros, vandentiekio ir kitos įrangos įrengimas',\r\n 432100: 'Elektros sistemų įrengimas',\r\n 432110: 'Pastatų ir statinių elektros tinklų įrengimas',\r\n 432120: 'Gaisro pavojaus ir apsaugos signalizacijos įrengimas',\r\n 432130: 'Antenų, ryšio sistemų įrengimas',\r\n 432200: 'Vandentiekio, šildymo ir oro kondicionavimo sistemų įrengimas',\r\n 432900: 'Kitos įrangos įrengimas',\r\n 433000: 'Statybos baigimas ir apdaila',\r\n 433100: 'Tinkavimas',\r\n 433200: 'Staliaus dirbinių įrengimas',\r\n 433300: 'Grindų ir sienų dengimas',\r\n 433400: 'Dažymas ir stiklinimas',\r\n 433900: 'Kiti statybos baigiamieji ir apdailos darbai',\r\n 439000: 'Kita specializuota statybos veikla',\r\n 439100: 'Stogų dengimas',\r\n 439900: 'Kita, niekur kitur nepriskirta, specializuota statybos veikla',\r\n 450000:\r\n 'Variklinių transporto priemonių ir motociklų didmeninė ir mažmeninė prekyba bei remontas',\r\n 451000: 'Variklinių transporto priemonių pardavimas',\r\n 451100: 'Automobilių ir lengvųjų variklinių transporto priemonių pardavimas',\r\n 451900: 'Kitų variklinių transporto priemonių pardavimas',\r\n 452000: 'Variklinių transporto priemonių techninė priežiūra ir remontas',\r\n 453000:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų pardavimas',\r\n 453100:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų didmeninė prekyba',\r\n 453200:\r\n 'Variklinių transporto priemonių atsarginių dalių ir pagalbinių reikmenų mažmeninė prekyba',\r\n 454000:\r\n 'Motociklų ir jų atsarginių dalių bei pagalbinių reikmenų pardavimas, techninė priežiūra ir remontas',\r\n 460000:\r\n 'Didmeninė prekyba, išskyrus prekybą variklinėmis transporto priemonėmis ir motociklais',\r\n 461000: 'Didmeninė prekyba už atlygį ar pagal sutartį',\r\n 461100:\r\n 'Žemės ūkio žaliavų, gyvų gyvulių, tekstilės žaliavų ir pusgaminių pardavimo agentų veikla',\r\n 461200:\r\n 'Degalų, rūdų, metalų ir pramoninių cheminių preparatų pardavimo agentų veikla',\r\n 461300: 'Statybinio miško ir statybinių medžiagų pardavimo agentų veikla',\r\n 461400: 'Mašinų, pramonės įrangos, laivų ir lėktuvų pardavimo agentų veikla',\r\n 461500:\r\n 'Baldų, namų ūkio reikmenų, metalo ir geležies dirbinių pardavimo agentų veikla',\r\n 461600:\r\n 'Tekstilės, drabužių, kailių, avalynės ir odos dirbinių pardavimo agentų veikla',\r\n 461700: 'Maisto produktų, gėrimų ir tabako pardavimo agentų veikla',\r\n 461800: 'Kitų specifinių produktų pardavimo agentų specializuota veikla',\r\n 461900: 'Įvairių prekių pardavimo agentų veikla',\r\n 462000: 'Žemės ūkio žaliavų ir gyvų gyvulių didmeninė prekyba',\r\n 462100:\r\n 'Grūdų, neperdirbto tabako, sėklų ir pašarų gyvuliams didmeninė prekyba',\r\n 462200: 'Gėlių ir sodinukų didmeninė prekyba',\r\n 462300: 'Gyvų gyvulių didmeninė prekyba',\r\n 462400: 'Kailių ir odų didmeninė prekyba',\r\n 463000: 'Maisto produktų, gėrimų, tabako ir jo gaminių didmeninė prekyba',\r\n 463100: 'Vaisių, uogų ir daržovių didmeninė prekyba',\r\n 463200: 'Mėsos ir mėsos produktų didmeninė prekyba',\r\n 463300:\r\n 'Pieno produktų, kiaušinių bei valgomųjų aliejaus ir riebalų didmeninė prekyba',\r\n 463400: 'Gėrimų didmeninė prekyba',\r\n 463410: 'Alkoholinių gėrimų didmeninė prekyba',\r\n 463420: 'Nealkoholinių gėrimų didmeninė prekyba',\r\n 463500: 'Tabako gaminių didmeninė prekyba',\r\n 463600: 'Cukraus, šokolado ir cukraus saldumynų didmeninė prekyba',\r\n 463700: 'Kavos, arbatos, kakavos ir prieskonių didmeninė prekyba',\r\n 463800:\r\n 'Kitų maisto produktų, įskaitant žuvis, vėžiagyvius ir moliuskus, didmeninė prekyba',\r\n 463900: 'Maisto produktų, gėrimų ir tabako nespecializuota didmeninė prekyba',\r\n 464000: 'Namų ūkio reikmenų didmeninė prekyba',\r\n 464100: 'Tekstilės gaminių didmeninė prekyba',\r\n 464200: 'Drabužių ir avalynės didmeninė prekyba',\r\n 464210: 'Guminės avalynės didmeninė prekyba',\r\n 464220: 'Odinės avalynės didmeninė prekyba',\r\n 464230: 'Kailinių gaminių didmeninė prekyba',\r\n 464240: 'Drabužių ir drabužių priedų didmeninė prekyba',\r\n 464300: 'Elektrinių buitinių aparatų arba prietaisų didmeninė prekyba',\r\n 464400:\r\n 'Porceliano ir stiklo dirbinių bei valymo priemonių didmeninė prekyba',\r\n 464410: 'Porceliano ir stiklo dirbinių didmeninė prekyba',\r\n 464420: 'Valymo priemonių didmeninė prekyba',\r\n 464500: 'Kvepalų ir kosmetikos priemonių didmeninė prekyba',\r\n 464600: 'Farmacijos prekių didmeninė prekyba',\r\n 464610:\r\n 'Chirurginių ir ortopedinių instrumentų bei protezų didmeninė prekyba',\r\n 464620: 'Vaistų ir vaistinių medžiagų didmeninė prekyba',\r\n 464700: 'Baldų, kilimų ir apšvietimo įrangos didmeninė prekyba',\r\n 464800: 'Laikrodžių, papuošalų ir juvelyrinių dirbinių didmeninė prekyba',\r\n 464900: 'Kitų namų ūkio reikmenų didmeninė prekyba',\r\n 465000: 'Informacijos ir ryšių technologijų (IRT) įrangos didmeninė prekyba',\r\n 465100: 'Kompiuterių, jų išorinės ir programinės įrangos didmeninė prekyba',\r\n 465200:\r\n 'Elektroninės ir telekomunikacinės įrangos ir jos dalių didmeninė prekyba',\r\n 466000: 'Kitų mašinų, įrangos ir reikmenų didmeninė prekyba',\r\n 466100: 'Žemės ūkio mašinų, įrangos ir reikmenų didmeninė prekyba',\r\n 466200: 'Staklių didmeninė prekyba',\r\n 466300: 'Kasybos, statybos ir statybos inžinerijos mašinų didmeninė prekyba',\r\n 466400:\r\n 'Tekstilės pramonės mašinų bei siuvamųjų ir mezgimo mašinų didmeninė prekyba',\r\n 466500: 'Įstaigos baldų didmeninė prekyba',\r\n 466600: 'Kitų įstaigos mašinų ir įrangos didmeninė prekyba',\r\n 466900: 'Kitų mašinų ir įrangos didmeninė prekyba',\r\n 467000: 'Kita specializuota didmeninė prekyba',\r\n 467100: 'Kietojo, skystojo ir dujinio kuro bei priedų didmeninė prekyba',\r\n 467110: 'Kietojo kuro didmeninė prekyba',\r\n 467120: 'Benzino didmeninė prekyba',\r\n 467130: 'Dujinio kuro didmeninė prekyba',\r\n 467140: 'Dyzelinio kuro didmeninė prekyba',\r\n 467150: 'Tepalų didmeninė prekyba',\r\n 467200: 'Metalų rūdų ir metalų didmeninė prekyba',\r\n 467300:\r\n 'Medienos, statybinių medžiagų ir sanitarinių įrenginių didmeninė prekyba',\r\n 467310: 'Popierinių sienų apmušalų didmeninė prekyba',\r\n 467400:\r\n 'Metalinių dirbinių, vandentiekio ir šildymo įrangos bei reikmenų didmeninė prekyba',\r\n 467410: 'Geležies dirbinių didmeninė prekyba',\r\n 467420: 'Vandentiekio įrangos didmeninė prekyba',\r\n 467430: 'Šildymo įrangos didmeninė prekyba',\r\n 467500: 'Chemijos produktų didmeninė prekyba',\r\n 467510: 'Agrocheminių produktų ir trąšų didmeninė prekyba',\r\n 467520:\r\n 'Ne vaistinės paskirties stipriai veikiančiųjų ir nuodingųjų medžiagų didmeninė prekyba',\r\n 467600: 'Kitų tarpinių produktų didmeninė prekyba',\r\n 467610: 'Popieriaus ritinių ir kartono didmeninė prekyba',\r\n 467620: 'Linų pluošto didmeninė prekyba',\r\n 467700: 'Atliekų ir laužo didmeninė prekyba',\r\n 469000: 'Nespecializuota didmeninė prekyba',\r\n 470000:\r\n 'Mažmeninė prekyba, išskyrus variklinių transporto priemonių ir motociklų prekybą',\r\n 471000: 'Mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 471100:\r\n 'Mažmeninė prekyba nespecializuotose parduotuvėse, kuriose vyrauja maistas, gėrimai ir tabakas',\r\n 471900: 'Kita mažmeninė prekyba nespecializuotose parduotuvėse',\r\n 472000:\r\n 'Maisto, gėrimų ir tabako mažmeninė prekyba specializuotose parduotuvėse',\r\n 472100:\r\n 'Vaisių, uogų ir daržovių mažmeninė prekyba specializuotose parduotuvėse',\r\n 472200:\r\n 'Mėsos ir mėsos produktų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472300:\r\n 'Žuvų, vėžiagyvių ir moliuskų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472400:\r\n 'Duonos, bandelių, konditerijos gaminių ir cukraus saldumynų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472410: 'Duonos, pyrago ir kitų miltinių produktų mažmeninė prekyba',\r\n 472420: 'Konditerijos gaminių ir saldumynų mažmeninė prekyba',\r\n 472500: 'Gėrimų mažmeninė prekyba specializuotose parduotuvėse',\r\n 472510: 'Alkoholinių gėrimų mažmeninė prekyba',\r\n 472520: 'Gaivinamųjų gėrimų mažmeninė prekyba',\r\n 472600: 'Tabako gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 472900: 'Kita maisto produktų mažmeninė prekyba specializuotose parduotuvėse',\r\n 473000: 'Automobilių degalų mažmeninė prekyba specializuotose parduotuvėse',\r\n 474000:\r\n 'Informacijos ir ryšių technologijų (IRT) įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474100:\r\n 'Kompiuterių, jų išorinės ir programinės įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474200:\r\n 'Telekomunikacijų įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 474300:\r\n 'Garso ir vaizdo įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475000:\r\n 'Kitos namų ūkio įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 475100: 'Tekstilės gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 475200:\r\n 'Metalo dirbinių, dažų ir stiklo mažmeninė prekyba specializuotose parduotuvėse',\r\n 475210: 'Dažų, lakų ir politūrų mažmeninė prekyba',\r\n 475220: 'Plokščiojo stiklo mažmeninė prekyba',\r\n 475230: 'Statybinių medžiagų mažmeninė prekyba',\r\n 475240: 'Medžiagų ir smulkiojo remonto darbams įrangos mažmeninė prekyba',\r\n 475300:\r\n 'Kilimų, kilimėlių, sienų ir grindų dangų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475400:\r\n 'Elektrinių buitinių aparatų ir prietaisų mažmeninė prekyba specializuotose parduotuvėse',\r\n 475900:\r\n 'Baldų, apšvietimo įrangos ir kitų namų ūkio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476000:\r\n 'Kultūros ir poilsio prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 476100: 'Knygų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476200:\r\n 'Laikraščių ir raštinės reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476300:\r\n 'Muzikos ir vaizdo įrašų mažmeninė prekyba specializuotose parduotuvėse',\r\n 476400: 'Sporto įrangos mažmeninė prekyba specializuotose parduotuvėse',\r\n 476500: 'Žaidimų ir žaislų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477000: 'Kitų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477100: 'Drabužių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477200:\r\n 'Avalynės ir odos gaminių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477300: 'Vaistinių, ruošiančių ir parduodančių vaistus, veikla',\r\n 477400:\r\n 'Medicinos ir ortopedinių prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477500:\r\n 'Kosmetikos ir tualeto reikmenų mažmeninė prekyba specializuotose parduotuvėse',\r\n 477600:\r\n 'Gėlių, sodinukų, sėklų, trąšų, naminių gyvūnėlių ir jų ėdalo mažmeninė prekyba specializuotose parduotuvėse',\r\n 477700:\r\n 'Laikrodžių, papuošalų ir juvelyrinių dirbinių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477800: 'Kita naujų prekių mažmeninė prekyba specializuotose parduotuvėse',\r\n 477810:\r\n 'Suvenyrų, meno dirbinių ir religinių reikmenų specializuota mažmeninė prekyba',\r\n 477820:\r\n 'Buitinio skystojo kuro, dujų balionų, anglies ir malkų specializuota mažmeninė prekyba',\r\n 477830: 'Ginklų ir šaudmenų specializuota mažmeninė prekyba',\r\n 477840: 'Optikos prekių mažmeninė prekyba',\r\n 477890: 'Kita specializuota mažmeninė prekyba',\r\n 477900: 'Naudotų daiktų mažmeninė prekyba parduotuvėse',\r\n 477910: 'Antikvarinių daiktų mažmeninė prekyba',\r\n 478000: 'Mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478100:\r\n 'Maisto, gėrimų ir tabako gaminių mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478200:\r\n 'Tekstilės, drabužių ir avalynės mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 478900: 'Kitų prekių mažmeninė prekyba kioskuose ir prekyvietėse',\r\n 479000: 'Mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479100: 'Užsakomasis pardavimas paštu arba internetu',\r\n 479900: 'Kita mažmeninė prekyba ne parduotuvėse, kioskuose ar prekyvietėse',\r\n 479910: 'Mažmeninė prekyba per keliaujančius firmos atstovus',\r\n 479920: 'Mažmeninė prekyba iš automatų smulkioms prekėms pardavinėti',\r\n 490000: 'Sausumos transportas ir transportavimas vamzdynais',\r\n 491000: 'Tarpmiestinis keleivinis geležinkelio transportas',\r\n 492000: 'Krovininis geležinkelio transportas',\r\n 493000: 'Kitas keleivinis sausumos transportas',\r\n 493100: 'Keleivių vežimas miesto arba priemiestiniu sausumos transportu',\r\n 493110: 'Keleivių vežimas autobusais mieste ar priemiestyje',\r\n 493120: 'Keleivių vežimas troleibusais mieste ar priemiestyje',\r\n 493200: 'Taksi veikla',\r\n 493900: 'Kitas, niekur kitur nepriskirtas, keleivinis sausumos transportas',\r\n 494000: 'Krovininis kelių transportas ir perkraustymo veikla',\r\n 494100: 'Krovininis kelių transportas',\r\n 494200: 'Perkraustymo veikla',\r\n 495000: 'Transportavimas vamzdynais',\r\n 500000: 'Vandens transportas',\r\n 501000: 'Jūrų ir pakrančių keleivinis vandens transportas',\r\n 502000: 'Jūrų ir pakrančių krovininis vandens transportas',\r\n 503000: 'Vidaus vandenų keleivinis transportas',\r\n 504000: 'Vidaus vandenų krovininis transportas',\r\n 510000: 'Oro transportas',\r\n 511000: 'Keleivinis oro transportas',\r\n 512000: 'Krovininis oro transportas ir kosminis transportas',\r\n 512100: 'Krovininis oro transportas',\r\n 512200: 'Kosminis transportas',\r\n 520000: 'Sandėliavimas ir transportui būdingų paslaugų veikla',\r\n 521000: 'Sandėliavimas ir saugojimas',\r\n 522000: 'Transportui būdingų paslaugų veikla',\r\n 522100: 'Sausumos transportui būdingų paslaugų veikla',\r\n 522110: 'Traukinių eismo organizavimas ir reguliavimas',\r\n 522120: 'Automobilių stovėjimo aikštelių eksploatavimas',\r\n 522130: 'Techninių priemonių, reguliuojančių gatvių judėjimą, eksploatavimas',\r\n 522140: 'Gatvių, kelių, tiltų, tunelių eksploatavimas',\r\n 522150: 'Sauskelių transporto stočių eksploatavimas',\r\n 522160: 'Riedmenų techninė priežiūra ir smulkus remontas',\r\n 522170: 'Geležinkelių eksploatavimas',\r\n 522200: 'Vandens transportui būdingų paslaugų veikla',\r\n 522300: 'Oro transportui būdingų paslaugų veikla',\r\n 522400: 'Krovinių tvarkymas',\r\n 522900: 'Kita transportui būdingų paslaugų veikla',\r\n 522910: 'Muitinės tarpininkų veikla',\r\n 522920: 'Krovinių gabenimo agentų ir ekspeditorių veikla',\r\n 522930: 'Vežimo dokumentų ir kelionės lapų parengimas ir išdavimas',\r\n 530000: 'Pašto ir pasiuntinių (kurjerių) veikla',\r\n 531000:\r\n 'Pašto pagal įpareigojimą teikti universaliąsias paslaugas atliekama veikla',\r\n 532000: 'Kita pašto ir pasiuntinių (kurjerių) veikla',\r\n 550000: 'Apgyvendinimo veikla',\r\n 551000: 'Viešbučių ir panašių laikinų buveinių veikla',\r\n 552000: 'Poilsiautojų ir kita trumpalaikio apgyvendinimo veikla',\r\n 552010: 'Poilsio namų veikla',\r\n 552020: 'Vaikų poilsio stovyklų veikla',\r\n 553000:\r\n 'Poilsinių transporto priemonių, priekabų aikštelių ir stovyklaviečių veikla',\r\n 559000: 'Kita apgyvendinimo veikla',\r\n 560000: 'Maitinimo ir gėrimų teikimo veikla',\r\n 561000: 'Restoranų ir pagaminto valgio teikimo veikla',\r\n 562000:\r\n 'Pagaminto valgio tiekimas renginiams ir kitų maitinimo paslaugų veikla',\r\n 562100: 'Pagaminto valgio tiekimas renginiams',\r\n 562900: 'Kitų maitinimo paslaugų teikimas',\r\n 563000: 'Gėrimų pardavimo vartoti vietoje veikla',\r\n 580000: 'Leidybinė veikla',\r\n 581000: 'Knygų, periodinių leidinių leidyba ir kita leidybinė veikla',\r\n 581100: 'Knygų leidyba',\r\n 581200: 'Žinynų, katalogų ir adresų sąrašų leidyba',\r\n 581300: 'Laikraščių leidyba',\r\n 581400: 'Žurnalų ir periodinių leidinių leidyba',\r\n 581900: 'Kita leidyba',\r\n 582000: 'Programinės įrangos leidyba',\r\n 582100: 'Kompiuterinių žaidimų leidyba',\r\n 582900: 'Kita programinės įrangos leidyba',\r\n 590000:\r\n 'Kino filmų, vaizdo filmų ir televizijos programų gamyba, garso įrašymo ir muzikos įrašų leidybos veikla',\r\n 591000: 'Kino filmų, vaizdo filmų ir televizijos programų rengėjų veikla',\r\n 591100: 'Kino filmų, vaizdo filmų ir televizijos programų gamyba',\r\n 591200:\r\n 'Pagamintų kino filmų, vaizdo filmų ir televizijos programų meninis apipavidalinimas',\r\n 591300: 'Kino filmų, vaizdo filmų ir televizijos programų platinimas',\r\n 591400: 'Kino filmų rodymas',\r\n 592000: 'Garso įrašymas ir muzikos įrašų leidyba',\r\n 600000: 'Programų rengimas ir transliavimas',\r\n 601000: 'Radijo programų transliavimas',\r\n 602000: 'Televizijos programų rengimas ir transliavimas',\r\n 610000: 'Telekomunikacijos',\r\n 611000: 'Laidinio ryšio paslaugų veikla',\r\n 612000: 'Belaidžio ryšio paslaugų veikla',\r\n 613000: 'Palydovinio ryšio paslaugų veikla',\r\n 619000: 'Kitų ryšių paslaugų veikla',\r\n 620000: 'Kompiuterių programavimo, konsultacinė ir susijusi veikla',\r\n 620100: 'Kompiuterių programavimo veikla',\r\n 620200: 'Kompiuterių konsultacinė veikla',\r\n 620300: 'Kompiuterinės įrangos tvarkyba',\r\n 620900: 'Kita informacinių technologijų ir kompiuterių paslaugų veikla',\r\n 630000: 'Informacinių paslaugų veikla',\r\n 631000:\r\n 'Duomenų apdorojimo, interneto serverių paslaugų (prieglobos) ir susijusi veikla; interneto vartų paslaugų veikla',\r\n 631100:\r\n 'Duomenų apdorojimo, interneto serverių paslaugų (prieglobos) ir susijusi veikla',\r\n 631200: 'Interneto vartų paslaugų veikla',\r\n 639000: 'Kita informacinių paslaugų veikla',\r\n 639100: 'Naujienų agentūrų veikla',\r\n 639900: 'Kita, niekur kitur nepriskirta, informacinių paslaugų veikla',\r\n 640000:\r\n 'Finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 641000: 'Piniginis tarpininkavimas',\r\n 641100: 'Centrinė bankininkystė',\r\n 641900: 'Kitas piniginis tarpininkavimas',\r\n 642000: 'Kontroliuojančiųjų bendrovių veikla',\r\n 643000: 'Trestų, fondų ir panašių finansinių institucijų veikla',\r\n 649000:\r\n 'Kita finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 649100: 'Finansinė išperkamoji nuoma',\r\n 649200: 'Kitas kredito teikimas',\r\n 649900:\r\n 'Kita, niekur kitur nepriskirta, finansinių paslaugų veikla, išskyrus draudimą ir pensijų lėšų kaupimą',\r\n 650000:\r\n 'Draudimo, perdraudimo ir pensijų lėšų kaupimo, išskyrus privalomąjį socialinį draudimą, veikla',\r\n 651000: 'Draudimas',\r\n 651100: 'Gyvybės draudimas',\r\n 651200: 'Ne gyvybės draudimas',\r\n 651210: 'Kelionių draudimas',\r\n 652000: 'Perdraudimas',\r\n 653000: 'Pensijų lėšų kaupimas',\r\n 660000: 'Pagalbinė finansinių paslaugų ir draudimo veikla',\r\n 661000:\r\n 'Pagalbinė finansinių paslaugų, išskyrus draudimą ir pensijų lėšų kaupimą, veikla',\r\n 661100: 'Finansų rinkos valdymas',\r\n 661200: 'Vertybinių popierių ir prekių sutarčių sudarymo tarpininkavimas',\r\n 661900:\r\n 'Kita pagalbinė finansinių paslaugų, išskyrus draudimą ir pensijų lėšų kaupimą, veikla',\r\n 662000: 'Pagalbinė draudimo ir pensijų lėšų kaupimo veikla',\r\n 662100: 'Rizikos ir žalos vertinimas',\r\n 662200: 'Draudimo agentų ir brokerių veikla',\r\n 662900: 'Kita pagalbinė draudimo ir pensijų lėšų kaupimo veikla',\r\n 663000: 'Fondų valdymo veikla',\r\n 680000: 'Nekilnojamojo turto operacijos',\r\n 681000: 'Nuosavo nekilnojamojo turto pirkimas ir pardavimas',\r\n 682000: 'Nuosavo arba nuomojamo nekilnojamojo turto nuoma ir eksploatavimas',\r\n 683000: 'Nekilnojamojo turto operacijos už atlygį arba pagal sutartį',\r\n 683100: 'Nekilnojamojo turto agentūrų veikla',\r\n 683110: 'Nekilnojamojo turto vertinimas',\r\n 683200: 'Nekilnojamojo turto tvarkyba už atlygį arba pagal sutartį',\r\n 690000: 'Teisinė ir apskaitos veikla',\r\n 691000: 'Teisinė veikla',\r\n 691010:\r\n 'Konsultacijos ir juridinis atstovavimas civilinėse ir baudžiamosiose bylose',\r\n 691020: 'Konsultacijos ir atstovavimas darbo ginčuose',\r\n 691030: 'Bendrieji patarimai ir konsultacijos, teisinių dokumentų rengimas',\r\n 692000:\r\n 'Apskaitos, buhalterijos ir audito veikla; konsultacijos mokesčių klausimais',\r\n 692010: 'Buhalterinė apskaita ir audito atlikimas',\r\n 692020: 'Finansinių ataskaitų rengimas',\r\n 692030: 'Firmų ir kitų bendrovių komercinių operacijų apskaitos tvarkymas',\r\n 692040: 'Mokesčių konsultacijos',\r\n 700000: 'Pagrindinių buveinių veikla; konsultacinė valdymo veikla',\r\n 701000: 'Pagrindinių buveinių veikla',\r\n 702000: 'Konsultacinė valdymo veikla',\r\n 702100: 'Viešųjų ryšių ir komunikacijos veikla',\r\n 702200: 'Konsultacinė verslo ir kito valdymo veikla',\r\n 710000:\r\n 'Architektūros ir inžinerijos veikla; techninis tikrinimas ir analizė',\r\n 711000:\r\n 'Architektūros ir inžinerijos veikla bei su ja susijusios techninės konsultacijos',\r\n 711100: 'Architektūros veikla',\r\n 711200: 'Inžinerijos veikla ir su ja susijusios techninės konsultacijos',\r\n 711210: 'Inžinerinė - technologinė veikla',\r\n 711220: 'Projektiniai - konstruktoriniai darbai',\r\n 711230: 'Gatvių eismo projektavimas',\r\n 711240: 'Geodezinė veikla',\r\n 711250: 'Geologinės paieškos ir žvalgyba',\r\n 711260: 'Miškotvarka ir žemėtvarka',\r\n 712000: 'Techninis tikrinimas ir analizė',\r\n 712010: 'Aplinkos kontrolė, ekologinis monitoringas',\r\n 712020: 'Medžiagų bandymai ir analizė',\r\n 712030: 'Produkcijos kokybės bandymai ir analizė',\r\n 712040:\r\n 'Maisto produktų tyrimas pagal higienos reikalavimus, įskaitant veterinarinį, susijusį su maisto produktų gamyba, tyrimą ir tikrinimą',\r\n 712050:\r\n 'Variklinių transporto priemonių saugaus eismo periodinis patikrinimas',\r\n 712060: 'Matavimo priemonių patikra bei kalibravimas',\r\n 712070:\r\n 'Gaminių sertifikavimas, jų normatyvinių dokumentų reikalavimų kontrolė',\r\n 720000: 'Moksliniai tyrimai ir taikomoji veikla',\r\n 721000: 'Gamtos mokslų ir inžinerijos moksliniai tyrimai ir taikomoji veikla',\r\n 721100: 'Biotechnologijos moksliniai tyrimai ir taikomoji veikla',\r\n 721900:\r\n 'Kiti gamtos mokslų ir inžinerijos moksliniai tyrimai ir taikomoji veikla',\r\n 721910: 'Agrarinių mokslų tiriamieji ir taikomieji darbai',\r\n 721920: 'Gamtos mokslų tiriamieji ir taikomieji darbai',\r\n 721930: 'Matematikos mokslų tiriamieji ir taikomieji darbai',\r\n 721940: 'Medicinos mokslų tiriamieji ir taikomieji darbai',\r\n 721950: 'Technikos mokslų tiriamieji ir taikomieji darbai',\r\n 722000:\r\n 'Socialinių ir humanitarinių mokslų moksliniai tyrimai ir taikomoji veikla',\r\n 722010: 'Humanitarinių mokslų tiriamieji ir taikomieji darbai',\r\n 722020: 'Socialinių mokslų tiriamieji ir taikomieji darbai',\r\n 722030: 'Teologijos mokslų tiriamieji ir taikomieji darbai',\r\n 730000: 'Reklama ir rinkos tyrimas',\r\n 731000: 'Reklama',\r\n 731100: 'Reklamos agentūrų veikla',\r\n 731200: 'Atstovavimas žiniasklaidai',\r\n 732000: 'Rinkos tyrimas ir viešosios nuomonės apklausa',\r\n 740000: 'Kita profesinė, mokslinė ir techninė veikla',\r\n 741000: 'Specializuota projektavimo veikla',\r\n 742000: 'Fotografavimo veikla',\r\n 743000: 'Vertimo raštu ir žodžiu veikla',\r\n 749000:\r\n 'Kita, niekur kitur nepriskirta, profesinė, mokslinė ir techninė veikla',\r\n 750000: 'Veterinarinė veikla',\r\n 750010: 'Gyvulių ir gyvūnų stacionarinis gydymas',\r\n 750020: 'Gyvulių ir gyvūnų ambulatorinis gydymas',\r\n 750030: 'Veterinarinė diagnostinė veikla',\r\n 750040: 'Veterinarijos laboratorijų veikla',\r\n 770000: 'Nuoma ir išperkamoji nuoma',\r\n 771000: 'Variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771100:\r\n 'Automobilių ir lengvųjų variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771200:\r\n 'Sunkiasvorių variklinių transporto priemonių nuoma ir išperkamoji nuoma',\r\n 771210: 'Krovininių automobilių nuoma',\r\n 771220: 'Turistinių autobusų nuoma',\r\n 772000: 'Asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772100: 'Poilsio ir sporto reikmenų nuoma ir išperkamoji nuoma',\r\n 772110: 'Pramoginių valčių nuoma',\r\n 772120: 'Jojamųjų žirgų nuoma',\r\n 772130: 'Dviračių nuoma',\r\n 772140: 'Sporto įrangos nuoma',\r\n 772150: 'Kitų turizmo priemonių nuoma',\r\n 772200: 'Vaizdajuosčių ir kompaktinių diskų nuoma',\r\n 772900: 'Kitų asmeninių ir namų ūkio prekių nuoma ir išperkamoji nuoma',\r\n 772910: 'Tekstilės dirbinių, drabužių ir avalynės nuoma',\r\n 772920: 'Baldų ir kitų asmeniniam naudojimui skirtų daiktų nuoma',\r\n 772930: 'Muzikos instrumentų, teatro dekoracijų ir kostiumų nuoma',\r\n 773000:\r\n 'Kitų mašinų, įrangos ir materialiųjų vertybių nuoma ir išperkamoji nuoma',\r\n 773100: 'Žemės ūkio mašinų ir įrenginių nuoma ir išperkamoji nuoma',\r\n 773200:\r\n 'Statybos ir inžinerinių statybos darbų mašinų ir įrenginių nuoma ir išperkamoji nuoma',\r\n 773300:\r\n 'Įstaigos mašinų ir įrangos, įskaitant kompiuterius, nuoma ir išperkamoji nuoma',\r\n 773310: 'Kompiuterių nuoma',\r\n 773320: 'Kopijavimo, spausdinimo ir teksto apdorojimo mašinų nuoma',\r\n 773330: 'Kasos aparatų nuoma',\r\n 773400: 'Vandens transporto priemonių ir įrangos nuoma ir išperkamoji nuoma',\r\n 773500: 'Oro transporto priemonių ir įrangos nuoma ir išperkamoji nuoma',\r\n 773900:\r\n 'Kitų, niekur kitur nepriskirtų, mašinų, įrangos ir materialiųjų vertybių nuoma ir išperkamoji nuoma',\r\n 773910: 'Geležinkelio transporto priemonių nuoma',\r\n 773920: 'Motociklų nuoma',\r\n 773930: 'Automobilinių namelių nuoma',\r\n 773940: 'Konteinerių, kilnojamųjų platformų ir padėklų nuoma',\r\n 773950: 'Pramoninių elektrinių ir neelektrinių mašinų nuoma',\r\n 773960: 'Radijo ir televizijos įrenginių nuoma',\r\n 773970: 'Ryšių įrenginių nuoma',\r\n 773980: 'Matavimo ir kontrolės įrenginių nuoma',\r\n 774000:\r\n 'Intelektinės nuosavybės ir panašių produktų, išskyrus autorių teisių saugomus objektus, išperkamoji nuoma',\r\n 780000: 'Įdarbinimo veikla',\r\n 781000: 'Įdarbinimo agentūrų veikla',\r\n 782000: 'Laikinojo įdarbinimo agentūrų veikla',\r\n 783000: 'Kitas darbo jėgos teikimas',\r\n 790000:\r\n 'Kelionių agentūrų, ekskursijų organizatorių, išankstinio užsakymo paslaugų ir susijusi veikla',\r\n 791000: 'Kelionių agentūrų ir ekskursijų organizatorių veikla',\r\n 791100: 'Kelionių agentūrų veikla',\r\n 791200: 'Ekskursijų organizatorių veikla',\r\n 799000: 'Kitų išankstinio užsakymo ir susijusių paslaugų veikla',\r\n 800000: 'Apsaugos ir tyrimo veikla',\r\n 801000: 'Privati apsauga',\r\n 802000: 'Apsaugos sistemų paslaugų veikla',\r\n 803000: 'Tyrimo veikla',\r\n 810000: 'Pastatų aptarnavimas ir kraštovaizdžio tvarkymas',\r\n 811000: 'Kombinuota patalpų funkcionavimo užtikrinimo veikla',\r\n 812000: 'Valymo veikla',\r\n 812100: 'Paprastasis pastatų valymas',\r\n 812200: 'Kita pastatų ir pramoninio valymo veikla',\r\n 812900: 'Kita valymo veikla',\r\n 813000: 'Kraštovaizdžio tvarkymas',\r\n 820000:\r\n 'Administracinė veikla, įstaigų ir kitų verslo įmonių aptarnavimo veikla',\r\n 821000: 'Įstaigų administracinė ir aptarnavimo veikla',\r\n 821100: 'Kombinuotųjų įstaigos administracinių paslaugų veikla',\r\n 821900:\r\n 'Fotokopijavimo, dokumentų rengimo ir kita specializuota įstaigai būdingų paslaugų veikla',\r\n 822000: 'Užsakomųjų informacinių paslaugų centrų veikla',\r\n 823000: 'Posėdžių ir verslo renginių organizavimas',\r\n 829000: 'Niekur kitur nepriskirta verslui būdingų paslaugų veikla',\r\n 829100: 'Išieškojimo agentūrų ir kredito biurų veikla',\r\n 829200: 'Fasavimo ir pakavimo veikla',\r\n 829900: 'Kita, niekur kitur nepriskirta, verslui būdingų paslaugų veikla',\r\n 840000: 'Viešasis valdymas ir gynyba; privalomasis socialinis draudimas',\r\n 841000:\r\n 'Valstybės valdymas ir bendroji ekonominė bei socialinė bendruomenės politika',\r\n 841100: 'Bendroji viešojo valdymo veikla',\r\n 841110: 'Lietuvos Respublikos apskričių veikla',\r\n 841120: 'Lietuvos Respublikos savivaldybių veikla',\r\n 841130: 'Lietuvos Respublikos seniūnijų veikla',\r\n 841140: 'Iždo valdymas ir priežiūra',\r\n 841150: 'Biudžeto vykdymas ir valstybinių fondų tvarkymas',\r\n 841160:\r\n 'Centrinių administracinių institucijų įstatymų leidžiamoji ir vykdomoji veikla',\r\n 841170: 'Vadovavimas muitinės tarnyboms ir jų veikla',\r\n 841180:\r\n 'Vadovavimas statistikos ir sociologijos tarnyboms įvairiuose valstybės valdymo lygiuose bei jų veikla',\r\n 841200:\r\n 'Sveikatos priežiūros, švietimo, kultūros ir kitų socialinių paslaugų, išskyrus socialinį draudimą, veiklos reguliavimas',\r\n 841300: 'Verslo veiklos reguliavimas ir parama efektyviau ją organizuoti',\r\n 842000: 'Bendruomenei teikiamų paslaugų užtikrinimas',\r\n 842100: 'Užsienio reikalai',\r\n 842200: 'Gynybos veikla',\r\n 842300: 'Teisingumo ir teisminė veikla',\r\n 842400: 'Viešosios tvarkos ir apsaugos veikla',\r\n 842500: 'Priešgaisrinių tarnybų veikla',\r\n 843000: 'Privalomojo (valstybinio) socialinio draudimo veikla',\r\n 850000: 'Švietimas',\r\n 851000: 'Ikimokyklinis ugdymas',\r\n 851010: 'Ikimokyklinio amžiaus vaikų ugdymas',\r\n 851020: 'Priešmokyklinio amžiaus vaikų ugdymas',\r\n 852000: 'Pradinis ugdymas',\r\n 853000: 'Vidurinis ugdymas',\r\n 853100: 'Bendrasis vidurinis ugdymas',\r\n 853110: 'Pagrindinis ugdymas',\r\n 853120: 'Vidurinis ugdymas',\r\n 853200: 'Techninis ir profesinis vidurinis mokymas',\r\n 854000: 'Aukštasis mokslas',\r\n 854100:\r\n 'Aukštojo mokslo laipsnio nesuteikiantis mokymas baigus vidurinę mokyklą',\r\n 854200: 'Aukštasis (tretinis) mokslas',\r\n 854210: 'Aukštasis neuniversitetinis mokslas',\r\n 854220: 'Aukštasis universitetinis mokslas',\r\n 854230: 'Doktorantūra',\r\n 855000: 'Kitas mokymas',\r\n 855100: 'Sportinis ir rekreacinis švietimas',\r\n 855200: 'Kultūrinis švietimas',\r\n 855300: 'Vairavimo mokyklų veikla',\r\n 855900: 'Kitas, niekur kitur nepriskirtas, švietimas',\r\n 856000: 'Švietimui būdingų paslaugų veikla',\r\n 860000: 'Žmonių sveikatos priežiūros veikla',\r\n 861000: 'Ligoninių veikla',\r\n 861010: 'Bendrosios paskirties ligoninių veikla',\r\n 861020: 'Specializuotųjų ligoninių veikla',\r\n 861030: 'Reabilitacijos ligoninių veikla',\r\n 861040: 'Slaugos ligoninių veikla',\r\n 862000: 'Medicininės ir odontologinės praktikos veikla',\r\n 862100: 'Bendrosios praktikos gydytojų veikla',\r\n 862200: 'Gydytojų specialistų veikla',\r\n 862300: 'Odontologinės praktikos veikla',\r\n 869000: 'Kita žmonių sveikatos priežiūros veikla',\r\n 869010:\r\n 'Viduriniojo medicinos personalo paslaugų teikiamas ligoniams ne ligoninėse',\r\n 869020: 'Kraujo perpylimo įstaigų ir kraujo bankų veikla',\r\n 869030: 'Medicinos laboratorijų veikla',\r\n 869040: 'Greitosios pagalbos veikla',\r\n 870000: 'Kita stacionarinė globos veikla',\r\n 871000: 'Stacionarinė slaugos įstaigų veikla',\r\n 872000:\r\n 'Stacionarinė protiškai atsilikusių, psichikos ligonių, sergančiųjų priklausomybės ligomis globos veikla',\r\n 873000: 'Stacionarinė pagyvenusių ir neįgaliųjų asmenų globos veikla',\r\n 879000: 'Kita stacionarinė globos veikla',\r\n 880000: 'Nesusijusio su apgyvendinimu socialinio darbo veikla',\r\n 881000:\r\n 'Nesusijusio su apgyvendinimu socialinio darbo su pagyvenusiais ir neįgaliaisiais asmenimis veikla',\r\n 889000: 'Kita, nesusijusi su apgyvendinimu, socialinio darbo veikla',\r\n 889100: 'Vaikų dienos priežiūros veikla',\r\n 889900:\r\n 'Kita, niekur kitur nepriskirta, nesusijusi su apgyvendinimu socialinio darbo veikla',\r\n 900000: 'Kūrybinė, meninė ir pramogų organizavimo veikla',\r\n 900100: 'Scenos pastatymų veikla',\r\n 900200: 'Scenos pastatymams būdingų paslaugų veikla',\r\n 900300: 'Meninė kūryba',\r\n 900400: 'Meno įrenginių eksploatavimo veikla',\r\n 910000: 'Bibliotekų, archyvų, muziejų ir kita kultūrinė veikla',\r\n 910100: 'Bibliotekų ir archyvų veikla',\r\n 910200: 'Muziejų veikla',\r\n 910300:\r\n 'Istorinių vietų ir pastatų bei panašių turistų lankomų vietų eksploatavimas',\r\n 910400: 'Botanikos ir zoologijos sodų bei gamtos rezervatų veikla',\r\n 910410: 'Zoologijos sodų veikla',\r\n 910420: 'Botanikos sodų veikla',\r\n 910430: 'Gamtos rezervatų ir draustinių veikla',\r\n 920000: 'Azartinių žaidimų ir lažybų organizavimo veikla',\r\n 920010: 'Loterijų organizavimo veikla',\r\n 920020: 'Azartinių lošimų ir lažybų organizavimo veikla',\r\n 920030: 'Kitų azartinių žaidimų organizavimo veikla',\r\n 930000: 'Sportinė veikla, pramogų ir poilsio organizavimo veikla',\r\n 931000: 'Sportinė veikla',\r\n 931100: 'Sporto įrenginių eksploatavimas',\r\n 931200: 'Sporto klubų veikla',\r\n 931300: 'Kūno rengybos centrų veikla',\r\n 931900: 'Kita sportinė veikla',\r\n 931910: 'Sportinė ar mėgėjų medžioklė ir su ja susijusi veikla',\r\n 931920: 'Sportinė ar mėgėjų žvejyba ir su ja susijusi veikla',\r\n 932000: 'Pramogų ir poilsio organizavimo veikla',\r\n 932100: 'Atrakcionų ir teminių parkų veikla',\r\n 932900: 'Kita pramogų ir poilsio organizavimo veikla',\r\n 940000: 'Narystės organizacijų veikla',\r\n 941000: 'Verslininkų, darbdavių ir profesinių narystės organizacijų veikla',\r\n 941100: 'Verslininkų ir darbdavių narystės organizacijų veikla',\r\n 941200: 'Profesinių narystės organizacijų veikla',\r\n 942000: 'Profesinių sąjungų veikla',\r\n 949000: 'Kitų narystės organizacijų veikla',\r\n 949100: 'Religinių organizacijų veikla',\r\n 949110: 'Religinių bendrijų veikla',\r\n 949120: 'Vienuolynų veikla',\r\n 949200: 'Politinių organizacijų veikla',\r\n 949900: 'Kitų, niekur kitur nepriskirtų, narystės organizacijų veikla',\r\n 950000: 'Kompiuterių ir asmeninių bei namų ūkio reikmenų taisymas',\r\n 951000: 'Kompiuterių ir ryšių įrangos remontas',\r\n 951100: 'Kompiuterių ir išorinės įrangos remontas',\r\n 951200: 'Ryšių įrangos remontas',\r\n 951210: 'Ryšio sistemų techninė priežiūra',\r\n 952000: 'Asmeninių ir namų ūkio reikmenų taisymas',\r\n 952100: 'Vartotojiškos elektroninės įrangos remontas',\r\n 952200: 'Buitinių aparatų ir prietaisų, namų bei sodo įrangos remontas',\r\n 952300: 'Avalynės ir odos gaminių taisymas',\r\n 952400: 'Baldų ir interjero reikmenų taisymas',\r\n 952500: 'Įvairių tipų laikrodžių ir juvelyrinių dirbinių taisymas',\r\n 952900: 'Kitų asmeninių ir namų ūkio reikmenų taisymas',\r\n 960000: 'Kita asmenų aptarnavimo veikla',\r\n 960100: 'Tekstilės ir kailių gaminių skalbimas ir (sausasis) valymas',\r\n 960200: 'Kirpyklų ir kitų grožio salonų veikla',\r\n 960300: 'Laidotuvių ir su jomis susijusi veikla',\r\n 960400: 'Fizinės gerovės užtikrinimo veikla',\r\n 960900: 'Kita, niekur kitur nepriskirta, asmenų aptarnavimo veikla',\r\n 970000: 'Namų ūkių, samdančių namų ūkio personalą, veikla',\r\n 980000:\r\n 'Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų gaminių gamyba ir paslaugų teikimu',\r\n 981000:\r\n ' Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų gaminių ar reikmenų gamyba',\r\n 982000:\r\n 'Privačių namų ūkių veikla, susijusi su savoms reikmėms tenkinti skirtų nediferencijuojamų paslaugų teikimu',\r\n 990000: 'Ekstrateritorinių organizacijų ir įstaigų veikla',\r\n};\r\n\r\nexport const fullEvrkCodeList = [\r\n '100000',\r\n '101000',\r\n '101100',\r\n '101200',\r\n '101300',\r\n '101310',\r\n '102000',\r\n '103000',\r\n '103100',\r\n '103110',\r\n '103200',\r\n '103900',\r\n '104000',\r\n '104100',\r\n '104200',\r\n '105000',\r\n '105100',\r\n '105200',\r\n '106000',\r\n '106100',\r\n '106110',\r\n '106120',\r\n '106200',\r\n '106210',\r\n '106220',\r\n '107000',\r\n '107100',\r\n '107200',\r\n '107300',\r\n '108000',\r\n '108100',\r\n '108200',\r\n '108300',\r\n '108400',\r\n '108410',\r\n '108500',\r\n '108600',\r\n '108900',\r\n '108910',\r\n '109000',\r\n '109100',\r\n '109200',\r\n '110000',\r\n '110100',\r\n '110200',\r\n '110300',\r\n '110400',\r\n '110500',\r\n '110600',\r\n '110700',\r\n '110710',\r\n '110720',\r\n '120000',\r\n '130000',\r\n '131000',\r\n '132000',\r\n '132010',\r\n '132020',\r\n '133000',\r\n '139000',\r\n '139100',\r\n '139200',\r\n '139300',\r\n '139400',\r\n '139500',\r\n '139600',\r\n '139900',\r\n '140000',\r\n '141000',\r\n '141100',\r\n '141200',\r\n '141300',\r\n '141310',\r\n '141320',\r\n '141400',\r\n '141900',\r\n '141910',\r\n '141920',\r\n '141930',\r\n '142000',\r\n '143000',\r\n '143100',\r\n '143900',\r\n '150000',\r\n '151000',\r\n '151100',\r\n '151110',\r\n '151120',\r\n '151130',\r\n '151200',\r\n '152000',\r\n '160000',\r\n '161000',\r\n '161010',\r\n '162000',\r\n '162100',\r\n '162110',\r\n '162120',\r\n '162200',\r\n '162300',\r\n '162310',\r\n '162320',\r\n '162330',\r\n '162400',\r\n '162410',\r\n '162900',\r\n '170000',\r\n '171000',\r\n '171100',\r\n '171200',\r\n '172000',\r\n '172100',\r\n '172200',\r\n '172210',\r\n '172300',\r\n '172310',\r\n '172320',\r\n '172400',\r\n '172900',\r\n '172910',\r\n '180000',\r\n '181000',\r\n '181100',\r\n '181200',\r\n '181300',\r\n '181400',\r\n '182000',\r\n '190000',\r\n '191000',\r\n '192000',\r\n '192010',\r\n '192020',\r\n '192030',\r\n '192040',\r\n '200000',\r\n '201000',\r\n '201100',\r\n '201200',\r\n '201300',\r\n '201400',\r\n '201500',\r\n '201510',\r\n '201520',\r\n '201530',\r\n '201600',\r\n '201700',\r\n '202000',\r\n '202010',\r\n '203000',\r\n '203010',\r\n '203020',\r\n '204000',\r\n '204100',\r\n '204200',\r\n '205000',\r\n '205100',\r\n '205200',\r\n '205300',\r\n '205900',\r\n '205910',\r\n '205920',\r\n '205930',\r\n '205940',\r\n '206000',\r\n '210000',\r\n '211000',\r\n '211010',\r\n '212000',\r\n '212010',\r\n '212020',\r\n '220000',\r\n '221000',\r\n '221100',\r\n '221900',\r\n '222000',\r\n '222100',\r\n '222200',\r\n '222300',\r\n '222900',\r\n '230000',\r\n '231000',\r\n '231100',\r\n '231200',\r\n '231300',\r\n '231310',\r\n '231400',\r\n '231900',\r\n '231910',\r\n '232000',\r\n '233000',\r\n '233100',\r\n '233110',\r\n '233120',\r\n '233200',\r\n '234000',\r\n '234100',\r\n '234200',\r\n '234300',\r\n '234400',\r\n '234900',\r\n '235000',\r\n '235100',\r\n '235200',\r\n '236000',\r\n '236100',\r\n '236200',\r\n '236300',\r\n '236400',\r\n '236500',\r\n '236900',\r\n '237000',\r\n '239000',\r\n '239100',\r\n '239900',\r\n '239910',\r\n '239920',\r\n '239930',\r\n '239940',\r\n '240000',\r\n '241000',\r\n '242000',\r\n '243000',\r\n '243100',\r\n '243200',\r\n '243300',\r\n '243400',\r\n '244000',\r\n '244100',\r\n '244200',\r\n '244300',\r\n '244400',\r\n '244500',\r\n '244600',\r\n '245000',\r\n '245100',\r\n '245200',\r\n '245300',\r\n '245400',\r\n '250000',\r\n '251000',\r\n '251100',\r\n '251200',\r\n '252000',\r\n '252100',\r\n '252900',\r\n '252910',\r\n '253000',\r\n '254000',\r\n '255000',\r\n '256000',\r\n '256100',\r\n '256200',\r\n '257000',\r\n '257100',\r\n '257200',\r\n '257300',\r\n '259000',\r\n '259100',\r\n '259200',\r\n '259300',\r\n '259400',\r\n '259900',\r\n '260000',\r\n '261000',\r\n '261100',\r\n '261200',\r\n '262000',\r\n '263000',\r\n '264000',\r\n '265000',\r\n '265100',\r\n '265110',\r\n '265120',\r\n '265130',\r\n '265140',\r\n '265200',\r\n '266000',\r\n '267000',\r\n '268000',\r\n '270000',\r\n '271000',\r\n '271100',\r\n '271200',\r\n '272000',\r\n '273000',\r\n '273100',\r\n '273200',\r\n '273300',\r\n '274000',\r\n '275000',\r\n '275100',\r\n '275200',\r\n '279000',\r\n '280000',\r\n '281000',\r\n '281100',\r\n '281200',\r\n '281300',\r\n '281400',\r\n '281500',\r\n '282000',\r\n '282100',\r\n '282200',\r\n '282300',\r\n '282400',\r\n '282500',\r\n '282900',\r\n '283000',\r\n '284000',\r\n '284100',\r\n '284900',\r\n '289000',\r\n '289100',\r\n '289200',\r\n '289300',\r\n '289400',\r\n '289500',\r\n '289600',\r\n '289900',\r\n '290000',\r\n '291000',\r\n '292000',\r\n '293000',\r\n '293100',\r\n '293200',\r\n '300000',\r\n '301000',\r\n '301100',\r\n '301200',\r\n '302000',\r\n '303000',\r\n '304000',\r\n '309000',\r\n '309100',\r\n '309200',\r\n '309900',\r\n '310000',\r\n '310100',\r\n '310200',\r\n '310300',\r\n '310900',\r\n '320000',\r\n '321000',\r\n '321100',\r\n '321200',\r\n '321300',\r\n '322000',\r\n '323000',\r\n '324000',\r\n '324010',\r\n '324020',\r\n '324030',\r\n '324040',\r\n '324050',\r\n '324060',\r\n '324070',\r\n '325000',\r\n '325010',\r\n '325020',\r\n '325030',\r\n '329000',\r\n '329100',\r\n '329900',\r\n '329910',\r\n '330000',\r\n '331000',\r\n '331100',\r\n '331200',\r\n '331300',\r\n '331400',\r\n '331500',\r\n '331600',\r\n '331700',\r\n '331900',\r\n '332000',\r\n '350000',\r\n '351000',\r\n '351100',\r\n '351200',\r\n '351300',\r\n '351400',\r\n '352000',\r\n '352100',\r\n '352200',\r\n '352300',\r\n '353000',\r\n '353010',\r\n '353020',\r\n '360000',\r\n '360010',\r\n '360020',\r\n '360030',\r\n '370000',\r\n '380000',\r\n '381000',\r\n '381100',\r\n '381200',\r\n '382000',\r\n '382100',\r\n '382200',\r\n '383000',\r\n '383100',\r\n '383200',\r\n '390000',\r\n '410000',\r\n '411000',\r\n '412000',\r\n '412010',\r\n '412020',\r\n '420000',\r\n '421000',\r\n '421100',\r\n '421110',\r\n '421200',\r\n '421300',\r\n '422000',\r\n '422100',\r\n '422200',\r\n '429000',\r\n '429100',\r\n '429900',\r\n '430000',\r\n '431000',\r\n '431100',\r\n '431200',\r\n '431210',\r\n '431220',\r\n '431230',\r\n '431300',\r\n '432000',\r\n '432100',\r\n '432110',\r\n '432120',\r\n '432130',\r\n '432200',\r\n '432900',\r\n '433000',\r\n '433100',\r\n '433200',\r\n '433300',\r\n '433400',\r\n '433900',\r\n '439000',\r\n '439100',\r\n '439900',\r\n '450000',\r\n '451000',\r\n '451100',\r\n '451900',\r\n '452000',\r\n '453000',\r\n '453100',\r\n '453200',\r\n '454000',\r\n '460000',\r\n '461000',\r\n '461100',\r\n '461200',\r\n '461300',\r\n '461400',\r\n '461500',\r\n '461600',\r\n '461700',\r\n '461800',\r\n '461900',\r\n '462000',\r\n '462100',\r\n '462200',\r\n '462300',\r\n '462400',\r\n '463000',\r\n '463100',\r\n '463200',\r\n '463300',\r\n '463400',\r\n '463410',\r\n '463420',\r\n '463500',\r\n '463600',\r\n '463700',\r\n '463800',\r\n '463900',\r\n '464000',\r\n '464100',\r\n '464200',\r\n '464210',\r\n '464220',\r\n '464230',\r\n '464240',\r\n '464300',\r\n '464400',\r\n '464410',\r\n '464420',\r\n '464500',\r\n '464600',\r\n '464610',\r\n '464620',\r\n '464700',\r\n '464800',\r\n '464900',\r\n '465000',\r\n '465100',\r\n '465200',\r\n '466000',\r\n '466100',\r\n '466200',\r\n '466300',\r\n '466400',\r\n '466500',\r\n '466600',\r\n '466900',\r\n '467000',\r\n '467100',\r\n '467110',\r\n '467120',\r\n '467130',\r\n '467140',\r\n '467150',\r\n '467200',\r\n '467300',\r\n '467310',\r\n '467400',\r\n '467410',\r\n '467420',\r\n '467430',\r\n '467500',\r\n '467510',\r\n '467520',\r\n '467600',\r\n '467610',\r\n '467620',\r\n '467700',\r\n '469000',\r\n '470000',\r\n '471000',\r\n '471100',\r\n '471900',\r\n '472000',\r\n '472100',\r\n '472200',\r\n '472300',\r\n '472400',\r\n '472410',\r\n '472420',\r\n '472500',\r\n '472510',\r\n '472520',\r\n '472600',\r\n '472900',\r\n '473000',\r\n '474000',\r\n '474100',\r\n '474200',\r\n '474300',\r\n '475000',\r\n '475100',\r\n '475200',\r\n '475210',\r\n '475220',\r\n '475230',\r\n '475240',\r\n '475300',\r\n '475400',\r\n '475900',\r\n '476000',\r\n '476100',\r\n '476200',\r\n '476300',\r\n '476400',\r\n '476500',\r\n '477000',\r\n '477100',\r\n '477200',\r\n '477300',\r\n '477400',\r\n '477500',\r\n '477600',\r\n '477700',\r\n '477800',\r\n '477810',\r\n '477820',\r\n '477830',\r\n '477840',\r\n '477890',\r\n '477900',\r\n '477910',\r\n '478000',\r\n '478100',\r\n '478200',\r\n '478900',\r\n '479000',\r\n '479100',\r\n '479900',\r\n '479910',\r\n '479920',\r\n '490000',\r\n '491000',\r\n '492000',\r\n '493000',\r\n '493100',\r\n '493110',\r\n '493120',\r\n '493200',\r\n '493900',\r\n '494000',\r\n '494100',\r\n '494200',\r\n '495000',\r\n '500000',\r\n '501000',\r\n '502000',\r\n '503000',\r\n '504000',\r\n '510000',\r\n '511000',\r\n '512000',\r\n '512100',\r\n '512200',\r\n '520000',\r\n '521000',\r\n '522000',\r\n '522100',\r\n '522110',\r\n '522120',\r\n '522130',\r\n '522140',\r\n '522150',\r\n '522160',\r\n '522170',\r\n '522200',\r\n '522300',\r\n '522400',\r\n '522900',\r\n '522910',\r\n '522920',\r\n '522930',\r\n '530000',\r\n '531000',\r\n '532000',\r\n '550000',\r\n '551000',\r\n '552000',\r\n '552010',\r\n '552020',\r\n '553000',\r\n '559000',\r\n '560000',\r\n '561000',\r\n '562000',\r\n '562100',\r\n '562900',\r\n '563000',\r\n '580000',\r\n '581000',\r\n '581100',\r\n '581200',\r\n '581300',\r\n '581400',\r\n '581900',\r\n '582000',\r\n '582100',\r\n '582900',\r\n '590000',\r\n '591000',\r\n '591100',\r\n '591200',\r\n '591300',\r\n '591400',\r\n '592000',\r\n '600000',\r\n '601000',\r\n '602000',\r\n '610000',\r\n '611000',\r\n '612000',\r\n '613000',\r\n '619000',\r\n '620000',\r\n '620100',\r\n '620200',\r\n '620300',\r\n '620900',\r\n '630000',\r\n '631000',\r\n '631100',\r\n '631200',\r\n '639000',\r\n '639100',\r\n '639900',\r\n '640000',\r\n '641000',\r\n '641100',\r\n '641900',\r\n '642000',\r\n '643000',\r\n '649000',\r\n '649100',\r\n '649200',\r\n '649900',\r\n '650000',\r\n '651000',\r\n '651100',\r\n '651200',\r\n '651210',\r\n '652000',\r\n '653000',\r\n '660000',\r\n '661000',\r\n '661100',\r\n '661200',\r\n '661900',\r\n '662000',\r\n '662100',\r\n '662200',\r\n '662900',\r\n '663000',\r\n '680000',\r\n '681000',\r\n '682000',\r\n '683000',\r\n '683100',\r\n '683110',\r\n '683200',\r\n '690000',\r\n '691000',\r\n '691010',\r\n '691020',\r\n '691030',\r\n '692000',\r\n '692010',\r\n '692020',\r\n '692030',\r\n '692040',\r\n '700000',\r\n '701000',\r\n '702000',\r\n '702100',\r\n '702200',\r\n '710000',\r\n '711000',\r\n '711100',\r\n '711200',\r\n '711210',\r\n '711220',\r\n '711230',\r\n '711240',\r\n '711250',\r\n '711260',\r\n '712000',\r\n '712010',\r\n '712020',\r\n '712030',\r\n '712040',\r\n '712050',\r\n '712060',\r\n '712070',\r\n '720000',\r\n '721000',\r\n '721100',\r\n '721900',\r\n '721910',\r\n '721920',\r\n '721930',\r\n '721940',\r\n '721950',\r\n '722000',\r\n '722010',\r\n '722020',\r\n '722030',\r\n '730000',\r\n '731000',\r\n '731100',\r\n '731200',\r\n '732000',\r\n '740000',\r\n '741000',\r\n '742000',\r\n '743000',\r\n '749000',\r\n '750000',\r\n '750010',\r\n '750020',\r\n '750030',\r\n '750040',\r\n '770000',\r\n '771000',\r\n '771100',\r\n '771200',\r\n '771210',\r\n '771220',\r\n '772000',\r\n '772100',\r\n '772110',\r\n '772120',\r\n '772130',\r\n '772140',\r\n '772150',\r\n '772200',\r\n '772900',\r\n '772910',\r\n '772920',\r\n '772930',\r\n '773000',\r\n '773100',\r\n '773200',\r\n '773300',\r\n '773310',\r\n '773320',\r\n '773330',\r\n '773400',\r\n '773500',\r\n '773900',\r\n '773910',\r\n '773920',\r\n '773930',\r\n '773940',\r\n '773950',\r\n '773960',\r\n '773970',\r\n '773980',\r\n '774000',\r\n '780000',\r\n '781000',\r\n '782000',\r\n '783000',\r\n '790000',\r\n '791000',\r\n '791100',\r\n '791200',\r\n '799000',\r\n '800000',\r\n '801000',\r\n '802000',\r\n '803000',\r\n '810000',\r\n '811000',\r\n '812000',\r\n '812100',\r\n '812200',\r\n '812900',\r\n '813000',\r\n '820000',\r\n '821000',\r\n '821100',\r\n '821900',\r\n '822000',\r\n '823000',\r\n '829000',\r\n '829100',\r\n '829200',\r\n '829900',\r\n '840000',\r\n '841000',\r\n '841100',\r\n '841110',\r\n '841120',\r\n '841130',\r\n '841140',\r\n '841150',\r\n '841160',\r\n '841170',\r\n '841180',\r\n '841200',\r\n '841300',\r\n '842000',\r\n '842100',\r\n '842200',\r\n '842300',\r\n '842400',\r\n '842500',\r\n '843000',\r\n '850000',\r\n '851000',\r\n '851010',\r\n '851020',\r\n '852000',\r\n '853000',\r\n '853100',\r\n '853110',\r\n '853120',\r\n '853200',\r\n '854000',\r\n '854100',\r\n '854200',\r\n '854210',\r\n '854220',\r\n '854230',\r\n '855000',\r\n '855100',\r\n '855200',\r\n '855300',\r\n '855900',\r\n '856000',\r\n '860000',\r\n '861000',\r\n '861010',\r\n '861020',\r\n '861030',\r\n '861040',\r\n '862000',\r\n '862100',\r\n '862200',\r\n '862300',\r\n '869000',\r\n '869010',\r\n '869020',\r\n '869030',\r\n '869040',\r\n '870000',\r\n '871000',\r\n '872000',\r\n '873000',\r\n '879000',\r\n '880000',\r\n '881000',\r\n '889000',\r\n '889100',\r\n '889900',\r\n '900000',\r\n '900100',\r\n '900200',\r\n '900300',\r\n '900400',\r\n '910000',\r\n '910100',\r\n '910200',\r\n '910300',\r\n '910400',\r\n '910410',\r\n '910420',\r\n '910430',\r\n '920000',\r\n '920010',\r\n '920020',\r\n '920030',\r\n '930000',\r\n '931000',\r\n '931100',\r\n '931200',\r\n '931300',\r\n '931900',\r\n '931910',\r\n '931920',\r\n '932000',\r\n '932100',\r\n '932900',\r\n '940000',\r\n '941000',\r\n '941100',\r\n '941200',\r\n '942000',\r\n '949000',\r\n '949100',\r\n '949110',\r\n '949120',\r\n '949200',\r\n '949900',\r\n '950000',\r\n '951000',\r\n '951100',\r\n '951200',\r\n '951210',\r\n '952000',\r\n '952100',\r\n '952200',\r\n '952300',\r\n '952400',\r\n '952500',\r\n '952900',\r\n '960000',\r\n '960100',\r\n '960200',\r\n '960300',\r\n '960400',\r\n '960900',\r\n '970000',\r\n '980000',\r\n '981000',\r\n '982000',\r\n '990000',\r\n '010000',\r\n '011000',\r\n '011100',\r\n '011200',\r\n '011300',\r\n '011310',\r\n '011320',\r\n '011330',\r\n '011340',\r\n '011350',\r\n '011360',\r\n '011400',\r\n '011500',\r\n '011600',\r\n '011900',\r\n '011910',\r\n '012000',\r\n '012100',\r\n '012200',\r\n '012300',\r\n '012400',\r\n '012500',\r\n '012600',\r\n '012700',\r\n '012800',\r\n '012900',\r\n '013000',\r\n '014000',\r\n '014100',\r\n '014200',\r\n '014210',\r\n '014220',\r\n '014230',\r\n '014240',\r\n '014300',\r\n '014400',\r\n '014500',\r\n '014510',\r\n '014520',\r\n '014600',\r\n '014610',\r\n '014620',\r\n '014700',\r\n '014710',\r\n '014720',\r\n '014900',\r\n '014910',\r\n '014920',\r\n '014930',\r\n '015000',\r\n '016000',\r\n '016100',\r\n '016110',\r\n '016120',\r\n '016200',\r\n '016210',\r\n '016300',\r\n '016400',\r\n '017000',\r\n '020000',\r\n '021000',\r\n '022000',\r\n '023000',\r\n '023010',\r\n '023020',\r\n '024000',\r\n '030000',\r\n '031000',\r\n '031100',\r\n '031110',\r\n '031200',\r\n '032000',\r\n '032100',\r\n '032200',\r\n '050000',\r\n '051000',\r\n '052000',\r\n '060000',\r\n '061000',\r\n '062000',\r\n '070000',\r\n '071000',\r\n '072000',\r\n '072100',\r\n '072900',\r\n '080000',\r\n '081000',\r\n '081100',\r\n '081200',\r\n '089000',\r\n '089100',\r\n '089200',\r\n '089300',\r\n '089900',\r\n '090000',\r\n '091000',\r\n '091010',\r\n '099000',\r\n];\r\n\r\nexport const formatCountryJson = [\r\n {\r\n value: 'AF',\r\n label: 'Afganistanas',\r\n },\r\n {\r\n value: 'IE',\r\n label: 'Airija',\r\n },\r\n {\r\n value: 'AX',\r\n label: 'Alandų salos',\r\n },\r\n {\r\n value: 'AL',\r\n label: 'Albanija',\r\n },\r\n {\r\n value: 'DZ',\r\n label: 'Alžyras',\r\n },\r\n {\r\n value: 'AS',\r\n label: 'Amerikos Samoa',\r\n },\r\n {\r\n value: 'AD',\r\n label: 'Andora',\r\n },\r\n {\r\n value: 'AI',\r\n label: 'Angilija',\r\n },\r\n {\r\n value: 'AO',\r\n label: 'Angola',\r\n },\r\n {\r\n value: 'AQ',\r\n label: 'Antarktika',\r\n },\r\n {\r\n value: 'AG',\r\n label: 'Antigva ir Barbuda',\r\n },\r\n {\r\n value: 'AR',\r\n label: 'Argentina',\r\n },\r\n {\r\n value: 'AM',\r\n label: 'Armėnija',\r\n },\r\n {\r\n value: 'AW',\r\n label: 'Aruba',\r\n },\r\n {\r\n value: 'AT',\r\n label: 'Austirija',\r\n },\r\n {\r\n value: 'AU',\r\n label: 'Australija',\r\n },\r\n {\r\n value: 'AZ',\r\n label: 'Azejbardžanas',\r\n },\r\n {\r\n value: 'BS',\r\n label: 'Bahamai',\r\n },\r\n {\r\n value: 'BH',\r\n label: 'Bahreinas',\r\n },\r\n {\r\n value: 'BY',\r\n label: 'Baltarusija',\r\n },\r\n {\r\n value: 'BD',\r\n label: 'Bangladešas',\r\n },\r\n {\r\n value: 'BB',\r\n label: 'Barbadosas',\r\n },\r\n {\r\n value: 'BE',\r\n label: 'Belgija',\r\n },\r\n {\r\n value: 'BZ',\r\n label: 'Belizas',\r\n },\r\n {\r\n value: 'BJ',\r\n label: 'Beninas',\r\n },\r\n {\r\n value: 'BM',\r\n label: 'Bermudai',\r\n },\r\n {\r\n value: 'GW',\r\n label: 'Bisau Gvinėja',\r\n },\r\n {\r\n value: 'BO',\r\n label: 'Bolivija',\r\n },\r\n {\r\n value: 'BQ',\r\n label: 'Bonaire, Saint Eustatius and Saba',\r\n },\r\n {\r\n value: 'BA',\r\n label: 'Bosnija ir Hercogovina',\r\n },\r\n {\r\n value: 'BW',\r\n label: 'Botsvana',\r\n },\r\n {\r\n value: 'BV',\r\n label: 'Bouvet sala',\r\n },\r\n {\r\n value: 'BR',\r\n label: 'Brazilija',\r\n },\r\n {\r\n value: 'IO',\r\n label: 'Britanijos Indijos vandenyno teritorija',\r\n },\r\n {\r\n value: 'BN',\r\n label: 'Brunėjaus Darusalamas',\r\n },\r\n {\r\n value: 'BG',\r\n label: 'Bulgarija',\r\n },\r\n {\r\n value: 'BF',\r\n label: 'Burkina Fasas',\r\n },\r\n {\r\n value: 'BI',\r\n label: 'Burundis',\r\n },\r\n {\r\n value: 'BT',\r\n label: 'Butanas',\r\n },\r\n {\r\n value: 'CF',\r\n label: 'Centrinė Afrikos respublika',\r\n },\r\n {\r\n value: 'TD',\r\n label: 'Čadas',\r\n },\r\n {\r\n value: 'CZ',\r\n label: 'Čekija',\r\n },\r\n {\r\n value: 'CL',\r\n label: 'Čilė',\r\n },\r\n {\r\n value: 'DK',\r\n label: 'Danija',\r\n },\r\n {\r\n value: 'DM',\r\n label: 'Dominyka',\r\n },\r\n {\r\n value: 'DO',\r\n label: 'Dominykos respublika',\r\n },\r\n {\r\n value: 'CI',\r\n label: 'Dramblio kaulo krantas',\r\n },\r\n {\r\n value: 'JE',\r\n label: 'Džersis',\r\n },\r\n {\r\n value: 'DJ',\r\n label: 'Džibutis',\r\n },\r\n {\r\n value: 'EG',\r\n label: 'Egiptas',\r\n },\r\n {\r\n value: 'EC',\r\n label: 'Ekvadoras',\r\n },\r\n {\r\n value: 'ER',\r\n label: 'Eritrėja',\r\n },\r\n {\r\n value: 'EE',\r\n label: 'Estija',\r\n },\r\n {\r\n value: 'ET',\r\n label: 'Etiopija',\r\n },\r\n {\r\n value: 'FO',\r\n label: 'Farerų salos',\r\n },\r\n {\r\n value: 'FJ',\r\n label: 'Fidžis',\r\n },\r\n {\r\n value: 'PH',\r\n label: 'Filipinai',\r\n },\r\n {\r\n value: 'FK',\r\n label: 'Folklando salos',\r\n },\r\n {\r\n value: 'GA',\r\n label: 'Gabonas',\r\n },\r\n {\r\n value: 'GY',\r\n label: 'Gajana',\r\n },\r\n {\r\n value: 'GM',\r\n label: 'Gambija',\r\n },\r\n {\r\n value: 'GH',\r\n label: 'Gana',\r\n },\r\n {\r\n value: 'GG',\r\n label: 'Gernsis',\r\n },\r\n {\r\n value: 'GI',\r\n label: 'Gibraltaras',\r\n },\r\n {\r\n value: 'GR',\r\n label: 'Grakija',\r\n },\r\n {\r\n value: 'GD',\r\n label: 'Grenada',\r\n },\r\n {\r\n value: 'GL',\r\n label: 'Grenlandija',\r\n },\r\n {\r\n value: 'GU',\r\n label: 'Guamas',\r\n },\r\n {\r\n value: 'GP',\r\n label: 'Gvadelupe',\r\n },\r\n {\r\n value: 'GT',\r\n label: 'Gvatemala',\r\n },\r\n {\r\n value: 'GN',\r\n label: 'Gvinėja',\r\n },\r\n {\r\n value: 'HT',\r\n label: 'Haitis',\r\n },\r\n {\r\n value: 'HM',\r\n label: 'Heardo sala ir Makdonaldo salos',\r\n },\r\n {\r\n value: 'HN',\r\n label: 'Honduras',\r\n },\r\n {\r\n value: 'HK',\r\n label: 'Hong kongas',\r\n },\r\n {\r\n value: 'IN',\r\n label: 'India',\r\n },\r\n {\r\n value: 'ID',\r\n label: 'Indonezija',\r\n },\r\n {\r\n value: 'IQ',\r\n label: 'Irakas',\r\n },\r\n {\r\n value: 'IR',\r\n label: 'Iranas',\r\n },\r\n {\r\n value: 'IS',\r\n label: 'Islandija',\r\n },\r\n {\r\n value: 'ES',\r\n label: 'Ispanija',\r\n },\r\n {\r\n value: 'IT',\r\n label: 'Italija',\r\n },\r\n {\r\n value: 'IL',\r\n label: 'Izraelis',\r\n },\r\n {\r\n value: 'JM',\r\n label: 'Jamaika',\r\n },\r\n {\r\n value: 'JP',\r\n label: 'Japonija',\r\n },\r\n {\r\n value: 'YE',\r\n label: 'Jemenas',\r\n },\r\n {\r\n value: 'JO',\r\n label: 'Jordanija',\r\n },\r\n {\r\n value: 'GB',\r\n label: 'Jungtinė karalystė',\r\n },\r\n {\r\n value: 'US',\r\n label: 'Jungtinės amerikos valstijos (JAV)',\r\n },\r\n {\r\n value: 'AE',\r\n label: 'Jungtiniai arabų emiratai (JAE)',\r\n },\r\n {\r\n value: 'ME',\r\n label: 'Juodkalnija',\r\n },\r\n {\r\n value: 'KY',\r\n label: 'Kaimano salos',\r\n },\r\n {\r\n value: 'CX',\r\n label: 'Kalėdų sala',\r\n },\r\n {\r\n value: 'CM',\r\n label: 'Kamerūnas',\r\n },\r\n {\r\n value: 'CA',\r\n label: 'Kanada',\r\n },\r\n {\r\n value: 'QA',\r\n label: 'Kataras',\r\n },\r\n {\r\n value: 'KZ',\r\n label: 'Kazachstanas',\r\n },\r\n {\r\n value: 'KE',\r\n label: 'Kenija',\r\n },\r\n {\r\n value: 'CN',\r\n label: 'Kinija',\r\n },\r\n {\r\n value: 'CY',\r\n label: 'Kipras',\r\n },\r\n {\r\n value: 'KG',\r\n label: 'Kirgiztanas',\r\n },\r\n {\r\n value: 'KI',\r\n label: 'Kiribatis',\r\n },\r\n {\r\n value: 'CC',\r\n label: 'Kokoso (Kylingo) salos',\r\n },\r\n {\r\n value: 'CO',\r\n label: 'Kolumbija',\r\n },\r\n {\r\n value: 'KH',\r\n label: 'Kombodža',\r\n },\r\n {\r\n value: 'KM',\r\n label: 'Komorai',\r\n },\r\n {\r\n value: 'CG',\r\n label: 'Kongas',\r\n },\r\n {\r\n value: 'CD',\r\n label: 'Kongo demokratinė respublika',\r\n },\r\n {\r\n value: 'KP',\r\n label: 'Korejos demokratinė respublika',\r\n },\r\n {\r\n value: 'KR',\r\n label: 'Korėjos respublika',\r\n },\r\n {\r\n value: 'CR',\r\n label: 'Kosta Rika',\r\n },\r\n {\r\n value: 'HR',\r\n label: 'Kroatija',\r\n },\r\n {\r\n value: 'CU',\r\n label: 'Kuba',\r\n },\r\n {\r\n value: 'CK',\r\n label: 'Kuko salos',\r\n },\r\n {\r\n value: 'CW',\r\n label: 'Kurakao',\r\n },\r\n {\r\n value: 'KW',\r\n label: 'Kuveitas',\r\n },\r\n {\r\n value: 'LA',\r\n label: 'Laoso Liaudies Demokratinė Respublika',\r\n },\r\n {\r\n value: 'LV',\r\n label: 'Latvija',\r\n },\r\n {\r\n value: 'PL',\r\n label: 'Lenkija',\r\n },\r\n {\r\n value: 'LS',\r\n label: 'Lesotas',\r\n },\r\n {\r\n value: 'LB',\r\n label: 'Libanas',\r\n },\r\n {\r\n value: 'LR',\r\n label: 'Liberija',\r\n },\r\n {\r\n value: 'LY',\r\n label: 'Libija',\r\n },\r\n {\r\n value: 'LI',\r\n label: 'Lichtenšteinas',\r\n },\r\n {\r\n value: 'LT',\r\n label: 'Lietuva',\r\n },\r\n {\r\n value: 'LU',\r\n label: 'Liuksemburgas',\r\n },\r\n {\r\n value: 'MG',\r\n label: 'Madagaskaras',\r\n },\r\n {\r\n value: 'YT',\r\n label: 'Majotas',\r\n },\r\n {\r\n value: 'MO',\r\n label: 'Makao',\r\n },\r\n {\r\n value: 'MK',\r\n label: 'Makedonija',\r\n },\r\n {\r\n value: 'MW',\r\n label: 'Malavis',\r\n },\r\n {\r\n value: 'MY',\r\n label: 'Malazija',\r\n },\r\n {\r\n value: 'MV',\r\n label: 'Maldyvai',\r\n },\r\n {\r\n value: 'ML',\r\n label: 'Malis',\r\n },\r\n {\r\n value: 'MT',\r\n label: 'Malta',\r\n },\r\n {\r\n value: 'MQ',\r\n label: 'Marinika',\r\n },\r\n {\r\n value: 'MA',\r\n label: 'Marokas',\r\n },\r\n {\r\n value: 'MH',\r\n label: 'Maršalo salos',\r\n },\r\n {\r\n value: 'MU',\r\n label: 'Mauricijus',\r\n },\r\n {\r\n value: 'MR',\r\n label: 'Mauritanija',\r\n },\r\n {\r\n value: 'UM',\r\n label: 'Mažosios JAV atokiosios salos',\r\n },\r\n {\r\n value: 'MX',\r\n label: 'Meksika',\r\n },\r\n {\r\n value: 'IM',\r\n label: 'Meno sala',\r\n },\r\n {\r\n value: 'VG',\r\n label: 'Mergelių salos (Didžiosios Britanijos)',\r\n },\r\n {\r\n value: 'VI',\r\n label: 'Mergelių salos (U.S.)',\r\n },\r\n {\r\n value: 'MM',\r\n label: 'Mianmaras',\r\n },\r\n {\r\n value: 'FM',\r\n label: 'Mikronezija',\r\n },\r\n {\r\n value: 'MD',\r\n label: 'Moldova',\r\n },\r\n {\r\n value: 'MC',\r\n label: 'Monakas',\r\n },\r\n\r\n {\r\n value: 'MN',\r\n label: 'Mongolija',\r\n },\r\n {\r\n value: 'MS',\r\n label: 'Montseratas',\r\n },\r\n {\r\n value: 'MZ',\r\n label: 'Mozambikas',\r\n },\r\n {\r\n value: 'NA',\r\n label: 'Namibija',\r\n },\r\n {\r\n value: 'NC',\r\n label: 'Naujoji Kaledonija',\r\n },\r\n {\r\n value: 'NZ',\r\n label: 'Naujoji Zelandija',\r\n },\r\n {\r\n value: 'NR',\r\n label: 'Nauru',\r\n },\r\n {\r\n value: 'NP',\r\n label: 'Nepalas',\r\n },\r\n {\r\n value: 'NL',\r\n label: 'Nyderlandai',\r\n },\r\n {\r\n value: 'NG',\r\n label: 'Nigerija',\r\n },\r\n {\r\n value: 'NE',\r\n label: 'Nigeris',\r\n },\r\n {\r\n value: 'NI',\r\n label: 'Nikaragva',\r\n },\r\n {\r\n value: 'NU',\r\n label: 'Niue',\r\n },\r\n {\r\n value: 'NF',\r\n label: 'Norfolko sala',\r\n },\r\n {\r\n value: 'NO',\r\n label: 'Norvegija',\r\n },\r\n {\r\n value: 'OM',\r\n label: 'Omanas',\r\n },\r\n {\r\n value: 'PK',\r\n label: 'Pakistanas',\r\n },\r\n {\r\n value: 'PW',\r\n label: 'Palauija',\r\n },\r\n {\r\n value: 'PS',\r\n label: 'Palestina',\r\n },\r\n {\r\n value: 'PA',\r\n label: 'Panama',\r\n },\r\n {\r\n value: 'PG',\r\n label: 'Papua naujoji gvinėja',\r\n },\r\n {\r\n value: 'PY',\r\n label: 'Parugvajus',\r\n },\r\n {\r\n value: 'PE',\r\n label: 'Peru',\r\n },\r\n {\r\n value: 'ZA',\r\n label: 'Pietų afrikos respublika',\r\n },\r\n {\r\n value: 'GS',\r\n label: 'Pietų Džordžija ir Pietų Sandvičo salos',\r\n },\r\n {\r\n value: 'SS',\r\n label: 'Pietų Sudanas',\r\n },\r\n {\r\n value: 'PN',\r\n label: 'Pitkernas',\r\n },\r\n {\r\n value: 'PT',\r\n label: 'Portugalija',\r\n },\r\n {\r\n value: 'FR',\r\n label: 'Prancūzija',\r\n },\r\n {\r\n value: 'GF',\r\n label: 'Prancūzijos Gviana',\r\n },\r\n {\r\n value: 'TF',\r\n label: 'Prancūzijos pietinės teritorijos',\r\n },\r\n {\r\n value: 'PF',\r\n label: 'Prancūzų Polinezija',\r\n },\r\n {\r\n value: 'PR',\r\n label: 'Puerto Rikas',\r\n },\r\n {\r\n value: 'GQ',\r\n label: 'Pusiaujo gvinėja',\r\n },\r\n {\r\n value: 'RE',\r\n label: 'Reinjonas',\r\n },\r\n {\r\n value: 'TL',\r\n label: 'Rytų Timoras',\r\n },\r\n {\r\n value: 'RW',\r\n label: 'Ruanda',\r\n },\r\n {\r\n value: 'RO',\r\n label: 'Rumunija',\r\n },\r\n {\r\n value: 'RU',\r\n label: 'Rusijos federacija',\r\n },\r\n {\r\n value: 'GE',\r\n label: 'Sakartvelas',\r\n },\r\n {\r\n value: 'SB',\r\n label: 'Saliamono salos',\r\n },\r\n {\r\n value: 'SV',\r\n label: 'Salvadoras',\r\n },\r\n {\r\n value: 'WS',\r\n label: 'Samoa',\r\n },\r\n {\r\n value: 'SM',\r\n label: 'San Marinas',\r\n },\r\n {\r\n value: 'ST',\r\n label: 'San Tomė ir Prinsipė',\r\n },\r\n {\r\n value: 'SA',\r\n label: 'Saudo arabija',\r\n },\r\n {\r\n value: 'SC',\r\n label: 'Seišeliai',\r\n },\r\n {\r\n value: 'SX',\r\n label: 'Sen Martenas',\r\n },\r\n {\r\n value: 'MF',\r\n label: 'Sen Martenas',\r\n },\r\n {\r\n value: 'PM',\r\n label: 'Sen Pjeras ir Mikelonas',\r\n },\r\n {\r\n value: 'SN',\r\n label: 'Senegalas',\r\n },\r\n {\r\n value: 'VC',\r\n label: 'Sent Vinsentas ir Grenadinai',\r\n },\r\n {\r\n value: 'RS',\r\n label: 'Serbija',\r\n },\r\n {\r\n value: 'SL',\r\n label: 'Siera Leonė',\r\n },\r\n {\r\n value: 'SG',\r\n label: 'Singapūras',\r\n },\r\n {\r\n value: 'SY',\r\n label: 'Sirijos Arabų Respublika',\r\n },\r\n {\r\n value: 'SK',\r\n label: 'Slovakija',\r\n },\r\n {\r\n value: 'SI',\r\n label: 'Slovėnija',\r\n },\r\n {\r\n value: 'SO',\r\n label: 'Somalija',\r\n },\r\n {\r\n value: 'SD',\r\n label: 'Sudanas',\r\n },\r\n {\r\n value: 'FI',\r\n label: 'Suomiija',\r\n },\r\n {\r\n value: 'SR',\r\n label: 'Surinamas',\r\n },\r\n {\r\n value: 'SJ',\r\n label: 'Svalbardas ir Janas Mayenas',\r\n },\r\n {\r\n value: 'SZ',\r\n label: 'Svazilandas',\r\n },\r\n {\r\n value: 'MP',\r\n label: 'Šiaurės Marianų salos',\r\n },\r\n {\r\n value: 'LK',\r\n label: 'Šri lanka',\r\n },\r\n {\r\n value: 'SE',\r\n label: 'Švedija',\r\n },\r\n {\r\n value: 'CH',\r\n label: 'Šveicarija',\r\n },\r\n {\r\n value: 'BL',\r\n label: 'Šventasis Bartelemijas',\r\n },\r\n {\r\n value: 'KN',\r\n label: 'Šventasis Kitsas ir Nevis',\r\n },\r\n {\r\n value: 'VA',\r\n label: 'Šventasis Sostas',\r\n },\r\n {\r\n value: 'SH',\r\n label: 'Šventoji Elena ir Tristanas da Kunja',\r\n },\r\n {\r\n value: 'LC',\r\n label: 'Šventoji Liusija',\r\n },\r\n {\r\n value: 'TJ',\r\n label: 'Tadžikistanas',\r\n },\r\n {\r\n value: 'TH',\r\n label: 'Tailandas',\r\n },\r\n {\r\n value: 'TW',\r\n label: 'Taivanas',\r\n },\r\n {\r\n value: 'TZ',\r\n label: 'Tanzanija',\r\n },\r\n {\r\n value: 'TC',\r\n label: 'Terkso ir Kaikoso salos',\r\n },\r\n {\r\n value: 'TG',\r\n label: 'Togas',\r\n },\r\n {\r\n value: 'TK',\r\n label: 'Tokelau',\r\n },\r\n {\r\n value: 'TO',\r\n label: 'Tongas',\r\n },\r\n {\r\n value: 'TT',\r\n label: 'Trinidadas ir Tobagas',\r\n },\r\n {\r\n value: 'TN',\r\n label: 'Tunisas',\r\n },\r\n {\r\n value: 'TR',\r\n label: 'Turkija',\r\n },\r\n {\r\n value: 'TM',\r\n label: 'Turkmėnistanas',\r\n },\r\n {\r\n value: 'TV',\r\n label: 'Tuvalu',\r\n },\r\n {\r\n value: 'UG',\r\n label: 'Uganda',\r\n },\r\n {\r\n value: 'UA',\r\n label: 'Ukraina',\r\n },\r\n {\r\n value: 'UY',\r\n label: 'Urugvajus',\r\n },\r\n {\r\n value: 'UZ',\r\n label: 'Uzbekistanas',\r\n },\r\n {\r\n value: 'EH',\r\n label: 'Vakarų Sachara',\r\n },\r\n {\r\n value: 'VU',\r\n label: 'Vanuatu',\r\n },\r\n {\r\n value: 'VE',\r\n label: 'Venesuela (Bolivaro Respublika)',\r\n },\r\n {\r\n value: 'HU',\r\n label: 'Vengrija',\r\n },\r\n {\r\n value: 'VN',\r\n label: 'Vietnamas',\r\n },\r\n {\r\n value: 'DE',\r\n label: 'Vokietija',\r\n },\r\n {\r\n value: 'WF',\r\n label: 'Volisas ir Futuna',\r\n },\r\n {\r\n value: 'ZM',\r\n label: 'Zambija',\r\n },\r\n {\r\n value: 'ZW',\r\n label: 'Zimbabvė',\r\n },\r\n {\r\n value: 'CV',\r\n label: 'Žaliasis krantas',\r\n },\r\n];\r\n\r\nexport const evrkFarm = {\r\n '010000':\r\n 'Augalininkystė ir gyvulininkystė, medžioklė ir susijusių paslaugų veikla',\r\n '011000': 'Vienmečių augalų auginimas',\r\n '011100':\r\n 'Grūdinių (išskyrus ryžius), ankštinių ir aliejingų sėklų augalų auginimas',\r\n '011200': 'Ryžių auginimas',\r\n '011300': 'Daržovių ir melionų, šakniavaisių ir gumbavaisių auginimas',\r\n '011310': 'Bulvių auginimas',\r\n '011320': 'Cukrinių runkelių auginimas',\r\n '011330': 'Daržovių auginimas atvirame grunte',\r\n '011340': 'Daržovių auginimas uždarame grunte',\r\n '011350': 'Daržovių sėklų gavyba',\r\n '011360': 'Grybų ir valgomųjų trumų auginimas',\r\n '011400': 'Cukranendrių auginimas',\r\n '011500': 'Tabako auginimas',\r\n '011600': 'Pluoštinių augalų auginimas',\r\n '011900': 'Kitų vienmečių augalų auginimas',\r\n '011910': 'Gėlių auginimas',\r\n '012000': 'Daugiamečių augalų auginimas',\r\n '012100': 'Vynuogių auginimas',\r\n '012200': 'Tropinių ir subtropinių vaisių ir uogų auginimas',\r\n '012300': 'Citrusų vaisių auginimas',\r\n '012400': 'Sėklavaisių ir kaulavaisių auginimas',\r\n '012500': 'Kitų vaismedžių, uogakrūmių ir riešutmedžių vaisių auginimas',\r\n '012600': 'Aliejinių augalų vaisių ir uogų auginimas',\r\n '012700': 'Gėrimams gaminti vartojamų augalų auginimas',\r\n '012800':\r\n 'Prieskoninių, kvapiųjų, vaistinių ir kitokių farmacijos pramonėje naudojamų augalų auginimas',\r\n '012900': 'Kitų daugiamečių augalų auginimas',\r\n '013000': 'Augalų dauginimas',\r\n '014000': 'Gyvulininkystė',\r\n '014100': 'Pieninių galvijų auginimas',\r\n '014200': 'Kitų galvijų ir buivolų auginimas',\r\n '014210': 'Galvijų auginimas ir penėjimas mėsai',\r\n '014220': 'Veislinių telyčių auginimas',\r\n '014230': 'Veislinių bulių auginimas',\r\n '014240': 'Veislinių bulių spermos gavyba',\r\n '014300': 'Arklių ir kitų kanopinių gyvūnų auginimas',\r\n '014400': 'Kupranugarių ir Camelidae šeimos gyvūnų auginimas',\r\n '014500': 'Avių ir ožkų auginimas',\r\n '014510': 'Avių auginimas',\r\n '014520': 'Ožkų auginimas',\r\n '014600': 'Kiaulių auginimas',\r\n '014610': 'Kiaulių auginimas ir penėjimas mėsai',\r\n '014620': 'Veislinių kiaulių auginimas',\r\n '014700': 'Naminių paukščių auginimas',\r\n '014710': 'Naminių paukščių auginimas mėsai ir kiaušinių gavybai',\r\n '014720': 'Veislinių naminių paukščių auginimas',\r\n '014900': 'Kitų gyvūnų auginimas',\r\n '014910': 'Švelniakailių žvėrelių auginimas',\r\n '014920': 'Bitininkystė',\r\n '014930': 'Vynuoginių sraigių ir sliekų auginimas',\r\n '015000': 'Mišrusis žemės ūkis',\r\n '016000': 'Žemės ūkiui būdingų paslaugų ir derliaus apdorojimo veikla',\r\n '016100': 'Augalininkystei būdingų paslaugų veikla',\r\n '016110':\r\n 'Augalų apsaugos nuo ligų, kenkėjų ir piktžolių žemės ūkio paslaugų veikla',\r\n '016120': 'Žemės ūkio augalų tręšimas mineralinėmis ir organinėmis trąšomis',\r\n '016200': 'Gyvulininkystei būdingų paslaugų veikla',\r\n '016210': 'Dirbtinio apsėklinimo veikla',\r\n '016300': 'Derliaus apdorojimo veikla',\r\n '016400': 'Sėklininkystė',\r\n '017000': 'Medžioklė, gaudymas spąstais ir susijusių paslaugų veikla',\r\n '020000': 'Miškininkystė ir medienos ruoša',\r\n '021000': 'Miško medžių auginimas ir kita miškininkystės veikla',\r\n '022000': 'Medienos ruoša',\r\n '023000': 'Laukinių nemedieninių medžių produktų rinkimas',\r\n '023000': 'Laukinių nemedieninių produktų rinkimas',\r\n '023010': 'Miško grybų rinkimas',\r\n '023020': 'Riešutų ir miško uogų rinkimas',\r\n '024000': 'Miškininkystei būdingų paslaugų veikla',\r\n};\r\n","import React from 'react';\r\nimport styles from '../newRequest/newRequest.module.scss';\r\nimport { checkBOPage } from './../../utils/helpers/helpers';\r\n\r\nexport const SurwayAnswers = ({ Ratings }) => {\r\n return Ratings?.StarterRatingId ||\r\n Ratings?.InvegaCommunicationRatingId ||\r\n Ratings?.InvegaFinancialRatingId ? (\r\n \r\n

Anketos atsakymai

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 1. Kaip vertinate finansinės priemonės „Startuok, finansuojamos iš\r\n Europos regioninės plėtros fondo\" (toliau - finansinė priemonė)\r\n pridėtinę vertę verslo skatinimui (ar paskatina ir padeda verslui)?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 2. Kaip vertinate UAB „INVESTICIJŲ IR VERSLO GARANTIJOS\"\r\n komunikaciją ir konsultavimą apie finansinę priemonę?{' '}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 3. Kaip vertinate UAB „INVESTICIJŲ IR VERSLO GARANTIJOS\" teikiamų\r\n paslaugų, susijusių su finansine priemone, kokybę (paskolos išdavimo\r\n procedūros, trukmė ir pan.)?{' '}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n ) : null;\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport styles from './addressInputContainer.module.scss';\r\nimport InputWithTextInline from '../../components/input/InputWithTextInline';\r\nimport { validateTextinput } from '../../utils/auth/validations';\r\n\r\nimport { requestDataLabelTranslation } from '../../utils/translation/translation';\r\nimport { checkBOPage } from '../../utils/helpers/helpers';\r\nimport { config } from '../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst AddressInput = ({\r\n label,\r\n nameKey,\r\n onDataChange,\r\n dataValue,\r\n notValid,\r\n viewWindow,\r\n}) => {\r\n return (\r\n
\r\n \r\n {notValid && (\r\n \r\n {validateTextinput(dataValue, 'privalomas laukas', 1)}\r\n

\r\n )}\r\n
\r\n );\r\n};\r\n\r\nconst DropdownMenu = ({\r\n label,\r\n nameKey,\r\n dataValue,\r\n onDataChange,\r\n requestData,\r\n dropdownItems,\r\n disableIfNoDropdownItems,\r\n notValid,\r\n viewWindow,\r\n}) => {\r\n // const returnEldership = (a, b) => {\r\n // const arr = [11, 30, 27, 25, 21, 23, 12];\r\n // const isInArray = arr.some((val) => val == b);\r\n\r\n // if (isInArray) {\r\n // return null;\r\n // }\r\n\r\n // return a;\r\n // };\r\n\r\n // const returnSettlement = (a, b) => {\r\n // const arr = [13, 18, 19, 29];\r\n // const isInArray = arr.some((val) => val == b);\r\n\r\n // if (isInArray) {\r\n // return null;\r\n // }\r\n\r\n // return a;\r\n // };\r\n\r\n // const checkIfNeedValidation = () => {\r\n // // if dropdown is Eldership - check municipality\r\n // if (\r\n // nameKey === 'RegistrationAddressEldership' ||\r\n // nameKey === 'ActivityAddressEldership'\r\n // ) {\r\n // const municipalityId = allData[`${type}MunicipalityId`];\r\n\r\n // const elderShipId = allData[`${type}EldershipId`];\r\n\r\n // // console.log({ municipalityId, elderShipId });\r\n\r\n // const hasValue = returnEldership(elderShipId, municipalityId);\r\n // // console.log(hasValue);\r\n // }\r\n // };\r\n\r\n return (\r\n
\r\n \r\n onDataChange(e, dropdownItems)}\r\n disabled={\r\n viewWindow ||\r\n (disableIfNoDropdownItems && dropdownItems === null) ||\r\n checkBOPage()\r\n }\r\n className={\r\n viewWindow ||\r\n (disableIfNoDropdownItems && dropdownItems === null) ||\r\n checkBOPage()\r\n ? styles.disabled\r\n : styles.visible\r\n }\r\n >\r\n {checkBOPage() && (\r\n \r\n )}\r\n \r\n\r\n {dropdownItems &&\r\n dropdownItems.map((val, j) => {\r\n return (\r\n \r\n {val?.label?.Name}\r\n \r\n );\r\n })}\r\n \r\n\r\n {notValid && dropdownItems && (\r\n \r\n {validateTextinput(dataValue, 'privalomas laukas', 1)}\r\n

\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport const AddressModal = ({\r\n title,\r\n type,\r\n onInputChange,\r\n onDropdownImputChange,\r\n data,\r\n notValid,\r\n viewWindow,\r\n}) => {\r\n const [districtsList, setDistricts] = useState(null);\r\n const [municipalities, setMunicipalities] = useState(null);\r\n const [elderships, setElderships] = useState(null);\r\n const [settlements, setSettlements] = useState(null);\r\n\r\n const getAutorization = () => {\r\n return `Bearer ${window.localStorage.getItem(\r\n checkBOPage() ? 'token' : 'userToken'\r\n )}`;\r\n };\r\n\r\n useEffect(() => {\r\n if (checkBOPage()) {\r\n return;\r\n }\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.getAddressStructDistricts, {\r\n method: 'GET',\r\n mode: 'cors',\r\n credentials: 'include', // Include cookies in the request\r\n headers: {\r\n 'Content-Type': 'application/json', // Set the content type if needed\r\n },\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n const districts = r.map((item) => {\r\n return { label: item, value: item };\r\n });\r\n setDistricts(districts);\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (checkBOPage()) {\r\n setDistricts([\r\n {\r\n label: data[`${type}District`] ?? '',\r\n value: data[`${type}District`] ?? '',\r\n },\r\n ]);\r\n setMunicipalities([\r\n {\r\n label: data[`${type}Municipality`] ?? '',\r\n value: data[`${type}Municipality`] ?? '',\r\n },\r\n ]);\r\n setElderships([\r\n {\r\n label: data[`${type}Eldership`] ?? '',\r\n value: data[`${type}Eldership`] ?? '',\r\n },\r\n ]);\r\n setSettlements([\r\n {\r\n label: data[`${type}Settlement`] ?? '',\r\n value: data[`${type}Settlement`] ?? '',\r\n },\r\n ]);\r\n }\r\n }, [data]);\r\n\r\n useEffect(() => {\r\n if (checkBOPage()) {\r\n return;\r\n }\r\n if (data[`${type}District`] === null) {\r\n setMunicipalities(null);\r\n onInputChange({\r\n target: { name: `${type}District`, value: null },\r\n });\r\n }\r\n setElderships(null);\r\n setSettlements(null);\r\n if (data[`${type}District`] && data[`${type}District`] !== '-') {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.getAddressStructMunicipalities([\r\n data[`${type}DistrictId`],\r\n ]),\r\n {\r\n method: 'GET',\r\n mode: 'cors',\r\n credentials: 'include', // Include cookies in the request\r\n headers: {\r\n 'Content-Type': 'application/json', // Set the content type if needed\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n const municipalities = r.map((item) => {\r\n return { label: item, value: item };\r\n });\r\n\r\n setMunicipalities(municipalities);\r\n if (\r\n data[`${type}Municipality`] &&\r\n !r.includes(data[`${type}Municipality`])\r\n ) {\r\n // onInputChange({\r\n // target: { name: `${type}Municipality`, value: null },\r\n // });\r\n }\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n }\r\n }, [data[`${type}District`]]);\r\n\r\n useEffect(() => {\r\n if (checkBOPage()) {\r\n return;\r\n }\r\n setSettlements(null);\r\n\r\n if (data[`${type}Municipality`] && !checkBOPage()) {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.getAddressStructElderships([\r\n data[`${type}MunicipalityId`],\r\n ]),\r\n {\r\n method: 'GET',\r\n mode: 'cors',\r\n credentials: 'include',\r\n headers: {\r\n 'Content-Type': 'application/json', // Set the content type if needed\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n const elderships = r\r\n .filter((item) => item !== null)\r\n .map((item) => {\r\n return { label: item, value: item };\r\n });\r\n setElderships(elderships?.length > 0 ? elderships : null);\r\n if (elderships.length === 0) {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.getAddressStructSettlements(\r\n data[`${type}MunicipalityId`],\r\n ''\r\n ),\r\n {\r\n method: 'GET',\r\n credentials: 'include',\r\n headers: {\r\n Authorization: getAutorization(),\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n const settlements = r\r\n .filter((item) => item !== null)\r\n .map((item) => {\r\n return { label: item, value: item };\r\n });\r\n setSettlements(\r\n settlements?.length > 0 ? settlements : null\r\n );\r\n if (settlements.length === 0) {\r\n // onInputChange({\r\n // target: { name: `${type}Settlement`, value: null },\r\n // });\r\n } else if (\r\n data[`${type}Settlement`] &&\r\n !r.includes(data[`${type}Settlement`])\r\n ) {\r\n // onInputChange({\r\n // target: { name: `${type}Settlement`, value: null },\r\n // });\r\n }\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n if (data[`${type}Eldership`] !== '-') {\r\n onInputChange({\r\n target: { name: `${type}Eldership`, value: null },\r\n });\r\n }\r\n } else if (\r\n data[`${type}Eldership`] &&\r\n !r.includes(data[`${type}Eldership`])\r\n ) {\r\n // onInputChange({\r\n // target: { name: `${type}Eldership`, value: null },\r\n // });\r\n }\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n }\r\n }, [data[`${type}Municipality`]]);\r\n\r\n useEffect(() => {\r\n if (checkBOPage()) {\r\n return;\r\n }\r\n if (\r\n data[`${type}Eldership`] &&\r\n data[`${type}Eldership`] !== '-' &&\r\n data[`${type}Municipality`] &&\r\n data[`${type}Municipality`] !== '-'\r\n ) {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.getAddressStructSettlements(\r\n data[`${type}MunicipalityId`],\r\n data[`${type}EldershipId`]\r\n ),\r\n {\r\n method: 'GET',\r\n mode: 'cors',\r\n credentials: 'include', // Include cookies in the request\r\n headers: {\r\n 'Content-Type': 'application/json', // Set the content type if needed\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n res.json().then((r) => {\r\n const settlements = r\r\n .filter((item) => item !== null)\r\n .map((item) => {\r\n return { label: item, value: item };\r\n });\r\n setSettlements(settlements?.length > 0 ? settlements : null);\r\n if (settlements.length === 0) {\r\n // onInputChange({\r\n // target: { name: `${type}Settlement`, value: null },\r\n // });\r\n } else if (\r\n data[`${type}Settlement`] &&\r\n !r.includes(data[`${type}Settlement`])\r\n ) {\r\n // onInputChange({\r\n // target: { name: `${type}Settlement`, value: null },\r\n // });\r\n }\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n }\r\n if (data[`${type}Eldership`] === '-') {\r\n // onInputChange({\r\n // target: { name: `${type}Settlement`, value: '-' },\r\n // });\r\n }\r\n }, [data[`${type}Eldership`], data[`${type}Municipality`]]);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n {requestDataLabelTranslation(title)}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n Input,\r\n RowTableAdmin,\r\n RowTableRow,\r\n RowTableCell,\r\n RequestMultiSelect,\r\n} from '../../components';\r\n\r\nimport {\r\n FileUploadContainer,\r\n AdditionalFileUploadContainer,\r\n FinancialTable,\r\n} from '../../containers';\r\nimport {\r\n requestDataLabelTranslation,\r\n companySize,\r\n rentContractTranslation,\r\n applicantTranslation,\r\n requestStatus,\r\n questionListTranslations,\r\n projectName,\r\n projectName2,\r\n} from './../../utils/translation/translation';\r\nimport styles from './newRequest.module.scss';\r\nimport { Link } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { Api } from './../../api/api';\r\nimport { format, addHours, subYears } from 'date-fns';\r\nimport {\r\n validateTextinput,\r\n validatePhone,\r\n validateEmail,\r\n isLoadSumValid,\r\n isIntegerNumber,\r\n LoanTermValidation,\r\n LoanDelayTermValidation,\r\n} from './../../utils/auth/validations';\r\nimport { formatNumber } from './../../utils/helpers/helpers';\r\nimport SignContractModal from './../../modals/signContractModal/signContractModal';\r\nimport FinancialCriteriaModal from './../../modals/financialCriteriaModal/financialCriteriaModal';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport ConfirmWithFinancialCriteriaModal from '../../modals/confirmWithFinancialCriteriaModal/confirmWithFinancialCriteriaModal';\r\nimport ChangeConditionsModal from './../../modals/changeConditionsModal/changeConditionsModal';\r\nimport ConfirmWithoutFinancialCriteriaModal from '../../modals/confirmWithoutFinancialCriteriaModal/confirmWithoutFinancialCriteriaModal';\r\nimport GoBackConfirmationModal from '../../modals/goBackConfirmationModal/goBackConfirmationModal';\r\nimport ConfirmWithoutFinancialCriteriaForChangeConditionsModal from '../../modals/confirmWithoutFinancialCriteriaForChangeConditionsModal/confirmWithoutFinancialCriteriaForChangeConditionsModal';\r\nimport DatePicker from 'react-datepicker';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\nimport {\r\n controllingCompaniesInputValidation,\r\n isCommentFilled,\r\n //controlingForeignCompaiesInputValidation,\r\n} from './../../utils/auth/validations';\r\nimport swal from 'sweetalert';\r\nimport {\r\n evrkFull,\r\n formatCountryJson,\r\n evrkFullWithoutZeros,\r\n evrkFullWithZeros,\r\n fullEvrkCodeList,\r\n evrkFarm,\r\n} from './../../utils/helpers/evrk';\r\nimport { SurwayAnswers } from '../requests/surwayAnswers';\r\nimport { AddressModal } from '../../containers/addressInputContainer/addressInputContainer';\r\nimport { SelfDeclarationInfo } from '../../utils/mapsData/selfDeclaration/selfDeclaration';\r\n\r\nconst NewRequest = ({\r\n requestData,\r\n dispatch,\r\n loading,\r\n signContractModalVisible,\r\n financialCriteriaModalVisible,\r\n financialCriteriaResults,\r\n confirmWithFinancialCriteriaModalVisible,\r\n confirmWithoutFinancialCriteriaModalVisible,\r\n changeConditionsModalVisible,\r\n signInInfo,\r\n confirmModalVisible,\r\n goBackConfirmationModalVisible,\r\n confirmWithoutFinancialCriteriaForChangeConditionsModalVisible,\r\n}) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n const CompanyEvrkcheck = () => (loginType === 'Company' ? 'CompanyEvrk' : '');\r\n\r\n const CompanyManagerNamecheck = () =>\r\n loginType === 'Company' ? 'CompanyManagerName' : '';\r\n\r\n const disableCheck = (val) => {\r\n if (viewWindow) {\r\n return true;\r\n } else {\r\n if (\r\n val === 'ApplicantName' ||\r\n val === 'ApplicantSurname' ||\r\n val === 'PersonalCode' ||\r\n val === 'CompanyName' ||\r\n val === 'CompanyCode' ||\r\n val === CompanyManagerNamecheck() ||\r\n val === 'CompanyType' ||\r\n val === 'CompanySizeType' ||\r\n val === 'CompanyRegistrationDate' ||\r\n val === 'StatusInitial' ||\r\n val === 'Turnover19' ||\r\n val === 'Income19' ||\r\n val === 'Assets19' ||\r\n val === 'PropertyAmount19' ||\r\n val === 'Liabilities19' ||\r\n val === 'ShortTermDebts19' ||\r\n val === 'Status' ||\r\n val === 'FsiStartDate2019' ||\r\n val === 'FsiEndDate2019' ||\r\n val === 'FsiStartDate2020' ||\r\n val === 'FsiEndDate2020' ||\r\n val === 'Assets20' ||\r\n val === 'Liabilities20' ||\r\n val === 'PropertyAmount20' ||\r\n val === 'Turnover20' ||\r\n val === 'InvegaAligTurnSumLoan' ||\r\n val === 'InvegaAligInvSumLoan' ||\r\n val === CompanyEvrkcheck()\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n const isNumberType = (val) => {\r\n if (\r\n val === 'MonthlyRentalPrice' ||\r\n val === 'RentedArea' ||\r\n val === 'OwnerCompanyCode' ||\r\n val === 'AlreadyReceivedCovidSupportSum' ||\r\n val === 'OwnerPersonalCode' ||\r\n val === 'OwnerPhone'\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const rowTableHeader = [\r\n 'Tipas',\r\n 'Priedo pavadinimas',\r\n 'Sudarymo data',\r\n 'Pareiškėjo pasirašymo data',\r\n 'Invega pasirašymo data',\r\n 'Veiksmai',\r\n ];\r\n\r\n const commentsHistoryTableHeader = ['Data', 'Komentaras'];\r\n\r\n const check1 = () => (\r\n
\r\n

\r\n Susipažinau su \"{projectName2(requestSystemInfo.ProjectId)}\" aprašymu,\r\n pateiktu{' '}\r\n \r\n INVEGOS puslapyje\r\n \r\n .\r\n

\r\n
\r\n );\r\n\r\n const isSmallText = () => (\r\n \r\n Bendrovė ir visos su ja susijusios įmonės atitinka labai mažos arba mažos\r\n įmonės statusą pagal{' '}\r\n \r\n Lietuvos Respublikos smulkaus ir vidutinio verslo plėtros įstatymo{' '}\r\n \r\n nuostatas. Pagrindiniai kriterijai: įmonėje (atsižvelgiant ir į susijusias\r\n ir partnerines įmones) dirba mažiau kaip 50 darbuotojų ir įmonė atitinka\r\n bent vieną iš šių kriterijų: metinės pajamos neviršija 10 mln. Eur arba\r\n įmonės balanse nurodyto turto vertė neviršija 10 mln. Eur\r\n \r\n );\r\n\r\n const returnSignedDocumentEndpoint = (\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n if (fileType === 'Decision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentDecision(requestId);\r\n }\r\n if (fileType === 'RejectDecision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentRejectDecision(requestId);\r\n }\r\n if (\r\n fileType === 'ChangeConditions' ||\r\n fileType === 'ChangeConditionsRequest'\r\n ) {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }\r\n\r\n return config.API_ENDPOINTS.GetSignedDocumentContract(requestId);\r\n };\r\n\r\n const GetSignedDocumentContractUser = (\r\n requestId,\r\n fileType,\r\n name,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n returnSignedDocumentEndpoint(\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n 'Content-Type': 'application/pdf',\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sutartis_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = name;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const [viewWindow, setViewWindow] = useState(false);\r\n\r\n const [companyQuestionList, setCompanyQuestionList] = useState(null);\r\n const [ceoDataList, setCeoDataList] = useState(null);\r\n const [companyDataList, setCompanyDataList] = useState(null);\r\n const [applicantData, setApplicantData] = useState(null);\r\n const [farmData, setFarmData] = useState(null);\r\n const [managerData, setManagerData] = useState(null);\r\n const [otherRequestData, setOtherRequestData] = useState(null);\r\n\r\n const [pepData, setPepData] = useState({});\r\n const [suppliers, setSuppliers] = useState(null);\r\n const [buyers, setBuyers] = useState(null);\r\n const [declarationInfo, setDeclarationInfo] = useState(null);\r\n const [loanInfo, setLoanInfo] = useState(null);\r\n const [checks, setChecks] = useState(null);\r\n\r\n const [evrksList, setevrksList] = useState([]);\r\n\r\n const [hasParentCompanyValue, setHasParentCompanyValue] = useState(false);\r\n const [hasParentCompanyValueFA, setHasParentCompanyValueFA] = useState(false);\r\n\r\n const [hasParentCompanyState, setHasParentCompanyState] = useState(false);\r\n\r\n const [turnoversInfo, setTurnoversInfo] = useState([]);\r\n\r\n const onPepDataInputChange = ({ target: { name, value } }) => {\r\n setPepData({ ...pepData, [name]: value });\r\n };\r\n\r\n const [controllingCompanies, setControllingCompanies] = useState(null);\r\n const [controllingForeignCompanies, setControllingForeignCompanies] =\r\n useState(null);\r\n\r\n const [notValid, setNotvalid] = useState(false);\r\n\r\n const onInputChange = ({ target: { name, value } }) => {\r\n setCeoDataList({ ...ceoDataList, [name]: value });\r\n };\r\n\r\n const title = (id) => {\r\n switch (id) {\r\n case '1':\r\n return 'Kelionių organizatorius';\r\n case '2':\r\n return 'Apgyvendinimo paslaugos';\r\n case '3':\r\n return 'Viešojo maitinimo paslaugos';\r\n default:\r\n return id;\r\n }\r\n };\r\n\r\n const canCreateRequestSectorTypeId = (id) => {\r\n const OtherRequests = requestData.OtherRequests;\r\n const filtered = OtherRequests.some((val) => val.SectorTypeId == id);\r\n\r\n const has2Or3 = OtherRequests.some(\r\n (val) => val.SectorTypeId == 2 || val.SectorTypeId == 3\r\n );\r\n\r\n if (OtherRequests && OtherRequests.length > 0 && filtered) {\r\n swal({\r\n title: `Paraišką su veikla \"${title(\r\n id\r\n )}\" jau rengiate, todėl su šia veiklos sritimi naujos paraiškos rengti nebegalite. Pasirinkite kitą veiklos sritį.`,\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if ((id == 2 || id == 3) && has2Or3) {\r\n swal({\r\n title:\r\n 'Paraišką su veikla \"Apgyvendinimo paslaugos\" arba \"Viešojo maitinimo paslaugos\" jau rengiate, todėl su šia veiklos sritimi naujos paraiškos rengti nebegalite. Pasirinkite kitą veiklos sritį.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n const onLoanInfoChange = ({ target: { name, value } }) => {\r\n if (name === 'SectorType') {\r\n canCreateRequestSectorTypeId(value);\r\n if (value == null || value.length === 0) {\r\n setLoanInfo({ ...loanInfo, [name]: null });\r\n } else {\r\n setLoanInfo({ ...loanInfo, [name]: value });\r\n }\r\n } else {\r\n if (value == null || value.length === 0) {\r\n setLoanInfo({ ...loanInfo, [name]: null });\r\n } else {\r\n setLoanInfo({ ...loanInfo, [name]: value });\r\n }\r\n }\r\n };\r\n\r\n const onCompanyInputChange = ({ target: { name, value } }) => {\r\n setCompanyDataList({ ...companyDataList, [name]: value });\r\n };\r\n\r\n const onApplicantDatanputChange = ({ target: { name, value } }) => {\r\n setApplicantData({ ...applicantData, [name]: value });\r\n };\r\n\r\n const onFarmDataInputChange = ({ target: { name, value } }) => {\r\n setFarmData({ ...farmData, [name]: value });\r\n };\r\n const onManagerDataInputChange = ({ target: { name, value } }) => {\r\n setManagerData({ ...managerData, [name]: value });\r\n };\r\n\r\n const onOtherRequestDataInputChange = ({ target: { name, value } }) => {\r\n setOtherRequestData({ ...otherRequestData, [name]: value });\r\n };\r\n\r\n const onCheckBoxChange = (e, name) => {\r\n setChecks({ ...checks, [name]: e.target.checked });\r\n };\r\n\r\n const scrollToError = () => {\r\n setTimeout(() => {\r\n let el = document.getElementsByClassName('error1');\r\n\r\n let e = null;\r\n for (let i = 0; i < el.length; i++) {\r\n if (el[i].innerText != '') {\r\n e = el[i];\r\n break;\r\n }\r\n }\r\n\r\n if (e) {\r\n const y = e.getBoundingClientRect().top + window.pageYOffset - 100;\r\n window.scrollTo({ top: y, behavior: 'smooth' });\r\n }\r\n }, 0);\r\n };\r\n\r\n const checkResponsibilityPersons = (data) => {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.surname &&\r\n input.surname.length > 0 &&\r\n input.birthDate &&\r\n input.birthDate.length > 0 &&\r\n input.position &&\r\n input.position.length > 0 &&\r\n input.country &&\r\n input.country.length > 0 &&\r\n input.personRelation &&\r\n input.personRelation.length > 0\r\n ) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const checkSuppliers = (data) => {\r\n if (data) {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n };\r\n\r\n const checkBuyers = (data) => {\r\n if (data) {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n };\r\n\r\n const questionereEmpty = {\r\n IsSmall: null,\r\n IsSmallComment: null,\r\n IsNotListed: null,\r\n IsNotListedComment: null,\r\n IsProfitNotShared: null,\r\n IsProfitNotSharedComment: null,\r\n IsNotJoined: null,\r\n IsNotJoinedComment: null,\r\n IsNotTaken: null,\r\n IsNotTakenComment: null,\r\n IsNotProblemic: null,\r\n IsNotProblemicComment: null,\r\n };\r\n\r\n const returnEldership = (a, b) => {\r\n const arr = [11, 30, 27, 25, 21, 23];\r\n const isInArray = arr.some((val) => val == b);\r\n\r\n if (isInArray) {\r\n return null;\r\n }\r\n\r\n return a;\r\n };\r\n\r\n const returnSettlement = (a, b) => {\r\n const arr = [13, 18, 19, 29];\r\n const isInArray = arr.some((val) => val == b);\r\n\r\n if (isInArray) {\r\n return null;\r\n }\r\n\r\n return a;\r\n };\r\n\r\n const check = () => {\r\n if (loginType === 'Company') {\r\n if (validateEmail(ceoDataList.ApplicantEmail) === null) {\r\n const data = {\r\n requestSystemInfo: {\r\n ...requestSystemInfo,\r\n requestType: loginType,\r\n },\r\n FarmData: farmData, //???\r\n ManagerData: {\r\n ...managerData,\r\n DocumentDate:\r\n managerData.DocumentDate != null\r\n ? managerData.DocumentDate.length !== 10\r\n ? addHours(new Date(managerData.DocumentDate), 3)\r\n : managerData.DocumentDate\r\n : null,\r\n DocumentExpiredDate:\r\n managerData.DocumentExpiredDate != null\r\n ? managerData.DocumentExpiredDate.length !== 10\r\n ? addHours(new Date(managerData.DocumentExpiredDate), 3)\r\n : managerData.DocumentExpiredDate\r\n : null,\r\n },\r\n OtherRequestData: {\r\n ...otherRequestData,\r\n ControllingCompanies: controllingCompanies,\r\n ControllingForeignCompanies: controllingForeignCompanies,\r\n },\r\n ContactInfo: ceoDataList,\r\n CompanyData: {\r\n ...companyDataList,\r\n ActivityAddressEldership: returnEldership(\r\n companyDataList.ActivityAddressEldership,\r\n companyDataList.ActivityAddressMunicipalityId\r\n ),\r\n ActivityAddressEldershipId: returnEldership(\r\n companyDataList.ActivityAddressEldershipId,\r\n companyDataList.ActivityAddressMunicipalityId\r\n ),\r\n RegistrationAddressSettlement: returnSettlement(\r\n companyDataList.RegistrationAddressSettlement,\r\n companyDataList.RegistrationAddressMunicipalityId\r\n ),\r\n RegistrationAddressSettlementId: returnSettlement(\r\n companyDataList.RegistrationAddressSettlementId,\r\n companyDataList.RegistrationAddressMunicipalityId\r\n ),\r\n },\r\n //DeclarationInfo: declarationInfo,\r\n LoanInfo: loanInfo,\r\n FinancialData: companyQuestionList,\r\n suppliers: suppliers,\r\n buyers: buyers,\r\n ActivityRegions: activityRegionIds,\r\n AMLPEPcomment: aMLPEPcomment,\r\n\r\n Checks: checks,\r\n Questionnaire: ShowQuestionList() ? questionnaire : questionereEmpty,\r\n pepData: pepData\r\n ? {\r\n parentCompanyCode: pepData.ParentCompanyCode,\r\n HasImportantResponsibilities:\r\n pepData.HasImportantResponsibilities,\r\n HasControllingPersons: pepData.HasControllingPersons,\r\n HasControllingCompanies: pepData.HasControllingCompanies,\r\n HasImportantResponsibilitiesMoreThan4:\r\n pepData.HasImportantResponsibilitiesMoreThan4,\r\n importantResponsibilityPersons:\r\n pepData.ImportantResponsibilityPersons,\r\n controllingPersons: pepData.ControllingPersons,\r\n controllingCompanies: areAllValuesFalsy(\r\n pepData.ControllingCompanies\r\n )\r\n ? []\r\n : pepData.ControllingCompanies,\r\n }\r\n : null,\r\n };\r\n dispatch(actions.dashboard.saveRquestAction(data));\r\n setSavedRequest(true);\r\n } else {\r\n scrollToError();\r\n }\r\n } else if (loginType === 'Individual') {\r\n if (true) {\r\n const data = {\r\n requestSystemInfo: {\r\n ...requestSystemInfo,\r\n requestType: loginType,\r\n },\r\n ApplicantData: {\r\n ...applicantData,\r\n //IndividualActivityCertificateNumberStartDate:\r\n // applicantData.IndividualActivityCertificateNumberStartDate != null\r\n // ? applicantData.IndividualActivityCertificateNumberStartDate\r\n // .length !== 10\r\n // ? addHours(\r\n // applicantData.IndividualActivityCertificateNumberStartDate,\r\n // 3\r\n // )\r\n // : applicantData.IndividualActivityCertificateNumberStartDate\r\n // : null,\r\n ActivityAddressEldership: returnEldership(\r\n applicantData.ActivityAddressEldership,\r\n applicantData.ActivityAddressMunicipalityId\r\n ),\r\n ActivityAddressEldershipId: returnEldership(\r\n applicantData.ActivityAddressEldershipId,\r\n applicantData.ActivityAddressMunicipalityId\r\n ),\r\n },\r\n FarmData: {\r\n ...farmData,\r\n IncomeSources: incomeSourceIds,\r\n IndividualActivityCertificateNumberStartDate:\r\n farmData.IndividualActivityCertificateNumberStartDate != null\r\n ? farmData.IndividualActivityCertificateNumberStartDate\r\n .length !== 10\r\n ? addHours(\r\n farmData.IndividualActivityCertificateNumberStartDate,\r\n 3\r\n )\r\n : farmData.IndividualActivityCertificateNumberStartDate\r\n : null,\r\n ActivityAddressEldership: returnEldership(\r\n farmData.ActivityAddressEldership,\r\n farmData.ActivityAddressMunicipalityId\r\n ),\r\n ActivityAddressEldershipId: returnEldership(\r\n farmData.ActivityAddressEldershipId,\r\n farmData.ActivityAddressMunicipalityId\r\n ),\r\n },\r\n ContactInfo: ceoDataList,\r\n CompanyData: companyDataList,\r\n //DeclarationInfo: declarationInfo,\r\n LoanInfo: loanInfo,\r\n FinancialData: companyQuestionList,\r\n Questionnaire: ShowQuestionList() ? questionnaire : questionereEmpty,\r\n Checks: checks,\r\n suppliers: suppliers,\r\n buyers: buyers,\r\n ActivityRegions: activityRegionIds,\r\n AMLPEPcomment: aMLPEPcomment,\r\n // ManagerData: managerData,\r\n ManagerData: {\r\n ...managerData,\r\n DocumentDate:\r\n managerData.DocumentDate != null\r\n ? managerData.DocumentDate.length !== 10\r\n ? addHours(new Date(managerData.DocumentDate), 3)\r\n : managerData.DocumentDate\r\n : null,\r\n DocumentExpiredDate:\r\n managerData.DocumentExpiredDate != null\r\n ? managerData.DocumentExpiredDate.length !== 10\r\n ? addHours(new Date(managerData.DocumentExpiredDate), 3)\r\n : managerData.DocumentExpiredDate\r\n : null,\r\n },\r\n OtherRequestData: {\r\n ...otherRequestData,\r\n ControllingCompanies: controllingCompanies,\r\n ControllingForeignCompanies: controllingForeignCompanies,\r\n },\r\n pepData: pepData\r\n ? {\r\n parentCompanyCode: pepData.ParentCompanyCode,\r\n HasImportantResponsibilities:\r\n pepData.HasImportantResponsibilities,\r\n HasControllingPersons: pepData.HasControllingPersons,\r\n HasControllingCompanies: pepData.HasControllingCompanies,\r\n HasImportantResponsibilitiesMoreThan4:\r\n pepData.HasImportantResponsibilitiesMoreThan4,\r\n importantResponsibilityPersons:\r\n pepData.ImportantResponsibilityPersons,\r\n controllingPersons: pepData.ControllingPersons,\r\n controllingCompanies: pepData.ControllingCompanies,\r\n }\r\n : null,\r\n };\r\n dispatch(actions.dashboard.saveRquestAction(data));\r\n setSavedRequest(true);\r\n } else {\r\n scrollToError();\r\n }\r\n } else {\r\n console.log('negalima nustatyti prisijungusiojo tipo');\r\n }\r\n };\r\n\r\n const submit = () => {\r\n setNotvalid(true);\r\n setTimeout(() => {\r\n const el = document.getElementsByClassName('error1');\r\n const el2 = Object.values(el)?.some((val) => val.innerText.length > 0);\r\n if (el2) {\r\n scrollToError();\r\n } else {\r\n check();\r\n }\r\n }, 0);\r\n };\r\n\r\n const onHasImportantResponsibilitiesMoreThan4Change = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasImportantResponsibilitiesMoreThan4: e.target.checked,\r\n });\r\n };\r\n\r\n const onHasImportantResponsibilities = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasImportantResponsibilities: !pepData.HasImportantResponsibilities,\r\n });\r\n };\r\n\r\n const onHasControllingPersons = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasControllingPersons: !pepData.HasControllingPersons,\r\n });\r\n };\r\n\r\n const onHasControllingCompanies = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasControllingCompanies: !pepData.HasControllingCompanies,\r\n });\r\n };\r\n\r\n const onImportantResponsibilitiesChange = (index, propName, e) => {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ImportantResponsibilityPersons[index][propName] =\r\n e.target.value),\r\n });\r\n };\r\n\r\n const onControllingPersonsChange = (index, propName, e) => {\r\n if (propName === 'sharesPart' || propName === 'votingPart') {\r\n if (\r\n (parseInt(e.target.value) >= 0 && parseInt(e.target.value) <= 100) ||\r\n !e.target.value\r\n ) {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingPersons[index][propName] = e.target.value),\r\n });\r\n }\r\n return null;\r\n } else {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingPersons[index][propName] = e.target.value),\r\n });\r\n }\r\n };\r\n\r\n const onControllingCompaniesChange = (index, propName, e) => {\r\n if (propName === 'sharesPart' || propName === 'votingPart') {\r\n if (\r\n (parseInt(e.target.value) >= 0 && parseInt(e.target.value) <= 100) ||\r\n !e.target.value\r\n ) {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingCompanies[index][propName] = e.target.value),\r\n });\r\n }\r\n return null;\r\n } else {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingCompanies[index][propName] = e.target.value),\r\n });\r\n }\r\n };\r\n\r\n const amlPepTrueFalseTranslation = (val) => (val === true ? 'Taip' : 'Ne');\r\n\r\n const getFinancialCriteriaResults = (id) => {\r\n dispatch(actions.dashboard.getFinancialCriteriaResultsAction(id));\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'goBackConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [requestId, setRequestId] = useState(null);\r\n\r\n const [savedRequest, setSavedRequest] = useState(false);\r\n\r\n //add values, that is n ot requered here\r\n const isRequeredToCheck = (val) => {\r\n if (\r\n val === 'OwnerCompanyCode' ||\r\n val === 'OwnerPersonalCode' ||\r\n val === 'OwnerIndividualActivityCertificateNumber' ||\r\n val === 'MonthlyRentalPrice' ||\r\n val === 'ParentCompanyCode'\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const isCheckBox = (name) =>\r\n name.slice(0, 5) === 'check' || name.slice(0, 5) === 'Check' ? true : false;\r\n\r\n const isDate = (name) =>\r\n name.slice(name.length - 4) === 'Date' ? true : false;\r\n\r\n const onControllingCompaniesInputChange = ({ target: { name, value } }) => {\r\n setControllingCompanies(value);\r\n };\r\n\r\n const onCompanySizeTypeChange = ({ target: { name, value } }) => {\r\n setOtherRequestData({ ...otherRequestData, [name]: value });\r\n };\r\n\r\n const [reason, setReason] = useState('');\r\n const onReasonChange = ({ target: { name, value } }) => {\r\n setReason(value);\r\n };\r\n\r\n const onSubjectRelationIdChange = ({ target: { name, value } }) => {\r\n setOtherRequestData({ ...otherRequestData, [name]: value });\r\n };\r\n\r\n const onBasisOfRepresentationIdChange = ({ target: { name, value } }) => {\r\n setManagerData({ ...managerData, [name]: value });\r\n };\r\n\r\n const onDocumentTypeIdChange = ({ target: { name, value } }) => {\r\n setManagerData({ ...managerData, [name]: value });\r\n };\r\n\r\n const onControllingForeignCompaniesInputChange = ({\r\n target: { name, value },\r\n }) => {\r\n setControllingForeignCompanies(value);\r\n };\r\n\r\n const onCompanyDataCheckBoxChange = (e, name) => {\r\n setCompanyDataList({ ...companyDataList, [name]: e.target.checked });\r\n };\r\n\r\n const onApplicantInputChange = ({ target: { name, value } }) => {\r\n setApplicantData({ ...applicantData, [name]: value });\r\n };\r\n const onFarmInputChange = ({ target: { name, value } }) => {\r\n setFarmData({ ...farmData, [name]: value });\r\n };\r\n\r\n const onManagerInputChange = ({ target: { name, value } }) => {\r\n setManagerData({ ...managerData, [name]: value });\r\n };\r\n\r\n const onOtherRequestInputChange = ({ target: { name, value } }) => {\r\n setOtherRequestData({ ...otherRequestData, [name]: value });\r\n };\r\n\r\n const onApplicantDataCheckBoxChange = (e, name) => {\r\n setApplicantData({ ...applicantData, [name]: e.target.checked });\r\n };\r\n\r\n const onFarmDataCheckBoxChange = (e, name) => {\r\n setFarmData({ ...farmData, [name]: e.target.checked });\r\n };\r\n\r\n const onOtherRequestDataCheckBoxChange = (e, name) => {\r\n setOtherRequestData({ ...otherRequestData, [name]: e.target.checked });\r\n };\r\n\r\n const onActivityRegionIdChange = (e) => {\r\n setActivityRegionId(e.target.value);\r\n };\r\n\r\n const onAMLPEPcommentChange = (e) => {\r\n if (e?.target?.value?.length < 2047) {\r\n setAMLPEPcomment(e.target.value);\r\n }\r\n };\r\n\r\n const handleApplicantDateChange = (date, name) => {\r\n if (date) {\r\n setApplicantData({ ...applicantData, [name]: date });\r\n }\r\n };\r\n\r\n const handleFarmDateChange = (date, name) => {\r\n const format = addHours(date, 3);\r\n if (date) {\r\n setFarmData({\r\n ...farmData,\r\n [name]: format.toISOString().split('T')[0],\r\n });\r\n }\r\n };\r\n\r\n const handleManagerDateChange = (date, name) => {\r\n if (date) {\r\n setManagerData({ ...managerData, [name]: date });\r\n }\r\n };\r\n\r\n const clearContractStartDate = () => {\r\n if (!viewWindow) {\r\n setFarmData({\r\n ...farmData,\r\n IndividualActivityCertificateNumberStartDate: null,\r\n });\r\n }\r\n };\r\n\r\n const clearDocumentDate = () => {\r\n if (!viewWindow) {\r\n setManagerData({\r\n ...managerData,\r\n DocumentDate: null,\r\n });\r\n }\r\n };\r\n\r\n const clearDocumentExpiredDate = () => {\r\n if (!viewWindow) {\r\n setManagerData({\r\n ...managerData,\r\n DocumentExpiredDate: null,\r\n });\r\n }\r\n };\r\n\r\n const clearFarmRegistrationDate = () => {\r\n if (!viewWindow) {\r\n setFarmData({\r\n ...farmData,\r\n FarmRegistrationDate: null,\r\n });\r\n }\r\n };\r\n\r\n const clearIndividualActivityCertificateNumberStartDate = () => {\r\n if (!viewWindow) {\r\n setFarmData({\r\n ...farmData,\r\n IndividualActivityCertificateNumberStartDate: null,\r\n });\r\n }\r\n };\r\n\r\n const copyRequest = (requestId) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n dispatch(\r\n actions.dashboard.createNewRequestAction(null, 'copy', requestId)\r\n );\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(\r\n null,\r\n 'copy',\r\n requestId\r\n )\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n\r\n const checkControllingPersons = (data) => {\r\n if (pepData.HasControllingPersons != true) {\r\n return false;\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n for (let key in data[i]) {\r\n if (data[i][key]) {\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const checkControllingCompanies = (data) => {\r\n if (pepData?.HasControllingCompanies == 'true') {\r\n return false;\r\n } else {\r\n for (let i = 0; i < data.length; i++) {\r\n for (let key in data[i]) {\r\n if (data[i][key]) {\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalCheckbox, setModalCheckbox] = useState(false);\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalOkTitle, setModalOkTitle] = useState();\r\n const [userComment, setUserComment] = useState(false);\r\n const [mainText, setMainText] = useState('');\r\n const [questionnaire, setQuestionnaire] = useState(null);\r\n\r\n const [activityRegionId, setActivityRegionId] = useState(null);\r\n const [aMLPEPcomment, setAMLPEPcomment] = useState(null);\r\n\r\n const approveRequest = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST',\r\n userComment\r\n )\r\n );\r\n };\r\n\r\n const approveRequestWithDocs = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST_WITH_DOCS'\r\n )\r\n );\r\n };\r\n\r\n const sign = () => {\r\n const open = {\r\n modalName: 'signContractModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeConditions = () => {\r\n const open = {\r\n modalName: 'changeConditionsModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [isStatusGood, setIsStatusGood] = useState(false);\r\n\r\n const [requestSystemInfo, setRequestSystemInfo] = useState(null);\r\n\r\n const isSelectedEvrkInTheList = (val, fromWhere) => {\r\n if (evrksList && evrksList.length > 0) {\r\n const isInArray = evrksList.filter((x) => x == val);\r\n return isInArray.length === 0 ? false : true;\r\n }\r\n\r\n const isInArray = requestData.evrksList.filter((x) => x == val);\r\n return isInArray.length === 0 ? false : true;\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.SetCanCreateRequest(false));\r\n setCeoDataList(requestData.ContactInfo); //kontaktinė informacija JA/FA bendras\r\n if (requestData.CompanyData) {\r\n setCompanyDataList({\r\n ...requestData.CompanyData,\r\n CompanyEvrk:\r\n viewWindow ||\r\n isSelectedEvrkInTheList(\r\n requestData.CompanyData.CompanyEvrk,\r\n 'isuseeefect'\r\n )\r\n ? requestData.CompanyData.CompanyEvrk\r\n : null,\r\n RegistrationAddressMunicipality: !requestData.CompanyData\r\n .RegistrationAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.RegistrationAddressMunicipality,\r\n RegistrationAddressSettlement:\r\n requestData.CompanyData.RegistrationAddressSettlement,\r\n ActivityAddressEldership:\r\n !requestData.CompanyData.ActivityAddressEldership &&\r\n !requestData.CompanyData.ActivityAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.ActivityAddressEldership,\r\n ActivityAddressSettlement: !requestData.CompanyData\r\n .ActivityAddressSettlement\r\n ? '-'\r\n : requestData.CompanyData.ActivityAddressSettlement,\r\n });\r\n }\r\n\r\n setHasParentCompanyValue(\r\n requestData.OtherRequestData &&\r\n requestData.OtherRequestData.ParentCompanyCodesFromRequest &&\r\n requestData.OtherRequestData.ParentCompanyCodesFromRequest.length !== 0\r\n ? true\r\n : false\r\n );\r\n\r\n // setDeclarationInfo(requestData.DeclarationInfo);\r\n setLoanInfo({\r\n ...requestData.LoanInfo,\r\n });\r\n setChecks(requestData.Checks);\r\n setevrksList(requestData.evrksList);\r\n requestData.ApplicantData != null &&\r\n setApplicantData({\r\n ...requestData.ApplicantData,\r\n });\r\n\r\n requestData.FarmData != null &&\r\n setFarmData({\r\n ...requestData.FarmData,\r\n CompanyEvrk: requestData.FarmData.CompanyEvrk,\r\n });\r\n setIncomeSourcesIds(requestData?.FarmData?.IncomeSources);\r\n setActivityRegionIds(requestData?.ActivityRegions);\r\n requestData.ManagerData != null &&\r\n setManagerData({\r\n ...requestData.ManagerData,\r\n });\r\n requestData.OtherRequestData != null &&\r\n setOtherRequestData({\r\n ...requestData.OtherRequestData,\r\n Iban: requestData.OtherRequestData.Iban\r\n ? requestData.OtherRequestData.Iban\r\n : 'LT',\r\n });\r\n\r\n setCompanyQuestionList(requestData.FinancialData);\r\n setRequestSystemInfo(requestData.RequestSystemInfo);\r\n setRequestId(\r\n requestData.RequestSystemInfo != null\r\n ? requestData.RequestSystemInfo.RequestId\r\n : null\r\n );\r\n\r\n // Pep\r\n if (requestData && requestData.PepData) {\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ImportantResponsibilityPersons[i];\r\n if (item) {\r\n requestData.PepData.ImportantResponsibilityPersons[i] = {\r\n positionId: item.PositionId,\r\n name: item.Name,\r\n surname: item.Surname,\r\n birthDate: item.BirthDate,\r\n pepPositionId: item.PepPositionId,\r\n institution: item.Institution,\r\n country: item.Country,\r\n //personRelation: item.PersonRelation,\r\n };\r\n } else {\r\n requestData.PepData.ImportantResponsibilityPersons[i] = {\r\n positionId: '',\r\n name: '',\r\n surname: '',\r\n birthDate: '',\r\n pepPositionId: '',\r\n institution: '',\r\n country: '',\r\n //personRelation: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ControllingPersons[i];\r\n if (item) {\r\n requestData.PepData.ControllingPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n citizenshipId: item.CitizenshipId,\r\n personCode: item.PersonCode,\r\n position: item.Position,\r\n personControlId: item.PersonControlId,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n stateOfResidenceForTaxPurposesId:\r\n item.StateOfResidenceForTaxPurposesId,\r\n stateOfTheTaxpayerId: item.StateOfTheTaxpayerId,\r\n stateTaxIdentificationNumber: item.StateTaxIdentificationNumber,\r\n };\r\n } else {\r\n requestData.PepData.ControllingPersons[i] = {\r\n name: '',\r\n surname: '',\r\n citizenshipId: '',\r\n personCode: '',\r\n position: '',\r\n personControlId: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n stateOfResidenceForTaxPurposesId: '',\r\n stateOfTheTaxpayerId: '',\r\n stateTaxIdentificationNumber: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ControllingCompanies[i];\r\n if (item) {\r\n requestData.PepData.ControllingCompanies[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n country: item.Country,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n stockApprove: item.StockApprove,\r\n stockName: item.StockName,\r\n stockCountryId: item.StockCountryId,\r\n stockIsin: item.StockIsin,\r\n };\r\n } else {\r\n requestData.PepData.ControllingCompanies[i] = {\r\n name: '',\r\n code: '',\r\n country: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n stockApprove: null,\r\n stockName: '',\r\n stockCountryId: '',\r\n stockIsin: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestData && requestData.Suppliers) {\r\n for (let i = 0; i < 5; i++) {\r\n const item = requestData.Suppliers[i];\r\n if (item) {\r\n requestData.Suppliers[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n registrationCountryId: item.RegistrationCountryId,\r\n evrk: item.Evrk,\r\n basisForPayments: item.BasisForPayments,\r\n };\r\n } else {\r\n requestData.Suppliers[i] = {\r\n name: '',\r\n code: '',\r\n registrationCountryId: '',\r\n evrk: '',\r\n basisForPayments: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestData && requestData.Buyers) {\r\n for (let i = 0; i < 5; i++) {\r\n const item = requestData.Buyers[i];\r\n if (item) {\r\n requestData.Buyers[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n registrationCountryId: item.RegistrationCountryId,\r\n evrk: item.Evrk,\r\n basisForPayments: item.BasisForPayments,\r\n };\r\n } else {\r\n requestData.Buyers[i] = {\r\n name: '',\r\n code: '',\r\n registrationCountryId: '',\r\n evrk: '',\r\n basisForPayments: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestData) {\r\n setPepData(requestData.PepData);\r\n setSuppliers(requestData?.Suppliers);\r\n setBuyers(requestData?.Buyers);\r\n }\r\n\r\n //pep end\r\n\r\n setViewWindow(requestData.type === 'view' ? true : false);\r\n setIsStatusGood(\r\n requestData.RequestSystemInfo != null &&\r\n requestData.RequestSystemInfo.Status != null &&\r\n requestData.RequestSystemInfo.Status !== 6\r\n ? true\r\n : false\r\n );\r\n if (requestData.Invoice) {\r\n if (!requestData.Invoice.RentDate) {\r\n requestData.Invoice.RentDate = '2020-02-01';\r\n }\r\n if (!requestData.Invoice.InvoiceType) {\r\n requestData.Invoice.InvoiceType = 1;\r\n }\r\n }\r\n\r\n if (requestData.type != null && requestData.type === 'view') {\r\n setNotvalid(false);\r\n }\r\n\r\n setControllingCompanies(\r\n requestData?.OtherRequestData?.ControllingCompanies\r\n );\r\n setControllingForeignCompanies(\r\n requestData?.OtherRequestData?.ControllingForeignCompanies\r\n );\r\n setTurnoversInfo(arrangeTurnovers(requestData.TurnoversInfo));\r\n //setActivityRegionId(requestData.ActivityRegionId);\r\n setAMLPEPcomment(requestData.AMLPEPComment);\r\n }, [requestData]);\r\n\r\n const arrangeTurnovers = (list) => {\r\n if (\r\n list &&\r\n list.length === 6 &&\r\n list[0].Date &&\r\n list[0].Date === '2019-11-01T00:00:00' &&\r\n list[5].Date &&\r\n list[5].Date === '2021-01-01T00:00:00'\r\n ) {\r\n return [list[0], list[3], list[1], list[4], list[2], list[5]];\r\n }\r\n\r\n return list;\r\n };\r\n //Use efect for getting uploaded files\r\n useEffect(() => {\r\n if (\r\n requestData.RequestSystemInfo &&\r\n requestData.RequestSystemInfo.RequestId &&\r\n requestData.RequestSystemInfo.RequestId !== null\r\n ) {\r\n dispatch(\r\n actions.dashboard.getUploadedFileList(\r\n requestData.RequestSystemInfo.RequestId\r\n )\r\n );\r\n }\r\n }, [requestData]);\r\n\r\n const isOldEvrkValid = (val) => {\r\n if (!val || val === null) {\r\n return 'neįvestas EVRK kodas';\r\n }\r\n var ex = /\\b\\d{6}\\b/g;\r\n if (ex.test(val) === false) {\r\n return 'Neteisingai įvestas EVRK kodas';\r\n }\r\n return null;\r\n };\r\n\r\n const isValidIban = (v) => {\r\n if (!v) {\r\n return false;\r\n }\r\n return v.match(/[A-Z]{2}\\d{2} ?\\d{4} ?\\d{4} ?\\d{4} ?\\d{4} ?[\\d]{0,2}/);\r\n };\r\n\r\n const isPostCodeValid = (code) => {\r\n if (!code) {\r\n return false;\r\n }\r\n\r\n if (code.length > 5) {\r\n return false;\r\n }\r\n return code.match(/^\\d+$/);\r\n };\r\n\r\n const hasParentCompany = (e) => {\r\n setHasParentCompanyState(e.target.value === 'true' ? true : false);\r\n\r\n const has = e.target.value === 'true';\r\n if (!has) {\r\n setOtherRequestData({\r\n ...otherRequestData,\r\n ParentCompanyCodesFromRequest: '',\r\n });\r\n }\r\n setHasParentCompanyValue(has);\r\n };\r\n\r\n const hasParentCompanyFA = (e) => {\r\n setHasParentCompanyState(e.target.value === 'true' ? true : false);\r\n\r\n const has = e.target.value === 'true';\r\n if (!has) {\r\n setOtherRequestData({\r\n ...otherRequestData,\r\n ParentCompanyCodesFromRequest: '',\r\n });\r\n }\r\n setHasParentCompanyValue(has);\r\n };\r\n\r\n const notValidCompanyCode = () => {\r\n if (\r\n hasParentCompanyValue &&\r\n !/^([0-9]{9})$/.test(otherRequestData.ParentCompanyCodesFromRequest)\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const notValidCompanyCodeFA = () => {\r\n if (\r\n hasParentCompanyValue &&\r\n !/^([0-9]{9})$/.test(otherRequestData.ParentCompanyCodesFromRequest)\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const translateTurnover = (val) => {\r\n const year = val.substring(0, 4);\r\n const month = val.substring(5, 7);\r\n\r\n const dictionary = {\r\n '01': 'sausio',\r\n '02': 'vasario',\r\n '03': 'kovo',\r\n '04': 'balandžio',\r\n '05': 'gegužės',\r\n '06': 'birželio',\r\n '07': 'liepos',\r\n '08': 'rugpjūčio',\r\n '09': 'rugsėjo',\r\n 10: 'spalio',\r\n 11: 'lapkričio',\r\n 12: 'gruodžio',\r\n };\r\n\r\n if (val && val.length === 4) {\r\n return `Apyvarta ${year}m `;\r\n }\r\n return `Apyvarta ${year}m. ${dictionary[month]} mėn.`;\r\n };\r\n\r\n const financialDataArray2019 = [\r\n 'Fsi2019Submitted',\r\n 'br',\r\n 'FsiStartDate2019',\r\n 'FsiEndDate2019',\r\n 'Assets19',\r\n 'Liabilities19',\r\n 'PropertyAmount19',\r\n 'Turnover19',\r\n ];\r\n\r\n const financialDataArray2020 = [\r\n 'Fsi2020Submitted',\r\n 'br',\r\n 'FsiStartDate2020',\r\n 'FsiEndDate2020',\r\n 'Assets20',\r\n 'Liabilities20',\r\n 'PropertyAmount20',\r\n 'Turnover20',\r\n ];\r\n const financialDataArray2021 = [\r\n 'Fsi2021Submitted',\r\n 'br',\r\n 'FsiStartDate2021',\r\n 'FsiEndDate2021',\r\n 'Assets21',\r\n 'Liabilities21',\r\n 'PropertyAmount21',\r\n 'Turnover21',\r\n ];\r\n\r\n const financialDataArray = (fsiYear) =>\r\n fsiYear == 2019 ? financialDataArray2019 : financialDataArray2020;\r\n const financialDataArray2 = (fsiYear) =>\r\n fsiYear == 2020 ? financialDataArray2020 : financialDataArray2021;\r\n\r\n const agreementsCheckBoxesArray = ['Check1', 'Check2', 'Check3'];\r\n\r\n const fileTypeTranslation = (name) => {\r\n if (name === 'Contract') {\r\n return 'Sutartis';\r\n } else if (name === 'Decision') {\r\n return 'Sprendimas';\r\n } else if (name === 'ChangeConditionsRequest') {\r\n return 'Prašymas pakeisti susitarimą';\r\n } else if (name === 'ChangeConditions') {\r\n return 'Sąlygų keitimo dokumentas';\r\n } else if (name === 'ChangeConditionsReject') {\r\n return 'Sąlygų keitimas atmestas';\r\n } else if (name === 'ChangeConditionsDecision') {\r\n return 'Sąlygų keitimo sprendimas';\r\n } else if (name === 'RejectDecision') {\r\n return 'Atmetimo sprendimas';\r\n }\r\n };\r\n\r\n const applicantDataArray = [\r\n 'IndividualActivityCertificateNumber',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'FarmCode',\r\n 'FarmHouseNo',\r\n //'CompanyManagerName',\r\n //'PersonalCode',\r\n //'CompanyManagerCitizenshipId',\r\n //'CompanyManagerCitizenshipId2',//pakeisti\r\n //'StateOfResidenceForTaxPurposes',\r\n // 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const farmDataArray = [\r\n //'FarmCertificateNumber',\r\n //'FarmRegistrationDate',\r\n //'FarmIdentificationCode',\r\n //'FarmHoldingNumber',\r\n 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'IndividualActivityCertificateNumber',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'IncomeSources',\r\n 'OtherIncomeSource',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const managerDataArray = [\r\n 'FirstName',\r\n 'LastName',\r\n 'PersonalCode',\r\n 'Position',\r\n 'BasisOfRepresentationId',\r\n 'DocumentTypeId',\r\n 'DocumentNumber',\r\n 'DocumentIssuedCountryId',\r\n 'DocumentDate',\r\n 'DocumentExpiredDate',\r\n 'CompanyManagerCitizenshipId',\r\n 'StateOfResidenceForTaxPurposesId',\r\n 'StateOfTheTaxpayerId',\r\n 'StateTaxIdentificationNumber',\r\n 'PermanentResidenceCountryId',\r\n ];\r\n const otherRequestDataArray = [\r\n 'CompanyPhone',\r\n 'CompanyEmail',\r\n 'ContractEmail',\r\n 'CompanyWeb',\r\n 'Iban',\r\n 'SubjectRelationId',\r\n 'CompanySizeType',\r\n 'ParentCompanyCodesFromRequest',\r\n // 'CheckCompanyAge',\r\n 'ControllingCompanies',\r\n 'ControllingForeignCompanies',\r\n 'NumberOfEmployees',\r\n ];\r\n\r\n const ceoDataListArray = ['ApplicantName', 'ApplicantSurname'];\r\n\r\n const companyDataListArray = [\r\n 'CompanyName',\r\n 'CompanyCode',\r\n 'CompanyType',\r\n 'StatusInitial',\r\n 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'LicenceNeeded',\r\n 'CompanyRegistrationDate',\r\n 'CompanyRegistrationCountryId',\r\n 'StateOfResidenceForTaxPurposesId',\r\n 'StateOfTheTaxpayerId',\r\n 'StateTaxIdentificationNumber',\r\n //'CompanyRegistrationAddress',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const declarationInfoArray = [\r\n 'EuLoanSum',\r\n 'InvegaAsapSumLoan',\r\n 'InvegaMostAffectedLoanSum',\r\n 'InvegaTurapSumLoan',\r\n 'InvegaPortfolioLoan2Sum',\r\n ];\r\n\r\n const formatEvrkJson2 = () => {\r\n return evrksList\r\n ? evrksList.map((val) => ({\r\n [val]: evrkFull[val],\r\n }))\r\n : null;\r\n };\r\n\r\n const getValueByCode = (list, code) => {\r\n if (list && code) {\r\n const foundValue = list.find((val) => val.value?.Code === code);\r\n return foundValue?.label?.Name;\r\n }\r\n };\r\n\r\n const onEvrkInputChange = ({ target: { name, value } }, listData) => {\r\n if (loginType === 'Individual') {\r\n setFarmData({\r\n ...farmData,\r\n [name]: value === '-' ? null : value,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n [name]: value === '-' ? null : value,\r\n });\r\n }\r\n };\r\n\r\n const onAddressInputChange = ({ target: { name, value } }, listData) => {\r\n if (name === 'RegistrationAddressDistrict') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressDistrict: getValueByCode(listData, value),\r\n RegistrationAddressDistrictId: value,\r\n RegistrationAddressMunicipality: null,\r\n RegistrationAddressMunicipalityId: null,\r\n RegistrationAddressEldership: null,\r\n RegistrationAddressEldershipId: null,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressDistrict') {\r\n if (loginType === 'Individual') {\r\n setFarmData({\r\n ...farmData,\r\n ActivityAddressDistrict: getValueByCode(listData, value),\r\n ActivityAddressDistrictId: value,\r\n ActivityAddressMunicipality: null,\r\n ActivityAddressMunicipalityId: null,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressDistrict: getValueByCode(listData, value),\r\n ActivityAddressDistrictId: value,\r\n ActivityAddressMunicipality: null,\r\n ActivityAddressMunicipalityId: null,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n\r\n if (name === 'RegistrationAddressMunicipality') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressMunicipality: getValueByCode(listData, value),\r\n RegistrationAddressMunicipalityId: value,\r\n RegistrationAddressEldership: null,\r\n RegistrationAddressEldershipId: null,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressMunicipality') {\r\n if (loginType === 'Individual') {\r\n setFarmData({\r\n ...farmData,\r\n ActivityAddressMunicipality: getValueByCode(listData, value),\r\n ActivityAddressMunicipalityId: value,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressMunicipality: getValueByCode(listData, value),\r\n ActivityAddressMunicipalityId: value,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n\r\n if (name === 'RegistrationAddressEldership') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressEldership: getValueByCode(listData, value),\r\n RegistrationAddressEldershipId: value,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressEldership') {\r\n if (loginType === 'Individual') {\r\n setFarmData({\r\n ...farmData,\r\n ActivityAddressEldership: getValueByCode(listData, value),\r\n ActivityAddressEldershipId: value,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressEldership: getValueByCode(listData, value),\r\n ActivityAddressEldershipId: value,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n\r\n if (loginType === 'Individual' && name === 'ActivityAddressSettlement') {\r\n setFarmData({\r\n ...farmData,\r\n [name + 'Id']: value === '-' ? null : value,\r\n [name]: value === '-' ? null : getValueByCode(listData, value),\r\n });\r\n }\r\n\r\n if (\r\n loginType !== 'Individual' &&\r\n (name === 'RegistrationAddressSettlement' ||\r\n name === 'ActivityAddressSettlement')\r\n ) {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n [name + 'Id']: value === '-' ? null : value,\r\n [name]: value === '-' ? null : getValueByCode(listData, value),\r\n });\r\n }\r\n };\r\n\r\n const onCountryInputChange = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n CompanyManagerCitizenshipId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange2 = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n CompanyRegistrationCountryId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange3 = (value) => {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n StateOfResidenceForTaxPurposesId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n const onCountryInputChange4 = (value) => {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n StateOfTheTaxpayerId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange5 = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n DocumentIssuedCountryId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange6 = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n StateOfResidenceForTaxPurposesId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange7 = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n StateOfTheTaxpayerId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const onCountryInputChange8 = (value) => {\r\n setManagerData({\r\n ...managerData,\r\n PermanentResidenceCountryId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n };\r\n\r\n const from19To20 = (val) => `${val.slice(0, -2)}20`;\r\n\r\n const ageLessThen5 = (regDate) => {\r\n const date = new Date();\r\n const ageMinus5Years = subYears(new Date(date), 5);\r\n return new Date(regDate) > ageMinus5Years;\r\n };\r\n\r\n const ShowQuestionList = () => {\r\n const size =\r\n loginType === 'Company'\r\n ? otherRequestData && otherRequestData.CompanySizeType\r\n : otherRequestData && otherRequestData.CompanySizeType;\r\n // const socialBusiness = loanInfo && loanInfo.LoanSocialBusiness;\r\n const companyRegistrationDate =\r\n companyDataList && companyDataList.CompanyRegistrationDate;\r\n const individualRegistrationData =\r\n applicantData &&\r\n applicantData.IndividualActivityCertificateNumberStartDate;\r\n if (size == 1 || size == 2) {\r\n {\r\n /*} if (\r\n (socialBusiness == 1 || socialBusiness == 2 || socialBusiness == 3) &&\r\n ageLessThen5(\r\n loginType === 'Company'\r\n ? companyRegistrationDate\r\n : individualRegistrationData\r\n )\r\n ) */\r\n }\r\n {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n const onQuestionListCheckBoxChange = ({ target: { name, value } }) => {\r\n setQuestionnaire({\r\n ...questionnaire,\r\n [name]: value === 'true' ? true : false,\r\n });\r\n };\r\n\r\n const onQuestionnaireCommentChange = ({ target: { name, value } }) => {\r\n setQuestionnaire({\r\n ...questionnaire,\r\n [name]: value,\r\n });\r\n };\r\n\r\n const questionListArray = [\r\n 'IsSmall',\r\n 'IsNotListed',\r\n 'IsProfitNotShared',\r\n 'IsNotJoined',\r\n 'IsNotTaken',\r\n 'IsNotProblemic',\r\n ];\r\n\r\n const checkifAllQuestionListValuesCheck = () =>\r\n questionnaire &&\r\n questionnaire.IsSmall != null &&\r\n questionnaire &&\r\n questionnaire.IsNotListed != null &&\r\n questionnaire &&\r\n questionnaire.IsProfitNotShared != null &&\r\n questionnaire &&\r\n questionnaire.IsNotJoined != null &&\r\n questionnaire &&\r\n questionnaire.IsNotTaken != null &&\r\n questionnaire &&\r\n questionnaire.IsNotProblemic != null;\r\n\r\n const checkifAllQuestionListReqCommentHasNoValidationError = () =>\r\n questionnaire &&\r\n !questionListArray.some(\r\n (val) =>\r\n questionnaire[val] == false &&\r\n isCommentFilled(questionnaire[`${val}Comment`]) !== false\r\n );\r\n\r\n const returnCountryNameById = (id) => {\r\n const find = formatCountryJson.find((val) => val.value == id);\r\n return find ? find[0]?.label : '-';\r\n };\r\n\r\n const validateItsNumber = (evt) => {\r\n var theEvent = evt || window.event;\r\n\r\n // Handle paste\r\n let key = '';\r\n if (theEvent.type === 'paste') {\r\n key = evt.clipboardData.getData('text/plain');\r\n } else {\r\n // Handle key press\r\n key = theEvent.keyCode || theEvent.which;\r\n key = String.fromCharCode(key);\r\n }\r\n const regex = /[0-9]/;\r\n if (!regex.test(key)) {\r\n theEvent.returnValue = false;\r\n if (theEvent.preventDefault) theEvent.preventDefault();\r\n }\r\n };\r\n\r\n const [administrationInvoices, setAdministrationInvoices] = useState([]);\r\n const administrationInvoicesTableHeader = [\r\n 'Sąskaitos numeris',\r\n 'Failo pavadinimas',\r\n 'Sukūrimo data ',\r\n 'Paskolos paruošimo mokestis, Eur',\r\n 'Veiksmai',\r\n ];\r\n\r\n const GetAdministrationInvoices = async () => {\r\n try {\r\n const response = await Api.GetAdministrationInvoices(requestId);\r\n const cleanedResponse = response.filter((val) => val != null);\r\n setAdministrationInvoices(\r\n cleanedResponse?.[0] !== null ? cleanedResponse : []\r\n );\r\n } catch (e) {\r\n // errorHandler(e, e?.response?.status, e?.response && e?.response?.data?.ErrorMessage, t('Ok'));\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (requestSystemInfo?.RequestId) {\r\n GetAdministrationInvoices();\r\n }\r\n }, [requestSystemInfo?.RequestId]);\r\n\r\n const getContractName = (id) => {\r\n return `Sąskaita_${id}.pdf`;\r\n };\r\n\r\n const DownloadAdministrationInvoice = async (contractId, contractNumber) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadAdministrationInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const [selfDeclarationData, setSelfDeclarationtData] = useState(null);\r\n const onSelfDeclarationChange = ({ target: { name, value } }) => {\r\n setDeclarationInfo({ ...declarationInfo, [name]: value });\r\n };\r\n\r\n const DownloadChangeConditionsInvoice = async (\r\n contractId,\r\n contractNumber\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadChangeConditionsInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const validateSelfDeclaration = () => {\r\n let error = null;\r\n SelfDeclarationInfo.forEach((item) => {\r\n if (\r\n item.type === 'input' &&\r\n validateTextinput(selfDeclarationData?.[item.name], 'error', 1)\r\n ) {\r\n error = 'error';\r\n } else if (\r\n item.type === 'checkbox' &&\r\n selfDeclarationData?.[item.name] !== true\r\n ) {\r\n error = 'error';\r\n }\r\n });\r\n return error;\r\n };\r\n\r\n const checkIf2021FinancesToShow = () => {\r\n const checkDate = new Date('2022-06-01');\r\n const now = new Date();\r\n if (now > checkDate) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const onSuppliersChange = (index, propName, e) => {\r\n suppliers[index][propName] = e.target.value;\r\n setSuppliers([...suppliers]);\r\n };\r\n\r\n const onBuyersChange = (index, propName, e) => {\r\n buyers[index][propName] = e.target.value;\r\n setBuyers([...buyers]);\r\n };\r\n\r\n const approveRequestWithDocsForChangeConditions = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST_WITH_DOCS_FOR_CHANGE_CONDITIONS'\r\n )\r\n );\r\n };\r\n\r\n const checkControlingPersonsLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n\r\n if (\r\n input?.name ||\r\n input?.surname ||\r\n input?.citizenshipId ||\r\n input?.personCode ||\r\n input?.position ||\r\n input?.personControlId ||\r\n input?.stateOfResidenceForTaxPurposesId ||\r\n input?.sharesPart ||\r\n input?.votingPart\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.surname &&\r\n input.surname.length > 0 &&\r\n input.citizenshipId &&\r\n input.personCode &&\r\n input.personCode.length > 0 &&\r\n input.position &&\r\n input.position.length > 0 &&\r\n input.personControlId &&\r\n input.sharesPart &&\r\n input.sharesPart.length > 0 &&\r\n input.votingPart &&\r\n input.votingPart.length > 0 &&\r\n input.stateOfResidenceForTaxPurposesId\r\n ) {\r\n if (input.stateOfResidenceForTaxPurposesId === 'LT') {\r\n return false;\r\n } else {\r\n return (\r\n !(\r\n input.stateOfTheTaxpayerId &&\r\n input.stateOfTheTaxpayerId.length > 0\r\n ) ||\r\n !(\r\n input.stateTaxIdentificationNumber &&\r\n input.stateTaxIdentificationNumber.length > 0\r\n )\r\n );\r\n }\r\n }\r\n return true;\r\n }\r\n return false;\r\n }\r\n };\r\n\r\n const checkControlingCompaniesLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n\r\n if (\r\n input?.name ||\r\n input?.code ||\r\n input?.country ||\r\n input?.sharesPart ||\r\n input?.votingPart ||\r\n input?.stockApprove\r\n ) {\r\n const areBaseValuesFilled =\r\n input.name &&\r\n input.code &&\r\n input.country &&\r\n input.stockApprove !== null &&\r\n input.sharesPart &&\r\n input.votingPart;\r\n const areAdditionalValuesFilled =\r\n input.stockName && input.stockCountryId && input.stockIsin;\r\n\r\n if (input.stockApprove === 'true' || input.stockApprove === true) {\r\n return !(areBaseValuesFilled && areAdditionalValuesFilled);\r\n } else if (\r\n input.stockApprove === 'false' ||\r\n input.stockApprove === false\r\n ) {\r\n return !areBaseValuesFilled;\r\n } else {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n };\r\n\r\n const checkResponsibilityPersonsLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n if (\r\n input?.positionId ||\r\n input?.name ||\r\n input?.surname ||\r\n input?.birthDate ||\r\n input?.country ||\r\n input?.pepPositionId ||\r\n input?.institution\r\n //input?.personRelation\r\n ) {\r\n if (\r\n input?.positionId &&\r\n input?.name &&\r\n input?.name.length > 0 &&\r\n input?.surname &&\r\n input?.surname.length > 0 &&\r\n input?.birthDate &&\r\n input?.birthDate.length > 0 &&\r\n input?.pepPositionId &&\r\n input?.country &&\r\n input?.institution &&\r\n input?.institution.length > 0\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled1 = (data) => {\r\n if (data) {\r\n let input = data[1];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled2 = (data) => {\r\n if (data) {\r\n let input = data[2];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled3 = (data) => {\r\n if (data) {\r\n let input = data[3];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled4 = (data) => {\r\n if (data) {\r\n let input = data[4];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllBuyersLinesFullyFilled1 = (data) => {\r\n if (data) {\r\n let input = data[1];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n const checkIfAllBuyersLinesFullyFilled2 = (data) => {\r\n if (data) {\r\n let input = data[2];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllBuyersLinesFullyFilled3 = (data) => {\r\n if (data) {\r\n let input = data[3];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllBuyersLinesFullyFilled4 = (data) => {\r\n if (data) {\r\n let input = data[4];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const enforceMinMax = (el) => {\r\n if (el?.target?.value != '') {\r\n if (parseInt(el?.target?.value) < parseInt(el?.target?.min)) {\r\n el = el?.target?.min;\r\n return false;\r\n }\r\n if (parseInt(el?.target?.value) > parseInt(el?.target?.max)) {\r\n el = el?.target?.max;\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n const [incomeSourceIds, setIncomeSourcesIds] = useState([]);\r\n\r\n const [activityRegionIds, setActivityRegionIds] = useState([]);\r\n\r\n const incomeSourceOptions = [\r\n { label: 'pajamos iš ūkio', value: 1 },\r\n { label: 'darbo užmokestis', value: 2 },\r\n { label: 'santaupos, pensija/socialinės išmokos/alimentai', value: 3 },\r\n { label: 'palikimas', value: 4 },\r\n { label: 'pajamos iš NT pardavimo', value: 5 },\r\n { label: 'paskolos/skolintos lėšos', value: 6 },\r\n { label: 'stipendija', value: 7 },\r\n { label: 'pajamos iš šeimos narių/artimųjų giminaičių', value: 8 },\r\n { label: 'laimėjimai (lošimai/lažybos)', value: 9 },\r\n { label: 'dividendai', value: 10 },\r\n { label: 'turto nuoma', value: 11 },\r\n { label: 'individuali veikla', value: 12 },\r\n { label: 'kita', value: 13 },\r\n ];\r\n\r\n const activityRegionOptions = [\r\n { label: 'Lietuva', value: 1 },\r\n { label: 'ES/EEE', value: 2 },\r\n { label: 'NVS', value: 3 },\r\n { label: 'JAV', value: 4 },\r\n { label: 'Kita', value: 5 },\r\n ];\r\n\r\n const onMultiSelectChange = (selectedOptions) => {\r\n const ids = selectedOptions?.map((option) => option.value) || [];\r\n setIncomeSourcesIds(ids);\r\n };\r\n\r\n const onMultiSelectChange2 = (selectedOptions) => {\r\n const ids = selectedOptions?.map((option) => option.value) || [];\r\n setActivityRegionIds(ids);\r\n };\r\n\r\n function areAllValuesFalsy(array) {\r\n return array.every((obj) => Object.values(obj).every((value) => !value));\r\n }\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n {requestSystemInfo && requestSystemInfo.IsReserved && (\r\n

\r\n Dėmesio! Šiuo metu jau yra gauta tiek paraiškų, kurių\r\n finansavimui bus išnaudota visa šiai finansinei priemonei\r\n skirta lėšų suma. Dėl šios priežasties Jūsų teikiama paraiška\r\n bus įtraukiama į rezervinį sąrašą. Paraiška bus nagrinėjama\r\n tuo atveju, jei liktų lėšų arba būtų nuspręsta skirti\r\n papildomą sumą priemonei įgyvendinti.\r\n

\r\n )}\r\n\r\n
\r\n
\r\n

Paraiškos duomenys

\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != 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

Kontaktinė informacija

\r\n {ceoDataList != null && requestData.ContactInfo != null && (\r\n
\r\n {ceoDataListArray.map((key, i) => (\r\n
\r\n \r\n {notValid && !disableCheck(key) && (\r\n

\r\n {validateTextinput(\r\n ceoDataList[key],\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n

\r\n )}\r\n
\r\n ))}\r\n\r\n
\r\n \r\n {notValid && (\r\n \r\n {validateEmail(ceoDataList['ApplicantEmail'])}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n\r\n {notValid && (\r\n \r\n {validatePhone(\r\n ceoDataList['ApplicantPhone'],\r\n 'telefono numeris'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n\r\n {/* {Company data andly for JA} \r\n Duomenys apie verslo subjektą*/}\r\n {loginType === 'Company' && (\r\n <>\r\n

Duomenys apie verslo subjektą

\r\n {companyDataList != null &&\r\n requestData.CompanyData != null && (\r\n
\r\n {companyDataListArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {(!viewWindow ||\r\n evrksList.length === 0 ||\r\n !companyDataList.CompanyEvrk) && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val, j) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n {viewWindow &&\r\n companyDataList.CompanyEvrk && (\r\n \r\n {companyDataList.CompanyEvrk} -{' '}\r\n {\r\n evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n }\r\n \r\n )}\r\n \r\n {!viewWindow &&\r\n // !companyDataList.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos.\r\n Paraiškos užpildyti ir pateikti\r\n nepavyks.\r\n

\r\n )}\r\n {notValid && (\r\n \r\n {!companyDataList.CompanyEvrk\r\n ? 'Privalote pasirinkti pagrindinę ekonominę veiklą'\r\n : ''}\r\n

\r\n )}\r\n \r\n * duomenys apie deklaruotą pagrindinę\r\n veiklą gaunami iš VMI.\r\n

\r\n
\r\n );\r\n } else if (key === 'ActivityInfo') {\r\n return (\r\n
\r\n \r\n {notValid && !viewWindow && (\r\n \r\n {!companyDataList.ActivityInfo\r\n ? 'Aprašykite veiklą'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (key === 'LicenceNeeded') {\r\n return (\r\n \r\n \r\n \r\n {/**/}\r\n \r\n \r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyRegistrationCountryId'\r\n ) {\r\n return (\r\n \r\n \r\n onCountryInputChange2(e)}\r\n disabled={true}\r\n style={{\r\n background: 'rgb(241, 240, 241',\r\n }}\r\n >\r\n {companyDataList.CompanyRegistrationCountryId ===\r\n requestData.CompanyData\r\n .CompanyRegistrationCountryId &&\r\n companyDataList.CompanyRegistrationCountryId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.CompanyRegistrationCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val, j) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'StateOfResidenceForTaxPurposesId'\r\n ) {\r\n return (\r\n \r\n \r\n onCountryInputChange3(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {companyDataList.StateOfResidenceForTaxPurposesId ===\r\n requestData.CompanyData\r\n .StateOfResidenceForTaxPurposesId &&\r\n companyDataList.StateOfResidenceForTaxPurposesId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.StateOfResidenceForTaxPurposesId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val, j) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!companyDataList.StateOfResidenceForTaxPurposesId\r\n ? 'Privalote pasirinkti rezidavimo valstybę mokesčių tikslais'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (key === 'StateOfTheTaxpayerId') {\r\n return companyDataList?.StateOfResidenceForTaxPurposesId !==\r\n 'LT' ? (\r\n \r\n \r\n onCountryInputChange4(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {companyDataList.StateOfTheTaxpayerId ===\r\n requestData.CompanyData\r\n .StateOfTheTaxpayer &&\r\n companyDataList.StateOfTheTaxpayerId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.StateOfTheTaxpayerId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val, j) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!companyDataList.StateOfTheTaxpayerId\r\n ? 'Privalote pasirinkti mokesčio mokėtojo valstybę'\r\n : ''}\r\n

\r\n )}\r\n
\r\n ) : null;\r\n } else if (\r\n key === 'CompanyActivityAddress'\r\n //|| key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (\r\n key === 'StateOfTheTaxpayerId ' ||\r\n key === 'StateTaxIdentificationNumber'\r\n ) {\r\n return companyDataList?.StateOfResidenceForTaxPurposesId !==\r\n 'LT' ? (\r\n <>\r\n
\r\n \r\n {notValid && !viewWindow && (\r\n \r\n {!companyDataList.StateTaxIdentificationNumber\r\n ? 'Privalote įvesti mokesčių mokėtojo kodą'\r\n : ''}\r\n

\r\n )}\r\n
\r\n \r\n ) : null;\r\n } else {\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 {/*Duomenys apie įmonės vadovą / Pareiškėjo asmens dokumento informacija*/}\r\n

\r\n {loginType === 'Company'\r\n ? 'Duomenys apie įmonės vadovą'\r\n : 'Pareiškėjo asmens dokumento informacija'}\r\n

\r\n {managerData != null && requestData.ManagerData != null && (\r\n
\r\n {managerDataArray.map((key, i) => {\r\n if (key === 'DocumentDate') {\r\n return (\r\n
\r\n
\r\n \r\n \r\n handleManagerDateChange(e, 'DocumentDate')\r\n }\r\n maxDate={\r\n key === 'DocumentDate' ? new Date() : null\r\n }\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={viewWindow}\r\n />\r\n clearDocumentDate()}\r\n >\r\n X\r\n \r\n {notValid &&\r\n managerData.DocumentDate == null && (\r\n \r\n Turite pasirinkti datą\r\n

\r\n )}\r\n
\r\n
\r\n );\r\n } else if (key === 'DocumentExpiredDate') {\r\n return (\r\n
\r\n
\r\n \r\n \r\n handleManagerDateChange(\r\n e,\r\n 'DocumentExpiredDate'\r\n )\r\n }\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={viewWindow}\r\n />\r\n clearDocumentExpiredDate()}\r\n >\r\n X\r\n \r\n {notValid &&\r\n managerData.DocumentExpiredDate == null && (\r\n \r\n Turite pasirinkti datą\r\n

\r\n )}\r\n
\r\n
\r\n );\r\n } else if (\r\n key === 'BasisOfRepresentationId' &&\r\n loginType === 'Company'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n onBasisOfRepresentationIdChange(e)\r\n }\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={managerData.BasisOfRepresentationId}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (managerData.BasisOfRepresentationId === null ||\r\n managerData.BasisOfRepresentationId.length ===\r\n 0) && (\r\n \r\n Privalote nurodyti atstovavimo pagrindą\r\n

\r\n )}\r\n
\r\n );\r\n } else if (\r\n key === 'BasisOfRepresentationId' &&\r\n loginType === 'Individual'\r\n ) {\r\n return (\r\n \r\n \r\n
\r\n );\r\n } else if (key === 'DocumentTypeId') {\r\n return (\r\n \r\n \r\n onDocumentTypeIdChange(e)}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={managerData.DocumentTypeId}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (managerData.DocumentTypeId === null ||\r\n managerData.DocumentTypeId.length === 0) && (\r\n \r\n Privalote nurodyti dokumento tipą\r\n

\r\n )}\r\n \r\n );\r\n } else if (key === 'CompanyManagerCitizenshipId') {\r\n return (\r\n \r\n \r\n onCountryInputChange(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {managerData.CompanyManagerCitizenshipId ===\r\n requestData.ManagerData\r\n .CompanyManagerCitizenshipId &&\r\n managerData.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n managerData.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!managerData.CompanyManagerCitizenshipId\r\n ? 'Privalote pasirinkti pilietybę'\r\n : ''}\r\n

\r\n )}\r\n \r\n );\r\n } else if (key === 'DocumentIssuedCountryId') {\r\n return (\r\n \r\n \r\n onCountryInputChange5(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {managerData.DocumentIssuedCountryId ===\r\n requestData.ManagerData\r\n .DocumentIssuedCountryId &&\r\n managerData.DocumentIssuedCountryId && (\r\n \r\n {returnCountryNameById(\r\n managerData.DocumentIssuedCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!managerData.DocumentIssuedCountryId\r\n ? 'Privalote pasirinkti dokumentą išdavusią valstybę'\r\n : ''}\r\n

\r\n )}\r\n \r\n );\r\n } else if (key === 'StateOfResidenceForTaxPurposesId') {\r\n return (\r\n \r\n \r\n onCountryInputChange6(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {managerData.StateOfResidenceForTaxPurposesId ===\r\n requestData.ManagerData\r\n .StateOfResidenceForTaxPurposesId &&\r\n managerData.StateOfResidenceForTaxPurposesId && (\r\n \r\n {returnCountryNameById(\r\n managerData.StateOfResidenceForTaxPurposesId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!managerData.StateOfResidenceForTaxPurposesId\r\n ? 'Privalote pasirinkti rezidavimo valstybę mokesčių tikslais'\r\n : ''}\r\n

\r\n )}\r\n \r\n );\r\n } else if (key === 'StateOfTheTaxpayerId') {\r\n return managerData?.StateOfResidenceForTaxPurposesId !==\r\n 'LT' ? (\r\n \r\n \r\n onCountryInputChange7(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {managerData.StateOfTheTaxpayerId ===\r\n requestData.ManagerData\r\n .StateOfTheTaxpayerId &&\r\n managerData.StateOfTheTaxpayerId && (\r\n \r\n {returnCountryNameById(\r\n managerData.StateOfTheTaxpayerId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!managerData.StateOfTheTaxpayerId\r\n ? 'Privalote pasirinkti mokesčio mokėtojo valstybę'\r\n : ''}\r\n

\r\n )}\r\n \r\n ) : null;\r\n } else if (key === 'PermanentResidenceCountryId') {\r\n return (\r\n \r\n \r\n onCountryInputChange8(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {managerData.StateOfTheTaxpayerId ===\r\n requestData.ManagerData\r\n .PermanentResidenceCountryId &&\r\n managerData.PermanentResidenceCountryId && (\r\n \r\n {returnCountryNameById(\r\n managerData.PermanentResidenceCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!managerData.PermanentResidenceCountryId\r\n ? 'Privalote pasirinkti nuolatinės gyvenamosios vietos valstybę'\r\n : ''}\r\n

\r\n )}\r\n \r\n );\r\n } else if (\r\n key === 'StateOfTheTaxpayerId ' ||\r\n key === 'StateTaxIdentificationNumber'\r\n ) {\r\n return managerData?.StateOfResidenceForTaxPurposesId !==\r\n 'LT' ? (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n \r\n {!managerData.StateTaxIdentificationNumber\r\n ? 'Privalote įvesti mokesčių mokėtojo kodą'\r\n : ''}\r\n

\r\n )}\r\n
\r\n ) : null;\r\n } else {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n \r\n {key !==\r\n 'IndividualActivityCertificateNumber2' ? (\r\n validateTextinput(\r\n managerData[key],\r\n 'privalomas laukas',\r\n 1\r\n )\r\n ) : (\r\n \r\n {isOldEvrkValid(managerData[key])}\r\n

\r\n )}\r\n

\r\n )}\r\n
\r\n );\r\n }\r\n })}\r\n \r\n )}\r\n\r\n {/* Pareiškėjo duomenys apie vykdomą veiklą */}\r\n {loginType === 'Individual' && (\r\n <>\r\n
\r\n

Pareiškėjo duomenys apie vykdomą veiklą

\r\n {farmData != null && requestData.FarmData != null && (\r\n
\r\n {farmDataArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n {notValid &&\r\n !isRequeredToCheck(key) &&\r\n farmData[key] !== true && (\r\n \r\n Turite sutikti su sąlyga\r\n

\r\n )}\r\n
\r\n
\r\n );\r\n } else if (\r\n key ===\r\n 'IndividualActivityCertificateNumberStartDate'\r\n ) {\r\n return (\r\n
\r\n
\r\n \r\n \r\n handleFarmDateChange(e, key)\r\n }\r\n maxDate={\r\n key ===\r\n 'IndividualActivityCertificateNumberStartDate'\r\n ? new Date()\r\n : null\r\n }\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={viewWindow}\r\n />\r\n \r\n clearIndividualActivityCertificateNumberStartDate()\r\n }\r\n >\r\n X\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {!farmData.CompanyEvrk && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {farmData.CompanyEvrk &&\r\n isSelectedEvrkInTheList(\r\n farmData.CompanyEvrk\r\n ) && (\r\n \r\n {`${farmData.CompanyEvrk} - ${\r\n evrkFull[farmData.CompanyEvrk]\r\n ? evrkFull[farmData.CompanyEvrk]\r\n : farmData.CompanyEvrk\r\n }`}\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n \r\n {/*{!viewWindow &&\r\n // !applicantData.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos. Paraiškos\r\n užpildyti ir pateikti nepavyks.\r\n

\r\n )}*/}\r\n {notValid && (\r\n \r\n {!farmData.CompanyEvrk\r\n ? '* neįvestas privalomas laukas'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress'\r\n //|| key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (key === 'IncomeSources') {\r\n return (\r\n <>\r\n
\r\n \r\n Pajamų lėšų šaltinis\r\n \r\n\r\n onMultiSelectChange(e)}\r\n defaultValue={\r\n incomeSourceIds.map((id) =>\r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n value={\r\n incomeSourceIds.map((id) =>\r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n options={incomeSourceOptions}\r\n disabled={disableCheck(key)}\r\n />\r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) &&\r\n incomeSourceIds?.length === 0 && (\r\n \r\n Privalomas laukas\r\n

\r\n )}\r\n
\r\n \r\n );\r\n } else if (key === 'OtherIncomeSource') {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) &&\r\n incomeSourceIds?.some((val) => val == 13) &&\r\n validateTextinput(\r\n farmData[key],\r\n 'privalomas laukas',\r\n 1\r\n ) && (\r\n \r\n Privalomas laukas\r\n

\r\n )}\r\n
\r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n \r\n {key === 'FarmHoldingNumber' ||\r\n key === 'FarmIdentificationCode' ||\r\n key === 'ActivityInfo' ? (\r\n validateTextinput(\r\n farmData[key],\r\n 'privalomas laukas',\r\n 1\r\n )\r\n ) : (\r\n

\r\n )}\r\n

\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 data for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n
\r\n {companyDataList != null &&\r\n requestData.FinancialData &&\r\n requestData.RequestSystemInfo && (\r\n <>\r\n {requestData.RequestSystemInfo.Status !== 1 && (\r\n // requestData.RequestSystemInfo.Status !== 6 && (\r\n \r\n

Finansiniai duomenys

\r\n \r\n
\r\n )}\r\n\r\n {companyQuestionList?.Fsi2021Submitted &&\r\n checkIf2021FinancesToShow() && (\r\n <>\r\n

\r\n 2021m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2021.map((key, i) => {\r\n if (\r\n key === 'Fsi2020Submitted' ||\r\n key === 'Fsi2021Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n \r\n /\r\n

\r\n );\r\n } else {\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 {companyQuestionList?.Fsi2020Submitted && (\r\n <>\r\n

\r\n 2020m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2020.map((key, i) => {\r\n if (\r\n key === 'Fsi2019Submitted' ||\r\n key === 'Fsi2020Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n

\r\n /\r\n

\r\n );\r\n } else {\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 {companyQuestionList?.Fsi2019Submitted &&\r\n !checkIf2021FinancesToShow() && (\r\n <>\r\n

\r\n 2019m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2019.map((key, i) => {\r\n if (\r\n key === 'Fsi2019Submitted' ||\r\n key === 'Fsi2020Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n \r\n /\r\n

\r\n );\r\n } else {\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 {/*Kita paraiškos informacija */}\r\n
\r\n

Kita paraiškos informacija

\r\n {otherRequestData && (\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('CompanyPhone') && (\r\n \r\n {validatePhone(\r\n otherRequestData['CompanyPhone'],\r\n 'telefono numeris'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('CompanyEmail') && (\r\n \r\n {validateEmail(\r\n otherRequestData['CompanyEmail'],\r\n 'elektroninis paštas'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('ContractEmail') && (\r\n \r\n {validateEmail(\r\n otherRequestData['ContractEmail'],\r\n 'elektroninis paštas'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {notValid && !disableCheck('Iban') && (\r\n \r\n {!isValidIban(otherRequestData['Iban']) && (\r\n \r\n Neteisingas formatas\r\n

\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n Informacija apie dalykinių santykių pobūdį su Paskolos\r\n davėju\r\n \r\n onSubjectRelationIdChange(e)}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={otherRequestData.SubjectRelationId}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (otherRequestData.SubjectRelationId === null ||\r\n otherRequestData.SubjectRelationId.length ===\r\n 0) && (\r\n \r\n Privalote nurodyti dalykinių santykių pobūdį\r\n

\r\n )}\r\n
\r\n
\r\n \r\n Verslo subjekto statusas (Pagal SVV deklaraciją)\r\n \r\n onCompanySizeTypeChange(e)}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={otherRequestData.CompanySizeType}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (otherRequestData.CompanySizeType === null ||\r\n otherRequestData.CompanySizeType.length === 0) && (\r\n \r\n Privalote nurodyti įmonės dydį\r\n

\r\n )}\r\n
\r\n \r\n

\r\n {loginType === 'Company'\r\n ? 'Ar Verslo subjektas, teikianti paraišką, priklauso Įmonių grupei, kaip tai nurodyta teikiamoje SVV deklaracijoje?'\r\n : 'Ar Verslo subjektas, teikiantis paraišką, priklauso Įmonių grupei, kaip tai nurodyta teikiamoje SVV deklaracijoje?'}\r\n

\r\n\r\n \r\n hasParentCompany(e)}\r\n >\r\n \r\n Ne\r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių įmonių\r\n kodus, kurie nurodyti jūsų užpildytoje ir teikiamoje\r\n SVV subjekto statuso deklaracijoje. Jei esate didelė\r\n įmonė, nurodykite visus Įmonių grupei priklausančių\r\n įmonių kodus. Pvz. 111111111, 222222222.\r\n

\r\n {\r\n if (\r\n e.which !== 48 &&\r\n e.which !== 49 &&\r\n e.which !== 50 &&\r\n e.which !== 51 &&\r\n e.which !== 52 &&\r\n e.which !== 53 &&\r\n e.which !== 54 &&\r\n e.which !== 55 &&\r\n e.which !== 56 &&\r\n e.which !== 57 &&\r\n e.which !== 8 &&\r\n e.which !== 188 &&\r\n e.which !== 190 &&\r\n e.which !== 44 &&\r\n e.which !== 32\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n />\r\n\r\n {notValid && (\r\n \r\n {controllingCompaniesInputValidation(\r\n otherRequestData.ParentCompanyCodesFromRequest,\r\n !hasParentCompanyState\r\n )}\r\n

\r\n )}\r\n
\r\n {/*
\r\n
\r\n \r\n \r\n onOtherRequestDataCheckBoxChange(\r\n e,\r\n 'CheckCompanyAge'\r\n )\r\n }\r\n />\r\n \r\n {requestDataLabelTranslation('CheckCompanyAge')}\r\n \r\n
\r\n
*/}{' '}\r\n
\r\n \r\n Darbuotojų skaičius paraiškos pateikimo datai\r\n

\r\n \r\n {notValid && (\r\n \r\n {isIntegerNumber(\r\n otherRequestData['NumberOfEmployees']\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n \r\n \r\n\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest && (\r\n

\r\n Įmonių grupės finansinių atskaitomybių informacija\r\n

\r\n )}\r\n\r\n {/* ControllingCompaniesFromRequest */}\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest.map((val, i) => {\r\n return (\r\n <>\r\n \r\n\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

\r\n Įmonė nerasta arba jos duomenys dar nepatikrinti.\r\n

\r\n )}\r\n \r\n );\r\n })}\r\n\r\n {/* Pep AML data */}\r\n

AML ir PEP

\r\n

PEP

\r\n\r\n {pepData && (\r\n
\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar jų artimiesiems šeimos nariams[1] arba artimiesiems pagalbininkams[2] šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]'\r\n : 'Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar jų artimiesiems šeimos nariams[1] arba artimiesiems pagalbininkams[2] šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]'}\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n

\r\n Jei pažymėjote \"taip\", nurodykite asmenis ir jų informaciją:\r\n

\r\n \r\n \r\n Kam patikėtos svarbios viešosios pareigos?\r\n \r\n Vardas\r\n Pavardė\r\n Gimimo data\r\n PEP pareigos\r\n \r\n Institucija, kurioje eina pareigas\r\n \r\n \r\n Valstybė, kurioje asmuo yra PEP\r\n \r\n {/*\r\n Asmens ryšys su Verslo subjekte veikiančiais asmenimis\r\n */}\r\n
\r\n {/*{console.log(pepData.ImportantResponsibilityPersons)}*/}\r\n\r\n {notValid &&\r\n suppliers &&\r\n pepData.HasImportantResponsibilities &&\r\n areAllValuesFalsy(\r\n pepData.ImportantResponsibilityPersons\r\n ) && (\r\n \r\n Privalote užpildyti bent vieną asmenį\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 4\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą pradėtą asmens arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n \r\n {pepData &&\r\n pepData.ImportantResponsibilityPersons &&\r\n pepData.ImportantResponsibilityPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'country') {\r\n return (\r\n
\r\n \r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData\r\n .ImportantResponsibilityPersons?.[k]\r\n ?.country) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'positionId') {\r\n return (\r\n
\r\n \r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n value={\r\n requestData.PepData\r\n .ImportantResponsibilityPersons?.[k]\r\n ?.positionId\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n );\r\n } else if (p === 'pepPositionId') {\r\n return (\r\n
\r\n \r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n value={\r\n requestData.PepData\r\n .ImportantResponsibilityPersons?.[k]\r\n ?.pepPositionId\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n\r\n {/*

Paaiškinimas:

\r\n

\r\n [1] Artimieji šeimos nariai - sutuoktinis, asmuo, su kuriuo\r\n registruota partnerystė, tėvai, broliai, seserys, vaikai ir\r\n vaikų sutuoktiniai, vaikų sugyventiniai.\r\n
\r\n [2] Artimas pagalbininkas:\r\n
\r\n 1) fizinis asmuo, kuris su svarbias viešąsias pareigas\r\n einančiu ar ėjusiu asmeniu yra to paties juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos dalyvis\r\n arba palaiko kitus dalykinius santykius;\r\n
\r\n 2) fizinis asmuo, kuris yra vienintelis juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos,\r\n įsteigtos ar veikiančios de facto siekiant turtinės ar\r\n kitokios asmeninės naudos svarbias viešąsias pareigas\r\n einančiam ar ėjusiam asmeniui, naudos gavėjas.\r\n
\r\n [3] Svarbios viešosios pareigos – pareigos Lietuvos\r\n Respublikoje, Europos Sąjungoje, tarptautinėse ar užsienio\r\n valstybių institucijose:\r\n
\r\n 1) valstybės vadovas, vyriausybės vadovas, ministras,\r\n viceministras arba ministro pavaduotojas, valstybės\r\n sekretorius, parlamento, vyriausybės arba ministerijos\r\n kancleris;\r\n
\r\n 2) parlamento narys;\r\n
\r\n 3) aukščiausiųjų teismų, konstitucinių teismų ar kitų\r\n aukščiausiųjų teisminių institucijų, kurių sprendimai negali\r\n būti skundžiami, narys;\r\n
\r\n 4) savivaldybės meras, savivaldybės administracijos\r\n direktorius;\r\n
\r\n 5) aukščiausiosios valstybių audito ir kontrolės\r\n institucijos valdymo organo narys ar centrinio banko\r\n valdybos pirmininkas, jo pavaduotojas ar valdybos narys;\r\n
\r\n 6) ambasadorius, laikinasis reikalų patikėtinis, Lietuvos\r\n kariuomenės vadas, kariuomenės pajėgų ir junginių vadai,\r\n Gynybos štabo viršininkas ar užsienio valstybių aukšto rango\r\n ginkluotųjų pajėgų karininkas;\r\n
\r\n 7) valstybės įmonės, akcinės bendrovės, uždarosios akcinės\r\n bendrovės, kurių akcijos ar dalis akcijų, suteikiančių\r\n daugiau kaip 1/2 visų balsų šių bendrovių visuotiniame\r\n akcininkų susirinkime, priklauso valstybei nuosavybės teise,\r\n valdymo ar priežiūros organo narys;\r\n
\r\n 8) savivaldybės įmonės, akcinės bendrovės, uždarosios\r\n akcinės bendrovės, kurių akcijos ar dalis akcijų,\r\n suteikiančių daugiau kaip 1/2 visų balsų šių bendrovių\r\n visuotiniame akcininkų susirinkime, priklauso savivaldybei\r\n nuosavybės teise ir kurios laikomos didelėmis įmonėmis pagal\r\n Lietuvos Respublikos įmonių finansinės atskaitomybės\r\n įstatymą, valdymo ar priežiūros organo narys;\r\n
\r\n 9) tarptautinės tarpvyriausybinės organizacijos vadovas, jo\r\n pavaduotojas, valdymo ar priežiūros organo narys;\r\n
\r\n 10) politinės partijos vadovas, jo pavaduotojas, valdymo\r\n organo narys.\r\n
\r\n

*/}\r\n\r\n
\r\n \r\n \r\n onHasImportantResponsibilitiesMoreThan4Change(e)\r\n }\r\n disabled={viewWindow}\r\n />\r\n \r\n {loginType === 'Company'\r\n ? 'Ar yra daugiau Verslo subjekto vadovų, atstovų, naudos gavėjų ar jų artimųjų šeimos narių arba artimųjų pagalbininkų, kuriems šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?'\r\n : 'Ar yra daugiau Verslo subjekto vadovų, atstovų, naudos gavėjų ar jų artimųjų šeimos narių arba artimųjų pagalbininkų, kuriems šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?'}\r\n \r\n
\r\n

Akcininkai

\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar yra įmonėje akcininkų fizinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais?'\r\n : 'Ar yra įmonėje akcininkų fizinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais?'}\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {loginType === 'Company'\r\n ? 'Nurodykite 4 pagrindinius akcininkus (jeigu tiek yra) fizinius asmenis, kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonę daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais'\r\n : 'Nurodykite 4 pagrindinius akcininkus (jeigu tiek yra) fizinius asmenis, kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų Verslo subjektą daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų Verslo subjektą kitais būdais'}\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n \r\n Pilietybė*\r\n \r\n \r\n Asmens kodas (jei ne Lietuvos pilietis - gimimo data)\r\n \r\n Pareigos\r\n Valdymas\r\n Akcijų dalis, proc.\r\n \r\n Balsavimo teisių dalis, proc.\r\n \r\n \r\n Rezidavimo valstybė mokesčių tikslais\r\n \r\n \r\n Mokesčių mokėtojo valstybė\r\n \r\n Mokesčių mokėtojo kodas\r\n \r\n {/*{notValid &&\r\n checkControllingPersons(pepData.ControllingPersons) && (\r\n \r\n Užpildykite asmenis ir jų informaciją\r\n

\r\n )}*/}\r\n {notValid &&\r\n suppliers &&\r\n pepData.HasControllingPersons &&\r\n areAllValuesFalsy(pepData.ControllingPersons) && (\r\n \r\n Privalote užpildyti bent vieną asmenį\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 4\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 5\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n\r\n \r\n {pepData &&\r\n pepData.ControllingPersons &&\r\n pepData.ControllingPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'citizenshipId') {\r\n return (\r\n \r\n \r\n \r\n onControllingPersonsChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData.ControllingPersons?.[\r\n k\r\n ]?.citizenshipId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n } else if (p === 'stateOfResidenceForTaxPurposesId') {\r\n return (\r\n \r\n \r\n \r\n onControllingPersonsChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData.ControllingPersons?.[\r\n k\r\n ]?.stateOfResidenceForTaxPurposesId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n } else if (p === 'stateOfTheTaxpayerId') {\r\n return (\r\n \r\n \r\n \r\n onControllingPersonsChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData.ControllingPersons?.[\r\n k\r\n ]?.stateOfTheTaxpayerId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n } else if (p === 'personControlId') {\r\n return (\r\n \r\n \r\n \r\n onControllingPersonsChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n value={\r\n requestData.PepData.ControllingPersons?.[\r\n k\r\n ]?.personControlId\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n } else {\r\n return (\r\n \r\n enforceMinMax(e)}\r\n onKeyPress={(e) => {\r\n if (\r\n e.which === 101 &&\r\n (p === 'sharesPart' || p === 'votingPart')\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n disabled={viewWindow}\r\n onChange={(e) =>\r\n onControllingPersonsChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n \r\n );\r\n }\r\n })\r\n )}\r\n \r\n

\r\n * jeigu asmuo be pilietybės – nurodoma valstybė,\r\n kuri išdavė asmens tapatybę patvirtinantį dokumentą\r\n

\r\n
\r\n
\r\n {/*

\r\n \r\n Nurodykite įmones, kurios tiesiogiai ar netiesiogiai turi\r\n arba kontroliuoja jūsų Verslo subjekto daugiau negu 25 proc.\r\n akcijų ar balsavimo teisių\r\n

*/}\r\n\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar įmonėje yra akcininkų juridinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais?'\r\n : 'Ar įmonėje yra akcininkų juridinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais? '}\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Jeigu nurodėte įmonę (-es), kuri(-os) tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonę daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina užpildyti aukščiau prašomą informaciją apie fizinius asmenis - netiesioginius kliento akcininkus (dalyvius) arba asmenis, kitaip kontroliuojančius įmonės valdymą.'\r\n : 'Jeigu nurodėte įmonę (-es), kuri(-os) tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų Verslo subjektą daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina užpildyti aukščiau prašomą informaciją apie fizinius asmenis - netiesioginius kliento akcininkus (dalyvius) arba asmenis, kitaip kontroliuojančius kliento valdymą.'}\r\n

\r\n \r\n Įmonės pavadinimas\r\n Įmonės kodas\r\n Įmonės registracijos šalis\r\n Akcijų dalis, proc.\r\n \r\n Balsavimo teisių dalis, proc.\r\n \r\n \r\n Patvirtinimas dėl VP prekybos biržoje\r\n \r\n Biržos pavadinimas\r\n Biržos šalis\r\n Biržos ISIN* nr.\r\n \r\n {notValid &&\r\n suppliers &&\r\n pepData.HasControllingCompanies &&\r\n areAllValuesFalsy(pepData.ControllingCompanies) && (\r\n \r\n Privalote užpildyti bent vieną asmenį\r\n

\r\n )}\r\n {/*} {notValid &&\r\n checkControllingCompanies(pepData.ControllingCompanies) && (\r\n \r\n Užpildykite asmenis ir jų informaciją\r\n

\r\n )}*/}\r\n\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 4\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 5\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą įmonės informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n \r\n {pepData &&\r\n pepData.ControllingCompanies &&\r\n pepData.ControllingCompanies.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'country') {\r\n return (\r\n
\r\n \r\n \r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData\r\n .ControllingCompanies?.[k]\r\n ?.country) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'stockApprove') {\r\n return (\r\n
\r\n \r\n \r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n \r\n {null}\r\n \r\n \r\n Taip\r\n \r\n\r\n \r\n Ne\r\n \r\n \r\n
\r\n \r\n );\r\n } else if (p === 'stockCountryId') {\r\n return (\r\n
\r\n \r\n \r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData\r\n .ControllingCompanies?.[k]\r\n ?.stockCountryId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n enforceMinMax(e)}\r\n type={\r\n p === 'sharesPart' || p === 'votingPart'\r\n ? 'number'\r\n : 'string'\r\n }\r\n onKeyPress={(e) => {\r\n if (\r\n e.which === 101 &&\r\n (p === 'sharesPart' || p === 'votingPart')\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n disabled={viewWindow}\r\n onChange={(e) =>\r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n \r\n )}\r\n

\r\n * Vertybinių popierių identifikavimo nr. 12 sk.\r\n

\r\n\r\n
\r\n
\r\n\r\n

Veiklos vykdymo regionas

\r\n
\r\n
\r\n

\r\n Nurodykite pagrindinius vertinamo projekto verslo partnerių\r\n veiklos vykdymo regionus\r\n

\r\n onMultiSelectChange2(e)}\r\n defaultValue={\r\n activityRegionIds?.map((id) =>\r\n activityRegionOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n value={\r\n activityRegionIds?.map((id) =>\r\n activityRegionOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n options={activityRegionOptions}\r\n disabled={viewWindow}\r\n />\r\n
\r\n {notValid && activityRegionIds?.length === 0 && (\r\n \r\n Privalote pasirinkti veiklos vykdymo regioną\r\n

\r\n )}\r\n
\r\n\r\n
\r\n
\r\n\r\n {/* {Tiekėjo (-ų) informacija start} */}\r\n

Pagrindinių partnerių/tiekėjų informacija

\r\n\r\n \r\n {' '}\r\n \r\n Partnerio/tiekėjo įmonės/asmens pavadinimas\r\n \r\n \r\n Partnerio/tiekėjo įmonės/asmens kodas\r\n \r\n Įmonės registracijos šalis\r\n \r\n Tiekėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n {checkSuppliers(suppliers)}\r\n {notValid && suppliers && checkSuppliers(suppliers) && (\r\n \r\n Privalote užpildyti bent vieną tiekėją\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled1(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled2(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled3(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled4(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n \r\n {suppliers &&\r\n suppliers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'registrationCountryId') {\r\n return (\r\n
\r\n \r\n onSuppliersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]\r\n ?.registrationCountryId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'evrk') {\r\n return (\r\n \r\n onSuppliersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]?.evrk) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {Object.keys(evrkFullWithZeros).map((val, j) => (\r\n \r\n {`${val} - ${evrkFullWithZeros[val]}`}\r\n \r\n ))}\r\n\r\n {Object.keys(evrkFullWithoutZeros).map(\r\n (val, j) => (\r\n \r\n {`${val} - ${evrkFullWithoutZeros[val]}`}\r\n \r\n )\r\n )}\r\n\r\n {viewWindow && (\r\n \r\n {requestData?.Suppliers?.[k]?.evrk\r\n ? `${requestData?.Suppliers?.[k]?.evrk} - ${\r\n evrkFull[\r\n requestData?.Suppliers?.[k]?.evrk\r\n ]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n onSuppliersChange(k, p, e)}\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n {/*\r\n PASTABA: turi būti pateikti 5 pagrindiniai tiekėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n tiekėjas.\r\n

*/}\r\n \r\n\r\n {/* {Pirkėjo (-ų) informacija start} */}\r\n

Pagrindinių partnerių/pirkėjų informacija

\r\n\r\n \r\n {' '}\r\n \r\n Partnerio/pirkėjo įmonės/asmens pavadinimas\r\n \r\n \r\n Partnerio/pirkėjo įmonės/asmens kodas\r\n \r\n Įmonės registracijos šalis\r\n \r\n Pirkėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n {checkBuyers(buyers)}\r\n {notValid && buyers && checkBuyers(buyers) && (\r\n \r\n Privalote užpildyti bent vieną pirkėją\r\n

\r\n )}\r\n {notValid &&\r\n buyers &&\r\n !checkBuyers(buyers) &&\r\n checkIfAllBuyersLinesFullyFilled1(buyers) && (\r\n \r\n Pilnai užpildykite pradėtą pirkėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n buyers &&\r\n !checkBuyers(suppliers) &&\r\n checkIfAllBuyersLinesFullyFilled2(buyers) && (\r\n \r\n Pilnai užpildykite pradėtą pirkėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n buyers &&\r\n !checkBuyers(buyers) &&\r\n checkIfAllBuyersLinesFullyFilled3(buyers) && (\r\n \r\n Pilnai užpildykite pradėtą pirkėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n buyers &&\r\n !checkBuyers(buyers) &&\r\n checkIfAllBuyersLinesFullyFilled4(buyers) && (\r\n \r\n Pilnai užpildykite pradėtą pirkėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n \r\n {buyers &&\r\n buyers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'registrationCountryId') {\r\n return (\r\n
\r\n \r\n onBuyersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Buyers?.[k]\r\n ?.registrationCountryId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'evrk') {\r\n return (\r\n \r\n onBuyersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Buyers?.[k]?.evrk) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {Object.keys(evrkFullWithZeros).map((val, j) => (\r\n \r\n {`${val} - ${evrkFullWithZeros[val]}`}\r\n \r\n ))}\r\n\r\n {Object.keys(evrkFullWithoutZeros).map(\r\n (val, j) => (\r\n \r\n {`${val} - ${evrkFullWithoutZeros[val]}`}\r\n \r\n )\r\n )}\r\n\r\n {viewWindow && (\r\n \r\n {requestData?.Buyers?.[k]?.evrk\r\n ? `${requestData?.Buyers?.[k]?.evrk} - ${\r\n evrkFull[requestData?.Buyers?.[k]?.evrk]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n onBuyersChange(k, p, e)}\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n {/*\r\n PASTABA: turi būti pateikti 5 pagrindiniai pirkėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n pirkėjas.\r\n

*/}\r\n \r\n\r\n

\r\n Pareiškėjo pastabos dėl AML/PEP kurios nebuvo aprašytos aukščiau\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n

Informacija Paskolos sutarties parengimui

\r\n {loanInfo && (\r\n
\r\n
\r\n \r\n\r\n {notValid && !disableCheck('LoanSum') && (\r\n

\r\n {isLoadSumValid(loanInfo.LoanSum)}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPurposeId')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (loanInfo.LoanPurposeId == null ||\r\n loanInfo.LoanPurposeId == null) && (\r\n

\r\n Privalote pasirinkti paskolos paskirtį\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanTerm')}\r\n \r\n \r\n\r\n {notValid && !disableCheck('LoanTerm') && (\r\n

\r\n {LoanTermValidation(loanInfo.LoanTerm)}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {requestDataLabelTranslation('LoanDelayTerm')}\r\n \r\n \r\n {notValid && !disableCheck('LoanDelayTerm') && (\r\n

\r\n {LoanDelayTermValidation(\r\n loanInfo.LoanDelayTerm,\r\n loanInfo.LoanTerm\r\n )}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPaymentDay')}\r\n \r\n \r\n {[null, 5, 15, 25].map((val) => (\r\n \r\n ))}\r\n \r\n\r\n {notValid &&\r\n (loanInfo.LoanPaymentDay == null ||\r\n loanInfo.LoanPaymentDay == 0) && (\r\n

\r\n Privalote pasirinkti pageidaujamą mokėjimo dieną\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n\r\n {/*
\r\n

\r\n Nurodykite, kokiu tikslu norite pradėti dalykinius santykius\r\n su Invega\r\n

\r\n \r\n {notValid && (\r\n

\r\n {validateTextinput(reason, 'tikslas', 5)}\r\n

\r\n )}\r\n
*/}\r\n\r\n {/* inline checkBoxes */}\r\n {checks != null && (\r\n \r\n {/* {Object.keys(checks).map((key, i) => { */}\r\n\r\n {agreementsCheckBoxesArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n \r\n {notValid &&\r\n !isRequeredToCheck(key) &&\r\n checks[key] !== true && (\r\n \r\n Turite sutikti su sąlyga\r\n

\r\n )}\r\n
\r\n );\r\n }\r\n })}\r\n \r\n )}\r\n\r\n {/*} {requestData.CompanyData && ShowQuestionList() && (\r\n
\r\n

\r\n ATITIKIMO KOMISIJOS REGLAMENTE (ES) NR.\r\n 651/2014 NUSTATYTIEMS PAREIŠKĖJUI TAIKOMIEMS REIKALAVIMAMS\r\n KLAUSIMYNAS\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {questionListArray.map((val, i) => (\r\n <>\r\n \r\n \r\n {val === 'IsSmall'\r\n ? isSmallText()\r\n : questionListTranslations(val)}\r\n \r\n \r\n \r\n {questionnaire?.[val] == false && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n \r\n
Kriterijai\r\n Taip\r\n Ne\r\n
\r\n {' '}\r\n \r\n {' '}\r\n {' '}\r\n \r\n \r\n
\r\n \r\n {notValid &&\r\n isCommentFilled(\r\n questionnaire[`${val}Comment`]\r\n ) && (\r\n \r\n {isCommentFilled(\r\n questionnaire?.[`${val}Comment`]\r\n )}\r\n

\r\n )}\r\n
\r\n {notValid && !checkifAllQuestionListValuesCheck() && (\r\n

\r\n Visi klausimyno atsakymai privalomo būti užpildyti\r\n

\r\n )}\r\n
\r\n
\r\n )}*/}\r\n\r\n \r\n\r\n \r\n\r\n
\r\n

\r\n Pastaba:
\r\n (1) Verslo subjektą apibūdinančius dokumentus: registracijos\r\n dokumentus, steigimo ir veiklos dokumentus (įstatus,\r\n nuostatus, bendrijos dalyvių sutartį ir pan.), vadovo asmens\r\n tapatybės dokumento kopijas, informaciją apie Verslo subjekto\r\n dalyvius (savininkus, naudos gavėjus), aktualią Paskolos\r\n gavėjo dalyvių struktūrą ir laisvos formos dokumentą, kuriame\r\n būtų nurodyti Paskolos gavėjo ir su juo susijusių įmonių\r\n ryšiai (netaikoma verslininkams, kurie neturi su jais\r\n susijusių įmonių);\r\n
\r\n (2) Veiklos/finansinių duomenų detalizacijos forma (kuri\r\n pateikiama{' '}\r\n \r\n https://ilte.lt/lt/doclib/eklnz8ia8gf3xddcszatns9ppdx1zhc4\r\n {' '}\r\n prie priemonės aprašymo), verslo planas/veiklos ir investicijų\r\n aprašymas (kuriame turi būti nurodyta verslo subjekto veikla)\r\n laisvos formos ir investiicijas pagrindžiantys dokumentai\r\n (pvz.: statybos, remonto ar rekonstrukcijos darbų sąmata,\r\n sutartys, kontraktai, užsakymai, ketinimų protokolai, perkamo\r\n ir/ar įkeičiamo turto vertinimas, planuojamo įsigyti turto\r\n sąrašas su kiekiais ir kainomis, komerciniai pasiūlymai,\r\n turimi leidimai ir licencijos, reikalingi veiklai vykdyti ar\r\n projektui įgyvendinti ir t.t);\r\n
\r\n {/*(3) Verslo subjektas teikdamas Paraišką ne pirmą kartą (t. y.,\r\n kai ankstesnė (-s) Paraiška (-os) buvo atmesta (-os), turi\r\n pateikti motyvuotą paaiškinimą dėl įvykusių pokyčių Verslo\r\n subjekto veikloje ir su Paraiška teikiamuose dokumentuose\r\n (duomenyse) bei pateikti paaiškinimą pagrindžiančius\r\n dokumentus;\r\n
\r\n (4) Jei paraišką teikia įgaliotas asmuo, tai turi būti\r\n pateiktas įgaliojimas (kuriame numatyta, kad asmuo turi teisė\r\n tik pateikti paraišką ją koreguoti bei pateikti atsakymus ir\r\n dokumentus iki Invegos sprendimo priėmimo) sudarytas Registrų\r\n centras VĮ araba notariškai patvirtintas bei įgalioto asmens\r\n tapatybės dokumentas.*/}\r\n

\r\n
\r\n\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != null &&\r\n requestSystemInfo.ProjectId === 1 && (\r\n <>\r\n
\r\n

\r\n (3) Kiti priemonės aprašyme nustatyti dokumentai:{' '}\r\n \r\n https://ilte.lt/paslaugos/25/tiesiogines-paskolos-nuo-karo-nukentejusiems-verslo-subjektams-122#c1260\r\n \r\n .\r\n

{' '}\r\n
\r\n \r\n )}\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != null &&\r\n requestSystemInfo.ProjectId === 2 && (\r\n <>\r\n
\r\n

\r\n (3) Kiti priemonės aprašyme nustatyti dokumentai:{' '}\r\n \r\n https://ilte.lt/paslaugos/25/tiesiogines-paskolos-nuo-karo-nukentejusiems-verslo-subjektams-122#c1260\r\n \r\n .\r\n

{' '}\r\n
\r\n \r\n )}\r\n {/*matymas */}\r\n {((signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null) ||\r\n requestData?.RequestSystemInfo?.Status == 11 ||\r\n requestData?.RequestSystemInfo?.Status == 12 ||\r\n requestData?.RequestSystemInfo?.Status == 3 ||\r\n requestData?.RequestSystemInfo?.Status == 4) && (\r\n <>\r\n

\r\n Sutartys, sprendimai ir prašymai\r\n

\r\n \r\n {signInInfo?.map((val, i) => (\r\n \r\n \r\n {fileTypeTranslation(signInInfo[i].FileType)}\r\n \r\n {signInInfo[i].FileName}\r\n \r\n {' '}\r\n {signInInfo[i].DocumentCreatedAt != null &&\r\n format(\r\n new Date(signInInfo[i].DocumentCreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].ApplicantSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].ApplicantSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].InvegaSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].InvegaSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n \r\n GetSignedDocumentContractUser(\r\n requestId,\r\n val.FileType,\r\n val.FileName,\r\n val?.ChangeConditionsFileId,\r\n val?.ApplicantSigningDate,\r\n val?.InvegaSigningDate\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n ))}\r\n
\r\n \r\n )}\r\n {administrationInvoices != null &&\r\n administrationInvoices.length > 0 &&\r\n requestData?.RequestSystemInfo?.Status !== 1 &&\r\n requestData?.RequestSystemInfo?.Status !== 2 &&\r\n requestData?.RequestSystemInfo?.Status !== 3 &&\r\n requestData?.RequestSystemInfo?.Status !== 4 &&\r\n requestData?.RequestSystemInfo?.Status !== 5 &&\r\n requestData?.RequestSystemInfo?.Status !== 6 &&\r\n requestData?.RequestSystemInfo?.Status !== 11 &&\r\n requestData?.RequestSystemInfo?.Status !== 12 && (\r\n <>\r\n

Sąskaitos

\r\n \r\n {administrationInvoices?.map(\r\n ({\r\n ContractId,\r\n CreatedAt,\r\n ContractNumber,\r\n AdministrationFee,\r\n ChangeConditionsFileId,\r\n }) => (\r\n \r\n {ContractNumber}\r\n \r\n {getContractName(ContractNumber)}\r\n \r\n \r\n {format(\r\n new Date(CreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {formatNumber(AdministrationFee)}\r\n \r\n \r\n \r\n !ContractId && ChangeConditionsFileId\r\n ? DownloadChangeConditionsInvoice(\r\n ChangeConditionsFileId,\r\n ContractNumber\r\n )\r\n : DownloadAdministrationInvoice(\r\n ContractId,\r\n ContractNumber\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n )\r\n )}\r\n \r\n \r\n )}\r\n\r\n {(requestData?.RequestSystemInfo?.Status === 11 ||\r\n requestData?.RequestSystemInfo?.Status === 19) && (\r\n \r\n )}\r\n\r\n {requestData &&\r\n requestData.CommentsHistory &&\r\n requestData.CommentsHistory.length ? (\r\n
\r\n

Komentarų istorija

\r\n {\r\n \r\n {requestData.CommentsHistory.map((data) => {\r\n return (\r\n \r\n \r\n {data.Date &&\r\n format(\r\n new Date(data.Date),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n {data.NewComment}\r\n \r\n );\r\n })}\r\n \r\n }\r\n
\r\n ) : null}\r\n\r\n
\r\n
\r\n {!viewWindow && (\r\n <>\r\n \r\n \r\n )}\r\n {viewWindow &&\r\n // requestData.DeclarationInfo &&\r\n //requestData.DeclarationInfo.EuLoanSum != null &&\r\n (requestData.RequestSystemInfo.Status === 1 ||\r\n requestData.RequestSystemInfo.Status === 5) && (\r\n <>\r\n approveRequest()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti paraišką\r\n \r\n \r\n )}\r\n\r\n {viewWindow &&\r\n // requestData.DeclarationInfo &&\r\n requestData.RequestSystemInfo.Status === 11 && (\r\n <>\r\n approveRequestWithDocs()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti paraišką su papildomais dokumentais\r\n \r\n \r\n )}\r\n\r\n {viewWindow &&\r\n //requestData.DeclarationInfo &&\r\n requestData.RequestSystemInfo.Status === 19 && (\r\n <>\r\n \r\n approveRequestWithDocsForChangeConditions()\r\n }\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti papildomus dokumentus sąlygų keitimui\r\n \r\n \r\n )}\r\n\r\n {viewWindow ? (\r\n <>\r\n {requestData.RequestSystemInfo &&\r\n (requestData.RequestSystemInfo.Status == 1 ||\r\n requestData.RequestSystemInfo.Status == 5) && (\r\n setViewWindow(false)}\r\n className=\"btn-dark-blue-standart\"\r\n >\r\n Redaguoti\r\n \r\n )}\r\n \r\n {' '}\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo &&\r\n (requestData.RequestSystemInfo.Status === 6 ||\r\n requestData.RequestSystemInfo.Status === 4) && (\r\n \r\n copyRequest(requestData.RequestSystemInfo.RequestId)\r\n }\r\n >\r\n Kurti naują paraišką esamos pagrindu\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo != null &&\r\n requestData.RequestSystemInfo.Status !== 1 && (\r\n \r\n getFinancialCriteriaResults(\r\n requestData.RequestSystemInfo.RequestId\r\n )\r\n }\r\n >\r\n Peržiūrėti atitikimo kriterijus\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo != null &&\r\n (requestData.RequestSystemInfo.Status === 7 ||\r\n requestData.RequestSystemInfo.Status === 14) && (\r\n
\r\n \r\n
\r\n )}\r\n {requestData.RequestSystemInfo != null &&\r\n (requestData.RequestSystemInfo.Status === 9 ||\r\n requestData.RequestSystemInfo.Status === 16) && (\r\n
\r\n changeConditions()}\r\n >\r\n Pildyti prašymą dėl sutarties sąlygų keitimo\r\n \r\n
\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestData: state.dashboardState.requestData,\r\n loading: state.dashboardState.isOnSync,\r\n canSeeBills: state.dashboardState.savedRequestDesissionAccepted,\r\n financialCriteriaResults: state.dashboardState.financialCriteriaResults,\r\n signContractModalVisible: state.modalsState.signContractModalVisible,\r\n financialCriteriaModalVisible:\r\n state.modalsState.financialCriteriaModalVisible,\r\n signInInfo: state.dashboardState.signInInfo,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n changeConditionsModalVisible: state.modalsState.changeConditionsModalVisible,\r\n confirmWithFinancialCriteriaModalVisible:\r\n state.modalsState.confirmWithFinancialCriteriaModalVisible,\r\n confirmWithoutFinancialCriteriaModalVisible:\r\n state.modalsState.confirmWithoutFinancialCriteriaModalVisible,\r\n goBackConfirmationModalVisible:\r\n state.modalsState.goBackConfirmationModalVisible,\r\n confirmWithoutFinancialCriteriaForChangeConditionsModalVisible:\r\n state.modalsState\r\n .confirmWithoutFinancialCriteriaForChangeConditionsModalVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewRequest);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n Input,\r\n RowTableAdmin,\r\n RowTableRow,\r\n RowTableCell,\r\n} from '../../components';\r\n\r\nimport {\r\n FileUploadContainer,\r\n AdditionalFileUploadContainer,\r\n FinancialTable,\r\n} from '../../containers';\r\nimport {\r\n requestDataLabelTranslation,\r\n companySize,\r\n rentContractTranslation,\r\n applicantTranslation,\r\n requestStatus,\r\n questionListTranslations,\r\n projectName,\r\n projectName2,\r\n} from './../../utils/translation/translation';\r\nimport styles from './newRequest.module.scss';\r\nimport { Link, useHistory } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport { Api } from './../../api/api';\r\nimport { format, addHours, subYears } from 'date-fns';\r\nimport {\r\n validateTextinput,\r\n validatePhone,\r\n validateEmail,\r\n isLoadSumValid,\r\n isIntegerNumber,\r\n LoanTermValidation,\r\n LoanDelayTermValidation,\r\n} from './../../utils/auth/validations';\r\nimport { formatNumber } from './../../utils/helpers/helpers';\r\nimport SignContractModal from './../../modals/signContractModal/signContractModal';\r\nimport FinancialCriteriaModal from './../../modals/financialCriteriaModal/financialCriteriaModal';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport ConfirmWithFinancialCriteriaModal from '../../modals/confirmWithFinancialCriteriaModal/confirmWithFinancialCriteriaModal';\r\nimport ChangeConditionsModal from './../../modals/changeConditionsModal/changeConditionsModal';\r\nimport ConfirmWithoutFinancialCriteriaModal from '../../modals/confirmWithoutFinancialCriteriaModal/confirmWithoutFinancialCriteriaModal';\r\nimport GoBackConfirmationModal from '../../modals/goBackConfirmationModal/goBackConfirmationModal';\r\nimport ConfirmWithoutFinancialCriteriaForChangeConditionsModal from '../../modals/confirmWithoutFinancialCriteriaForChangeConditionsModal/confirmWithoutFinancialCriteriaForChangeConditionsModal';\r\nimport DatePicker from 'react-datepicker';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\nimport {\r\n controllingCompaniesInputValidation,\r\n isCommentFilled,\r\n //controlingForeignCompaiesInputValidation,\r\n} from './../../utils/auth/validations';\r\nimport swal from 'sweetalert';\r\nimport {\r\n evrkFull,\r\n formatCountryJson,\r\n evrkFullWithoutZeros,\r\n evrkFullWithZeros,\r\n fullEvrkCodeList,\r\n} from './../../utils/helpers/evrk';\r\nimport { SurwayAnswers } from '../requests/surwayAnswers';\r\nimport { AddressModal } from '../../containers/addressInputContainer/addressInputContainer';\r\nimport { SelfDeclarationInfo } from '../../utils/mapsData/selfDeclaration/selfDeclaration';\r\n\r\nconst NewRequest = ({\r\n requestData,\r\n dispatch,\r\n loading,\r\n signContractModalVisible,\r\n financialCriteriaModalVisible,\r\n financialCriteriaResults,\r\n confirmWithFinancialCriteriaModalVisible,\r\n confirmWithoutFinancialCriteriaModalVisible,\r\n changeConditionsModalVisible,\r\n signInInfo,\r\n confirmModalVisible,\r\n goBackConfirmationModalVisible,\r\n confirmWithoutFinancialCriteriaForChangeConditionsModalVisible,\r\n}) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n const CompanyEvrkcheck = () => (loginType === 'Company' ? 'CompanyEvrk' : '');\r\n const CompanyManagerNamecheck = () =>\r\n loginType === 'Company' ? 'CompanyManagerName' : '';\r\n\r\n let history = useHistory();\r\n\r\n const disableCheck = (val) => {\r\n if (viewWindow) {\r\n return true;\r\n } else {\r\n if (\r\n val === 'ApplicantName' ||\r\n val === 'ApplicantSurname' ||\r\n val === 'PersonalCode' ||\r\n val === 'CompanyName' ||\r\n val === 'CompanyCode' ||\r\n val === CompanyManagerNamecheck() ||\r\n val === 'CompanyType' ||\r\n val === 'CompanySizeType' ||\r\n val === 'CompanyRegistrationDate' ||\r\n val === 'StatusInitial' ||\r\n val === 'Turnover19' ||\r\n val === 'Income19' ||\r\n val === 'Assets19' ||\r\n val === 'PropertyAmount19' ||\r\n val === 'Liabilities19' ||\r\n val === 'ShortTermDebts19' ||\r\n val === 'Status' ||\r\n val === 'FsiStartDate2019' ||\r\n val === 'FsiEndDate2019' ||\r\n val === 'FsiStartDate2020' ||\r\n val === 'FsiEndDate2020' ||\r\n val === 'Assets20' ||\r\n val === 'Liabilities20' ||\r\n val === 'PropertyAmount20' ||\r\n val === 'Turnover20' ||\r\n val === 'InvegaAligTurnSumLoan' ||\r\n val === 'InvegaAligInvSumLoan' ||\r\n val === CompanyEvrkcheck()\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n const isNumberType = (val) => {\r\n if (\r\n val === 'MonthlyRentalPrice' ||\r\n val === 'RentedArea' ||\r\n val === 'OwnerCompanyCode' ||\r\n val === 'AlreadyReceivedCovidSupportSum' ||\r\n val === 'OwnerPersonalCode' ||\r\n val === 'OwnerPhone'\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const rowTableHeader = [\r\n 'Tipas',\r\n 'Priedo pavadinimas',\r\n 'Sudarymo data',\r\n 'Pareiškėjo pasirašymo data',\r\n 'Invega pasirašymo data',\r\n 'Veiksmai',\r\n ];\r\n\r\n const commentsHistoryTableHeader = ['Data', 'Komentaras'];\r\n\r\n const check1 = () => (\r\n
\r\n

\r\n Susipažinau su \"{projectName2(requestSystemInfo.ProjectId)}\" aprašymu,\r\n pateiktu{' '}\r\n \r\n INVEGOS puslapyje\r\n \r\n .\r\n

\r\n
\r\n );\r\n\r\n const isSmallText = () => (\r\n \r\n Bendrovė ir visos su ja susijusios įmonės atitinka labai mažos arba mažos\r\n įmonės statusą pagal{' '}\r\n \r\n Lietuvos Respublikos smulkaus ir vidutinio verslo plėtros įstatymo{' '}\r\n \r\n nuostatas. Pagrindiniai kriterijai: įmonėje (atsižvelgiant ir į susijusias\r\n ir partnerines įmones) dirba mažiau kaip 50 darbuotojų ir įmonė atitinka\r\n bent vieną iš šių kriterijų: metinės pajamos neviršija 10 mln. Eur arba\r\n įmonės balanse nurodyto turto vertė neviršija 10 mln. Eur\r\n \r\n );\r\n\r\n const returnSignedDocumentEndpoint = (\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n if (fileType === 'Decision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentDecision(requestId);\r\n }\r\n if (fileType === 'RejectDecision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentRejectDecision(requestId);\r\n }\r\n if (\r\n fileType === 'ChangeConditions' ||\r\n fileType === 'ChangeConditionsRequest'\r\n ) {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }\r\n\r\n return config.API_ENDPOINTS.GetSignedDocumentContract(requestId);\r\n };\r\n\r\n const GetSignedDocumentContractUser = (\r\n requestId,\r\n fileType,\r\n name,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n returnSignedDocumentEndpoint(\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n 'Content-Type': 'application/pdf',\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sutartis_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = name;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const [viewWindow, setViewWindow] = useState(false);\r\n\r\n const [companyQuestionList, setCompanyQuestionList] = useState(null);\r\n const [ceoDataList, setCeoDataList] = useState(null);\r\n const [companyDataList, setCompanyDataList] = useState(null);\r\n const [applicantData, setApplicantData] = useState(null);\r\n const [pepData, setPepData] = useState({});\r\n const [suppliers, setSuppliers] = useState(null);\r\n\r\n const [declarationInfo, setDeclarationInfo] = useState(null);\r\n const [loanInfo, setLoanInfo] = useState(null);\r\n const [checks, setChecks] = useState(null);\r\n\r\n const [evrksList, setevrksList] = useState([]);\r\n\r\n const [hasParentCompanyValue, setHasParentCompanyValue] = useState(false);\r\n\r\n const [hasParentCompanyState, setHasParentCompanyState] = useState(false);\r\n\r\n const [turnoversInfo, setTurnoversInfo] = useState([]);\r\n\r\n const [controllingCompanies, setControllingCompanies] = useState(null);\r\n const [controllingForeignCompanies, setControllingForeignCompanies] =\r\n useState(null);\r\n\r\n const [notValid, setNotvalid] = useState(false);\r\n\r\n const onInputChange = ({ target: { name, value } }) => {\r\n setCeoDataList({ ...ceoDataList, [name]: value });\r\n };\r\n\r\n const title = (id) => {\r\n switch (id) {\r\n case '1':\r\n return 'Kelionių organizatorius';\r\n case '2':\r\n return 'Apgyvendinimo paslaugos';\r\n case '3':\r\n return 'Viešojo maitinimo paslaugos';\r\n default:\r\n return id;\r\n }\r\n };\r\n\r\n const canCreateRequestSectorTypeId = (id) => {\r\n const OtherRequests = requestData.OtherRequests;\r\n const filtered = OtherRequests.some((val) => val.SectorTypeId == id);\r\n\r\n const has2Or3 = OtherRequests.some(\r\n (val) => val.SectorTypeId == 2 || val.SectorTypeId == 3\r\n );\r\n\r\n if (OtherRequests && OtherRequests.length > 0 && filtered) {\r\n swal({\r\n title: `Paraišką su veikla \"${title(\r\n id\r\n )}\" jau rengiate, todėl su šia veiklos sritimi naujos paraiškos rengti nebegalite. Pasirinkite kitą veiklos sritį.`,\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if ((id == 2 || id == 3) && has2Or3) {\r\n swal({\r\n title:\r\n 'Paraišką su veikla \"Apgyvendinimo paslaugos\" arba \"Viešojo maitinimo paslaugos\" jau rengiate, todėl su šia veiklos sritimi naujos paraiškos rengti nebegalite. Pasirinkite kitą veiklos sritį.',\r\n icon: 'info',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n const onLoanInfoChange = ({ target: { name, value } }) => {\r\n if (name === 'SectorType') {\r\n canCreateRequestSectorTypeId(value);\r\n if (value == null || value.length === 0) {\r\n setLoanInfo({ ...loanInfo, [name]: null });\r\n } else {\r\n setLoanInfo({ ...loanInfo, [name]: value });\r\n }\r\n } else {\r\n if (value == null || value.length === 0) {\r\n setLoanInfo({ ...loanInfo, [name]: null });\r\n } else {\r\n setLoanInfo({ ...loanInfo, [name]: value });\r\n }\r\n }\r\n };\r\n\r\n const onCompanyInputChange = ({ target: { name, value } }) => {\r\n if (\r\n name === 'ActivityAddressPostalCode' ||\r\n name === 'RegistrationAddressPostalCode'\r\n ) {\r\n if (value?.length <= 5) {\r\n setCompanyDataList({ ...companyDataList, [name]: value });\r\n }\r\n } else {\r\n setCompanyDataList({ ...companyDataList, [name]: value });\r\n }\r\n };\r\n\r\n const onApplicantDatanputChange = ({ target: { name, value } }) => {\r\n setApplicantData({ ...applicantData, [name]: value });\r\n };\r\n const onCheckBoxChange = (e, name) => {\r\n setChecks({ ...checks, [name]: e.target.checked });\r\n };\r\n\r\n const scrollToError = () => {\r\n setTimeout(() => {\r\n let el = document.getElementsByClassName('error1');\r\n\r\n let e = null;\r\n for (let i = 0; i < el.length; i++) {\r\n if (el[i].innerText != '') {\r\n e = el[i];\r\n break;\r\n }\r\n }\r\n\r\n if (e) {\r\n const y = e.getBoundingClientRect().top + window.pageYOffset - 100;\r\n window.scrollTo({ top: y, behavior: 'smooth' });\r\n }\r\n }, 0);\r\n };\r\n\r\n const checkResponsibilityPersons = (data) => {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.surname &&\r\n input.surname.length > 0 &&\r\n input.birthDate &&\r\n input.birthDate.length > 0 &&\r\n input.position &&\r\n input.position.length > 0 &&\r\n input.country &&\r\n input.country.length > 0 &&\r\n input.personRelation &&\r\n input.personRelation.length > 0\r\n ) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const checkSuppliers = (data) => {\r\n for (let i = 0; i < data?.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled1 = (data) => {\r\n if (data) {\r\n let input = data[1];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled2 = (data) => {\r\n if (data) {\r\n let input = data[2];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled3 = (data) => {\r\n if (data) {\r\n let input = data[3];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkIfAllSuppliersLinesFullyFilled4 = (data) => {\r\n if (data) {\r\n let input = data[4];\r\n\r\n if (\r\n input.name ||\r\n input.code ||\r\n input.basisForPayments ||\r\n input.evrk ||\r\n input.registrationCountryId\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.basisForPayments &&\r\n input.basisForPayments.length > 0 &&\r\n input.evrk &&\r\n input.evrk.length > 0 &&\r\n input.evrk !== '-' &&\r\n input.registrationCountryId &&\r\n input.registrationCountryId.length > 0 &&\r\n input.registrationCountryId !== '-'\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const questionereEmpty = {\r\n IsSmall: null,\r\n IsSmallComment: null,\r\n IsNotListed: null,\r\n IsNotListedComment: null,\r\n IsProfitNotShared: null,\r\n IsProfitNotSharedComment: null,\r\n IsNotJoined: null,\r\n IsNotJoinedComment: null,\r\n IsNotTaken: null,\r\n IsNotTakenComment: null,\r\n IsNotProblemic: null,\r\n IsNotProblemicComment: null,\r\n };\r\n\r\n const returnEldership = (a, b) => {\r\n const arr = [11, 30, 27, 25, 21, 23];\r\n const isInArray = arr.some((val) => val == b);\r\n\r\n if (isInArray) {\r\n return null;\r\n }\r\n\r\n return a;\r\n };\r\n\r\n const returnSettlement = (a, b) => {\r\n const arr = [13, 18, 19, 29];\r\n const isInArray = arr.some((val) => val == b);\r\n\r\n if (isInArray) {\r\n return null;\r\n }\r\n\r\n return a;\r\n };\r\n\r\n const check = () => {\r\n if (loginType === 'Company') {\r\n if (true) {\r\n const data = {\r\n requestSystemInfo: {\r\n ...requestSystemInfo,\r\n requestType: loginType,\r\n },\r\n ApplicantData: requestData.ApplicantData,\r\n ContactInfo: ceoDataList,\r\n CompanyData: {\r\n ...companyDataList,\r\n ActivityAddressEldership: returnEldership(\r\n companyDataList.ActivityAddressEldership,\r\n companyDataList.ActivityAddressMunicipalityId\r\n ),\r\n ActivityAddressEldershipId: returnEldership(\r\n companyDataList.ActivityAddressEldershipId,\r\n companyDataList.ActivityAddressMunicipalityId\r\n ),\r\n RegistrationAddressSettlement: returnSettlement(\r\n companyDataList.RegistrationAddressSettlement,\r\n companyDataList.RegistrationAddressMunicipalityId\r\n ),\r\n RegistrationAddressSettlementId: returnSettlement(\r\n companyDataList.RegistrationAddressSettlementId,\r\n companyDataList.RegistrationAddressMunicipalityId\r\n ),\r\n },\r\n LoanInfo: {\r\n ...loanInfo,\r\n LoanEvrk: loanInfo.LoanPurposeId != 1 ? null : loanInfo?.LoanEvrk,\r\n },\r\n FinancialData: companyQuestionList,\r\n SelfDeclaration: selfDeclarationData,\r\n\r\n ControllingCompanies: controllingCompanies,\r\n ControllingForeignCompanies: controllingForeignCompanies,\r\n Checks: checks,\r\n Questionnaire: ShowQuestionList() ? questionnaire : questionereEmpty,\r\n pepData: pepData\r\n ? {\r\n parentCompanyCode: pepData.ParentCompanyCode,\r\n HasImportantResponsibilities:\r\n pepData.HasImportantResponsibilities,\r\n HasImportantResponsibilitiesMoreThan4:\r\n pepData.HasImportantResponsibilitiesMoreThan4,\r\n importantResponsibilityPersons:\r\n pepData.ImportantResponsibilityPersons,\r\n controllingPersons: pepData.ControllingPersons,\r\n controllingCompanies: pepData.ControllingCompanies,\r\n }\r\n : null,\r\n suppliers: suppliers,\r\n InvegaReason: reason,\r\n };\r\n\r\n dispatch(actions.dashboard.saveRquestAction(data));\r\n setSavedRequest(true);\r\n } else {\r\n scrollToError();\r\n }\r\n } else if (loginType === 'Individual') {\r\n // console.log(applicantData.BirthDate);\r\n // validateTextinput(applicantData.CompanyActivityAddress) === null &&\r\n if (true) {\r\n const data = {\r\n requestSystemInfo: {\r\n ...requestSystemInfo,\r\n requestType: loginType,\r\n },\r\n ApplicantData: {\r\n ...applicantData,\r\n IndividualActivityCertificateNumberStartDate:\r\n applicantData.IndividualActivityCertificateNumberStartDate != null\r\n ? applicantData.IndividualActivityCertificateNumberStartDate\r\n .length !== 10\r\n ? addHours(\r\n applicantData.IndividualActivityCertificateNumberStartDate,\r\n 3\r\n )\r\n : applicantData.IndividualActivityCertificateNumberStartDate\r\n : null,\r\n ActivityAddressEldership: returnEldership(\r\n applicantData.ActivityAddressEldership,\r\n applicantData.ActivityAddressMunicipalityId\r\n ),\r\n ActivityAddressEldershipId: returnEldership(\r\n applicantData.ActivityAddressEldershipId,\r\n applicantData.ActivityAddressMunicipalityId\r\n ),\r\n BirthDate:\r\n applicantData.BirthDate != null ? applicantData.BirthDate : null,\r\n },\r\n ContactInfo: ceoDataList,\r\n CompanyData: companyDataList,\r\n LoanInfo: {\r\n ...loanInfo,\r\n LoanEvrk: loanInfo.LoanPurposeId != 1 ? null : loanInfo?.LoanEvrk,\r\n },\r\n FinancialData: companyQuestionList,\r\n SelfDeclaration: selfDeclarationData,\r\n ControllingCompanies: controllingCompanies,\r\n ControllingForeignCompanies: controllingForeignCompanies,\r\n Questionnaire: ShowQuestionList() ? questionnaire : questionereEmpty,\r\n Checks: checks,\r\n pepData: pepData\r\n ? {\r\n parentCompanyCode: pepData.ParentCompanyCode,\r\n HasImportantResponsibilities:\r\n pepData.HasImportantResponsibilities,\r\n HasImportantResponsibilitiesMoreThan4:\r\n pepData.HasImportantResponsibilitiesMoreThan4,\r\n importantResponsibilityPersons:\r\n pepData.ImportantResponsibilityPersons,\r\n controllingPersons: pepData.ControllingPersons,\r\n controllingCompanies: pepData.ControllingCompanies,\r\n }\r\n : null,\r\n suppliers: suppliers,\r\n InvegaReason: reason,\r\n };\r\n\r\n dispatch(actions.dashboard.saveRquestAction(data));\r\n setSavedRequest(true);\r\n } else {\r\n scrollToError();\r\n }\r\n } else {\r\n console.log('negalima nustatyti prisijungusiojo tipo');\r\n }\r\n };\r\n const submit = () => {\r\n setNotvalid(true);\r\n setTimeout(() => {\r\n const el = document.getElementsByClassName('error1');\r\n const el2 = Object.values(el)?.some((val) => val.innerText.length > 0);\r\n if (el2) {\r\n scrollToError();\r\n } else {\r\n check();\r\n }\r\n }, 0);\r\n };\r\n\r\n const onHasImportantResponsibilitiesMoreThan4Change = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasImportantResponsibilitiesMoreThan4: e.target.checked,\r\n });\r\n };\r\n\r\n const onHasImportantResponsibilities = (e) => {\r\n setPepData({\r\n ...pepData,\r\n HasImportantResponsibilities: !pepData.HasImportantResponsibilities,\r\n });\r\n };\r\n\r\n const onImportantResponsibilitiesChange = (index, propName, e) => {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ImportantResponsibilityPersons[index][propName] =\r\n e.target.value),\r\n });\r\n };\r\n\r\n const onControllingPersonsChange = (index, propName, e) => {\r\n if (propName === 'sharesPart' || propName === 'votingPart') {\r\n if (\r\n (parseInt(e.target.value) >= 0 && parseInt(e.target.value) <= 100) ||\r\n !e.target.value\r\n ) {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingPersons[index][propName] = e.target.value),\r\n });\r\n }\r\n return null;\r\n } else {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingPersons[index][propName] = e.target.value),\r\n });\r\n }\r\n };\r\n\r\n const onControllingCompaniesChange = (index, propName, e) => {\r\n if (propName === 'sharesPart' || propName === 'votingPart') {\r\n if (\r\n (parseInt(e.target.value) >= 0 && parseInt(e.target.value) <= 100) ||\r\n !e.target.value\r\n ) {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingCompanies[index][propName] = e.target.value),\r\n });\r\n }\r\n return null;\r\n } else {\r\n setPepData({\r\n ...pepData,\r\n ...(pepData.ControllingCompanies[index][propName] = e.target.value),\r\n });\r\n }\r\n };\r\n\r\n const getFinancialCriteriaResults = (id) => {\r\n dispatch(actions.dashboard.getFinancialCriteriaResultsAction(id));\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'goBackConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [requestId, setRequestId] = useState(null);\r\n\r\n const [savedRequest, setSavedRequest] = useState(false);\r\n\r\n //add values, that is n ot requered here\r\n const isRequeredToCheck = (val) => {\r\n if (\r\n val === 'OwnerCompanyCode' ||\r\n val === 'OwnerPersonalCode' ||\r\n val === 'OwnerIndividualActivityCertificateNumber' ||\r\n val === 'MonthlyRentalPrice' ||\r\n val === 'ParentCompanyCode'\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const isCheckBox = (name) =>\r\n name.slice(0, 5) === 'check' || name.slice(0, 5) === 'Check' ? true : false;\r\n\r\n const isDate = (name) =>\r\n name.slice(name.length - 4) === 'Date' ? true : false;\r\n\r\n const onControllingCompaniesInputChange = ({ target: { name, value } }) => {\r\n setControllingCompanies(value);\r\n };\r\n\r\n const onCompanySizeTypeChange = ({ target: { name, value } }) => {\r\n setCompanyDataList({ ...companyDataList, [name]: value });\r\n setApplicantData({ ...applicantData, [name]: value });\r\n };\r\n\r\n const [reason, setReason] = useState('');\r\n const onReasonChange = ({ target: { name, value } }) => {\r\n setReason(value);\r\n };\r\n\r\n const onControllingForeignCompaniesInputChange = ({\r\n target: { name, value },\r\n }) => {\r\n setControllingForeignCompanies(value);\r\n };\r\n\r\n const onCompanyDataCheckBoxChange = (e, name) => {\r\n setCompanyDataList({ ...companyDataList, [name]: e.target.checked });\r\n };\r\n\r\n const onApplicantInputChange = ({ target: { name, value } }) => {\r\n if (name === 'ActivityAddressPostalCode') {\r\n if (value?.length <= 5) {\r\n setApplicantData({ ...applicantData, [name]: value });\r\n }\r\n } else {\r\n setApplicantData({ ...applicantData, [name]: value });\r\n }\r\n };\r\n const onApplicantDataCheckBoxChange = (e, name) => {\r\n setApplicantData({ ...applicantData, [name]: e.target.checked });\r\n };\r\n\r\n const handleApplicantDateChange = (date, name) => {\r\n const format = addHours(date, 3);\r\n if (date) {\r\n setApplicantData({\r\n ...applicantData,\r\n [name]: format.toISOString().split('T')[0],\r\n });\r\n }\r\n };\r\n\r\n const clearContractStartDate = (input) => {\r\n if (!viewWindow) {\r\n if (input === 'BirthDate') {\r\n setApplicantData({\r\n ...applicantData,\r\n BirthDate: null,\r\n });\r\n } else {\r\n setApplicantData({\r\n ...applicantData,\r\n IndividualActivityCertificateNumberStartDate: null,\r\n });\r\n }\r\n }\r\n };\r\n\r\n const copyRequest = (requestId) => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n history.replace('/main-window/requests/new-request');\r\n\r\n if (loginType === 'Company') {\r\n dispatch(\r\n actions.dashboard.createNewRequestAction(null, 'copy', requestId)\r\n );\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(\r\n null,\r\n 'copy',\r\n requestId\r\n )\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n\r\n const checkControllingPersons = (data) => {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.surname &&\r\n input.surname.length > 0 &&\r\n input.citizenshipId &&\r\n input.citizenshipId.length > 1 &&\r\n input.personCode &&\r\n input.personCode.length > 0 &&\r\n input.position &&\r\n input.position.length > 0 &&\r\n input.sharesPart &&\r\n input.sharesPart.length > 0 &&\r\n input.votingPart &&\r\n input.votingPart.length > 0\r\n ) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const checkControllingCompanies = (data) => {\r\n for (let i = 0; i < data.length; i++) {\r\n let input = data[i];\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.country &&\r\n input.country.length > 0 &&\r\n input.sharesPart &&\r\n input.sharesPart.length > 0 &&\r\n input.votingPart &&\r\n input.votingPart.length > 0\r\n ) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalCheckbox, setModalCheckbox] = useState(false);\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalOkTitle, setModalOkTitle] = useState();\r\n const [userComment, setUserComment] = useState(false);\r\n const [mainText, setMainText] = useState('');\r\n const [questionnaire, setQuestionnaire] = useState(null);\r\n\r\n const approveRequest = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST',\r\n userComment\r\n )\r\n );\r\n };\r\n\r\n const approveRequestWithDocs = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST_WITH_DOCS'\r\n )\r\n );\r\n };\r\n\r\n const sign = () => {\r\n const open = {\r\n modalName: 'signContractModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeConditions = () => {\r\n const open = {\r\n modalName: 'changeConditionsModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const [isStatusGood, setIsStatusGood] = useState(false);\r\n\r\n const [requestSystemInfo, setRequestSystemInfo] = useState(null);\r\n\r\n const isSelectedEvrkInTheList = (val, fromWhere) => {\r\n if (evrksList && evrksList.length > 0) {\r\n const isInArray = evrksList.filter((x) => x == val);\r\n return isInArray.length === 0 ? false : true;\r\n }\r\n\r\n const isInArray = requestData.evrksList.filter((x) => x == val);\r\n return isInArray.length === 0 ? false : true;\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.SetCanCreateRequest(false));\r\n setCeoDataList(requestData.ContactInfo); //kontaktinė informacija JA/FA bendras\r\n if (requestData.CompanyData) {\r\n setCompanyDataList({\r\n ...requestData.CompanyData,\r\n Iban: requestData.CompanyData.Iban\r\n ? requestData.CompanyData.Iban\r\n : 'LT',\r\n CompanyEvrk:\r\n viewWindow ||\r\n isSelectedEvrkInTheList(\r\n requestData.CompanyData.CompanyEvrk,\r\n 'isuseeefect'\r\n )\r\n ? requestData.CompanyData.CompanyEvrk\r\n : null,\r\n ActivityAddressEldership:\r\n !requestData.CompanyData.RegistrationAddressEldership &&\r\n requestData.CompanyData.RegistrationAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.RegistrationAddressEldership,\r\n RegistrationAddressSettlement:\r\n !requestData.CompanyData.RegistrationAddressSettlement &&\r\n requestData.CompanyData.RegistrationAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.RegistrationAddressSettlement,\r\n ActivityAddressEldership:\r\n !requestData.CompanyData.ActivityAddressEldership &&\r\n requestData.CompanyData.ActivityAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.ActivityAddressEldership,\r\n ActivityAddressSettlement:\r\n !requestData.CompanyData.ActivityAddressSettlement &&\r\n requestData.CompanyData.ActivityAddressMunicipality\r\n ? '-'\r\n : requestData.CompanyData.ActivityAddressSettlement,\r\n });\r\n }\r\n\r\n loginType === 'Company'\r\n ? setHasParentCompanyValue(\r\n requestData.CompanyData &&\r\n requestData.CompanyData.ParentCompanyCodesFromRequest &&\r\n requestData.CompanyData.ParentCompanyCodesFromRequest.length !== 0\r\n ? true\r\n : false\r\n )\r\n : setHasParentCompanyValue(\r\n requestData.ApplicantData &&\r\n requestData.ApplicantData.ParentCompanyCodesFromRequest &&\r\n requestData.ApplicantData.ParentCompanyCodesFromRequest.length !== 0\r\n ? true\r\n : false\r\n );\r\n\r\n setDeclarationInfo(requestData.DeclarationInfo);\r\n setLoanInfo({\r\n ...requestData.LoanInfo,\r\n });\r\n setChecks(requestData.Checks);\r\n setevrksList(requestData.evrksList);\r\n //setevrksList(fullEvrkCodeList);\r\n requestData.ApplicantData != null &&\r\n setApplicantData({\r\n ...requestData.ApplicantData,\r\n Iban: requestData.ApplicantData.Iban\r\n ? requestData.ApplicantData.Iban\r\n : 'LT',\r\n CompanyEvrk:\r\n viewWindow ||\r\n isSelectedEvrkInTheList(\r\n requestData.ApplicantData.CompanyEvrk,\r\n 'isuseeefect'\r\n )\r\n ? requestData.ApplicantData.CompanyEvrk\r\n : null,\r\n });\r\n setCompanyQuestionList(requestData.FinancialData);\r\n setRequestSystemInfo(requestData.RequestSystemInfo);\r\n setRequestId(\r\n requestData.RequestSystemInfo != null\r\n ? requestData.RequestSystemInfo.RequestId\r\n : null\r\n );\r\n\r\n // Pep loop\r\n if (requestData && requestData.PepData) {\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ImportantResponsibilityPersons[i];\r\n if (item) {\r\n requestData.PepData.ImportantResponsibilityPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n birthDate: item.BirthDate,\r\n position: item.Position,\r\n country: item.Country,\r\n personRelation: item.PersonRelation,\r\n };\r\n } else {\r\n requestData.PepData.ImportantResponsibilityPersons[i] = {\r\n name: '',\r\n surname: '',\r\n birthDate: '',\r\n position: '',\r\n country: '',\r\n personRelation: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ControllingPersons[i];\r\n if (item) {\r\n requestData.PepData.ControllingPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n citizenshipId: item.CitizenshipId,\r\n personCode: item.PersonCode,\r\n position: item.Position,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n };\r\n } else {\r\n requestData.PepData.ControllingPersons[i] = {\r\n name: '',\r\n surname: '',\r\n citizenshipId: '',\r\n personCode: '',\r\n position: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestData.PepData.ControllingCompanies[i];\r\n if (item) {\r\n requestData.PepData.ControllingCompanies[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n country: item.Country,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n };\r\n } else {\r\n requestData.PepData.ControllingCompanies[i] = {\r\n name: '',\r\n code: '',\r\n country: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestData && requestData.Suppliers) {\r\n for (let i = 0; i < 5; i++) {\r\n const item = requestData.Suppliers[i];\r\n if (item) {\r\n requestData.Suppliers[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n registrationCountryId: item.RegistrationCountryId,\r\n evrk: item.Evrk,\r\n basisForPayments: item.BasisForPayments,\r\n };\r\n } else {\r\n requestData.Suppliers[i] = {\r\n name: '',\r\n code: '',\r\n registrationCountryId: '',\r\n evrk: '',\r\n basisForPayments: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestData) {\r\n setPepData(requestData.PepData);\r\n setSuppliers(requestData?.Suppliers);\r\n }\r\n\r\n //pep end\r\n\r\n setViewWindow(requestData.type === 'view' ? true : false);\r\n setIsStatusGood(\r\n requestData.RequestSystemInfo != null &&\r\n requestData.RequestSystemInfo.Status != null &&\r\n requestData.RequestSystemInfo.Status !== 6\r\n ? true\r\n : false\r\n );\r\n if (requestData.Invoice) {\r\n if (!requestData.Invoice.RentDate) {\r\n requestData.Invoice.RentDate = '2020-02-01';\r\n }\r\n if (!requestData.Invoice.InvoiceType) {\r\n requestData.Invoice.InvoiceType = 1;\r\n }\r\n }\r\n\r\n if (requestData.type != null && requestData.type === 'view') {\r\n setNotvalid(false);\r\n }\r\n\r\n setControllingCompanies(requestData.ControllingCompanies);\r\n setControllingForeignCompanies(requestData.ControllingForeignCompanies);\r\n setTurnoversInfo(arrangeTurnovers(requestData.TurnoversInfo));\r\n setSelfDeclarationtData(requestData.SelfDeclaration);\r\n setDeclarationInfo(requestData.DeclarationInfo);\r\n setReason(requestData.InvegaReason);\r\n }, [requestData]);\r\n\r\n const arrangeTurnovers = (list) => {\r\n if (\r\n list &&\r\n list.length === 6 &&\r\n list[0].Date &&\r\n list[0].Date === '2019-11-01T00:00:00' &&\r\n list[5].Date &&\r\n list[5].Date === '2021-01-01T00:00:00'\r\n ) {\r\n return [list[0], list[3], list[1], list[4], list[2], list[5]];\r\n }\r\n\r\n return list;\r\n };\r\n //Use efect for getting uploaded files\r\n useEffect(() => {\r\n if (\r\n requestData.RequestSystemInfo &&\r\n requestData.RequestSystemInfo.RequestId &&\r\n requestData.RequestSystemInfo.RequestId !== null\r\n ) {\r\n dispatch(\r\n actions.dashboard.getUploadedFileList(\r\n requestData.RequestSystemInfo.RequestId\r\n )\r\n );\r\n }\r\n }, [requestData]);\r\n\r\n const isOldEvrkValid = (val) => {\r\n if (!val || val === null) {\r\n return 'neįvestas EVRK kodas';\r\n }\r\n var ex = /\\b\\d{6}\\b/g;\r\n if (ex.test(val) === false) {\r\n return 'Neteisingai įvestas EVRK kodas';\r\n }\r\n return null;\r\n };\r\n\r\n const isValidIban = (v) => {\r\n if (!v) {\r\n return false;\r\n }\r\n return v.match(/[A-Z]{2}\\d{2} ?\\d{4} ?\\d{4} ?\\d{4} ?\\d{4} ?[\\d]{0,2}/);\r\n };\r\n\r\n const isPostCodeValid = (code) => {\r\n if (!code) {\r\n return false;\r\n }\r\n\r\n if (code.length > 5) {\r\n return false;\r\n }\r\n return code.match(/^\\d+$/);\r\n };\r\n const hasParentCompany = (e) => {\r\n setHasParentCompanyState(e.target.value === 'true' ? true : false);\r\n\r\n const has = e.target.value === 'true';\r\n if (!has) {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ParentCompanyCodesFromRequest: '',\r\n });\r\n\r\n setApplicantData({\r\n ...applicantData,\r\n ParentCompanyCodesFromRequest: '',\r\n });\r\n }\r\n setHasParentCompanyValue(has);\r\n };\r\n\r\n const hasParentCompanyFA = (e) => {\r\n setHasParentCompanyState(e.target.value === 'true' ? true : false);\r\n\r\n const has = e.target.value === 'true';\r\n if (!has) {\r\n setCompanyDataList({\r\n ...applicantData,\r\n ParentCompanyCodesFromRequest: '',\r\n });\r\n }\r\n setHasParentCompanyValue(has);\r\n };\r\n\r\n const translateTurnover = (val) => {\r\n const year = val.substring(0, 4);\r\n const month = val.substring(5, 7);\r\n\r\n const dictionary = {\r\n '01': 'sausio',\r\n '02': 'vasario',\r\n '03': 'kovo',\r\n '04': 'balandžio',\r\n '05': 'gegužės',\r\n '06': 'birželio',\r\n '07': 'liepos',\r\n '08': 'rugpjūčio',\r\n '09': 'rugsėjo',\r\n 10: 'spalio',\r\n 11: 'lapkričio',\r\n 12: 'gruodžio',\r\n };\r\n\r\n if (val && val.length === 4) {\r\n return `Apyvarta ${year}m `;\r\n }\r\n return `Apyvarta ${year}m. ${dictionary[month]} mėn.`;\r\n };\r\n\r\n const financialDataArray2019 = [\r\n 'Fsi2019Submitted',\r\n 'br',\r\n 'FsiStartDate2019',\r\n 'FsiEndDate2019',\r\n 'Assets19',\r\n 'Liabilities19',\r\n 'PropertyAmount19',\r\n 'Turnover19',\r\n ];\r\n\r\n const financialDataArray2020 = [\r\n 'Fsi2020Submitted',\r\n 'br',\r\n 'FsiStartDate2020',\r\n 'FsiEndDate2020',\r\n 'Assets20',\r\n 'Liabilities20',\r\n 'PropertyAmount20',\r\n 'Turnover20',\r\n ];\r\n const financialDataArray2021 = [\r\n 'Fsi2021Submitted',\r\n 'br',\r\n 'FsiStartDate2021',\r\n 'FsiEndDate2021',\r\n 'Assets21',\r\n 'Liabilities21',\r\n 'PropertyAmount21',\r\n 'Turnover21',\r\n ];\r\n\r\n const financialDataArray = (fsiYear) =>\r\n fsiYear == 2019 ? financialDataArray2019 : financialDataArray2020;\r\n const financialDataArray2 = (fsiYear) =>\r\n fsiYear == 2020 ? financialDataArray2020 : financialDataArray2021;\r\n\r\n const agreementsCheckBoxesArray = ['Check1', 'Check2', 'Check3'];\r\n\r\n const fileTypeTranslation = (name) => {\r\n if (name === 'Contract') {\r\n return 'Sutartis';\r\n } else if (name === 'Decision') {\r\n return 'Sprendimas';\r\n } else if (name === 'ChangeConditionsRequest') {\r\n return 'Prašymas pakeisti susitarimą';\r\n } else if (name === 'ChangeConditions') {\r\n return 'Sąlygų keitimo dokumentas';\r\n } else if (name === 'ChangeConditionsReject') {\r\n return 'Sąlygų keitimas atmestas';\r\n } else if (name === 'ChangeConditionsDecision') {\r\n return 'Sąlygų keitimo sprendimas';\r\n } else if (name === 'RejectDecision') {\r\n return 'Atmetimo sprendimas';\r\n }\r\n };\r\n\r\n const applicantDataArray = [\r\n 'CompanyManagerName',\r\n 'CompanyManagerSurName',\r\n 'PersonalCode',\r\n 'BirthDate',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyEvrk',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'IndividualActivityCertificateNumber',\r\n 'CompanyActivityAddress',\r\n // 'CompanyPhone',\r\n // 'CompanyEmail',\r\n // 'Iban',\r\n ];\r\n\r\n const ceoDataListArray = ['ApplicantName', 'ApplicantSurname'];\r\n\r\n const companyDataListArray = [\r\n 'CompanyName',\r\n 'CompanyCode',\r\n 'CompanyManagerName',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyType',\r\n 'StatusInitial',\r\n 'CompanyEvrk',\r\n\r\n 'CompanyRegistrationDate',\r\n //'CompanyRegistrationAddress',\r\n 'CompanyActivityAddress',\r\n 'CompanyPhone',\r\n 'CompanyEmail',\r\n 'ContractEmail',\r\n 'Iban',\r\n ];\r\n\r\n const formatEvrkJson2 = () => {\r\n return evrksList\r\n ? evrksList.map((val) => ({\r\n [val]: evrkFull[val],\r\n }))\r\n : null;\r\n };\r\n\r\n const getValueByCode = (list, code) => {\r\n if (list && code) {\r\n const foundValue = list.find((val) => val.value?.Code === code);\r\n return foundValue?.label?.Name;\r\n }\r\n };\r\n\r\n const onEvrkInputChange = ({ target: { name, value } }, listData) => {\r\n if (loginType === 'Individual') {\r\n setApplicantData({\r\n ...applicantData,\r\n [name]: value === '-' ? null : value,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n [name]: value === '-' ? null : value,\r\n });\r\n }\r\n };\r\n\r\n const onAddressInputChange = ({ target: { name, value } }, listData) => {\r\n if (name === 'RegistrationAddressDistrictId') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressDistrict: getValueByCode(listData, value),\r\n RegistrationAddressDistrictId: value,\r\n RegistrationAddressMunicipality: null,\r\n RegistrationAddressMunicipalityId: null,\r\n RegistrationAddressEldership: null,\r\n RegistrationAddressEldershipId: null,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressDistrictId') {\r\n if (loginType === 'Individual') {\r\n setApplicantData({\r\n ...applicantData,\r\n ActivityAddressDistrict: getValueByCode(listData, value),\r\n ActivityAddressDistrictId: value,\r\n ActivityAddressMunicipality: null,\r\n ActivityAddressMunicipalityId: null,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressDistrict: getValueByCode(listData, value),\r\n ActivityAddressDistrictId: value,\r\n ActivityAddressMunicipality: null,\r\n ActivityAddressMunicipalityId: null,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n\r\n if (name === 'RegistrationAddressMunicipalityId') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressMunicipality: getValueByCode(listData, value),\r\n RegistrationAddressMunicipalityId: value,\r\n RegistrationAddressEldership: null,\r\n RegistrationAddressEldershipId: null,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressMunicipalityId') {\r\n if (loginType === 'Individual') {\r\n setApplicantData({\r\n ...applicantData,\r\n ActivityAddressMunicipality: getValueByCode(listData, value),\r\n ActivityAddressMunicipalityId: value,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressMunicipality: getValueByCode(listData, value),\r\n ActivityAddressMunicipalityId: value,\r\n ActivityAddressEldership: null,\r\n ActivityAddressEldershipId: null,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n\r\n if (name === 'RegistrationAddressEldershipId') {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n RegistrationAddressEldership: getValueByCode(listData, value),\r\n RegistrationAddressEldershipId: value,\r\n RegistrationAddressSettlement: null,\r\n RegistrationAddressSettlementId: null,\r\n });\r\n }\r\n\r\n if (name === 'ActivityAddressEldershipId') {\r\n if (loginType === 'Individual') {\r\n setApplicantData({\r\n ...applicantData,\r\n ActivityAddressEldership: getValueByCode(listData, value),\r\n ActivityAddressEldershipId: value,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n ActivityAddressEldership: getValueByCode(listData, value),\r\n ActivityAddressEldershipId: value,\r\n ActivityAddressSettlement: null,\r\n ActivityAddressSettlementId: null,\r\n });\r\n }\r\n }\r\n if (loginType === 'Individual' && name === 'ActivityAddressSettlementId') {\r\n setApplicantData({\r\n ...applicantData,\r\n [name]: value === '-' ? null : value,\r\n ActivityAddressSettlement:\r\n value === '-' ? null : getValueByCode(listData, value),\r\n });\r\n }\r\n\r\n if (\r\n loginType !== 'Individual' &&\r\n (name === 'RegistrationAddressSettlementId' ||\r\n name === 'ActivityAddressSettlementId')\r\n ) {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n [name]: value === '-' ? null : value,\r\n [name === 'RegistrationAddressSettlementId'\r\n ? 'RegistrationAddressSettlement'\r\n : 'ActivityAddressSettlement']:\r\n value === '-' ? null : getValueByCode(listData, value),\r\n });\r\n }\r\n };\r\n\r\n const onCountryInputChange = (value) => {\r\n if (loginType === 'Individual') {\r\n setApplicantData({\r\n ...applicantData,\r\n CompanyManagerCitizenshipId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n } else {\r\n setCompanyDataList({\r\n ...companyDataList,\r\n CompanyManagerCitizenshipId:\r\n value.target.value === '-' ? null : value.target.value,\r\n });\r\n }\r\n };\r\n\r\n const from19To20 = (val) => `${val.slice(0, -2)}20`;\r\n\r\n const ageLessThen5 = (regDate) => {\r\n const date = new Date();\r\n const ageMinus5Years = subYears(new Date(date), 5);\r\n return new Date(regDate) > ageMinus5Years;\r\n };\r\n\r\n const ShowQuestionList = () => {\r\n const size =\r\n loginType === 'Company'\r\n ? companyDataList && companyDataList.CompanySizeType\r\n : applicantData && applicantData.CompanySizeType;\r\n const socialBusiness = loanInfo && loanInfo.LoanSocialBusiness;\r\n const companyRegistrationDate =\r\n companyDataList && companyDataList.CompanyRegistrationDate;\r\n const individualRegistrationData =\r\n applicantData &&\r\n applicantData.IndividualActivityCertificateNumberStartDate;\r\n if (size == 1 || size == 2) {\r\n if (\r\n (socialBusiness == 'true' || socialBusiness == true) &&\r\n ageLessThen5(\r\n loginType === 'Company'\r\n ? companyRegistrationDate\r\n : individualRegistrationData\r\n )\r\n ) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n const onQuestionListCheckBoxChange = ({ target: { name, value } }) => {\r\n setQuestionnaire({\r\n ...questionnaire,\r\n [name]: value === 'true' ? true : false,\r\n });\r\n };\r\n\r\n const onQuestionnaireCommentChange = ({ target: { name, value } }) => {\r\n setQuestionnaire({\r\n ...questionnaire,\r\n [name]: value,\r\n });\r\n };\r\n\r\n const questionListArray = [\r\n 'IsSmall',\r\n 'IsNotListed',\r\n 'IsProfitNotShared',\r\n 'IsNotJoined',\r\n 'IsNotTaken',\r\n 'IsNotProblemic',\r\n ];\r\n\r\n const checkifAllQuestionListValuesCheck = () =>\r\n questionnaire &&\r\n questionnaire.IsSmall != null &&\r\n questionnaire &&\r\n questionnaire.IsNotListed != null &&\r\n questionnaire &&\r\n questionnaire.IsProfitNotShared != null &&\r\n questionnaire &&\r\n questionnaire.IsNotJoined != null &&\r\n questionnaire &&\r\n questionnaire.IsNotTaken != null &&\r\n questionnaire &&\r\n questionnaire.IsNotProblemic != null;\r\n\r\n const checkifAllQuestionListReqCommentHasNoValidationError = () =>\r\n questionnaire &&\r\n !questionListArray.some(\r\n (val) =>\r\n questionnaire[val] == false &&\r\n isCommentFilled(questionnaire[`${val}Comment`]) !== false\r\n );\r\n\r\n const returnCountryNameById = (id) => {\r\n const find = formatCountryJson.find((val) => val.value == id);\r\n return find ? find[0]?.label : '-';\r\n };\r\n\r\n const validateItsNumber = (evt) => {\r\n var theEvent = evt || window.event;\r\n\r\n // Handle paste\r\n let key = '';\r\n if (theEvent.type === 'paste') {\r\n key = evt.clipboardData.getData('text/plain');\r\n } else {\r\n // Handle key press\r\n key = theEvent.keyCode || theEvent.which;\r\n key = String.fromCharCode(key);\r\n }\r\n const regex = /[0-9]/;\r\n if (!regex.test(key)) {\r\n theEvent.returnValue = false;\r\n if (theEvent.preventDefault) theEvent.preventDefault();\r\n }\r\n };\r\n\r\n const [administrationInvoices, setAdministrationInvoices] = useState([]);\r\n const administrationInvoicesTableHeader = [\r\n 'Sąskaitos numeris',\r\n 'Failo pavadinimas',\r\n 'Sukūrimo data ',\r\n 'Paskolos paruošimo mokestis, Eur',\r\n 'Veiksmai',\r\n ];\r\n\r\n const GetAdministrationInvoices = async () => {\r\n try {\r\n const response = await Api.GetAdministrationInvoices(requestId);\r\n const cleanedResponse = response.filter((val) => val != null);\r\n setAdministrationInvoices(\r\n cleanedResponse?.[0] !== null ? cleanedResponse : []\r\n );\r\n } catch (e) {\r\n // errorHandler(e, e?.response?.status, e?.response && e?.response?.data?.ErrorMessage, t('Ok'));\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (requestSystemInfo?.RequestId) {\r\n GetAdministrationInvoices();\r\n }\r\n }, [requestSystemInfo?.RequestId]);\r\n\r\n const getContractName = (id) => {\r\n return `Sąskaita_${id}.pdf`;\r\n };\r\n\r\n const DownloadAdministrationInvoice = async (contractId, contractNumber) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadAdministrationInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const [selfDeclarationData, setSelfDeclarationtData] = useState(null);\r\n const onSelfDeclarationChange = ({ target: { name, value } }) => {\r\n setDeclarationInfo({ ...declarationInfo, [name]: value });\r\n };\r\n\r\n const DownloadChangeConditionsInvoice = async (\r\n contractId,\r\n contractNumber\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadChangeConditionsInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const validateSelfDeclaration = () => {\r\n let error = null;\r\n SelfDeclarationInfo.forEach((item) => {\r\n if (\r\n item.type === 'input' &&\r\n validateTextinput(selfDeclarationData?.[item.name], 'error', 1)\r\n ) {\r\n error = 'error';\r\n } else if (\r\n item.type === 'checkbox' &&\r\n selfDeclarationData?.[item.name] !== true\r\n ) {\r\n error = 'error';\r\n }\r\n });\r\n return error;\r\n };\r\n\r\n const checkIf2021FinancesToShow = () => {\r\n const checkDate = new Date('2022-06-01');\r\n const now = new Date();\r\n if (now > checkDate) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const onSuppliersChange = (index, propName, e) => {\r\n suppliers[index][propName] = e.target.value;\r\n setSuppliers([...suppliers]);\r\n };\r\n\r\n const approveRequestWithDocsForChangeConditions = () => {\r\n setModalData({ requestId });\r\n\r\n dispatch(\r\n actions.modals.setModalConfirmAction(\r\n requestId,\r\n 'APPROVE_REQUEST_WITH_DOCS_FOR_CHANGE_CONDITIONS'\r\n )\r\n );\r\n };\r\n\r\n const checkResponsibilityPersonsLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n\r\n if (\r\n input?.name ||\r\n input?.surname ||\r\n input?.birthDate ||\r\n input?.position ||\r\n input?.country ||\r\n input?.personRelation\r\n ) {\r\n if (\r\n input?.name &&\r\n input?.name?.length > 0 &&\r\n input.surname &&\r\n input?.surname?.length > 0 &&\r\n input?.birthDate &&\r\n input?.birthDate?.length > 0 &&\r\n input?.position &&\r\n input?.position?.length > 0 &&\r\n input?.country &&\r\n input?.country.length > 0 &&\r\n input?.personRelation &&\r\n input?.personRelation?.length > 0\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n };\r\n\r\n const checkControlingPersonsLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n if (\r\n input?.name ||\r\n input?.surname ||\r\n input?.citizenshipId ||\r\n input?.personCode ||\r\n input?.position ||\r\n input?.sharesPart ||\r\n input?.votingPart\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.surname &&\r\n input.surname.length > 0 &&\r\n input.citizenshipId &&\r\n input.citizenshipId.length > 0 &&\r\n input.personCode &&\r\n input.personCode.length > 0 &&\r\n input.position &&\r\n input.position.length > 0 &&\r\n input.sharesPart &&\r\n input.sharesPart.length > 0 &&\r\n input.votingPart &&\r\n input.votingPart.length > 0\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n return false;\r\n }\r\n };\r\n const checkControlingCompaniesLinesFullyFilled = (data, index) => {\r\n if (data) {\r\n let input = data[index];\r\n if (\r\n input?.name ||\r\n input?.code ||\r\n input?.country ||\r\n input?.sharesPart ||\r\n input?.votingPart\r\n ) {\r\n if (\r\n input.name &&\r\n input.name.length > 0 &&\r\n input.code &&\r\n input.code.length > 0 &&\r\n input.sharesPart &&\r\n input.sharesPart.length > 0 &&\r\n input.votingPart &&\r\n input.votingPart.length > 0\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n return false;\r\n }\r\n };\r\n\r\n const enforceMinMax = (el) => {\r\n if (el?.target?.value != '') {\r\n if (parseInt(el?.target?.value) < parseInt(el?.target?.min)) {\r\n el = el?.target?.min;\r\n return false;\r\n }\r\n if (parseInt(el?.target?.value) > parseInt(el?.target?.max)) {\r\n el = el?.target?.max;\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n {requestSystemInfo && requestSystemInfo.IsReserved && (\r\n

\r\n Dėmesio! Šiuo metu jau yra gauta tiek paraiškų, kurių\r\n finansavimui bus išnaudota visa šiai finansinei priemonei\r\n skirta lėšų suma. Dėl šios priežasties Jūsų teikiama paraiška\r\n bus įtraukiama į rezervinį sąrašą. Paraiška bus nagrinėjama\r\n tuo atveju, jei liktų lėšų arba būtų nuspręsta skirti\r\n papildomą sumą priemonei įgyvendinti.\r\n

\r\n )}\r\n\r\n
\r\n
\r\n

Paraiškos duomenys

\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != 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

Kontaktinė informacija

\r\n {ceoDataList != null && requestData.ContactInfo != null && (\r\n
\r\n {ceoDataListArray.map((key, i) => (\r\n
\r\n \r\n {notValid && !disableCheck(key) && (\r\n

\r\n {validateTextinput(\r\n ceoDataList[key],\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n

\r\n )}\r\n
\r\n ))}\r\n\r\n
\r\n \r\n {notValid && (\r\n \r\n {validateEmail(ceoDataList['ApplicantEmail'])}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n\r\n {notValid && (\r\n \r\n {validatePhone(\r\n ceoDataList['ApplicantPhone'],\r\n 'telefono numeris'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n\r\n {/* {Company data andly for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n

Duomenys apie Verslo subjektą

\r\n {companyDataList != null &&\r\n requestData.CompanyData != null && (\r\n
\r\n {companyDataListArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {(!viewWindow ||\r\n evrksList.length === 0 ||\r\n !companyDataList.CompanyEvrk) && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val, j) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n {viewWindow &&\r\n companyDataList.CompanyEvrk && (\r\n \r\n {companyDataList.CompanyEvrk} -{' '}\r\n {\r\n evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n }\r\n \r\n )}\r\n \r\n\r\n {/*\r\n {!companyDataList.CompanyEvrk && (\r\n \r\n -\r\n \r\n )}\r\n{(!viewWindow ||\r\n evrksList.length === 0 ||\r\n !companyDataList.CompanyEvrk) && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {companyDataList.CompanyEvrk &&\r\n isSelectedEvrkInTheList(\r\n companyDataList.CompanyEvrk\r\n ) && (\r\n \r\n {`${\r\n companyDataList.CompanyEvrk\r\n } - ${\r\n evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n ? evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n : companyDataList.CompanyEvrk\r\n }`}\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n */}\r\n {!viewWindow &&\r\n // !companyDataList.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos.\r\n Paraiškos užpildyti ir pateikti\r\n nepavyks.\r\n

\r\n )}\r\n {notValid && (\r\n \r\n {!companyDataList.CompanyEvrk\r\n ? 'Privalote pasirinkti pagrindinę ekonominę veiklą'\r\n : ''}\r\n

\r\n )}\r\n \r\n *Jeigu įmonės pagrindinė veikla nesutampa\r\n su užregistruota, patikslinkite pagrindinę\r\n įmonės vykdomą veiklą VMI.\r\n

\r\n
\r\n );\r\n } else if (\r\n key === 'CompanyManagerCitizenshipId'\r\n ) {\r\n return (\r\n \r\n \r\n onCountryInputChange(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {companyDataList.CompanyManagerCitizenshipId ===\r\n requestData.CompanyData\r\n .CompanyManagerCitizenshipId &&\r\n companyDataList.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val, j) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!companyDataList.CompanyManagerCitizenshipId\r\n ? 'Privalote pasirinkti pilietybę'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (key === 'Iban') {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n

\r\n {!isValidIban(\r\n companyDataList[key]\r\n ) && (\r\n

\r\n Neteisingas formatas\r\n

\r\n )}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress' //|| key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n

\r\n {key === 'CompanyPhone'\r\n ? validatePhone(\r\n companyDataList[key],\r\n 'telefono numeris'\r\n )\r\n : key === 'CompanyEmail' ||\r\n key === 'ContractEmail'\r\n ? validateEmail(\r\n companyDataList[key],\r\n 'elektroninis paštas'\r\n )\r\n : key === 'Iban'\r\n ? !isValidIban(\r\n companyDataList[key]\r\n ) && (\r\n

\r\n Neteisingas formatas\r\n

\r\n )\r\n : validateTextinput(\r\n companyDataList[key],\r\n 'privalomas laukas',\r\n 1\r\n )}\r\n

\r\n )}\r\n
\r\n );\r\n }\r\n })}\r\n
\r\n \r\n Verslo subjekto statusas\r\n \r\n onCompanySizeTypeChange(e)}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={companyDataList.CompanySizeType}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (companyDataList.CompanySizeType === null ||\r\n companyDataList.CompanySizeType.length ===\r\n 0) && (\r\n

\r\n Privalote nurodyti verslo subjekto statusą\r\n

\r\n )}\r\n
\r\n \r\n

\r\n Ar Verslo subjektas, teikiantis paraišką,\r\n priklauso Įmonių grupei?\r\n

\r\n\r\n \r\n hasParentCompany(e)}\r\n >\r\n \r\n Ne\r\n \r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių\r\n įmonių kodus. Jei esate didelė įmonė, nurodykite\r\n visus Įmonių grupei priklausančių įmonių kodus.\r\n Pvz. 111111111, 222222222\r\n

\r\n {\r\n if (\r\n e.which !== 48 &&\r\n e.which !== 49 &&\r\n e.which !== 50 &&\r\n e.which !== 51 &&\r\n e.which !== 52 &&\r\n e.which !== 53 &&\r\n e.which !== 54 &&\r\n e.which !== 55 &&\r\n e.which !== 56 &&\r\n e.which !== 57 &&\r\n e.which !== 8 &&\r\n e.which !== 188 &&\r\n e.which !== 190 &&\r\n e.which !== 44 &&\r\n e.which !== 32\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n />\r\n\r\n {notValid && (\r\n \r\n {controllingCompaniesInputValidation(\r\n companyDataList.ParentCompanyCodesFromRequest,\r\n !hasParentCompanyState\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n \r\n )}\r\n\r\n {/* {Company data for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n
\r\n {companyDataList != null &&\r\n requestData.FinancialData &&\r\n requestData.RequestSystemInfo && (\r\n <>\r\n

Finansiniai duomenys

\r\n {requestData.RequestSystemInfo.Status !== 1 && (\r\n // requestData.RequestSystemInfo.Status !== 6 && (\r\n \r\n \r\n
\r\n )}\r\n\r\n {companyQuestionList?.Fsi2021Submitted &&\r\n checkIf2021FinancesToShow() && (\r\n <>\r\n

\r\n 2021m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2021.map((key, i) => {\r\n if (\r\n key === 'Fsi2020Submitted' ||\r\n key === 'Fsi2021Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n \r\n /\r\n

\r\n );\r\n } else {\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 {companyQuestionList?.Fsi2020Submitted && (\r\n <>\r\n

\r\n 2020m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2020.map((key, i) => {\r\n if (\r\n key === 'Fsi2019Submitted' ||\r\n key === 'Fsi2020Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n

\r\n /\r\n

\r\n );\r\n } else {\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 {companyQuestionList?.Fsi2019Submitted &&\r\n !checkIf2021FinancesToShow() && (\r\n <>\r\n

\r\n 2019m. finansinės atskaitomybės duomenys{' '}\r\n

\r\n
\r\n {\r\n // requestData.RequestSystemInfo.Status !== 1 &&\r\n // requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray2019.map((key, i) => {\r\n if (\r\n key === 'Fsi2019Submitted' ||\r\n key === 'Fsi2020Submitted'\r\n ) {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n key\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (key === 'br') {\r\n return (\r\n \r\n /\r\n

\r\n );\r\n } else {\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 {/* {Person data data for FA} */}\r\n {loginType === 'Individual' && (\r\n
\r\n

Duomenys apie verslo subjektą

\r\n {applicantData != null &&\r\n requestData.ApplicantData != null && (\r\n
\r\n {applicantDataArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n {notValid &&\r\n !isRequeredToCheck(key) &&\r\n applicantData[key] !== true && (\r\n \r\n Turite sutikti su sąlyga\r\n

\r\n )}\r\n
\r\n
\r\n );\r\n } else if (isDate(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n \r\n handleApplicantDateChange(e, key)\r\n }\r\n maxDate={\r\n key ===\r\n 'IndividualActivityCertificateNumberStartDate' ||\r\n key === 'BirthDate'\r\n ? new Date()\r\n : null\r\n }\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={viewWindow}\r\n />\r\n \r\n clearContractStartDate(key)\r\n }\r\n >\r\n X\r\n \r\n {notValid && applicantData[key] == null && (\r\n \r\n Turite pasirinkti datą\r\n

\r\n )}\r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {!applicantData.CompanyEvrk && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {applicantData.CompanyEvrk &&\r\n isSelectedEvrkInTheList(\r\n applicantData.CompanyEvrk\r\n ) && (\r\n \r\n {`${applicantData.CompanyEvrk} - ${\r\n evrkFull[applicantData.CompanyEvrk]\r\n ? evrkFull[\r\n applicantData.CompanyEvrk\r\n ]\r\n : applicantData.CompanyEvrk\r\n }`}\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n \r\n {/*{!viewWindow &&\r\n // !applicantData.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos. Paraiškos\r\n užpildyti ir pateikti nepavyks.\r\n

\r\n )}*/}\r\n {notValid && (\r\n \r\n {!applicantData.CompanyEvrk\r\n ? '* neįvestas privalomas laukas'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (key === 'CompanyManagerCitizenshipId') {\r\n return (\r\n \r\n \r\n onCountryInputChange(e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n }}\r\n >\r\n {applicantData.CompanyManagerCitizenshipId ===\r\n requestData.ApplicantData\r\n .CompanyManagerCitizenshipId &&\r\n applicantData.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n applicantData.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n\r\n {notValid && !viewWindow && (\r\n \r\n {!applicantData.CompanyManagerCitizenshipId\r\n ? 'Privalote pasirinkti pilietybę'\r\n : ''}\r\n

\r\n )}\r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress' //|| key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n {!isRequeredToCheck(key) &&\r\n notValid &&\r\n !disableCheck(key) && (\r\n

\r\n {key !==\r\n 'IndividualActivityCertificateNumber2' ? (\r\n validateTextinput(\r\n applicantData[key],\r\n 'privalomas laukas',\r\n 1\r\n )\r\n ) : (\r\n

\r\n {isOldEvrkValid(applicantData[key])}\r\n

\r\n )}\r\n

\r\n )}\r\n
\r\n );\r\n }\r\n })}\r\n
\r\n \r\n {notValid && !disableCheck('CompanyPhone') && (\r\n

\r\n {validatePhone(\r\n applicantData['CompanyPhone'],\r\n 'telefono numeris'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('CompanyEmail') && (\r\n

\r\n {validateEmail(\r\n applicantData['CompanyEmail'],\r\n 'elektroninis paštas'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('ContractEmail') && (\r\n

\r\n {validateEmail(\r\n applicantData['ContractEmail'],\r\n 'elektroninis paštas'\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && !disableCheck('Iban') && (\r\n

\r\n {!isValidIban(applicantData['Iban']) && (\r\n

\r\n Neteisingas formatas\r\n

\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n Verslo subjekto statusas\r\n \r\n onCompanySizeTypeChange(e)}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n // color: '#2e2d2d',\r\n }}\r\n value={applicantData.CompanySizeType}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (applicantData.CompanySizeType === null ||\r\n applicantData.CompanySizeType.length === 0) && (\r\n

\r\n Privalote nurodyti verslo subjekto statusą\r\n

\r\n )}\r\n
\r\n \r\n

\r\n Ar Verslo subjektas, teikiantis paraišką,\r\n priklauso Įmonių grupei?\r\n

\r\n\r\n \r\n hasParentCompany(e)}\r\n >\r\n \r\n Ne\r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n \r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių\r\n įmonių kodus. Jei esate didelė įmonė, nurodykite\r\n visus Įmonių grupei priklausančių įmonių kodus.\r\n Pvz. 111111111, 222222222.\r\n

\r\n {\r\n if (\r\n e.which !== 48 &&\r\n e.which !== 49 &&\r\n e.which !== 50 &&\r\n e.which !== 51 &&\r\n e.which !== 52 &&\r\n e.which !== 53 &&\r\n e.which !== 54 &&\r\n e.which !== 55 &&\r\n e.which !== 56 &&\r\n e.which !== 57 &&\r\n e.which !== 8 &&\r\n e.which !== 188 &&\r\n e.which !== 190 &&\r\n e.which !== 44 &&\r\n e.which !== 32\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n />\r\n\r\n {notValid && (\r\n \r\n {controllingCompaniesInputValidation(\r\n applicantData.ParentCompanyCodesFromRequest,\r\n !hasParentCompanyState\r\n )}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {notValid && (\r\n \r\n {isIntegerNumber(\r\n applicantData['NumberOfEmployees']\r\n )}\r\n

\r\n )}\r\n
\r\n \r\n )}\r\n \r\n )}\r\n \r\n\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest && (\r\n

\r\n Įmonių grupės finansinių atskaitomybių informacija\r\n

\r\n )}\r\n\r\n {/* ControllingCompaniesFromRequest */}\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest.map((val, i) => {\r\n return (\r\n <>\r\n \r\n\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

\r\n Įmonė nerasta arba jos duomenys dar nepatikrinti.\r\n

\r\n )}\r\n \r\n );\r\n })}\r\n\r\n {/* Pep AML data */}\r\n\r\n

AML ir PEP

\r\n\r\n {pepData && (\r\n
\r\n
\r\n

\r\n Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar\r\n jų artimiesiems šeimos nariams[1] arba artimiesiems\r\n pagalbininkams[2] šiuo metu arba per paskutinius 12\r\n mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n

\r\n Jei pažymėjote \"taip\", nurodykite asmenis ir jų informaciją:\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n \r\n Asmens kodas (jei ne Lietuvos pilietis - gimimo data)\r\n \r\n Pareigos\r\n \r\n Valstybė, kurioje asmuo yra PEP\r\n \r\n \r\n Asmens ryšys su Verslo subjekte veikiančiais asmenimis\r\n \r\n
\r\n {/* {notValid &&\r\n pepData.HasImportantResponsibilities &&\r\n checkResponsibilityPersons(\r\n pepData.ImportantResponsibilityPersons\r\n ) && (\r\n \r\n Užpildykite asmenis ir jų informaciją\r\n

\r\n )} */}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n checkResponsibilityPersonsLinesFullyFilled(\r\n pepData.ImportantResponsibilityPersons,\r\n 4\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą pradėtą asmens arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n \r\n {pepData &&\r\n pepData.ImportantResponsibilityPersons &&\r\n pepData.ImportantResponsibilityPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'country') {\r\n return (\r\n \r\n \r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData\r\n .ImportantResponsibilityPersons?.[k]\r\n ?.country) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n \r\n );\r\n } else {\r\n return (\r\n \r\n \r\n onImportantResponsibilitiesChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n \r\n );\r\n }\r\n })\r\n )}\r\n \r\n\r\n
\r\n \r\n
\r\n

Paaiškinimas:

\r\n

\r\n [1] Artimieji šeimos nariai - sutuoktinis, asmuo, su kuriuo\r\n registruota partnerystė, tėvai, broliai, seserys, vaikai ir\r\n vaikų sutuoktiniai, vaikų sugyventiniai.\r\n
\r\n [2] Artimas pagalbininkas:\r\n
\r\n 1) fizinis asmuo, kuris su svarbias viešąsias pareigas\r\n einančiu ar ėjusiu asmeniu yra to paties juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos dalyvis\r\n arba palaiko kitus dalykinius santykius;\r\n
\r\n 2) fizinis asmuo, kuris yra vienintelis juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos,\r\n įsteigtos ar veikiančios de facto siekiant turtinės ar\r\n kitokios asmeninės naudos svarbias viešąsias pareigas\r\n einančiam ar ėjusiam asmeniui, naudos gavėjas.\r\n
\r\n [3] Svarbios viešosios pareigos – pareigos Lietuvos\r\n Respublikoje, Europos Sąjungoje, tarptautinėse ar užsienio\r\n valstybių institucijose:\r\n
\r\n 1) valstybės vadovas, vyriausybės vadovas, ministras,\r\n viceministras arba ministro pavaduotojas, valstybės\r\n sekretorius, parlamento, vyriausybės arba ministerijos\r\n kancleris;\r\n
\r\n 2) parlamento narys;\r\n
\r\n 3) aukščiausiųjų teismų, konstitucinių teismų ar kitų\r\n aukščiausiųjų teisminių institucijų, kurių sprendimai negali\r\n būti skundžiami, narys;\r\n
\r\n 4) savivaldybės meras, savivaldybės administracijos\r\n direktorius;\r\n
\r\n 5) aukščiausiosios valstybių audito ir kontrolės\r\n institucijos valdymo organo narys ar centrinio banko\r\n valdybos pirmininkas, jo pavaduotojas ar valdybos narys;\r\n
\r\n 6) ambasadorius, laikinasis reikalų patikėtinis, Lietuvos\r\n kariuomenės vadas, kariuomenės pajėgų ir junginių vadai,\r\n Gynybos štabo viršininkas ar užsienio valstybių aukšto rango\r\n ginkluotųjų pajėgų karininkas;\r\n
\r\n 7) valstybės įmonės, akcinės bendrovės, uždarosios akcinės\r\n bendrovės, kurių akcijos ar dalis akcijų, suteikiančių\r\n daugiau kaip 1/2 visų balsų šių bendrovių visuotiniame\r\n akcininkų susirinkime, priklauso valstybei nuosavybės teise,\r\n valdymo ar priežiūros organo narys;\r\n
\r\n 8) savivaldybės įmonės, akcinės bendrovės, uždarosios\r\n akcinės bendrovės, kurių akcijos ar dalis akcijų,\r\n suteikiančių daugiau kaip 1/2 visų balsų šių bendrovių\r\n visuotiniame akcininkų susirinkime, priklauso savivaldybei\r\n nuosavybės teise ir kurios laikomos didelėmis įmonėmis pagal\r\n Lietuvos Respublikos įmonių finansinės atskaitomybės\r\n įstatymą, valdymo ar priežiūros organo narys;\r\n
\r\n 9) tarptautinės tarpvyriausybinės organizacijos vadovas, jo\r\n pavaduotojas, valdymo ar priežiūros organo narys;\r\n
\r\n 10) politinės partijos vadovas, jo pavaduotojas, valdymo\r\n organo narys.\r\n
\r\n

\r\n \r\n Nurodykite fizinius asmenis, kurie tiesiogiai ar\r\n netiesiogiai turi arba kontroliuoja jūsų Verslo subjekto\r\n daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie\r\n tiesiogiai ar netiesiogiai kontroliuoja jūsų Verslo subjektą\r\n kitais būdais\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n \r\n Pilietybė*\r\n \r\n \r\n Asmens kodas (jei ne Lietuvos pilietis - gimimo data)\r\n \r\n Pareigos\r\n Akcijų dalis proc.\r\n \r\n Balsavimo teisių dalis proc.\r\n \r\n \r\n {notValid &&\r\n checkControllingPersons(pepData.ControllingPersons) && (\r\n \r\n Užpildykite asmenis ir jų informaciją\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingPersons &&\r\n checkControlingPersonsLinesFullyFilled(\r\n pepData.ControllingPersons,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n\r\n \r\n {pepData &&\r\n pepData.ControllingPersons &&\r\n pepData.ControllingPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'citizenshipId') {\r\n return (\r\n
\r\n \r\n \r\n onControllingPersonsChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {requestData?.PepData?.ControllingPersons\r\n ?.citizenshipId?.[k] && (\r\n \r\n {returnCountryNameById(\r\n requestData?.PepData\r\n ?.ControllingPersons?.[k]\r\n ?.citizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n enforceMinMax(e)}\r\n onKeyPress={(e) => {\r\n if (\r\n e.which === 101 &&\r\n (p === 'sharesPart' || p === 'votingPart')\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n onChange={(e) =>\r\n onControllingPersonsChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n

\r\n * jeigu asmuo be pilietybės – nurodoma valstybė,\r\n kuri išdavė asmens tapatybę patvirtinantį dokumentą\r\n

\r\n

\r\n Nurodykite įmones, kurios tiesiogiai ar netiesiogiai turi\r\n arba kontroliuoja jūsų Verslo subjekto daugiau negu 25 proc.\r\n akcijų ar balsavimo teisių\r\n

\r\n

\r\n Jeigu nurodėte įmonę(-es), kuri(-os) tiesiogiai ar\r\n netiesiogiai turi arba kontroliuoja jūsų Verslo subjekto\r\n daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina\r\n užpildyti aukščiau prašomą informaciją apie fizinius asmenis\r\n - netiesioginius kliento akcininkus (dalyvius) arba asmenis,\r\n kitaip kontroliuojančius kliento valdymą.\r\n

\r\n

Įmonių sąsajos

\r\n \r\n \r\n Juridinio asmens pavadinimas\r\n \r\n Juridinio asmens kodas\r\n \r\n Juridinio asmens registracijos šalis\r\n \r\n Akcijų dalis proc.\r\n \r\n Balsavimo teisių dalis proc.\r\n \r\n \r\n {/*} {notValid &&\r\n checkControllingCompanies(pepData.ControllingCompanies) && (\r\n \r\n Užpildykite asmenis ir jų informaciją\r\n

\r\n )}*/}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 0\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 1\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 2\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 3\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 4\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n {notValid &&\r\n pepData.ControllingCompanies &&\r\n checkControlingCompaniesLinesFullyFilled(\r\n pepData.ControllingCompanies,\r\n 5\r\n ) && (\r\n \r\n Pilnai užpildykite pradėtą asmens informaciją arba\r\n pašalinkite pradėtą eilutę\r\n

\r\n )}\r\n \r\n {pepData &&\r\n pepData.ControllingCompanies &&\r\n pepData.ControllingCompanies.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'country') {\r\n return (\r\n
\r\n \r\n \r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n marginTop: '0.5rem',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData.PepData\r\n .ControllingCompanies?.[k]\r\n ?.country) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n enforceMinMax(e)}\r\n type={\r\n p === 'sharesPart' || p === 'votingPart'\r\n ? 'number'\r\n : 'string'\r\n }\r\n onKeyPress={(e) => {\r\n if (\r\n e.which === 101 &&\r\n (p === 'sharesPart' || p === 'votingPart')\r\n ) {\r\n e.preventDefault();\r\n }\r\n }}\r\n disabled={viewWindow}\r\n onChange={(e) =>\r\n onControllingCompaniesChange(k, p, e)\r\n }\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n \r\n PASTABA: Jei tokių fizinių ir (ar) juridinių asmenų nėra\r\n (nei vienas iš jų neturi arba nekontroliuoja daugiau nei 25\r\n proc. akcijų ar balsavimo teisių), prašome nurodyti\r\n pagrindinius akcininkus, turinčius daugiausiai akcijų.\r\n

\r\n \r\n )}\r\n\r\n {/* {Tiekėjo (-ų) informacija start} */}\r\n

Tiekėjo (-ų) informacija

\r\n\r\n \r\n {' '}\r\n \r\n Tiekėjo įmonės/asmens pavadinimas\r\n \r\n Tiekėjo įmonės/asmens kodas\r\n Įmonės registracijos šalis\r\n \r\n Tiekėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n {checkSuppliers(suppliers)}\r\n {notValid && suppliers && checkSuppliers(suppliers) && (\r\n \r\n Užpildykite bent vieną tiekėją\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled1(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled2(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled3(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n {notValid &&\r\n suppliers &&\r\n !checkSuppliers(suppliers) &&\r\n checkIfAllSuppliersLinesFullyFilled4(suppliers) && (\r\n \r\n Pilnai užpildykite pradėtą tiekėją arba pašalinkite pradėtą\r\n eilutę\r\n

\r\n )}\r\n \r\n {suppliers &&\r\n suppliers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'registrationCountryId') {\r\n return (\r\n
\r\n \r\n onSuppliersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]\r\n ?.registrationCountryId) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'evrk') {\r\n return (\r\n \r\n onSuppliersChange(k, p, e)}\r\n disabled={viewWindow}\r\n style={{\r\n background: viewWindow\r\n ? 'rgb(241, 240, 241'\r\n : '#fff',\r\n height: 'auto',\r\n }}\r\n >\r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]?.evrk) && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {Object.keys(evrkFullWithZeros).map((val, j) => (\r\n \r\n {`${val} - ${evrkFullWithZeros[val]}`}\r\n \r\n ))}\r\n\r\n {Object.keys(evrkFullWithoutZeros).map(\r\n (val, j) => (\r\n \r\n {`${val} - ${evrkFullWithoutZeros[val]}`}\r\n \r\n )\r\n )}\r\n\r\n {viewWindow && (\r\n \r\n {requestData?.Suppliers?.[k]?.evrk\r\n ? `${requestData?.Suppliers?.[k]?.evrk} - ${\r\n evrkFull[\r\n requestData?.Suppliers?.[k]?.evrk\r\n ]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n onSuppliersChange(k, p, e)}\r\n value={obj[p]}\r\n />\r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n PASTABA: turi būti pateikti 5 pagrindiniai tiekėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n tiekėjas.\r\n

\r\n \r\n\r\n

Informacija Paskolos sutarties parengimui

\r\n {loanInfo && (\r\n
\r\n
\r\n \r\n\r\n {notValid && !disableCheck('LoanSum') && (\r\n

\r\n {isLoadSumValid(loanInfo.LoanSum)}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPurposeId')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid &&\r\n (loanInfo.LoanPurposeId == null ||\r\n loanInfo.LoanPurposeId == null) && (\r\n

\r\n Privalote pasirinkti paskolos paskirtį\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanTerm')}\r\n \r\n \r\n\r\n {notValid && !disableCheck('LoanTerm') && (\r\n

\r\n {LoanTermValidation(loanInfo.LoanTerm)}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n {requestDataLabelTranslation('LoanDelayTerm')}\r\n \r\n \r\n {notValid && !disableCheck('LoanDelayTerm') && (\r\n

\r\n {LoanDelayTermValidation(\r\n loanInfo.LoanDelayTerm,\r\n loanInfo.LoanTerm\r\n )}\r\n

\r\n )}\r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPaymentDay')}\r\n \r\n \r\n {[null, 5, 15, 25].map((val) => (\r\n \r\n ))}\r\n \r\n\r\n {notValid &&\r\n (loanInfo.LoanPaymentDay == null ||\r\n loanInfo.LoanPaymentDay == 0) && (\r\n

\r\n Privalote pasirinkti pageidaujamą mokėjimo dieną\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n\r\n
\r\n

\r\n Nurodykite, kokiu tikslu norite pradėti dalykinius santykius\r\n su Invega\r\n

\r\n \r\n {notValid && (\r\n

\r\n {validateTextinput(reason, 'tikslas', 5)}\r\n

\r\n )}\r\n
\r\n\r\n {/* inline checkBoxes */}\r\n {checks != null && (\r\n \r\n {/* {Object.keys(checks).map((key, i) => { */}\r\n\r\n {agreementsCheckBoxesArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n \r\n {notValid &&\r\n !isRequeredToCheck(key) &&\r\n checks[key] !== true && (\r\n \r\n Turite sutikti su sąlyga\r\n

\r\n )}\r\n
\r\n );\r\n }\r\n })}\r\n \r\n )}\r\n\r\n {/*} {requestData.CompanyData && ShowQuestionList() && (\r\n
\r\n

\r\n ATITIKIMO KOMISIJOS REGLAMENTE (ES) NR.\r\n 651/2014 NUSTATYTIEMS PAREIŠKĖJUI TAIKOMIEMS REIKALAVIMAMS\r\n KLAUSIMYNAS\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {questionListArray.map((val, i) => (\r\n <>\r\n \r\n \r\n {val === 'IsSmall'\r\n ? isSmallText()\r\n : questionListTranslations(val)}\r\n \r\n \r\n \r\n {questionnaire?.[val] == false && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n \r\n
Kriterijai\r\n Taip\r\n Ne\r\n
\r\n {' '}\r\n \r\n {' '}\r\n {' '}\r\n \r\n \r\n
\r\n \r\n {notValid &&\r\n isCommentFilled(\r\n questionnaire[`${val}Comment`]\r\n ) && (\r\n \r\n {isCommentFilled(\r\n questionnaire?.[`${val}Comment`]\r\n )}\r\n

\r\n )}\r\n
\r\n {notValid && !checkifAllQuestionListValuesCheck() && (\r\n

\r\n Visi klausimyno atsakymai privalomo būti užpildyti\r\n

\r\n )}\r\n
\r\n
\r\n )}*/}\r\n\r\n \r\n\r\n \r\n\r\n
\r\n

\r\n Pastaba:
\r\n (1) Verslo subjektą apibūdinančius dokumentus: registracijos\r\n dokumentus, steigimo ir veiklos dokumentus (įstatus,\r\n nuostatus, bendrijos dalyvių sutartį ir pan.), vadovo asmens\r\n tapatybės dokumento kopijas, informaciją apie Verslo subjekto\r\n dalyvius (savininkus, naudos gavėjus), aktualią Paskolos\r\n gavėjo dalyvių struktūrą ir laisvos formos dokumentą, kuriame\r\n būtų nurodyti Paskolos gavėjo ir su juo susijusių įmonių\r\n ryšiai (netaikoma verslininkams, kurie neturi su jais\r\n susijusių įmonių);\r\n
\r\n (2) Veiklos/finansinių duomenų detalizacijos forma (kuri\r\n pateikiama{' '}\r\n \r\n https://ilte.lt/lt/doclib/eklnz8ia8gf3xddcszatns9ppdx1zhc4\r\n {' '}\r\n prie priemonės aprašymo), verslo planas/veiklos ir investicijų\r\n aprašymas (kuriame turi būti nurodyta verslo subjekto veikla)\r\n laisvos formos ir investiicijas pagrindžiantys dokumentai\r\n (pvz.: statybos, remonto ar rekonstrukcijos darbų sąmata,\r\n sutartys, kontraktai, užsakymai, ketinimų protokolai, perkamo\r\n ir/ar įkeičiamo turto vertinimas, planuojamo įsigyti turto\r\n sąrašas su kiekiais ir kainomis, komerciniai pasiūlymai,\r\n turimi leidimai ir licencijos, reikalingi veiklai vykdyti ar\r\n projektui įgyvendinti ir t.t);\r\n
\r\n {/*(3) Verslo subjektas teikdamas Paraišką ne pirmą kartą (t. y.,\r\n kai ankstesnė (-s) Paraiška (-os) buvo atmesta (-os), turi\r\n pateikti motyvuotą paaiškinimą dėl įvykusių pokyčių Verslo\r\n subjekto veikloje ir su Paraiška teikiamuose dokumentuose\r\n (duomenyse) bei pateikti paaiškinimą pagrindžiančius\r\n dokumentus;\r\n
\r\n (4) Jei paraišką teikia įgaliotas asmuo, tai turi būti\r\n pateiktas įgaliojimas (kuriame numatyta, kad asmuo turi teisė\r\n tik pateikti paraišką ją koreguoti bei pateikti atsakymus ir\r\n dokumentus iki Invegos sprendimo priėmimo) sudarytas Registrų\r\n centras VĮ araba notariškai patvirtintas bei įgalioto asmens\r\n tapatybės dokumentas.*/}\r\n

\r\n
\r\n\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != null &&\r\n requestSystemInfo.ProjectId === 1 && (\r\n <>\r\n
\r\n

\r\n (5) Kiti priemonės aprašyme nustatyti dokumentai:{' '}\r\n \r\n https://ilte.lt/paslaugos/25/tiesiogines-paskolos-nuo-karo-nukentejusiems-verslo-subjektams-122#c1260\r\n \r\n .\r\n

{' '}\r\n
\r\n \r\n )}\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != null &&\r\n requestSystemInfo.ProjectId === 2 && (\r\n <>\r\n
\r\n

\r\n (3) Kiti priemonės aprašyme nustatyti dokumentai:{' '}\r\n \r\n https://ilte.lt/paslaugos/25/tiesiogines-paskolos-nuo-karo-nukentejusiems-verslo-subjektams-122#c1260\r\n \r\n .\r\n

{' '}\r\n
\r\n \r\n )}\r\n {/*matymas */}\r\n {((signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null) ||\r\n requestData?.RequestSystemInfo?.Status == 11 ||\r\n requestData?.RequestSystemInfo?.Status == 12 ||\r\n requestData?.RequestSystemInfo?.Status == 3 ||\r\n requestData?.RequestSystemInfo?.Status == 4) && (\r\n <>\r\n

\r\n Sutartys, sprendimai ir prašymai\r\n

\r\n \r\n {signInInfo?.map((val, i) => (\r\n \r\n \r\n {fileTypeTranslation(signInInfo[i].FileType)}\r\n \r\n {signInInfo[i].FileName}\r\n \r\n {' '}\r\n {signInInfo[i].DocumentCreatedAt != null &&\r\n format(\r\n new Date(signInInfo[i].DocumentCreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].ApplicantSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].ApplicantSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].InvegaSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].InvegaSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n \r\n GetSignedDocumentContractUser(\r\n requestId,\r\n val.FileType,\r\n val.FileName,\r\n val?.ChangeConditionsFileId,\r\n val?.ApplicantSigningDate,\r\n val?.InvegaSigningDate\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n ))}\r\n
\r\n \r\n )}\r\n {administrationInvoices != null &&\r\n administrationInvoices.length > 0 &&\r\n requestData?.RequestSystemInfo?.Status !== 1 &&\r\n requestData?.RequestSystemInfo?.Status !== 2 &&\r\n requestData?.RequestSystemInfo?.Status !== 3 &&\r\n requestData?.RequestSystemInfo?.Status !== 4 &&\r\n requestData?.RequestSystemInfo?.Status !== 5 &&\r\n requestData?.RequestSystemInfo?.Status !== 6 &&\r\n requestData?.RequestSystemInfo?.Status !== 11 &&\r\n requestData?.RequestSystemInfo?.Status !== 12 && (\r\n <>\r\n

Sąskaitos

\r\n \r\n {administrationInvoices?.map(\r\n ({\r\n ContractId,\r\n CreatedAt,\r\n ContractNumber,\r\n AdministrationFee,\r\n ChangeConditionsFileId,\r\n }) => (\r\n \r\n {ContractNumber}\r\n \r\n {getContractName(ContractNumber)}\r\n \r\n \r\n {format(\r\n new Date(CreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {formatNumber(AdministrationFee)}\r\n \r\n \r\n \r\n !ContractId && ChangeConditionsFileId\r\n ? DownloadChangeConditionsInvoice(\r\n ChangeConditionsFileId,\r\n ContractNumber\r\n )\r\n : DownloadAdministrationInvoice(\r\n ContractId,\r\n ContractNumber\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n )\r\n )}\r\n \r\n \r\n )}\r\n\r\n {(requestData?.RequestSystemInfo?.Status === 11 ||\r\n requestData?.RequestSystemInfo?.Status === 19) && (\r\n \r\n )}\r\n\r\n {requestData &&\r\n requestData.CommentsHistory &&\r\n requestData.CommentsHistory.length ? (\r\n
\r\n

Komentarų istorija

\r\n {\r\n \r\n {requestData.CommentsHistory.map((data) => {\r\n return (\r\n \r\n \r\n {data.Date &&\r\n format(\r\n new Date(data.Date),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n {data.NewComment}\r\n \r\n );\r\n })}\r\n \r\n }\r\n
\r\n ) : null}\r\n\r\n
\r\n
\r\n {!viewWindow && (\r\n <>\r\n \r\n \r\n )}\r\n {viewWindow &&\r\n // requestData.DeclarationInfo &&\r\n //requestData.DeclarationInfo.EuLoanSum != null &&\r\n (requestData.RequestSystemInfo.Status === 1 ||\r\n requestData.RequestSystemInfo.Status === 5) && (\r\n <>\r\n approveRequest()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti paraišką\r\n \r\n \r\n )}\r\n\r\n {viewWindow &&\r\n // requestData.DeclarationInfo &&\r\n requestData.RequestSystemInfo.Status === 11 && (\r\n <>\r\n approveRequestWithDocs()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti paraišką su papildomais dokumentais\r\n \r\n \r\n )}\r\n\r\n {viewWindow &&\r\n //requestData.DeclarationInfo &&\r\n requestData.RequestSystemInfo.Status === 19 && (\r\n <>\r\n \r\n approveRequestWithDocsForChangeConditions()\r\n }\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti papildomus dokumentus sąlygų keitimui\r\n \r\n \r\n )}\r\n\r\n {viewWindow ? (\r\n <>\r\n {requestData.RequestSystemInfo &&\r\n (requestData.RequestSystemInfo.Status == 1 ||\r\n requestData.RequestSystemInfo.Status == 5) && (\r\n setViewWindow(false)}\r\n className=\"btn-dark-blue-standart\"\r\n >\r\n Redaguoti\r\n \r\n )}\r\n \r\n {' '}\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo &&\r\n (requestData.RequestSystemInfo.Status === 6 ||\r\n requestData.RequestSystemInfo.Status === 4) && (\r\n \r\n copyRequest(requestData.RequestSystemInfo.RequestId)\r\n }\r\n >\r\n Kurti naują paraišką esamos pagrindu\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo != null &&\r\n requestData.RequestSystemInfo.Status !== 1 && (\r\n \r\n getFinancialCriteriaResults(\r\n requestData.RequestSystemInfo.RequestId\r\n )\r\n }\r\n >\r\n Peržiūrėti atitikimo kriterijus\r\n \r\n )}\r\n\r\n {requestData.RequestSystemInfo != null &&\r\n (requestData.RequestSystemInfo.Status === 7 ||\r\n requestData.RequestSystemInfo.Status === 14) && (\r\n
\r\n \r\n
\r\n )}\r\n {requestData.RequestSystemInfo != null &&\r\n (requestData.RequestSystemInfo.Status === 9 ||\r\n requestData.RequestSystemInfo.Status === 16) && (\r\n
\r\n changeConditions()}\r\n >\r\n Pildyti prašymą dėl sutarties sąlygų keitimo\r\n \r\n
\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestData: state.dashboardState.requestData,\r\n loading: state.dashboardState.isOnSync,\r\n canSeeBills: state.dashboardState.savedRequestDesissionAccepted,\r\n financialCriteriaResults: state.dashboardState.financialCriteriaResults,\r\n signContractModalVisible: state.modalsState.signContractModalVisible,\r\n financialCriteriaModalVisible:\r\n state.modalsState.financialCriteriaModalVisible,\r\n signInInfo: state.dashboardState.signInInfo,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n changeConditionsModalVisible: state.modalsState.changeConditionsModalVisible,\r\n confirmWithFinancialCriteriaModalVisible:\r\n state.modalsState.confirmWithFinancialCriteriaModalVisible,\r\n confirmWithoutFinancialCriteriaModalVisible:\r\n state.modalsState.confirmWithoutFinancialCriteriaModalVisible,\r\n goBackConfirmationModalVisible:\r\n state.modalsState.goBackConfirmationModalVisible,\r\n confirmWithoutFinancialCriteriaForChangeConditionsModalVisible:\r\n state.modalsState\r\n .confirmWithoutFinancialCriteriaForChangeConditionsModalVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(NewRequest);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './doublecheckEvaluationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\n\r\nconst DoublecheckEvaluationModal = ({ open, id, dispatch, loading, type }) => {\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'doublecheckEvaluationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n if (type === 'manager') {\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(\r\n id,\r\n 'Manager',\r\n false\r\n )\r\n );\r\n } else {\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(id, 'User', false)\r\n );\r\n }\r\n\r\n const open2 = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open2));\r\n };\r\n\r\n const yes = () => {\r\n const open = {\r\n modalName: 'doublecheckEvaluationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n\r\n if (type === 'manager') {\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(id, 'Manager', true)\r\n );\r\n } else {\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(id, 'User', true)\r\n );\r\n }\r\n const open2 = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open2));\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n
\r\n

\r\n Šiai paraiškai dalis patikrų nebuvo vykdyta. Ar norite\r\n užklausti registrus ir pakartotinai patikrinti atitikimą?\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(DoublecheckEvaluationModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './regenerateDecisionDocModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\n\r\nimport { sumValidation } from './../../utils/auth/validations';\r\n\r\nconst RegenerateDecisionDocModal = ({ open, loading, dispatch, requestId }) => {\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'regenerateDecisionDocModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const regenerateDecisionDoc = () => {\r\n // sign\r\n dispatch(actions.modals.regenerateDecisionDocAction(requestId));\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n Ar tikrai norite sugeneruoti sprendimą iš naujo?\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(RegenerateDecisionDocModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './increaseInvegaLoanSumModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\nimport swal from 'sweetalert';\r\n\r\nconst InvegaLoanSumModal = ({ open, loading, dispatch, requestId }) => {\r\n const [sum, setSum] = useState(null);\r\n const [notValid, setNotvalid] = useState(false);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'increaseInvegaLoanSumModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const setValue = (e) => {\r\n setSum(e.target.value);\r\n };\r\n\r\n const isSumValid = () => {\r\n if (!sum) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n };\r\n\r\n const saveSum = () => {\r\n setNotvalid(true);\r\n if (isSumValid() == null) {\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.increaseInvegaLoanSum, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify({\r\n RequestId: requestId,\r\n Sum: sum,\r\n }),\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n swal({\r\n title: 'Paskolos suma sėkmingai padidinta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((err) => {\r\n console.log(err);\r\n swal({\r\n title: err.ErrorDescription,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n //.then((response) => response.json())\r\n .finally(() => {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n cancel();\r\n });\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n setValue(e)}\r\n >\r\n
\r\n {notValid &&

{isSumValid()}

}\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(InvegaLoanSumModal);\r\n","import React, { useEffect, useState } from 'react';\r\nimport DatePicker from 'react-datepicker';\r\nimport {\r\n format,\r\n setYear,\r\n setMonth,\r\n setDate,\r\n addMonths,\r\n getMonth,\r\n subDays,\r\n} from 'date-fns';\r\n\r\nimport { connect } from 'react-redux';\r\nimport styles from './confirmRequestModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport {\r\n isSumValid2,\r\n isInterestRateValid,\r\n isInterestVariableRateValid,\r\n validateTextinput,\r\n} from './../../utils/auth/validations';\r\n// import { errorhandle } from '../../utils/helpers/helpers';\r\n\r\nconst ConfirmRequestModal = ({\r\n open,\r\n requestId,\r\n loading,\r\n dispatch,\r\n comment,\r\n loanDelayTerm,\r\n invegaLoanSum2,\r\n invegaLoanInterestRate2,\r\n invegaLoanVariableInterestRate2,\r\n InvegaLoanPaymentTerm2,\r\n invegaContractNumber2,\r\n loanPurposeId,\r\n invegaSigningDate,\r\n invegaLoanDelayTerm2,\r\n invegaPaymentDate2,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [invegaLoanInterestRate, setInvegaLoanInterestRate] = useState(\r\n invegaLoanInterestRate2\r\n );\r\n const [invegaLoanVariableInterestRate, setInvegaLoanVariableInterestRate] =\r\n useState(invegaLoanVariableInterestRate2);\r\n const [invegaLoanPaymentTerm, setinvegaLoanPaymentTerm] = useState(\r\n InvegaLoanPaymentTerm2\r\n );\r\n\r\n const [generateInvoice, setGenerateInvoice] = useState(false);\r\n const [invoiceFee, setInvoiceFee] = useState(null);\r\n\r\n const [invegaLoanSum, setInvegaLoanSum] = useState(invegaLoanSum2);\r\n const [invegaContractNumber, setInvegaContractNumber] = useState(\r\n invegaContractNumber2\r\n );\r\n // const [invegaLoanDelayTermDate, setInvegaLoanDelayTermDate] = useState(\r\n // invegaLoanDelayTermDate2\r\n //);\r\n const [invegaPaymentDate, setInvegaPaymentDate] =\r\n useState(invegaPaymentDate2);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const [invegaLoanDelayTerm, setInvegaLoanDelayTerm] = useState(\r\n loanDelayTerm ? loanDelayTerm : null\r\n );\r\n //const [firstInterestChangeDate, setfirstInterestChangeDate] = useState(null);\r\n const [euriborChangeDate, seteuriborChangeDate] = useState(null);\r\n const [interestTypeId, setInterestTypeId] = useState(1);\r\n const [euriborPeriodId, setEuriborPeriodId] = useState(3);\r\n\r\n const [invegaLoanPurposeId, setInvegaLoanPurposeId] = useState(loanPurposeId);\r\n //console.log(invegaLoanPurposeId);\r\n const validateTextinput = (val, name, length, msg = 'Neįvestas') => {\r\n if (val == null || val.length === 0) {\r\n return `${msg} ${name} `;\r\n } else if (length == null ? val.length < length : val.length < length) {\r\n return `* per trumpas ${name} `;\r\n } else {\r\n return null;\r\n }\r\n };\r\n\r\n const cancel = () => {\r\n setNotValid(false);\r\n setInvegaLoanInterestRate(invegaLoanInterestRate2);\r\n setInvegaLoanVariableInterestRate(invegaLoanVariableInterestRate2);\r\n setinvegaLoanPaymentTerm(InvegaLoanPaymentTerm2);\r\n setInvegaLoanSum(invegaLoanSum2);\r\n setinvegaLoanPaymentTerm(null);\r\n //setfirstInterestChangeDate(null);\r\n seteuriborChangeDate(null);\r\n setInvegaContractNumber(invegaContractNumber2);\r\n //setInterestTypeId(null);\r\n //setEuriborPeriodId(null);\r\n setGenerateInvoice(false);\r\n setFileToUpload(null);\r\n setInvoiceFee(null);\r\n //setInvegaLoanDelayTermDate(null);\r\n setInvegaPaymentDate(null);\r\n setInvegaLoanDelayTerm(invegaLoanDelayTerm2);\r\n setInvegaLoanPurposeId(loanPurposeId);\r\n\r\n const open = {\r\n modalName: 'confirmRequestModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const validatateIfSF = () => {\r\n if (!generateInvoice) {\r\n return true;\r\n }\r\n if (generateInvoice && isSumValid2(invoiceFee) === null) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const validateFieldsBasedOnInterestType = (selectedField) => {\r\n if (interestTypeId != '2') {\r\n return true;\r\n }\r\n return selectedField;\r\n };\r\n\r\n const yes = async () => {\r\n if (\r\n invegaLoanInterestRate &&\r\n //validateFieldsBasedOnInterestType(invegaLoanVariableInterestRate) &&\r\n invegaLoanPaymentTerm &&\r\n //validateFieldsBasedOnInterestType(euriborChangeDate) &&\r\n //validateFieldsBasedOnInterestType(euriborPeriodId) &&\r\n isSumValid2(invegaLoanSum) === null &&\r\n isInterestRateValid(invegaLoanInterestRate) === null &&\r\n //isInterestVariableRateValid(invegaLoanVariableInterestRate) === null &&\r\n invegaContractNumber &&\r\n // invegaLoanDelayTerm &&\r\n //interestTypeId &&\r\n //euriborPeriodId &&\r\n invegaLoanDelayTerm &&\r\n invegaPaymentDate &&\r\n validatateIfSF() &&\r\n fileToUpload\r\n //invegaLoanPurposeId\r\n ) {\r\n const formData = new FormData();\r\n const formattedData = invegaLoanPaymentTerm\r\n ? format(new Date(invegaLoanPaymentTerm), 'yyyy-MM-dd')\r\n : '';\r\n //const formattedData2 = firstInterestChangeDate\r\n // ? format(new Date(firstInterestChangeDate || ''), 'yyyy-MM-dd')\r\n // : '';\r\n const formattedData3 = euriborChangeDate\r\n ? format(new Date(euriborChangeDate), 'yyyy-MM-dd')\r\n : '';\r\n formData.append('RequestId', requestId);\r\n formData.append('InvegaLoanInterestRate', invegaLoanInterestRate);\r\n formData.append('InterestTypeId', interestTypeId ? interestTypeId : 1);\r\n if (interestTypeId == 1) {\r\n formData.append('EuriborChangeDate', formattedData3);\r\n formData.append(\r\n 'EuriborPeriodId',\r\n euriborPeriodId ? euriborPeriodId : 1\r\n );\r\n formData.append(\r\n 'InvegaLoanVariableInterestRate',\r\n invegaLoanVariableInterestRate\r\n );\r\n }\r\n formData.append('InvegaLoanPaymentTerm', formattedData);\r\n // formData.append('FirstInterestChangeDate', formattedData2);\r\n\r\n formData.append('InvegaLoanDelayTerm', invegaLoanDelayTerm);\r\n\r\n formData.append('InvegaLoanSum', invegaLoanSum);\r\n formData.append('InvegaContractNumber', invegaContractNumber);\r\n\r\n formData.append('GenerateInvoice', generateInvoice);\r\n formData.append('InvegaLoanPurposeId', invegaLoanPurposeId);\r\n //formData.append(\r\n // 'InvegaLoanDelayTermDate',\r\n // invegaLoanDelayTermDate\r\n // ? format(new Date(invegaLoanDelayTermDate), 'yyyy-MM-dd')\r\n // : ''\r\n //);\r\n formData.append(\r\n 'InvegaPaymentDate',\r\n invegaPaymentDate\r\n ? format(new Date(invegaPaymentDate), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n formData.append('File', fileToUpload);\r\n if (generateInvoice) {\r\n formData.append('InvoiceFee', invoiceFee);\r\n }\r\n setIsloading(true);\r\n //const doubleCheck = await Api.doubleCheckRequestEvaluation(requestId);\r\n //if (doubleCheck && doubleCheck?.Decision === 1) {\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadContract(comment), {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n swal({\r\n title: 'Paraiška sėkmingai pateikta pareiškėjo pasirašymui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((results) => {\r\n if (results) {\r\n window.location.reload();\r\n }\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n {\r\n /*}} else {\r\n swal({\r\n title: `Paraiška negali būti finansuojama nes neatitinka visų finansavimo taisyklių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n setIsloading(false);\r\n cancel();\r\n }*/\r\n }\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const onInterestTypeIdChange = (val) => {\r\n setInterestTypeId(val.target.value);\r\n };\r\n\r\n const onEuriborPeriodIdChange = (val) => {\r\n setEuriborPeriodId(val.target.value);\r\n };\r\n\r\n const checkLoanDelayTermFormat = (val) => {\r\n if (!Number.isInteger(+val)) {\r\n return 'Turi būti įvestas sveikas skaičius';\r\n }\r\n // if (\r\n // +val > 0 &&\r\n // +val <= 120 &&\r\n // invegaLoanPaymentTerm &&\r\n // +val > +invegaLoanPaymentTerm\r\n // ) {\r\n // return ' lauko [paskolos atidėjimo terminas (mėn)] reikšmė negali būti didesnė negu lauko [Pageidaujamas Paskolos terminas mėn].';\r\n // }\r\n if (+val >= 1 && +val <= 120) {\r\n return null;\r\n }\r\n\r\n return 'Turi būti įvestas sveikas skaičius nuo 1 iki 120';\r\n };\r\n\r\n const returnFirstInterestChangeDate = () => {\r\n const invedaSign = new Date(invegaSigningDate);\r\n\r\n if (isNaN(invedaSign)) {\r\n return '';\r\n }\r\n if (euriborPeriodId == '4') {\r\n let nextYearFirstDay = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n nextYearFirstDay = setMonth(nextYearFirstDay, 0);\r\n nextYearFirstDay = setDate(nextYearFirstDay, 1);\r\n\r\n return nextYearFirstDay;\r\n } else if (euriborPeriodId == '3') {\r\n const month = getMonth(invedaSign);\r\n let halfYearLater = new Date(invedaSign);\r\n\r\n if (month > 5) {\r\n halfYearLater = addMonths(invedaSign, 6);\r\n halfYearLater = setMonth(halfYearLater, 0);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n } else {\r\n halfYearLater = setMonth(halfYearLater, 5);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n }\r\n\r\n return halfYearLater;\r\n } else if (euriborPeriodId == '2') {\r\n const month = getMonth(invedaSign);\r\n let quarterYearLater = new Date(invedaSign);\r\n\r\n if (month < 3) {\r\n quarterYearLater = setMonth(quarterYearLater, 3);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 2 && month < 6) {\r\n quarterYearLater = setMonth(quarterYearLater, 7);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 5 && month < 9) {\r\n quarterYearLater = setMonth(quarterYearLater, 9);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 8) {\r\n quarterYearLater = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n quarterYearLater = setMonth(quarterYearLater, 0);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n }\r\n\r\n return quarterYearLater;\r\n }\r\n\r\n return '';\r\n };\r\n\r\n //useEffect(() => {\r\n // setfirstInterestChangeDate(returnFirstInterestChangeDate());\r\n // }, [euriborPeriodId]);\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Pateikti pareiškėjo pasirašymui

\r\n
\r\n \r\n
\r\n setInvegaContractNumber(e.target.value)}\r\n placeholder={'Sutarties numeris'}\r\n disabled={false}\r\n />\r\n {notValid && !invegaContractNumber && (\r\n \r\n Neįvestas sutarties numeris\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n setInvegaLoanSum(e.target.value)}\r\n placeholder={'Paskolos suma'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invegaLoanSum, 'privalomas laukas', 3)}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n \r\n Paskolos paskirtis\r\n \r\n setInvegaLoanPurposeId(e.target.value)}\r\n value={invegaLoanPurposeId}\r\n style={{ marginLeft: '0px', marginTop: '5px' }}\r\n >\r\n {/* */}\r\n \r\n \r\n \r\n {/* {notValid &&\r\n (loanInfo.LoanPurposeId == null ||\r\n loanInfo.LoanPurposeId == null) && (\r\n

\r\n Privalote pasirinkti paskolos paskirtį\r\n

\r\n )} */}\r\n \r\n\r\n \r\n
\r\n \r\n Galutinis paskolos grąžinimo terminas\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setinvegaLoanPaymentTerm(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n style={{ width: '50px' }}\r\n />\r\n\r\n {notValid && !invegaLoanPaymentTerm && (\r\n \r\n Neįvestas paskolos terminas\r\n

\r\n )}\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n Paskolos atidėjimo terminas (mėn.)\r\n \r\n {/*\r\n Atidėjimo terminas (mėn)\r\n */}\r\n\r\n {/* console.log(e)}\r\n\r\n onChange={(e) => setInvegaLoanDelayTermDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaLoanDelayTermDate && (\r\n

\r\n Neįvesta data\r\n

\r\n )}*/}\r\n setInvegaLoanDelayTerm(e.target.value)}\r\n // placeholder={'Paskolos atidėjimo terminas (mėn.)'}\r\n disabled={false}\r\n style={{ marginTop: '-2.1rem' }}\r\n />\r\n {notValid &&\r\n (validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n ) ||\r\n checkLoanDelayTermFormat(invegaLoanDelayTerm)) && (\r\n //!disableCheck('LoanDelayTerm') &&\r\n

\r\n {validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n )}\r\n {!validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n ) && checkLoanDelayTermFormat(invegaLoanDelayTerm)}\r\n

\r\n )}\r\n
\r\n \r\n \r\n Išmokėjimo terminas{' '}\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setInvegaPaymentDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaPaymentDate && (\r\n

\r\n Neįvesta data\r\n

\r\n )}\r\n \r\n\r\n \r\n \r\n Marža, %{' '}\r\n \r\n\r\n setInvegaLoanInterestRate(e.target.value)}\r\n //placeholder={'Marža, %'}\r\n disabled={false}\r\n style={{\r\n marginLeft: '0px',\r\n paddingleft: '5px',\r\n marginTop: '-2rem',\r\n width: '130px',\r\n }}\r\n />\r\n {notValid && (\r\n \r\n {isInterestRateValid(\r\n invegaLoanInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n

\r\n )}\r\n \r\n\r\n {interestTypeId != '2' && (\r\n
\r\n
\r\n \r\n setInvegaLoanVariableInterestRate(e.target.value)\r\n }\r\n placeholder={'Kintama palūkanų dalis, %'}\r\n disabled={false}\r\n style={{ width: '150px', marginLeft: '10px' }}\r\n />\r\n {notValid && interestTypeId != '2' && (\r\n \r\n {isInterestVariableRateValid(\r\n invegaLoanVariableInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n )}\r\n \r\n\r\n
\r\n \r\n \r\n Palūkanų normos rūšis\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n {interestTypeId != '2' && (\r\n \r\n \r\n Taikomo Euribor pasikeitimo data\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => seteuriborChangeDate(e)}\r\n minDate={subDays(new Date(), 10)}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !euriborChangeDate && interestTypeId != '2' && (\r\n

\r\n Neįvesta data\r\n

\r\n )}\r\n \r\n )}\r\n {interestTypeId != '2' && (\r\n \r\n \r\n Palūkanų normos perskaičiavimo dažnumas\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
\r\n
\r\n \r\n \r\n setGenerateInvoice(!generateInvoice)}\r\n />\r\n \r\n \r\n Generuoti sąskaitą faktūrą\r\n \r\n \r\n
\r\n
\r\n {generateInvoice && (\r\n \r\n
\r\n setInvoiceFee(e.target.value)}\r\n placeholder={'Sutarties sudarymo mokestis'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invoiceFee, 'privalomas laukas', 3)}\r\n

\r\n )}\r\n
\r\n \r\n )}\r\n \r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n {notValid && !fileToUpload && (\r\n \r\n Privalote pasirinkti priedą\r\n

\r\n )}\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ConfirmRequestModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './invegaLoanSumModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst InvegaLoanSumModal = ({ open, loading, dispatch, requestId }) => {\r\n const [sum, setSum] = useState(null);\r\n const [notValid, setNotvalid] = useState(false);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'invegaLoanSumModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const setValue = (e) => {\r\n setSum(e.target.value);\r\n };\r\n\r\n const isSumValid = () => {\r\n if (!sum) {\r\n return 'Neįvesta paskolos suma. Formatas 0.00 EUR';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n return null;\r\n };\r\n\r\n const saveSum = () => {\r\n setNotvalid(true);\r\n if (isSumValid() == null) {\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.SetInvegaLoanSum, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify({\r\n RequestId: requestId,\r\n Sum: sum,\r\n }),\r\n })\r\n //.then((response) => response.json())\r\n .finally(() => {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n cancel();\r\n });\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n setValue(e)}\r\n >\r\n
\r\n {notValid &&

{isSumValid()}

}\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(InvegaLoanSumModal);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './takeRequestToEvaluateModal.module.scss';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\n\r\nconst TakeRequestToEvaluateModal = ({\r\n open,\r\n id,\r\n loading,\r\n dispatch,\r\n assessorsList,\r\n requestId,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [assessor, setAssessor] = useState(null);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'takeRequestToEvaluateModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = (id) => {\r\n console.log(assessor);\r\n\r\n if (assessor) {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.SetAssessor(requestId, assessor),\r\n {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Asmuo sėkmingai priskirtas paraiškos vertinimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n // dispatch(actions.backoffice.callSagaForErrHandling(r));\r\n\r\n swal({\r\n title: 'Įvyko klaida priskiriant asmenį',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n swal({\r\n title: 'Įvyko klaida priskiriant asmenį',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Pasirinkite, kam norite priskirti šią paraišką

\r\n
\r\n \r\n Asmuo priskiriamas šios paraiškos vertinimui\r\n \r\n setAssessor(e.target.value)}\r\n style={{\r\n background: '#fff',\r\n }}\r\n value={assessor}\r\n >\r\n \r\n {assessorsList.length > 0 &&\r\n assessorsList.map((val) => (\r\n \r\n ))}\r\n \r\n {notValid && !assessor && (\r\n

Privalote pasirinkti asmenį

\r\n )}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n assessorsList: state.backofficeRequestsState.AssessorsList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(TakeRequestToEvaluateModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './acceptConditionsChangeRequestModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst SubmitConditionsChangeRequestModal = ({ open, requestId, dispatch }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileToUpload, setFileToUpload] = useState([]);\r\n const [comment, setComment] = useState('');\r\n const [badFinancialCondition, setBadFinancialCondition] = useState(false);\r\n\r\n const onChangeContractCommentChange = ({ target: { name, value } }) => {\r\n setComment(value);\r\n };\r\n\r\n const selectFileToUpload = (file) => {\r\n setFileToUpload([...fileToUpload, file]);\r\n };\r\n const cancel = () => {\r\n setFileToUpload([]);\r\n setComment('');\r\n setBadFinancialCondition(false);\r\n\r\n const open = {\r\n modalName: 'submitConditionsChangeRequestModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n formData.append('RequestId', requestId);\r\n formData.append('Comment', comment);\r\n formData.append('BadFinancialCondition', badFinancialCondition);\r\n\r\n for (let i = 0; i < fileToUpload.length; i++) {\r\n formData.append('File', fileToUpload[i]);\r\n }\r\n\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadChangeConditions, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiškos sąlygų keitimas patvirtintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((results) => {\r\n if (results) {\r\n window.location.reload();\r\n }\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 401) {\r\n swal({\r\n title: `Įvyko klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n
\r\n \r\n

Patvirtinti sutarties sąlygų keitimą

\r\n\r\n \r\n \r\n setBadFinancialCondition(!badFinancialCondition)\r\n }\r\n />\r\n \r\n \r\n Prastėjanti finansinė būklė\r\n \r\n \r\n
\r\n

Komentaras

\r\n \r\n
\r\n

Prašome prisegti priedą sutarties sąlygų patvirtinimui

\r\n \r\n \r\n selectFileToUpload(e.target.files[0])}\r\n />\r\n
\r\n {fileToUpload && fileToUpload?.length > 0\r\n ? fileToUpload.map((val, i) => (\r\n

\r\n {val.name}\r\n

\r\n ))\r\n : ''}\r\n
\r\n
\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(SubmitConditionsChangeRequestModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\n\r\nimport styles from './globalConfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst RejectConditionsChangeRequest = ({\r\n open,\r\n data,\r\n loading,\r\n dispatch,\r\n requestId,\r\n comment,\r\n}) => {\r\n const [showError, setShowError] = useState(false);\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const [badFinancialCondition, setBadFinancialCondition] = useState(false);\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'rejectConditionsChangeRequest',\r\n visible: false,\r\n };\r\n setShowError(false);\r\n setFileToUpload(null);\r\n setBadFinancialCondition(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n\r\n formData.append('RequestId', requestId);\r\n formData.append('Comment', comment);\r\n formData.append('File', fileToUpload);\r\n formData.append('BadFinancialCondition', badFinancialCondition);\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.RejectChangeConditions, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Prašymas pakeisti sąlygas sėkmingai atmestas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n
\r\n Ar tikrai norite atmesti prašymą pakeisti sutarties sąlygas?\r\n
\r\n\r\n {/*
\r\n

Komentaras

\r\n \r\n
*/}\r\n \r\n \r\n setBadFinancialCondition(!badFinancialCondition)\r\n }\r\n />\r\n \r\n \r\n Prastėjanti finansinė būklė\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(RejectConditionsChangeRequest);\r\n","import React, { useState } from 'react';\r\nimport DatePicker from 'react-datepicker';\r\nimport {\r\n format,\r\n setYear,\r\n setMonth,\r\n setDate,\r\n addMonths,\r\n getMonth,\r\n subDays,\r\n} from 'date-fns';\r\n\r\nimport { connect } from 'react-redux';\r\nimport styles from './confirmRequestModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport {\r\n isSumValid2,\r\n isInterestRateValid,\r\n isInterestVariableRateValid,\r\n} from './../../utils/auth/validations';\r\n// import { errorhandle } from '../../utils/helpers/helpers';\r\n\r\nconst ChangeContractFile = ({\r\n open,\r\n requestId,\r\n loading,\r\n dispatch,\r\n invegaContractNumber2,\r\n invegaLoanInterestRate2,\r\n invegaLoanVariableInterestRate2,\r\n invegaLoanPaymentTerm2,\r\n invegaLoanSum2,\r\n loanDelayTerm,\r\n euriborChangeDate2,\r\n // firstInterestChangeDate2,\r\n interestTypeId2,\r\n euriborPeriodId2,\r\n comment,\r\n loanPurposeId,\r\n invegaLoanDelayTerm2,\r\n invegaPaymentDate2,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [invegaLoanInterestRate, setInvegaLoanInterestRate] = useState(\r\n invegaLoanInterestRate2\r\n );\r\n const [invegaLoanVariableInterestRate, setInvegaLoanVariableInterestRate] =\r\n useState(invegaLoanVariableInterestRate2);\r\n const [invegaLoanPaymentTerm, setinvegaLoanPaymentTerm] = useState(\r\n invegaLoanPaymentTerm2\r\n ? format(new Date(invegaLoanPaymentTerm2), 'yyyy-MM-dd')\r\n : null\r\n );\r\n\r\n const [invegaLoanSum, setInvegaLoanSum] = useState(invegaLoanSum2);\r\n const [invegaContractNumber, setInvegaContractNumber] = useState(\r\n invegaContractNumber2\r\n );\r\n const [euriborChangeDate, setEuriborChangeDate] =\r\n useState(euriborChangeDate2);\r\n {\r\n /*const [firstInterestChangeDate, setFirstInterestChangeDate] = useState(\r\n firstInterestChangeDate2\r\n);*/\r\n }\r\n //const [invegaLoanDelayTermDate, setInvegaLoanDelayTermDate] = useState(\r\n // invegaLoanDelayTermDate2\r\n //);\r\n const [invegaPaymentDate, setInvegaPaymentDate] =\r\n useState(invegaPaymentDate2);\r\n const [interestTypeId, setInterestTypeId] = useState(interestTypeId2);\r\n const [euriborPeriodId, setEuriborPeriodId] = useState(euriborPeriodId2);\r\n const [invegaLoanDelayTerm, setInvegaLoanDelayTerm] = useState(\r\n loanDelayTerm ? loanDelayTerm : null\r\n );\r\n const [invegaLoanPurposeId, setInvegaLoanPurposeId] = useState(loanPurposeId);\r\n\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const cancel = () => {\r\n setNotValid(false);\r\n setFileToUpload(null);\r\n setInvegaLoanPurposeId(loanPurposeId);\r\n\r\n const open = {\r\n modalName: 'changeContractFile',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const setInterestRateState = (val) => {\r\n setInvegaLoanInterestRate(val);\r\n };\r\n\r\n const setInterestVariableRateState = (val) => {\r\n setInvegaLoanVariableInterestRate(val);\r\n };\r\n\r\n const validateFieldsBasedOnInterestType = (selectedField) => {\r\n if (interestTypeId != '2') {\r\n return true;\r\n }\r\n return selectedField;\r\n };\r\n\r\n const yes = () => {\r\n if (\r\n invegaLoanInterestRate &&\r\n //validateFieldsBasedOnInterestType(invegaLoanVariableInterestRate) &&\r\n //validateFieldsBasedOnInterestType(euriborPeriodId) &&\r\n invegaLoanPaymentTerm &&\r\n //validateFieldsBasedOnInterestType(euriborChangeDate) &&\r\n isSumValid2(invegaLoanSum) === null &&\r\n isInterestRateValid(invegaLoanInterestRate) === null &&\r\n //isInterestVariableRateValid(invegaLoanVariableInterestRate) === null &&\r\n invegaContractNumber &&\r\n invegaLoanDelayTerm &&\r\n invegaPaymentDate &&\r\n fileToUpload\r\n ) {\r\n const formData = new FormData();\r\n const formattedData = format(\r\n new Date(invegaLoanPaymentTerm),\r\n 'yyyy-MM-dd'\r\n );\r\n {\r\n /*} const formattedData2 = format(\r\n new Date(firstInterestChangeDate),\r\n 'yyyy-MM-dd'\r\n );*/\r\n }\r\n const formattedData3 = format(new Date(euriborChangeDate), 'yyyy-MM-dd');\r\n formData.append('RequestId', requestId);\r\n formData.append('InvegaLoanInterestRate', invegaLoanInterestRate);\r\n formData.append('InterestTypeId', interestTypeId ? interestTypeId : 1);\r\n if (interestTypeId == 1) {\r\n formData.append('EuriborChangeDate', formattedData3);\r\n formData.append(\r\n 'EuriborPeriodId',\r\n euriborPeriodId ? euriborPeriodId : 1\r\n );\r\n formData.append(\r\n 'InvegaLoanVariableInterestRate',\r\n invegaLoanVariableInterestRate\r\n );\r\n }\r\n formData.append('InvegaLoanPaymentTerm', formattedData);\r\n formData.append('InvegaLoanSum', invegaLoanSum);\r\n formData.append('InvegaContractNumber', invegaContractNumber);\r\n formData.append('InvegaLoanDelayTerm', invegaLoanDelayTerm);\r\n //formData.append('FirstInterestChangeDate', formattedData2);\r\n formData.append('InvegaLoanPurposeId', invegaLoanPurposeId);\r\n\r\n //formData.append(\r\n // 'InvegaLoanDelayTermDate',\r\n // invegaLoanDelayTermDate\r\n // ? format(new Date(invegaLoanDelayTermDate), 'yyyy-MM-dd')\r\n // : ''\r\n //);\r\n formData.append(\r\n 'InvegaPaymentDate',\r\n invegaPaymentDate\r\n ? format(new Date(invegaPaymentDate), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n\r\n formData.append('File', fileToUpload);\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadContract(comment), {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n swal({\r\n title: 'Sutartis sėkmingai atnaujinta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((results) => {\r\n if (results) {\r\n window.location.reload();\r\n }\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n // dispatch(actions.backoffice.callSagaForErrHandling(r));\r\n\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const onInterestTypeIdChange = (val) => {\r\n setInterestTypeId(val.target.value);\r\n };\r\n\r\n const onEuriborPeriodIdChange = (val) => {\r\n setEuriborPeriodId(val.target.value);\r\n };\r\n\r\n const validateTextinput = (val, name, length, msg = 'Neįvestas') => {\r\n if (val == null || val.length === 0) {\r\n return `${msg} ${name} `;\r\n } else if (length == null ? val.length < length : val.length < length) {\r\n return `* per trumpas ${name} `;\r\n } else {\r\n return null;\r\n }\r\n };\r\n\r\n const checkLoanDelayTermFormat = (val) => {\r\n if (!Number.isInteger(+val)) {\r\n return 'Turi būti įvestas sveikas skaičius';\r\n }\r\n // if (\r\n // +val > 0 &&\r\n // +val <= 120 &&\r\n // invegaLoanPaymentTerm &&\r\n // +val > +invegaLoanPaymentTerm\r\n // ) {\r\n // return ' lauko [paskolos atidėjimo terminas (mėn)] reikšmė negali būti didesnė negu lauko [Pageidaujamas Paskolos terminas mėn].';\r\n // }\r\n if (+val >= 1 && +val <= 120) {\r\n return null;\r\n }\r\n\r\n return 'Turi būti įvestas sveikas skaičius nuo 1 iki 120';\r\n };\r\n\r\n {\r\n /*const returnFirstInterestChangeDate = () => {\r\n const invedaSign = new Date(invegaSigningDate);\r\n if (isNaN(invedaSign)) {\r\n return '';\r\n }\r\n if (euriborPeriodId == '4') {\r\n let nextYearFirstDay = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n nextYearFirstDay = setMonth(nextYearFirstDay, 0);\r\n nextYearFirstDay = setDate(nextYearFirstDay, 1);\r\n\r\n return nextYearFirstDay;\r\n } else if (euriborPeriodId == '3') {\r\n const month = getMonth(invedaSign);\r\n let halfYearLater = new Date(invedaSign);\r\n\r\n if (month > 5) {\r\n halfYearLater = addMonths(invedaSign, 6);\r\n halfYearLater = setMonth(halfYearLater, 0);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n } else {\r\n halfYearLater = setMonth(halfYearLater, 5);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n }\r\n\r\n return halfYearLater;\r\n } else if (euriborPeriodId == '2') {\r\n const month = getMonth(invedaSign);\r\n let quarterYearLater = new Date(invedaSign);\r\n\r\n if (month < 3) {\r\n quarterYearLater = setMonth(quarterYearLater, 3);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 2 && month < 6) {\r\n quarterYearLater = setMonth(quarterYearLater, 7);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 5 && month < 9) {\r\n quarterYearLater = setMonth(quarterYearLater, 9);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 8) {\r\n quarterYearLater = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n quarterYearLater = setMonth(quarterYearLater, 0);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n }\r\n\r\n return quarterYearLater;\r\n }\r\n\r\n return '';\r\n };*/\r\n }\r\n\r\n //useEffect(() => {\r\n // setFirstInterestChangeDate(returnFirstInterestChangeDate());\r\n //}, [euriborPeriodId]);\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Paraiškos tvirtinimas finansavimui

\r\n\r\n
\r\n \r\n
\r\n setInvegaContractNumber(e.target.value)}\r\n placeholder={'Sutarties numeris'}\r\n disabled={false}\r\n />\r\n {notValid && !invegaContractNumber && (\r\n \r\n Privalote įvesti sutarties numerį\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n setInvegaLoanSum(e.target.value)}\r\n placeholder={'Paskolos suma'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invegaLoanSum, 'privalomas laukas', 3)}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n \r\n Paskolos paskirtis\r\n \r\n setInvegaLoanPurposeId(e.target.value)}\r\n value={invegaLoanPurposeId}\r\n style={{ marginLeft: '10px', marginTop: '5px' }}\r\n >\r\n {/* */}\r\n \r\n \r\n \r\n {/* {notValid &&\r\n (loanInfo.LoanPurposeId == null ||\r\n loanInfo.LoanPurposeId == null) && (\r\n

\r\n Privalote pasirinkti paskolos paskirtį\r\n

\r\n )} */}\r\n \r\n\r\n \r\n
\r\n \r\n Galutinis paskolos grąžinimo terminas\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setinvegaLoanPaymentTerm(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n style={{ width: '50px' }}\r\n />\r\n\r\n {notValid && !invegaLoanPaymentTerm && (\r\n \r\n Privalote nurodyti paskolos terminą\r\n

\r\n )}\r\n
\r\n \r\n \r\n\r\n
\r\n \r\n \r\n Palūkanų normos rūšis\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n {interestTypeId != '2' && (\r\n \r\n \r\n Taikomo Euribor pasikeitimo data\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setEuriborChangeDate(e)}\r\n minDate={subDays(new Date(), 10)}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !euriborChangeDate && interestTypeId != '2' && (\r\n \r\n Neįvesta data\r\n

\r\n )}\r\n \r\n )}\r\n {interestTypeId != '2' && (\r\n \r\n \r\n Palūkanų normos perskaičiavimo dažnumas\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
\r\n
\r\n \r\n Paskolos atidėjimo terminas (mėn.)\r\n \r\n {/* console.log(e)}\r\n\r\n onChange={(e) => setInvegaLoanDelayTermDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaLoanDelayTermDate && (\r\n

\r\n Neįvesta data\r\n

\r\n )}*/}\r\n setInvegaLoanDelayTerm(e.target.value)}\r\n //placeholder={'Paskolos atidėjimo terminas (mėn.)'}\r\n disabled={false}\r\n style={{ marginTop: '-2.1rem' }}\r\n />\r\n {notValid &&\r\n (validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'atidėjimo terminas',\r\n 1\r\n ) ||\r\n checkLoanDelayTermFormat(invegaLoanDelayTerm)) && (\r\n //!disableCheck('LoanDelayTerm') &&\r\n

\r\n {validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'atidėjimo terminas',\r\n 1\r\n )}\r\n {!validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'atidėjimo terminas',\r\n 1\r\n ) && checkLoanDelayTermFormat(invegaLoanDelayTerm)}\r\n

\r\n )}\r\n
\r\n \r\n \r\n Išmokėjimo terminas{' '}\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setInvegaPaymentDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaPaymentDate && (\r\n

\r\n Neįvesta data\r\n

\r\n )}\r\n
\r\n\r\n \r\n
\r\n setInvegaLoanInterestRate(e.target.value)}\r\n placeholder={'Marža, %'}\r\n disabled={false}\r\n style={{ width: '110px', marginLeft: '10px' }}\r\n />\r\n {notValid && (\r\n \r\n {isInterestRateValid(\r\n invegaLoanInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n \r\n\r\n {interestTypeId != '2' && (\r\n \r\n
\r\n \r\n setInvegaLoanVariableInterestRate(e.target.value)\r\n }\r\n placeholder={'Kintama palūkanų dalis, %'}\r\n disabled={false}\r\n style={{ width: '150px', marginLeft: '10px' }}\r\n />\r\n {notValid && interestTypeId != '2' && (\r\n \r\n {isInterestVariableRateValid(\r\n invegaLoanVariableInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n \r\n )}\r\n \r\n\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n {notValid && !fileToUpload && (\r\n \r\n Privalote pasirinkti priedą\r\n

\r\n )}\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ChangeContractFile);\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport styles from './changeCompanySize.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { isSumValid2 } from './../../utils/auth/validations';\r\n// import { errorhandle } from '../../utils/helpers/helpers';\r\n\r\nconst ChangeCompanySize = ({ open, requestId, loading, dispatch }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [companySizeTypeIdInvega, setCompanySizeTypeIdInvega] = useState(null);\r\n\r\n const cancel = () => {\r\n //setNotValid(false);\r\n setCompanySizeTypeIdInvega(null);\r\n\r\n const open = {\r\n modalName: 'changeCompanySize',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n setNotValid(true);\r\n if (companySizeTypeIdInvega !== null) {\r\n setIsloading(true);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.SetCompanySizeType, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify({\r\n RequestId: requestId,\r\n companySizeTypeId: companySizeTypeIdInvega,\r\n }),\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n cancel();\r\n\r\n swal({\r\n title: 'Duomenys sėkmingai išsaugoti',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n // dispatch(actions.backoffice.callSagaForErrHandling(r));\r\n\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const onCompanySizeTypeInvegaChange = (val) => {\r\n setCompanySizeTypeIdInvega(val.target.value);\r\n console.log(val);\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n

Verslo subjekto statuso įvedimas

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid && companySizeTypeIdInvega === null && (\r\n

\r\n Privalote nurodyti verslo subjekto statusą\r\n

\r\n )}\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ChangeCompanySize);\r\n","import React, { useState } from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport styles from './changeCompanySize.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst ChangeSetNotDeletable = ({\r\n open,\r\n requestId,\r\n dispatch,\r\n notDeletableProp,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [notDeletable, setNotDeletable] = useState(notDeletableProp);\r\n\r\n const cancel = () => {\r\n //setNotValid(false);\r\n setNotDeletable(notDeletableProp);\r\n\r\n const open = {\r\n modalName: 'changeSetNotDeletable',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n setNotValid(true);\r\n if (notDeletable !== null) {\r\n setIsloading(true);\r\n\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.SetNotDeletable(requestId, notDeletable),\r\n {\r\n method: 'POST',\r\n credentials: 'include',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify({\r\n RequestId: requestId,\r\n notDeletable:\r\n notDeletable == 'true'\r\n ? true\r\n : notDeletable == 'false'\r\n ? false\r\n : null,\r\n }),\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiškos netrynimo požymis sėkmingai pakeistas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const onCompanySizeTypeInvegaChange = (val) => {\r\n setNotDeletable(val.target.value);\r\n //console.log(val);\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n

Paraiškos netrynimo požymis

\r\n \r\n \r\n \r\n \r\n \r\n \r\n {notValid && notDeletable === null && (\r\n

\r\n Privalote pasirinkti požymį\r\n

\r\n )}\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ChangeSetNotDeletable);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './confirmRequestModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport DatePicker from 'react-datepicker';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from '../../api/api';\r\nimport { config } from '../../api/config';\r\nimport { isSumValid2, isInterestRateValid } from '../../utils/auth/validations';\r\n// import { errorhandle } from '../../utils/helpers/helpers';\r\n\r\nconst ApproveRequestWithAdditionalDocs = ({\r\n open,\r\n requestId,\r\n loading,\r\n dispatch,\r\n comment,\r\n loanDelayTerm,\r\n loanPurposeId,\r\n invegaContractNumber2,\r\n InvegaLoanPaymentTerm2,\r\n invegaLoanInterestRate2,\r\n invegaLoanSum2,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [invegaLoanInterestRate, setInvegaLoanInterestRate] = useState(\r\n invegaLoanInterestRate2\r\n );\r\n\r\n const [invegaLoanSum, setInvegaLoanSum] = useState(invegaLoanSum2);\r\n const [invegaContractNumber, setInvegaContractNumber] = useState(\r\n invegaContractNumber2\r\n );\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const [invegaLoanDelayTerm, setInvegaLoanDelayTerm] = useState(loanDelayTerm);\r\n const [invegaLoanPurposeId, setInvegaLoanPurposeId] = useState(loanPurposeId);\r\n const [invegaLoanPaymentTerm, setinvegaLoanPaymentTerm] = useState(\r\n InvegaLoanPaymentTerm2\r\n );\r\n\r\n const cancel = () => {\r\n setNotValid(false);\r\n setInvegaLoanInterestRate(invegaLoanInterestRate2);\r\n setInvegaLoanDelayTerm(loanDelayTerm);\r\n setInvegaLoanSum(invegaLoanSum2);\r\n setInvegaContractNumber(invegaContractNumber2);\r\n setinvegaLoanPaymentTerm(InvegaLoanPaymentTerm2);\r\n setFileToUpload(null);\r\n setInvegaLoanPurposeId(loanPurposeId);\r\n\r\n const open = {\r\n modalName: 'approveRequestWithAdditionalDocs',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = async () => {\r\n if (\r\n (invegaLoanInterestRate &&\r\n isSumValid2(invegaLoanSum) === null &&\r\n isInterestRateValid(invegaLoanInterestRate) === null &&\r\n invegaContractNumber,\r\n invegaLoanPurposeId)\r\n ) {\r\n const dataToSent = {\r\n comment: comment,\r\n userCommentRequired: false,\r\n refusalOfFunding: true,\r\n invegaLoanInterestRate: invegaLoanInterestRate,\r\n invegaContractNumber: invegaContractNumber,\r\n invegaLoanSum: invegaLoanSum,\r\n invegaLoanDelayTerm: invegaLoanDelayTerm,\r\n invegaLoanPurposeId: invegaLoanPurposeId,\r\n };\r\n\r\n setIsloading(true);\r\n if (true) {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.setApproveWithDocsRequest(requestId),\r\n {\r\n method: 'POST',\r\n\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n 'Content-Type': 'application/json',\r\n },\r\n body: JSON.stringify({ ...dataToSent }),\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title:\r\n 'Paraiška sėkmingai patvirtinta finansavimui (su papildomais dokumentais)',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n swal({\r\n title: `Paraiška negali būti finansuojama nes neatitinka visų finansavimo taisyklių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n setIsloading(false);\r\n cancel();\r\n }\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

\r\n Paraiškos tvirtinimas finansavimui (su papildomais dokumentais)\r\n

\r\n
\r\n \r\n
\r\n setInvegaContractNumber(e.target.value)}\r\n placeholder={'Sutarties numeris'}\r\n disabled={false}\r\n />\r\n {notValid && !invegaContractNumber && (\r\n \r\n Privalote įvesti sutarties numerį\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n setInvegaLoanSum(e.target.value)}\r\n placeholder={'Paskolos suma'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invegaLoanSum, 'privalomas laukas', 3)}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n Galutinis paskolos grąžinimo terminas\r\n \r\n setinvegaLoanPaymentTerm(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n style={{ width: '50px' }}\r\n />\r\n\r\n {/*{notValid && !invegaLoanPaymentTerm && (\r\n \r\n Įveskite paskolos terminą\r\n

\r\n )}*/}\r\n
\r\n \r\n \r\n \r\n Atidėjimo terminas (mėn)\r\n \r\n setInvegaLoanDelayTerm(e.target.value)}\r\n value={invegaLoanDelayTerm || ''}\r\n //placeholder={requestDataLabelTranslation('LoanDelayTerm')}\r\n //disabled={disableCheck('invegaLoanDelayTerm')}\r\n />\r\n \r\n\r\n \r\n
\r\n setInvegaLoanInterestRate(e.target.value)}\r\n placeholder={'Palūkanų norma, %'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isInterestRateValid(\r\n invegaLoanInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n \r\n\r\n \r\n \r\n Paskolos paskirtis\r\n \r\n setInvegaLoanPurposeId(e.target.value)}\r\n value={invegaLoanPurposeId}\r\n >\r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ApproveRequestWithAdditionalDocs);\r\n","import React, { useState, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './terminateRequestModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst TerminateRequestModal = ({ open, id, loading, dispatch }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'terminateRequestModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = (e) => {\r\n setIsloading(true);\r\n const file = e.target.files[0];\r\n\r\n const formData = new FormData();\r\n formData.append('Files', file);\r\n formData.append('RequestId', id);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.Terminate, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(id));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(id));\r\n dispatch(actions.backoffice.saveEditAdditionalComments('get', id));\r\n dispatch(actions.backoffice.getRequestLogAction(id));\r\n swal({\r\n title: 'Sutartis sėkmingai nutraukta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n console.log(res);\r\n\r\n swal({\r\n title: 'Nepavyko pateikti priedo ir nutraukti sutarties',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n cancel();\r\n });\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Ar tikrai norite nutraukti šią sutartį?

\r\n\r\n
\r\n selectFile('fileElem')}\r\n style={{ width: '100px', marginTop: '0px' }}\r\n >\r\n Įkelti paaiškinimą ir nutraukti\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(TerminateRequestModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './changeConditionsModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n// import './changeConditionsModal.scss';\r\n\r\nconst ChangeConditionsBoModal = ({ open, requestId, dispatch }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n\r\n const [fileToUpload, setFileToUpload] = useState([]);\r\n\r\n const [comment, setComment] = useState('');\r\n\r\n const onChangeContractCommentChange = ({ target: { name, value } }) => {\r\n setComment(value);\r\n };\r\n\r\n const selectFileToUpload = (file) => {\r\n setFileToUpload([...fileToUpload, file]);\r\n };\r\n const cancel = () => {\r\n setNotValid(false);\r\n setFileToUpload([]);\r\n setComment('');\r\n\r\n const open = {\r\n modalName: 'changeConditionsBoModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n if (fileToUpload && fileToUpload.length > 0) {\r\n const formData = new FormData();\r\n\r\n formData.append('RequestId', requestId);\r\n formData.append('Comment', comment);\r\n\r\n for (let i = 0; i < fileToUpload.length; i++) {\r\n formData.append('Files', fileToUpload[i]);\r\n }\r\n\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL + config.API_ENDPOINTS.RequestChangeConditionsManager,\r\n {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiškos keitimo inicijavimas sėkmingai įvykdytas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 401) {\r\n swal({\r\n title: `Įvyko klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 404) {\r\n swal({\r\n title: `Įvyko klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n console.log(r);\r\n\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n
\r\n \r\n

Inicijuoti sutarties sąlygų keitimą

\r\n

\r\n Prašome prisegti priedą sutarties sąlygų keitimo inicijavimui\r\n

\r\n \r\n \r\n selectFileToUpload(e.target.files[0])}\r\n />\r\n
\r\n {fileToUpload && fileToUpload?.length > 0\r\n ? fileToUpload.map((val, i) => (\r\n

\r\n {val.name}\r\n

\r\n ))\r\n : ''}\r\n
\r\n {notValid && (!fileToUpload || fileToUpload?.length === 0) && (\r\n \r\n Privalote pasirinkti priedą\r\n

\r\n )}\r\n
\r\n
\r\n

Komentaras

\r\n \r\n
\r\n
\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 mapStateToProps = (state) => ({\r\n// loading: state.dashboardState.isOnSync,\r\n// });\r\n\r\nexport default connect()(ChangeConditionsBoModal);\r\n","/* eslint-disable react/no-danger */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { actions } from '../../state/actions';\r\nimport styles from './globalMessageModal.module.scss';\r\nimport { Button } from '../../components';\r\n\r\nconst GlobalMessageModal = ({ dispatch, open, message }) => {\r\n const closeModal = () => {\r\n const close = {\r\n modalName: 'globalMessageModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(close));\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n

{message}

\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n yesNOModalInfo: state.modalsState.globalYesNoModalInfo,\r\n});\r\n\r\nexport default connect(mapStateToProps)(GlobalMessageModal);\r\n\r\nGlobalMessageModal.propTypes = {\r\n dispatch: PropTypes.func.isRequired,\r\n};\r\n","import React, { useState, useEffect } from 'react';\r\nimport DatePicker from 'react-datepicker';\r\nimport {\r\n format,\r\n setYear,\r\n setMonth,\r\n setDate,\r\n addMonths,\r\n getMonth,\r\n subDays,\r\n} from 'date-fns';\r\nimport { connect } from 'react-redux';\r\nimport styles from './confirmRequestModal.module.scss';\r\nimport { Button, WithSpinner, InputWithTextInline } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport {\r\n isSumValid2,\r\n isInterestRateValid,\r\n isInterestVariableRateValid,\r\n validateTextinput,\r\n} from './../../utils/auth/validations';\r\n\r\nconst SubmitConditionsChangeRequestModal = ({\r\n open,\r\n requestId,\r\n loading,\r\n dispatch,\r\n comment,\r\n loanDelayTerm,\r\n loanPurposeId,\r\n invegaContractNumber2,\r\n invegaLoanPaymentTerm2,\r\n invegaLoanInterestRate2,\r\n invegaLoanVariableInterestRate2,\r\n invegaLoanSum2,\r\n loanPaymentDay2,\r\n euriborChangeDate2,\r\n firstInterestChangeDate2,\r\n interestTypeId2,\r\n euriborPeriodId2,\r\n iban2,\r\n invegaSigningDate,\r\n invegaLoanDelayTerm2,\r\n invegaPaymentDate2,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [notValid, setNotValid] = useState(false);\r\n const [invegaLoanInterestRate, setInvegaLoanInterestRate] = useState(\r\n invegaLoanInterestRate2\r\n );\r\n const [invegaLoanVariableInterestRate, setInvegaLoanVariableInterestRate] =\r\n useState(invegaLoanVariableInterestRate2);\r\n const [invegaLoanPaymentTerm, setinvegaLoanPaymentTerm] = useState(\r\n invegaLoanPaymentTerm2\r\n ? format(new Date(invegaLoanPaymentTerm2), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n const [invegaLoanSum, setInvegaLoanSum] = useState(invegaLoanSum2);\r\n const [invegaContractNumber, setInvegaContractNumber] = useState(\r\n invegaContractNumber2\r\n );\r\n const [euriborChangeDate, setEuriborChangeDate] =\r\n useState(euriborChangeDate2);\r\n const [firstInterestChangeDate, setFirstInterestChangeDate] = useState(\r\n firstInterestChangeDate2\r\n );\r\n const [interestTypeId, setInterestTypeId] = useState(interestTypeId2);\r\n const [euriborPeriodId, setEuriborPeriodId] = useState(euriborPeriodId2);\r\n const [invegaLoanDelayTerm, setInvegaLoanDelayTerm] = useState(\r\n loanDelayTerm || 6\r\n );\r\n const [paymentDate, setPaymentDate] = useState(loanPaymentDay2);\r\n const [iban, setIban] = useState(iban2);\r\n const [generateInvoice, setGenerateInvoice] = useState(false);\r\n const [invoiceFee, setInvoiceFee] = useState(null);\r\n //const [invegaLoanDelayTermDate, setInvegaLoanDelayTermDate] = useState(\r\n // invegaLoanDelayTermDate2\r\n //);\r\n const [invegaPaymentDate, setInvegaPaymentDate] =\r\n useState(invegaPaymentDate2);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n\r\n const cancel = () => {\r\n setNotValid(false);\r\n setInvegaLoanInterestRate(invegaLoanInterestRate2);\r\n setInvegaLoanVariableInterestRate(invegaLoanVariableInterestRate2);\r\n setinvegaLoanPaymentTerm(\r\n invegaLoanPaymentTerm2\r\n ? format(new Date(invegaLoanPaymentTerm2), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n //setInvegaLoanDelayTermDate(\r\n // invegaLoanDelayTermDate2\r\n // ? format(new Date(invegaLoanDelayTermDate2), 'yyyy-MM-dd')\r\n // : ''\r\n //);\r\n setInvegaPaymentDate(\r\n invegaPaymentDate2\r\n ? format(new Date(invegaPaymentDate2), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n setFirstInterestChangeDate(firstInterestChangeDate2);\r\n setEuriborChangeDate(euriborChangeDate2);\r\n setInterestTypeId(interestTypeId2);\r\n setEuriborPeriodId(euriborPeriodId2);\r\n setInvegaLoanDelayTerm(invegaLoanDelayTerm2);\r\n setInvegaLoanSum(invegaLoanSum2);\r\n setInvegaContractNumber(invegaContractNumber2);\r\n setGenerateInvoice(false);\r\n setFileToUpload(null);\r\n setInvoiceFee(null);\r\n\r\n const open = {\r\n modalName: 'acceptConditionsChangeRequestModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const validatateIfSF = () => {\r\n if (!generateInvoice) {\r\n return true;\r\n }\r\n if (generateInvoice && isSumValid2(invoiceFee) === null) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const onInterestTypeIdChange = (val) => {\r\n setInterestTypeId(val.target.value);\r\n };\r\n\r\n const onEuriborPeriodIdChange = (val) => {\r\n setEuriborPeriodId(val.target.value);\r\n };\r\n\r\n const checkLoanDelayTermFormat = (val) => {\r\n if (!Number.isInteger(+val)) {\r\n return 'Turi būti įvestas sveikas skaičius';\r\n }\r\n // if (\r\n // +val > 0 &&\r\n // +val <= 120 &&\r\n // invegaLoanPaymentTerm &&\r\n // +val > +invegaLoanPaymentTerm\r\n // ) {\r\n // return ' lauko [paskolos atidėjimo terminas (mėn)] reikšmė negali būti didesnė negu lauko [Pageidaujamas Paskolos terminas mėn].';\r\n // }\r\n if (+val >= 1 && +val <= 120) {\r\n return null;\r\n }\r\n\r\n return 'Turi būti įvestas sveikas skaičius nuo 1 iki 120';\r\n };\r\n\r\n const yes = async () => {\r\n if (\r\n invegaLoanInterestRate &&\r\n //invegaLoanVariableInterestRate &&\r\n invegaLoanPaymentTerm &&\r\n //validateFieldsBasedOnInterestType(euriborChangeDate) &&\r\n //validateFieldsBasedOnInterestType(euriborPeriodId) &&\r\n //validateFieldsBasedOnInterestType(invegaLoanVariableInterestRate) &&\r\n isSumValid2(invegaLoanSum) === null &&\r\n isInterestRateValid(invegaLoanInterestRate) === null &&\r\n //isInterestVariableRateValid(invegaLoanVariableInterestRate) === null &&\r\n invegaContractNumber &&\r\n isValidIban(iban) &&\r\n invegaLoanDelayTerm &&\r\n invegaPaymentDate &&\r\n validatateIfSF() &&\r\n fileToUpload\r\n ) {\r\n const formData = new FormData();\r\n const formattedData = format(\r\n new Date(invegaLoanPaymentTerm),\r\n 'yyyy-MM-dd'\r\n );\r\n const formattedData2 = firstInterestChangeDate\r\n ? format(new Date(firstInterestChangeDate), 'yyyy-MM-dd')\r\n : '';\r\n const formattedData3 = format(new Date(euriborChangeDate), 'yyyy-MM-dd');\r\n formData.append('RequestId', requestId);\r\n formData.append('InvegaLoanPaymentTerm', formattedData);\r\n formData.append('InvegaDocumentNumber', invegaContractNumber);\r\n formData.append('InvegaLoanSum', invegaLoanSum);\r\n formData.append('InvegaLoanInterestRate', invegaLoanInterestRate);\r\n if (interestTypeId == 1) {\r\n formData.append(\r\n 'InvegaLoanVariableInterestRate',\r\n invegaLoanVariableInterestRate\r\n );\r\n }\r\n formData.append('PaymentDay', paymentDate ? paymentDate : '');\r\n formData.append('FirstInterestChangeDate', formattedData2);\r\n if (interestTypeId == 1) {\r\n formData.append('EuriborChangeDate', formattedData3);\r\n }\r\n formData.append('InterestTypeId', interestTypeId ? interestTypeId : 1);\r\n formData.append('EuriborPeriodId', euriborPeriodId ? euriborPeriodId : 1);\r\n formData.append('Iban', iban ? iban : '');\r\n formData.append('GenerateInvoice', generateInvoice);\r\n formData.append('InvegaLoanDelayTerm', invegaLoanDelayTerm);\r\n //formData.append(\r\n // 'InvegaLoanDelayTermDate',\r\n // invegaLoanDelayTermDate\r\n // ? format(new Date(invegaLoanDelayTermDate), 'yyyy-MM-dd')\r\n // : ''\r\n //);\r\n formData.append(\r\n 'InvegaPaymentDate',\r\n invegaPaymentDate\r\n ? format(new Date(invegaPaymentDate), 'yyyy-MM-dd')\r\n : ''\r\n );\r\n formData.append('File', fileToUpload);\r\n formData.append('Comment', comment);\r\n if (generateInvoice) {\r\n formData.append('InvoiceFee', invoiceFee);\r\n }\r\n\r\n setIsloading(true);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.ApproveChangeConditions, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title:\r\n 'Sąlygų keitimo dokumentas sėkmingai pateiktas pareiškėjo pasirašymui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((results) => {\r\n if (results) {\r\n window.location.reload();\r\n }\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n } else {\r\n setNotValid(true);\r\n }\r\n };\r\n\r\n const isValidIban = (v) => {\r\n if (!v) {\r\n return false;\r\n }\r\n return v.match(/[A-Z]{2}\\d{2} ?\\d{4} ?\\d{4} ?\\d{4} ?\\d{4} ?[\\d]{0,2}/);\r\n };\r\n\r\n const returnFirstInterestChangeDate = () => {\r\n const invedaSign = new Date(invegaSigningDate);\r\n\r\n if (!invegaSigningDate || isNaN(invedaSign)) {\r\n return '';\r\n }\r\n if (euriborPeriodId == '4') {\r\n let nextYearFirstDay = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n nextYearFirstDay = setMonth(nextYearFirstDay, 0);\r\n nextYearFirstDay = setDate(nextYearFirstDay, 1);\r\n\r\n return nextYearFirstDay;\r\n } else if (euriborPeriodId == '3') {\r\n const month = getMonth(invedaSign);\r\n let halfYearLater = new Date(invedaSign);\r\n\r\n if (month > 5) {\r\n halfYearLater = addMonths(invedaSign, 6);\r\n halfYearLater = setMonth(halfYearLater, 0);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n } else {\r\n halfYearLater = setMonth(halfYearLater, 5);\r\n halfYearLater = setDate(halfYearLater, 1);\r\n }\r\n\r\n return halfYearLater;\r\n } else if (euriborPeriodId == '2') {\r\n const month = getMonth(invedaSign);\r\n let quarterYearLater = new Date(invedaSign);\r\n\r\n if (month < 3) {\r\n quarterYearLater = setMonth(quarterYearLater, 3);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 2 && month < 6) {\r\n quarterYearLater = setMonth(quarterYearLater, 7);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 5 && month < 9) {\r\n quarterYearLater = setMonth(quarterYearLater, 9);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n } else if (month > 8) {\r\n quarterYearLater = setYear(invedaSign, invedaSign.getFullYear() + 1);\r\n quarterYearLater = setMonth(quarterYearLater, 0);\r\n quarterYearLater = setDate(quarterYearLater, 1);\r\n }\r\n\r\n return quarterYearLater;\r\n }\r\n\r\n return '';\r\n };\r\n\r\n const validateFieldsBasedOnInterestType = (selectedField) => {\r\n if (interestTypeId != '2') {\r\n return true;\r\n }\r\n return selectedField;\r\n };\r\n\r\n useEffect(() => {\r\n setFirstInterestChangeDate(returnFirstInterestChangeDate());\r\n }, [euriborPeriodId]);\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Pateikti sąlygų keitimą pasirašymui

\r\n
\r\n \r\n
\r\n setInvegaContractNumber(e.target.value)}\r\n placeholder={'Sutarties numeris'}\r\n disabled={false}\r\n />\r\n {notValid && !invegaContractNumber && (\r\n \r\n Įveskite sutarties numerį\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n setInvegaLoanSum(e.target.value)}\r\n placeholder={'Paskolos suma'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invegaLoanSum, 'privalomas laukas', 3)}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n Galutinis paskolos grąžinimo terminas\r\n \r\n setinvegaLoanPaymentTerm(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n style={{ width: '50px' }}\r\n />\r\n\r\n {notValid && !invegaLoanPaymentTerm && (\r\n \r\n Įveskite paskolos terminą\r\n

\r\n )}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n Paskolos atidėjimo terminas (mėn.){' '}\r\n \r\n {/* console.log(e)}\r\n\r\n onChange={(e) => setInvegaLoanDelayTermDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaLoanDelayTermDate && (\r\n \r\n Neįvesta data\r\n

\r\n )}*/}\r\n setInvegaLoanDelayTerm(e.target.value)}\r\n //placeholder={'Paskolos atidėjimo terminas (mėn.)'}\r\n disabled={false}\r\n style={{ marginTop: '-2.1rem' }}\r\n />\r\n {notValid &&\r\n (validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n ) ||\r\n checkLoanDelayTermFormat(invegaLoanDelayTerm)) && (\r\n //!disableCheck('LoanDelayTerm') &&\r\n

\r\n {validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n )}\r\n {!validateTextinput(\r\n invegaLoanDelayTerm,\r\n 'privalomas laukas',\r\n 1\r\n ) && checkLoanDelayTermFormat(invegaLoanDelayTerm)}\r\n

\r\n )}\r\n \r\n \r\n \r\n \r\n Išmokėjimo terminas{' '}\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setInvegaPaymentDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />\r\n {notValid && !invegaPaymentDate && (\r\n

\r\n Neįvesta data\r\n

\r\n )}\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n setInvegaLoanInterestRate(e.target.value)}\r\n placeholder={'Marža, %'} //ex Palūkanų norma\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isInterestRateValid(\r\n invegaLoanInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n

\r\n )}\r\n
\r\n \r\n\r\n {/*
*/}\r\n \r\n {' '}\r\n {interestTypeId != '2' && (\r\n
\r\n \r\n setInvegaLoanVariableInterestRate(e.target.value)\r\n }\r\n placeholder={'Kintama palūkanų dalis, %'}\r\n disabled={false}\r\n />\r\n {notValid && interestTypeId != '2' && (\r\n \r\n {isInterestVariableRateValid(\r\n invegaLoanVariableInterestRate,\r\n 'privalomas laukas',\r\n 3\r\n )}\r\n

\r\n )}\r\n
\r\n )}\r\n
\r\n \r\n
\r\n {/* setPaymentDate(e.target.value)}\r\n placeholder={'Mokėjimo diena'}\r\n disabled={false}\r\n /> */}\r\n \r\n Mokėjimo diena\r\n \r\n setPaymentDate(e.target.value)}\r\n value={paymentDate}\r\n >\r\n {[null, 5, 15, 25].map((val) => (\r\n \r\n ))}\r\n \r\n
\r\n {notValid && !paymentDate && (\r\n \r\n Įveskite mokėjimo dieną\r\n

\r\n )}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Palūkanų normos rūšis\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n {interestTypeId != '2' && (\r\n \r\n \r\n Palūkanų normos perskaičiavimo dažnumas\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n\r\n {interestTypeId != '2' && (\r\n \r\n \r\n Pirma palūkanų keitimo diena\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setFirstInterestChangeDate(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={true}\r\n />\r\n \r\n )}\r\n \r\n {' '}\r\n {interestTypeId != '2' && (\r\n <>\r\n \r\n Taikomo Euribor pasikeitimo data\r\n \r\n console.log(e)}\r\n\r\n onChange={(e) => setEuriborChangeDate(e)}\r\n minDate={subDays(new Date(), 10)}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n />{' '}\r\n \r\n )}\r\n {notValid && !euriborChangeDate && interestTypeId !== '2' && (\r\n

Neįvesta data

\r\n )}\r\n \r\n \r\n \r\n setIban(e.target.value)}\r\n placeholder={'Sąskaitos numeris'}\r\n disabled={false}\r\n />\r\n {notValid && !isValidIban(iban) && (\r\n \r\n Neteisingas formatas\r\n

\r\n )}\r\n \r\n \r\n setGenerateInvoice(!generateInvoice)}\r\n />\r\n \r\n \r\n Generuoti sąskaitą faktūrą\r\n \r\n \r\n {generateInvoice && (\r\n
\r\n \r\n
\r\n setInvoiceFee(e.target.value)}\r\n placeholder={'Sutarties pakeitimo mokestis'}\r\n disabled={false}\r\n />\r\n {notValid && (\r\n \r\n {isSumValid2(invoiceFee, 'privalomas laukas', 3)}\r\n {/* Privalote įrašyti paskolos sumą */}\r\n

\r\n )}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n {notValid && !fileToUpload && (\r\n \r\n Privalote pasirinkti priedą\r\n

\r\n )}\r\n
\r\n
\r\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 connect()(SubmitConditionsChangeRequestModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './deleteComfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst ReturnChangeConditionsModal = ({\r\n open,\r\n requestId,\r\n loading,\r\n dispatch,\r\n comment,\r\n}) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'returnChangeConditionsModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n setIsloading(true);\r\n\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.ReturnChangeConditions(requestId, comment),\r\n {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiška sėkmingai grąžinta tikslinti sąlygų keitimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 401) {\r\n swal({\r\n title: `Įvyko klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Ar tikrai norite grąžinti sąlygų keitimą tikslinimui?

\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ReturnChangeConditionsModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport DatePicker from 'react-datepicker';\r\nimport { format } from 'date-fns';\r\nimport styles from './deleteComfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\n\r\nconst ReturnModal = ({ open, requestId, loading, dispatch, comment }) => {\r\n const [isLoading, setIsloading] = useState(false);\r\n const [adjustTill, setAdjustTill] = useState(null);\r\n const [notValid, setNotValid] = useState(false);\r\n\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'returnModal',\r\n visible: false,\r\n };\r\n setAdjustTill(null);\r\n setNotValid(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n setNotValid(true);\r\n if (adjustTill) {\r\n setIsloading(true);\r\n\r\n const body = {\r\n comment: comment,\r\n adjustTill: format(new Date(adjustTill), 'yyyy-MM-dd'),\r\n };\r\n fetch(\r\n Api.API_BASE_URL + config.API_ENDPOINTS.setReturnRequest(requestId),\r\n {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: JSON.stringify(body),\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiška sėkmingai grąžinta tikslinimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 401) {\r\n swal({\r\n title: `Įvyko klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Ar tikrai norite gražinti paraišką tikslinimui?

\r\n\r\n
\r\n \r\n
\r\n \r\n Tikslinti iki:\r\n \r\n setAdjustTill(e)}\r\n minDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={false}\r\n style={{ width: '50px' }}\r\n />\r\n
\r\n
\r\n
\r\n {notValid && !adjustTill && (\r\n

Privaloma pasirinkti datą

\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ReturnModal);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './autorizationModal.module.scss';\r\nimport {\r\n Button,\r\n WithSpinner,\r\n InputWithTextInline,\r\n MultiSelect,\r\n} from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport DatePicker from 'react-datepicker';\r\nimport 'react-datepicker/dist/react-datepicker.css';\r\nimport swal from 'sweetalert';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { Link } from 'react-router-dom';\r\nimport { projectOptions } from './../../utils/translation/translation';\r\n\r\nconst AutorizationModal = ({\r\n open,\r\n id,\r\n loading,\r\n dispatch,\r\n errors,\r\n representative,\r\n projects,\r\n}) => {\r\n const [values, setValues] = useState({\r\n Id: null,\r\n RoleId: 1,\r\n FirstName: '',\r\n LastName: '',\r\n PersonalCode: '',\r\n ValidFrom: '',\r\n ValidTo: '',\r\n RepresentedCompanyCode: '',\r\n RepresentedPersonalCode: '',\r\n RepresentativeType: '',\r\n RepresentedLastName: '',\r\n RepresentedFirstName: '',\r\n RepresentedCompanyName: '',\r\n });\r\n\r\n const [projectId, setProjectId] = useState();\r\n const [projectsIdArray, setProjectsIdArray] = useState(\r\n representative?.Projects\r\n );\r\n const [file, setFile] = useState({\r\n file: '',\r\n });\r\n const setUploadFile = (e) => {\r\n const file = e.target.files[0];\r\n\r\n if (file && file.size > 20 * 1048 * 1048) {\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n return;\r\n }\r\n\r\n setFile(file);\r\n };\r\n\r\n const handleInputChange = ({ target: { name, value } }) => {\r\n setValues({ ...values, [name]: value });\r\n };\r\n\r\n const handleStartDateChange = (date) => {\r\n if (!date) {\r\n setValues({ ...values, ['ValidFrom']: '' });\r\n return;\r\n }\r\n const year = date.getFullYear();\r\n const month = `${date.getMonth() + 1}`.padStart(2, 0);\r\n const day = `${date.getDate()}`.padStart(2, 0);\r\n setValues({ ...values, ['ValidFrom']: [year, month, day].join('-') });\r\n };\r\n\r\n const handleEndDateChange = (date) => {\r\n if (!date) {\r\n setValues({ ...values, ['ValidTo']: '' });\r\n return;\r\n }\r\n const year = date.getFullYear();\r\n const month = `${date.getMonth() + 1}`.padStart(2, 0);\r\n const day = `${date.getDate()}`.padStart(2, 0);\r\n setValues({ ...values, ['ValidTo']: [year, month, day].join('-') });\r\n };\r\n\r\n const cancel = () => {\r\n dispatch(actions.backoffice.setRepresentativeAction({}));\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFileManager(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const [localLoading, setLocalLoading] = useState(false);\r\n const yes = () => {\r\n // dispatch(actions.dashboard.setUserOnSyncFlagAction(true));\r\n setLocalLoading(true);\r\n\r\n const formData = new FormData();\r\n formData.append('UploadedFile', file);\r\n formData.append('FirstName', values.FirstName);\r\n formData.append('LastName', values.LastName);\r\n formData.append('PersonalCode', values.PersonalCode);\r\n formData.append('ValidFrom', values.ValidFrom);\r\n formData.append('ValidTo', values.ValidTo);\r\n\r\n for (let i = 0; i < projectsIdArray.length; i++) {\r\n formData.append('Projects', projectsIdArray[i]);\r\n }\r\n formData.append(\r\n 'RepresentedCompanyCode',\r\n !values.RepresentedCompanyCode ? '' : values.RepresentedCompanyCode\r\n );\r\n formData.append(\r\n 'RepresentedPersonalCode',\r\n !values.RepresentedPersonalCode ? '' : values.RepresentedPersonalCode\r\n );\r\n formData.append(\r\n 'RepresentedLastName',\r\n !values.RepresentedLastName ? '' : values.RepresentedLastName\r\n );\r\n formData.append(\r\n 'RepresentedFirstName',\r\n !values.RepresentedFirstName ? '' : values.RepresentedFirstName\r\n );\r\n formData.append(\r\n 'RepresentedCompanyName',\r\n !values.RepresentedCompanyName ? '' : values.RepresentedCompanyName\r\n );\r\n formData.append('RepresentativeType', values.RepresentativeType);\r\n\r\n if (values.Id) {\r\n formData.append('Id', values.Id);\r\n }\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.saveRepresentativeManager, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n // dispatch(actions.backoffice.loadRepresentatives());\r\n window.location.reload();\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n if (r.ErrorMessage) {\r\n dispatch(\r\n actions.backoffice.setSaveRepresentativeError(r.ErrorMessage)\r\n );\r\n } else {\r\n dispatch(actions.backoffice.setSaveRepresentativeError(r.errors));\r\n }\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n })\r\n .finally(() => {\r\n // dispatch(actions.dashboard.setUserOnSyncFlagAction(false));\r\n setLocalLoading(false);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n setValues(representative);\r\n setProjectsIdArray(representative.Projects);\r\n }, [representative]);\r\n\r\n const onMultiSelectChange = (event) => {\r\n setProjectId(event);\r\n const filter = event.map((val) => val.value);\r\n setProjectsIdArray(filter);\r\n };\r\n\r\n const setDefaultValue = () =>\r\n projectsIdArray\r\n ? projectsIdArray?.map((val) =>\r\n projectOptions?.find((x) => x?.value === val)\r\n )\r\n : [];\r\n\r\n return (\r\n open && (\r\n
\r\n
\r\n \r\n \r\n

Pridėti įgaliotinį

\r\n\r\n
\r\n
\r\n Tipas\r\n \r\n \r\n Fizinis\r\n \r\n \r\n Juridinis\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n Priemonės(ių) pavadinimas(ai)\r\n \r\n\r\n onMultiSelectChange(e)}\r\n value={setDefaultValue() || ''}\r\n defaultValue={setDefaultValue()}\r\n options={projectOptions}\r\n />\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n {values.RepresentativeType == 'Personal' ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n\r\n
\r\n {values.RepresentativeType == 'Personal' ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n\r\n
\r\n {values.RepresentativeType == 'Personal' && (\r\n \r\n )}\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {/*\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n */}\r\n \r\n {representative &&\r\n representative.Files &&\r\n representative.Files.map((f) => (\r\n
\r\n downloadFile(representative.Id, f)}\r\n style={{ color: '#009fe3', textDecoration: 'none' }}\r\n >\r\n Įgaliojimas Nr. {f}\r\n \r\n
\r\n ))}\r\n \r\n \r\n

\r\n Galimi priedų formatai: .pdf, .adoc. Maksimalus dydis 20MB.\r\n

\r\n
\r\n
\r\n\r\n {errors && (\r\n
\r\n {typeof errors == 'string' && (\r\n
{errors}
\r\n )}\r\n {errors.Projects &&\r\n errors.Projects.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.FirstName &&\r\n errors.FirstName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.LastName &&\r\n errors.LastName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.PersonalCode &&\r\n errors.PersonalCode.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.ValidFrom &&\r\n errors.ValidFrom.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.ValidTo &&\r\n errors.ValidTo.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.UploadedFile &&\r\n errors.UploadedFile.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.RepresentedCompanyCode &&\r\n errors.RepresentedCompanyCode.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.RepresentedPersonalCode &&\r\n errors.RepresentedPersonalCode.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.RepresentedCompanyName &&\r\n errors.RepresentedCompanyName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.RepresentedFirstName &&\r\n errors.RepresentedFirstName.map((e) => (\r\n
{e}
\r\n ))}\r\n {errors.RepresentedLastName &&\r\n errors.RepresentedLastName.map((e) => (\r\n
{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\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n errors: state.backofficeRepresentetivesState.errors,\r\n representative: state.backofficeRepresentetivesState.representative,\r\n projects: state.auth.projects,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AutorizationModal);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\n\r\nimport styles from './globalConfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst ConfirmWithAdditionalDocs = ({\r\n open,\r\n requestId,\r\n data,\r\n loading,\r\n dispatch,\r\n comment,\r\n loanDelayTerm,\r\n loanPurposeId,\r\n invegaContractNumber2,\r\n InvegaLoanPaymentTerm2,\r\n invegaLoanInterestRate2,\r\n invegaLoanSum2,\r\n}) => {\r\n const [showError, setShowError] = useState(false);\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'confirmWithAdditionalDocs',\r\n visible: false,\r\n };\r\n setShowError(false);\r\n setFileToUpload(null);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n\r\n formData.append('RequestId', requestId);\r\n //formData.append('File', fileToUpload);\r\n formData.append('Comment', comment);\r\n\r\n formData.append('UserCommentRequired', false);\r\n formData.append('RefusalOfFunding', true);\r\n // formData.append('InvegaLoanInterestRate', invegaLoanInterestRate2);\r\n // formData.append('InvegaContractNumber', invegaContractNumber2);\r\n // formData.append('InvegaLoanSum', invegaLoanSum2);\r\n //formData.append('InvegaLoanDelayTerm', loanDelayTerm);\r\n\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.setApproveWithDocsRequest(requestId),\r\n {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n withCredentials: 'include',\r\n\r\n body: formData,\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiška pateikta papildomų dokumentų prisegimui',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Prašymas pateikti papildomus dokumentus

\r\n\r\n
\r\n

\r\n Ar tikrai norite pateikti paraišką papildomų dokumentų prisegimui?\r\n

\r\n
\r\n {/*

Prašome prisegti sprendimą dėl finansavimo skyrimo

\r\n
\r\n
\r\n\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n
*/}\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ConfirmWithAdditionalDocs);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\n\r\nimport styles from './globalConfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst ConfirmWithAdditionalDocs = ({\r\n open,\r\n data,\r\n loading,\r\n dispatch,\r\n requestId,\r\n comment,\r\n}) => {\r\n const [showError, setShowError] = useState(false);\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'confirmRequestNew',\r\n visible: false,\r\n };\r\n setShowError(false);\r\n setFileToUpload(null);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n\r\n formData.append('RequestId', requestId);\r\n formData.append('File', fileToUpload);\r\n formData.append('Comment', comment);\r\n\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.requestApprove(requestId), {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n withCredentials: 'include',\r\n\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Finansavimo skyrimas sėkmingai patvirtintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Patvirtinti finansavimo skyrimą

\r\n\r\n
\r\n

Prašome prisegti sprendimą dėl finansavimo skyrimo

\r\n
\r\n
\r\n\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ConfirmWithAdditionalDocs);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\nimport styles from './globalConfirmationModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { config } from './../../api/config';\r\nimport { Api } from './../../api/api';\r\n\r\nconst ConfirmWithAdditionalDocs = ({\r\n open,\r\n data,\r\n loading,\r\n dispatch,\r\n requestId,\r\n comment,\r\n}) => {\r\n const [showError, setShowError] = useState(false);\r\n const [isLoading, setIsloading] = useState(false);\r\n const [fileToUpload, setFileToUpload] = useState(null);\r\n const [rejectWithoutFile, setRejectWithoutFile] = useState(false);\r\n const [rejectByClient, setRejectByClient] = useState(false);\r\n const cancel = () => {\r\n const open = {\r\n modalName: 'confirmRejectNew',\r\n visible: false,\r\n };\r\n setShowError(false);\r\n setFileToUpload(null);\r\n setRejectWithoutFile(false);\r\n setRejectByClient(false);\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const yes = () => {\r\n const formData = new FormData();\r\n formData.append('RequestId', requestId);\r\n formData.append('File', fileToUpload);\r\n formData.append('Comment', comment);\r\n formData.append('RejectWithoutFile', rejectWithoutFile);\r\n formData.append('RejectByClient', rejectByClient);\r\n\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.requestReject(requestId), {\r\n method: 'POST',\r\n credentials: 'include',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n withCredentials: 'include',\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(\r\n actions.backoffice.saveEditAdditionalComments('get', requestId)\r\n );\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n\r\n cancel();\r\n\r\n swal({\r\n title: 'Paraiška sėkmingai atmesta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n swal({\r\n title: `${\r\n r.ErrorDescription ? r.ErrorDescription : 'Įvyko klaida'\r\n }`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

Atmesti paraišką

\r\n\r\n
\r\n

Prašome prisegti neigiamą sprendimą

\r\n
\r\n
\r\n
\r\n \r\n setRejectByClient(!rejectByClient)}\r\n />\r\n \r\n \r\n Atmesti paraišką pareiškėjo prašymu\r\n \r\n \r\n
\r\n
\r\n \r\n setRejectWithoutFile(!rejectWithoutFile)}\r\n />\r\n \r\n \r\n Atmesti paraišką be sprendimo pridėjimo\r\n \r\n \r\n
\r\n\r\n {!rejectWithoutFile && (\r\n
\r\n \r\n setFileToUpload(e.target.files[0])}\r\n />\r\n

\r\n {fileToUpload && fileToUpload.name ? fileToUpload.name : ''}\r\n

\r\n
\r\n )}\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(ConfirmWithAdditionalDocs);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n Input,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n RowTableAdmin,\r\n RowTableRow,\r\n RowTableCell,\r\n RequestMultiSelect,\r\n} from '../../components';\r\nimport {\r\n requestDataLabelTranslation,\r\n companySize,\r\n requestStatus,\r\n rentContractTranslation,\r\n requestLogTranslation,\r\n applicantTranslation,\r\n CompanySizeTypeInvega,\r\n questionListTranslations,\r\n loanPurpose,\r\n projectName,\r\n projectName2,\r\n} from './../../utils/translation/translation';\r\nimport styles from '../newRequest/newRequest.module.scss';\r\nimport uploadStyles from '../../containers/fileUploadContainer/fileUploadContainer.module.scss';\r\nimport { Link } from 'react-router-dom';\r\nimport { format, subYears } from 'date-fns';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport FinancialCriteriaModal from './../../modals/financialCriteriaModal/financialCriteriaModal';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faTrash,\r\n faDownload,\r\n faExclamation,\r\n faPencilAlt,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport {\r\n checkBOPage,\r\n formatNumber,\r\n formatNumberToCurrency,\r\n} from './../../utils/helpers/helpers';\r\nimport { evrkFull, formatCountryJson } from './../../utils/helpers/evrk';\r\nimport DatePicker from 'react-datepicker';\r\nimport DoublecheckEvaluationModal from './../../modals/doublecheckEvaluationModal/doublecheckEvaluationModal';\r\nimport RegenerateDecisionDocModal from './../../modals/regenerateDecisionDocModal/regenerateDecisionDocModal';\r\nimport IncreaseInvegaLoanSumModal from './../../modals/increaseInvegaLoanSumModal/increaseInvegaLoanSumModal';\r\nimport ConfirmRequestModal from './../../modals/confirmRequestModal/confirmRequestModal';\r\nimport InvegaLoanSumModal from './../../modals/invegaLoanSumModal/invegaLoanSumModal';\r\nimport TakeRequestToEvaluateModal from './../../modals/takeRequestToEvaluateModal/takeRequestToEvaluateModal';\r\nimport AcceptConditionsChangeRequestModal from './../../modals/acceptConditionsChangeRequestModal/acceptConditionsChangeRequestModal';\r\nimport RejectConditionsChangeRequest from './../../modals/rejectConditionsChangeRequestModal/rejectConditionsChangeRequestModal';\r\nimport ChangeContractFile from './../../modals/changeContractFile/changeContractFile';\r\nimport ChangeCompanySize from './../../modals/changeCompanySize/changeCompanySize';\r\nimport ChangeSetNotDeletable from './../../modals/changeSetNotDeletableModal/changeSetNotDeletable';\r\nimport { SurwayAnswers } from '../requests/surwayAnswers';\r\nimport { AddressModal } from '../../containers/addressInputContainer/addressInputContainer';\r\nimport { FinancialTable } from '../../containers/';\r\nimport ApproveRequestWithAdditionalDocs from './../../modals/approveRequestWithAdditionalDocs/approveRequestWithAdditionalDocs';\r\nimport TerminateRequestModal from './../../modals/terminateRequestModal/terminateRequestModal';\r\nimport ChangeConditionsBoModal from './../../modals/changeConditionsBoModal/changeConditionsBoModal';\r\nimport GlobalMessageModal from './../../modals/globalMessageModal/globalMessageModal';\r\nimport SubmitConditionsChangeRequestModal from './../../modals/submitConditionsChangeRequestModal/submitConditionsChangeRequestModal';\r\nimport ReturnChangeConditionsModal from './../../modals/returnChangeConditionsModal/returnChangeConditionsModal';\r\nimport ReturnModal from './../../modals/returnModal/returnModal';\r\nimport {\r\n DeclarationInfo1,\r\n DeclarationInfo2,\r\n} from '../../utils/mapsData/selfDeclaration/selfDeclaration';\r\nimport AutorizationModal from './../../modals/autorizationModalBackoffice/autorizationModal';\r\nimport ConfirmWithAdditionalDocs from './../../modals/confirmWithAdditionalDocs/confirmWithAdditionalDocs';\r\nimport ConfirmRequestNew from './../../modals/confirmRequestNew/confirmRequestNew';\r\nimport ConfirmRejectNew from './../../modals/confirmRejectNew/confirmRejectNew';\r\n\r\nconst BackofficeRequest = ({\r\n requestsState,\r\n dispatch,\r\n confirmModalVisible,\r\n financialCriteriaModalVisible,\r\n doublecheckEvaluationModalVisible,\r\n regenerateDecisionDocModalVisible,\r\n invegaLoanSumModalVisible,\r\n increaseInvegaLoanSumModalVisible,\r\n confirmRequestModalVisible,\r\n takeRequestToEvaluateModalVisible,\r\n acceptConditionsChangeRequestModalVisible,\r\n submitConditionsChangeRequestModalVisible,\r\n rejectConditionsChangeRequestVisible,\r\n signInInfo,\r\n financialCriteriaResults,\r\n changeContractFileVisible,\r\n changeCompanySizeVisible,\r\n loading,\r\n approveRequestWithAdditionalDocsVisible,\r\n terminateRequestModalVisible,\r\n autorizationModalVisible,\r\n changeConditionsBoModalVisible,\r\n globalMessageModalVisible,\r\n returnChangeConditionsModalVisible,\r\n returnModalVisible,\r\n confirmWithAdditionalDocsVisible,\r\n confirmRequestNewVisible,\r\n confirmRejectNewVisible,\r\n changeSetNotDeletableVisible,\r\n}) => {\r\n const rowTableHeader = [\r\n 'Tipas',\r\n 'Priedo pavadinimas',\r\n 'Sudarymo data',\r\n 'Pareiškėjo pasirašymo data',\r\n 'Invega pasirašymo data',\r\n 'Vartotojo komentaras',\r\n 'Invega komentaras',\r\n 'Prastėjanti finansinė būklė',\r\n 'Veiksmai',\r\n '',\r\n ];\r\n const tableHeader = [\r\n 'Priedo tipas',\r\n 'Įkelto priedo pavadinimas',\r\n 'Data',\r\n 'Ar papildomas?',\r\n 'Veiksmai',\r\n ];\r\n const logTableHeader = ['Data', 'Paraiškos būsena', 'Asmuo'];\r\n const jadisTableHeader = [\r\n 'Pavadinimas, kodas',\r\n 'Akcininkai',\r\n 'Turimų akcijų kiekis (procentais)',\r\n 'Duomenų gavimo data',\r\n 'Duomenys apie dalyvius (akcininkus) atnaujinti',\r\n 'Įstatinis kapitalas',\r\n 'Akcijų skaičius (vnt)',\r\n 'Nominali akcijos vertė',\r\n ];\r\n const evrkTableHeader = [\r\n 'Evrk kodas',\r\n 'Galioja nuo',\r\n 'Galioja iki',\r\n 'Ar pagrindinė?',\r\n ];\r\n\r\n const evrkTableHeaderIndividuals = [\r\n 'Evrk kodas',\r\n 'Galioja nuo',\r\n 'Galioja iki',\r\n 'Registracijos data',\r\n ];\r\n\r\n const amlPepTableHeader = [\r\n 'Vardas, pavardė / Pavadinimas',\r\n 'Tipas',\r\n 'Turi sankcijų',\r\n 'Turi PEP',\r\n 'Patikros rezultatas',\r\n 'Rasta 100% atitikmuo (AML)',\r\n 'Rasta 100% atitikmuo (PEP)',\r\n 'Rasta >=85% atitikmuo (AML)',\r\n 'Rasta >=85% atitikmuo (PEP)',\r\n ];\r\n\r\n const comfirmedRequestHeader = [\r\n 'Sutarties numeris',\r\n 'Paskolos suma, Eur',\r\n 'Paskolos paskirtis',\r\n 'Galutinis paskolos grąžinimo terminas',\r\n 'Atidėjimo terminas (mėn.)',\r\n 'Išmokėjimo terminas',\r\n 'Palūkanų normos perskaičiavimo dažnumas',\r\n 'Pirma palūkanų keitimo diena',\r\n 'Taikomo Euribor pasikeitimo data',\r\n 'Marža, %',\r\n 'Kintama palūkanų dalis, %',\r\n ];\r\n\r\n const changedRequestHeader = [\r\n 'Sąlygų pakeitimo numeris',\r\n 'Paskolos suma, Eur',\r\n 'Galutinis paskolos grąžinimo terminas',\r\n 'Atidėjimo terminas (mėn.)',\r\n 'Išmokėjimo terminas',\r\n 'Palūkanų normos perskaičiavimo dažnumas',\r\n 'Pirma palūkanų keitimo diena',\r\n 'Taikomo Euribor pasikeitimo data',\r\n 'Marža, %',\r\n 'Kintama palūkanų dalis, %',\r\n ];\r\n\r\n const relatedRequestsHeader = [\r\n 'Paraiškos numeris',\r\n 'Paskolos suma, Eur',\r\n 'Paraiškos statusas',\r\n 'Priemonė',\r\n 'Veiksmai',\r\n ];\r\n\r\n const allLOansInfoHeader = [\r\n 'Sutarties Nr.',\r\n 'Įmonės kodas',\r\n 'Įmonės pavadinimas',\r\n 'Paskolos suma',\r\n 'Sutarties/paraiškos data',\r\n 'Veiksmai',\r\n ];\r\n\r\n const importExportHeader = [\r\n 'Tipas',\r\n 'Bendra suma (be PVM)',\r\n 'Atsakymo suformavimo data ir laikas',\r\n ];\r\n\r\n const representativesHeader = [\r\n 'Vardas',\r\n 'Pavardė',\r\n 'Asmens kodas',\r\n 'Atstovaujamos įmonės kodas',\r\n 'Atstovaujamo asmens kodas',\r\n 'Įgaliojimo pradžia',\r\n 'Įgaliojimo pabaiga',\r\n 'Priemonės',\r\n 'Dokumentai',\r\n ];\r\n\r\n const AdditionalCheckTableHeader = [\r\n 'Patikros kriterijus',\r\n 'Tipas',\r\n 'Vardas, pavardė / Pavadinimas',\r\n 'Laukas',\r\n 'Reikšmė',\r\n 'Patikros rezultatas',\r\n 'Pastabos',\r\n 'Data',\r\n ];\r\n\r\n const PepResultData = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Tolesnis vertinimas negalimas';\r\n case 2:\r\n return 'Turi įtakos vertinimui';\r\n case 3:\r\n return 'Neturi įtakos vertinimui';\r\n default:\r\n return text;\r\n }\r\n };\r\n const commentsHistoryTableHeader = ['Data', 'Komentatorius', 'Komentaras'];\r\n\r\n const returnProjectsNames = (ids) => {\r\n if (ids && ids?.length > 0) {\r\n return ids.map((val) =>

{projectName(val)}

);\r\n }\r\n\r\n return '-';\r\n };\r\n\r\n const amlPepTrueFalseTranslation = (val) => (val === true ? 'Taip' : 'Ne');\r\n\r\n const CheckResultIdTranslation = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Praėjo';\r\n case 2:\r\n return 'Nepraėjo';\r\n case 3:\r\n return 'Rankinė patikra';\r\n default:\r\n return text;\r\n }\r\n };\r\n\r\n const AmlPepResultTranslate = (val) => {\r\n if (val === 1) {\r\n return Praėjo;\r\n } else if (val === 2) {\r\n return (\r\n \r\n Nepraėjo. Tolesnis paraiškos vertinimas galimas tik suderinus su\r\n RIZIKŲ VALDYMO IR ATITIKTIES DEPARTAMENTO atsakingu darbuotoju.\r\n \r\n );\r\n } else if (val === 3) {\r\n return Reikia peržiūros;\r\n }\r\n };\r\n\r\n const translateIsBussinessSorrow = (val) => {\r\n if (val === true) {\r\n return Taip;\r\n } else if (val === false) {\r\n return Ne;\r\n } else {\r\n return -;\r\n }\r\n };\r\n\r\n const isSmallText = () => (\r\n \r\n Bendrovė ir visos su ja susijusios įmonės atitinka labai mažos arba mažos\r\n įmonės statusą pagal{' '}\r\n \r\n Lietuvos Respublikos smulkaus ir vidutinio verslo plėtros įstatymo{' '}\r\n \r\n nuostatas. Pagrindiniai kriterijai: įmonėje (atsižvelgiant ir į susijusias\r\n ir partnerines įmones) dirba mažiau kaip 50 darbuotojų ir įmonė atitinka\r\n bent vieną iš šių kriterijų: metinės pajamos neviršija 10 mln. Eur arba\r\n įmonės balanse nurodyto turto vertė neviršija 10 mln. Eur\r\n \r\n );\r\n\r\n const viewWindow = true;\r\n const requestId = window.location.href.split('/').pop();\r\n\r\n const [companyQuestionList, setCompanyQuestionList] = useState({});\r\n const [ceoDataList, setCeoDataList] = useState({});\r\n const [companyDataList, setCompanyDataList] = useState({});\r\n const [otherRequestData, setOtherRequestData] = useState({});\r\n const [managerDataList, setManagerData] = useState({});\r\n const [rentContract, setRentContract] = useState(null);\r\n const [applicantData, setApplicantData] = useState(null);\r\n const [farmData, setFarmData] = useState(null);\r\n const [controllingCompanies, setControllingCompanies] = useState(null);\r\n const [controllingForeignCompanies, setControllingForeignCompanies] =\r\n useState(null);\r\n\r\n const [comment, setComment] = useState('');\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalTitle, setModalTitle] = useState('');\r\n const [modalMainText, setModalMainText] = useState('');\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const [loginType, setLoginType] = useState('Company');\r\n\r\n const [evrksList, setevrksList] = useState([]);\r\n\r\n const [turnoversInfo, setTurnoversInfo] = useState([]);\r\n\r\n const [invoices, setInvoices] = useState({\r\n status: 1,\r\n number: '1',\r\n // invoiceDate: '2020-04-27T12:03:28.316Z',\r\n sum: '',\r\n debtSum: '',\r\n invoiceType: 1,\r\n RentDate: '2020-02-01',\r\n checkAlreadyPayed: true,\r\n vmiInvoiceStatus: 1,\r\n checkIsComparative: true,\r\n SumWithoutPvm: '',\r\n DebtSumWithoutPvm: '',\r\n });\r\n\r\n const [userCommentChecked, setUserCommentChecked] = useState(false);\r\n const [riskAssessmentNote, setRiskAssessmentNote] = useState('');\r\n\r\n const [editAmlPepTable, setEditAmlPepTable] = useState(false);\r\n const [editRiskTable, setEditRiskTable] = useState(false);\r\n const [riskAssessmentResults, setRiskAssessmentResults] = useState(null);\r\n const [riskLevel, setRiskLevel] = useState(null);\r\n const [additionalRequestsLoading, setAdditionalRequestsLoading] =\r\n useState(false);\r\n\r\n const onCommentChange = ({ target: { name, value } }) => {\r\n setComment(value);\r\n };\r\n\r\n const confirmClick = () => {\r\n const open = {\r\n modalName: 'confirmRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeContract = () => {\r\n const open = {\r\n modalName: 'changeContractFile',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeCompanySize = () => {\r\n const open = {\r\n modalName: 'changeCompanySize',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeSetNotDeletable = () => {\r\n const open = {\r\n modalName: 'changeSetNotDeletable',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const acceptConditionsChangeRequest = () => {\r\n const open = {\r\n modalName: 'acceptConditionsChangeRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const rejectConditionsChangeRequest = () => {\r\n const open = {\r\n modalName: 'rejectConditionsChangeRequest',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const takeRequestToEvaluate = () => {\r\n const open = {\r\n modalName: 'takeRequestToEvaluateModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n {\r\n /*const rejectClick = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText(\r\n 'Ar tikrai norite atmesti paraišką?
Sprendimas negalės būti pakeistas.'\r\n );\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_REJECT_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };*/\r\n }\r\n\r\n const rejectClick = () => {\r\n const open = {\r\n modalName: 'confirmRejectNew',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const confirmWithDocsClick = () => {\r\n const open = {\r\n modalName: 'confirmWithAdditionalDocs',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const terminateRequest = (id) => {\r\n const open = {\r\n modalName: 'terminateRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const returnClick = () => {\r\n const open = {\r\n modalName: 'returnModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadUploadedFile = (id, fileName) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadFileManager(requestId, id),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a); // we need to append the element to the dom -> otherwise it will not work in firefox\r\n a.click();\r\n a.remove(); //afterwards we remove the element again\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const sign = () => {\r\n dispatch(actions.dashboard.getSigningUrlAction(null, requestId, 'manager'));\r\n };\r\n\r\n const signDecision = () => {\r\n dispatch(actions.dashboard.getSigningDecisionUrlAction(requestId));\r\n };\r\n\r\n const returnSignedDocumentEndpoint = (\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n console.log(fileType);\r\n if (fileType === 'Decision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentDecision(requestId);\r\n }\r\n\r\n if (fileType === 'RejectDecision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentRejectDecision(requestId);\r\n }\r\n\r\n {\r\n /*if (\r\n fileType === 'ChangeConditions' ||\r\n fileType === 'ChangeConditionsRequest'\r\n ) {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }*/\r\n }\r\n\r\n if (fileType === 'ChangeConditionsRequest') {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }\r\n\r\n if (fileType === 'ChangeConditions') {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n\r\n if (\r\n fileType === 'ChangeConditionsReject' ||\r\n fileType === 'ChangeConditionsDecision'\r\n ) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n\r\n return config.API_ENDPOINTS.GetSignedDocumentContract(requestId);\r\n };\r\n\r\n const GetSignedDocumentContractManager = (\r\n requestId,\r\n fileType,\r\n name,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n returnSignedDocumentEndpoint(\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ),\r\n {\r\n method: 'GET',\r\n headers: {\r\n 'Content-Type': 'application/pdf',\r\n },\r\n withCredentials: 'include',\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sutartis_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = name;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const GetSignedDocumentDecisionManager = (requestId) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.GetSignedDocumentDecision(requestId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sprendimas_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const getFinancialCriteriaResults = (id) => {\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(id, 'Manager', true)\r\n );\r\n };\r\n\r\n const checkFinancialCriteriaResults = (id, AllEvaluationCompleted) => {\r\n getFinancialCriteriaResults(id);\r\n };\r\n\r\n const [requestSystemInfo, setRequestSystemInfo] = useState(null);\r\n\r\n const isCheckBox = (name) =>\r\n name.slice(0, 5) === 'check' || name.slice(0, 5) === 'Check' ? true : false;\r\n\r\n const isDate = (name) =>\r\n name.slice(name.length - 4) === 'Date' ? true : false;\r\n\r\n const [hasInvoice, setHasInvoice] = useState(true);\r\n\r\n const [fileArr, setFileArray] = useState([]);\r\n const [rejection, setRejection] = useState(null);\r\n\r\n useEffect(() => {\r\n if (requestsState && requestsState.data) {\r\n setCeoDataList(requestsState.data.ContactInfo);\r\n setCompanyDataList(requestsState.data.CompanyData);\r\n setOtherRequestData(requestsState.data.OtherRequestData);\r\n setManagerData(requestsState.data.ManagerData);\r\n setCompanyQuestionList(requestsState.data.FinancialData);\r\n setComment(requestsState.data.Comment ? requestsState.data.Comment : '');\r\n // setRentContract(requestsState.data.RentContract);\r\n setRiskAssessmentResults(requestsState.data.RiskAssessmentResults);\r\n setRiskLevel(requestsState.data?.RiskLevelId);\r\n\r\n setRentContract({\r\n ...requestsState.data.RentContract,\r\n checkAdditionalRule1:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n checkAdditionalRule2:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n checkAdditionalRule3:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n });\r\n\r\n setApplicantData(requestsState.data.ApplicantData);\r\n setFarmData(requestsState.data.FarmData);\r\n\r\n setInvoices(requestsState.data.Invoice);\r\n setRequestSystemInfo(requestsState.data.RequestSystemInfo);\r\n setLoginType(\r\n requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.IndividualId === null\r\n ? 'Company'\r\n : 'Individual'\r\n );\r\n setUserCommentChecked(\r\n requestsState.data.UserComment === null ? false : true\r\n );\r\n\r\n if (requestsState.data.RentContract != null) {\r\n if (requestsState.data.RentContract.RealEstateObjectId != null) {\r\n requestsState.data.Invoice.Id == null\r\n ? setHasInvoice(false)\r\n : setHasInvoice(true);\r\n } else {\r\n setHasInvoice(true);\r\n }\r\n }\r\n setControllingCompanies(requestsState.data.ControllingCompanies);\r\n setControllingForeignCompanies(\r\n requestsState.data.ControllingForeignCompanies\r\n );\r\n setApproversCommen(requestsState.additionalComments.ApproversComment);\r\n setSignatorysComment(requestsState.additionalComments.SignatorysComment);\r\n\r\n if (\r\n requestsState.filesTableList &&\r\n requestsState.filesTableList.length !== 0 &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 10\r\n ) {\r\n if (requestsState.filesTableList.length === 1) {\r\n setRejection(requestsState.filesTableList[0]);\r\n } else {\r\n setRejection(requestsState.filesTableList.slice(-1)[0]);\r\n setFileArray([requestsState.filesTableList]);\r\n setFileArray(\r\n [...requestsState.filesTableList].slice(\r\n 0,\r\n requestsState.filesTableList.length - 1\r\n )\r\n );\r\n }\r\n } else {\r\n setFileArray(requestsState.filesTableList);\r\n }\r\n }\r\n }, [requestsState]);\r\n\r\n const [hasParentCompanyValue, setHasParentCompanyValue] = useState(false);\r\n const [hasParentCompanyState, setHasParentCompanyState] = useState(false);\r\n const [declarationInfo, setDeclarationInfo] = useState(null);\r\n const [loanInfo, setLoanInfo] = useState(null);\r\n const [checks, setChecks] = useState(null);\r\n const [pepData, setPepData] = useState({});\r\n\r\n const [suppliers, setSuppliers] = useState(null);\r\n const [buyers, setBuyers] = useState(null);\r\n const [activityRegions, setActivityRegions] = useState(null);\r\n\r\n const [isStatusGood, setIsStatusGood] = useState(false);\r\n const [\r\n generateNoteAboutNoFinanceFromBanks,\r\n setGenerateNoteAboutNoFinanceFromBanks,\r\n ] = useState(false);\r\n\r\n const financialDataArray2019 = [\r\n 'Fsi2019Submitted',\r\n 'br',\r\n 'FsiStartDate2019',\r\n 'FsiEndDate2019',\r\n 'Assets19',\r\n 'Liabilities19',\r\n 'PropertyAmount19',\r\n 'Turnover19',\r\n ];\r\n\r\n const financialDataArray2020 = [\r\n 'Fsi2020Submitted',\r\n 'br',\r\n\r\n 'FsiStartDate2020',\r\n 'FsiEndDate2020',\r\n 'Assets20',\r\n 'Liabilities20',\r\n 'PropertyAmount20',\r\n 'Turnover20',\r\n ];\r\n\r\n const financialDataArray2021 = [\r\n 'Fsi2021Submitted',\r\n 'br',\r\n\r\n 'FsiStartDate2021',\r\n 'FsiEndDate2021',\r\n 'Assets21',\r\n 'Liabilities21',\r\n 'PropertyAmount21',\r\n 'Turnover21',\r\n ];\r\n\r\n const financialDataArray = (fsiYear) =>\r\n fsiYear == 2019 ? financialDataArray2019 : financialDataArray2020;\r\n\r\n const financialDataArray2 = (fsiYear) =>\r\n fsiYear == 2020 ? financialDataArray2020 : financialDataArray2021;\r\n\r\n const agreementsCheckBoxesArray = ['Check1', 'Check2', 'Check3'];\r\n\r\n const fileTypeTranslation = (name) => {\r\n if (name === 'Contract') {\r\n return 'Sutartis';\r\n } else if (name === 'Decision') {\r\n return 'Sprendimas';\r\n } else if (name === 'ChangeConditionsRequest') {\r\n return 'Prašymas pakeisti susitarimą';\r\n } else if (name === 'ChangeConditions') {\r\n return 'Sąlygų keitimo dokumentas';\r\n } else if (name === 'ChangeConditionsReject') {\r\n return 'Sąlygų keitimas atmestas';\r\n } else if (name === 'ChangeConditionsDecision') {\r\n return 'Sąlygų keitimo sprendimas';\r\n } else if (name === 'RejectDecision') {\r\n return 'Atmetimo sprendimas';\r\n } else if (name === 'RejectRequest') {\r\n return 'Atmetimo prašymas';\r\n }\r\n };\r\n\r\n const euriborTranslation = (name) => {\r\n if (name === 1) {\r\n return '1 mėn.';\r\n } else if (name === 2) {\r\n return '3 mėn.';\r\n } else if (name === 3) {\r\n return '6 mėn.';\r\n } else if (name === 4) {\r\n return '12 mėn.';\r\n }\r\n };\r\n\r\n const fileTypeTranslation2 = (type) => {\r\n switch (type) {\r\n case 1:\r\n return 'SVV subjekto statuso deklaracija';\r\n case 2:\r\n return 'Vienos įmonės deklaracija';\r\n case 3:\r\n return 'Verslo subjektą apibūdinantys dokumentai';\r\n case 4:\r\n return 'Verslo planas (Aprašo priedas Nr. 1)';\r\n case 5:\r\n return 'Verslo subjekto valdymo organo sprendimas dėl Paskolos gavimo, turto įkeitimo ir įgaliotų asmenų sudaryti atitinkamus sandorius paskyrimo';\r\n case 6:\r\n return 'Verslininko individualios veiklos registracijos dokumentai, asmens tapatybės dokumento kopija ir laisvos formos dokumentas, kuriame būtų nurodyti verslininko ir su juo susijusių įmonių ryšiai';\r\n case 7:\r\n return 'Finansiniai dokumentai';\r\n case 8:\r\n return 'Buhalterinė pažyma apie importą arba eksportą į Kinijos Liaudies Respubliką';\r\n case 11:\r\n return 'Kiti priemonės aprašyme nurodyti dokumentai';\r\n case 9:\r\n return 'Einamųjų finansinių metų tarpinis finansinių ataskaitų rinkinys';\r\n case 10:\r\n return 'Motyvuotas paaiškinimas dėl įvykusių pokyčių Verslo subjekto veikloje, kai paraiška buvo atmesta ir reikiama pakartotinai';\r\n case 12:\r\n return 'Paskolos gavėjo finansinė būklė ir prognozės (Aprašymo priedas Nr. 1)';\r\n case 13:\r\n return 'Pareiškėjo veiklos (finansinių) duomenų detalizacijos forma';\r\n case 15:\r\n return 'Vadovo asmens tapatybės dokumento kopija';\r\n case 14:\r\n return 'Įgaliojimas';\r\n }\r\n };\r\n\r\n const checkTypeIdTranslate = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Pareiškėjas';\r\n case 2:\r\n return 'Pareiškėjas';\r\n case 3:\r\n return 'Kontroliuojanti įmonė';\r\n case 4:\r\n return 'Kontroliuojantis asmuo';\r\n case 5:\r\n return 'Tiekėjas';\r\n case 6:\r\n return 'Įmonės vadovas';\r\n case 7:\r\n return 'Viešas pareigas einantis asmuo';\r\n case 8:\r\n return 'Pirkėjas';\r\n default:\r\n return id;\r\n }\r\n };\r\n\r\n const criteriaIdEnums = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Šalies kriterijus';\r\n case 2:\r\n return 'EVRK kriterijus';\r\n case 3:\r\n return 'JAR tarptautinės sankcijos';\r\n case 4:\r\n return 'AML';\r\n case 5:\r\n return 'PEP';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const fieldIdEnums = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Pilietybė';\r\n case 2:\r\n return 'Įmonės registracijos šalis';\r\n case 3:\r\n return 'Įmonės registracijos šalis';\r\n case 4:\r\n return 'Valstybė, kurioje asmuo yra PEP';\r\n case 5:\r\n return 'Asmens tapatybės dokumentą išdavusi valstybė';\r\n case 6:\r\n return 'Pilietybė';\r\n case 7:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 8:\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 9:\r\n return 'Nuolatinės gyvenamosios vietos valstybė';\r\n case 10:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 11:\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 12:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 13:\r\n return 'Mokesčio mokėtojo valstybė';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const resultIdEnum = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Tolesnis vertinimas negalimas';\r\n case 2:\r\n return 'Turi įtakos vertinimui';\r\n case 3:\r\n return 'Neturi įtakos vertinimui';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const riskIdEnum = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Aukšta';\r\n case 2:\r\n return 'Vidutinė';\r\n case 3:\r\n return 'Žema';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const changeContractModalOpen = () => {\r\n const open = {\r\n modalName: 'changeConditionsBoModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeConditionsModalOpen = () => {\r\n const hasChangeCOnditionsDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditions'\r\n );\r\n\r\n const hasChangeConditionsRequestDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditionsRequest'\r\n );\r\n if (!hasChangeCOnditionsDoc && !hasChangeConditionsRequestDoc) {\r\n swal({\r\n title: 'Neprisegtas sąlygų keitimo dokumentas',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const open = {\r\n modalName: 'submitConditionsChangeRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n };\r\n\r\n const returnChangeConditionsModalOpen = () => {\r\n const hasChangeCOnditionsDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditions'\r\n );\r\n const hasChangeConditionsRequestDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditionsRequest'\r\n );\r\n if (!hasChangeCOnditionsDoc && !hasChangeConditionsRequestDoc) {\r\n swal({\r\n title: 'Neprisegtas sąlygų keitimo dokumentas',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const open = {\r\n modalName: 'returnChangeConditionsModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n };\r\n\r\n const [openedMessageText, setOpenedMessagetext] = useState('');\r\n\r\n const openMessageModal = (message) => {\r\n setOpenedMessagetext(message);\r\n const open = {\r\n modalName: 'globalMessageModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n return message;\r\n };\r\n\r\n const messageShow = (message) => {\r\n const trimmedMessage = message.slice(0, 50);\r\n\r\n if (message.length < 50) {\r\n return message;\r\n }\r\n\r\n return (\r\n \r\n {trimmedMessage}\r\n \r\n openMessageModal(message)}\r\n >\r\n ... [Rodyti daugiau]\r\n \r\n \r\n );\r\n };\r\n\r\n const showChangeFile = (val) => {\r\n switch (val) {\r\n case 'ChangeConditionsRequest':\r\n return true;\r\n case 'ChangeConditions':\r\n return true;\r\n case 'ChangeConditionsReject':\r\n return true;\r\n case 'ChangeConditionsDecision':\r\n return true;\r\n default:\r\n return false;\r\n }\r\n };\r\n\r\n const changeFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const acceptFiles = () => {\r\n return '.xlsx, .xls, .doc, .docx, .xml, .txt, .pdf';\r\n };\r\n\r\n const selectFile = (e, id) => {\r\n setIsloading(true);\r\n\r\n const file = e.target.files[0];\r\n\r\n const formData = new FormData();\r\n formData.append('File', file);\r\n formData.append('RequestId', requestId);\r\n formData.append('FileId', id);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.ChangeChangeConditionsFile, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai pakeistas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko pateikti priedo';\r\n if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n {\r\n /*const applicantDataArray = [\r\n 'CompanyManagerName',\r\n 'CompanyManagerSurName',\r\n 'PersonalCode',\r\n 'BirthDate',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyEvrk',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'IndividualActivityCertificateNumber',\r\n 'CompanyActivityAddress',\r\n ];*/\r\n }\r\n const applicantDataArray = [\r\n 'IndividualActivityCertificateNumber',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'FarmCode',\r\n 'FarmHouseNo',\r\n //'CompanyManagerName',\r\n //'PersonalCode',\r\n //'CompanyManagerCitizenshipId',\r\n //'CompanyManagerCitizenshipId2',//pakeisti\r\n //'StateOfResidenceForTaxPurposes',\r\n 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const farmDataArray = [\r\n //'FarmCertificateNumber',\r\n //'FarmRegistrationDate',\r\n //'FarmIdentificationCode',\r\n //'FarmHoldingNumber',\r\n 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'IndividualActivityCertificateNumber',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'IncomeSources',\r\n 'OtherIncomeSource',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const ceoDataListArray = ['ApplicantName', 'ApplicantSurname'];\r\n\r\n {\r\n /*const companyDataListArray = [\r\n 'CompanyName',\r\n 'CompanyCode',\r\n 'CompanyManagerName',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyType',\r\n 'StatusInitial',\r\n 'CompanyEvrk',\r\n 'CompanyRegistrationDate',\r\n // 'CompanyRegistrationAddress',\r\n 'CompanyActivityAddress',\r\n 'CompanyPhone',\r\n 'CompanyEmail',\r\n 'ContractEmail',\r\n 'Iban',\r\n ];*/\r\n }\r\n\r\n const companyDataListArray = [\r\n 'CompanyName',\r\n 'CompanyCode',\r\n 'CompanyType',\r\n 'StatusInitial',\r\n 'CompanyEvrk',\r\n 'ActivityInfo',\r\n 'LicenceNeeded',\r\n 'CompanyRegistrationDate',\r\n 'CompanyRegistrationCountryId',\r\n 'StateOfResidenceForTaxPurposesId',\r\n 'StateOfTheTaxpayerId',\r\n 'StateTaxIdentificationNumber',\r\n //'CompanyRegistrationAddress',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const managerDataArray = [\r\n 'FirstName',\r\n 'LastName',\r\n 'PersonalCode',\r\n 'Position',\r\n 'BasisOfRepresentationId',\r\n 'DocumentTypeId',\r\n 'DocumentNumber',\r\n 'DocumentIssuedCountryId',\r\n 'DocumentDate',\r\n 'DocumentExpiredDate',\r\n 'CompanyManagerCitizenshipId',\r\n 'StateOfResidenceForTaxPurposesId',\r\n 'StateOfTheTaxpayerId',\r\n 'StateTaxIdentificationNumber',\r\n 'PermanentResidenceCountryId',\r\n ];\r\n const otherRequestDataArray = [\r\n 'CompanyPhone',\r\n 'CompanyEmail',\r\n 'ContractEmail',\r\n 'CompanyWeb',\r\n 'Iban',\r\n 'SubjectRelationId',\r\n 'CompanySizeType',\r\n 'ParentCompanyCodesFromRequest',\r\n //'CheckCompanyAge',\r\n 'ControllingCompanies',\r\n 'ControllingForeignCompanies',\r\n 'NumberOfEmployees',\r\n ];\r\n\r\n const shareHolderTypeTranslate = (val) => {\r\n switch (val) {\r\n case 'Company':\r\n return 'Juridinis asmuo';\r\n case 'Person':\r\n return 'Fizinis asmuo';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const returnFileTypeNr = (val) => {\r\n if (val == 9) {\r\n return 7;\r\n }\r\n if (val == 10) {\r\n return 4;\r\n }\r\n if (val == 14) {\r\n return 5;\r\n }\r\n if (val == 3) {\r\n return 1;\r\n }\r\n if (val == 5) {\r\n return null;\r\n }\r\n if (val == 6) {\r\n return null;\r\n }\r\n if (val == 15) {\r\n return null;\r\n }\r\n if (val == 13) {\r\n return 2;\r\n }\r\n if (val == 11) {\r\n return 3;\r\n }\r\n return val;\r\n };\r\n\r\n const check1 = () => (\r\n
\r\n

\r\n Pareiškėjas susipažino su \"{projectName2(requestSystemInfo.ProjectId)}\"{' '}\r\n aprašymu, pateiktu INVEGOS puslapyje.\r\n

\r\n
\r\n );\r\n\r\n useEffect(() => {\r\n if (requestsState && requestsState.data) {\r\n setCeoDataList(requestsState.data.ContactInfo); //kontaktinė informacija JA/FA bendras\r\n setCompanyDataList(requestsState.data.CompanyData);\r\n setOtherRequestData(requestsState.data.OtherRequestData);\r\n setManagerData(requestsState.data.ManagerData);\r\n setHasParentCompanyValue(\r\n requestsState.data.CompanyData &&\r\n requestsState.data.CompanyData.ParentCompanyCodesFromRequest &&\r\n requestsState.data.CompanyData.ParentCompanyCodesFromRequest\r\n .length !== 0\r\n ? true\r\n : false\r\n );\r\n setDeclarationInfo(requestsState.data.DeclarationInfo);\r\n setLoanInfo(requestsState.data.LoanInfo);\r\n setChecks(requestsState.data.Checks);\r\n\r\n setevrksList(\r\n requestsState.data.evrksList ? requestsState.data.evrksList : []\r\n );\r\n\r\n requestsState.data.ApplicantData != null &&\r\n setApplicantData({\r\n ...requestsState.data.ApplicantData,\r\n IndividualActivityCertificateNumberStartDate:\r\n requestsState.data.ApplicantData\r\n .IndividualActivityCertificateNumberStartDate,\r\n });\r\n\r\n setCompanyQuestionList(requestsState.data.FinancialData);\r\n\r\n requestsState.data.FarmData != null &&\r\n setFarmData({\r\n ...requestsState.data.FarmData,\r\n //CompanyEvrk: requestData.FarmData.CompanyEvrk,\r\n });\r\n\r\n setCompanyQuestionList(requestsState.data.FinancialData);\r\n setRequestSystemInfo(requestsState.data.RequestSystemInfo);\r\n\r\n // Pep\r\n if (requestsState.data && requestsState.data.PepData) {\r\n for (let i = 0; i < 4; i++) {\r\n const item =\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i];\r\n if (item && (item.Name || item.Surname)) {\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i] = {\r\n positionId: item.PositionId,\r\n name: item.Name,\r\n surname: item.Surname,\r\n birthDate: item.BirthDate,\r\n pepPositionId: item.PepPositionId,\r\n institution: item.Institution,\r\n country: item.Country,\r\n //personRelation: item.PersonRelation,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i] = {\r\n positionId: '',\r\n name: '',\r\n surname: '',\r\n birthDate: '',\r\n pepPositionId: '',\r\n institution: '',\r\n country: '',\r\n //personRelation: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestsState.data.PepData.ControllingPersons[i];\r\n\r\n if (item && (item.Name || item.Surname)) {\r\n requestsState.data.PepData.ControllingPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n citizenshipId: item.CitizenshipId,\r\n personCode: item.PersonCode,\r\n position: item.Position,\r\n personControlId: item.PersonControlId,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n stateOfResidenceForTaxPurposesId:\r\n item.StateOfResidenceForTaxPurposesId,\r\n stateOfTheTaxpayerId: item.StateOfTheTaxpayerId,\r\n stateTaxIdentificationNumber: item.StateTaxIdentificationNumber,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ControllingPersons[i] = {\r\n name: '',\r\n surname: '',\r\n citizenshipId: '',\r\n personCode: '',\r\n position: '',\r\n personControlId: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n stateOfResidenceForTaxPurposesId: '',\r\n stateOfTheTaxpayerId: '',\r\n stateTaxIdentificationNumber: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestsState.data.PepData.ControllingCompanies[i];\r\n if (item && (item.Name || item.Code)) {\r\n requestsState.data.PepData.ControllingCompanies[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n country: item.Country,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n stockApprove: item.StockApprove,\r\n stockName: item.StockName,\r\n stockCountryId: item.StockCountryId,\r\n stockIsin: item.StockIsin,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ControllingCompanies[i] = {\r\n name: '',\r\n code: '',\r\n country: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n stockApprove: null,\r\n stockName: '',\r\n stockCountryId: '',\r\n stockIsin: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestsState.data) {\r\n setRequestData(requestsState.data);\r\n setPepData(requestsState.data.PepData);\r\n setSuppliers(requestsState.data.Suppliers);\r\n setBuyers(requestsState.data.Buyers);\r\n setActivityRegions(requestsState.data.ActivityRegions);\r\n }\r\n\r\n //pep end\r\n\r\n setIsStatusGood(\r\n requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.Status != null &&\r\n requestsState.data.RequestSystemInfo.Status !== 6\r\n ? true\r\n : false\r\n );\r\n\r\n setControllingCompanies(requestsState.data.ControllingCompanies);\r\n setControllingForeignCompanies(\r\n requestsState.data.ControllingForeignCompanies\r\n );\r\n setTurnoversInfo(arrangeTurnovers(requestsState.data.TurnoversInfo));\r\n setSelfDeclarationtData(requestsState.data.SelfDeclaration);\r\n setRiskAssessmentNote(requestsState.RiskAssessmentNote);\r\n }\r\n }, [requestsState]);\r\n\r\n useEffect(() => {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(actions.backoffice.saveEditAdditionalComments('get', requestId));\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n dispatch(actions.backoffice.getInvegaUsersAction());\r\n }, [requestId]);\r\n\r\n const arrangeTurnovers = (list) => {\r\n if (\r\n list &&\r\n list.length === 6 &&\r\n list[0].Date &&\r\n list[0].Date === '2019-11-01T00:00:00' &&\r\n list[5].Date &&\r\n list[5].Date === '2021-01-01T00:00:00'\r\n ) {\r\n return [list[0], list[3], list[1], list[4], list[2], list[5]];\r\n }\r\n\r\n return list;\r\n };\r\n\r\n const trueFalseTranslation = (val) => (val == true ? 'Taip' : 'Ne');\r\n\r\n const [approversComment, setApproversCommen] = useState('');\r\n const [signatorysComment, setSignatorysComment] = useState('');\r\n\r\n const saveApproversComment = ({ target: { name, value } }) => {\r\n setApproversCommen(value);\r\n };\r\n\r\n const saveComment = () => {\r\n const data = {\r\n approversComment: approversComment,\r\n signatorysComment: signatorysComment,\r\n requestId: requestSystemInfo.RequestId,\r\n };\r\n\r\n dispatch(actions.backoffice.saveEditAdditionalComments('save', data));\r\n };\r\n\r\n const changeStatusClick = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Pateikta vertinti\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_SENDFORAPPROVE_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus3Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Patvirtinta\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_APPROVE_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus13Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Sąlygų keitimas\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_CHANGECONDITIONS_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus17Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText(\r\n 'Paraiškos būsena bus pakeista į \"Patvirtintas sąlygų keitimas\".'\r\n );\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_CHANGECONDITIONSAPPROVED_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const isSelectedEvrkInTheList = (val) => {\r\n const isInArray = evrksList.filter((x) => x == val);\r\n return evrksList.length > 0 && isInArray.length > 0 ? false : true;\r\n };\r\n\r\n const formatEvrkJson2 = (evrk) => {\r\n return evrksList\r\n ? evrksList.map((val) => ({\r\n [val]: evrkFull[val],\r\n }))\r\n : null;\r\n };\r\n\r\n const from19To20 = (val) => `${val.slice(0, -2)}20`;\r\n\r\n const ageLessThen5 = (regDate) => {\r\n const date = new Date();\r\n const ageMinus5Years = subYears(new Date(date), 5);\r\n return new Date(regDate) > ageMinus5Years;\r\n };\r\n\r\n const ShowQuestionList = () => {\r\n const size =\r\n loginType === 'Company'\r\n ? companyDataList && companyDataList.CompanySizeType\r\n : applicantData && applicantData.CompanySizeType;\r\n const socialBusiness = loanInfo && loanInfo.LoanSocialBusiness;\r\n const companyRegistrationDate =\r\n companyDataList && companyDataList.CompanyRegistrationDate;\r\n const individualRegistrationData =\r\n applicantData &&\r\n applicantData.IndividualActivityCertificateNumberStartDate;\r\n if (size == 1 || size == 2) {\r\n if (\r\n (socialBusiness == 'true' || socialBusiness == true) &&\r\n ageLessThen5(\r\n loginType === 'Company'\r\n ? companyRegistrationDate\r\n : individualRegistrationData\r\n )\r\n ) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n const questionListArray = [\r\n 'IsSmall',\r\n 'IsNotListed',\r\n 'IsProfitNotShared',\r\n 'IsNotJoined',\r\n 'IsNotTaken',\r\n 'IsNotProblemic',\r\n ];\r\n\r\n const setFAcolor = (submitted, year, fsiYear) => {\r\n if (year === fsiYear) {\r\n return submitted ? 'green' : 'red';\r\n }\r\n\r\n return '#033878';\r\n };\r\n\r\n const returnCountryNameById = (id, x) => {\r\n const find = formatCountryJson.find((val) => val.value == id);\r\n if (x) {\r\n return find ? find?.label : id;\r\n }\r\n return find ? find[0]?.label : '-';\r\n };\r\n\r\n const [administrationInvoices, setAdministrationInvoices] = useState([]);\r\n const administrationInvoicesTableHeader = [\r\n 'Sąskaitos numeris',\r\n 'Failo pavadinimas',\r\n 'Sukūrimo data ',\r\n 'Paskolos paruošimo mokestis, Eur',\r\n 'Būsena',\r\n 'Veiksmai',\r\n ];\r\n\r\n const GetAdministrationInvoices = async () => {\r\n try {\r\n const response = await Api.GetAdministrationInvoices(requestId);\r\n setAdministrationInvoices(response);\r\n } catch (e) {\r\n // errorHandler(e, e?.response?.status, e?.response && e?.response?.data?.ErrorMessage, t('Ok'));\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n GetAdministrationInvoices();\r\n }, [requestId]);\r\n\r\n const getContractName = (id) => {\r\n return `Sąskaita_${id}.pdf`;\r\n };\r\n\r\n const DownloadChangeConditionsInvoice = async (\r\n contractId,\r\n contractNumber\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadChangeConditionsInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const downloadAllFiles = async () => {\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.DownloadAllFiles(requestId), {\r\n method: 'GET',\r\n headers: {\r\n 'content-Type': 'application/zip',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = `Visi_priedai_${requestId}.zip`;\r\n document.body.appendChild(a); // we need to append the element to the dom -> otherwise it will not work in firefox\r\n a.click();\r\n a.remove(); //afterwards we remove the element again\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n // dispatch(actions.backoffice.downloadAllFilesAction(requestId));\r\n };\r\n\r\n const DownloadAdministrationInvoice = async (contractId, contractNumber) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadAdministrationInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const [selfDeclarationData, setSelfDeclarationtData] = useState(null);\r\n const [requestData, setRequestData] = useState(requestsState);\r\n\r\n const translateTurnover = (val) => {\r\n const year = val.substring(0, 4);\r\n const month = val.substring(5, 7);\r\n\r\n const dictionary = {\r\n '01': 'sausio',\r\n '02': 'vasario',\r\n '03': 'kovo',\r\n '04': 'balandžio',\r\n '05': 'gegužės',\r\n '06': 'birželio',\r\n '07': 'liepos',\r\n '08': 'rugpjūčio',\r\n '09': 'rugsėjo',\r\n 10: 'spalio',\r\n 11: 'lapkričio',\r\n 12: 'gruodžio',\r\n };\r\n\r\n if (val && val.length === 4) {\r\n return `Apyvarta ${year}m `;\r\n }\r\n return `Apyvarta ${year}m. ${dictionary[month]} mėn.`;\r\n };\r\n\r\n const checkIf2021FinancesToShow = () => {\r\n const checkDate = new Date('2022-06-01');\r\n const now = new Date();\r\n if (now > checkDate) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const addExclamation = () => {\r\n return (\r\n \r\n );\r\n };\r\n const [showErr, setShowErr] = useState(false);\r\n const [riskAssessmentDate, setRiskAssessmentDate] = useState('');\r\n\r\n const [riskAssessmentResult, setRiskAssessmentResult] = useState('');\r\n\r\n const onRiskAssesmentResultChange = (val) => {\r\n setRiskAssessmentResult(val.target.value);\r\n };\r\n\r\n const saveRiskAssesmentData = () => {\r\n if (riskAssessmentDate) {\r\n const riskData = {\r\n riskAssessmentResultId: riskAssessmentResult,\r\n riskAssessmentNote: riskAssessmentNote,\r\n riskAssessmentDate: riskAssessmentDate,\r\n requestId: requestSystemInfo.RequestId,\r\n };\r\n dispatch(actions.backoffice.saveRiskAssessmentResult('save', riskData));\r\n setRiskAssessmentResult(null);\r\n setShowErr(false);\r\n } else {\r\n setShowErr(true);\r\n }\r\n };\r\n\r\n const saveRiskAssessmentNote = ({ target: { name, value } }) => {\r\n setRiskAssessmentNote(value);\r\n };\r\n\r\n const saveRiskAssessmentDate = (e) => {\r\n const formattedData = format(new Date(e), 'yyyy-MM-dd');\r\n setRiskAssessmentDate(formattedData);\r\n };\r\n\r\n const editAutorization = (id) => {\r\n dispatch(actions.backoffice.setSaveRepresentativeError({}));\r\n const row = requestsState?.representatives.find((r) => r.Id === id);\r\n\r\n row.RepresentativeType = row.RepresentedPersonalCode\r\n ? 'Personal'\r\n : 'Company';\r\n\r\n dispatch(actions.backoffice.setRepresentativeAction(row));\r\n\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFileManager(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const actionClick = (representativeId) => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText('Ar tikrai norite ištrinti?');\r\n setModalData({ representativeId });\r\n setModalAction('DELETE_REPRESENTATIVE_MANAGER');\r\n setModalTitle('');\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const confirmRequestNew = () => {\r\n const open = {\r\n modalName: 'confirmRequestNew',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const onAmlPepNoteChange = (id, newNote) => {\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n Note: newNote,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const onAmlPepResultIdChange = (id, resultId) => {\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n ResultId: resultId === 0 ? null : resultId,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const onAmlPepDateChange = (id, newDate) => {\r\n const formattedData = format(new Date(newDate), 'yyyy-MM-dd');\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n Date: formattedData,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const saveRiskLevel = async () => {\r\n try {\r\n await Api.ManagerSaveRiskLevel(requestId, riskLevel);\r\n setEditRiskTable(false);\r\n swal({\r\n title: `AML rizikos grupė sėkmingai pakeista`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n const saveAmlPepAdditionalData = async () => {\r\n const payload = {\r\n requestId,\r\n riskAssessmentEntries: riskAssessmentResults,\r\n };\r\n try {\r\n await Api.ManagerSaveRiskAssessmentResult(payload);\r\n setEditAmlPepTable(false);\r\n swal({\r\n title: `Patikros duomenys sėkmingai atnaujinti`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n const additionalJadisRequest = async () => {\r\n try {\r\n setAdditionalRequestsLoading(true);\r\n await Api.RecheckJadis(requestId);\r\n swal({\r\n title: `Papildoma JADIS užklausa sėkmingai atlikta`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n setAdditionalRequestsLoading(false);\r\n }\r\n };\r\n\r\n const additionalAMLRequest = async () => {\r\n try {\r\n setAdditionalRequestsLoading(true);\r\n await Api.RecheckAml(requestId);\r\n swal({\r\n title: `Papildoma AML užklausa sėkmingai atlikta`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n setAdditionalRequestsLoading(false);\r\n }\r\n };\r\n\r\n const returnRiskLevelClass = (val) => {\r\n switch (val) {\r\n case 1:\r\n return styles.redInput;\r\n case 2:\r\n return styles.yellowInput;\r\n case 3:\r\n return styles.greenInput;\r\n default:\r\n return styles.greenInput;\r\n }\r\n };\r\n\r\n const returnYesNO = (val) => {\r\n if (val === true) {\r\n return 'Taip';\r\n }\r\n\r\n if (val === false) {\r\n return 'Ne';\r\n }\r\n\r\n return '';\r\n };\r\n\r\n const incomeSourceOptions = [\r\n { label: 'pajamos iš ūkio', value: 1 },\r\n { label: 'darbo užmokestis', value: 2 },\r\n { label: 'santaupos, pensija/socialinės išmokos/alimentai', value: 3 },\r\n { label: 'santaupos', value: 3 },\r\n { label: 'palikimas', value: 4 },\r\n { label: 'pajamos iš NT pardavimo', value: 5 },\r\n { label: 'paskolos/skolintos lėšos', value: 6 },\r\n { label: 'stipendija', value: 7 },\r\n { label: 'pajamos iš šeimos narių/artimųjų giminaičių', value: 8 },\r\n { label: 'laimėjimai (lošimai/lažybos', value: 9 },\r\n { label: 'dividendai', value: 10 },\r\n { label: 'turto nuoma', value: 11 },\r\n { label: 'individuali veikla', value: 12 },\r\n { label: 'kita', value: 13 },\r\n ];\r\n\r\n const activityRegionOptions = [\r\n { label: 'Lietuva', value: 1 },\r\n { label: 'ES/EEE', value: 2 },\r\n { label: 'NVS', value: 3 },\r\n { label: 'JAV', value: 4 },\r\n { label: 'Kita', value: 5 },\r\n ];\r\n\r\n const findInvegaSigningDate = () => {\r\n if (signInInfo) {\r\n const contract = signInInfo?.find((val) => val.FileType === 'Contract');\r\n return contract ? contract?.InvegaSigningDate : '';\r\n }\r\n return '';\r\n };\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Paraiška

\r\n {checkBOPage() && (\r\n \r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n {/* ---------------- FO Request Start------------ */}\r\n
\r\n
\r\n

Paraiškos duomenys

\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != 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

Kontaktinė informacija

\r\n {ceoDataList != null && requestData.ContactInfo != null && (\r\n
\r\n {ceoDataListArray.map((key, i) => (\r\n
\r\n \r\n
\r\n ))}\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 data andly for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n

Duomenys apie Verslo subjektą

\r\n {companyDataList != null &&\r\n requestsState.data.CompanyData != null && (\r\n
\r\n {companyDataListArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {!companyDataList.CompanyEvrk && (\r\n \r\n -\r\n \r\n )}\r\n {companyDataList.CompanyEvrk &&\r\n isSelectedEvrkInTheList(\r\n companyDataList.CompanyEvrk\r\n ) && (\r\n \r\n {`${\r\n companyDataList.CompanyEvrk\r\n } - ${\r\n evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n ? evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n : ''\r\n }`}\r\n \r\n )}\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n \r\n \r\n * duomenys apie deklaruotą pagrindinę\r\n veiklą gaunami iš VMI.\r\n

\r\n
\r\n );\r\n } else if (key === 'LicenceNeeded') {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyRegistrationCountryId'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n {companyDataList.CompanyRegistrationCountryId ===\r\n requestsState.data.CompanyData\r\n .CompanyRegistrationCountryId &&\r\n companyDataList.CompanyRegistrationCountryId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.CompanyRegistrationCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'StateOfResidenceForTaxPurposesId'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n {companyDataList.StateOfResidenceForTaxPurposesId ===\r\n requestsState.data.CompanyData\r\n .StateOfResidenceForTaxPurposesId &&\r\n companyDataList.StateOfResidenceForTaxPurposesId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.StateOfResidenceForTaxPurposesId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (key === 'StateOfTheTaxpayerId') {\r\n return (\r\n \r\n \r\n \r\n {companyDataList.StateOfTheTaxpayerId ===\r\n requestsState.data.CompanyData\r\n .CompanyManagerCitizenshipId &&\r\n companyDataList.StateOfTheTaxpayerId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.StateOfTheTaxpayerId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyManagerCitizenshipId'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n {companyDataList.CompanyManagerCitizenshipId ===\r\n requestsState.data.CompanyData\r\n .CompanyManagerCitizenshipId &&\r\n companyDataList.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress'\r\n // || key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (key === 'IncomeSources') {\r\n return (\r\n <>\r\n
\r\n \r\n Pajamų lėšų šaltinis\r\n \r\n\r\n \r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n value={\r\n farmData.IncomeSources.map((id) =>\r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n options={incomeSourceOptions}\r\n disabled={true}\r\n />\r\n
\r\n \r\n );\r\n } else {\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 {loginType === 'Company'\r\n ? 'Duomenys apie įmonės vadovą '\r\n : 'Duomenys apie verslo subjektą'}\r\n

\r\n {managerDataList != null &&\r\n requestsState.data.ManagerData != null && (\r\n
\r\n {managerDataArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (\r\n key === 'BasisOfRepresentationId' &&\r\n loginType === 'Company'\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 } else if (\r\n key === 'BasisOfRepresentationId' &&\r\n loginType === 'Individual'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n );\r\n } else if (key === 'DocumentTypeId') {\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 } else if (key === 'CompanyManagerCitizenshipId') {\r\n return (\r\n \r\n \r\n \r\n {managerDataList.CompanyManagerCitizenshipId ===\r\n requestsState.data.ManagerData\r\n .CompanyManagerCitizenshipId &&\r\n managerDataList.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n managerDataList.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (key === 'DocumentIssuedCountryId') {\r\n return (\r\n \r\n \r\n \r\n {managerDataList.DocumentIssuedCountryId ===\r\n requestsState.data.ManagerData\r\n .DocumentIssuedCountryId &&\r\n managerDataList.DocumentIssuedCountryId && (\r\n \r\n {returnCountryNameById(\r\n managerDataList.DocumentIssuedCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (\r\n key === 'StateOfResidenceForTaxPurposesId'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n {managerDataList.StateOfResidenceForTaxPurposesId ===\r\n requestsState.data.ManagerData\r\n .StateOfResidenceForTaxPurposesId &&\r\n managerDataList.StateOfResidenceForTaxPurposesId && (\r\n \r\n {returnCountryNameById(\r\n managerDataList.StateOfResidenceForTaxPurposesId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (key === 'StateOfTheTaxpayerId') {\r\n return (\r\n \r\n \r\n \r\n {managerDataList.StateOfTheTaxpayerId ===\r\n requestsState.data.ManagerData\r\n .StateOfTheTaxpayerId &&\r\n managerDataList.StateOfTheTaxpayerId && (\r\n \r\n {returnCountryNameById(\r\n managerDataList.StateOfTheTaxpayerId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (key === 'PermanentResidenceCountryId') {\r\n return (\r\n \r\n \r\n \r\n {managerDataList.PermanentResidenceCountryId ===\r\n requestsState.data.ManagerData\r\n .PermanentResidenceCountryId &&\r\n managerDataList.PermanentResidenceCountryId && (\r\n \r\n {returnCountryNameById(\r\n managerDataList.PermanentResidenceCountryId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n \r\n );\r\n } else if (isDate(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n \r\n \r\n X\r\n \r\n
\r\n
\r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })}\r\n \r\n )}\r\n\r\n {/* {Company data for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n
\r\n {companyDataList != null &&\r\n requestData.FinancialData &&\r\n requestData.RequestSystemInfo && (\r\n <>\r\n

Finansiniai duomenys

\r\n {requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 && (\r\n <>\r\n
\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n )}\r\n \r\n\r\n {/* {Person data data for FA} */}\r\n {loginType === 'Individual' && (\r\n
\r\n

Pareiškėjo duomenys apie vykdomą veiklą

\r\n {farmData != null &&\r\n requestsState.data.FarmData != null && (\r\n
\r\n {farmDataArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (isDate(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n \r\n \r\n X\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {!farmData.CompanyEvrk && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {farmData.CompanyEvrk &&\r\n isSelectedEvrkInTheList(\r\n farmData.CompanyEvrk\r\n ) && (\r\n \r\n {`${farmData.CompanyEvrk} - ${\r\n evrkFull[farmData.CompanyEvrk]\r\n ? evrkFull[farmData.CompanyEvrk]\r\n : farmData.CompanyEvrk\r\n }`}\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress'\r\n // || key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (key === 'IncomeSources') {\r\n return (\r\n <>\r\n
\r\n \r\n Pajamų lėšų šaltinis\r\n \r\n\r\n \r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n value={\r\n farmData.IncomeSources.map((id) =>\r\n incomeSourceOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n options={incomeSourceOptions}\r\n disabled={true}\r\n />\r\n
\r\n \r\n );\r\n } else {\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 {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest && (\r\n

\r\n Įmonių grupės finansinių atskaitomybių informacija\r\n

\r\n )}\r\n {/* ControllingCompaniesFromRequest */}\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest.map((val, i) => {\r\n return (\r\n <>\r\n \r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n
\r\n {requestData.ControllingCompaniesFromRequest != null &&\r\n requestData.RequestSystemInfo &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n ((val, i) => {\r\n return (\r\n
\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n
\r\n
\r\n {requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray(2019).map((key, i) => {\r\n if (key === 'Fsi2019Submitted') {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n val['Fsi2019Submitted']\r\n ? key\r\n : 'Fsi2020Submitted'\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else {\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

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n \r\n\r\n
\r\n

Kita paraiškos informacija

\r\n {otherRequestData != null &&\r\n requestsState.data.OtherRequestData != 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 Informacija apie dalykinių santykių pobūdį su Paskolos\r\n davėju\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Verslo subjekto statusas (Pagal SVV deklaraciją)\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n

\r\n {loginType === 'Company'\r\n ? 'Ar Verslo subjektas, teikianti paraišką, priklauso Įmonių grupei?'\r\n : 'Ar Verslo subjektas, teikiantis paraišką, priklauso Įmonių grupei?'}\r\n

\r\n\r\n \r\n \r\n \r\n Ne\r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių įmonių\r\n kodus, kurie nurodyti jūsų užpildytoje ir teikiamoje SVV\r\n subjekto statuso deklaracijoje. Jei esate didelė įmonė,\r\n nurodykite visus Įmonių grupei priklausančių įmonių\r\n kodus. Pvz. 111111111, 222222222.\r\n

\r\n \r\n
\r\n {/*
\r\n
\r\n \r\n \r\n \r\n {requestDataLabelTranslation('CheckCompanyAge')}\r\n \r\n
\r\n
*/}\r\n {/*
\r\n
\r\n
\r\n

\r\n {rentContractTranslation(\r\n 'ControllingCompanies'\r\n )}\r\n

\r\n {loginType === 'Company' && (\r\n

\r\n Jadis pateikti akcininkai:{' '}\r\n {requestsState.data\r\n .ControllingCompaniesFromRegister != null\r\n ? requestsState.data\r\n .ControllingCompaniesFromRegister\r\n : 'nėra pateiktų akcininkų'}\r\n

\r\n )}\r\n
\r\n \r\n
\r\n
*/}{' '}\r\n {/*
\r\n \r\n Nurodykite užsienio įmonių kodus, kurios gali turėti\r\n kontrolę Jums, kaip pareiškėjui, arba kurias Jūs,\r\n kaip pareiškėjas, galite kontroliuoti\r\n \r\n \r\n

\r\n *Kontrolė suprantama, kai įmonių tarpusavio\r\n santykiai yra bent vienos rūšies iš toliau\r\n išvardintų:
\r\n a) viena įmonė turi kitos įmonės akcininkų arba\r\n narių balsų daugumą;
\r\n b) viena įmonė turi teisę paskirti arba atleisti\r\n daugumą kitos įmonės administracijos, valdymo arba\r\n priežiūros organo narių;
\r\n c) pagal sutartį arba vadovaujantis steigimo\r\n sutarties ar įstatų nuostata vienai įmonei\r\n suteikiama teisė daryti kitai įmonei lemiamą įtaką;{' '}\r\n
\r\n d) viena įmonė, būdama kitos įmonės akcininkė arba\r\n narė, vadovaudamasi su tos įmonės kitais akcininkais\r\n ar nariais sudaryta sutartimi, viena.\r\n

\r\n
*/}\r\n
\r\n \r\n
\r\n \r\n )}\r\n\r\n {/* Pep AML data */}\r\n

AML ir PEP

\r\n

PEP

\r\n {pepData && (\r\n
\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar jų artimiesiems šeimos nariams[1] arba artimiesiems pagalbininkams[2] šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]'\r\n : 'Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar jų artimiesiems šeimos nariams[1] arba artimiesiems pagalbininkams[2] šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]'}\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n

\r\n Jei pažymėjote \"taip\", nurodykite asmenis ir jų informaciją:\r\n

\r\n \r\n \r\n Kam patikėtos svarbios viešosios pareigos?\r\n \r\n Vardas\r\n Pavardė\r\n Gimimo data\r\n PEP pareigos\r\n \r\n Institucija, kurioje eina pareigas\r\n \r\n \r\n Valstybė, kurioje asmuo yra PEP\r\n \r\n
\r\n\r\n \r\n {pepData &&\r\n pepData.ImportantResponsibilityPersons &&\r\n pepData.ImportantResponsibilityPersons.length > 0 &&\r\n pepData.ImportantResponsibilityPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'country') {\r\n return (\r\n
\r\n \r\n \r\n {!requestData.PepData\r\n .ImportantResponsibilityPersons?.[k]\r\n ?.country && (\r\n \r\n {null}\r\n \r\n )}\r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n } else if (p === 'positionId') {\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 } else if (p === 'pepPositionId') {\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 } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n\r\n {/*

Paaiškinimas:

\r\n

\r\n [1] Artimieji šeimos nariai - sutuoktinis, asmuo, su kuriuo\r\n registruota partnerystė, tėvai, broliai, seserys, vaikai ir\r\n vaikų sutuoktiniai, vaikų sugyventiniai.\r\n
\r\n [2] Artimas pagalbininkas:\r\n
\r\n 1) fizinis asmuo, kuris su svarbias viešąsias pareigas\r\n einančiu ar ėjusiu asmeniu yra to paties juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos dalyvis\r\n arba palaiko kitus dalykinius santykius;\r\n
\r\n 2) fizinis asmuo, kuris yra vienintelis juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos,\r\n įsteigtos ar veikiančios de facto siekiant turtinės ar\r\n kitokios asmeninės naudos svarbias viešąsias pareigas\r\n einančiam ar ėjusiam asmeniui, naudos gavėjas.\r\n
\r\n [3] Svarbios viešosios pareigos – pareigos Lietuvos\r\n Respublikoje, Europos Sąjungoje, tarptautinėse ar užsienio\r\n valstybių institucijose:\r\n
\r\n 1) valstybės vadovas, vyriausybės vadovas, ministras,\r\n viceministras arba ministro pavaduotojas, valstybės\r\n sekretorius, parlamento, vyriausybės arba ministerijos\r\n kancleris;\r\n
\r\n 2) parlamento narys;\r\n
\r\n 3) aukščiausiųjų teismų, konstitucinių teismų ar kitų\r\n aukščiausiųjų teisminių institucijų, kurių sprendimai negali\r\n būti skundžiami, narys;\r\n
\r\n 4) savivaldybės meras, savivaldybės administracijos\r\n direktorius;\r\n
\r\n 5) aukščiausiosios valstybių audito ir kontrolės\r\n institucijos valdymo organo narys ar centrinio banko\r\n valdybos pirmininkas, jo pavaduotojas ar valdybos narys;\r\n
\r\n 6) ambasadorius, laikinasis reikalų patikėtinis, Lietuvos\r\n kariuomenės vadas, kariuomenės pajėgų ir junginių vadai,\r\n Gynybos štabo viršininkas ar užsienio valstybių aukšto rango\r\n ginkluotųjų pajėgų karininkas;\r\n
\r\n 7) valstybės įmonės, akcinės bendrovės, uždarosios akcinės\r\n bendrovės, kurių akcijos ar dalis akcijų, suteikiančių\r\n daugiau kaip 1/2 visų balsų šių bendrovių visuotiniame\r\n akcininkų susirinkime, priklauso valstybei nuosavybės teise,\r\n valdymo ar priežiūros organo narys;\r\n
\r\n 8) savivaldybės įmonės, akcinės bendrovės, uždarosios\r\n akcinės bendrovės, kurių akcijos ar dalis akcijų,\r\n suteikiančių daugiau kaip 1/2 visų balsų šių bendrovių\r\n visuotiniame akcininkų susirinkime, priklauso savivaldybei\r\n nuosavybės teise ir kurios laikomos didelėmis įmonėmis pagal\r\n Lietuvos Respublikos įmonių finansinės atskaitomybės\r\n įstatymą, valdymo ar priežiūros organo narys;\r\n
\r\n 9) tarptautinės tarpvyriausybinės organizacijos vadovas, jo\r\n pavaduotojas, valdymo ar priežiūros organo narys;\r\n
\r\n 10) politinės partijos vadovas, jo pavaduotojas, valdymo\r\n organo narys.\r\n
\r\n

*/}\r\n\r\n
\r\n \r\n \r\n \r\n {loginType === 'Company'\r\n ? 'Ar yra daugiau Verslo subjekto vadovų, atstovų, naudos gavėjų ar jų artimųjų šeimos narių arba artimųjų pagalbininkų, kuriems šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?'\r\n : 'Ar yra daugiau Verslo subjekto vadovų, atstovų, naudos gavėjų ar jų artimųjų šeimos narių arba artimųjų pagalbininkų, kuriems šiuo metu arba per paskutinius 12 mėnesių patikėtos svarbios viešosios pareigos (PEP)?'}\r\n \r\n
\r\n

Akcininkai

\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar yra įmonėje akcininkų fizinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais?'\r\n : 'Ar yra įmonėje akcininkų fizinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais?'}\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {loginType === 'Company'\r\n ? 'Nurodykite 4 pagrindinius akcininkus (jeigu tiek yra) fizinius asmenis, kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonę daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais'\r\n : 'Nurodykite 4 pagrindinius akcininkus (jeigu tiek yra) fizinius asmenis, kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų Verslo subjektą daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų Verslo subjektą kitais būdais'}\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n \r\n Pilietybė*\r\n \r\n \r\n Asmens kodas (jei ne Lietuvos pilietis - gimimo data)\r\n \r\n Pareigos\r\n Valdymas\r\n Akcijų dalis, proc.\r\n \r\n Balsavimo teisių dalis, proc.\r\n \r\n \r\n Rezidavimo valstybė mokesčių tikslais\r\n \r\n \r\n Mokesčių mokėtojo valstybė\r\n \r\n Mokesčių mokėtojo kodas\r\n \r\n\r\n \r\n {pepData &&\r\n pepData.ControllingPersons &&\r\n pepData.ControllingPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'personControlId') {\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 } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n

\r\n * jeigu asmuo be pilietybės – nurodoma valstybė,\r\n kuri išdavė asmens tapatybę patvirtinantį dokumentą\r\n

\r\n
\r\n\r\n
\r\n

\r\n {loginType === 'Company'\r\n ? 'Ar įmonėje yra akcininkų juridinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais? '\r\n : 'Ar įmonėje yra akcininkų juridinių asmenų kurie tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonės daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie tiesiogiai ar netiesiogiai kontroliuoja jūsų įmonę kitais būdais? '}\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {loginType === 'Company'\r\n ? 'Jeigu nurodėte įmonę (-es), kuri(-os) tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų įmonę daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina užpildyti aukščiau prašomą informaciją apie fizinius asmenis - netiesioginius kliento akcininkus (dalyvius) arba asmenis, kitaip kontroliuojančius įmonės valdymą.'\r\n : 'Jeigu nurodėte įmonę (-es), kuri(-os) tiesiogiai ar netiesiogiai turi arba kontroliuoja jūsų Verslo subjektą daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina užpildyti aukščiau prašomą informaciją apie fizinius asmenis - netiesioginius kliento akcininkus (dalyvius) arba asmenis, kitaip kontroliuojančius kliento valdymą.'}\r\n

\r\n\r\n \r\n Įmonės pavadinimas\r\n Įmonės kodas\r\n Įmonės registracijos šalis\r\n Akcijų dalis, proc.\r\n \r\n Balsavimo teisių dalis, proc.\r\n \r\n \r\n Patvirtinimas dėl VP prekybos biržoje\r\n \r\n Biržos pavadinimas\r\n Biržos šalis\r\n Biržos ISIN* nr.\r\n \r\n \r\n {pepData &&\r\n pepData.ControllingCompanies &&\r\n pepData.ControllingCompanies.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => (\r\n
\r\n \r\n
\r\n ))\r\n )}\r\n \r\n \r\n )}\r\n\r\n
\r\n

Veiklos vykdymo regionas

\r\n
\r\n
\r\n \r\n activityRegionOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n value={\r\n activityRegions?.map((id) =>\r\n activityRegionOptions.find(\r\n (option) => option.value === id\r\n )\r\n ) || []\r\n }\r\n options={activityRegionOptions}\r\n disabled={true}\r\n />\r\n
\r\n
\r\n\r\n
\r\n {/* {Tiekėjo (-ų) informacija start} */}\r\n

Pagrindinių partnerių/tiekėjų informacija

\r\n\r\n \r\n \r\n Partnerio/tiekėjo įmonės/asmens pavadinimas\r\n \r\n \r\n Partnerio/tiekėjo įmonės/asmens kodas\r\n \r\n\r\n Įmonės registracijos šalis\r\n \r\n Tiekėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n\r\n \r\n {suppliers &&\r\n suppliers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'evrk') {\r\n return (\r\n \r\n \r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]?.evrk) && (\r\n \r\n -\r\n \r\n )}\r\n {Object.keys(evrkFull).map((val, j) => (\r\n \r\n {`${val} - ${evrkFull[val]}`}\r\n \r\n ))}\r\n {viewWindow && (\r\n \r\n {requestData?.Suppliers?.[k]?.evrk\r\n ? `${requestData?.Suppliers?.[k]?.evrk} - ${\r\n evrkFull[\r\n requestData?.Suppliers?.[k]?.evrk\r\n ]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n PASTABA: turi būti pateikti 5 pagrindiniai tiekėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n tiekėjas.\r\n

\r\n \r\n\r\n {/* {Tiekėjo (-ų) informacija start} */}\r\n

Pagrindinių partnerių/pirkėjų informacija

\r\n\r\n \r\n \r\n Partnerio/pirkėjo įmonės/asmens pavadinimas\r\n \r\n \r\n Partnerio/pirkėjo įmonės/asmens kodas\r\n \r\n\r\n Įmonės registracijos šalis\r\n \r\n Pirkėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n\r\n \r\n {buyers &&\r\n buyers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'evrk') {\r\n return (\r\n \r\n \r\n {(!viewWindow ||\r\n !requestData?.Buyers?.[k]?.evrk) && (\r\n \r\n -\r\n \r\n )}\r\n {Object.keys(evrkFull).map((val, j) => (\r\n \r\n {`${val} - ${evrkFull[val]}`}\r\n \r\n ))}\r\n {viewWindow && (\r\n \r\n {requestData?.Buyers?.[k]?.evrk\r\n ? `${requestData?.Buyers?.[k]?.evrk} - ${\r\n evrkFull[requestData?.Buyers?.[k]?.evrk]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n PASTABA: turi būti pateikti 5 pagrindiniai pirkėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n pirkėjas.\r\n

\r\n \r\n\r\n

\r\n Pareiškėjo pastabos dėl AML/PEP kurios nebuvo aprašytos aukščiau\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n

Informacija Paskolos sutarties parengimui

\r\n {loanInfo && (\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPurposeId')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanTerm')}\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n {requestDataLabelTranslation('LoanDelayTerm')}\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPaymentDay')}\r\n \r\n \r\n {[null, 5, 15, 25].map((val) => (\r\n \r\n ))}\r\n \r\n
\r\n
\r\n )}\r\n {/*
\r\n

\r\n Nurodykite, kokiu tikslu norite pradėti dalykinius santykius\r\n su Invega\r\n

\r\n \r\n
*/}\r\n {/* inline checkBoxes */}\r\n {checks != null && (\r\n \r\n {/* {Object.keys(checks).map((key, i) => { */}\r\n\r\n {agreementsCheckBoxesArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\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 {/*{requestsState.data.CompanyData && ShowQuestionList() && (\r\n
\r\n

\r\n ATITIKIMO KOMISIJOS REGLAMENTE (ES) NR. 651/2014 NUSTATYTIEMS\r\n PAREIŠKĖJUI TAIKOMIEMS REIKALAVIMAMS KLAUSIMYNAS\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {questionListArray.map((val, i) => (\r\n <>\r\n \r\n \r\n {val === 'IsSmall'\r\n ? isSmallText()\r\n : questionListTranslations(val)}\r\n \r\n \r\n \r\n {requestsState.data.Questionnaire[val] == false && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n \r\n
Kriterijai\r\n Taip\r\n Ne\r\n
\r\n {' '}\r\n
\r\n {' '}\r\n {' '}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n )}*/}\r\n \r\n {fileArr != null && fileArr.length > 0 && (\r\n
\r\n

Įkelti priedai

\r\n \r\n {fileArr.map(\r\n ({ Id, FileName, UploadedAt, Additional, FileType }) => (\r\n \r\n \r\n {fileTypeTranslation2(FileType)}{' '}\r\n {returnFileTypeNr(FileType)}\r\n \r\n\r\n {FileName}\r\n \r\n {format(new Date(UploadedAt), 'yyyy-MM-dd')}\r\n \r\n {Additional ? 'Taip' : 'Ne'}\r\n \r\n
\r\n downloadUploadedFile(Id, FileName)}\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n )}\r\n
\r\n
\r\n
\r\n \r\n downloadAllFiles()}\r\n float=\"right\"\r\n >\r\n Atsisiųsti visus įkeltus priedus\r\n \r\n \r\n
\r\n )}\r\n {rejection && (\r\n
\r\n

Sutarties nutraukimo dokumentas

\r\n \r\n downloadUploadedFile(rejection.Id, rejection.FileName)\r\n }\r\n >\r\n {rejection.FileName}\r\n

\r\n
\r\n )}\r\n \r\n {/* ---------------- FO Request end------------ */}\r\n\r\n

Susijusios paraiškos

\r\n
\r\n {' '}\r\n {requestsState.relatedRequests.length ? (\r\n \r\n {requestsState.relatedRequests.map((val) => {\r\n return (\r\n \r\n {val.Id}\r\n {formatNumber(val.LoanSum)}\r\n {requestStatus(val.Status)}\r\n {projectName(val.ProjectId)}\r\n \r\n \r\n Eiti į paraišką\r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n

Nėra susijusių paraiškų

\r\n )}\r\n
\r\n \r\n\r\n \r\n

Įgaliojimai

\r\n
\r\n {' '}\r\n {requestsState?.representatives?.length ? (\r\n \r\n {requestsState?.representatives != null &&\r\n requestsState?.representatives.map(\r\n ({\r\n Id,\r\n FirstName,\r\n LastName,\r\n PersonalCode,\r\n ValidFrom,\r\n ValidTo,\r\n RepresentedCompanyCode,\r\n RepresentedPersonalCode,\r\n Files,\r\n Projects,\r\n }) => (\r\n \r\n {FirstName}\r\n {LastName}\r\n {PersonalCode}\r\n {RepresentedCompanyCode}\r\n {RepresentedPersonalCode}\r\n {ValidFrom}\r\n {ValidTo}\r\n {returnProjectsNames(Projects)}\r\n \r\n {Files?.map((f) => (\r\n
\r\n downloadFile(Id, f.FileId)}\r\n style={{\r\n color: '#009fe3',\r\n textDecoration: 'none',\r\n }}\r\n >\r\n {`${\r\n f.FileTypeId === 0\r\n ? 'Įgaliojimas Nr.'\r\n : 'Dokumentas Nr.'\r\n } ${f.FileId}`}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {/*\r\n
\r\n editAutorization(Id)}>\r\n \r\n \r\n actionClick(Id)}>\r\n \r\n \r\n
\r\n
*/}\r\n
\r\n )\r\n )}\r\n
\r\n ) : (\r\n

Nėra įgaliojimų

\r\n )}\r\n
\r\n
\r\n

\r\n Patikrų rezultatai\r\n

\r\n

\r\n AML ir PEP patikrų rezultatai\r\n

\r\n\r\n {requestsState.data != null &&\r\n requestsState.data.AmlChecks != null &&\r\n requestsState.data.AmlChecks.length > 0 ? (\r\n <>\r\n \r\n {requestsState.data.AmlChecks.map(\r\n ({\r\n Query,\r\n HasSanctions,\r\n HasPep,\r\n CheckTypeId,\r\n CheckResultId,\r\n AmlCount100,\r\n AmlCount85,\r\n PepCount100,\r\n PepCount85,\r\n }) => (\r\n \r\n {Query}\r\n \r\n {checkTypeIdTranslate(CheckTypeId)}\r\n \r\n\r\n \r\n \r\n {amlPepTrueFalseTranslation(HasSanctions)}\r\n

\r\n
\r\n \r\n \r\n {amlPepTrueFalseTranslation(HasPep)}\r\n

\r\n
\r\n \r\n {CheckResultIdTranslation(CheckResultId)}\r\n \r\n {AmlCount100}\r\n {PepCount100}\r\n {AmlCount85}\r\n {PepCount85}\r\n
\r\n )\r\n )}\r\n
\r\n \r\n ) : (\r\n

Rezultatų nėra

\r\n )}\r\n\r\n {requestsState.data != null &&\r\n requestsState.data.AmlCheckResultId != null && (\r\n
\r\n Bendras patikros rezultatas:{' '}\r\n {AmlPepResultTranslate(requestsState.data.AmlCheckResultId)}\r\n
\r\n )}\r\n
\r\n \r\n\r\n
\r\n
\r\n

Papildomos AML/PEP patikros įvedimas

\r\n\r\n \r\n {requestsState.data &&\r\n requestsState.data.RiskAssessmentResults &&\r\n riskAssessmentResults?.length > 0 &&\r\n riskAssessmentResults.map((val, index) => (\r\n \r\n {criteriaIdEnums(val.CriteriaId)}\r\n \r\n {checkTypeIdTranslate(val.AmlCheckTypeId)}\r\n \r\n {val.CheckName}\r\n \r\n {fieldIdEnums(val.RiskAssessmentFieldId)}\r\n \r\n {val.AssessmentValue}\r\n \r\n {editAmlPepTable ? (\r\n \r\n onAmlPepResultIdChange(\r\n val.Id,\r\n e.target.value !== null ? +e.target.value : null\r\n )\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n resultIdEnum(val.ResultId)\r\n )}\r\n \r\n \r\n {editAmlPepTable ? (\r\n \r\n onAmlPepNoteChange(val.Id, e.target.value)\r\n }\r\n />\r\n ) : (\r\n val.Note\r\n )}\r\n \r\n \r\n {editAmlPepTable ? (\r\n onAmlPepDateChange(val.Id, e)}\r\n />\r\n ) : val.Date ? (\r\n

\r\n {format(new Date(val.Date), 'yyyy-MM-dd')}\r\n

\r\n ) : (\r\n '-'\r\n )}\r\n
\r\n
\r\n ))}\r\n
\r\n {!editAmlPepTable && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {editAmlPepTable && (\r\n
\r\n saveAmlPepAdditionalData()}\r\n >\r\n Išsaugoti\r\n \r\n setEditAmlPepTable(false)}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Uždaryti\r\n \r\n
\r\n )}\r\n
\r\n \r\n \r\n AML rizikos grupė:\r\n \r\n {editRiskTable ? (\r\n \r\n setRiskLevel(e.target.value !== null ? +e.target.value : null)\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {riskIdEnum(riskLevel)}\r\n

\r\n )}\r\n
\r\n {!editRiskTable && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {editRiskTable && (\r\n
\r\n \r\n setEditRiskTable(false)}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Uždaryti\r\n \r\n
\r\n )}\r\n {/* saveRiskLevel()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Išsaugoti\r\n */}\r\n \r\n\r\n \r\n
\r\n {' '}\r\n
\r\n

Pakartotinės užklausos

\r\n
\r\n
\r\n
\r\n additionalJadisRequest()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Pakartoti JADIS užklausą\r\n \r\n additionalAMLRequest()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Pakartoti AML užklausą\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.AllInvoicesConfirmed != undefined && (\r\n <>\r\n \r\n

\r\n Ar visos patikros įvykdytos\r\n

\r\n

\r\n Ar paraiškos visos patikros įvykdytos:\r\n \r\n {' '}\r\n {trueFalseTranslation(\r\n requestsState.data.RequestSystemInfo\r\n .AllEvaluationCompleted\r\n )}\r\n \r\n

\r\n
\r\n \r\n )}\r\n
\r\n\r\n
\r\n {((requestsState.data.FinancialData && loginType === 'Company') ||\r\n (requestsState.data.ControllingCompaniesFromRequest &&\r\n requestsState.data.ControllingCompaniesFromRequest.length >\r\n 0)) &&\r\n requestsState.data.FinancialData?.length > 0 && (\r\n

\r\n Ar pateiktos finansinės ataskaitos\r\n

\r\n )}\r\n {requestsState.data.FinancialData &&\r\n loginType === 'Company' &&\r\n requestsState.data.FinancialData?.length > 0 && (\r\n \r\n )}\r\n\r\n {requestsState?.data?.ControllingCompaniesFromRequest?.length >\r\n 0 && (\r\n

\r\n Ar pateiktos įmonės grupės finansinės ataskaitos\r\n

\r\n )}\r\n\r\n {requestsState?.data?.ControllingCompaniesFromRequest?.length > 0 &&\r\n requestData?.ControllingCompaniesFromRequest?.map((val, i) => {\r\n return (\r\n <>\r\n
\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n \r\n\r\n
\r\n
\r\n

Tvirtintojo komentaras

\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n

Akcininkai

\r\n\r\n {requestsState.data &&\r\n requestsState.data.SharesInfo &&\r\n requestsState.data.SharesInfo.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.SharesInfo &&\r\n requestsState.data.SharesInfo.length > 0 &&\r\n requestsState.data.SharesInfo.map(\r\n ({\r\n Code,\r\n Name,\r\n Shares,\r\n Type,\r\n DataRecieved,\r\n DataUpdated,\r\n CapitalSize,\r\n CapitalSizeCurrency,\r\n NumberOfShares,\r\n NominalValue,\r\n NominalValueCurrency,\r\n }) => (\r\n \r\n \r\n {`${Name ? Name : ''}${Name ? ',' : ''} ${\r\n Code ? Code : ''\r\n }`}\r\n \r\n {shareHolderTypeTranslate(Type)}\r\n \r\n {Shares &&\r\n Shares.length > 0 &&\r\n Shares.map((val, i) => {val})}\r\n \r\n \r\n {DataRecieved ? DataRecieved.slice(0, 10) : '-'}\r\n \r\n \r\n {DataUpdated ? DataUpdated.slice(0, 10) : '-'}\r\n \r\n \r\n {CapitalSize || CapitalSize === 0\r\n ? `${CapitalSize} ${CapitalSizeCurrency ?? ''}`\r\n : '-'}\r\n \r\n {NumberOfShares ?? '-'}\r\n \r\n {NominalValue || NominalValue === 0\r\n ? `${NominalValue} ${NominalValueCurrency ?? ''}`\r\n : '-'}\r\n \r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

Akcininkų nėra

\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n {loginType === 'Company' && (\r\n
\r\n

EVRK veiklos iš VMI

\r\n\r\n {requestsState.data &&\r\n requestsState.data.CompanyEvrks &&\r\n requestsState.data.CompanyEvrks.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.CompanyEvrks &&\r\n requestsState.data.CompanyEvrks.length > 0 &&\r\n requestsState.data.CompanyEvrks.map(\r\n ({ DateFrom, DateTo, Evrk, IsMain, IsRed }, index) => (\r\n \r\n \r\n {IsRed && addExclamation()}\r\n {Evrk}\r\n \r\n \r\n {DateFrom\r\n ? format(new Date(DateFrom), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n \r\n {DateTo\r\n ? format(new Date(DateTo), 'yyyy-MM-dd')\r\n : 'Dabar'}\r\n \r\n {IsMain ? 'Taip' : 'Ne'}\r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

EVRK veiklų nėra

\r\n )}\r\n
\r\n )}\r\n {loginType === 'Individual' && (\r\n
\r\n

EVRK veiklos iš VMI

\r\n\r\n {requestsState.data &&\r\n requestsState.data.IndividualEvrks &&\r\n requestsState.data.IndividualEvrks.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.IndividualEvrks &&\r\n requestsState.data.IndividualEvrks.length > 0 &&\r\n requestsState.data.IndividualEvrks.map(\r\n (\r\n { DateFrom, DateTo, Evrk, RegistrationDate, IsRed },\r\n index\r\n ) => (\r\n \r\n \r\n {IsRed && addExclamation()}\r\n {Evrk}\r\n \r\n \r\n {DateFrom\r\n ? format(new Date(DateFrom), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n \r\n {DateTo\r\n ? format(new Date(DateTo), 'yyyy-MM-dd')\r\n : 'Dabar'}\r\n \r\n \r\n {RegistrationDate\r\n ? format(\r\n new Date(RegistrationDate),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

EVRK veiklų nėra

\r\n )}\r\n\r\n {requestsState.data.ApplicantData && (\r\n

\r\n Veikla pagal verslo liudijimą:{' '}\r\n {translateIsBussinessSorrow(\r\n requestsState.data.ApplicantData.IsBussinessSorrow\r\n )}{' '}\r\n

\r\n )}\r\n
\r\n )}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status != 1 && (\r\n <>\r\n \r\n
\r\n {/*{loginType === 'Company' && (\r\n <>\r\n

\r\n Sodra rinkmenų duomenys\r\n

\r\n

\r\n Darbuotojų skaičius:\r\n {\r\n \r\n {companyDataList.NumberOfEmployees}\r\n \r\n }\r\n

\r\n \r\n )}*/}\r\n {requestsState?.data?.RequestSystemInfo?.ProjectId ==\r\n 1 && (\r\n <>\r\n \r\n Eksporto ir importo duomenys\r\n \r\n {requestsState?.data?.RequestSystemInfo?.Status >\r\n 1 ? (\r\n \r\n \r\n Eksportas\r\n \r\n {\r\n requestsState?.data?.RequestSystemInfo\r\n ?.VmiExportSum\r\n }\r\n \r\n \r\n {requestsState?.data?.RequestSystemInfo\r\n ?.VmiExportDate\r\n ? format(\r\n new Date(\r\n requestsState?.data?.RequestSystemInfo?.VmiExportDate\r\n ),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )\r\n : ''}\r\n \r\n \r\n \r\n Importas\r\n \r\n {\r\n requestsState?.data?.RequestSystemInfo\r\n ?.VmiImportSum\r\n }\r\n \r\n \r\n {requestsState?.data?.RequestSystemInfo\r\n ?.VmiImportDate\r\n ? format(\r\n new Date(\r\n requestsState?.data?.RequestSystemInfo?.VmiImportDate\r\n ),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )\r\n : ''}\r\n \r\n \r\n \r\n ) : (\r\n

Nėra importo/exporto informacijos.

\r\n )}\r\n \r\n )}\r\n
\r\n
\r\n \r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status !== 1 && (\r\n
\r\n <>\r\n \r\n Vertintojo įvesti duomenys\r\n \r\n

\r\n Verslo subjekto statusas (Pagal SVV deklaraciją):\r\n {\r\n \r\n {CompanySizeTypeInvega(\r\n requestsState.data.CompanySizeTypeIdInvega\r\n )}\r\n \r\n }\r\n

\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 1 && (\r\n <>\r\n \r\n

\r\n Vertintojo įvesti duomenys\r\n

\r\n

\r\n Paraiškos netrynimo požymis:\r\n {\r\n \r\n {requestsState.data.RequestSystemInfo\r\n .NotDeletable === true\r\n ? 'Negali būti ištrinta'\r\n : 'Gali būti ištrinta'}\r\n \r\n }\r\n

\r\n
\r\n \r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 5 && (\r\n
\r\n <>\r\n

\r\n Paraišką pareiškėjas turi patikslinti iki:\r\n {\r\n \r\n {format(\r\n new Date(requestsState.data.AdjustTill),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n }\r\n

\r\n \r\n
\r\n )}\r\n
\r\n \r\n \r\n\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo && (\r\n <>\r\n

Invega komentaras

\r\n\r\n
\r\n \r\n
\r\n \r\n )}\r\n {requestsState?.data?.RequestSystemInfo?.Status &&\r\n (requestsState.data.RequestSystemInfo.Status === 2 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n
\r\n \r\n
\r\n
\r\n )}\r\n
\r\n\r\n {signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null &&\r\n requestsState.data.RequestSystemInfo != null && (\r\n
\r\n

\r\n Sutartys, sprendimai ir prašymai\r\n

\r\n \r\n {signInInfo.map((val, i) => (\r\n \r\n \r\n {fileTypeTranslation(signInInfo[i].FileType)}\r\n \r\n {signInInfo[i].FileName}\r\n \r\n {' '}\r\n {signInInfo[i].DocumentCreatedAt != null &&\r\n format(\r\n new Date(signInInfo[i].DocumentCreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].ApplicantSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].ApplicantSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].InvegaSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].InvegaSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {signInInfo[i].CommentUser\r\n ? messageShow(signInInfo[i].CommentUser)\r\n : '-'}\r\n \r\n \r\n {signInInfo[i].CommentInvega\r\n ? messageShow(signInInfo[i].CommentInvega)\r\n : '-'}\r\n \r\n \r\n {signInInfo[i].BadFinancialCondition ? 'Taip' : ' '}\r\n \r\n \r\n \r\n GetSignedDocumentContractManager(\r\n requestId,\r\n val.FileType,\r\n val.FileName,\r\n val?.ChangeConditionsFileId,\r\n val?.ApplicantSigningDate,\r\n val?.InvegaSigningDate\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n\r\n {signInInfo[i]?.Active &&\r\n showChangeFile(signInInfo[i]?.FileType) && (\r\n <>\r\n \r\n changeFile(\r\n signInInfo[i]?.ChangeConditionsFileId\r\n )\r\n }\r\n >\r\n Pakeisti failą\r\n

\r\n\r\n \r\n selectFile(\r\n e,\r\n signInInfo[i]?.ChangeConditionsFileId\r\n )\r\n }\r\n />\r\n \r\n )}\r\n
\r\n\r\n \r\n {signInInfo[i].InvegaSigningDate === null &&\r\n signInInfo[i].InvegaSignatureNeeded && (\r\n \r\n )}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {requestsState.data.RequestSystemInfo.Status !== 11 &&\r\n requestsState.data.RequestSystemInfo.Status !== 12 &&\r\n requestsState.data.RequestSystemInfo.Status !== 3 &&\r\n requestsState.data.RequestSystemInfo.Status !== 6 && (\r\n \r\n \r\n \r\n {requestsState.data.InvegaContractNumber}\r\n \r\n \r\n {formatNumber(requestsState.data.InvegaLoanSum)}\r\n \r\n \r\n {loanPurpose(requestsState.data.InvegaLoanPurposeId)}\r\n \r\n \r\n {requestsState.data.InvegaLoanPaymentTerm &&\r\n format(\r\n new Date(requestsState.data.InvegaLoanPaymentTerm),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n \r\n {requestsState.data.InvegaLoanDelayTerm}\r\n {/*} {requestsState.data.InvegaLoanDelayTermDate\r\n ? format(\r\n new Date(\r\n requestsState.data.InvegaLoanDelayTermDate\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : requestsState.data.InvegaLoanDelayTerm}*/}\r\n \r\n \r\n {requestsState.data.InvegaPaymentDate\r\n ? format(\r\n new Date(requestsState.data.InvegaPaymentDate),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? euriborTranslation(\r\n requestsState.data.EuriborPeriodId\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? requestsState.data.FirstInterestChangeDate &&\r\n format(\r\n new Date(\r\n requestsState.data.FirstInterestChangeDate\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.EuriborChangeDate &&\r\n format(\r\n new Date(requestsState.data.EuriborChangeDate),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n \r\n {requestsState.data.InvegaLoanInterestRate}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? requestsState.data.InvegaLoanVariableInterestRate\r\n : '-'}\r\n \r\n \r\n \r\n )}\r\n\r\n {signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null &&\r\n requestsState.data.RequestSystemInfo != null &&\r\n (requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 16) && (\r\n \r\n \r\n \r\n {requestsState.data.InvegaContractNumberCc}\r\n \r\n \r\n {formatNumber(requestsState.data.InvegaLoanSumCc)}\r\n \r\n \r\n {requestsState.data.InvegaLoanPaymentTermCc &&\r\n format(\r\n new Date(\r\n requestsState.data.InvegaLoanPaymentTermCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n\r\n \r\n {requestsState.data.InvegaLoanDelayTermCc}\r\n {/*{requestsState.data.InvegaLoanDelayTermDateCc\r\n ? format(\r\n new Date(\r\n requestsState.data.InvegaLoanDelayTermDateCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : requestsState.data.InvegaLoanDelayTermDateCc}*/}\r\n \r\n \r\n {requestsState.data.InvegaPaymentDateCc\r\n ? format(\r\n new Date(requestsState.data.InvegaPaymentDateCc),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? euriborTranslation(\r\n requestsState.data.EuriborPeriodIdCc\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.FirstInterestChangeDateCc &&\r\n format(\r\n new Date(\r\n requestsState.data.FirstInterestChangeDateCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.EuriborChangeDateCc &&\r\n format(\r\n new Date(requestsState.data.EuriborChangeDateCc),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InvegaLoanInterestRateCc}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.InvegaLoanVariableInterestRateCc\r\n : '-'}\r\n \r\n \r\n \r\n )}\r\n
\r\n )}\r\n\r\n {administrationInvoices != null &&\r\n administrationInvoices.length > 0 && (\r\n
\r\n

Sąskaitos

\r\n \r\n {administrationInvoices?.map(\r\n ({\r\n ContractId,\r\n Active,\r\n CreatedAt,\r\n ContractNumber,\r\n AdministrationFee,\r\n ChangeConditionsFileId,\r\n }) => (\r\n \r\n {ContractNumber}\r\n \r\n {getContractName(ContractNumber)}\r\n \r\n \r\n {CreatedAt &&\r\n format(new Date(CreatedAt), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {formatNumber(AdministrationFee)}\r\n \r\n \r\n {Active ? 'Aktuali' : 'Neaktuali'}\r\n \r\n \r\n \r\n !ContractId && ChangeConditionsFileId\r\n ? DownloadChangeConditionsInvoice(\r\n ChangeConditionsFileId,\r\n ContractNumber\r\n )\r\n : DownloadAdministrationInvoice(\r\n ContractId,\r\n ContractNumber\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n )\r\n )}\r\n \r\n
\r\n )}\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n\r\n \r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n <>\r\n
\r\n \r\n \r\n Prašymas pateikti papildomus dokumentus\r\n \r\n \r\n
\r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 2 ||\r\n requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12 ||\r\n requestsState.data.RequestSystemInfo.Status === 11 ||\r\n requestsState.data.RequestSystemInfo.Status === 5 ||\r\n requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8) && (\r\n <>\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n {requestsState.data.RequestSystemInfo != null &&\r\n (requestsState.data.RequestSystemInfo.Status == 9 ||\r\n requestsState.data.RequestSystemInfo.Status == 13 ||\r\n requestsState.data.RequestSystemInfo.Status == 14 ||\r\n requestsState.data.RequestSystemInfo.Status == 15 ||\r\n requestsState.data.RequestSystemInfo.Status == 16) && (\r\n
\r\n \r\n terminateRequest(\r\n requestsState.data.RequestSystemInfo.RequestId\r\n )\r\n }\r\n >\r\n Nutraukti sutartį\r\n \r\n
\r\n )}\r\n \r\n\r\n \r\n {requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.Status != 1 && (\r\n
\r\n \r\n checkFinancialCriteriaResults(\r\n requestsState.data.RequestSystemInfo.RequestId,\r\n requestsState.data.RequestSystemInfo\r\n .AllEvaluationCompleted\r\n )\r\n }\r\n >\r\n Peržiūrėti atitikimo kriterijus\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 3 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8 ||\r\n requestsState.data.RequestSystemInfo.Status === 11 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 1 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n
\r\n {' '}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 9 ||\r\n requestsState.data.RequestSystemInfo.Status === 16) && (\r\n
\r\n changeContractModalOpen()}\r\n >\r\n Inicijuoti sutarties sąlygų keitimą\r\n \r\n
\r\n )}\r\n
\r\n \r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 17 && (\r\n <>\r\n {requestsState.data.RequestSystemInfo.Status === 17 && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 17 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n //|| requestsState.data.RequestSystemInfo.Status === 19\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 17 ||\r\n requestsState.data.RequestSystemInfo.Status === 18 ||\r\n requestsState.data.RequestSystemInfo.Status === 19) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n\r\n \r\n

Komentarų istorija

\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.CommentsHistory &&\r\n requestsState.data.CommentsHistory.length ? (\r\n \r\n {requestsState.data.CommentsHistory.map((data) => {\r\n return (\r\n \r\n \r\n {data.Date &&\r\n format(new Date(data.Date), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n {data.CommentedBy}\r\n {data.NewComment}\r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n

Nėra komentarų istorijos

\r\n )}\r\n \r\n \r\n

Veiksmų istorija

\r\n \r\n {requestsState &&\r\n requestsState.requestLog &&\r\n requestsState.requestLog.map(\r\n ({ ActionLogType, ChangedBy, Created }) => (\r\n \r\n \r\n {format(new Date(Created), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {requestLogTranslation(ActionLogType)}\r\n \r\n {ChangedBy}\r\n \r\n )\r\n )}\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestsState: state.backofficeRequestsState,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n terminateRequestModalVisible: state.modalsState.terminateRequestModalVisible,\r\n signInInfo: state.dashboardState.signInInfo,\r\n financialCriteriaModalVisible:\r\n state.modalsState.financialCriteriaModalVisible,\r\n doublecheckEvaluationModalVisible:\r\n state.modalsState.doublecheckEvaluationModalVisible,\r\n regenerateDecisionDocModalVisible:\r\n state.modalsState.regenerateDecisionDocModalVisible,\r\n invegaLoanSumModalVisible: state.modalsState.invegaLoanSumModalVisible,\r\n increaseInvegaLoanSumModalVisible:\r\n state.modalsState.increaseInvegaLoanSumModalVisible,\r\n confirmRequestModalVisible: state.modalsState.confirmRequestModalVisible,\r\n changeContractFileVisible: state.modalsState.changeContractFileVisible,\r\n changeCompanySizeVisible: state.modalsState.changeCompanySizeVisible,\r\n rejectConditionsChangeRequestVisible:\r\n state.modalsState.rejectConditionsChangeRequestVisible,\r\n acceptConditionsChangeRequestModalVisible:\r\n state.modalsState.acceptConditionsChangeRequestModalVisible,\r\n takeRequestToEvaluateModalVisible:\r\n state.modalsState.takeRequestToEvaluateModalVisible,\r\n financialCriteriaResults: state.dashboardState.financialCriteriaResults,\r\n loading: state.dashboardState.isOnSync,\r\n approveRequestWithAdditionalDocsVisible:\r\n state.modalsState.approveRequestWithAdditionalDocsVisible,\r\n autorizationModalVisible: state.modalsState.autorizationModalVisible,\r\n changeConditionsBoModalVisible:\r\n state.modalsState.changeConditionsBoModalVisible,\r\n submitConditionsChangeRequestModalVisible:\r\n state.modalsState.submitConditionsChangeRequestModalVisible,\r\n globalMessageModalVisible: state.modalsState.globalMessageModalVisible,\r\n returnChangeConditionsModalVisible:\r\n state.modalsState.returnChangeConditionsModalVisible,\r\n returnModalVisible: state.modalsState.returnModalVisible,\r\n confirmWithAdditionalDocsVisible:\r\n state.modalsState.confirmWithAdditionalDocsVisible,\r\n confirmRequestNewVisible: state.modalsState.confirmRequestNewVisible,\r\n confirmRejectNewVisible: state.modalsState.confirmRejectNewVisible,\r\n changeSetNotDeletableVisible: state.modalsState.changeSetNotDeletableVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(BackofficeRequest);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport swal from 'sweetalert';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n Input,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n RowTableAdmin,\r\n RowTableRow,\r\n RowTableCell,\r\n} from '../../components';\r\nimport {\r\n requestDataLabelTranslation,\r\n companySize,\r\n requestStatus,\r\n rentContractTranslation,\r\n requestLogTranslation,\r\n applicantTranslation,\r\n CompanySizeTypeInvega,\r\n questionListTranslations,\r\n loanPurpose,\r\n projectName,\r\n projectName2,\r\n} from './../../utils/translation/translation';\r\nimport styles from '../newRequest/newRequest.module.scss';\r\nimport uploadStyles from '../../containers/fileUploadContainer/fileUploadContainer.module.scss';\r\nimport { Link } from 'react-router-dom';\r\nimport { format, subYears } from 'date-fns';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport FinancialCriteriaModal from './../../modals/financialCriteriaModal/financialCriteriaModal';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faTrash,\r\n faDownload,\r\n faExclamation,\r\n faPencilAlt,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport {\r\n checkBOPage,\r\n formatNumber,\r\n formatNumberToCurrency,\r\n} from './../../utils/helpers/helpers';\r\nimport { evrkFull, formatCountryJson } from './../../utils/helpers/evrk';\r\nimport DatePicker from 'react-datepicker';\r\nimport DoublecheckEvaluationModal from './../../modals/doublecheckEvaluationModal/doublecheckEvaluationModal';\r\nimport RegenerateDecisionDocModal from './../../modals/regenerateDecisionDocModal/regenerateDecisionDocModal';\r\nimport IncreaseInvegaLoanSumModal from './../../modals/increaseInvegaLoanSumModal/increaseInvegaLoanSumModal';\r\nimport ConfirmRequestModal from './../../modals/confirmRequestModal/confirmRequestModal';\r\nimport InvegaLoanSumModal from './../../modals/invegaLoanSumModal/invegaLoanSumModal';\r\nimport TakeRequestToEvaluateModal from './../../modals/takeRequestToEvaluateModal/takeRequestToEvaluateModal';\r\nimport AcceptConditionsChangeRequestModal from './../../modals/acceptConditionsChangeRequestModal/acceptConditionsChangeRequestModal';\r\nimport RejectConditionsChangeRequest from './../../modals/rejectConditionsChangeRequestModal/rejectConditionsChangeRequestModal';\r\nimport ChangeContractFile from './../../modals/changeContractFile/changeContractFile';\r\nimport ChangeCompanySize from './../../modals/changeCompanySize/changeCompanySize';\r\nimport ChangeSetNotDeletable from './../../modals/changeSetNotDeletableModal/changeSetNotDeletable';\r\nimport { SurwayAnswers } from '../requests/surwayAnswers';\r\nimport { AddressModal } from '../../containers/addressInputContainer/addressInputContainer';\r\nimport { FinancialTable } from '../../containers/';\r\nimport ApproveRequestWithAdditionalDocs from './../../modals/approveRequestWithAdditionalDocs/approveRequestWithAdditionalDocs';\r\nimport TerminateRequestModal from './../../modals/terminateRequestModal/terminateRequestModal';\r\nimport ChangeConditionsBoModal from './../../modals/changeConditionsBoModal/changeConditionsBoModal';\r\nimport GlobalMessageModal from './../../modals/globalMessageModal/globalMessageModal';\r\nimport SubmitConditionsChangeRequestModal from './../../modals/submitConditionsChangeRequestModal/submitConditionsChangeRequestModal';\r\nimport ReturnChangeConditionsModal from './../../modals/returnChangeConditionsModal/returnChangeConditionsModal';\r\nimport ReturnModal from './../../modals/returnModal/returnModal';\r\nimport {\r\n DeclarationInfo1,\r\n DeclarationInfo2,\r\n} from '../../utils/mapsData/selfDeclaration/selfDeclaration';\r\nimport AutorizationModal from './../../modals/autorizationModalBackoffice/autorizationModal';\r\nimport ConfirmWithAdditionalDocs from './../../modals/confirmWithAdditionalDocs/confirmWithAdditionalDocs';\r\nimport ConfirmRequestNew from './../../modals/confirmRequestNew/confirmRequestNew';\r\nimport ConfirmRejectNew from './../../modals/confirmRejectNew/confirmRejectNew';\r\n\r\nconst BackofficeRequest = ({\r\n requestsState,\r\n dispatch,\r\n confirmModalVisible,\r\n financialCriteriaModalVisible,\r\n doublecheckEvaluationModalVisible,\r\n regenerateDecisionDocModalVisible,\r\n invegaLoanSumModalVisible,\r\n increaseInvegaLoanSumModalVisible,\r\n confirmRequestModalVisible,\r\n takeRequestToEvaluateModalVisible,\r\n acceptConditionsChangeRequestModalVisible,\r\n submitConditionsChangeRequestModalVisible,\r\n rejectConditionsChangeRequestVisible,\r\n signInInfo,\r\n financialCriteriaResults,\r\n changeContractFileVisible,\r\n changeCompanySizeVisible,\r\n loading,\r\n approveRequestWithAdditionalDocsVisible,\r\n terminateRequestModalVisible,\r\n autorizationModalVisible,\r\n changeConditionsBoModalVisible,\r\n globalMessageModalVisible,\r\n returnChangeConditionsModalVisible,\r\n returnModalVisible,\r\n confirmWithAdditionalDocsVisible,\r\n confirmRequestNewVisible,\r\n confirmRejectNewVisible,\r\n changeSetNotDeletableVisible,\r\n}) => {\r\n const rowTableHeader = [\r\n 'Tipas',\r\n 'Priedo pavadinimas',\r\n 'Sudarymo data',\r\n 'Pareiškėjo pasirašymo data',\r\n 'Invega pasirašymo data',\r\n 'Vartotojo komentaras',\r\n 'Invega komentaras',\r\n 'Prastėjanti finansinė būklė',\r\n 'Veiksmai',\r\n '',\r\n ];\r\n const tableHeader = [\r\n 'Priedo tipas',\r\n 'Įkelto priedo pavadinimas',\r\n 'Data',\r\n 'Ar papildomas?',\r\n 'Veiksmai',\r\n ];\r\n const logTableHeader = ['Data', 'Paraiškos būsena', 'Asmuo'];\r\n const jadisTableHeader = [\r\n 'Pavadinimas, kodas',\r\n 'Akcininkai',\r\n 'Turimų akcijų kiekis (procentais)',\r\n 'Duomenų gavimo data',\r\n 'Duomenys apie dalyvius (akcininkus) atnaujinti',\r\n 'Įstatinis kapitalas',\r\n 'Akcijų skaičius (vnt)',\r\n 'Nominali akcijos vertė',\r\n ];\r\n const evrkTableHeader = [\r\n 'Evrk kodas',\r\n 'Galioja nuo',\r\n 'Galioja iki',\r\n 'Ar pagrindinė?',\r\n ];\r\n\r\n const evrkTableHeaderIndividuals = [\r\n 'Evrk kodas',\r\n 'Galioja nuo',\r\n 'Galioja iki',\r\n 'Registracijos data',\r\n ];\r\n\r\n const amlPepTableHeader = [\r\n 'Vardas, pavardė / Pavadinimas',\r\n 'Tipas',\r\n 'Turi sankcijų',\r\n 'Turi PEP',\r\n 'Patikros rezultatas',\r\n 'Rasta 100% atitikmuo (AML)',\r\n 'Rasta 100% atitikmuo (PEP)',\r\n 'Rasta >=85% atitikmuo (AML)',\r\n 'Rasta >=85% atitikmuo (PEP)',\r\n ];\r\n\r\n const comfirmedRequestHeader = [\r\n 'Sutarties numeris',\r\n 'Paskolos suma, Eur',\r\n 'Paskolos paskirtis',\r\n 'Galutinis paskolos grąžinimo terminas',\r\n 'Atidėjimo terminas (mėn.)',\r\n 'Išmokėjimo terminas',\r\n 'Palūkanų normos perskaičiavimo dažnumas',\r\n 'Pirma palūkanų keitimo diena',\r\n 'Taikomo Euribor pasikeitimo data',\r\n 'Marža, %',\r\n 'Kintama palūkanų dalis, %',\r\n ];\r\n\r\n const changedRequestHeader = [\r\n 'Sąlygų pakeitimo numeris',\r\n 'Paskolos suma, Eur',\r\n 'Galutinis paskolos grąžinimo terminas',\r\n 'Atidėjimo terminas (mėn.)',\r\n 'Išmokėjimo terminas',\r\n 'Palūkanų normos perskaičiavimo dažnumas',\r\n 'Pirma palūkanų keitimo diena',\r\n 'Taikomo Euribor pasikeitimo data',\r\n 'Marža, %',\r\n 'Kintama palūkanų dalis, %',\r\n ];\r\n\r\n const relatedRequestsHeader = [\r\n 'Paraiškos numeris',\r\n 'Paskolos suma, Eur',\r\n 'Paraiškos statusas',\r\n 'Priemonė',\r\n 'Veiksmai',\r\n ];\r\n\r\n const allLOansInfoHeader = [\r\n 'Sutarties Nr.',\r\n 'Įmonės kodas',\r\n 'Įmonės pavadinimas',\r\n 'Paskolos suma',\r\n 'Sutarties/paraiškos data',\r\n 'Veiksmai',\r\n ];\r\n\r\n const importExportHeader = [\r\n 'Tipas',\r\n 'Bendra suma (be PVM)',\r\n 'Atsakymo suformavimo data ir laikas',\r\n ];\r\n\r\n const representativesHeader = [\r\n 'Vardas',\r\n 'Pavardė',\r\n 'Asmens kodas',\r\n 'Atstovaujamos įmonės kodas',\r\n 'Atstovaujamo asmens kodas',\r\n 'Įgaliojimo pradžia',\r\n 'Įgaliojimo pabaiga',\r\n 'Priemonės',\r\n 'Dokumentai',\r\n ];\r\n\r\n const AdditionalCheckTableHeader = [\r\n 'Patikros kriterijus',\r\n 'Tipas',\r\n 'Vardas, pavardė / Pavadinimas',\r\n 'Laukas',\r\n 'Reikšmė',\r\n 'Patikros rezultatas',\r\n 'Pastabos',\r\n 'Data',\r\n ];\r\n\r\n const PepResultData = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Tolesnis vertinimas negalimas';\r\n case 2:\r\n return 'Turi įtakos vertinimui';\r\n case 3:\r\n return 'Neturi įtakos vertinimui';\r\n default:\r\n return text;\r\n }\r\n };\r\n const commentsHistoryTableHeader = ['Data', 'Komentatorius', 'Komentaras'];\r\n\r\n const returnProjectsNames = (ids) => {\r\n if (ids && ids?.length > 0) {\r\n return ids.map((val) =>

{projectName(val)}

);\r\n }\r\n\r\n return '-';\r\n };\r\n\r\n const amlPepTrueFalseTranslation = (val) => (val === true ? 'Taip' : 'Ne');\r\n\r\n const CheckResultIdTranslation = (text) => {\r\n switch (text) {\r\n case 1:\r\n return 'Praėjo';\r\n case 2:\r\n return 'Nepraėjo';\r\n case 3:\r\n return 'Rankinė patikra';\r\n default:\r\n return text;\r\n }\r\n };\r\n\r\n const AmlPepResultTranslate = (val) => {\r\n if (val === 1) {\r\n return Praėjo;\r\n } else if (val === 2) {\r\n return (\r\n \r\n Nepraėjo. Tolesnis paraiškos vertinimas galimas tik suderinus su\r\n RIZIKŲ VALDYMO IR ATITIKTIES DEPARTAMENTO atsakingu darbuotoju.\r\n \r\n );\r\n } else if (val === 3) {\r\n return Reikia peržiūros;\r\n }\r\n };\r\n\r\n const translateIsBussinessSorrow = (val) => {\r\n if (val === true) {\r\n return Taip;\r\n } else if (val === false) {\r\n return Ne;\r\n } else {\r\n return -;\r\n }\r\n };\r\n\r\n const isSmallText = () => (\r\n \r\n Bendrovė ir visos su ja susijusios įmonės atitinka labai mažos arba mažos\r\n įmonės statusą pagal{' '}\r\n \r\n Lietuvos Respublikos smulkaus ir vidutinio verslo plėtros įstatymo{' '}\r\n \r\n nuostatas. Pagrindiniai kriterijai: įmonėje (atsižvelgiant ir į susijusias\r\n ir partnerines įmones) dirba mažiau kaip 50 darbuotojų ir įmonė atitinka\r\n bent vieną iš šių kriterijų: metinės pajamos neviršija 10 mln. Eur arba\r\n įmonės balanse nurodyto turto vertė neviršija 10 mln. Eur\r\n \r\n );\r\n\r\n const viewWindow = true;\r\n const requestId = window.location.href.split('/').pop();\r\n\r\n const [companyQuestionList, setCompanyQuestionList] = useState({});\r\n const [ceoDataList, setCeoDataList] = useState({});\r\n const [companyDataList, setCompanyDataList] = useState({});\r\n const [rentContract, setRentContract] = useState(null);\r\n const [applicantData, setApplicantData] = useState(null);\r\n const [controllingCompanies, setControllingCompanies] = useState(null);\r\n const [controllingForeignCompanies, setControllingForeignCompanies] =\r\n useState(null);\r\n\r\n const [comment, setComment] = useState('');\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalTitle, setModalTitle] = useState('');\r\n const [modalMainText, setModalMainText] = useState('');\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const [loginType, setLoginType] = useState('Company');\r\n\r\n const [evrksList, setevrksList] = useState([]);\r\n\r\n const [turnoversInfo, setTurnoversInfo] = useState([]);\r\n\r\n const [invoices, setInvoices] = useState({\r\n status: 1,\r\n number: '1',\r\n // invoiceDate: '2020-04-27T12:03:28.316Z',\r\n sum: '',\r\n debtSum: '',\r\n invoiceType: 1,\r\n RentDate: '2020-02-01',\r\n checkAlreadyPayed: true,\r\n vmiInvoiceStatus: 1,\r\n checkIsComparative: true,\r\n SumWithoutPvm: '',\r\n DebtSumWithoutPvm: '',\r\n });\r\n\r\n const [userCommentChecked, setUserCommentChecked] = useState(false);\r\n const [riskAssessmentNote, setRiskAssessmentNote] = useState('');\r\n\r\n const [editAmlPepTable, setEditAmlPepTable] = useState(false);\r\n const [editRiskTable, setEditRiskTable] = useState(false);\r\n const [riskAssessmentResults, setRiskAssessmentResults] = useState(null);\r\n const [riskLevel, setRiskLevel] = useState(null);\r\n const [additionalRequestsLoading, setAdditionalRequestsLoading] =\r\n useState(false);\r\n\r\n const onCommentChange = ({ target: { name, value } }) => {\r\n setComment(value);\r\n };\r\n\r\n const confirmClick = () => {\r\n const open = {\r\n modalName: 'confirmRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeContract = () => {\r\n const open = {\r\n modalName: 'changeContractFile',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeCompanySize = () => {\r\n const open = {\r\n modalName: 'changeCompanySize',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeSetNotDeletable = () => {\r\n const open = {\r\n modalName: 'changeSetNotDeletable',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const acceptConditionsChangeRequest = () => {\r\n const open = {\r\n modalName: 'acceptConditionsChangeRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const rejectConditionsChangeRequest = () => {\r\n const open = {\r\n modalName: 'rejectConditionsChangeRequest',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const takeRequestToEvaluate = () => {\r\n const open = {\r\n modalName: 'takeRequestToEvaluateModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n {\r\n /*const rejectClick = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText(\r\n 'Ar tikrai norite atmesti paraišką?
Sprendimas negalės būti pakeistas.'\r\n );\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_REJECT_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };*/\r\n }\r\n\r\n const rejectClick = () => {\r\n const open = {\r\n modalName: 'confirmRejectNew',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const confirmWithDocsClick = () => {\r\n const open = {\r\n modalName: 'confirmWithAdditionalDocs',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const terminateRequest = (id) => {\r\n const open = {\r\n modalName: 'terminateRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const returnClick = () => {\r\n const open = {\r\n modalName: 'returnModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadUploadedFile = (id, fileName) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadFileManager(requestId, id),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a); // we need to append the element to the dom -> otherwise it will not work in firefox\r\n a.click();\r\n a.remove(); //afterwards we remove the element again\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const sign = () => {\r\n dispatch(actions.dashboard.getSigningUrlAction(null, requestId, 'manager'));\r\n };\r\n\r\n const signDecision = () => {\r\n dispatch(actions.dashboard.getSigningDecisionUrlAction(requestId));\r\n };\r\n\r\n const returnSignedDocumentEndpoint = (\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n console.log(fileType);\r\n if (fileType === 'Decision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentDecision(requestId);\r\n }\r\n\r\n if (fileType === 'RejectDecision') {\r\n return config.API_ENDPOINTS.GetSignedDocumentRejectDecision(requestId);\r\n }\r\n\r\n {\r\n /*if (\r\n fileType === 'ChangeConditions' ||\r\n fileType === 'ChangeConditionsRequest'\r\n ) {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }*/\r\n }\r\n\r\n if (fileType === 'ChangeConditionsRequest') {\r\n if (!applicantSigningDate || !invegaSigningDate) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n return config.API_ENDPOINTS.GetSignedDocumentChangeConditions(requestId);\r\n }\r\n\r\n if (fileType === 'ChangeConditions') {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n\r\n if (\r\n fileType === 'ChangeConditionsReject' ||\r\n fileType === 'ChangeConditionsDecision'\r\n ) {\r\n return config.API_ENDPOINTS.GetChangeConditionsFile(requestId, fileId);\r\n }\r\n\r\n return config.API_ENDPOINTS.GetSignedDocumentContract(requestId);\r\n };\r\n\r\n const GetSignedDocumentContractManager = (\r\n requestId,\r\n fileType,\r\n name,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n returnSignedDocumentEndpoint(\r\n requestId,\r\n fileType,\r\n fileId,\r\n applicantSigningDate,\r\n invegaSigningDate\r\n ),\r\n {\r\n method: 'GET',\r\n headers: {\r\n 'Content-Type': 'application/pdf',\r\n },\r\n withCredentials: 'include',\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sutartis_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = name;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const GetSignedDocumentDecisionManager = (requestId) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.GetSignedDocumentDecision(requestId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Sprendimas_Nr_${requestId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const getFinancialCriteriaResults = (id) => {\r\n const open = {\r\n modalName: 'financialCriteriaModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n dispatch(\r\n actions.dashboard.getFinancialCriteriaResultsAction(id, 'Manager', true)\r\n );\r\n };\r\n\r\n const checkFinancialCriteriaResults = (id, AllEvaluationCompleted) => {\r\n getFinancialCriteriaResults(id);\r\n };\r\n\r\n const [requestSystemInfo, setRequestSystemInfo] = useState(null);\r\n\r\n const isCheckBox = (name) =>\r\n name.slice(0, 5) === 'check' || name.slice(0, 5) === 'Check' ? true : false;\r\n\r\n const isDate = (name) =>\r\n name.slice(name.length - 4) === 'Date' ? true : false;\r\n\r\n const [hasInvoice, setHasInvoice] = useState(true);\r\n\r\n const [fileArr, setFileArray] = useState([]);\r\n const [rejection, setRejection] = useState(null);\r\n\r\n useEffect(() => {\r\n if (requestsState && requestsState.data) {\r\n setCeoDataList(requestsState.data.ContactInfo);\r\n setCompanyDataList(requestsState.data.CompanyData);\r\n setCompanyQuestionList(requestsState.data.FinancialData);\r\n setComment(requestsState.data.Comment ? requestsState.data.Comment : '');\r\n // setRentContract(requestsState.data.RentContract);\r\n setRiskAssessmentResults(requestsState.data.RiskAssessmentResults);\r\n setRiskLevel(requestsState.data?.RiskLevelId);\r\n\r\n setRentContract({\r\n ...requestsState.data.RentContract,\r\n checkAdditionalRule1:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n checkAdditionalRule2:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n checkAdditionalRule3:\r\n requestsState.data.RentContract != null &&\r\n requestsState.data.RentContract.CheckAdditionalRules === true\r\n ? true\r\n : false,\r\n });\r\n\r\n setApplicantData(requestsState.data.ApplicantData);\r\n\r\n setInvoices(requestsState.data.Invoice);\r\n setRequestSystemInfo(requestsState.data.RequestSystemInfo);\r\n setLoginType(\r\n requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.IndividualId === null\r\n ? 'Company'\r\n : 'Individual'\r\n );\r\n setUserCommentChecked(\r\n requestsState.data.UserComment === null ? false : true\r\n );\r\n\r\n if (requestsState.data.RentContract != null) {\r\n if (requestsState.data.RentContract.RealEstateObjectId != null) {\r\n requestsState.data.Invoice.Id == null\r\n ? setHasInvoice(false)\r\n : setHasInvoice(true);\r\n } else {\r\n setHasInvoice(true);\r\n }\r\n }\r\n setControllingCompanies(requestsState.data.ControllingCompanies);\r\n setControllingForeignCompanies(\r\n requestsState.data.ControllingForeignCompanies\r\n );\r\n setApproversCommen(requestsState.additionalComments.ApproversComment);\r\n setSignatorysComment(requestsState.additionalComments.SignatorysComment);\r\n\r\n if (\r\n requestsState.filesTableList &&\r\n requestsState.filesTableList.length !== 0 &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 10\r\n ) {\r\n if (requestsState.filesTableList.length === 1) {\r\n setRejection(requestsState.filesTableList[0]);\r\n } else {\r\n setRejection(requestsState.filesTableList.slice(-1)[0]);\r\n setFileArray([requestsState.filesTableList]);\r\n setFileArray(\r\n [...requestsState.filesTableList].slice(\r\n 0,\r\n requestsState.filesTableList.length - 1\r\n )\r\n );\r\n }\r\n } else {\r\n setFileArray(requestsState.filesTableList);\r\n }\r\n }\r\n }, [requestsState]);\r\n\r\n const [hasParentCompanyValue, setHasParentCompanyValue] = useState(false);\r\n const [hasParentCompanyState, setHasParentCompanyState] = useState(false);\r\n const [declarationInfo, setDeclarationInfo] = useState(null);\r\n const [loanInfo, setLoanInfo] = useState(null);\r\n const [checks, setChecks] = useState(null);\r\n const [pepData, setPepData] = useState({});\r\n const [suppliers, setSuppliers] = useState(null);\r\n\r\n const [isStatusGood, setIsStatusGood] = useState(false);\r\n const [\r\n generateNoteAboutNoFinanceFromBanks,\r\n setGenerateNoteAboutNoFinanceFromBanks,\r\n ] = useState(false);\r\n\r\n const financialDataArray2019 = [\r\n 'Fsi2019Submitted',\r\n 'br',\r\n 'FsiStartDate2019',\r\n 'FsiEndDate2019',\r\n 'Assets19',\r\n 'Liabilities19',\r\n 'PropertyAmount19',\r\n 'Turnover19',\r\n ];\r\n\r\n const financialDataArray2020 = [\r\n 'Fsi2020Submitted',\r\n 'br',\r\n\r\n 'FsiStartDate2020',\r\n 'FsiEndDate2020',\r\n 'Assets20',\r\n 'Liabilities20',\r\n 'PropertyAmount20',\r\n 'Turnover20',\r\n ];\r\n\r\n const financialDataArray2021 = [\r\n 'Fsi2021Submitted',\r\n 'br',\r\n\r\n 'FsiStartDate2021',\r\n 'FsiEndDate2021',\r\n 'Assets21',\r\n 'Liabilities21',\r\n 'PropertyAmount21',\r\n 'Turnover21',\r\n ];\r\n\r\n const financialDataArray = (fsiYear) =>\r\n fsiYear == 2019 ? financialDataArray2019 : financialDataArray2020;\r\n\r\n const financialDataArray2 = (fsiYear) =>\r\n fsiYear == 2020 ? financialDataArray2020 : financialDataArray2021;\r\n\r\n const agreementsCheckBoxesArray = ['Check1', 'Check2', 'Check3'];\r\n\r\n const fileTypeTranslation = (name) => {\r\n if (name === 'Contract') {\r\n return 'Sutartis';\r\n } else if (name === 'Decision') {\r\n return 'Sprendimas';\r\n } else if (name === 'ChangeConditionsRequest') {\r\n return 'Prašymas pakeisti susitarimą';\r\n } else if (name === 'ChangeConditions') {\r\n return 'Sąlygų keitimo dokumentas';\r\n } else if (name === 'ChangeConditionsReject') {\r\n return 'Sąlygų keitimas atmestas';\r\n } else if (name === 'ChangeConditionsDecision') {\r\n return 'Sąlygų keitimo sprendimas';\r\n } else if (name === 'RejectDecision') {\r\n return 'Atmetimo sprendimas';\r\n } else if (name === 'RejectRequest') {\r\n return 'Atmetimo prašymas';\r\n }\r\n };\r\n\r\n const euriborTranslation = (name) => {\r\n if (name === 1) {\r\n return '1 mėn.';\r\n } else if (name === 2) {\r\n return '3 mėn.';\r\n } else if (name === 3) {\r\n return '6 mėn.';\r\n } else if (name === 4) {\r\n return '12 mėn.';\r\n }\r\n };\r\n\r\n const fileTypeTranslation2 = (type) => {\r\n switch (type) {\r\n case 1:\r\n return 'SVV subjekto statuso deklaracija';\r\n case 2:\r\n return 'Vienos įmonės deklaracija';\r\n case 3:\r\n return 'Verslo subjektą apibūdinantys dokumentai';\r\n case 4:\r\n return 'Verslo planas (Aprašo priedas Nr. 1)';\r\n case 5:\r\n return 'Verslo subjekto valdymo organo sprendimas dėl Paskolos gavimo, turto įkeitimo ir įgaliotų asmenų sudaryti atitinkamus sandorius paskyrimo';\r\n case 6:\r\n return 'Verslininko individualios veiklos registracijos dokumentai, asmens tapatybės dokumento kopija ir laisvos formos dokumentas, kuriame būtų nurodyti verslininko ir su juo susijusių įmonių ryšiai';\r\n case 7:\r\n return 'Finansiniai dokumentai';\r\n case 8:\r\n return 'Buhalterinė pažyma apie importą arba eksportą į Kinijos Liaudies Respubliką';\r\n case 11:\r\n return 'Kiti dokumentai';\r\n case 9:\r\n return 'Einamųjų finansinių metų tarpinis finansinių ataskaitų rinkinys';\r\n case 10:\r\n return 'Motyvuotas paaiškinimas dėl įvykusių pokyčių Verslo subjekto veikloje, kai paraiška buvo atmesta ir reikiama pakartotinai';\r\n case 12:\r\n return 'Paskolos gavėjo finansinė būklė ir prognozės (Aprašymo priedas Nr. 1)';\r\n case 13:\r\n return 'Pareiškėjo veiklos (finansinių) duomenų detalizacijos forma';\r\n case 14:\r\n return 'Įgaliojimas';\r\n case 15:\r\n return 'Vadovo asmens tapatybės dokumento kopija';\r\n }\r\n };\r\n\r\n const checkTypeIdTranslate = (id) => {\r\n switch (id) {\r\n case 1:\r\n return 'Pareiškėjas';\r\n case 2:\r\n return 'Pareiškėjas';\r\n case 3:\r\n return 'Kontroliuojanti įmonė';\r\n case 4:\r\n return 'Kontroliuojantis asmuo';\r\n case 5:\r\n return 'Tiekėjas';\r\n case 6:\r\n return 'Įmonės vadovas';\r\n case 7:\r\n return 'Viešas pareigas einantis asmuo';\r\n case 8:\r\n return 'Pirkėjas';\r\n default:\r\n return id;\r\n }\r\n };\r\n\r\n const criteriaIdEnums = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Šalies kriterijus';\r\n case 2:\r\n return 'EVRK kriterijus';\r\n case 3:\r\n return 'JAR tarptautinės sankcijos';\r\n case 4:\r\n return 'AML';\r\n case 5:\r\n return 'PEP';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const fieldIdEnums = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Pilietybė';\r\n case 2:\r\n return 'Įmonės registracijos šalis';\r\n case 3:\r\n return 'Įmonės registracijos šalis';\r\n case 4:\r\n return 'Valstybė, kurioje asmuo yra PEP';\r\n case 5:\r\n return 'Asmens tapatybės dokumentą išdavusi valstybė';\r\n case 6:\r\n return 'Pilietybė';\r\n case 7:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 8:\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 9:\r\n return 'Nuolatinės gyvenamosios vietos valstybė ';\r\n case 10:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 11:\r\n return 'Mokesčio mokėtojo valstybė';\r\n case 12:\r\n return 'Rezidavimo valstybė mokesčių tikslais';\r\n case 13:\r\n return 'Mokesčio mokėtojo valstybė';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const resultIdEnum = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Tolesnis vertinimas negalimas';\r\n case 2:\r\n return 'Turi įtakos vertinimui';\r\n case 3:\r\n return 'Neturi įtakos vertinimui';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const riskIdEnum = (val) => {\r\n switch (val) {\r\n case 1:\r\n return 'Aukšta';\r\n case 2:\r\n return 'Vidutinė';\r\n case 3:\r\n return 'Žema';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const changeContractModalOpen = () => {\r\n const open = {\r\n modalName: 'changeConditionsBoModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeConditionsModalOpen = () => {\r\n const hasChangeCOnditionsDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditions'\r\n );\r\n\r\n const hasChangeConditionsRequestDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditionsRequest'\r\n );\r\n if (!hasChangeCOnditionsDoc && !hasChangeConditionsRequestDoc) {\r\n swal({\r\n title: 'Neprisegtas sąlygų keitimo dokumentas',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const open = {\r\n modalName: 'submitConditionsChangeRequestModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n };\r\n\r\n const returnChangeConditionsModalOpen = () => {\r\n const hasChangeCOnditionsDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditions'\r\n );\r\n const hasChangeConditionsRequestDoc = signInInfo.some(\r\n (val) => val.FileType === 'ChangeConditionsRequest'\r\n );\r\n if (!hasChangeCOnditionsDoc && !hasChangeConditionsRequestDoc) {\r\n swal({\r\n title: 'Neprisegtas sąlygų keitimo dokumentas',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const open = {\r\n modalName: 'returnChangeConditionsModal',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n }\r\n };\r\n\r\n const [openedMessageText, setOpenedMessagetext] = useState('');\r\n\r\n const openMessageModal = (message) => {\r\n setOpenedMessagetext(message);\r\n const open = {\r\n modalName: 'globalMessageModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n return message;\r\n };\r\n\r\n const messageShow = (message) => {\r\n const trimmedMessage = message.slice(0, 50);\r\n\r\n if (message.length < 50) {\r\n return message;\r\n }\r\n\r\n return (\r\n \r\n {trimmedMessage}\r\n \r\n openMessageModal(message)}\r\n >\r\n ... [Rodyti daugiau]\r\n \r\n \r\n );\r\n };\r\n\r\n const showChangeFile = (val) => {\r\n switch (val) {\r\n case 'ChangeConditionsRequest':\r\n return true;\r\n case 'ChangeConditions':\r\n return true;\r\n case 'ChangeConditionsReject':\r\n return true;\r\n case 'ChangeConditionsDecision':\r\n return true;\r\n default:\r\n return false;\r\n }\r\n };\r\n\r\n const changeFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const acceptFiles = () => {\r\n return '.xlsx, .xls, .doc, .docx, .xml, .txt, .pdf';\r\n };\r\n\r\n const selectFile = (e, id) => {\r\n setIsloading(true);\r\n\r\n const file = e.target.files[0];\r\n\r\n const formData = new FormData();\r\n formData.append('File', file);\r\n formData.append('RequestId', requestId);\r\n formData.append('FileId', id);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.ChangeChangeConditionsFile, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n\r\n swal({\r\n title: 'Priedas sėkmingai pakeistas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko pateikti priedo';\r\n if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const applicantDataArray = [\r\n 'CompanyManagerName',\r\n 'CompanyManagerSurName',\r\n 'PersonalCode',\r\n 'BirthDate',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyEvrk',\r\n 'IndividualActivityCertificateNumberStartDate',\r\n 'IndividualActivityCertificateNumber',\r\n 'CompanyActivityAddress',\r\n ];\r\n\r\n const ceoDataListArray = ['ApplicantName', 'ApplicantSurname'];\r\n\r\n const companyDataListArray = [\r\n 'CompanyName',\r\n 'CompanyCode',\r\n 'CompanyManagerName',\r\n 'CompanyManagerCitizenshipId',\r\n 'CompanyType',\r\n 'StatusInitial',\r\n 'CompanyEvrk',\r\n 'CompanyRegistrationDate',\r\n // 'CompanyRegistrationAddress',\r\n 'CompanyActivityAddress',\r\n 'CompanyPhone',\r\n 'CompanyEmail',\r\n 'ContractEmail',\r\n 'Iban',\r\n ];\r\n\r\n const shareHolderTypeTranslate = (val) => {\r\n switch (val) {\r\n case 'Company':\r\n return 'Juridinis asmuo';\r\n case 'Person':\r\n return 'Fizinis asmuo';\r\n default:\r\n return val;\r\n }\r\n };\r\n\r\n const returnFileTypeNr = (val) => {\r\n if (val == 9) {\r\n return 7;\r\n }\r\n if (val == 10) {\r\n return 4;\r\n }\r\n if (val == 13) {\r\n return 3;\r\n }\r\n if (val == 14) {\r\n return 5;\r\n }\r\n if (val == 3) {\r\n return 2;\r\n }\r\n if (val == 5) {\r\n return null;\r\n }\r\n if (val == 6) {\r\n return null;\r\n }\r\n return val;\r\n };\r\n\r\n const check1 = () => (\r\n
\r\n

\r\n Pareiškėjas susipažino su \"{projectName2(requestSystemInfo.ProjectId)}\"{' '}\r\n aprašymu, pateiktu INVEGOS puslapyje.\r\n

\r\n
\r\n );\r\n\r\n useEffect(() => {\r\n if (requestsState && requestsState.data) {\r\n setCeoDataList(requestsState.data.ContactInfo); //kontaktinė informacija JA/FA bendras\r\n setCompanyDataList(requestsState.data.CompanyData);\r\n setHasParentCompanyValue(\r\n requestsState.data.CompanyData &&\r\n requestsState.data.CompanyData.ParentCompanyCodesFromRequest &&\r\n requestsState.data.CompanyData.ParentCompanyCodesFromRequest\r\n .length !== 0\r\n ? true\r\n : false\r\n );\r\n setDeclarationInfo(requestsState.data.DeclarationInfo);\r\n setLoanInfo(requestsState.data.LoanInfo);\r\n setChecks(requestsState.data.Checks);\r\n\r\n setevrksList(\r\n requestsState.data.evrksList ? requestsState.data.evrksList : []\r\n );\r\n\r\n requestsState.data.ApplicantData != null &&\r\n setApplicantData({\r\n ...requestsState.data.ApplicantData,\r\n IndividualActivityCertificateNumberStartDate:\r\n requestsState.data.ApplicantData\r\n .IndividualActivityCertificateNumberStartDate,\r\n });\r\n\r\n setCompanyQuestionList(requestsState.data.FinancialData);\r\n setRequestSystemInfo(requestsState.data.RequestSystemInfo);\r\n\r\n // Pep\r\n if (requestsState.data && requestsState.data.PepData) {\r\n for (let i = 0; i < 4; i++) {\r\n const item =\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i];\r\n if (item && (item.Name || item.Surname)) {\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n birthDate: item.BirthDate,\r\n position: item.Position,\r\n country: item.Country,\r\n personRelation: item.PersonRelation,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ImportantResponsibilityPersons[i] = {\r\n name: '',\r\n surname: '',\r\n birthDate: '',\r\n position: '',\r\n country: '',\r\n personRelation: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestsState.data.PepData.ControllingPersons[i];\r\n if (item && (item.Name || item.Surname)) {\r\n requestsState.data.PepData.ControllingPersons[i] = {\r\n name: item.Name,\r\n surname: item.Surname,\r\n citizenshipId: item.CitizenshipId,\r\n personCode: item.PersonCode,\r\n position: item.Position,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ControllingPersons[i] = {\r\n name: '',\r\n surname: '',\r\n citizenshipId: '',\r\n personCode: '',\r\n position: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n };\r\n }\r\n }\r\n\r\n for (let i = 0; i < 4; i++) {\r\n const item = requestsState.data.PepData.ControllingCompanies[i];\r\n if (item && (item.Name || item.Code)) {\r\n requestsState.data.PepData.ControllingCompanies[i] = {\r\n name: item.Name,\r\n code: item.Code,\r\n country: item.Country,\r\n sharesPart: item.SharesPart,\r\n votingPart: item.VotingPart,\r\n };\r\n } else if (!item?.name) {\r\n requestsState.data.PepData.ControllingCompanies[i] = {\r\n name: '',\r\n code: '',\r\n country: '',\r\n sharesPart: '',\r\n votingPart: '',\r\n };\r\n }\r\n }\r\n }\r\n\r\n if (requestsState.data) {\r\n setRequestData(requestsState.data);\r\n setPepData(requestsState.data.PepData);\r\n setSuppliers(requestsState.data.Suppliers);\r\n }\r\n\r\n //pep end\r\n\r\n setIsStatusGood(\r\n requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.Status != null &&\r\n requestsState.data.RequestSystemInfo.Status !== 6\r\n ? true\r\n : false\r\n );\r\n\r\n setControllingCompanies(requestsState.data.ControllingCompanies);\r\n setControllingForeignCompanies(\r\n requestsState.data.ControllingForeignCompanies\r\n );\r\n setTurnoversInfo(arrangeTurnovers(requestsState.data.TurnoversInfo));\r\n setSelfDeclarationtData(requestsState.data.SelfDeclaration);\r\n setRiskAssessmentNote(requestsState.RiskAssessmentNote);\r\n }\r\n }, [requestsState]);\r\n\r\n useEffect(() => {\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n dispatch(actions.backoffice.getGetUploadedFilesAction(requestId));\r\n dispatch(actions.backoffice.saveEditAdditionalComments('get', requestId));\r\n dispatch(actions.backoffice.getRequestLogAction(requestId));\r\n dispatch(actions.backoffice.getInvegaUsersAction());\r\n }, [requestId]);\r\n\r\n const arrangeTurnovers = (list) => {\r\n if (\r\n list &&\r\n list.length === 6 &&\r\n list[0].Date &&\r\n list[0].Date === '2019-11-01T00:00:00' &&\r\n list[5].Date &&\r\n list[5].Date === '2021-01-01T00:00:00'\r\n ) {\r\n return [list[0], list[3], list[1], list[4], list[2], list[5]];\r\n }\r\n\r\n return list;\r\n };\r\n\r\n const trueFalseTranslation = (val) => (val == true ? 'Taip' : 'Ne');\r\n\r\n const [approversComment, setApproversCommen] = useState('');\r\n const [signatorysComment, setSignatorysComment] = useState('');\r\n\r\n const saveApproversComment = ({ target: { name, value } }) => {\r\n setApproversCommen(value);\r\n };\r\n\r\n const saveComment = () => {\r\n const data = {\r\n approversComment: approversComment,\r\n signatorysComment: signatorysComment,\r\n requestId: requestSystemInfo.RequestId,\r\n };\r\n\r\n dispatch(actions.backoffice.saveEditAdditionalComments('save', data));\r\n };\r\n\r\n const changeStatusClick = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Pateikta vertinti\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_SENDFORAPPROVE_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus3Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Patvirtinta\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_APPROVE_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus13Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText('Paraiškos būsena bus pakeista į \"Sąlygų keitimas\".');\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_CHANGECONDITIONS_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const changeStatus17Click = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText(null);\r\n\r\n setModalTitle('Ar tikrai norite pakeisti būseną?');\r\n setModalMainText(\r\n 'Paraiškos būsena bus pakeista į \"Patvirtintas sąlygų keitimas\".'\r\n );\r\n setModalData({ requestId, comment, userCommentChecked });\r\n setModalAction('INVEGA_CHANGE_TO_CHANGECONDITIONSAPPROVED_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const isSelectedEvrkInTheList = (val) => {\r\n const isInArray = evrksList.filter((x) => x == val);\r\n return evrksList.length > 0 && isInArray.length > 0 ? false : true;\r\n };\r\n\r\n const formatEvrkJson2 = (evrk) => {\r\n return evrksList\r\n ? evrksList.map((val) => ({\r\n [val]: evrkFull[val],\r\n }))\r\n : null;\r\n };\r\n\r\n const from19To20 = (val) => `${val.slice(0, -2)}20`;\r\n\r\n const ageLessThen5 = (regDate) => {\r\n const date = new Date();\r\n const ageMinus5Years = subYears(new Date(date), 5);\r\n return new Date(regDate) > ageMinus5Years;\r\n };\r\n\r\n const ShowQuestionList = () => {\r\n const size =\r\n loginType === 'Company'\r\n ? companyDataList && companyDataList.CompanySizeType\r\n : applicantData && applicantData.CompanySizeType;\r\n const socialBusiness = loanInfo && loanInfo.LoanSocialBusiness;\r\n const companyRegistrationDate =\r\n companyDataList && companyDataList.CompanyRegistrationDate;\r\n const individualRegistrationData =\r\n applicantData &&\r\n applicantData.IndividualActivityCertificateNumberStartDate;\r\n if (size == 1 || size == 2) {\r\n if (\r\n (socialBusiness == 'true' || socialBusiness == true) &&\r\n ageLessThen5(\r\n loginType === 'Company'\r\n ? companyRegistrationDate\r\n : individualRegistrationData\r\n )\r\n ) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n const questionListArray = [\r\n 'IsSmall',\r\n 'IsNotListed',\r\n 'IsProfitNotShared',\r\n 'IsNotJoined',\r\n 'IsNotTaken',\r\n 'IsNotProblemic',\r\n ];\r\n\r\n const setFAcolor = (submitted, year, fsiYear) => {\r\n if (year === fsiYear) {\r\n return submitted ? 'green' : 'red';\r\n }\r\n\r\n return '#033878';\r\n };\r\n\r\n const returnCountryNameById = (id, x) => {\r\n const find = formatCountryJson.find((val) => val.value == id);\r\n if (x) {\r\n return find ? find?.label : id;\r\n }\r\n return find ? find[0]?.label : '-';\r\n };\r\n\r\n const [administrationInvoices, setAdministrationInvoices] = useState([]);\r\n const administrationInvoicesTableHeader = [\r\n 'Sąskaitos numeris',\r\n 'Failo pavadinimas',\r\n 'Sukūrimo data ',\r\n 'Paskolos paruošimo mokestis, Eur',\r\n 'Būsena',\r\n 'Veiksmai',\r\n ];\r\n\r\n const GetAdministrationInvoices = async () => {\r\n try {\r\n const response = await Api.GetAdministrationInvoices(requestId);\r\n setAdministrationInvoices(response);\r\n } catch (e) {\r\n // errorHandler(e, e?.response?.status, e?.response && e?.response?.data?.ErrorMessage, t('Ok'));\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n GetAdministrationInvoices();\r\n }, [requestId]);\r\n\r\n const getContractName = (id) => {\r\n return `Sąskaita_${id}.pdf`;\r\n };\r\n\r\n const DownloadChangeConditionsInvoice = async (\r\n contractId,\r\n contractNumber\r\n ) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadChangeConditionsInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const downloadAllFiles = async () => {\r\n setIsloading(true);\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.DownloadAllFiles(requestId), {\r\n method: 'GET',\r\n headers: {\r\n 'content-Type': 'application/zip',\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n })\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = `Visi_priedai_${requestId}.zip`;\r\n document.body.appendChild(a); // we need to append the element to the dom -> otherwise it will not work in firefox\r\n a.click();\r\n a.remove(); //afterwards we remove the element again\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n // dispatch(actions.backoffice.downloadAllFilesAction(requestId));\r\n };\r\n\r\n const DownloadAdministrationInvoice = async (contractId, contractNumber) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadAdministrationInvoice(contractId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = getContractName(contractNumber);\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const [selfDeclarationData, setSelfDeclarationtData] = useState(null);\r\n const [requestData, setRequestData] = useState(requestsState);\r\n\r\n const translateTurnover = (val) => {\r\n const year = val.substring(0, 4);\r\n const month = val.substring(5, 7);\r\n\r\n const dictionary = {\r\n '01': 'sausio',\r\n '02': 'vasario',\r\n '03': 'kovo',\r\n '04': 'balandžio',\r\n '05': 'gegužės',\r\n '06': 'birželio',\r\n '07': 'liepos',\r\n '08': 'rugpjūčio',\r\n '09': 'rugsėjo',\r\n 10: 'spalio',\r\n 11: 'lapkričio',\r\n 12: 'gruodžio',\r\n };\r\n\r\n if (val && val.length === 4) {\r\n return `Apyvarta ${year}m `;\r\n }\r\n return `Apyvarta ${year}m. ${dictionary[month]} mėn.`;\r\n };\r\n\r\n const checkIf2021FinancesToShow = () => {\r\n const checkDate = new Date('2022-06-01');\r\n const now = new Date();\r\n if (now > checkDate) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const addExclamation = () => {\r\n return (\r\n \r\n );\r\n };\r\n const [showErr, setShowErr] = useState(false);\r\n const [riskAssessmentDate, setRiskAssessmentDate] = useState('');\r\n\r\n const [riskAssessmentResult, setRiskAssessmentResult] = useState('');\r\n\r\n const onRiskAssesmentResultChange = (val) => {\r\n setRiskAssessmentResult(val.target.value);\r\n };\r\n\r\n const saveRiskAssesmentData = () => {\r\n if (riskAssessmentDate) {\r\n const riskData = {\r\n riskAssessmentResultId: riskAssessmentResult,\r\n riskAssessmentNote: riskAssessmentNote,\r\n riskAssessmentDate: riskAssessmentDate,\r\n requestId: requestSystemInfo.RequestId,\r\n };\r\n dispatch(actions.backoffice.saveRiskAssessmentResult('save', riskData));\r\n setRiskAssessmentResult(null);\r\n setShowErr(false);\r\n } else {\r\n setShowErr(true);\r\n }\r\n };\r\n\r\n const saveRiskAssessmentNote = ({ target: { name, value } }) => {\r\n setRiskAssessmentNote(value);\r\n };\r\n\r\n const saveRiskAssessmentDate = (e) => {\r\n const formattedData = format(new Date(e), 'yyyy-MM-dd');\r\n setRiskAssessmentDate(formattedData);\r\n };\r\n\r\n const editAutorization = (id) => {\r\n dispatch(actions.backoffice.setSaveRepresentativeError({}));\r\n const row = requestsState?.representatives.find((r) => r.Id === id);\r\n\r\n row.RepresentativeType = row.RepresentedPersonalCode\r\n ? 'Personal'\r\n : 'Company';\r\n\r\n dispatch(actions.backoffice.setRepresentativeAction(row));\r\n\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFileManager(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const actionClick = (representativeId) => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText('Ar tikrai norite ištrinti?');\r\n setModalData({ representativeId });\r\n setModalAction('DELETE_REPRESENTATIVE_MANAGER');\r\n setModalTitle('');\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const confirmRequestNew = () => {\r\n const open = {\r\n modalName: 'confirmRequestNew',\r\n visible: true,\r\n };\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const onAmlPepNoteChange = (id, newNote) => {\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n Note: newNote,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const onAmlPepResultIdChange = (id, resultId) => {\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n ResultId: resultId === 0 ? null : resultId,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const onAmlPepDateChange = (id, newDate) => {\r\n const formattedData = format(new Date(newDate), 'yyyy-MM-dd');\r\n const updatedResults = riskAssessmentResults.map((result) => {\r\n if (result.Id === id) {\r\n return {\r\n ...result,\r\n Date: formattedData,\r\n };\r\n } else {\r\n return result;\r\n }\r\n });\r\n setRiskAssessmentResults(updatedResults);\r\n };\r\n const saveRiskLevel = async () => {\r\n try {\r\n await Api.ManagerSaveRiskLevel(requestId, riskLevel);\r\n setEditRiskTable(false);\r\n swal({\r\n title: `AML rizikos grupė sėkmingai pakeista`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n const saveAmlPepAdditionalData = async () => {\r\n const payload = {\r\n requestId,\r\n riskAssessmentEntries: riskAssessmentResults,\r\n };\r\n try {\r\n await Api.ManagerSaveRiskAssessmentResult(payload);\r\n setEditAmlPepTable(false);\r\n swal({\r\n title: `Patikros duomenys sėkmingai atnaujinti`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n // setLoadingStatus(false);\r\n }\r\n };\r\n\r\n const additionalJadisRequest = async () => {\r\n try {\r\n setAdditionalRequestsLoading(true);\r\n await Api.RecheckJadis(requestId);\r\n swal({\r\n title: `Papildoma JADIS užklausa sėkmingai atlikta`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n setAdditionalRequestsLoading(false);\r\n }\r\n };\r\n\r\n const additionalAMLRequest = async () => {\r\n try {\r\n setAdditionalRequestsLoading(true);\r\n await Api.RecheckAml(requestId);\r\n swal({\r\n title: `Papildoma AML užklausa sėkmingai atlikta`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n dispatch(actions.backoffice.getRequestAction(requestId));\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n setAdditionalRequestsLoading(false);\r\n }\r\n };\r\n\r\n const returnRiskLevelClass = (val) => {\r\n switch (val) {\r\n case 1:\r\n return styles.redInput;\r\n case 2:\r\n return styles.yellowInput;\r\n case 3:\r\n return styles.greenInput;\r\n default:\r\n return styles.greenInput;\r\n }\r\n };\r\n\r\n const returnYesNO = (val) => {\r\n if (val === true) {\r\n return 'Taip';\r\n }\r\n\r\n if (val === false) {\r\n return 'Ne';\r\n }\r\n\r\n return '';\r\n };\r\n\r\n const findInvegaSigningDate = () => {\r\n if (signInInfo) {\r\n const contract = signInInfo?.find((val) => val.FileType === 'Contract');\r\n return contract ? contract?.InvegaSigningDate : '';\r\n }\r\n return '';\r\n };\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Paraiška

\r\n {checkBOPage() && (\r\n \r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n {/* ---------------- FO Request Start------------ */}\r\n
\r\n
\r\n

Paraiškos duomenys

\r\n {requestSystemInfo != null &&\r\n requestSystemInfo.RequestId != 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

Kontaktinė informacija

\r\n {ceoDataList != null && requestData.ContactInfo != null && (\r\n
\r\n {ceoDataListArray.map((key, i) => (\r\n
\r\n \r\n
\r\n ))}\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 data andly for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n

Duomenys apie Verslo subjektą

\r\n {companyDataList != null &&\r\n requestData.CompanyData != null && (\r\n
\r\n {companyDataListArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {(!viewWindow ||\r\n evrksList.length === 0 ||\r\n !companyDataList.CompanyEvrk) && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val, j) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n {viewWindow &&\r\n companyDataList.CompanyEvrk && (\r\n \r\n {companyDataList.CompanyEvrk} -{' '}\r\n {\r\n evrkFull[\r\n companyDataList.CompanyEvrk\r\n ]\r\n }\r\n \r\n )}\r\n \r\n {!viewWindow &&\r\n // !companyDataList.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos.\r\n Paraiškos užpildyti ir pateikti\r\n nepavyks.\r\n

\r\n )}\r\n\r\n \r\n *Jeigu įmonės pagrindinė veikla nesutampa\r\n su užregistruota, patikslinkite pagrindinę\r\n įmonės vykdomą veiklą VMI.\r\n

\r\n
\r\n );\r\n } else if (\r\n key === 'CompanyManagerCitizenshipId'\r\n ) {\r\n return (\r\n \r\n \r\n \r\n {companyDataList.CompanyManagerCitizenshipId ===\r\n requestData.CompanyData\r\n .CompanyManagerCitizenshipId &&\r\n companyDataList.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n companyDataList.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val, j) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (key === 'Iban') {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress' ||\r\n key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })}\r\n
\r\n \r\n Verslo subjekto statusas\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n

\r\n Ar Verslo subjektas, teikiantis paraišką,\r\n priklauso Įmonių grupei?\r\n

\r\n\r\n \r\n \r\n \r\n Ne\r\n \r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių\r\n įmonių kodus. Jei esate didelė įmonė, nurodykite\r\n visus Įmonių grupei priklausančių įmonių kodus.\r\n Pvz. 111111111, 222222222\r\n

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {requestDataLabelTranslation(\r\n 'CheckCompanyAge'\r\n )}\r\n \r\n
\r\n
\r\n
\r\n )}\r\n \r\n )}\r\n\r\n {/* {Company data for JA} */}\r\n {loginType === 'Company' && (\r\n <>\r\n
\r\n {companyDataList != null &&\r\n requestData.FinancialData &&\r\n requestData.RequestSystemInfo && (\r\n <>\r\n

Finansiniai duomenys

\r\n {requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 && (\r\n <>\r\n
\r\n \r\n \r\n )}\r\n \r\n )}\r\n
\r\n \r\n )}\r\n \r\n\r\n {/* {Person data data for FA} */}\r\n {loginType === 'Individual' && (\r\n
\r\n

Duomenys apie verslo subjektą

\r\n {applicantData != null &&\r\n requestData.ApplicantData != null && (\r\n
\r\n {applicantDataArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n } else if (isDate(key) === true) {\r\n return (\r\n
\r\n
\r\n \r\n \r\n \r\n X\r\n \r\n
\r\n
\r\n );\r\n } else if (key === 'CompanyEvrk') {\r\n return (\r\n \r\n \r\n \r\n {(!viewWindow ||\r\n evrksList.length === 0 ||\r\n !isSelectedEvrkInTheList(\r\n applicantData.CompanyEvrk\r\n )) && (\r\n \r\n -\r\n \r\n )}\r\n\r\n {formatEvrkJson2().map((val) => (\r\n \r\n {Object.keys(val)[0]} -{' '}\r\n {Object.values(val)[0]}\r\n \r\n ))}\r\n {viewWindow &&\r\n applicantData.CompanyEvrk && (\r\n \r\n {applicantData.CompanyEvrk} -{' '}\r\n {evrkFull[applicantData.CompanyEvrk]}\r\n \r\n )}\r\n \r\n {!viewWindow &&\r\n // !applicantData.CompanyEvrk &&\r\n evrksList.length === 0 && (\r\n \r\n Pagal iš VMI gautą informaciją, šiuo\r\n metu nevykdote jokios veiklos. Paraiškos\r\n užpildyti ir pateikti nepavyks.\r\n

\r\n )}\r\n
\r\n );\r\n } else if (key === 'CompanyManagerCitizenshipId') {\r\n return (\r\n \r\n \r\n \r\n {applicantData.CompanyManagerCitizenshipId ===\r\n requestData.ApplicantData\r\n .CompanyManagerCitizenshipId &&\r\n applicantData.CompanyManagerCitizenshipId && (\r\n \r\n {returnCountryNameById(\r\n applicantData.CompanyManagerCitizenshipId\r\n )}\r\n \r\n )}\r\n\r\n \r\n -\r\n \r\n\r\n {formatCountryJson.map((val) => (\r\n \r\n {val.label}\r\n \r\n ))}\r\n \r\n
\r\n );\r\n } else if (\r\n key === 'CompanyActivityAddress' ||\r\n key === 'CompanyRegistrationAddress'\r\n ) {\r\n return (\r\n \r\n );\r\n } else {\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 Verslo subjekto statusas\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n

\r\n Ar Verslo subjektas, teikiantis paraišką,\r\n priklauso Įmonių grupei?\r\n

\r\n\r\n \r\n \r\n \r\n Ne\r\n \r\n 0\r\n }\r\n >\r\n Taip\r\n \r\n \r\n \r\n \r\n
\r\n \r\n Nurodykite visus Įmonių grupei priklausančių\r\n įmonių kodus. Jei esate didelė įmonė, nurodykite\r\n visus Įmonių grupei priklausančių įmonių kodus.\r\n Pvz. 111111111, 222222222.\r\n

\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n )}\r\n \r\n )}\r\n \r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest && (\r\n

\r\n Įmonių grupės finansinių atskaitomybių informacija\r\n

\r\n )}\r\n {/* ControllingCompaniesFromRequest */}\r\n {requestData.RequestSystemInfo &&\r\n requestData.ControllingCompaniesFromRequest &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n requestData.ControllingCompaniesFromRequest.map((val, i) => {\r\n return (\r\n <>\r\n \r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n
\r\n {requestData.ControllingCompaniesFromRequest != null &&\r\n requestData.RequestSystemInfo &&\r\n requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n ((val, i) => {\r\n return (\r\n
\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n
\r\n
\r\n {requestData.RequestSystemInfo.Status !== 1 &&\r\n requestData.RequestSystemInfo.Status !== 6 &&\r\n financialDataArray(2019).map((key, i) => {\r\n if (key === 'Fsi2019Submitted') {\r\n return (\r\n \r\n \r\n {requestDataLabelTranslation(\r\n val['Fsi2019Submitted']\r\n ? key\r\n : 'Fsi2020Submitted'\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else {\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

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n \r\n {/* Pep AML data */}\r\n

AML ir PEP

\r\n {pepData && (\r\n
\r\n
\r\n

\r\n Ar Verslo subjekto vadovui, atstovui, naudos gavėjams ar\r\n jų artimiesiems šeimos nariams[1] arba artimiesiems\r\n pagalbininkams[2] šiuo metu arba per paskutinius 12\r\n mėnesių patikėtos svarbios viešosios pareigos (PEP)?[3]\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n

\r\n Jei pažymėjote \"taip\", nurodykite asmenis ir jų informaciją:\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n Gimimo data\r\n Pareigos\r\n \r\n Valstybė, kurioje asmuo yra PEP\r\n \r\n \r\n Asmens ryšys su Verslo subjekte veikiančiais asmenimis\r\n \r\n
\r\n\r\n \r\n {pepData &&\r\n pepData.ImportantResponsibilityPersons &&\r\n pepData.ImportantResponsibilityPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => (\r\n \r\n \r\n \r\n ))\r\n )}\r\n \r\n\r\n
\r\n \r\n
\r\n

Paaiškinimas:

\r\n

\r\n [1] Artimieji šeimos nariai - sutuoktinis, asmuo, su kuriuo\r\n registruota partnerystė, tėvai, broliai, seserys, vaikai ir\r\n vaikų sutuoktiniai, vaikų sugyventiniai.\r\n
\r\n [2] Artimas pagalbininkas:\r\n
\r\n 1) fizinis asmuo, kuris su svarbias viešąsias pareigas\r\n einančiu ar ėjusiu asmeniu yra to paties juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos dalyvis\r\n arba palaiko kitus dalykinius santykius;\r\n
\r\n 2) fizinis asmuo, kuris yra vienintelis juridinio asmens ar\r\n juridinio asmens statuso neturinčios organizacijos,\r\n įsteigtos ar veikiančios de facto siekiant turtinės ar\r\n kitokios asmeninės naudos svarbias viešąsias pareigas\r\n einančiam ar ėjusiam asmeniui, naudos gavėjas.\r\n
\r\n [3] Svarbios viešosios pareigos – pareigos Lietuvos\r\n Respublikoje, Europos Sąjungoje, tarptautinėse ar užsienio\r\n valstybių institucijose:\r\n
\r\n 1) valstybės vadovas, vyriausybės vadovas, ministras,\r\n viceministras arba ministro pavaduotojas, valstybės\r\n sekretorius, parlamento, vyriausybės arba ministerijos\r\n kancleris;\r\n
\r\n 2) parlamento narys;\r\n
\r\n 3) aukščiausiųjų teismų, konstitucinių teismų ar kitų\r\n aukščiausiųjų teisminių institucijų, kurių sprendimai negali\r\n būti skundžiami, narys;\r\n
\r\n 4) savivaldybės meras, savivaldybės administracijos\r\n direktorius;\r\n
\r\n 5) aukščiausiosios valstybių audito ir kontrolės\r\n institucijos valdymo organo narys ar centrinio banko\r\n valdybos pirmininkas, jo pavaduotojas ar valdybos narys;\r\n
\r\n 6) ambasadorius, laikinasis reikalų patikėtinis, Lietuvos\r\n kariuomenės vadas, kariuomenės pajėgų ir junginių vadai,\r\n Gynybos štabo viršininkas ar užsienio valstybių aukšto rango\r\n ginkluotųjų pajėgų karininkas;\r\n
\r\n 7) valstybės įmonės, akcinės bendrovės, uždarosios akcinės\r\n bendrovės, kurių akcijos ar dalis akcijų, suteikiančių\r\n daugiau kaip 1/2 visų balsų šių bendrovių visuotiniame\r\n akcininkų susirinkime, priklauso valstybei nuosavybės teise,\r\n valdymo ar priežiūros organo narys;\r\n
\r\n 8) savivaldybės įmonės, akcinės bendrovės, uždarosios\r\n akcinės bendrovės, kurių akcijos ar dalis akcijų,\r\n suteikiančių daugiau kaip 1/2 visų balsų šių bendrovių\r\n visuotiniame akcininkų susirinkime, priklauso savivaldybei\r\n nuosavybės teise ir kurios laikomos didelėmis įmonėmis pagal\r\n Lietuvos Respublikos įmonių finansinės atskaitomybės\r\n įstatymą, valdymo ar priežiūros organo narys;\r\n
\r\n 9) tarptautinės tarpvyriausybinės organizacijos vadovas, jo\r\n pavaduotojas, valdymo ar priežiūros organo narys;\r\n
\r\n 10) politinės partijos vadovas, jo pavaduotojas, valdymo\r\n organo narys.\r\n
\r\n

\r\n \r\n Nurodykite fizinius asmenis, kurie tiesiogiai ar\r\n netiesiogiai turi arba kontroliuoja jūsų Verslo subjekto\r\n daugiau negu 25 proc. akcijų ar balsavimo teisių, arba kurie\r\n tiesiogiai ar netiesiogiai kontroliuoja jūsų Verslo subjektą\r\n kitais būdais\r\n

\r\n \r\n Vardas\r\n Pavardė\r\n \r\n Pilietybė*\r\n \r\n \r\n Asmens kodas (jei ne Lietuvos pilietis - gimimo data)\r\n \r\n Pareigos\r\n Akcijų dalis proc.\r\n \r\n Balsavimo teisių dalis proc.\r\n \r\n \r\n\r\n \r\n {pepData &&\r\n pepData.ControllingPersons &&\r\n pepData.ControllingPersons.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'citizenshipidddd') {\r\n return (\r\n
\r\n \r\n {returnCountryNameById(\r\n requestData?.PepData?.ControllingPersons?.[\r\n k\r\n ]?.citizenshipId\r\n )}\r\n
\r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n

\r\n * jeigu asmuo be pilietybės – nurodoma valstybė,\r\n kuri išdavė asmens tapatybę patvirtinantį dokumentą\r\n

\r\n

\r\n Nurodykite įmones, kurios tiesiogiai ar netiesiogiai turi\r\n arba kontroliuoja jūsų Verslo subjekto daugiau negu 25 proc.\r\n akcijų ar balsavimo teisių\r\n

\r\n

\r\n Jeigu nurodėte įmonę(-es), kuri(-os) tiesiogiai ar\r\n netiesiogiai turi arba kontroliuoja jūsų Verslo subjekto\r\n daugiau negu 25 proc. akcijų ar balsavimo teisių, būtina\r\n užpildyti aukščiau prašomą informaciją apie fizinius asmenis\r\n - netiesioginius kliento akcininkus (dalyvius) arba asmenis,\r\n kitaip kontroliuojančius kliento valdymą.\r\n

\r\n \r\n \r\n Juridinio asmens pavadinimas\r\n \r\n Juridinio asmens kodas\r\n \r\n Juridinio asmens registracijos šalis\r\n \r\n Akcijų dalis proc.\r\n \r\n Balsavimo teisių dalis proc.\r\n \r\n \r\n \r\n {pepData &&\r\n pepData.ControllingCompanies &&\r\n pepData.ControllingCompanies.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => (\r\n
\r\n \r\n
\r\n ))\r\n )}\r\n \r\n \r\n PASTABA: Jei tokių fizinių ir (ar) juridinių asmenų nėra\r\n (nei vienas iš jų neturi arba nekontroliuoja daugiau nei 25\r\n proc. akcijų ar balsavimo teisių), prašome nurodyti\r\n pagrindinius akcininkus, turinčius daugiausiai akcijų.\r\n

\r\n \r\n )}\r\n

Tiekėjo (-ų) informacija

\r\n \r\n \r\n Tiekėjo įmonės/asmens pavadinimas\r\n \r\n Tiekėjo įmonės/asmens kodas\r\n\r\n Įmonės registracijos šalis\r\n \r\n Tiekėjo vykdoma veikla (pagal EVRK2)\r\n \r\n Mokėjimų pagrindas \r\n \r\n \r\n {suppliers &&\r\n suppliers?.map((obj, k) =>\r\n Object.keys(obj).map((p, i) => {\r\n if (p === 'evrk') {\r\n return (\r\n \r\n \r\n {(!viewWindow ||\r\n !requestData?.Suppliers?.[k]?.evrk) && (\r\n \r\n -\r\n \r\n )}\r\n {Object.keys(evrkFull).map((val, j) => (\r\n \r\n {`${val} - ${evrkFull[val]}`}\r\n \r\n ))}\r\n {viewWindow && (\r\n \r\n {requestData?.Suppliers?.[k]?.evrk\r\n ? `${requestData?.Suppliers?.[k]?.evrk} - ${\r\n evrkFull[\r\n requestData?.Suppliers?.[k]?.evrk\r\n ]\r\n }`\r\n : '-'}\r\n \r\n )}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n })\r\n )}\r\n \r\n PASTABA: turi būti pateikti 5 pagrindiniai tiekėjai. Esant\r\n mažiau, teikiamas mažesnis skaičius, bet ne mažiau nei 1\r\n tiekėjas.\r\n

\r\n \r\n

Informacija Paskolos sutarties parengimui

\r\n {loanInfo && (\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPurposeId')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanTerm')}\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n {requestDataLabelTranslation('LoanDelayTerm')}\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n {requestDataLabelTranslation('LoanPaymentDay')}\r\n \r\n \r\n {[null, 5, 15, 25].map((val) => (\r\n \r\n ))}\r\n \r\n
\r\n
\r\n )}\r\n
\r\n

\r\n Nurodykite, kokiu tikslu norite pradėti dalykinius santykius\r\n su Invega\r\n

\r\n \r\n
\r\n {/* inline checkBoxes */}\r\n {checks != null && (\r\n \r\n {/* {Object.keys(checks).map((key, i) => { */}\r\n\r\n {agreementsCheckBoxesArray.map((key, i) => {\r\n if (isCheckBox(key) === true) {\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 {/*{requestsState.data.CompanyData && ShowQuestionList() && (\r\n
\r\n

\r\n ATITIKIMO KOMISIJOS REGLAMENTE (ES) NR. 651/2014 NUSTATYTIEMS\r\n PAREIŠKĖJUI TAIKOMIEMS REIKALAVIMAMS KLAUSIMYNAS\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {questionListArray.map((val, i) => (\r\n <>\r\n \r\n \r\n {val === 'IsSmall'\r\n ? isSmallText()\r\n : questionListTranslations(val)}\r\n \r\n \r\n \r\n {requestsState.data.Questionnaire[val] == false && (\r\n \r\n \r\n \r\n )}\r\n \r\n ))}\r\n \r\n
Kriterijai\r\n Taip\r\n Ne\r\n
\r\n {' '}\r\n
\r\n {' '}\r\n {' '}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n )}*/}\r\n \r\n {fileArr != null && fileArr.length > 0 && (\r\n
\r\n

Įkelti priedai

\r\n \r\n {fileArr.map(\r\n ({ Id, FileName, UploadedAt, Additional, FileType }) => (\r\n \r\n \r\n {fileTypeTranslation2(FileType)}{' '}\r\n {returnFileTypeNr(FileType)}\r\n \r\n\r\n {FileName}\r\n \r\n {format(new Date(UploadedAt), 'yyyy-MM-dd')}\r\n \r\n {Additional ? 'Taip' : 'Ne'}\r\n \r\n
\r\n downloadUploadedFile(Id, FileName)}\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n )}\r\n
\r\n
\r\n
\r\n \r\n downloadAllFiles()}\r\n float=\"right\"\r\n >\r\n Atsisiųsti visus įkeltus priedus\r\n \r\n \r\n
\r\n )}\r\n {rejection && (\r\n
\r\n

Sutarties nutraukimo dokumentas

\r\n \r\n downloadUploadedFile(rejection.Id, rejection.FileName)\r\n }\r\n >\r\n {rejection.FileName}\r\n

\r\n
\r\n )}\r\n \r\n {/* ---------------- FO Request end------------ */}\r\n\r\n

Susijusios paraiškos

\r\n
\r\n {' '}\r\n {requestsState.relatedRequests.length ? (\r\n \r\n {requestsState.relatedRequests.map((val) => {\r\n return (\r\n \r\n {val.Id}\r\n {formatNumber(val.LoanSum)}\r\n {requestStatus(val.Status)}\r\n {projectName(val.ProjectId)}\r\n \r\n \r\n Eiti į paraišką\r\n \r\n \r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n

Nėra susijusių paraiškų

\r\n )}\r\n
\r\n \r\n\r\n \r\n

Įgaliojimai

\r\n
\r\n {' '}\r\n {requestsState?.representatives?.length ? (\r\n \r\n {requestsState?.representatives != null &&\r\n requestsState?.representatives.map(\r\n ({\r\n Id,\r\n FirstName,\r\n LastName,\r\n PersonalCode,\r\n ValidFrom,\r\n ValidTo,\r\n RepresentedCompanyCode,\r\n RepresentedPersonalCode,\r\n Files,\r\n Projects,\r\n }) => (\r\n \r\n {FirstName}\r\n {LastName}\r\n {PersonalCode}\r\n {RepresentedCompanyCode}\r\n {RepresentedPersonalCode}\r\n {ValidFrom}\r\n {ValidTo}\r\n {returnProjectsNames(Projects)}\r\n \r\n {Files?.map((f) => (\r\n
\r\n downloadFile(Id, f.FileId)}\r\n style={{\r\n color: '#009fe3',\r\n textDecoration: 'none',\r\n }}\r\n >\r\n {`${\r\n f.FileTypeId === 0\r\n ? 'Įgaliojimas Nr.'\r\n : 'Dokumentas Nr.'\r\n } ${f.FileId}`}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {/*\r\n
\r\n editAutorization(Id)}>\r\n \r\n \r\n actionClick(Id)}>\r\n \r\n \r\n
\r\n
*/}\r\n
\r\n )\r\n )}\r\n
\r\n ) : (\r\n

Nėra įgaliojimų

\r\n )}\r\n
\r\n
\r\n

\r\n Patikrų rezultatai\r\n

\r\n

\r\n AML ir PEP patikrų rezultatai\r\n

\r\n\r\n {requestsState.data != null &&\r\n requestsState.data.AmlChecks != null &&\r\n requestsState.data.AmlChecks.length > 0 ? (\r\n <>\r\n \r\n {requestsState.data.AmlChecks.map(\r\n ({\r\n Query,\r\n HasSanctions,\r\n HasPep,\r\n CheckTypeId,\r\n CheckResultId,\r\n AmlCount100,\r\n AmlCount85,\r\n PepCount100,\r\n PepCount85,\r\n }) => (\r\n \r\n {Query}\r\n \r\n {checkTypeIdTranslate(CheckTypeId)}\r\n \r\n\r\n \r\n \r\n {amlPepTrueFalseTranslation(HasSanctions)}\r\n

\r\n
\r\n \r\n \r\n {amlPepTrueFalseTranslation(HasPep)}\r\n

\r\n
\r\n \r\n {CheckResultIdTranslation(CheckResultId)}\r\n \r\n {AmlCount100}\r\n {PepCount100}\r\n {AmlCount85}\r\n {PepCount85}\r\n
\r\n )\r\n )}\r\n
\r\n \r\n ) : (\r\n

Rezultatų nėra

\r\n )}\r\n\r\n {requestsState.data != null &&\r\n requestsState.data.AmlCheckResultId != null && (\r\n
\r\n Bendras patikros rezultatas:{' '}\r\n {AmlPepResultTranslate(requestsState.data.AmlCheckResultId)}\r\n
\r\n )}\r\n
\r\n \r\n\r\n
\r\n
\r\n

Papildomos AML/PEP patikros įvedimas

\r\n\r\n \r\n {requestsState.data &&\r\n requestsState.data.RiskAssessmentResults &&\r\n riskAssessmentResults?.length > 0 &&\r\n riskAssessmentResults.map((val, index) => (\r\n \r\n {criteriaIdEnums(val.CriteriaId)}\r\n \r\n {checkTypeIdTranslate(val.AmlCheckTypeId)}\r\n \r\n {val.CheckName}\r\n \r\n {fieldIdEnums(val.RiskAssessmentFieldId)}\r\n \r\n {val.AssessmentValue}\r\n \r\n {editAmlPepTable ? (\r\n \r\n onAmlPepResultIdChange(\r\n val.Id,\r\n e.target.value !== null ? +e.target.value : null\r\n )\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n resultIdEnum(val.ResultId)\r\n )}\r\n \r\n \r\n {editAmlPepTable ? (\r\n \r\n onAmlPepNoteChange(val.Id, e.target.value)\r\n }\r\n />\r\n ) : (\r\n val.Note\r\n )}\r\n \r\n \r\n {editAmlPepTable ? (\r\n onAmlPepDateChange(val.Id, e)}\r\n />\r\n ) : val.Date ? (\r\n

\r\n {format(new Date(val.Date), 'yyyy-MM-dd')}\r\n

\r\n ) : (\r\n '-'\r\n )}\r\n
\r\n
\r\n ))}\r\n
\r\n {!editAmlPepTable && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {editAmlPepTable && (\r\n
\r\n saveAmlPepAdditionalData()}\r\n >\r\n Išsaugoti\r\n \r\n setEditAmlPepTable(false)}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Uždaryti\r\n \r\n
\r\n )}\r\n
\r\n \r\n \r\n AML rizikos grupė:\r\n \r\n {editRiskTable ? (\r\n \r\n setRiskLevel(e.target.value !== null ? +e.target.value : null)\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {riskIdEnum(riskLevel)}\r\n

\r\n )}\r\n
\r\n {!editRiskTable && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {editRiskTable && (\r\n
\r\n \r\n setEditRiskTable(false)}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Uždaryti\r\n \r\n
\r\n )}\r\n {/* saveRiskLevel()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Išsaugoti\r\n */}\r\n \r\n\r\n \r\n
\r\n {' '}\r\n
\r\n

Pakartotinės užklausos

\r\n
\r\n
\r\n
\r\n additionalJadisRequest()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Pakartoti JADIS užklausą\r\n \r\n additionalAMLRequest()}\r\n style={{ marginLeft: '10px' }}\r\n >\r\n Pakartoti AML užklausą\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.AllInvoicesConfirmed != undefined && (\r\n <>\r\n \r\n

\r\n Ar visos patikros įvykdytos\r\n

\r\n

\r\n Ar paraiškos visos patikros įvykdytos:\r\n \r\n {' '}\r\n {trueFalseTranslation(\r\n requestsState.data.RequestSystemInfo\r\n .AllEvaluationCompleted\r\n )}\r\n \r\n

\r\n
\r\n \r\n )}\r\n
\r\n\r\n
\r\n {((requestsState.data.FinancialData && loginType === 'Company') ||\r\n (requestsState.data.ControllingCompaniesFromRequest &&\r\n requestsState.data.ControllingCompaniesFromRequest.length >\r\n 0)) &&\r\n requestsState.data.FinancialData?.length > 0 && (\r\n

\r\n Ar pateiktos finansinės ataskaitos\r\n

\r\n )}\r\n {requestsState.data.FinancialData &&\r\n loginType === 'Company' &&\r\n requestsState.data.FinancialData?.length > 0 && (\r\n \r\n )}\r\n\r\n {requestsState?.data?.ControllingCompaniesFromRequest?.length >\r\n 0 && (\r\n

\r\n Ar pateiktos įmonės grupės finansinės ataskaitos\r\n

\r\n )}\r\n\r\n {requestsState?.data?.ControllingCompaniesFromRequest?.length > 0 &&\r\n requestData?.ControllingCompaniesFromRequest?.map((val, i) => {\r\n return (\r\n <>\r\n
\r\n \r\n Verslo subjekto kodas {val.CompanyCode}\r\n

\r\n {val.IsFound ? (\r\n <>\r\n \r\n\r\n \r\n \r\n ) : (\r\n

Įmonė nerasta.

\r\n )}\r\n \r\n );\r\n })}\r\n \r\n\r\n
\r\n
\r\n

Tvirtintojo komentaras

\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n

Akcininkai

\r\n\r\n {requestsState.data &&\r\n requestsState.data.SharesInfo &&\r\n requestsState.data.SharesInfo.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.SharesInfo &&\r\n requestsState.data.SharesInfo.length > 0 &&\r\n requestsState.data.SharesInfo.map(\r\n ({\r\n Code,\r\n Name,\r\n Shares,\r\n Type,\r\n DataRecieved,\r\n DataUpdated,\r\n CapitalSize,\r\n CapitalSizeCurrency,\r\n NumberOfShares,\r\n NominalValue,\r\n NominalValueCurrency,\r\n }) => (\r\n \r\n \r\n {`${Name ? Name : ''}${Name ? ',' : ''} ${\r\n Code ? Code : ''\r\n }`}\r\n \r\n {shareHolderTypeTranslate(Type)}\r\n \r\n {Shares &&\r\n Shares.length > 0 &&\r\n Shares.map((val, i) => {val})}\r\n \r\n \r\n {DataRecieved ? DataRecieved.slice(0, 10) : '-'}\r\n \r\n \r\n {DataUpdated ? DataUpdated.slice(0, 10) : '-'}\r\n \r\n \r\n {CapitalSize || CapitalSize === 0\r\n ? `${CapitalSize} ${CapitalSizeCurrency ?? ''}`\r\n : '-'}\r\n \r\n {NumberOfShares ?? '-'}\r\n \r\n {NominalValue || NominalValue === 0\r\n ? `${NominalValue} ${NominalValueCurrency ?? ''}`\r\n : '-'}\r\n \r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

Akcininkų nėra

\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n {loginType === 'Company' && (\r\n
\r\n

EVRK veiklos iš VMI

\r\n\r\n {requestsState.data &&\r\n requestsState.data.CompanyEvrks &&\r\n requestsState.data.CompanyEvrks.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.CompanyEvrks &&\r\n requestsState.data.CompanyEvrks.length > 0 &&\r\n requestsState.data.CompanyEvrks.map(\r\n ({ DateFrom, DateTo, Evrk, IsMain, IsRed }, index) => (\r\n \r\n \r\n {IsRed && addExclamation()}\r\n {Evrk}\r\n \r\n \r\n {DateFrom\r\n ? format(new Date(DateFrom), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n \r\n {DateTo\r\n ? format(new Date(DateTo), 'yyyy-MM-dd')\r\n : 'Dabar'}\r\n \r\n {IsMain ? 'Taip' : 'Ne'}\r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

EVRK veiklų nėra

\r\n )}\r\n
\r\n )}\r\n {loginType === 'Individual' && (\r\n
\r\n

EVRK veiklos iš VMI

\r\n\r\n {requestsState.data &&\r\n requestsState.data.IndividualEvrks &&\r\n requestsState.data.IndividualEvrks.length > 0 ? (\r\n \r\n {requestsState.data &&\r\n requestsState.data.IndividualEvrks &&\r\n requestsState.data.IndividualEvrks.length > 0 &&\r\n requestsState.data.IndividualEvrks.map(\r\n (\r\n { DateFrom, DateTo, Evrk, RegistrationDate, IsRed },\r\n index\r\n ) => (\r\n \r\n \r\n {IsRed && addExclamation()}\r\n {Evrk}\r\n \r\n \r\n {DateFrom\r\n ? format(new Date(DateFrom), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n \r\n {DateTo\r\n ? format(new Date(DateTo), 'yyyy-MM-dd')\r\n : 'Dabar'}\r\n \r\n \r\n {RegistrationDate\r\n ? format(\r\n new Date(RegistrationDate),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n

EVRK veiklų nėra

\r\n )}\r\n\r\n {requestsState.data.ApplicantData && (\r\n

\r\n Veikla pagal verslo liudijimą:{' '}\r\n {translateIsBussinessSorrow(\r\n requestsState.data.ApplicantData.IsBussinessSorrow\r\n )}{' '}\r\n

\r\n )}\r\n
\r\n )}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status != 1 && (\r\n <>\r\n \r\n
\r\n {loginType === 'Company' && (\r\n <>\r\n

\r\n Sodra rinkmenų duomenys\r\n

\r\n

\r\n Darbuotojų skaičius:\r\n {\r\n \r\n {companyDataList.NumberOfEmployees}\r\n \r\n }\r\n

\r\n \r\n )}\r\n {requestsState?.data?.RequestSystemInfo?.ProjectId ==\r\n 1 && (\r\n <>\r\n \r\n Eksporto ir importo duomenys\r\n \r\n {requestsState?.data?.RequestSystemInfo?.Status >\r\n 1 ? (\r\n \r\n \r\n Eksportas\r\n \r\n {\r\n requestsState?.data?.RequestSystemInfo\r\n ?.VmiExportSum\r\n }\r\n \r\n \r\n {requestsState?.data?.RequestSystemInfo\r\n ?.VmiExportDate\r\n ? format(\r\n new Date(\r\n requestsState?.data?.RequestSystemInfo?.VmiExportDate\r\n ),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )\r\n : ''}\r\n \r\n \r\n \r\n Importas\r\n \r\n {\r\n requestsState?.data?.RequestSystemInfo\r\n ?.VmiImportSum\r\n }\r\n \r\n \r\n {requestsState?.data?.RequestSystemInfo\r\n ?.VmiImportDate\r\n ? format(\r\n new Date(\r\n requestsState?.data?.RequestSystemInfo?.VmiImportDate\r\n ),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )\r\n : ''}\r\n \r\n \r\n \r\n ) : (\r\n

Nėra importo/exporto informacijos.

\r\n )}\r\n \r\n )}\r\n
\r\n
\r\n \r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status !== 1 && (\r\n
\r\n <>\r\n \r\n Vertintojo įvesti duomenys\r\n \r\n

\r\n Verslo subjekto statusas (Pagal SVV deklaraciją):\r\n {\r\n \r\n {CompanySizeTypeInvega(\r\n requestsState.data.CompanySizeTypeIdInvega\r\n )}\r\n \r\n }\r\n

\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 1 && (\r\n <>\r\n \r\n

\r\n Vertintojo įvesti duomenys\r\n

\r\n

\r\n Paraiškos netrynimo požymis:\r\n {\r\n \r\n {requestsState.data.RequestSystemInfo\r\n .NotDeletable === true\r\n ? 'Negali būti ištrinta'\r\n : 'Gali būti ištrinta'}\r\n \r\n }\r\n

\r\n
\r\n \r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 5 && (\r\n
\r\n <>\r\n

\r\n Paraišką pareiškėjas turi patikslinti iki:\r\n {\r\n \r\n {format(\r\n new Date(requestsState.data.AdjustTill),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n }\r\n

\r\n \r\n
\r\n )}\r\n
\r\n \r\n \r\n\r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo && (\r\n <>\r\n

Invega komentaras

\r\n\r\n
\r\n \r\n
\r\n \r\n )}\r\n {requestsState?.data?.RequestSystemInfo?.Status &&\r\n (requestsState.data.RequestSystemInfo.Status === 2 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n
\r\n \r\n
\r\n
\r\n )}\r\n
\r\n\r\n {signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null &&\r\n requestsState.data.RequestSystemInfo != null && (\r\n
\r\n

\r\n Sutartys, sprendimai ir prašymai\r\n

\r\n \r\n {signInInfo.map((val, i) => (\r\n \r\n \r\n {fileTypeTranslation(signInInfo[i].FileType)}\r\n \r\n {signInInfo[i].FileName}\r\n \r\n {' '}\r\n {signInInfo[i].DocumentCreatedAt != null &&\r\n format(\r\n new Date(signInInfo[i].DocumentCreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].ApplicantSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].ApplicantSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {' '}\r\n {signInInfo[i].InvegaSigningDate != null &&\r\n format(\r\n new Date(signInInfo[i].InvegaSigningDate),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n \r\n {signInInfo[i].CommentUser\r\n ? messageShow(signInInfo[i].CommentUser)\r\n : '-'}\r\n \r\n \r\n {signInInfo[i].CommentInvega\r\n ? messageShow(signInInfo[i].CommentInvega)\r\n : '-'}\r\n \r\n \r\n {signInInfo[i].BadFinancialCondition ? 'Taip' : ' '}\r\n \r\n \r\n \r\n GetSignedDocumentContractManager(\r\n requestId,\r\n val.FileType,\r\n val.FileName,\r\n val?.ChangeConditionsFileId,\r\n val?.ApplicantSigningDate,\r\n val?.InvegaSigningDate\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n\r\n {signInInfo[i]?.Active &&\r\n showChangeFile(signInInfo[i]?.FileType) && (\r\n <>\r\n \r\n changeFile(\r\n signInInfo[i]?.ChangeConditionsFileId\r\n )\r\n }\r\n >\r\n Pakeisti failą\r\n

\r\n\r\n \r\n selectFile(\r\n e,\r\n signInInfo[i]?.ChangeConditionsFileId\r\n )\r\n }\r\n />\r\n \r\n )}\r\n
\r\n\r\n \r\n {signInInfo[i].InvegaSigningDate === null &&\r\n signInInfo[i].InvegaSignatureNeeded && (\r\n \r\n )}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {requestsState.data.RequestSystemInfo.Status !== 11 &&\r\n requestsState.data.RequestSystemInfo.Status !== 12 &&\r\n requestsState.data.RequestSystemInfo.Status !== 3 &&\r\n requestsState.data.RequestSystemInfo.Status !== 6 && (\r\n \r\n \r\n \r\n {requestsState.data.InvegaContractNumber}\r\n \r\n \r\n {formatNumber(requestsState.data.InvegaLoanSum)}\r\n \r\n \r\n {loanPurpose(requestsState.data.InvegaLoanPurposeId)}\r\n \r\n \r\n {requestsState.data.InvegaLoanPaymentTerm &&\r\n format(\r\n new Date(requestsState.data.InvegaLoanPaymentTerm),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n \r\n {requestsState.data.InvegaLoanDelayTerm}\r\n {/*{requestsState.data.InvegaLoanDelayTermDate\r\n ? format(\r\n new Date(\r\n requestsState.data.InvegaLoanDelayTermDate\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : requestsState.data.InvegaLoanDelayTerm}*/}\r\n \r\n \r\n {requestsState.data.InvegaPaymentDate\r\n ? format(\r\n new Date(requestsState.data.InvegaPaymentDate),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? euriborTranslation(\r\n requestsState.data.EuriborPeriodId\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? requestsState.data.FirstInterestChangeDate &&\r\n format(\r\n new Date(\r\n requestsState.data.FirstInterestChangeDate\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.EuriborChangeDate &&\r\n format(\r\n new Date(requestsState.data.EuriborChangeDate),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n \r\n {requestsState.data.InvegaLoanInterestRate}\r\n \r\n \r\n {requestsState.data.InterestTypeId === 1\r\n ? requestsState.data.InvegaLoanVariableInterestRate\r\n : '-'}\r\n \r\n \r\n \r\n )}\r\n\r\n {signInInfo != null &&\r\n signInInfo[0] != null &&\r\n signInInfo[0].DocumentCreatedAt != null &&\r\n requestsState.data.RequestSystemInfo != null &&\r\n (requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 16) && (\r\n \r\n \r\n \r\n {requestsState.data.InvegaContractNumberCc}\r\n \r\n \r\n {formatNumber(requestsState.data.InvegaLoanSumCc)}\r\n \r\n \r\n {requestsState.data.InvegaLoanPaymentTermCc &&\r\n format(\r\n new Date(\r\n requestsState.data.InvegaLoanPaymentTermCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )}\r\n \r\n\r\n \r\n {requestsState.data.InvegaLoanDelayTermCc}\r\n {/*{requestsState.data.InvegaLoanDelayTermDateCc\r\n ? format(\r\n new Date(\r\n requestsState.data.InvegaLoanDelayTermDateCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : requestsState.data.InvegaLoanDelayTermDateCc}*/}\r\n \r\n \r\n {requestsState.data.InvegaPaymentDateCc\r\n ? format(\r\n new Date(requestsState.data.InvegaPaymentDateCc),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? euriborTranslation(\r\n requestsState.data.EuriborPeriodIdCc\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.FirstInterestChangeDateCc &&\r\n format(\r\n new Date(\r\n requestsState.data.FirstInterestChangeDateCc\r\n ),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.EuriborChangeDateCc &&\r\n format(\r\n new Date(requestsState.data.EuriborChangeDateCc),\r\n 'yyyy-MM-dd'\r\n )\r\n : '-'}\r\n \r\n \r\n {requestsState.data.InvegaLoanInterestRateCc}\r\n \r\n \r\n {requestsState.data.InterestTypeIdCc === 1\r\n ? requestsState.data.InvegaLoanVariableInterestRateCc\r\n : '-'}\r\n \r\n \r\n \r\n )}\r\n
\r\n )}\r\n\r\n {administrationInvoices != null &&\r\n administrationInvoices.length > 0 && (\r\n
\r\n

Sąskaitos

\r\n \r\n {administrationInvoices?.map(\r\n ({\r\n ContractId,\r\n Active,\r\n CreatedAt,\r\n ContractNumber,\r\n AdministrationFee,\r\n ChangeConditionsFileId,\r\n }) => (\r\n \r\n {ContractNumber}\r\n \r\n {getContractName(ContractNumber)}\r\n \r\n \r\n {CreatedAt &&\r\n format(new Date(CreatedAt), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {formatNumber(AdministrationFee)}\r\n \r\n \r\n {Active ? 'Aktuali' : 'Neaktuali'}\r\n \r\n \r\n \r\n !ContractId && ChangeConditionsFileId\r\n ? DownloadChangeConditionsInvoice(\r\n ChangeConditionsFileId,\r\n ContractNumber\r\n )\r\n : DownloadAdministrationInvoice(\r\n ContractId,\r\n ContractNumber\r\n )\r\n }\r\n >\r\n Parsisiųsti\r\n

\r\n
\r\n
\r\n )\r\n )}\r\n \r\n
\r\n )}\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n\r\n \r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n <>\r\n
\r\n \r\n \r\n Prašymas pateikti papildomus dokumentus\r\n \r\n \r\n
\r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 2 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 2 ||\r\n requestsState.data.RequestSystemInfo.Status === 3 ||\r\n requestsState.data.RequestSystemInfo.Status === 12 ||\r\n requestsState.data.RequestSystemInfo.Status === 11 ||\r\n requestsState.data.RequestSystemInfo.Status === 5 ||\r\n requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8) && (\r\n <>\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n {requestsState.data.RequestSystemInfo != null &&\r\n (requestsState.data.RequestSystemInfo.Status == 9 ||\r\n requestsState.data.RequestSystemInfo.Status == 13 ||\r\n requestsState.data.RequestSystemInfo.Status == 14 ||\r\n requestsState.data.RequestSystemInfo.Status == 15 ||\r\n requestsState.data.RequestSystemInfo.Status == 16) && (\r\n
\r\n \r\n terminateRequest(\r\n requestsState.data.RequestSystemInfo.RequestId\r\n )\r\n }\r\n >\r\n Nutraukti sutartį\r\n \r\n
\r\n )}\r\n \r\n\r\n \r\n {requestsState.data.RequestSystemInfo != null &&\r\n requestsState.data.RequestSystemInfo.Status != 1 && (\r\n
\r\n \r\n checkFinancialCriteriaResults(\r\n requestsState.data.RequestSystemInfo.RequestId,\r\n requestsState.data.RequestSystemInfo\r\n .AllEvaluationCompleted\r\n )\r\n }\r\n >\r\n Peržiūrėti atitikimo kriterijus\r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 3 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8 ||\r\n requestsState.data.RequestSystemInfo.Status === 11 ||\r\n requestsState.data.RequestSystemInfo.Status === 12) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 17 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 7 ||\r\n requestsState.data.RequestSystemInfo.Status === 8) && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 1 && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n\r\n
\r\n {' '}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 9 ||\r\n requestsState.data.RequestSystemInfo.Status === 16) && (\r\n
\r\n changeContractModalOpen()}\r\n >\r\n Inicijuoti sutarties sąlygų keitimą\r\n \r\n
\r\n )}\r\n
\r\n \r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n requestsState.data.RequestSystemInfo.Status === 17 && (\r\n <>\r\n {requestsState.data.RequestSystemInfo.Status === 17 && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 17 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 18) && (\r\n //|| requestsState.data.RequestSystemInfo.Status === 19\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.RequestSystemInfo &&\r\n (requestsState.data.RequestSystemInfo.Status === 13 ||\r\n requestsState.data.RequestSystemInfo.Status === 14 ||\r\n requestsState.data.RequestSystemInfo.Status === 15 ||\r\n requestsState.data.RequestSystemInfo.Status === 17 ||\r\n requestsState.data.RequestSystemInfo.Status === 18 ||\r\n requestsState.data.RequestSystemInfo.Status === 19) && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n\r\n \r\n

Komentarų istorija

\r\n {requestsState &&\r\n requestsState.data &&\r\n requestsState.data.CommentsHistory &&\r\n requestsState.data.CommentsHistory.length ? (\r\n \r\n {requestsState.data.CommentsHistory.map((data) => {\r\n return (\r\n \r\n \r\n {data.Date &&\r\n format(new Date(data.Date), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n {data.CommentedBy}\r\n {data.NewComment}\r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n

Nėra komentarų istorijos

\r\n )}\r\n \r\n \r\n

Veiksmų istorija

\r\n \r\n {requestsState &&\r\n requestsState.requestLog &&\r\n requestsState.requestLog.map(\r\n ({ ActionLogType, ChangedBy, Created }) => (\r\n \r\n \r\n {format(new Date(Created), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {requestLogTranslation(ActionLogType)}\r\n \r\n {ChangedBy}\r\n \r\n )\r\n )}\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestsState: state.backofficeRequestsState,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n terminateRequestModalVisible: state.modalsState.terminateRequestModalVisible,\r\n signInInfo: state.dashboardState.signInInfo,\r\n financialCriteriaModalVisible:\r\n state.modalsState.financialCriteriaModalVisible,\r\n doublecheckEvaluationModalVisible:\r\n state.modalsState.doublecheckEvaluationModalVisible,\r\n regenerateDecisionDocModalVisible:\r\n state.modalsState.regenerateDecisionDocModalVisible,\r\n invegaLoanSumModalVisible: state.modalsState.invegaLoanSumModalVisible,\r\n increaseInvegaLoanSumModalVisible:\r\n state.modalsState.increaseInvegaLoanSumModalVisible,\r\n confirmRequestModalVisible: state.modalsState.confirmRequestModalVisible,\r\n changeContractFileVisible: state.modalsState.changeContractFileVisible,\r\n changeCompanySizeVisible: state.modalsState.changeCompanySizeVisible,\r\n rejectConditionsChangeRequestVisible:\r\n state.modalsState.rejectConditionsChangeRequestVisible,\r\n acceptConditionsChangeRequestModalVisible:\r\n state.modalsState.acceptConditionsChangeRequestModalVisible,\r\n takeRequestToEvaluateModalVisible:\r\n state.modalsState.takeRequestToEvaluateModalVisible,\r\n financialCriteriaResults: state.dashboardState.financialCriteriaResults,\r\n loading: state.dashboardState.isOnSync,\r\n approveRequestWithAdditionalDocsVisible:\r\n state.modalsState.approveRequestWithAdditionalDocsVisible,\r\n autorizationModalVisible: state.modalsState.autorizationModalVisible,\r\n changeConditionsBoModalVisible:\r\n state.modalsState.changeConditionsBoModalVisible,\r\n submitConditionsChangeRequestModalVisible:\r\n state.modalsState.submitConditionsChangeRequestModalVisible,\r\n globalMessageModalVisible: state.modalsState.globalMessageModalVisible,\r\n returnChangeConditionsModalVisible:\r\n state.modalsState.returnChangeConditionsModalVisible,\r\n returnModalVisible: state.modalsState.returnModalVisible,\r\n confirmWithAdditionalDocsVisible:\r\n state.modalsState.confirmWithAdditionalDocsVisible,\r\n confirmRequestNewVisible: state.modalsState.confirmRequestNewVisible,\r\n confirmRejectNewVisible: state.modalsState.confirmRejectNewVisible,\r\n changeSetNotDeletableVisible: state.modalsState.changeSetNotDeletableVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(BackofficeRequest);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n Button,\r\n MultiSelect,\r\n} from '../../components';\r\nimport { Link } from 'react-router-dom';\r\nimport {\r\n StatusesStats,\r\n projectName,\r\n requestStatusForStats,\r\n} from './../../utils/translation/translation';\r\nimport { formatNumberStats } from '../../utils/helpers/helpers';\r\n\r\nconst BackofficeStats = ({ dispatch, statsState }) => {\r\n useEffect(() => {\r\n // dispatch(actions.backoffice.getStatsAction([1, 2]));\r\n }, []);\r\n\r\n const totalsTableHeader = [\r\n 'Rengiamos paraiškos, vnt.',\r\n 'Pateikta vertinti (vakar)',\r\n 'Atmesta sistemos',\r\n 'Pateikta vertinti (nuo priemonės pradžios)',\r\n ];\r\n\r\n const requestsTableHeader = [\r\n 'Būsena',\r\n 'Paraiškų skaičius, vnt.',\r\n 'Prašoma paskolos suma',\r\n 'Paskolos suma',\r\n ];\r\n\r\n const requestsTableHeader2 = [\r\n 'Sprendimas',\r\n 'Paraiškų skaičius, vnt.',\r\n 'Prašoma paskolos suma',\r\n 'Paskolos suma',\r\n //'Pateiktų mokėjimo prašymų suma',\r\n ];\r\n\r\n const requestsTableHeader3 = [\r\n 'Skirta priemonei suma',\r\n 'Rezervuota priemonės suma',\r\n 'Likutis',\r\n ];\r\n\r\n const [projectId, setProjectId] = useState([]);\r\n\r\n const options = [\r\n { label: 'Karo paskolos', value: 1 },\r\n //{ label: 'Projektas Pimpackiukas', value: 2 },\r\n ];\r\n\r\n const onMultiSelectChange = (event) => {\r\n setProjectId(event);\r\n const filter = event.map((val) => val.value);\r\n dispatch(actions.backoffice.getStatsAction(filter));\r\n };\r\n\r\n {\r\n /*} const findById = (id, data) => {\r\n return data?.find((val) => val.RequestStatusId === id);\r\n };\r\n*/\r\n }\r\n const findById = (id) =>\r\n statsState?.data?.Requests.find((val) => val.Name === id);\r\n console.log(statsState?.data);\r\n return (\r\n \r\n
\r\n

Statistika

\r\n
\r\n

\r\n Pasirinkite Priemonę:{' '}\r\n

{' '}\r\n \r\n
\r\n onMultiSelectChange(e)}\r\n value={projectId || ''}\r\n options={options}\r\n />\r\n
\r\n
\r\n \r\n \r\n \r\n {statsState?.data?.length &&\r\n statsState?.data?.map((val, i) => (\r\n <>\r\n

\r\n {projectName(val?.ProjectId)}\r\n

\r\n

Paraiškos

\r\n\r\n \r\n {statsState &&\r\n val &&\r\n val?.Requests?.map(\r\n ({ Count, Name, InvegaLoanSum, LoanSum }) =>\r\n Name !== 'NegativeDecision' &&\r\n Name !== 'PositiveDecision' && (\r\n \r\n \r\n \r\n {' '}\r\n {StatusesStats(Name)}{' '}\r\n \r\n \r\n {Count}\r\n {formatNumberStats(LoanSum)}\r\n \r\n {formatNumberStats(InvegaLoanSum)}\r\n \r\n \r\n )\r\n )}\r\n \r\n\r\n

Sprendimai

\r\n \r\n {statsState &&\r\n val &&\r\n val?.Requests?.map(\r\n ({ Count, Name, InvegaLoanSum, LoanSum }) =>\r\n (Name === 'NegativeDecision' ||\r\n Name === 'PositiveDecision') && (\r\n \r\n \r\n \r\n {' '}\r\n {StatusesStats(Name)}{' '}\r\n \r\n \r\n {Count}\r\n {formatNumberStats(LoanSum)}\r\n \r\n {formatNumberStats(InvegaLoanSum)}\r\n \r\n \r\n )\r\n )}\r\n \r\n {console.log(val)}\r\n

Likučiai

\r\n \r\n {statsState && val && val?.Totals && (\r\n \r\n \r\n {formatNumberStats(val?.Totals?.MaxSum)}\r\n \r\n \r\n {formatNumberStats(val?.Totals?.Rezerved)}\r\n \r\n \r\n {formatNumberStats(val?.Totals?.Reminder)}\r\n \r\n \r\n )}\r\n \r\n \r\n ))}\r\n {/*

* rezervuota apima priimtus teigiamus sprendimus ir dar neįvertintų paraiškų prašomą sumą

*/}\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n statsState: state.backofficeStatsState,\r\n});\r\n\r\nexport default connect(mapStateToProps)(BackofficeStats);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n WithSpinner,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n Button,\r\n} from '../../../components';\r\nimport GlobalConfirmationModal from '../../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport { Link } from 'react-router-dom';\r\nimport styles from './authorization.module.scss';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faTrash,\r\n faPlusSquare,\r\n faPencilAlt,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport { config } from '../../../api/config';\r\nimport { Api } from '../../../api/api';\r\nimport AutorizationModal from '../../../modals/autorizationModalBackoffice/autorizationModal';\r\nimport { projectName } from './../../../utils/translation/translation';\r\n\r\nconst BackofficeAuthorization = ({\r\n representativesList,\r\n dispatch,\r\n loading,\r\n autorizationModalVisible,\r\n confirmModalVisible,\r\n}) => {\r\n const tableHeader = [\r\n 'Vardas',\r\n 'Pavardė',\r\n 'Asmens kodas',\r\n 'Atstovaujamos įmonės kodas',\r\n 'Atstovaujamo asmens kodas',\r\n 'Įgaliojimo pradžia',\r\n 'Įgaliojimo pabaiga',\r\n 'Priemonės(-ių) pavadinimas(-ai)',\r\n 'Dokumentai',\r\n ];\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalCheckbox, setModalCheckbox] = useState(false);\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalOkTitle, setModalOkTitle] = useState();\r\n const [modalTitle, setModalTitle] = useState();\r\n\r\n const actionClick = (representativeId) => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalText('Ar tikrai norite ištrinti?');\r\n setModalData({ representativeId });\r\n setModalAction('DELETE_REPRESENTATIVE_MANAGER');\r\n setModalCheckbox(false);\r\n setModalTitle('');\r\n\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const addNewAutorization = () => {\r\n dispatch(\r\n actions.backoffice.setRepresentativeAction({\r\n RoleId: 1,\r\n FirstName: '',\r\n LastName: '',\r\n PersonalCode: '',\r\n ValidFrom: '',\r\n ValidTo: '',\r\n RepresentedCompanyCode: '',\r\n RepresentedPersonalCode: '',\r\n RepresentativeType: 'Company',\r\n RepresentedFirstName: '',\r\n RepresentedLastName: '',\r\n RepresentedCompanyName: '',\r\n })\r\n );\r\n dispatch(actions.backoffice.setSaveRepresentativeError({}));\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const editAutorization = (id) => {\r\n dispatch(actions.backoffice.setSaveRepresentativeError({}));\r\n const row = representativesList.find((r) => r.Id === id);\r\n\r\n row.RepresentativeType = row.RepresentedPersonalCode\r\n ? 'Personal'\r\n : 'Company';\r\n\r\n dispatch(actions.backoffice.setRepresentativeAction(row));\r\n\r\n const open = {\r\n modalName: 'autorizationModal',\r\n visible: true,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const downloadFile = (id, fileId) => {\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.downloadRepresentativeFileManager(id, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n const fileName = `Igaliojimas_Nr_${fileId}.pdf`;\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.backoffice.loadRepresentatives());\r\n }, []);\r\n\r\n const roleName = (roleId) => {\r\n switch (roleId) {\r\n case 1:\r\n return 'Pareiškėjas';\r\n case 2:\r\n return 'Sąskaitų tvirtintojas';\r\n case 3:\r\n return 'Pareiškėjas ir sąskaitų tvirtintojas';\r\n }\r\n };\r\n\r\n const returnProjectsNames = (ids) => {\r\n if (ids && ids?.length > 0) {\r\n return ids.map((val) => (\r\n

\r\n {projectName(val)}\r\n

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

Įgaliojimai

\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n {representativesList != null &&\r\n representativesList.map(\r\n ({\r\n Id,\r\n FirstName,\r\n LastName,\r\n PersonalCode,\r\n ValidFrom,\r\n ValidTo,\r\n RepresentedCompanyCode,\r\n RepresentedPersonalCode,\r\n Files,\r\n Projects,\r\n }) => (\r\n \r\n {FirstName}\r\n {LastName}\r\n {PersonalCode}\r\n {RepresentedCompanyCode}\r\n {RepresentedPersonalCode}\r\n {ValidFrom}\r\n {ValidTo}\r\n {returnProjectsNames(Projects)}\r\n\r\n \r\n {Files?.map((f) => (\r\n
\r\n downloadFile(Id, f)}\r\n style={{ color: '#009fe3', textDecoration: 'none' }}\r\n >\r\n Įgaliojimas Nr. {f}\r\n \r\n
\r\n ))}\r\n
\r\n\r\n {/*\r\n
\r\n editAutorization(Id)}>\r\n \r\n \r\n actionClick(Id)}>\r\n \r\n \r\n
\r\n
*/}\r\n
\r\n )\r\n )}\r\n
\r\n\r\n addNewAutorization()}>\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n representativesList: state.backofficeRepresentetivesState.representativesList,\r\n loading: state.dashboardState.isOnSync,\r\n autorizationModalVisible: state.modalsState.autorizationModalVisible,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(BackofficeAuthorization);\r\n","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport styles from './surveyModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { history } from './../../App';\r\nimport { isValid } from 'date-fns';\r\n\r\nconst SurveyModal = ({ open, id, loading, dispatch }) => {\r\n const url = new URL(window.location.href);\r\n const requestId = url.searchParams.get('requestId');\r\n\r\n const forwardTo = (location) => {\r\n history.push(location);\r\n window.location.reload();\r\n };\r\n\r\n const closeModal = {\r\n modalName: 'surveyModal',\r\n visible: false,\r\n };\r\n\r\n const cancel = () => {\r\n dispatch(actions.modals.setModalVisibleFlagAction(closeModal));\r\n };\r\n\r\n const [triedToSubmit, setTriedToSubmit] = useState(false);\r\n const [surveyValues, setSurveyValues] = useState({\r\n starterRatingId: '-',\r\n invegaCommunicationRatingId: '-',\r\n invegaFinancialRatingId: '-',\r\n });\r\n\r\n const onDropdownChange = ({ target: { name, value } }) => {\r\n console.log({ name, value });\r\n setSurveyValues({ ...surveyValues, [name]: value });\r\n };\r\n\r\n const isValid = () => {\r\n if (\r\n surveyValues.starterRatingId !== '-' &&\r\n surveyValues.invegaCommunicationRatingId !== '-' &&\r\n surveyValues.invegaFinancialRatingId !== '-'\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const yes = () => {\r\n setTriedToSubmit(true);\r\n if (isValid()) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n null,\r\n 'create',\r\n requestId,\r\n null,\r\n surveyValues\r\n )\r\n );\r\n dispatch(actions.modals.setModalVisibleFlagAction(closeModal));\r\n }\r\n };\r\n\r\n return (\r\n open && (\r\n
\r\n \r\n \r\n

\r\n FINANSINĖS PRIEMONĖS „STARTUOK, FINANSUOJAMOS IŠ EUROPOS\r\n REGIONINĖS PLĖTROS FONDO\" PASKOLOS GAVĖJO APKLAUSOS ANKETA\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {' '}\r\n \r\n \r\n \r\n \r\n {' '}\r\n \r\n \r\n \r\n
\r\n 1. Kaip vertinate finansinės priemonės „Startuok,\r\n finansuojamos iš Europos regioninės plėtros fondo\" (toliau -\r\n finansinė priemonė) pridėtinę vertę verslo skatinimui (ar\r\n paskatina ir padeda verslui)?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 2. Kaip vertinate UAB „INVESTICIJŲ IR VERSLO GARANTIJOS\"\r\n komunikaciją ir konsultavimą apie finansinę priemonę?{' '}\r\n \r\n {' '}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n 3. Kaip vertinate UAB „INVESTICIJŲ IR VERSLO GARANTIJOS\"\r\n teikiamų paslaugų, susijusių su finansine priemone, kokybę\r\n (paskolos išdavimo procedūros, trukmė ir pan.)?{' '}\r\n \r\n {' '}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {triedToSubmit && !isValid() && (\r\n

\r\n Privalote užpildyti visus atsakymus\r\n

\r\n )}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(SurveyModal);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { WithSpinner, Button } from '../../components';\r\nimport SurveyModal from '../../modals/surveyModal/surveyModal';\r\nimport styles from './paymentRequestsList.module.scss';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faEye,\r\n faPencilAlt,\r\n faPlusSquare,\r\n faExclamation,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport swal from 'sweetalert';\r\nimport { format } from 'date-fns';\r\nimport { Link } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport {\r\n loanPurpose,\r\n paymentRequestStatus,\r\n} from './../../utils/translation/translation';\r\nimport { checkBOPage, formatNumber } from './../../utils/helpers/helpers';\r\nimport { getLocalStorageItemIfNotExpired } from '../../utils';\r\n\r\nconst PaymentRequests = ({\r\n paymentRequestsList,\r\n dispatch,\r\n loading,\r\n surveyModalVisible,\r\n}) => {\r\n const actionClick = (act, id, paymentId) => {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(id, act, paymentId)\r\n );\r\n };\r\n\r\n const viewRequest = () => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction(requestId, 'view'));\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(requestId, 'view')\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n\r\n const url = new URL(window.location.href);\r\n const requestId = url.searchParams.get('requestId');\r\n\r\n const fetchdata = useCallback(() => {\r\n if (requestId && !loading) {\r\n dispatch(actions.dashboard.getPaymentRequestsListAction(requestId));\r\n }\r\n }, [dispatch, paymentRequestsList]);\r\n\r\n const addNewPaymentRequest = (act, paymentId) => {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(null, act, paymentId)\r\n );\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(actions.dashboard.clearUserStateAction());\r\n fetchdata();\r\n dispatch(actions.auth.pushTokenToServerAction());\r\n }, []);\r\n\r\n return (\r\n \r\n \r\n
\r\n

Mokėjimo prašymų sąrašas

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {paymentRequestsList?.Items &&\r\n paymentRequestsList.Items.map((el, i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n {paymentRequestsList?.Totals && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n
NumerisPateikimo dataPaskolos sumos likutis\r\n Bendra mokėjimo prašymo suma, pagal pateiktus dokumentus, EUR\r\n Finansuojama suma, EURPaskolos paskirtisIšmokėta paskolos suma, proc.:Būsena\r\n Būsenos pasikeitimo data\r\n Veiksmai
\r\n {el.Number.toString()}\r\n \r\n {el.FirstSubmittedDate\r\n ? format(new Date(el.FirstSubmittedDate), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n {formatNumber(el.LoanSumRemainder)}\r\n \r\n {formatNumber(el.RequiredSumTotal)}\r\n \r\n {formatNumber(el.FundedSumTotal)}\r\n \r\n {loanPurpose(el.LoanPurposeId)}\r\n \r\n {el.FundedSumPercentTotal &&\r\n (!checkBOPage() ||\r\n (checkBOPage() && el.PaymentRequestStatusId === 2))\r\n ? `${formatNumber(el.FundedSumPercentTotal, 4)}%`\r\n : '-'}\r\n \r\n {paymentRequestStatus(el.PaymentRequestStatusId)}\r\n \r\n {el.StatusChangeDate\r\n ? format(new Date(el.StatusChangeDate), 'yyyy-MM-dd')\r\n : '-'}\r\n \r\n
\r\n \r\n \r\n actionClick('view', requestId, el.Id)\r\n }\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n \r\n {(el.PaymentRequestStatusId === 1 ||\r\n el.PaymentRequestStatusId === 3) &&\r\n !checkBOPage() && (\r\n \r\n \r\n actionClick('edit', requestId, el.Id)\r\n }\r\n style={{\r\n color: '#005eae',\r\n }}\r\n />\r\n \r\n )}\r\n {el.IsManagerEdited && (\r\n \r\n )}\r\n
\r\n
Viso:\r\n \r\n {formatNumber(paymentRequestsList.Totals.LoanSumRemainder)}\r\n \r\n {formatNumber(paymentRequestsList.Totals.RequiredSumTotal)}\r\n \r\n {formatNumber(paymentRequestsList.Totals.FundedSumTotal)}\r\n \r\n {formatNumber(\r\n paymentRequestsList.Totals.InvestmentSumTotal\r\n )}\r\n \r\n {paymentRequestsList?.Totals?.FundedSumPercentTotal != null\r\n ? `${formatNumber(\r\n paymentRequestsList?.Totals?.FundedSumPercentTotal,\r\n 4\r\n )}%`\r\n : '-'}\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n {!checkBOPage() && (\r\n addNewPaymentRequest('create', requestId)}\r\n />\r\n )}\r\n
\r\n\r\n \r\n {checkBOPage() ? (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n ) : (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n paymentRequestsList: state.dashboardState.paymentRequestsList,\r\n loading: state.dashboardState.isOnSync,\r\n canCreateRequest: state.dashboardState.canCreateRequest,\r\n surveyModalVisible: state.modalsState.surveyModalVisible,\r\n});\r\n\r\nexport default connect(mapStateToProps)(PaymentRequests);\r\n","import React, { useState, useEffect } from 'react';\r\nimport styles from './paymentRequestSendforApproveModal.module.scss';\r\nimport { Button, WithSpinner } from '../../components';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\n\r\nconst PaymentRequestSendforApproveModal = ({\r\n open,\r\n dispatch,\r\n text,\r\n loading,\r\n id,\r\n}) => {\r\n const [agree, setAgree] = useState(false);\r\n const [showError, setShowError] = useState(false);\r\n\r\n const onAgree = () => {\r\n agree === false ? setShowError(false) : setShowError(true);\r\n setAgree(!agree);\r\n };\r\n\r\n const cancel = () => {\r\n setAgree(false);\r\n setShowError(false);\r\n const open = {\r\n modalName: 'paymentRequestSendforApproveModal',\r\n visible: false,\r\n };\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n const url = new URL(window.location.href);\r\n const yes = () => {\r\n const id = url.searchParams.get('paymentRequestId');\r\n dispatch(actions.dashboard.sendForPaymentRequestApproveAction(id));\r\n\r\n cancel();\r\n };\r\n\r\n return (\r\n open && (\r\n \r\n
\r\n \r\n
\r\n

Ar tikrai norite pateikti mokėjimo prašymą vertinimui? 

\r\n

\r\n Prieš pasirenkatant \"PATEIKTI\", patikrinkite, ar prie mokėjimo\r\n prašymo pridėjote visus reikiamus dokumentus. Patikrinti\r\n galėsite pasirinkus \"ATŠAUKTI\". \r\n
\r\n

\r\n {\r\n
\r\n \r\n \r\n
\r\n }\r\n
\r\n
\r\n \r\n
\r\n )\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n text: state.modalsState.msgText,\r\n id: state.dashboardState.requestData,\r\n});\r\n\r\nexport default connect(mapStateToProps)(PaymentRequestSendforApproveModal);\r\n","import React, { useState, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\n\r\nimport styles from './fileUploadContainer.module.scss';\r\nimport { config } from './../../api/config';\r\nimport { actions } from './../../state/actions';\r\nimport { Api } from './../../api/api';\r\nimport { WithSpinner, TableAdmin, TableRow, TableCell } from '../../components';\r\nimport {\r\n paymentRequestDocumentTypes,\r\n getNameByFileType,\r\n getAllowedFileTypes,\r\n} from '../../utils/translation/translation';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faTrash, faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport swal from 'sweetalert';\r\nimport { checkBOPage } from './../../utils/helpers/helpers';\r\n\r\nconst PaymentRequestFileUploadContainer = ({\r\n dispatch,\r\n viewWindow,\r\n status,\r\n data,\r\n actionType,\r\n}) => {\r\n const onFileTypeSelectorChange = ({ target: { name, value } }) => {\r\n setFileType(value === '-' ? null : value);\r\n };\r\n\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const [fileType, setFileType] = useState(null);\r\n const selectFile = (id) => {\r\n document.getElementById(id).click();\r\n };\r\n\r\n const acceptFiles = (fileType) => {\r\n if (fileType === 1) {\r\n return '.pdf';\r\n }\r\n\r\n if (fileType === 3) {\r\n return ' .doc, .docx, .pdf, .jpg';\r\n }\r\n\r\n if (fileType === 6 || fileType === 7 || fileType === 8) {\r\n return ' .pdf, .jpg';\r\n }\r\n\r\n if (fileType === 9) {\r\n return '.xlsx, .xls';\r\n }\r\n return '.xlsx, .xls, .doc, .docx, .xml, .txt, .pdf';\r\n };\r\n\r\n const gotoBottom = (id) => {\r\n window.scrollTo(0, document.body.scrollHeight);\r\n };\r\n\r\n const upload = (e) => {\r\n setIsloading(true);\r\n const file = e.target.files[0];\r\n\r\n if (file.size > 20 * 1048 * 1048) {\r\n setIsloading(false);\r\n\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const formData = new FormData();\r\n formData.append('Files', file);\r\n formData.append('RelatedId', data.ContractInfo.Id);\r\n formData.append('PRDocumentTypeId', fileType);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadFilesPr, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n data.requestId,\r\n 'edit',\r\n data.ContractInfo.Id\r\n )\r\n );\r\n\r\n swal({\r\n title: 'Priedas sėkmingai įkeltas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko pateikti priedo';\r\n if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n }\r\n };\r\n\r\n const tableHeader = ['Priedo tipas', 'Įkelto priedo pavadinimas', 'Veiksmai'];\r\n\r\n const downloadRejectionFile = (invoiceId, fileId, fileName) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL + config.API_ENDPOINTS.DownloadFilePr(invoiceId, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const deleteFile = (invoiceId, fileId) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DeleteUploadedFilePr(invoiceId, fileId),\r\n {\r\n method: 'DELETE',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n if (data.requestId) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n data.requestId,\r\n 'edit',\r\n data.ContractInfo.Id\r\n )\r\n );\r\n }\r\n\r\n swal({\r\n title: 'Priedas sėkmingai ištrintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Nepavyko pašalinti priedo',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log('catch block');\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n };\r\n\r\n const deleteConfirmation = (invoiceId, fileId) => {\r\n swal({\r\n title: 'Ar tikrai norite ištrinti šį failą?',\r\n icon: 'warning',\r\n showCancelButton: true,\r\n\r\n buttons: {\r\n confirm: {\r\n text: 'Taip',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n cancel: {\r\n text: 'Ne',\r\n value: false,\r\n visible: true,\r\n className: 'btn btn-primary',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((result) => {\r\n if (result) {\r\n deleteFile(invoiceId, fileId);\r\n }\r\n });\r\n };\r\n\r\n const getFileType = (fileType) => {\r\n return getNameByFileType(paymentRequestDocumentTypes, fileType);\r\n };\r\n\r\n return (\r\n \r\n
\r\n

\r\n {(data?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n data?.ContractInfo?.PaymentRequestStatusId === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view'\r\n ? 'Priedų įkėlimas'\r\n : 'Priedai'}\r\n

\r\n
\r\n {data.Files != null && data.Files.length > 0 ? (\r\n <>\r\n \r\n {data.Files.map(({ Id, Name, Type }) => (\r\n \r\n {getFileType(Type)}\r\n {Name}\r\n\r\n \r\n
\r\n {(data?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n data?.ContractInfo?.PaymentRequestStatusId === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view' && (\r\n \r\n deleteConfirmation(data.ContractInfo.Id, Id)\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n )}\r\n\r\n \r\n downloadRejectionFile(\r\n data.ContractInfo.Id,\r\n Id,\r\n Name\r\n )\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n ))}\r\n
\r\n \r\n ) : (\r\n

Nėra įkeltų priedų

\r\n )}\r\n {(data?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n data?.ContractInfo?.PaymentRequestStatusId === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view' && (\r\n <>\r\n
\r\n
\r\n \r\n \r\n \r\n {paymentRequestDocumentTypes.map((el, i) => (\r\n \r\n ))}\r\n \r\n
\r\n\r\n \r\n \r\n Pasirinkti priedą\r\n \r\n\r\n selectFile('fileElem')}\r\n style={{ marginTop: '9px', padding: '9px' }}\r\n >\r\n PASIRINKTI PRIEDĄ\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n filesTableList: state.dashboardState.filesTableList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(PaymentRequestFileUploadContainer);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from './../../api/api';\r\nimport { format } from 'date-fns';\r\nimport swal from 'sweetalert';\r\nimport { TableAdmin, TableRow, TableCell } from '../../components';\r\nimport { paymentRequestLogTranslation } from '../../utils/translation/translation';\r\n\r\nconst ManagerActionLog = ({ dispatch, paymentRequestId }) => {\r\n const [actionsLog, setActionsLog] = useState(null);\r\n\r\n useEffect(() => {\r\n const getData = async () => {\r\n try {\r\n const response = await Api.GetActionLogManager(paymentRequestId);\r\n setActionsLog(response);\r\n } catch (e) {\r\n if (e.statusCode === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else\r\n swal({\r\n title: `Klaida`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } finally {\r\n // setIsloading(false);\r\n }\r\n };\r\n getData();\r\n }, []);\r\n\r\n const logTableHeader = ['Data', 'Mokėjimo prašymo būsena', 'Asmuo'];\r\n\r\n return (\r\n \r\n

Veiksmų istorija

\r\n \r\n {actionsLog &&\r\n actionsLog.map(({ ActionLogType, ChangedBy, Created }) => (\r\n \r\n \r\n {format(new Date(Created), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {paymentRequestLogTranslation(ActionLogType)}\r\n \r\n {ChangedBy}\r\n \r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({});\r\nexport default connect(null, mapStateToProps)(ManagerActionLog);\r\n//export default ManagerActionLog;\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { actions } from '../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { Link, Redirect } from 'react-router-dom';\r\nimport {\r\n TableAdmin,\r\n WithSpinner,\r\n TableRow,\r\n TableCell,\r\n Button,\r\n} from '../../components';\r\nimport swal from 'sweetalert';\r\nimport styles from '../newRequest/newRequest.module.scss';\r\nimport InputWithTextInline from '../../components/input/InputWithTextInline';\r\nimport { format } from 'date-fns';\r\nimport paymentReqStyles from './paymentRequest.module.scss';\r\nimport { config } from '../../api/config';\r\nimport PaymentRequestSendforApproveModal from '../../modals/paymentRequestSendforApproveModal/paymentRequestSendforApproveModal';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport {\r\n faEye,\r\n faPencilAlt,\r\n faTrash,\r\n faPlusSquare,\r\n faFileAlt,\r\n faDownload,\r\n faExclamation,\r\n} from '@fortawesome/free-solid-svg-icons';\r\nimport {\r\n loanPurpose,\r\n paymentRequestStatus,\r\n} from '../../utils/translation/translation';\r\nimport {\r\n checkBOPage,\r\n formatNumber,\r\n downloadListXlsFile,\r\n} from '../../utils/helpers/helpers';\r\nimport PaymentRequestFileUploadContainer from './../../containers/fileUploadContainer/paymentRequestFileUploadContainer';\r\nimport { Api } from '../../api/api';\r\nimport { getLocalStorageItemIfNotExpired } from './../../utils/auth/localStorage';\r\nimport ManagerActionLog from './managerActionLog';\r\n\r\nconst PaymentRequest = ({\r\n dispatch,\r\n requestsState,\r\n loading,\r\n paymentRequest,\r\n paymentRequestSendforApproveModalVisible,\r\n confirmModalVisible,\r\n closedDialogResponse,\r\n}) => {\r\n const url = new URL(window.location.href);\r\n const paymentRequestId = url.searchParams.get('paymentRequestId');\r\n const requestId = url.searchParams.get('requestId');\r\n const actionType = url.searchParams.get('actionType');\r\n\r\n const fetchdata = useCallback(() => {\r\n if (requestId && paymentRequestId) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestAction(\r\n requestId,\r\n 'edit',\r\n paymentRequestId\r\n )\r\n );\r\n }\r\n }, [dispatch, paymentRequest]);\r\n\r\n useEffect(() => {\r\n if (!loading) {\r\n fetchdata();\r\n }\r\n if (requestsState && requestsState.data) {\r\n setComments(\r\n requestsState.data.Comments ? requestsState.data.Comments : ''\r\n );\r\n\r\n const checkboxValues =\r\n paymentRequest &&\r\n paymentRequest.DocumentsInfo &&\r\n paymentRequest.DocumentsInfo.Documents.filter((val) => !val.IsApproved);\r\n const checkedArray =\r\n checkboxValues && checkboxValues.length > 0\r\n ? checkboxValues.map((val) => val.Id)\r\n : [];\r\n setCheckboxValues(checkedArray);\r\n }\r\n }, [paymentRequest]);\r\n\r\n const formDate = (value = '2022-02-22') => {\r\n //return value; const formDate = (value) => {\r\n return format(new Date(value), 'yyyy-MM-dd HH:mm:ss');\r\n };\r\n const [modalData, setModalData] = useState({});\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalTitle, setModalTitle] = useState('');\r\n const [modalMainText, setModalMainText] = useState('');\r\n\r\n const [comments, setComments] = useState('');\r\n\r\n const onCommentChange = ({ target: { name, value } }) => {\r\n setComments(value);\r\n };\r\n\r\n const approvePaymentRequest = () => {\r\n const id = url.searchParams.get('requestId');\r\n setModalData({ id });\r\n\r\n dispatch(\r\n actions.modals.setPaymentModalConfirmAction(id, 'APPROVE_PAYMENT_REQUEST')\r\n );\r\n };\r\n\r\n const returnClick = () => {\r\n const id = paymentRequest.ContractInfo.Id;\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText('Ar tikrai norite grąžinti mokėjimo prašymą tikslinimui?');\r\n setModalData({ id, comments, checkboxValues, requestId });\r\n setModalAction('INVEGA_RETURN_PAYMENT_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const rejectClick = () => {\r\n const id = paymentRequest.ContractInfo.Id;\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText(\r\n 'Ar tikrai norite atmesti mokėjimo prašymą?
Sprendimas negalės būti pakeistas.'\r\n );\r\n setModalData({ id, comments, requestId });\r\n setModalAction('INVEGA_REJECT_PAYMENT_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const confirmClick = () => {\r\n const id = paymentRequest.ContractInfo.Id;\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText(\r\n 'Ar tikrai norite patvirtinti mokėjimo prašymą?
Sprendimas negalės būti pakeistas.'\r\n );\r\n setModalData({ id, comments, requestId });\r\n setModalAction('INVEGA_CONFIRM_PAYMENT_REQUEST');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const contractInfo = [\r\n {\r\n title: 'Mokėjimo prašymo numeris',\r\n value: paymentRequest?.ContractInfo?.Number || '-',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'Number',\r\n },\r\n {\r\n title: 'Mokėjimo prašymo (pirmo) pateikimo data',\r\n value: paymentRequest?.ContractInfo?.FirstSubmittedDate\r\n ? formDate(paymentRequest?.ContractInfo?.FirstSubmittedDate)\r\n : '-',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'FirstSubmittedDate',\r\n },\r\n {\r\n title: 'Mokėjimo prašymo (paskutinio) pateikimo data',\r\n value: paymentRequest?.ContractInfo?.SubmittedDate\r\n ? formDate(paymentRequest?.ContractInfo?.SubmittedDate)\r\n : '-',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'SubmittedDate',\r\n },\r\n {\r\n title: 'Mokėjimo prašymo būsena',\r\n value: paymentRequestStatus(\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId\r\n ),\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'paymentRequestStatus',\r\n name: 'PaymentRequestStatusId',\r\n },\r\n {\r\n title: 'Paskolos gavėjo pavadinimas/Vardas pavardė',\r\n value: paymentRequest?.ContractInfo?.Name,\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'Name',\r\n },\r\n {\r\n title: 'Paskolos gavėjo kodas',\r\n value: paymentRequest?.ContractInfo?.Code,\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'Code',\r\n },\r\n {\r\n title: 'Paskolos sutarties Nr.',\r\n value: paymentRequest?.ContractInfo?.ContractNumber || '-',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'ContractNumber',\r\n },\r\n ];\r\n\r\n const financialInfo = [\r\n {\r\n title: 'Suteikta paskolos suma, EUR',\r\n value: formatNumber(paymentRequest?.FinancialInfo?.InvegaLoanSum || 0),\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n },\r\n {\r\n title: 'Paskolos sumos likutis, EUR',\r\n value: formatNumber(paymentRequest?.FinancialInfo?.LoanSumRemainder || 0),\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n },\r\n {\r\n title: 'Paskolos paskirtis',\r\n value: loanPurpose(paymentRequest?.FinancialInfo?.LoanPurposeId) || '-',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n },\r\n {\r\n title: 'Finansuojama suma pagal šį mokėjimo prašymą, EUR',\r\n value: formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals?.FundedSumTotal || 0\r\n ),\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n showWhenStatus: [2],\r\n }, //}\r\n //{\r\n /*{\r\n title: 'Išmokėta paskolos suma pagal paskolos tipą proc.',\r\n value: `${formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals?.InvestmentSumTotalPercent +\r\n paymentRequest?.DocumentsInfo?.Totals?.TurnoverSumTotalPercent || 0,\r\n 4\r\n )}%`,\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n showWhenStatus: [2],\r\n },*/ {\r\n title: 'Išmokėta paskolos suma proc.',\r\n value: `${formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals?.FundedSumPercentTotal || 0,\r\n 4\r\n )}%`,\r\n additionalSymbols: '%',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n showWhenStatus: [2],\r\n },\r\n {\r\n /*{\r\n title: 'Apyvartai',\r\n value: `${formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals?.TurnoverSumTotalPercent || 0,\r\n 4\r\n )}%`,\r\n additionalSymbols: '%',\r\n type: 'string',\r\n disabled: true,\r\n fieldType: 'input',\r\n showWhenStatus: [2],\r\n },*/\r\n },\r\n ];\r\n\r\n const cancel = () => {\r\n //window.history.back();\r\n };\r\n\r\n const save = () => {\r\n // console.log('save changes!!!');\r\n };\r\n\r\n useEffect(() => {\r\n if (\r\n closedDialogResponse &&\r\n closedDialogResponse.action === 'removePaymentReqDoc'\r\n ) {\r\n const docId = closedDialogResponse.docId;\r\n const payload = {\r\n message: '',\r\n };\r\n dispatch(actions.modals.setModalClosedOKAction(payload));\r\n if (docId) {\r\n dispatch(\r\n actions.dashboard.deletePrDocumentRequestAction(\r\n docId,\r\n requestId,\r\n paymentRequestId\r\n )\r\n );\r\n }\r\n }\r\n }, [closedDialogResponse]);\r\n\r\n const displayNotSavedMessage = (docId) => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText('Ar tikrai norite ištrinti šį mokėjimo prašymo dokumentą?');\r\n setModalData({ comments: { action: 'removePaymentReqDoc', docId: docId } });\r\n setModalAction('YES_NO_ACTION');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const actionClick = (id, docId, actionType, number) => {\r\n if (actionType === 'remove') {\r\n displayNotSavedMessage(docId);\r\n } else {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestPrDocumentAction(\r\n id,\r\n docId,\r\n actionType,\r\n number\r\n )\r\n );\r\n }\r\n };\r\n\r\n const downloadRejectionFile = (invoiceId, fileId, fileName) => {\r\n // setIsloading(true);\r\n const path = window.location.pathname?.split('/')?.[1];\r\n\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadFilePrd(invoiceId, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem(\r\n path === 'backoffice' ? 'token' : 'userToken'\r\n )}`,\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n return response.blob();\r\n })\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n // setIsloading(false);\r\n });\r\n };\r\n\r\n const viewRequest = () => {\r\n const loginType = getLocalStorageItemIfNotExpired('loginType');\r\n if (loginType === 'Company') {\r\n dispatch(actions.dashboard.createNewRequestAction(requestId, 'view'));\r\n } else if (loginType === 'Individual') {\r\n dispatch(\r\n actions.dashboard.createNewRequestIndividualAction(requestId, 'view')\r\n );\r\n } else {\r\n swal({\r\n title: 'Įvyko klaida',\r\n icon: 'Error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n };\r\n\r\n const checkVisibility = (statusArr) => {\r\n if (!statusArr) {\r\n return true;\r\n }\r\n if (\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId &&\r\n statusArr.includes(paymentRequest.ContractInfo?.PaymentRequestStatusId)\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const checkInvegaCommentDisabled = () => {\r\n return !checkBOPage() ||\r\n (checkBOPage() &&\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId !== 5)\r\n ? true\r\n : false;\r\n };\r\n\r\n const getLastInvegaComment = () => {\r\n return paymentRequest?.Comments?.length > 0\r\n ? paymentRequest.Comments[paymentRequest.Comments.length - 1].Comment\r\n : '';\r\n };\r\n\r\n const [checkboxValues, setCheckboxValues] = useState([]);\r\n\r\n const onCheckboxSelect = (e, id) => {\r\n const val = id;\r\n const find = checkboxValues.find((item) => item === val);\r\n if (!find) {\r\n let arr = [...checkboxValues, val];\r\n setCheckboxValues(arr);\r\n } else {\r\n const newArr = checkboxValues.filter((item) => item !== val);\r\n setCheckboxValues(newArr);\r\n }\r\n };\r\n\r\n const commentsHistoryTableHeader = ['Data', 'Komentaras'];\r\n\r\n const downloadPrList = () => {\r\n const fileName = `Mokejimas_prasymas_Nr_${paymentRequest.ContractInfo.Id}`;\r\n\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.ExportPr(\r\n requestId,\r\n paymentRequest.ContractInfo.Id\r\n ),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('token')}`,\r\n },\r\n }\r\n )\r\n .then((response) => response.blob())\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n });\r\n // .finally(() => {\r\n // });\r\n };\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n
\r\n

Mokėjimo prašymas

\r\n
\r\n
\r\n

Mokėjimo prašymo informacija

\r\n {\r\n
\r\n {contractInfo.map((el, i) => (\r\n
\r\n {el.fieldType === 'input' && (\r\n \r\n )}\r\n
\r\n ))}\r\n
\r\n }\r\n
\r\n
\r\n

Paskolos sutarties duomenys

\r\n {\r\n
\r\n {financialInfo.map((el, i) => (\r\n \r\n {checkVisibility(el.showWhenStatus) && (\r\n
\r\n {el.fieldType === 'input' && (\r\n \r\n )}\r\n
\r\n )}\r\n
\r\n ))}\r\n
\r\n }\r\n

Mokėjimo prašymo dokumentai

\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n Eil. Nr.\r\n \r\n \r\n Veiksmai\r\n \r\n {checkBOPage() && (\r\n \r\n Ar galės redaguoti?\r\n \r\n )}\r\n \r\n Tiekėjo pavadinimas
\r\n arba\r\n
\r\n Vardas pavardė\r\n \r\n \r\n Tiekėjo įmonės kodas/Tiekėjo IV pažymėjimo arba VL Nr.\r\n \r\n \r\n Dokumento Nr.\r\n \r\n \r\n Dokumento data\r\n \r\n \r\n Dokumento suma, EUR:\r\n \r\n \r\n Prašoma suma, EUR\r\n \r\n \r\n Išmokėta paskolos suma proc.:\r\n \r\n \r\n Finansuojama suma, EUR\r\n \r\n {/*\r\n Pastabos\r\n */}\r\n \r\n Priedai\r\n \r\n
\r\n \r\n \r\n {paymentRequest?.DocumentsInfo?.Documents?.map(\r\n (el, i) => (\r\n \r\n \r\n {i + 1}\r\n \r\n \r\n
\r\n \r\n \r\n actionClick(\r\n paymentRequest.ContractInfo.Id,\r\n el.Id,\r\n `view`,\r\n i + 1\r\n )\r\n }\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n \r\n {!el.IsApproved &&\r\n (paymentRequest.ContractInfo\r\n .PaymentRequestStatusId === 1 ||\r\n paymentRequest.ContractInfo\r\n .PaymentRequestStatusId === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view' && (\r\n <>\r\n \r\n {!checkBOPage() && (\r\n \r\n actionClick(\r\n paymentRequest.ContractInfo.Id,\r\n el.Id,\r\n `edit`,\r\n i + 1\r\n )\r\n }\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n )}\r\n \r\n {!checkBOPage() && (\r\n \r\n actionClick(\r\n paymentRequest.ContractInfo.Id,\r\n el.Id,\r\n 'remove'\r\n )\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n )}\r\n \r\n )}\r\n {checkBOPage() &&\r\n paymentRequest.ContractInfo\r\n .PaymentRequestStatusId === 5 && (\r\n <>\r\n \r\n \r\n actionClick(\r\n paymentRequest.ContractInfo.Id,\r\n el.Id,\r\n `edit`,\r\n i + 1\r\n )\r\n }\r\n style={{\r\n color: '#009fe3',\r\n }}\r\n />\r\n \r\n \r\n )}\r\n {el.IsManagerEdited && (\r\n \r\n )}\r\n
\r\n \r\n {checkBOPage() && (\r\n \r\n
\r\n \r\n \r\n onCheckboxSelect(e, el.Id)\r\n }\r\n checked={checkboxValues.some(\r\n (val) => val == el.Id\r\n )}\r\n disabled={\r\n paymentRequest?.ContractInfo\r\n ?.PaymentRequestStatusId === 5\r\n ? false\r\n : true\r\n }\r\n />\r\n \r\n \r\n
\r\n \r\n )}\r\n\r\n \r\n {el.SupplierName}\r\n \r\n \r\n {el.SupplierCode}\r\n \r\n \r\n {el.DocumentNumber}\r\n \r\n \r\n {format(new Date(el.DocumentDate), 'yyyy-MM-dd')}\r\n \r\n \r\n {formatNumber(el.DocumentSum)}\r\n \r\n \r\n {el.RequiredSum\r\n ? formatNumber(el.RequiredSum)\r\n : formatNumber(0)}\r\n \r\n \r\n {el.FundedSumPercent\r\n ? `${formatNumber(el.FundedSumPercent, 4)}%`\r\n : '-'}\r\n \r\n \r\n {el.FundedSum ? formatNumber(el.FundedSum) : '-'}\r\n \r\n {/*\r\n {el.Comment || ''}\r\n */}\r\n \r\n
\r\n {el?.Files &&\r\n el?.Files.length > 0 &&\r\n el.Files.map((file, i) => (\r\n \r\n \r\n downloadRejectionFile(\r\n el.Id,\r\n file.Id,\r\n file.Name\r\n )\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n ))}\r\n \r\n \r\n \r\n )\r\n )}\r\n {paymentRequest?.DocumentsInfo?.Documents.length > 0 && (\r\n \r\n \r\n Viso:\r\n \r\n \r\n {checkBOPage() && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {formatNumber(\r\n paymentRequest.DocumentsInfo.Documents.reduce(\r\n (sum, el) => sum + el.DocumentSum,\r\n 0\r\n )\r\n )}\r\n \r\n \r\n {formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals\r\n .RequiredSumTotal || 0\r\n )}\r\n \r\n \r\n {paymentRequest?.DocumentsInfo?.Totals\r\n .FundedSumPercentTotal\r\n ? `${formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals\r\n .FundedSumPercentTotal,\r\n 4\r\n )}%`\r\n : '-'}\r\n \r\n \r\n {formatNumber(\r\n paymentRequest?.DocumentsInfo?.Totals\r\n ?.FundedSumTotal || '-'\r\n )}\r\n \r\n
\r\n )}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n {(paymentRequest?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view' && (\r\n
\r\n \r\n \r\n actionClick(\r\n paymentRequest.ContractInfo.Id,\r\n null,\r\n `edit`\r\n )\r\n }\r\n style={{\r\n float: 'right',\r\n width: '48px',\r\n height: '48px',\r\n color: '#033878',\r\n padding: '0.5rem',\r\n }}\r\n />\r\n \r\n
\r\n )}\r\n
\r\n \r\n
\r\n\r\n {/*Invegos komentaras rodomas pareiškėjui visada disabled ir rodomas, išskyrus 1 statusą. BO - rodomas visada, redaguojamas - kai statusas = pateikta (dabar tokio nėra) */}\r\n {checkBOPage() && (\r\n <>\r\n

Invega komentaras

\r\n\r\n
\r\n \r\n
\r\n \r\n )}\r\n\r\n
\r\n {!checkBOPage() &&\r\n (paymentRequest?.ContractInfo?.PaymentRequestStatusId ===\r\n 1 ||\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId ===\r\n 3) && (\r\n approvePaymentRequest()}\r\n style={{\r\n color: '#fff',\r\n textDecoration: 'none',\r\n float: 'left',\r\n }}\r\n >\r\n Pateikti mokėjimo prašymą\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n\r\n {actionType === 'view' && (\r\n <>\r\n {checkBOPage() && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n \r\n )}\r\n {/*vertintojo funkcijos: galima tuomet, kai busena = 5 (pateikta) */}\r\n {checkBOPage() && (\r\n \r\n )}\r\n
\r\n {paymentRequest?.ContractInfo?.PaymentRequestStatusId ==\r\n 5 && checkBOPage() ? (\r\n <>\r\n \r\n Patvirtinti\r\n \r\n\r\n
\r\n \r\n Grąžinti tikslinimui\r\n \r\n
\r\n\r\n
\r\n \r\n Atmesti\r\n \r\n
\r\n \r\n ) : checkBOPage() ? (\r\n
\r\n \r\n
\r\n ) : (\r\n \r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n\r\n \r\n

Komentarų istorija

\r\n {paymentRequest?.Comments &&\r\n paymentRequest?.Comments.length > 0 ? (\r\n \r\n {paymentRequest?.Comments.map((data, i) => {\r\n return (\r\n \r\n \r\n {data.Created &&\r\n format(\r\n new Date(data.Created),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n {data.Comment}\r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n

Nėra komentarų istorijos

\r\n )}\r\n
\r\n {checkBOPage() && (\r\n \r\n )}\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\n/*\r\n
\r\n \r\n downloadRejectionFile(\r\n 'requestId',\r\n 'Id',\r\n 'FileName'\r\n )\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n
\r\n \r\n downloadRejectionFile(\r\n 'requestId',\r\n 'Id',\r\n 'FileName'\r\n )\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n*/\r\n/*\r\n\r\n addNewPaymentDocument()}\r\n />\r\n \r\n*/\r\n\r\nconst mapStateToProps = (state) => ({\r\n requestsState: state.backofficeRequestsState,\r\n paymentRequest: state.dashboardState.paymentRequest,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n paymentRequestSendforApproveModalVisible:\r\n state.modalsState.paymentRequestSendforApproveModalVisible,\r\n loading: state.dashboardState.isOnSync,\r\n closedDialogResponse: state.modalsState.closedDialogOKMessage,\r\n});\r\nexport default connect(mapStateToProps)(PaymentRequest);\r\n","import React, { useState, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\n\r\nimport styles from './fileUploadContainer.module.scss';\r\nimport { WithSpinner, TableAdmin, TableRow, TableCell } from '../../components';\r\nimport { actions } from './../../state/actions';\r\nimport { Api } from './../../api/api';\r\nimport { config } from './../../api/config';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faTrash, faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport swal from 'sweetalert';\r\nimport { checkBOPage } from '../../utils/helpers/helpers';\r\n\r\nconst PaymentDocumentFileUploadContainer = ({\r\n dispatch,\r\n viewWindow,\r\n status,\r\n saveDataOnUploadCallback,\r\n saveDataAfterUpload,\r\n data,\r\n paymentRequestStatus,\r\n actionType,\r\n}) => {\r\n const selectFile = (id) => {\r\n if (\r\n !saveDataAfterUpload ||\r\n (saveDataAfterUpload && saveDataOnUploadCallback('validateInputs'))\r\n ) {\r\n document.getElementById(id).click();\r\n }\r\n };\r\n\r\n const [isLoading, setIsloading] = useState(false);\r\n\r\n const gotoBottom = () => {\r\n window.scrollTo(0, document.body.scrollHeight);\r\n };\r\n\r\n const upload = (e) => {\r\n setIsloading(true);\r\n const file = e.target.files[0];\r\n if (file.size > 20 * 1048 * 1048) {\r\n setIsloading(false);\r\n swal({\r\n title: 'Įkeliamas priedas viršija 20mb leistiną limitą',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n const formData = new FormData();\r\n formData.append('Files', file);\r\n formData.append('RelatedId', data.Id);\r\n formData.append(null, data.DocumentType); //irasyta tuscia reiksme\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.UploadFilesPrd, {\r\n method: 'POST',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n body: formData,\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n if (saveDataAfterUpload) {\r\n saveDataOnUploadCallback('save');\r\n } else {\r\n if (data.PaymentRequestId) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestPrDocumentAction(\r\n data.PaymentRequestId,\r\n data.Id,\r\n 'edit',\r\n data?.Number || ''\r\n )\r\n );\r\n }\r\n }\r\n\r\n swal({\r\n title: `Priedas sėkmingai įkeltas${\r\n saveDataAfterUpload ? ' ir išsaugotas dokumentas' : ''\r\n }`,\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else if (res.status === 403) {\r\n swal({\r\n title: `Šiam veiksmui atlikti neturite reikiamų teisių. Kreipkitės į sistemos administratorių`,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n res.json().then((r) => {\r\n let title = 'Nepavyko pateikti priedo';\r\n if (r?.errors?.RequestId) {\r\n title = r.errors.RequestId[0];\r\n } else if (r.errors) {\r\n title = r.errors['Files[0].FileName'][0];\r\n } else if (r.ErrorDescription) {\r\n title = r.ErrorDescription;\r\n }\r\n swal({\r\n title: title,\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n // dispatch(actions.dashboard.fileUploadAction(formData, 'upload'));\r\n }\r\n };\r\n\r\n const tableHeader = ['Įkelto priedo pavadinimas', 'Veiksmai'];\r\n\r\n const deleteConfirmation = (invoiceId, fileId) => {\r\n swal({\r\n title: 'Ar tikrai norite ištrinti šį failą?',\r\n icon: 'warning',\r\n showCancelButton: true,\r\n\r\n buttons: {\r\n confirm: {\r\n text: 'Taip',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n cancel: {\r\n text: 'Ne',\r\n value: false,\r\n visible: true,\r\n className: 'btn btn-primary',\r\n closeModal: true,\r\n },\r\n },\r\n }).then((result) => {\r\n if (result) {\r\n deleteFile(invoiceId, fileId);\r\n }\r\n });\r\n };\r\n\r\n const downloadRejectionFile = (invoiceId, fileId, fileName) => {\r\n const path = window.location.pathname?.split('/')?.[1];\r\n\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DownloadFilePrd(invoiceId, fileId),\r\n {\r\n method: 'GET',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem(\r\n path === 'backoffice' ? 'token' : 'userToken'\r\n )}`,\r\n },\r\n }\r\n )\r\n .then((response) => {\r\n return response.blob();\r\n })\r\n .then((blob) => {\r\n var url = window.URL.createObjectURL(blob);\r\n var a = document.createElement('a');\r\n a.href = url;\r\n a.download = fileName;\r\n document.body.appendChild(a);\r\n a.click();\r\n a.remove();\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n };\r\n\r\n const deleteFile = (invoiceId, fileId) => {\r\n setIsloading(true);\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.DeleteUploadedFilePrd(invoiceId, fileId),\r\n {\r\n method: 'DELETE',\r\n headers: {\r\n Authorization: `Bearer ${window.localStorage.getItem('userToken')}`,\r\n },\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n if (data.PaymentRequestId) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestPrDocumentAction(\r\n data.PaymentRequestId,\r\n data.Id,\r\n 'edit',\r\n data?.Number || ''\r\n )\r\n );\r\n }\r\n\r\n swal({\r\n title: 'Priedas sėkmingai ištrintas',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Nepavyko pašalinti priedo',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log('catch block');\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n setTimeout(() => {\r\n gotoBottom();\r\n }, 2000);\r\n });\r\n };\r\n\r\n return (\r\n \r\n
\r\n

\r\n {!data?.IsApproved &&\r\n (paymentRequestStatus === 1 || paymentRequestStatus === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view'\r\n ? 'Priedų įkėlimas'\r\n : 'Priedai'}\r\n

\r\n
\r\n {data.Files != null && data.Files.length > 0 ? (\r\n <>\r\n \r\n {data.Files.map(({ Id, Name, Type }) => (\r\n \r\n {Name}\r\n \r\n
\r\n {!data?.IsApproved &&\r\n (paymentRequestStatus === 1 ||\r\n paymentRequestStatus === 3) &&\r\n actionType !== 'view' && (\r\n deleteConfirmation(data.Id, Id)}\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n )}\r\n\r\n \r\n downloadRejectionFile(data.Id, Id, Name)\r\n }\r\n style={{\r\n color: '#597a96',\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n ))}\r\n
\r\n \r\n ) : (\r\n

Nėra įkeltų priedų

\r\n )}\r\n {!data?.IsApproved &&\r\n (paymentRequestStatus === 1 || paymentRequestStatus === 3) &&\r\n !checkBOPage() &&\r\n actionType !== 'view' && (\r\n <>\r\n
\r\n \r\n \r\n Pasirinkti priedą\r\n \r\n\r\n selectFile('fileElem')}\r\n style={{ marginTop: '9px', padding: '9px' }}\r\n >\r\n PASIRINKTI PRIEDĄ\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n filesTableList: state.dashboardState.filesTableList,\r\n});\r\n\r\nexport default connect(mapStateToProps)(PaymentDocumentFileUploadContainer);\r\n","export const isNotEmptyString = (value) => {\r\n if (!value) {\r\n return 'Neįvestas privalomas laukas';\r\n }\r\n return '';\r\n};\r\n\r\nexport const isValidIban = (value) => {\r\n if (!value) {\r\n return isNotEmptyString(value);\r\n }\r\n\r\n if (!value.match(/[A-Z]{2}\\d{2} ?\\d{4} ?\\d{4} ?\\d{4} ?\\d{4} ?[\\d]{0,2}/)) {\r\n return 'Neteisingas formatas';\r\n }\r\n return '';\r\n};\r\n\r\nexport const isValidDropdown = (value, defaultMessage) => {\r\n if (!value && value !== false) {\r\n return defaultMessage || 'Nepasirinkta reikšmė';\r\n }\r\n return '';\r\n};\r\n\r\nexport const isValidDateTillToday = (value) => {\r\n if (!value) {\r\n return isNotEmptyString(value);\r\n }\r\n const inputDate = new Date(value);\r\n const currDate = new Date();\r\n if (currDate - inputDate < 0) {\r\n return 'Neteisingai pasirinkta data';\r\n }\r\n return '';\r\n};\r\n\r\nexport const isSumValid = (sum, minValue, maxValue) => {\r\n if (!sum && sum !== 0) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n var ex = /^\\d*\\.?\\d{0,2}$/;\r\n if (ex.test(sum) === false) {\r\n return 'Turi būti įvesti skaičiai (formatas 0.00)';\r\n }\r\n\r\n if (maxValue && sum > maxValue) {\r\n return `Suma negali būti didesnė už ${maxValue}`;\r\n }\r\n if (minValue && sum < minValue) {\r\n return `Suma negali būti mažesnė už ${minValue}`;\r\n }\r\n return '';\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport DatePicker, { registerLocale } from 'react-datepicker';\r\nimport { connect } from 'react-redux';\r\nimport { Link, useHistory } from 'react-router-dom';\r\nimport styles from '../newRequest/newRequest.module.scss';\r\nimport { actions } from '../../state/actions';\r\nimport { WithSpinner, Button } from '../../components';\r\nimport InputWithTextInline from '../../components/input/InputWithTextInline';\r\nimport PaymentDocumentFileUploadContainer from '../../containers/fileUploadContainer/paymentDocumentFileUploadContainer';\r\nimport {\r\n isNotEmptyString,\r\n isValidDropdown,\r\n isValidDateTillToday,\r\n isSumValid,\r\n} from '../../utils/helpers/validators';\r\n\r\nimport { checkBOPage, formatNumber } from '../../utils/helpers/helpers';\r\nimport lt from 'date-fns/locale/lt';\r\nimport GlobalConfirmationModal from '../../modals/globalConfirmationModal/globalConfirmationModal';\r\nimport { config } from '../../api/config';\r\n\r\nconst PaymentDocument = ({\r\n dispatch,\r\n loading,\r\n requestState,\r\n paymentRequest,\r\n paymentRequestPrDocument,\r\n confirmModalVisible,\r\n closedDialogOKMessage,\r\n}) => {\r\n registerLocale('lt', lt);\r\n const history = useHistory();\r\n const [triedSave, setTriedSave] = useState(false);\r\n const url = new URL(window.location.href);\r\n const [actionType, setActionType] = useState(\r\n url.searchParams.get('actionType')\r\n );\r\n\r\n const checkBOEditPage = () => {\r\n return checkBOPage() &&\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId === 5 &&\r\n actionType === 'edit'\r\n ? true\r\n : false;\r\n };\r\n const getInputEditStatus = (boCanEdit) => {\r\n if (checkBOEditPage() && boCanEdit) {\r\n return false;\r\n }\r\n if (\r\n (paymentRequest?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId === 3) &&\r\n (!paymentRequestPrDocument?.IsApproved || !paymentRequestPrDocument.Id)\r\n ) {\r\n if (actionType === 'view') {\r\n return true;\r\n }\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n };\r\n\r\n const getSupplierIsCompanyInputEditStatus = () => {\r\n if (checkBOEditPage()) {\r\n return true;\r\n }\r\n if (!paymentRequestPrDocument.Id) {\r\n return false;\r\n }\r\n return true;\r\n };\r\n\r\n const [boCanEditInfoValues, setBOCanEditInfoValues] = useState({});\r\n\r\n const [loanPurpose, setLoanPurpose] = useState(1);\r\n const [documentSum, setDocumentSum] = useState(0);\r\n const [investmentSumLeft, setInvestmentSumLeft] = useState(0);\r\n const [turnoverSumLeft, setTurnoverSumLeft] = useState(0);\r\n const [investmentSum, setInvestmentSum] = useState('');\r\n const [requiredSum, setRequiredSum] = useState('');\r\n const [turnoverSum, setTurnoverSum] = useState('');\r\n const [managerInfo, setManagerInfo] = useState({});\r\n\r\n const getValue = (value, name) => {\r\n if (checkBOEditPage()) {\r\n return value\r\n ? convertStrValueToNumber(value)\r\n : boCanEditInfoValues[name]\r\n ? convertStrValueToNumber(boCanEditInfoValues[name])\r\n : 0;\r\n } else {\r\n return value || value === 0 ? convertStrValueToNumber(value) : '';\r\n }\r\n };\r\n\r\n const convertStrValueToNumber = (value) => {\r\n value = value?.toString().replace(/\\s/gi, '');\r\n value = value?.toString().replace(/,/gi, '.');\r\n return value;\r\n };\r\n\r\n const checkFundsSum = (nr) => {\r\n if (\r\n !checkBOPage() &&\r\n documentInfoValues[`FundsOriginTypeId${nr}`] &&\r\n !documentInfoValues[`FundsSum${nr}`]\r\n ) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n\r\n if (\r\n checkBOPage() &&\r\n !documentInfoValues[`FundsSum${nr}`] &&\r\n !boCanEditInfoValues[`FundsSum${nr}`] &&\r\n (documentInfoValues[`FundsOriginTypeId${nr}`] ||\r\n boCanEditInfoValues[`FundsOriginTypeId${nr}`])\r\n ) {\r\n return 'Neįvesta suma. Formatas 0.00 EUR';\r\n }\r\n\r\n return null;\r\n };\r\n\r\n const checkFundsDropdown = (nr) => {\r\n if (\r\n checkBOPage() &&\r\n documentInfoValues[`FundsOriginTypeId${nr}`] &&\r\n !documentInfoValues[`FundsOriginTypeId${+nr === 1 ? 2 : 1}`] &&\r\n +documentInfoValues[`FundsOriginTypeId${nr}`] ===\r\n +boCanEditInfoValues[`FundsOriginTypeId${+nr === 1 ? 2 : 1}`]\r\n ) {\r\n return 'Lėšų kilmė negali sutapti';\r\n }\r\n if (\r\n documentInfoValues.FundsOriginTypeId1 &&\r\n documentInfoValues.FundsOriginTypeId2 &&\r\n +documentInfoValues.FundsOriginTypeId1 ===\r\n +documentInfoValues.FundsOriginTypeId2\r\n ) {\r\n return 'Lėšų kilmė negali sutapti';\r\n }\r\n if (\r\n !checkBOPage() &&\r\n documentInfoValues[`FundsSum${nr}`] &&\r\n !documentInfoValues[`FundsOriginTypeId${nr}`]\r\n ) {\r\n return 'Nepasirinkta lėšų kilmė';\r\n }\r\n\r\n if (\r\n checkBOPage() &&\r\n !documentInfoValues[`FundsOriginTypeId${nr}`] &&\r\n !boCanEditInfoValues[`FundsOriginTypeId${nr}`] &&\r\n (documentInfoValues[`FundsSum${nr}`] ||\r\n boCanEditInfoValues[`FundsSum${nr}`])\r\n ) {\r\n return 'Nepasirinkta lėšų kilmė';\r\n }\r\n\r\n return null;\r\n };\r\n\r\n const { ContractInfo, FinancialInfo, Remainders } = paymentRequest;\r\n\r\n const supplierTypeDropdown = {\r\n options: [\r\n { name: ' ', value: '', type: 'boolean' },\r\n { name: 'Įmonė', value: true, type: 'boolean' },\r\n { name: 'Fizinis asmuo', value: false, type: 'boolean' },\r\n ],\r\n };\r\n\r\n const fundsOriginTypeDropdown = {\r\n options: [\r\n { name: ' ', value: '', type: 'boolean' },\r\n {\r\n name: 'Nuosavos lėšos',\r\n value: 1,\r\n type: 'number',\r\n },\r\n { name: 'Skolintos lėšos', value: 2, type: 'number' },\r\n ],\r\n };\r\n\r\n const getDropdownNameByValue = (dropdown, value) => {\r\n return dropdown.find((el) => el.value === value)?.name || '';\r\n };\r\n\r\n const updateNumberValueOnBlur = (inputValue, name) => {\r\n if (inputValue !== '' && inputValue !== null) {\r\n const value = convertStrValueToNumber(inputValue);\r\n if (!isNaN(value)) {\r\n setDocumentInfoValues({\r\n ...documentInfoValues,\r\n [name]: formatNumber(formatNumber(+value)),\r\n });\r\n }\r\n }\r\n };\r\n\r\n const checkSupplierCode = () => {\r\n const value = documentInfoValues.SupplierCode;\r\n const emptyStr = isNotEmptyString(value);\r\n if (emptyStr) {\r\n return emptyStr;\r\n }\r\n if (documentInfoValues.SupplierIsCompany === 'true' && value.length > 9) {\r\n return 'Per ilgas įmonės kodas';\r\n }\r\n return '';\r\n };\r\n\r\n const documentInfo = [\r\n {\r\n title: 'Tiekėjo tipas',\r\n value: '',\r\n type: 'string',\r\n disabled: getSupplierIsCompanyInputEditStatus(),\r\n fieldType: 'dropdown',\r\n dropdownInfo: supplierTypeDropdown,\r\n name: 'SupplierIsCompany',\r\n required: true,\r\n requiredType: 'dropdown',\r\n defaultErrorMessage: 'Turite pasirinkti tiekėjo tipą',\r\n },\r\n {\r\n title: 'Tiekėjo pavadinimas/Vardas pavardė',\r\n value: '',\r\n type: 'string',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'input',\r\n name: 'SupplierName',\r\n required: true,\r\n requiredType: 'anyString',\r\n boCanEdit: true,\r\n },\r\n {\r\n title: 'Tiekėjo įmonės kodas/Tiekėjo IV pažymėjimo arba VL Nr.',\r\n value: '',\r\n type: 'string',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'input',\r\n name: 'SupplierCode',\r\n required: true,\r\n requiredType: 'custom',\r\n customFunction: checkSupplierCode,\r\n boCanEdit: true,\r\n },\r\n {\r\n title: 'Dokumento numeris',\r\n value: '',\r\n type: 'string',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'input',\r\n name: 'DocumentNumber',\r\n required: true,\r\n requiredType: 'anyString',\r\n boCanEdit: true,\r\n },\r\n {\r\n title: 'Dokumento data',\r\n value: '',\r\n type: 'date',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'date',\r\n name: 'DocumentDate',\r\n required: true,\r\n requiredType: 'dateTillToday',\r\n boCanEdit: true,\r\n },\r\n {\r\n title: 'Dokumento suma, EUR',\r\n value: null,\r\n type: 'numberString',\r\n disabled: getInputEditStatus(),\r\n fieldType: 'input',\r\n name: 'DocumentSum',\r\n required: true,\r\n requiredType: 'numberSum',\r\n boCanEdit: false,\r\n onblur: updateNumberValueOnBlur,\r\n },\r\n {\r\n title: 'Dokumento prašoma suma, EUR',\r\n value: null,\r\n type: 'numberString',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'input',\r\n name: 'RequiredSum',\r\n requiredType: 'custom',\r\n boCanEdit: true,\r\n onblur: updateNumberValueOnBlur,\r\n },\r\n {\r\n title: 'Išmokėta paskolos suma pagal paskolos tipą proc.:',\r\n value: '',\r\n type: 'numberString',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'PaidOutTotalSumPercent',\r\n additionalSymbols: '%',\r\n showWhenStatus: [2],\r\n minFractionDigits: 4,\r\n },\r\n {\r\n title: 'Investicijoms',\r\n value: '',\r\n type: 'numberString',\r\n additionalSymbols: '%',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'FundedInvestmentSumPercent',\r\n showWhenStatus: [2],\r\n minFractionDigits: 4,\r\n },\r\n {\r\n title: 'Apyvartai',\r\n value: '',\r\n type: 'numberString',\r\n additionalSymbols: '%',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'FundedTurnoverSumPercent',\r\n showWhenStatus: [2],\r\n minFractionDigits: 4,\r\n },\r\n {\r\n title: 'Finansuojama suma, EUR',\r\n value: null,\r\n type: 'numberString',\r\n disabled: true,\r\n fieldType: 'input',\r\n name: 'FundedSum',\r\n showWhenStatus: [2],\r\n },\r\n {\r\n title: 'Pastabos',\r\n value: '',\r\n type: 'string',\r\n disabled: getInputEditStatus(false),\r\n fieldType: 'input',\r\n name: 'Comment',\r\n },\r\n {\r\n title: 'Lėšų kilmė',\r\n value: '',\r\n type: 'string',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'dropdown',\r\n dropdownInfo: fundsOriginTypeDropdown,\r\n name: 'FundsOriginTypeId1',\r\n required: true,\r\n requiredType: 'custom',\r\n customFunction: () => checkFundsDropdown('1'),\r\n defaultErrorMessage: 'Turite pasirinkti dokumento tipą',\r\n boCanEdit: true,\r\n checkConnectedValues: true,\r\n },\r\n {\r\n title: 'Suma, EUR',\r\n value: '',\r\n type: 'numberString',\r\n disabled: getInputEditStatus(true),\r\n fieldType: 'input',\r\n name: 'FundsSum1',\r\n required: true,\r\n requiredType: 'custom',\r\n customFunction: () => checkFundsSum('1'),\r\n onblur: updateNumberValueOnBlur,\r\n boCanEdit: true,\r\n checkConnectedValues: true,\r\n },\r\n ];\r\n\r\n const k = {};\r\n documentInfo.forEach((el) => {\r\n k[el.name] = el.value;\r\n });\r\n const [documentInfoValues, setDocumentInfoValues] = useState(k);\r\n\r\n const setValueChanged = (value, name) => {\r\n if (saved || error) {\r\n dispatch(actions.dashboard.approveRequestResset(true));\r\n }\r\n if (!isUnsavedChanges) {\r\n setIsUnsavedChanges(true);\r\n }\r\n setDocumentInfoValues({ ...documentInfoValues, [name]: value });\r\n };\r\n\r\n const ValidateInput = (\r\n value,\r\n type,\r\n defaultMessage,\r\n minValue,\r\n maxValue,\r\n customFunction,\r\n checkConnectedValues\r\n ) => {\r\n if (\r\n !checkBOPage() ||\r\n (checkBOPage() && value) ||\r\n (checkBOPage() && checkConnectedValues)\r\n ) {\r\n if (type === 'anyString') {\r\n return isNotEmptyString(value);\r\n } else if (type === 'dropdown') {\r\n return isValidDropdown(value, defaultMessage);\r\n } else if (type === 'dateTillToday') {\r\n return isValidDateTillToday(value);\r\n } else if (type === 'numberSum') {\r\n return isSumValid(convertStrValueToNumber(value), minValue, maxValue);\r\n }\r\n }\r\n return '';\r\n };\r\n\r\n const ValidateInputs = () => {\r\n let allValids = true;\r\n documentInfo\r\n .filter((el) => el.required)\r\n .forEach((item) => {\r\n const error = ValidateInput(\r\n documentInfoValues[item.name],\r\n item.requiredType,\r\n item.defaultErrorMessage,\r\n item.minValue,\r\n item.maxValue,\r\n item.customFunction,\r\n item.checkConnectedValues\r\n );\r\n if (error) {\r\n allValids = false;\r\n }\r\n });\r\n return allValids;\r\n };\r\n\r\n function lowerCaseFirstLetter(string) {\r\n return string.charAt(0).toLowerCase() + string.slice(1);\r\n }\r\n\r\n const save = () => {\r\n if (!ValidateInputs()) {\r\n setTriedSave(true);\r\n return;\r\n }\r\n setTriedSave(false);\r\n const currentDate = new Date();\r\n let payload = {};\r\n if (checkBOPage()) {\r\n for (let name in boCanEditInfoValues) {\r\n payload[lowerCaseFirstLetter(name)] =\r\n documentInfo.find(\r\n (el) => el.name === name && el.type === 'numberString'\r\n ) && documentInfoValues[name]\r\n ? convertStrValueToNumber(documentInfoValues[name])\r\n : documentInfoValues[name] || '';\r\n }\r\n payload.prDocumentId = documentInfoValues.Id;\r\n payload.comment = documentInfoValues.ManagerComment || '';\r\n payload.supplierIsCompany = documentInfoValues.SupplierIsCompany;\r\n if (documentInfoValues.RequiredSum) {\r\n payload.RequiredSum = convertStrValueToNumber(\r\n documentInfoValues.RequiredSum\r\n );\r\n }\r\n } else {\r\n payload = {\r\n supplierIsCompany: documentInfoValues.SupplierIsCompany,\r\n supplierName: documentInfoValues.SupplierName,\r\n supplierCode: documentInfoValues.SupplierCode,\r\n documentNumber: documentInfoValues.DocumentNumber,\r\n documentDate: documentInfoValues.DocumentDate,\r\n documentSum: convertStrValueToNumber(documentInfoValues.DocumentSum),\r\n requiredSum: convertStrValueToNumber(documentInfoValues.RequiredSum),\r\n comment: documentInfoValues.Comment,\r\n FundsOriginTypeId1: documentInfoValues.FundsOriginTypeId1,\r\n FundsSum1: convertStrValueToNumber(documentInfoValues.FundsSum1),\r\n FundsOriginTypeId2: documentInfoValues.FundsOriginTypeId2,\r\n FundsSum2: convertStrValueToNumber(documentInfoValues.FundsSum2),\r\n created: currentDate.toJSON(),\r\n };\r\n if (documentInfoValues.Id) {\r\n payload.Id = documentInfoValues.Id;\r\n }\r\n }\r\n\r\n const id = ContractInfo.Id;\r\n dispatch(\r\n actions.dashboard.createPaymentRequestNewPrDocumentAction(id, payload)\r\n );\r\n };\r\n\r\n const onDropdownInputChange = ({ target: { name, value } }) => {\r\n setIsUnsavedChanges(true);\r\n setDocumentInfoValues({ ...documentInfoValues, [name]: value });\r\n };\r\n\r\n const checkBOCanEdit = (name) => {\r\n return documentInfo.find((el) => el.boCanEdit && el.name === name);\r\n };\r\n\r\n useEffect(() => {\r\n if (checkBOEditPage()) {\r\n const boCantEditFields = {};\r\n const boCanEdit = {};\r\n for (let name in paymentRequestPrDocument) {\r\n if (checkBOCanEdit(name)) {\r\n boCanEdit[name] = paymentRequestPrDocument[name];\r\n const managerValue = paymentRequestPrDocument?.ManagerInfo?.[name];\r\n if (managerValue || managerValue === 0) {\r\n boCantEditFields[name] = managerValue;\r\n } else if (documentInfoValues[name]) {\r\n boCantEditFields[name] = null;\r\n }\r\n } else {\r\n boCantEditFields[name] = paymentRequestPrDocument[name];\r\n }\r\n }\r\n boCantEditFields.ManagerComment =\r\n paymentRequestPrDocument?.ManagerComment || '';\r\n setDocumentInfoValues(boCantEditFields);\r\n setBOCanEditInfoValues(boCanEdit);\r\n } else {\r\n if (checkBOPage()) {\r\n paymentRequestPrDocument.ManagerComment =\r\n paymentRequestPrDocument?.ManagerComment || '';\r\n }\r\n setDocumentInfoValues(paymentRequestPrDocument);\r\n }\r\n setManagerInfo(paymentRequestPrDocument.ManagerInfo);\r\n }, [paymentRequestPrDocument, actionType]);\r\n\r\n useEffect(() => {\r\n const RequiredSumNum = getValue(\r\n documentInfoValues.RequiredSum,\r\n 'RequiredSum'\r\n );\r\n\r\n setRequiredSum(RequiredSumNum);\r\n }, [documentInfoValues.InvestmentSum, documentInfoValues.TurnoverSum]);\r\n\r\n useEffect(() => {\r\n setDocumentSum(documentInfoValues.DocumentSum);\r\n }, [documentInfoValues.DocumentSum]);\r\n\r\n useEffect(() => {\r\n setDocumentInfoValues({\r\n ...documentInfoValues,\r\n PaidOutTotalSumPercent:\r\n documentInfoValues.FundedInvestmentSumPercent +\r\n documentInfoValues.FundedTurnoverSumPercent,\r\n });\r\n }, [\r\n documentInfoValues.FundedInvestmentSumPercent,\r\n documentInfoValues.FundedTurnoverSumPercent,\r\n ]);\r\n\r\n const getSumValue = (name) => {\r\n if (checkBOEditPage()) {\r\n return (paymentRequestPrDocument?.ManagerInfo?.[name] &&\r\n paymentRequestPrDocument?.ManagerInfo?.[name] !== null) ||\r\n paymentRequestPrDocument?.ManagerInfo?.[name] === 0\r\n ? paymentRequestPrDocument?.ManagerInfo?.[name]\r\n : paymentRequestPrDocument?.[name] || 0;\r\n } else {\r\n return paymentRequestPrDocument?.[name] || 0;\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const currInvestmentSum = getSumValue('InvestmentSum');\r\n const currTurnoverSum = getSumValue('TurnoverSum');\r\n setLoanPurpose(FinancialInfo?.LoanPurposeId || 1);\r\n if (FinancialInfo?.LoanPurposeId === 2) {\r\n setDocumentInfoValues({ ...documentInfoValues, InvestmentSum: 0 });\r\n setTurnoverSumLeft(\r\n Number(FinancialInfo.LoanSumRemainder) +\r\n Number(currTurnoverSum) +\r\n Number(currInvestmentSum)\r\n );\r\n }\r\n\r\n if (FinancialInfo?.LoanPurposeId === 1) {\r\n setTurnoverSumLeft(\r\n Number(Remainders.TurnoverRemainder) + Number(currTurnoverSum)\r\n );\r\n setInvestmentSumLeft(\r\n Number(Remainders.InvestmentRemainder) + Number(currInvestmentSum)\r\n );\r\n }\r\n }, [FinancialInfo, documentInfoValues.Id]);\r\n\r\n const dropdownItemSelected = (value, type, name) => {\r\n if (type === 'boolean' && typeof value === 'boolean') {\r\n const valStr = value.toString();\r\n const infStr = documentInfoValues[name].toString();\r\n const selected = valStr && infStr && valStr === infStr ? true : false;\r\n return selected;\r\n } else if (value && type === 'number') {\r\n return Number(value) === Number(documentInfoValues[name]);\r\n }\r\n };\r\n\r\n const backToPaymentRequest = () => {\r\n window.location.href = `${\r\n checkBOPage()\r\n ? config.APP_PATHS.backofficePaymentRequest\r\n : config.APP_PATHS.paymentrequest\r\n }?requestId=${paymentRequest.requestId}&paymentRequestId=${\r\n ContractInfo?.Id\r\n }&actionType=${paymentRequest.actionType || 'view'}`;\r\n };\r\n\r\n useEffect(() => {\r\n if (closedDialogOKMessage === 'closeIfNotAllSaved') {\r\n const payload = {\r\n message: '',\r\n };\r\n dispatch(actions.modals.setModalClosedOKAction(payload));\r\n dispatch(actions.dashboard.approveRequestResset(true));\r\n backToPaymentRequest();\r\n }\r\n }, [closedDialogOKMessage]);\r\n\r\n const [saved, setSaved] = useState(false);\r\n const [error, setError] = useState(false);\r\n const [isUnsavedChanges, setIsUnsavedChanges] = useState(false);\r\n useEffect(() => {\r\n setSaved(requestState.saved);\r\n setError(requestState.error);\r\n if (requestState.saved) {\r\n setIsUnsavedChanges(false);\r\n if (checkBOPage()) {\r\n dispatch(\r\n actions.dashboard.createNewPaymentRequestPrDocumentAction(\r\n ContractInfo?.Id,\r\n paymentRequestPrDocument.Id,\r\n 'view',\r\n documentInfoValues.Number || ''\r\n )\r\n );\r\n setActionType('view');\r\n }\r\n }\r\n }, [requestState]);\r\n\r\n const [modalData, setModalData] = useState({});\r\n const [modalText, setModalText] = useState('');\r\n const [modalAction, setModalAction] = useState();\r\n const [modalTitle, setModalTitle] = useState('');\r\n const [modalMainText, setModalMainText] = useState('');\r\n\r\n useEffect(() => {\r\n if (!paymentRequest?.ContractInfo) {\r\n history.goBack();\r\n }\r\n dispatch(actions.dashboard.approveRequestResset(true));\r\n }, []);\r\n\r\n const displayNotSavedMessage = () => {\r\n const open = {\r\n modalName: 'globalConfirmationModal',\r\n visible: true,\r\n };\r\n\r\n setModalMainText(null);\r\n setModalTitle(null);\r\n\r\n setModalText(\r\n 'Ar tikrai norite grįžti į mokėjimų prašymų sąrašą. Ne visi pakeitimai yra išsaugoti.'\r\n );\r\n setModalData({ comments: 'closeIfNotAllSaved' });\r\n setModalAction('YES_NO_ACTION');\r\n dispatch(actions.modals.setModalVisibleFlagAction(open));\r\n };\r\n\r\n const cancel = () => {\r\n if (isUnsavedChanges) {\r\n displayNotSavedMessage();\r\n return;\r\n }\r\n dispatch(actions.dashboard.approveRequestResset(true));\r\n backToPaymentRequest();\r\n };\r\n\r\n const createDateAsUTC = (date) => {\r\n return new Date(\r\n Date.UTC(\r\n date.getFullYear(),\r\n date.getMonth(),\r\n date.getDate(),\r\n date.getHours(),\r\n date.getMinutes(),\r\n date.getSeconds()\r\n )\r\n );\r\n };\r\n\r\n const checkVisibility = (statusArr) => {\r\n if (!statusArr) {\r\n return true;\r\n }\r\n if (\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId &&\r\n statusArr.includes(paymentRequest.ContractInfo?.PaymentRequestStatusId)\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n const saveChangesAfterFileUpload = (action) => {\r\n if (action === 'validateInputs') {\r\n if (!ValidateInputs()) {\r\n setTriedSave(true);\r\n return false;\r\n }\r\n return true;\r\n } else if (action === 'save') {\r\n save('fileUploaded');\r\n }\r\n };\r\n\r\n const clearDateField = (name) => {\r\n setDocumentInfoValues({ ...documentInfoValues, [name]: '' });\r\n };\r\n\r\n const changeActionType = () => {\r\n if (actionType === 'view') {\r\n setActionType('edit');\r\n }\r\n };\r\n\r\n const getBOValue = (name) => {\r\n return paymentRequestPrDocument?.ManagerInfo?.[name] !== ' '\r\n ? paymentRequestPrDocument?.ManagerInfo?.[name] || ''\r\n : '';\r\n };\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n
\r\n

Dokumento duomenys

\r\n
\r\n
\r\n

Dokumento informacija

\r\n {\r\n
\r\n {documentInfoValues.Number && (\r\n <>\r\n
\r\n \r\n
\r\n
\r\n \r\n )}\r\n {documentInfo.map((el, i) => (\r\n \r\n {checkVisibility(el.showWhenStatus) && (\r\n
\r\n {el.fieldType === 'input' && (\r\n <>\r\n \r\n setValueChanged(\r\n e.target.value,\r\n e.target.name\r\n )\r\n }\r\n onBlur={(e) => {\r\n if (el.onblur) {\r\n el.onblur(e.target.value, el.name);\r\n }\r\n }}\r\n />\r\n {el.required &&\r\n triedSave &&\r\n ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction,\r\n el.checkConnectedValues\r\n ) && (\r\n

\r\n {ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction,\r\n el.checkConnectedValues\r\n )}\r\n

\r\n )}\r\n {checkBOEditPage() &&\r\n checkBOCanEdit(el.name) &&\r\n !el.disabled && (\r\n
\r\n {`Pareiškėjo įvesta reikšmė: `}\r\n \r\n {el.type === 'numberString'\r\n ? `${\r\n boCanEditInfoValues[el.name] !==\r\n null &&\r\n !isNaN(\r\n boCanEditInfoValues[el.name]\r\n )\r\n ? `${formatNumber(\r\n boCanEditInfoValues[\r\n el.name\r\n ]\r\n )}${\r\n el?.additionalSymbols ||\r\n ''\r\n }`\r\n : ''\r\n }`\r\n : boCanEditInfoValues[el.name]}\r\n \r\n
\r\n )}\r\n {checkBOPage() &&\r\n checkBOCanEdit(el.name) &&\r\n actionType !== 'edit' &&\r\n getBOValue(el.name) && (\r\n
\r\n {`Vertintojo įvesta reikšmė: `}\r\n \r\n {el.type === 'numberString'\r\n ? `${\r\n getBOValue(el.name) !== null &&\r\n !isNaN(getBOValue(el.name))\r\n ? `${formatNumber(\r\n getBOValue(el.name)\r\n )}${\r\n el?.additionalSymbols ||\r\n ''\r\n }`\r\n : ''\r\n }`\r\n : getBOValue(el.name)}\r\n \r\n
\r\n )}\r\n \r\n )}\r\n {el.fieldType === 'dropdown' && el.dropdownInfo && (\r\n <>\r\n \r\n {el.title}\r\n \r\n \r\n {el.dropdownInfo.options.map((sel, j) => (\r\n \r\n {sel.name}\r\n \r\n ))}\r\n \r\n {el.required &&\r\n triedSave &&\r\n ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction,\r\n el.checkConnectedValues\r\n ) && (\r\n

\r\n {ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction,\r\n el.checkConnectedValues\r\n )}\r\n

\r\n )}\r\n {checkBOEditPage() &&\r\n checkBOCanEdit(el.name) &&\r\n !el.disabled && (\r\n \r\n {`Pareiškėjo įvesta reikšmė: `}\r\n \r\n {getDropdownNameByValue(\r\n el.dropdownInfo.options,\r\n boCanEditInfoValues[el.name]\r\n )}\r\n \r\n
\r\n )}\r\n {checkBOPage() &&\r\n checkBOCanEdit(el.name) &&\r\n actionType !== 'edit' &&\r\n getBOValue(el.name) && (\r\n \r\n {`Vertintojo įvesta reikšmė: `}\r\n \r\n {getDropdownNameByValue(\r\n el.dropdownInfo.options,\r\n getBOValue(el.name)\r\n )}\r\n \r\n
\r\n )}\r\n \r\n )}\r\n {el.fieldType === 'date' && (\r\n <>\r\n \r\n {el.title}\r\n \r\n
\r\n {\r\n setValueChanged(\r\n createDateAsUTC(e),\r\n el.name\r\n );\r\n }}\r\n maxDate={new Date()}\r\n dateFormat=\"yyyy-MM-dd\"\r\n disabled={el.disabled}\r\n locale=\"lt\"\r\n />\r\n clearDateField(el.name)}\r\n >\r\n X\r\n \r\n
\r\n {el.required &&\r\n triedSave &&\r\n ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction\r\n ) && (\r\n

\r\n {ValidateInput(\r\n documentInfoValues[el.name],\r\n el.requiredType,\r\n el.defaultErrorMessage,\r\n el.minValue,\r\n el.maxValue,\r\n el.customFunction\r\n )}\r\n

\r\n )}\r\n {checkBOEditPage() &&\r\n checkBOCanEdit(el.name) &&\r\n !el.disabled && (\r\n
\r\n {`Pareiškėjo įvesta reikšmė: `}\r\n \r\n {boCanEditInfoValues[el.name]?.slice(\r\n 0,\r\n 10\r\n )}\r\n \r\n
\r\n )}\r\n {checkBOPage() &&\r\n checkBOCanEdit(el.name) &&\r\n actionType !== 'edit' &&\r\n getBOValue(el.name) && (\r\n
\r\n {`Vertintojo įvesta reikšmė: `}\r\n \r\n {getBOValue(el.name)?.slice(0, 10)}\r\n \r\n
\r\n )}\r\n \r\n )}\r\n
\r\n )}\r\n \r\n ))}\r\n {checkBOPage() && (\r\n
\r\n \r\n setValueChanged(e.target.value, e.target.name)\r\n }\r\n />\r\n
\r\n )}\r\n {!checkBOPage() &&\r\n (paymentRequest?.ContractInfo\r\n ?.PaymentRequestStatusId === 2 ||\r\n paymentRequest?.ContractInfo\r\n ?.PaymentRequestStatusId === 3 ||\r\n paymentRequest?.ContractInfo\r\n ?.PaymentRequestStatusId === 4) &&\r\n documentInfoValues.ManagerComment && (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n }\r\n
\r\n
\r\n
\r\n {paymentRequestPrDocument?.Id && (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n
\r\n {saved && (\r\n

\r\n Dokumentas išsaugotas sėkmingai\r\n

\r\n )}\r\n {error && (\r\n

\r\n {error}\r\n

\r\n )}\r\n
\r\n
\r\n {((!paymentRequestPrDocument?.Id ||\r\n !paymentRequestPrDocument?.IsApproved) &&\r\n (paymentRequest?.ContractInfo?.PaymentRequestStatusId === 1 ||\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId ===\r\n 3) &&\r\n actionType !== 'view') ||\r\n (checkBOEditPage() && actionType !== 'view') ? (\r\n
\r\n save()}\r\n >\r\n Išsaugoti\r\n \r\n \r\n
\r\n ) : (\r\n
\r\n
\r\n \r\n \r\n dispatch(\r\n actions.dashboard.approveRequestResset(true)\r\n )\r\n }\r\n >\r\n Atgal\r\n \r\n \r\n
\r\n {checkBOPage() &&\r\n paymentRequest?.ContractInfo?.PaymentRequestStatusId ===\r\n 5 &&\r\n actionType === 'view' && (\r\n
\r\n \r\n changeActionType()}\r\n >\r\n Koreguoti dokumento duomenis\r\n \r\n \r\n
\r\n )}\r\n
\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n requestState: state.requestState,\r\n paymentRequest: state.dashboardState.paymentRequest,\r\n paymentRequestPrDocument: state.dashboardState.paymentRequestPrDocument,\r\n confirmModalVisible: state.modalsState.globalConfirmationModalVisible,\r\n closedDialogOKMessage: state.modalsState.closedDialogOKMessage,\r\n});\r\nexport default connect(mapStateToProps)(PaymentDocument);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { Link } from 'react-router-dom';\r\n\r\nimport { actions } from '../../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from './../../../api/api';\r\nimport { config } from './../../../api/config';\r\nimport { format } from 'date-fns';\r\n\r\nimport swal from 'sweetalert';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n} from '../../../components';\r\n\r\nconst VmiRequests = ({ loading }) => {\r\n const [notValid, setNotValid] = useState(false);\r\n const [companyCode, setCompanyCode] = useState('');\r\n const [isLoading, setIsloading] = useState(false);\r\n const [list, setList] = useState([]);\r\n\r\n const tableHeader = [\r\n 'Asmens/įmonės kodas',\r\n 'Bendra eksporto suma (be PVM)',\r\n 'Eksporto duomenų atsakymo data (iš VMI)',\r\n 'Bendra importo suma (be PVM)',\r\n 'Importo duomenų atsakymo data (iš VMI)',\r\n 'Užklausos siuntimo data ir laikas',\r\n 'Atsakymo gavimo data ir laikas',\r\n 'Užklausą teikęs darbuotojas',\r\n ];\r\n\r\n const renewList = () => {\r\n setIsloading(true);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.VmiAdditionalChecksList, {\r\n method: 'GET',\r\n credentials: 'include',\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n console.log(res);\r\n res.json().then((r) => {\r\n setList(r);\r\n });\r\n } else {\r\n swal({\r\n title: 'Klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n\r\n setNotValid(false);\r\n };\r\n\r\n const check = () => {\r\n setNotValid(true);\r\n if (companyCode.length === 9 || companyCode.length === 11) {\r\n setIsloading(true);\r\n\r\n fetch(\r\n Api.API_BASE_URL +\r\n config.API_ENDPOINTS.VmiAdditionalChecksSave(companyCode),\r\n {\r\n method: 'POST',\r\n credentials: 'include',\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n renewList();\r\n swal({\r\n title: 'Užklausa į VMI sėkmingai nusiųsta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Užklausa į VMI nesėkminga',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log('catch block');\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n\r\n setNotValid(false);\r\n }\r\n };\r\n useEffect(() => {\r\n renewList();\r\n }, []);\r\n return (\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n

VMI užklausos

\r\n\r\n \r\n\r\n \r\n
\r\n setCompanyCode(e.target.value)}\r\n value={companyCode}\r\n placeholder={'Įmonės/asmens kodas'}\r\n disabled={false}\r\n />\r\n {notValid &&\r\n (companyCode.length !== 9 || companyCode.length !== 11) && (\r\n \r\n * įmonės kodas turi būti sudarytas iš 9 skaitmenų, o asmens\r\n kodas - iš 11 skaitmenų\r\n

\r\n )}\r\n
\r\n check()}\r\n >\r\n Tikrinti VMI\r\n \r\n
\r\n
\r\n

Tikrintos VMI įmonės/asmenys

\r\n \r\n {list.map(\r\n ({\r\n Id,\r\n Created,\r\n Finished,\r\n Code,\r\n VmiExportDate,\r\n VmiExportSum,\r\n VmiImportDate,\r\n VmiImportSum,\r\n UserPersonalName,\r\n }) => (\r\n \r\n {Code}\r\n {VmiExportSum}\r\n \r\n {VmiExportDate !== null &&\r\n format(new Date(VmiExportDate), 'yyyy-MM-dd')}\r\n \r\n {VmiImportSum}\r\n \r\n {VmiImportDate !== null &&\r\n format(new Date(VmiImportDate), 'yyyy-MM-dd')}\r\n \r\n \r\n {Created !== null &&\r\n format(new Date(Created), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {Finished !== null &&\r\n format(new Date(Finished), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n {UserPersonalName}\r\n \r\n )\r\n )}\r\n \r\n
\r\n {/* */}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(VmiRequests);\r\n","import React, { useEffect, useState, useCallback } from 'react';\r\nimport { Link } from 'react-router-dom';\r\n\r\nimport { actions } from '../../../state/actions';\r\nimport { connect } from 'react-redux';\r\nimport { Api } from './../../../api/api';\r\nimport { config } from './../../../api/config';\r\nimport { format } from 'date-fns';\r\n\r\nimport swal from 'sweetalert';\r\n\r\nimport {\r\n WithSpinner,\r\n InputWithTextInline,\r\n Button,\r\n TableAdmin,\r\n TableRow,\r\n TableCell,\r\n} from '../../../components';\r\n\r\nconst AdditionalRequests = ({ loading }) => {\r\n const [notValid, setNotValid] = useState(false);\r\n const [companyCode, setCompanyCode] = useState('');\r\n const [isLoading, setIsloading] = useState(false);\r\n const [list, setList] = useState([]);\r\n\r\n const tableHeader = [\r\n 'Įmonės kodas',\r\n 'Įmonės pavadinimas',\r\n 'Vadovas',\r\n 'Vadovauja nuo',\r\n 'Užklausos data',\r\n 'Atsakymo data',\r\n 'Užklausą vykdė',\r\n ];\r\n\r\n const renewList = () => {\r\n setIsloading(true);\r\n\r\n fetch(Api.API_BASE_URL + config.API_ENDPOINTS.GetJarManagerChecks, {\r\n method: 'GET',\r\n credentials: 'include',\r\n })\r\n .then((res) => {\r\n if (res.ok === true) {\r\n console.log(res);\r\n res.json().then((r) => {\r\n setList(r);\r\n });\r\n } else {\r\n swal({\r\n title: 'Klaida',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n\r\n setNotValid(false);\r\n };\r\n\r\n const check = () => {\r\n setNotValid(true);\r\n if (companyCode.length === 9) {\r\n setIsloading(true);\r\n\r\n fetch(\r\n Api.API_BASE_URL + config.API_ENDPOINTS.RecheckJarManager(companyCode),\r\n {\r\n method: 'POST',\r\n credentials: 'include',\r\n }\r\n )\r\n .then((res) => {\r\n if (res.ok === true) {\r\n renewList();\r\n swal({\r\n title: 'Papildoma JAR užklausa sėkmingai įvykdyta',\r\n icon: 'success',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn btn-pink',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n } else {\r\n swal({\r\n title: 'Užklausa į JAR buvo nesėkminga',\r\n icon: 'error',\r\n buttons: {\r\n confirm: {\r\n text: 'Gerai',\r\n value: true,\r\n visible: true,\r\n className: 'btn swal-ok-btn',\r\n closeModal: true,\r\n },\r\n },\r\n });\r\n }\r\n })\r\n .catch((err) => {\r\n console.log('catch block');\r\n console.log(err);\r\n })\r\n .finally(() => {\r\n setIsloading(false);\r\n });\r\n\r\n setNotValid(false);\r\n }\r\n };\r\n useEffect(() => {\r\n renewList();\r\n }, []);\r\n return (\r\n \r\n
\r\n \r\n VMI užklausos\r\n \r\n\r\n \r\n \r\n JAR užklausos\r\n \r\n \r\n
\r\n
\r\n

Papildomos JAR užklausos

\r\n\r\n \r\n\r\n \r\n
\r\n setCompanyCode(e.target.value)}\r\n value={companyCode}\r\n placeholder={'Įmonės kodas'}\r\n disabled={false}\r\n />\r\n {notValid && companyCode.length !== 9 && (\r\n \r\n * įmonės kodas turi būti sudarytas iš 9 skaitmenų\r\n

\r\n )}\r\n
\r\n check()}\r\n >\r\n Papildoma JAR patikra\r\n \r\n
\r\n
\r\n

Užklausų į JAR sąrašas

\r\n \r\n {list.map(\r\n ({\r\n Id,\r\n ResponseCreatedAt,\r\n CompanyCode,\r\n CompanyName,\r\n ManagerName,\r\n AppointedAt,\r\n CreatedAt,\r\n UserName,\r\n }) => (\r\n \r\n {CompanyCode}\r\n {CompanyName}\r\n {ManagerName}\r\n \r\n {AppointedAt !== null &&\r\n format(new Date(AppointedAt), 'yyyy-MM-dd')}\r\n \r\n \r\n {CreatedAt !== null &&\r\n format(new Date(CreatedAt), 'yyyy-MM-dd HH:mm:ss')}\r\n \r\n \r\n {ResponseCreatedAt !== null &&\r\n format(\r\n new Date(ResponseCreatedAt),\r\n 'yyyy-MM-dd HH:mm:ss'\r\n )}\r\n \r\n {UserName}\r\n \r\n )\r\n )}\r\n \r\n
\r\n {/* */}\r\n \r\n
\r\n );\r\n};\r\n\r\nconst mapStateToProps = (state) => ({\r\n loading: state.dashboardState.isOnSync,\r\n});\r\n\r\nexport default connect(mapStateToProps)(AdditionalRequests);\r\n","import React from 'react';\r\nimport { Route, Redirect } from 'react-router-dom';\r\nimport { config } from '../../api/config';\r\nimport Home from './../../pages/home/home';\r\nimport Main from './../../pages/main/main';\r\nimport Requests from '../../pages/requests/requests';\r\nimport Projects from '../../pages/requests/projects';\r\nimport Authorization from '../../pages/autorization/autorization';\r\nimport Representative from '../../pages/autorization/representative';\r\nimport TurnoversFiles from './../../pages/backoffice/TurnoversFiles';\r\n\r\nimport Backoffice from './../../pages/backoffice/backoffice';\r\nimport LoginReload from './../../pages/loginReload/loginReload';\r\nimport NewRequest from '../../pages/newRequest/newRequest';\r\nimport NewRequest2 from '../../pages/newRequest/newRequest2';\r\n\r\nimport BackofficeRequest from '../../pages/backoffice/request';\r\nimport BackofficeRequest2 from '../../pages/backoffice/request2';\r\n\r\nimport BackofficeStats from '../../pages/backoffice/stats';\r\nimport BackofficeAuthorization from '../../pages/backoffice/autorization/autorization';\r\nimport { connect } from 'react-redux';\r\nimport { removeLocalStorageItem } from '../../utils';\r\nimport PaymentRequestsList from '../../pages/paymentRequestsList/paymentRequestsList';\r\n//import BackofficePaymentRequestsList from '../../pages/paymentRequestsList/paymentRequestsList';\r\nimport PaymentRequest from '../../pages/paymentRequest/paymentRequest';\r\nimport PaymentDocument from '../../pages/paymentDocument/paymentDocument';\r\nimport VmiRequests from '../../pages/backoffice/vmiRequests/vmiRequests';\r\nimport { checkBOPage } from './../../utils/helpers/helpers';\r\nimport AdditionalRequests from '../../pages/backoffice/additionalRequests/additionalRequests';\r\n\r\nconst PrivateRoute = ({ location }) => {\r\n const path = location.pathname;\r\n const path2 = path.substring(0, path.lastIndexOf('/'));\r\n const path3 = path2.substring(0, path2.lastIndexOf('/'));\r\n const tokenstring = window.location.search;\r\n const token = window.localStorage.getItem('userToken');\r\n const backofficeToken = checkBOPage();\r\n\r\n if (backofficeToken) {\r\n if (path === config.APP_PATHS.main) {\r\n removeLocalStorageItem('token');\r\n }\r\n if (path === config.APP_PATHS.backofficeMain) {\r\n return ;\r\n } else if (\r\n path === config.APP_PATHS.backofficeRequest ||\r\n path2 === config.APP_PATHS.backofficeRequest\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (\r\n path === config.APP_PATHS.backofficeRequest2 ||\r\n path2 === config.APP_PATHS.backofficeRequest2\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (path === config.APP_PATHS.backofficeStats) {\r\n return ;\r\n } else if (path === config.APP_PATHS.backofficePaymentRequests) {\r\n return ;\r\n } else if (path === config.APP_PATHS.backofficePaymentRequest) {\r\n return ;\r\n } else if (path === config.APP_PATHS.backofficePaymentDocument) {\r\n return ;\r\n } else if (path === config.APP_PATHS.turnoversFiles) {\r\n return ;\r\n } else if (path === config.APP_PATHS.backofficeRepresentatives) {\r\n return ;\r\n } else if (path === config.APP_PATHS.vmiRequests) {\r\n console.log('here VmiRequests');\r\n return ;\r\n } else if (path === config.APP_PATHS.AdditionalRequests) {\r\n return ;\r\n } else if (\r\n path === config.APP_PATHS.backofficePaymentRequest ||\r\n path2 === config.APP_PATHS.backofficePaymentRequest\r\n ) {\r\n return (\r\n \r\n );\r\n }\r\n } else if (true) {\r\n if (path === '/') {\r\n return ;\r\n } else if (path === config.APP_PATHS.main) {\r\n return ;\r\n } else if (path === config.APP_PATHS.representative) {\r\n return ;\r\n } else if (path === config.APP_PATHS.requests) {\r\n return ;\r\n } else if (path === config.APP_PATHS.projects) {\r\n return ;\r\n } else if (path === config.APP_PATHS.authorization) {\r\n return ;\r\n } else if (path === config.APP_PATHS.newRequest) {\r\n return ;\r\n } else if (path === config.APP_PATHS.newRequest2) {\r\n return ;\r\n } else if (\r\n path === config.APP_PATHS.newRequest ||\r\n path2 === config.APP_PATHS.newRequest\r\n ) {\r\n return (\r\n \r\n );\r\n } else if (path === config.APP_PATHS.paymentrequests) {\r\n return ;\r\n } else if (path === config.APP_PATHS.paymentrequest) {\r\n return ;\r\n } else if (path === config.APP_PATHS.paymentDocument) {\r\n return ;\r\n }\r\n }\r\n if (path === config.APP_PATHS.vaiisis) {\r\n return ;\r\n } else if (tokenstring.length > 30) {\r\n // return null;\r\n return ;\r\n } else {\r\n return null;\r\n // return ;\r\n }\r\n};\r\n\r\nexport default connect()(PrivateRoute);\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\r\nimport { Header, Submenu, Footer } from './components';\r\n\r\nimport Guest from './layout/Guest/Guest';\r\nimport BackofficeLogin from './layout/BackOfficeGuest/BackOfficeGuest';\r\nimport PermissionDenied from './pages/permissionDenied/permissionDenied';\r\nimport About from './pages/about/about';\r\nimport Description from './pages/description/description';\r\nimport { actions } from './state/actions';\r\nimport { config } from './api/config';\r\nimport PrivateRoute from './utils/auth/privateRoute';\r\n\r\nconst Routes = ({ login, projects, dispatch }) => {\r\n // const token = window.localStorage.getItem('adminToken');\r\n const path = window.location?.pathname;\r\n const path2 = path.substring(0, path.lastIndexOf('/'));\r\n\r\n const token = window.localStorage.getItem('userToken');\r\n const adminToken = window.localStorage.getItem('token');\r\n const loggedIn = true\r\n ? path === '/' || path === '/login' || path === '/backofficelogin'\r\n ? false\r\n : true\r\n : false;\r\n const adminLoggedIn =\r\n adminToken != null\r\n ? path === '/' || path === '/backofficelogin' || path === '/login'\r\n ? false\r\n : true\r\n : false;\r\n\r\n const showSubmenu =\r\n path2 === '/main-window' ||\r\n path2 === '/main-window/requests' ||\r\n path2 === '/main-window/projects'\r\n ? true\r\n : false;\r\n\r\n useEffect(() => {\r\n if (projects == null && (loggedIn || adminLoggedIn)) {\r\n dispatch(actions.auth.getProjects());\r\n }\r\n }, [projects, dispatch, loggedIn, adminLoggedIn]);\r\n\r\n return (\r\n \r\n
\r\n {(loggedIn || adminToken) && (\r\n <>\r\n
\r\n {showSubmenu && }\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n {/* {loggedIn &&