{"version":3,"sources":["utils/index.js","reports/reportlist/CloseDealTable.js","layout/datatableConstants.js","apiUrlConstant.js","reports/reportlist/RevenueTableChargeReceipt.js","reports/reportlist/OutflowTable.js","reports/reportlist/RevenueTable.js","PreventClickjacking.js","SideMenu.js","masters/storeDirectory/UnitDetailTable.js","utils/utils.js","constants.js","masters/storeDirectory/UnitDetailMaster.js","masters/occupier/OccupierTable.js","masters/occupier/OccupierMaster.js","masters/occupier/OccupierCompanyTable.js","masters/occupier/OccupierCompanyDetails.js","masters/occupier/OccupierContactTable.js","masters/occupier/OccupierContactDetails.js","masters/landlordDirectory/LandlordTable.js","masters/landlordDirectory/LandLordMaster.js","masters/landlordDirectory/LandlordCompanyTable.js","masters/landlordDirectory/LandlordCompanyDetails.js","masters/landlordDirectory/LandlordContactTable.js","masters/landlordDirectory/LandlordContactDetails.js","masters/landlordDirectory/LandlordBankTable.js","masters/landlordDirectory/LandlordBankDetails.js","masters/brokerDirectory/LandlordTable.js","masters/brokerDirectory/LandLordMaster.js","masters/brokerDirectory/LandlordCompanyTable.js","masters/brokerDirectory/LandlordCompanyDetails.js","masters/brokerDirectory/LandlordContactTable.js","masters/brokerDirectory/LandlordContactDetails.js","masters/brandDirectory/OccupierBrandTable.js","masters/brandDirectory/OccupierBrand.js","masters/clientDirectory/ClientTable.js","masters/clientDirectory/ClientProfile.js","masters/clientDirectory/ClientAccessSetupTable.js","masters/clientDirectory/ClientAccess.js","masters/storeDirectory/ZoneTable.js","masters/storeDirectory/DemographicDetail.js","masters/storeDirectory/AssetDetailsTable.js","masters/storeDirectory/AssetDetail.js","masters/chargesMaster/UtilityChargesTable.js","masters/chargesMaster/UtilityCharges.js","masters/chargesMaster/OtherChargesTable.js","masters/chargesMaster/OtherCharges.js","masters/logicMaster/PropertyTaxLogicTable.js","masters/logicMaster/PropertyTaxLogic.js","masters/logicMaster/MarketingFundLogicTable.js","masters/logicMaster/MarketingFundLogic.js","masters/logicMaster/CamLogicTable.js","masters/logicMaster/CamLogic.js","masters/logicMaster/RentLogicTable.js","masters/logicMaster/RentLogic.js","masters/complianceDirectory/ComplianceTable.js","masters/complianceDirectory/ComplianceComponent.js","masters/clausesMaster/CommercialClausesTable.js","masters/clausesMaster/CommercialClauses.js","masters/taxation/TaxationTable.js","masters/taxation/List.js","masters/clausesMaster/LegalClausesTable.js","masters/clausesMaster/LegalClauses.js","masters/brandDirectory/ProductMasterTable.js","masters/brandDirectory/ProductMaster.js","utils/ViewLeaseDocumentViewer.js","layout/TopHeader.js","masters/budget/BudgetMasterTable.js","masters/budget/BudgetMaster.js","masters/prospect/prospectFieldMasterTable.js","masters/prospect/ProspectMaster.js","layout/BottomNav.js","masters/BreadcrumbsPage.js","masters/import/Import.js","masters/Masters.js","AuthService.js","login.js","user/UserResetPassword.js","user/UserForgotPassword.js","user/UserChangePassword.js","createLease/LeaseMenu.js","createLease/parties/LeaseLandlord.js","createLease/parties/LeaseOccupier.js","createLease/criticaldates/LeaseTermDetails.js","createLease/parties/LeaseBrokerDetails.js","createLease/criticaldates/LockInNoticePeriod.js","createLease/commercialDetails/RentalDetails.js","createLease/commercialDetails/OtherRentalDetails.js","createLease/commercialDetails/CamDetails.js","createLease/otherCharges/Utilities.js","createLease/otherCharges/MarketingFund.js","createLease/otherCharges/Property-Muncipal-Tax.js","createLease/otherCharges/Parking-Storage-Signage.js","createLease/securityDepositDetails/RentDepositDetails.js","createLease/securityDepositDetails/CAMDepositDetails.js","createLease/securityDepositDetails/OtherDepositDetails.js","utils/DocumentViewer.js","createLease/criticalClauses/CommercialClauses.js","createLease/criticalClauses/OtherClauses.js","createLease/criticalClauses/UploadDocument.js","viewLease/LeaseDetailsPopup.js","createLease/submitLease/AmendLeaseView.js","createLease/submitLease/TerminateLease.js","createLease/submitLease/MoreInfoComponent.js","createLease/leaseList/LeaseListingTable.js","createLease/leaseList/MarqueFilterComponent.js","createLease/leaseList/ProspectListingTable.js","createLease/prospect/Prospect.js","createLease/leaseList/ListingForm.js","createLease/prospect/ProspectDetail.js","viewLease/tabSection/RentalDetails.js","viewLease/tabSection/PartiesUnitDetails.js","viewLease/tabSection/OccupierBrandDetails.js","viewLease/tabSection/BrokerDetails.js","viewLease/tabSection/LeaseTermDetails.js","viewLease/tabSection/LockInNoticePeriod.js","viewLease/tabSection/CamDetails.js","viewLease/tabSection/Utilities.js","viewLease/tabSection/MarketingFund.js","viewLease/tabSection/PropertyTax.js","viewLease/tabSection/ParkingStorageSignage.js","viewLease/tabSection/RentDeposit.js","viewLease/tabSection/CamDeposit.js","viewLease/tabSection/OtherDeposit.js","viewLease/tabSection/UploadDocuments.js","viewLease/tabSection/CommercialClauses.js","viewLease/tabSection/OtherClauses.js","viewLease/tabSection/InvoiceValidationTab.js","viewLease/tabSection/LeaseInformation.js","viewLease/tabSection/OtherRentalDetails.js","viewLease/tabSection/LandlordCharges.js","viewLease/LeaseDetails.js","createLease/submitLease/SubmitLease.js","createLease/commercialDetails/Waiver.js","createLease/chargeType/RentCharge.js","createLease/CreateLease.js","amendLease/LeaseMenu.js","amendLease/parties/LeaseLandlord.js","amendLease/parties/LeaseOccupier.js","amendLease/criticaldates/LeaseTermDetails.js","amendLease/parties/LeaseBrokerDetails.js","amendLease/criticaldates/LockInNoticePeriod.js","amendLease/commercialDetails/RentalDetails.js","amendLease/commercialDetails/OtherRentalDetails.js","amendLease/commercialDetails/CamDetails.js","amendLease/otherCharges/Utilities.js","amendLease/otherCharges/MarketingFund.js","amendLease/otherCharges/Property-Muncipal-Tax.js","amendLease/otherCharges/Parking-Storage-Signage.js","amendLease/securityDepositDetails/RentDepositDetails.js","amendLease/securityDepositDetails/CAMDepositDetails.js","amendLease/securityDepositDetails/OtherDepositDetails.js","amendLease/criticalClauses/CommercialClauses.js","amendLease/criticalClauses/OtherClauses.js","amendLease/criticalClauses/UploadDocument.js","amendLease/leaseList/LeaseListingTable.js","amendLease/leaseList/ProspectListingTable.js","amendLease/prospect/Prospect.js","amendLease/leaseList/ListingForm.js","amendLease/prospect/ProspectDetail.js","amendLease/submitLease/SubmitLease.js","amendLease/chargeType/RentCharge.js","amendLease/CreateLease.js","viewLease/LeaseGraphPopup.js","viewLease/leaseList/LeaseListingTable.js","viewLease/leaseList/ListingForm.js","viewLease/LeaseDetailsContainer.js","viewLease/ViewLease.js","reports/ReportsSideMenu.js","reports/reportlist/LeaseDocumentTable.js","reports/reportlist/ReportsColumnSelectionView.js","reports/reportlist/LeaseListingTable.js","reports/reportlist/LeaseReport.js","reports/reportlist/LeaseLockinExpiryReport.js","reports/reportlist/LeaseExpiryReport.js","reports/reportlist/LeaseDocumentation.js","reports/reportlist/ListingForm.js","reports/reportlist/LeaseReportSalesForecast.js","reports/reportlist/LeaseReportSalesActual.js","reports/reportlist/LeaseReportSalesView.js","reports/reportlist/LeaseReportSalesComparison.js","reports/reportlist/LeaseSecurityDeposit.js","reports/reportlist/InputSecurityDeposit.js","reports/reportlist/SecurityDepositComparison.js","reports/reportlist/RevenueReport.js","reports/reportlist/ExpenseReport.js","reports/reportlist/MgWithRevenueReport.js","reports/reportlist/RevenueLockinReport.js","reports/reportlist/MgVsRevenueReport.js","reports/reportlist/EscalationReport.js","reports/reportlist/LeaseTracker.js","reports/reportlist/ComplianceTracker.js","reports/reportlist/FranchiseeReport.js","reports/reportlist/ClausesReport.js","reports/reportlist/LeaseReportSalesViewHorizonal.js","reports/reportlist/LeaseReportSalesComparisonHorizontal.js","reports/reportlist/StackingPlan.js","reports/reportlist/ChargeReceiptUpload.js","reports/reportlist/ChargeReceiptReport.js","reports/reportlist/FinanceInput.js","reports/reportlist/PaymentUploadForm.js","reports/reportlist/FinancePayment.js","reports/reportlist/FinanceReconciliation.js","reports/reportlist/OutflowReport.js","reports/reportlist/LeaseVoucherForecast.js","reports/reportlist/LeaseGiftVoucherActual.js","reports/reportlist/LeaseGiftVoucherView.js","reports/reportlist/VoucherMailConfirmationComponent.js","reports/reportlist/VoucherGcConfirmationComponent.js","reports/reportlist/GiftVoucherTable.js","reports/reportlist/GiftVoucherIssueComponent.js","reports/reportlist/CamActualizationActual.js","reports/reportlist/CamActualizationView.js","reports/reportlist/AcquisitionReport.js","reports/reportlist/ValuationReport.js","reports/reportlist/AssetManagementReport.js","reports/Reports.js","geojson.js","viewLease/LeaseSummary.js","invoiceValidation/InvoiceValidation.js","transaction/SideMenu.js","transaction/GenerateTransaction.js","transaction/InvoicePrint.js","transaction/InvoiceSend.js","transaction/ApproveTransaction.js","transaction/ApplyTransaction.js","transaction/debit/DebitComponent.js","transaction/credit/CreditComponent.js","transaction/receipt/General.js","transaction/receipt/Deposit.js","transaction/ledger/General.js","transaction/ledger/Deposit.js","transaction/Transactions.js","user/alerts/AlertsTable.js","user/alerts/Alerts.js","user/alerts/UserNotification.js","outflow/LeaseListingTable.js","outflow/listing.js","outflow/create.js","closeDeals/LeaseMenu.js","closeDeals/assetDetails/AssetDetails.js","closeDeals/acquisitionDetails/AcquisitionDetails.js","closeDeals/assetManagement/AssetManagement.js","closeDeals/valuation/ValuationTable.js","closeDeals/valuation/Valuation.js","closeDeals/LeaseListingTable.js","closeDeals/create.js","dashboard/charts/InventoryByCity.js","dashboard/charts/SummaryInventoryByCity.js","dashboard/charts/SummaryWeightedAvg.js","dashboard/charts/LeasedAreaYearWise.js","dashboard/charts/SummaryAreaLeased.js","dashboard/charts/SummaryAssetWiseAreaExpiry.js","dashboard/charts/InventoryByOwners.js","dashboard/charts/TransactionSizeWiseShare.js","dashboard/charts/LeasingInventory.js","dashboard/charts/RentalYearWiseSummary.js","dashboard/charts/CompanyPerformance.js","dashboard/charts/overviewComponent.js","dashboard/Index.js","dashboard/DashboardSideMenu.js","dashboard/Dashboard.js","leads/CommentAdd.js","leads/TaskAdd.js","leads/UpdateLeadStatus.js","leads/LeadStatusUpdate.js","Loader.js","leads/ReportColumn.js","leads/DashbordLead.js","leads/Dashboard.js","leads/SideMenu.js","leads/LeadAdd.js","leads/TaskList.js","leads/AttachmentAdd.js","leads/LeadDetails.js","leads/LeadEdit.js","leads/master/SubStageAdd.js","leads/master/SubStageEdit.js","leads/master/SubStage.js","leads/master/dropReason/Add.js","leads/master/dropReason/Lists.js","leads/Leads.js","user/MyProfile.js","App.js","reportWebVitals.js","index.js"],"names":["TOKEN_KEY","hasAccess","arr","arguments","length","undefined","userData","JSON","parse","localStorage","getItem","includes","role","clientAccess","clientId","getUserType","clientCategory","fileUploadPath","window","location","hostname","split","slice","join","getUserRole","getUserCategory","platform","charAt","toUpperCase","getUserStorageType","storageType","getLeadCategories","getLeadSubCategories","axios","method","url","apiUrl","then","response","data","generateRandomFilename","filename","ext","pop","randomString","Math","random","toString","substring","concat","numberFormat","value","floor","replace","capitalizeFirstLetter","string","getModules","modules","getDashboard","dashboard","getLeadStatus","TextField","styled","input","_templateObject","_taggedTemplateLiteral","ClearButton","button","_templateObject2","StyledCell1","styled1","div","_templateObject3","StyledCell","_ref","_jsx","FilterComponent","_ref2","filterText","onFilter","onClear","prm","handleGrid","DownloadFile","columnsList","_Fragment","children","type","onClick","className","RevenueTable","_ref3","asset","brand","formConfig","expiry_report","expiry_lockin_report","fetchUrl","showExport","setFilterText","React","useState","resetPaginationToggle","setResetPaginationToggle","setData","loading","setLoading","totalRows","setTotalRows","perPage","setPerPage","columns","setColumns","keyCounter","setkeyCounter","useEffect","fetchLeaseData","conditionalRowStyles","when","row","toggleSelected","style","backgroundColor","userSelect","subHeaderComponentMemo","useMemo","Object","entries","map","_ref4","key","val","e","target","handleClear","async","pageCnt","page","_ref5","console","log","get","updatedData","item","srNo","total","eval","gridColumns","round","handlePageChange","_ref6","href","handlePerRowsChange","newPerPage","_ref7","handleRowClicked","id","getCssClass","DataTable","customStyles","datatableOptions","customStyle","progressPending","pagination","paginationServer","paginationTotalRows","onChangeRowsPerPage","subHeader","subHeaderComponent","onChangePage","paginationComponentOptions","paginationOptions","rowsPerPageText","header","minHeight","headRow","borderTopLeftRadius","borderTopRightRadius","textAlign","headCells","color","position","justifyContent","content","background","bottom","right","height","width","rows","fontWeight","borderTop","borderBottomStyle","cells","process","showReceipt","setShowReceipt","paymentData","setPaymentData","updatedColumns","column","name","toLowerCase","cell","selector","handleRentClick","visibleColumns","filter","visible","leaseId","error","closeReceiptModal","_jsxs","Modal","show","onHide","Header","closeButton","Title","Body","payment","index","date","Date","receipt_date","String","getDate","padStart","getMonth","getFullYear","amount","OutflowTable","PreventClickjacking","self","top","document","body","innerHTML","SideMenu","Component","constructor","state","openMenu","this","props","activeKey","renderDropdowns","match","dropdowns","push","Dropdown","eventKey","title","Item","componentClass","Link","to","onSelect","setState","path","render","Sidenav","openKeys","onOpenChange","Nav","withRouter","fetchAssetsDetails","placeholder","onChange","FontAwesomeIcon","icon","faSearch","Table","assetId","fetchAssetsId","setAssetID","fetchUnits","sortable","wrap","created_by","created_at","grow","record","faPen","getToDate","fromDate","days","months","years","toDate","moment","add","subtract","format","PopupMessage","Popup","open","close","dangerouslySetInnerHTML","__html","redirectAfterSave","InfoPopupMessage","infoClose","infoOk","ChartPopup","leaseDateFormat","dateFormat","exceldataFormate","res","excelData","i","x","points","axis","label","legend","datapoints","y1","y2","y3","y4","y5","piexceldataFormate","xTitle","yTitle","y","unitTypeConstant","unitStatusConstant","electricityLoadDeposit","airConditioingLoadDeposit","meterDeposit","electricityBasisUnitsGridRate","waterBasisUnitsBoard","gasBasisUnitsGasBank","hvacBasisFlatUnitRate","hvacBasisBtuUnitRate","extraHoursChargesBasisFlatRate","horticultureChargesFlatRate","storageFitoutDeposit","pTaxRate","pTaxActual","floorOptions","periodOneMileStoneNames","periodOneLandlordMileStoneNames","periodOtherMilestoneNames","headers","Authorization","UnitDetailMaster","componentDidMount","fetch","json","LandlordGroups","catch","unitTypes","assetNameValues","super","subAssetNameValues","popupContent","messsagePopup","delete","clientList","tower","unitStatus","unitNumber","showPopupFloor","redirect","isSearchable","isClearable","floorImage","cropperRef","createRef","initialValues","groupId","unitId","groupName","clientName","assetName","subAssetName","unitType","unitTypeId","usableArea","grossLeasableArea","carpetArea","loadingPercent","efficiencyPercent","carpetAreaSqMt","usableAreaSqMt","grossLeasableAreaSqMt","compliance_count","compliance_percent","assetCompliance","availability","unitOwnership","buyerName","soldName","soldAmount","isCoWorking","efficiencyOnUsableArea","totalSeatUsable","efficiencyOnBillableArea","totalSeatBillable","parking","fourWheelerParkingDetail","twoWheelerParkingDetail","otherWheelerParkingDetail","totalFourWheelerParking","totalTwoWheelerParking","totalOtherParking","changeAsset","changeSubAsset","subAssetId","changeFloor","newValue","values","groupEnd","image","handleChangeUnitType","handleChangeLandlordGroup","actionMeta","group","complianceList","ths","count","percent_count","onImageChange","preventDefault","files","reader","FileReader","onload","result","readAsDataURL","getCroppedImage","cropper","croppedCanvas","croppedImageUrl","current","getCroppedCanvas","toDataURL","redirectToDelete","success","redirectAfterEdit","checkDelete","componentDidUpdate","params","athis","toFixed","subAssets","towers","calculateCarpetSqMt","sqMeter","calculateUsableSqMt","isNaN","calculateGrossSqMt","calculateUsableSqFt","sqFt","calculateCarpetSqFt","calculateGrossSqFt","Redirect","renderForm","faChevronRight","Formik","enableReinitialize","onSubmit","actions","setSubmitting","setErrors","errors","touched","handleChange","handleBlur","handleSubmit","isSubmitting","Form","autoComplete","Select","classNamePrefix","options","group_name","ErrorMessage","component","client_name","Field","as","defaultValue","obj","asset_name","sub_asset_name","currentTarget","selectedIndex","getAttribute","coworking","is_coworking","tower_name","CreatableSelect","unit_type","onBlur","parseInt","gridTemplateColumns","Array","from","_","_values$fourWheelerPa","_values$twoWheelerPar","_values$otherWheelerP","src","xmlns","viewBox","fill","d","accept","Cropper","initialAspectRatio","aspectRatio","guides","viewMode","dragMode","ref","compliance_datatype","disabled","fetchUsers","OccupierMaster","occupierGroups","countries","fillCorrespondenceAddress","correspondenceAddress","registeredAddress","correspondenceStates","states","correspondenceCities","cities","correspondenceDistricts","districts","correspondenceCountry","registeredCountry","correspondenceState","registeredState","correspondenceDistrict","registeredDistrict","correspondenceCity","registeredCity","correspondencePincode","registeredPincode","popupalertMessage","popupMessageContent","companyName","companyCode","companyId","openModal","isOpen","closeModal","changeGroup","groupid","changeCountry","countryid","changeCorrespondenceCountry","changeState","stateId","changeCorrespondenceState","changeDistrict","districtId","changeCorrespondenceDistrict","changeCompany","registeredStates","registeredDistricts","registeredCities","redirectToClose","alert","companyType","companyPan","companyTan","companies","company_name","country_name","state_name","district_name","city_name","OccupierCompanyDetails","clientGroups","vendorCode","cgroupId","cgroupName","tenantSector","company_code","company_type","company_tan","company_pan","handleChangeOccupierGroup","handleChangeclientGroup","readOnly","OccupierContactTable","OccupierContactDetails","contactName","contactNumber","contactEmail","contactDepartment","companyGroup","LandLordMaster","LandlordCompanyDetails","landlordGroups","landlordResidentialStatus","paycode","resStatusName","resStatusId","isVendor","handleChangeLandlordResStatus","LandlordContactTable","LandlordContactDetails","LandlordBankTable","LandlordBankDetails","display","readonly","brokerGroups","err","left","brandId","OccupierBrandTable","OccupierBrand","brandCategories","brandCategory","subcategoryId","brandName","brandSubCategories","subcategories","brandCategoryName","subCategoryName","changeCategory","changeSubCategory","reload","handleChangeAssetType","category_name","subcategory_name","fetchData","ClientDetail","assetTypes","unitSelected","moduleSelected","assetSelected","clientNameId","assetTypeId","handleFileStorageChange","storageTypeId","handleChangeModule","moduleId","handleTypeChange","functionTypeId","functionTypeLable","handleEditableChange","isLeasesEditableId","isLeasesEditable","handleChangeClientGroup","functionType","fileStorage","isMulti","asset_type","faTimes","validationRules","email","Yup","required","mobile","formValidationFields","shape","ClientAccessSetup","brandList","clientGroup","roleName","client_list","countryId","form_data","countryName","stateSelected","stateArr","citySeleted","cityId","cityArr","brandSelected","brandArr","cityList","brands","handleRoleChange","handleChangeCountry","stateName","cityName","valueChange","validator","SimpleReactValidator","autoForceUpdate","validationSchema","allValid","showMessages","message","closeMenuOnSelect","onInputChange","brand_name","disa1bled","DemographicDetail","zones","handleChangeZone","zoneId","handleChangeState","stateIds","circleName","zone_name","CommercialClausesTable","modalIsOpen","setIsOpen","setAssetId","showAssetBox","towerId","faInfoCircle","size","UnitTable","AssetDetail","showPopupAsset","showPopupTower","showPopupToc","assets","assetType","subAsset","assetImage","towerImage","tocImage","logoImage","cropperTowerRef","cropperTocRef","cropperLogoRef","region","towerName","latiTude","longiTude","pinCode","ownershipType","officeArea","structure","retailsArea","floorPlateRange","assetDesc","remCode","showPopupLogo","removeImage","handleChangeAsset","selectedAsset","toc_image","logo_image","desc","handleChangeSubAsset","getCityId","district","Accordion","CKEditor","editor","ClassicEditor","onReady","event","getData","onFocus","NaN","TableComponent","logicId","UtilityChargesTable","UtilityCharges","utility_charges_logic_name","effective_from","utility_charges_logic_formula","OtherChargesTable","OtherCharges","other_charges_logic_name","other_charges_logic_formula","PropertyTaxLogicTable","PropertyTaxLogic","property_tax_logic_formula","property_tax_logic_name","MarketingFundLogicTable","MarketingFundLogic","marketing_fund_logic_name","marketing_fund_logic_formula","CamLogicTable","CamLogic","cam_logic_name","cam_logic_formula","RentLogicTable","RentLogic","rent_logic_name","rent_logic_formula","ComplianceComponent","categoryList","compliance_type","category","category_id","handleChangeCategory","ComplianceTable","clauseId","CommercialClauses","clause_name","TaxationTable","List","rateTypes","chargeTypes","rateTypeId","rateTypeTitle","rate_type","chargeTypeId","chargeTypeTitle","charge_type","rate","LegalClausesTable","LegalClauses","productId","ProductMasterTable","ProductMaster","products","productName","remarks","changeProduct","validate","ViewLeasePdfReader","pageNumber","rotation","setRotation","numPages","setNumPages","pageNumberView","setPageNumber","changePage","offset","Number","handleRotate","Document","file","onLoadSuccess","el","Page","rotate","pdfjs","GlobalWorkerOptions","workerSrc","version","isUserPath","pathname","clear","TopHeader","userDetails","isManualOpen","handleLogout","onUserManualClick","fileURL","ele","createElement","click","pagePath","current_url","faBell","cursor","faBookOpen","profile_pic","trim","alt","stroke","BudgetMaster","assetlist","utilities","isDisabled","leasedArea","totalArea","vacantArea","dataList","keys","list","budgetingOn","budgetFrequency","budgetType","dt","addRatesRow","ind","month","getTowerDetails","handleChangeAssetName","leased_area","total_area","setMonth","monthInd","changeBudgetingOn","msg","removeRatesRow","element","splice","name1","index1","DatePicker","handleCalenderOnBlur","showMonthYearPicker","placeholderText","faPlus","BudgetMasterTable","ProspectMaster","categories","categoryId","categoryName","unitDetailsObject","find","isUser","BottomNav","NavLink","activeClassName","activeStyle","BreadcrumbsPage","faCogs","Import","onFileChange","selectedFile","onFileUpload","formData","FormData","append","importType","post","leaseSelected","formResponseData","forecasteDetails","forecast","actual","initialForecast","exportBtn","resetForm","Masters","_urlArray$parts$2$ope","_urlArray$parts$","_urlArray$parts$2$act","_urlArray$parts$2","useRouteMatch","parts","useLocation","urlArray","Switch","Route","BrokerMaster","BrokerCompanyDetails","BrokerContactDetails","TaxationMaster","logout","removeItem","getCurrentUser","loginForm","password","Login","showLoader","errorMessage","showAlert","setShow","setItem","stringify","user","backgroundImage","Alert","variant","onClose","dismissible","Heading","cpassword","oneOf","UserResetPassword","float","overflowY","overflowX","backgroundSize","backgroundPosition","resetToken","paramString","token","UserForgotPassword","old_password","showHeader","LeaseMenu","disableOption","urlAppend","propsMenu","propsActiveKey","leaseStatus","status","submitText","LeaseLandlord","mainFormValidator","submitDisable","vendor_code","clientGroupName","clientGroupId","popupData","index_val","assetNames","floors","unitDetails","clientNames","landlords","landlordCount","landlordAssetName","landlordAssetId","landlordSubAssetName","landlordSubAssetId","landlordTower","landlordFloor","landlordUnitNo","landlordUnitType","landlordUnitStatus","units","costCenter","notes_1","totalUsableArea","totalGrossLeasableArea","leaseCreationDate","selectedCompanies","changeLandlordGroup","companyGroupName","_landlords","handleAddUnit","setFieldError","getErrorMessages","forceUpdate","ownershipPercent","unit","thisUnit","unitNo","landlord","landlordCompanyName","landlordName","_units","resetUnit","handleRemoveRow","handleDelete","getLandlordUnitNo","bind","getLandlordUnitType","getLandlordUnitStatus","getLandlordownershipPercent","o","obj1","clients","subAssetNameValue","gstNumber","gst_code","gstState","gstStateCode","autoSelectGstState","getTotalUsableArea","getTotalGrossleasableArea","totalGrossleasableArea","changeClientGroup","getLandlordSubAssetName","getLandlordTower","getLandlordFloor","floorId","getGSTDetails","company_id","state_id","gst","landlordTabs","heads","Tab","invoiceBy","TabPanel","param","indexOf","some","carpet_area","usable_area","gross_leasable_area","unit_no","unit_status","min","max","a","Tabs","TabList","unitsOwnership","totalPercentage","scope","rowSpan","colSpan","unitPopup","LeaseOccupier","gstStates","members","franchiseeDetails","franchiseeGstStateCode","franchiseeGstState","occupiers","occupierCount","occupierChargeable","occupierMaxCharge","percentage_message","changeOccupier","_occupiers","changeChargeable","is_occupier_chargeable_label","is_occupier_chargeable","occupier_chargeable_percentage","checkPercentage","occupier_chargeable_percentag","changeBrandName","showFranchiseeDetails","nativeEvent","checkValue","cofoCheck","handleFranchiseeCityChange","franchiseeCityId","franchiseeCity","franchiseeStateId","franchiseeState","franchiseeDistrictId","districtArr","franchiseeDistrict","occupier","city_list","chargeableRemaining","leaseType","autoSelectFranchiseeGstState","occupierTabs","member","LeaseTermDetails","renewalTerms","totalRenewalTerms","fitoutEndDate","fitoutStartDate","fitoutPeriod","leaseCommencementDate","renewalCommencementDate","rentFreePeriodDays","rentFreePeriodMonths","rentCommencementDate","leaseTermYY","leaseTermMM","leaseTermDD","leaseExpiryDate","isLeaseRegistered","changeLeaseTerms","toAppend","addRenewalTerms","year","renewalNoticeDueDate","toRemove","getDateDiff","b","diff","calculateFitoutEndDate","calculateLeaseCommencementDate","leaseRegistrationDate","checkLeaseRegistrationDate","checked","calculateRentCommencementDate","calculateLeaseExpiryDate","calculateLeaseDeadEndDate","numberOfDays","numberOfMonths","numberOfYears","leaseDeadEndDate","leaseDocument","leaseDocumentDate","invoiceSingingDate","htmlFor","fitoutLetterDate","unitPossessionDate","term","_renewalTerms","renewalPeriodCommercialInput","LeaseBrokerDetails","additionalDetails","brokerGroup","brokerList","brokerageAmt","handleGroupChange","calculateFullAmt","setFieldValue","brokerageMonths","percentage","on_area","totalAmt","brokerage_logic","area","usable","carpet","gla","parseFloat","brokerId","uom","LockInNoticePeriod","landlordLockInLeaseDate","landlordLockInRentDate","lockInPeriodOccupier","lockInPeriodCount","lockInPeriodLandlordStartDate","lockInPeriodLandlordMM","lockInPeriodLandlordDD","lockInPeriodLandlordYY","terminationNoticePeriodMM","terminationNoticePeriodDD","toggleLandlordForm","toggleOccupierForm","lockinPeriodLandlordEndDate","fullLockInPeriodFlag","showLandlordForm","showOccupierForm","startDate","lockInApplicableForLandlord","lockInApplicableForOccupier","landlordLockInRenewalDate","lockInPeriodLandlordEndDate","calculateLockInEndDate","calculateOccupierLockInEndDate","lockInPeriodDD","lockInPeriodMM","lockInPeriodYY","lockInEndDate","lockInFromDate","changeLockInPeriodLandlord","changeLockInPeriodOccupier","lockInPeriod","lockInPeriodTabs","lockInPeriodLandlord","isChecked","terminationNoticePeriodLogic","RentalDetails","countError","isEdit","escalationIndex","disableBifurctaeUnit","totalGla","periodDurationDD","periodDurationYY","periodDurationMM","currentIndex","disableOnEdit","readOnEdit","revalue","showAddBtn","showForm","periodTermDD","periodTermMM","periodTermYY","renewalLeaseTermDD","renewalLeaseTermMM","renewalLeaseTermYY","period","rentalDetails","rentMinusCam","rentFitoutMinusCam","pureRevenueShareMinusCam","pureRevenueSalesShareMinusCam","pureRevenueProduct","pureRevenueSalesProduct","minimumGuaranteeRentPlusCam","minimumGuaranteeRentPlusFitout","minimumGuaranteeRentRevenueShareSalesRange","minimumGuaranteeRentRevenueShareProduct","minimumGuaranteeRentRevenueShareSalesRangeProduct","minimumGuaranteeRentRevenueShareMinimum","rentalLogic","rentalUom","rentDueDate","rentRate","rentRateTerm","onArea","rentFrequency","rentalLogicValue","rentalLogicText","minusCamPercent","revenueShareTerm","slabs","totalSlabs","showMinusCam","biFurcateRentVal","isUnitBifurcate","isRentAutocalculate","isRentCheckboxChecked","handleReset","_initialValues","hideMessages","autocalculateRent","confirm","calculateRent","currentValues","nextPeriodDateStart","_rentalDetails","currentPeriod","periodToDate","endDate","escalationPercent","periodStartDate","getTime","_currentValues","seatRate","seatCount","rentDueType","rentDueFrequency","fitoutUom","fitoutOnArea","fitoutRate","fitoutFrequency","fitoutRateTerm","addRentalDetails","resetRentalDetails","addSlabRow","percent","product","handleRentalLogicChange","_rentals","calculateTotalSeatAmount","seatTotalAmount","messages","formikRef","biFurcateRent","handleUnitOnChange","bifurcatedArr","editRental","slabNumber","getFromForNextSlab","total_gla","calculateToDate","calculateRentRate","fetchUnitDetails","total_sum","calculateEscalationPercent","str","innerRef","revenueShare","revenueShareFrequency","revenueShareDueDate","revenueShareReconcilitation","revenueShareApplicability","revenueShareReconciliation","friend","_slabs","slab","product_name","rentalPopup","rental","rentMinusCamPopup","rentPlusFitoutMinusCamPopup","pureRevenueShareMinusCamPopup","pureRevenueShareSalesRangeMinusCamPopup","pureRevenueShareProductMinusCamPopup","pureRevenueShareSalesRangeProductMinusCamPopup","minimumGuaranteeRentPlusCamMinusCam","minimumGuaranteeRentPlusFitoutRevenueShareMinusCam","minimumGuaranteeRentRevenueShareSalesMinusCam","minimumGuaranteeRentRevenueShareProductMinusCam","minimumGuaranteeRentRevenueShareSalesProductMinusCam","minimumGuaranteeRentOrRevenueShareMinusCam","OtherRentalDetails","deleteKey","otherRentalType","updatedSlabs","CamDetails","applicableValue","showCamActalization","showCamCapped","camDetails","camBasisRate","camBasisPureRevenueShare","camBasisPureRevenueShareSalesRange","camBasisPercentofRent","camLogic","camUom","camDueDate","camRate","camRateTerm","camFrequency","camLogicValue","camLogicText","rentUom","percentageofRent","camActualizationPeriod","toggleCamForm","showCamForm","_camDetails","camDueType","camDueFrequency","camActualization","camActualizationBasis","camCapped","camCappedUom","camCappedRate","camCappedRateTerm","addCamDetails","resetCamDetails","hadleCamLogicChange","text","_cam","applicableValidator","changeCamActualization","changeCamCapped","editCam","camApplicable","camCappedOnArea","showCamActualization","camRentPercent","applicableRentPeriod","camPopup","cam","camBasisRatePopup","camBasisPureRevenueSharePopup","camBasisPureRevenueShareSalesRangePopup","camPaidAt","fontSize","Utilities","note_val","showFirstAddBtn","utilityRateUomValues","utilityLogic","utilityType","utilityUom","invoicePeriod","applicableFrom","applicableFromDate","dueDate","dueType","dueFrequency","rates","subCategoryTypes","addUtilityDetails","_utilities","utility","resetUtilityDetails","_mf","editUtility","loadUtilityUomValues","notes_7","faTrashAlt","utilityPopup","utilityDetailsPopup","MarketingFund","voucherTotalAmt","showMfCapped","marketingFundDetails","marketingFundBasisRate","marketingFundBasisPureRevenueShare","marketingFundBasisPureRevenueShareSalesRange","marketingFundBasisPercentofRent","marketingFundBasisVouchers","mfLogic","mfLogicText","mfUom","mfDueDate","mfRate","mfRateTerm","mfFrequency","mfCapped","mfCappedOnArea","voucherType","voucherTotalAmount","voucherAmount","voucherCount","voucherRate","toggleMfForm","addMfDetails","_marketingFundDetails","resetMfDetails","hadleMfLogicChange","showMfForm","changeMfCapped","editMf","marketingFundApplicable","calculateVoucherTotal","mfCappedUom","mfCappedRate","mfCappedRateTerm","mfPopup","mf","mfBasisRatePopup","mfBasisRatePureRevenueSharePopup","mfBasisRatePureRevenueShareSalesRangePopup","mfBasisPercentOfRentPopup","mfBasisVouchersPopup","mfDueType","mfDueFrequency","PropertyMuncipalTax","showRatesOnarea","disableOnActual","propertyTaxBasisValue","showPtaxCapped","propertyTaxDetails","pTaxLogicValues","propertyTaxBasisRate","propertyTaxBasisPureRevenueShare","propertyTaxBasisPureRevenueShareSalesRange","propertyTaxBasisPercentofRent","propertyTaxBasisVouchers","pTaxLogic","propertyTaxBasis","pTaxLogicValue","pTaxLogicText","pTaxUom","pTaxDueDate","pTaxRateTerm","pTaxFrequency","pTaxCapped","pTaxCappedOnArea","togglepTaxForm","addpTaxDetails","propertyTaxPayable","_propertyTaxDetails","resetpTaxDetails","showpTaxForm","hadlepTaxLogicChange","_pTax","getRatesFromForNextSlab","_showRatesOnArea","getpTaxLogicValues","changePTaxCapped","editProperty","ptaxCapped","pTaxCappedUom","ptaxCappedRate","ptaxCappedRateTerm","pTaxRentRate","pTaxPopup","pTax","pTaxBasisRatePopup","pTaxBasisActualPopup","pTaxBasisRatePureRevenueSharePopup","pTaxBasisRatePureRevenueShareSalesRangePopup","pTaxBasisPercentOfRentPopup","pTaxBasisVouchersPopup","pTaxRentUom","ParkingStorageSignage","escalationChargeType","showCharges","applicableValueStatic","keyvalue","countUnits","showParking","showStorage","showSignage","parkingStorageSignage","parkingCharges","parking2W","parking4W","parkingOther","pkgLogic","chargeType","chargeTypeText","rateTerm","frequency","strName","sngName","toggleParkingForm","showParkingForm","hadleOptionChange","_parkingStorageSignage","eventType","parkingDetails","addDetails","resetDetails","_rdd","editPkg","chargesApplicable","actualArea","pkgDueDate","freeParking","strDueDate","sngDueDate","pssPopup","pss","parkingPopup","storagePopup","signagePopup","rateType","periodOneMileStoneNamesArr","RentDepositDetails","milestoneVal","milestoneMonths","rdepTotalAmount","milestonesCount","milestones","milestoneNamesValues","rdepLogic","rentDepositNature","rateUOM","totalAmount","biFurcateLandlordCheckbox","rentDepositDetails","landlordList","landlordsPercentage","totalMilestoneAmount","previousAmount","milestoneType","_rentDepositDetails","lcd","_intialValues","milestoneName","milestonePercent","getDepositNature","editRd","milestoneQuantityType","calculateRdepAmount","totalCarpetArea","calculateEscalationPercentage","currentRecord","prevMonth","prevRecord","changeFieldName","changeMilestonePercentName","balanceAmount","calculateMilestoneAmount","biFurcateLandlord","reviseTotalAmt","currentMonths","newRate","rateVal","milestoneTabs","landlordPercentage","marginRight","class","rentDepositDetailPopup","rent","rentalDetailsPopup","CAMDepositDetails","cdepLogic","camDepositNature","camDepositDetails","toggleCdForm","showCdForm","currentAmount","_camDepositDetails","_cdd","camDepositApplicable","notes_12","editCd","calculateCdepAmount","camDepositDetailPopup","camDetailsPopup","OtherDepositDetails","odepMilestonePercent","depositRateUomValues","odepLogic","otherDepositName","depositNature","onUnits","other_deposit_type","otherDepositDetails","toggleOdForm","toggleOnUnit","toggleStorage","showArea","showOnArea","showOdForm","_otherDepositDetails","_odd","otherDepositApplicable","notes_13","getDepositName","editOd","monthsCount","calculateDepositAmount","otherDepositDetailPopup","otherDetailsPopup","PdfReader","leaseUploadDocumentDate","pageNo","documentUrl","commercialClausesDetails","commercialClauses","uploadedDocuments","uploadedDocumentNames","currentDocument","popupContentType","popupContentTypeDescription","commercialDetails","clauseName","details","documentName","addCommercialDetails","docSelected","leaseDocumentUrl","leaseDocumentType","_commercialClausesDetails","findIndex","lease_documents","notes_14","showDocumentDate","docType","formatDate","uploadDocType","_docs","OtherClauses","otherClausesDetails","otherClauses","otherDetails","addOtherDetails","_otherClausesDetails","notes_15","ReactS3Uploader","require","thisContext","formSubmitted","UploadDocument","showUploadDocument","fileName","documentType","fileSelected","leaseUploadDocumenURL","documentTable","documentNames","documentNamesAfterAdd","showUploadDocumentsError","fileError","uploadLocalFile","extension","handleFileSelect","allowedExtensions","onUploadFinish","myInputRef","getInputValue","inputValue","showFileUpload","changeDocumentName","now","onUploadStart","next","onUploadError","handleUpload","uploader","uploadFile","setTimeout","formikProps","signingUrl","signingUrlMethod","s3path","preprocess","onSignedUrl","onProgress","onUploadProgress","onError","onFinish","signingUrlWithCredentials","uploadRequestHeaders","contentDisposition","scrubFilename","server","inputRef","cmp","uploadInput","addEventListener","autoUpload","LeaseDetailsPopup","IsModalOpened","onCloseModal","leaseData","popupHeading","amendNumber","setPopupHeading","lease_code","cost_center","submitted_by","submitted_at","approved_by","approved_at","original_code","ammen_screens","terminated_by","terminated_at","AmendLeaseView","leaseCode","amendMenus","amendleaseId","feature","fillColor","weight","opacity","dashArray","fillOpacity","hidePopup","setFormSubmitted","checkedItems","option","setpopupMessageContent","setpopupalertMessage","history","link","borderRight","pageItem","today","TerminateLease","terminationEffectiveDate","effectiveDate","changeLandlord","landlordId","existing","currentMapping","currentLandlordMapping","termination_type","redirectToTerminate","landlordIds","landloardSelected","currentLandlord","initialValuesArr","resetCounter","loadLeaseCountStatuswise","formatedDate","selected","maxDate","newLandlords","faEye","MoreInfoComponent","marque_status","marqueStatus","dispute_status","desputeStatus","removeLease","del_message","confirmAlert","buttons","DeleteBtn","LeaseListingTable","marque","dispute","setLeaseId","setCostCenter","setDesputeStatus","setMarqueStatus","popupKey","setpopupKey","openFromParent","setChecked","disput_show","setDisputShow","renewShow","setRenewalShow","extendShow","setExtendShow","terminateShow","setTerminateShow","setAmendMenus","renewList","setRenewalList","extendList","setExtendList","setLeaseCode","costCenterNo","setcostCenterNo","setSelectedFile","leaseTerminationOption","setLeaseTerminationOption","termYear","setTermYear","termMonth","setTermMonth","termDay","setTermDay","start_date","setStartDate","end_date","setEndDate","commertials","setCommersials","setUnitStatus","setRemarks","termination_settlement","setTerminationSettlement","leaseTerminationOptionVal","setLeaseTerminationOptionVal","showTerminateBox","showExtendlBox","renewal_start","commersials","leaseDetails","showRenewalBox","disputShow","handleShow","calculateStarEndDate","day","Toggle","Menu","editable","faCalendarCheck","faSyncAlt","handleTerminateClose","handleExtendClose","isActive","Footer","handleRenewClose","handleClose","handleDisputClose","MarqueFilterComponent","desputeChecked","setDesputeChecked","resetMarque","resetDispute","ProspectListingTable","isDropped","prospectObj","project_id","broking_by","broking_type","broker_name","address","agreement_type","automated_daily_sales_report_adsr","cam_charges","cam_commencement_date","cam_escalation","cancellation_and_termination","confidentiality","delay_in_commencement_licensee","delay_in_scheduled_date_proposed_licensee","eligibility_under_laws","escalation_on_monthly_lease_rental","extension_of_term_renewal_term","first_month_18th_month","franchisee_by_party2","governing_law_and_jurisdiction","gst_and_other_taxes_surcharges_levies_etc","handover_date","ifrm_sd_amount","ifrm_sd_cam_deposit_escalation","ifrm_sd_cam_deposit_for_company_name","ifrm_sd_instalment_1","ifrm_sd_instalment_2","ifrm_sd_instalment_3","ifrm_sd_months","ifrm_sd_payment_schedule","ifrm_sd_rate","ifrsd_amount","ifrsd_months","ifrsd_payment_schedule","ifrsd_rate","ifrsd_rent_deposit_escalation","ifrsd_rent_deposit_for_company_name","industry_of_party2","instalment_1","instalment_2","instalment_3","insurance","lease_commencement_date","lessee","lessor","lock_in_period_for_party_2","loi_issue_date","monthly_fixed_rental_or_revenue_share","monthly_lease_rental_logic_basis","monthly_lease_rental_rent_commencement_date","monthly_variable_rental_revenue_share","nature_of_party2","other_charges_for_the_permitted_business","party_2_details","party_2_kyc_details","payment_mechanism_charges","pre_fit_out_handover_requirements","property_tax","rent_free_fit_out_period_from_handover_date","representations_and_warranties","signage","stamp_duty_and_registration_charges","super_area","to_be_completed_by_party1","to_be_completed_by_party2","unit_details","utility_charges_commencement_date","validity_of_loi","Prospect","prospectFields","unitLists","unitListSelected","unitListSelectedValue","prospectInitialValues","changeUnitAsset","fetchAsset","fetchProspectFields","unit_lists","forEach","onReset","isArray","defaultActiveKey","section","form_fields","topSection","topIndex","sub_title","fields","field","additional_info","LeaseListing","showProspect","limit","statusCount","selectedBrand","selectedStatus","randomNum","activeIndex","showMarqueComponent","loadAssets","loadBrands","goToCreateLease","checkCreateLimit","goToProspect","Button","prospect","dropped","draft","approval","cx","cy","r","active","expired","terminated","fnf","Schema","alertName","alertText","reportId","frequencySelected","allData","isProcessing","taintedFields","showMailLoader","newid","toCamelCase","submitForm","isModalOpen","buttonRef","fetchProspect","setColorLogicForFields","dataIndex","taintedFieldsObj","key2","key3","cloneProspect","downloadProspect","closeProspect","sendProspect","emails","textTransform","ReactMultiEmail","onKeyPress","_emails","getLabel","removeEmail","waiverDetails","rentalUnitData","revenueShareDueType","revenueShareDueFrequency","padding","rentalNotes","basic","marginTop","margin","paddingTop","paddingBottom","PartiesUnitDetails","landlordDetails","assetValue","subAssetValue","towerValue","companyGroupValue","companyNameValue","gstStateValue","landlordNotes","OccupierBrandDetails","occupierBrand","brandFullName","renewalType","companyFullName","franchiseeName","franchiseeResponseId","franchiseeGstNumber","franchiseeGstStateName","endtDate","franchiseePincode","registeredOffice","franchiseeCommission","agreementDate","commisionOnRegular","commisionOnEOSS","securityDeposit","stockCorrection","discountSharing","paymentBy","occupierNotes","BrokerDetails","brokerDetails","groupDetails","leaseTermDetails","leaseTermNotes","lockIn","lockInOccupier","terminationClause","lockInNotes","camDataApplicable","camNotes","utilitiesNotes","mfDetails","mfDataApplicable","mfNotes","PropertyTax","pTaxDetails","pTaxPayable","pTaxDueType","pTaxDueFrequency","pTaxNotes","parkingChargesApplicable","pkgDueType","pkgDueFrequency","strDueType","strDueFrequency","sngDueType","sngDueFrequency","parkingNotes","RentDeposit","rdNotes","CamDeposit","cdNotes","OtherDeposit","odNotes","UploadDocuments","uploadedDocs","leaseDocuments","currentDocumentURL","notes","InvoiceValidationTab","invoiceDetails","mgRateTotal","mgAmountTotal","netSalesTotal","rsTotal","rsAmountTotal","fitoutTotal","camTotal","netChargeTotal","invoiceAmountTotal","chargeDetails","chargeLogic","chargeLogicindex","varianceTotal","LeaseInformation","LandlordCharges","prevProps","border","marginBottom","landlord_name","LeaseDetails","otherRental","landlordChargeDetails","universalKeyParties","universalKeyOccupier","universalKeyBroker","universalKeyLease","universalKeyLockIn","universalKeyRental","universalKeyCam","universalKeyUtilities","universalKeyMf","universalKeyPtax","universalKeyPss","universalKeyRd","universalKeyCd","universalKeyOd","universalKeyFd","universalKeyCc","universalKeyOc","universalKeyInvoice","universalKeyLeaseData","selectedOption","showPartiesUnit","showOccupier","showBrokerDetails","showLeaseTerm","showLockIn","showRental","showOtherRental","showCam","showUtilities","showMarketingFund","showProperty","showRentDeposit","showCamDeposit","showOtherDeposit","showUploadedDocs","showCommercial","showOther","showInvoice","showInfo","showLandlordCharges","showLeaseData","getLeaseId","setAllDetails","selectedVal","notes_2","notes_3","notes_4","notes_5","notes_16","notes_6","notes_8","notes_9","notes_10","notes_11","leaseChecked","callToNextElement","nextindex","leaseMenus","nextItem","nextSelection","callToPreviousElement","faCaretLeft","faCaretRight","code","formType","landlordAdditionalDetails","SubmitLease","universalKey","currentSelection","reviewedOptions","reviewedCheck","counter","checkedLease","that","submitForApproval","leaseSummaryReviewed","submitForReject","paddingRight","faSave","faCheck","Waiver","RentCharge","vendor","vendorList","reduce","acc","landlord_id","existingCharges","percentageErr","tenant","contacts","tabList","tabItem","FieldArray","arrayHelpers","idx","onInput","test","sum","remove","faTrash","CreateLease","moduleName","ProspectDetail","ListingForm","menus","links","lastUrl","matchFound","mainKey","submenu","submenuKey","subKey","urlPath","is_dropped","prospectId","prospectFilterForm","city","prospectValidation","fitout_period","notice_period","lease_period","lockin_period","renewal_term","min_guarantee","revenue_share","rent_deposit","cam_deposit","cam_rate","marketing_fund","stamp_duty_by","exclusivity","assetTypeList","brandCategoryList","assetList","floorList","comparativeData","grossLeaseAreaFrom","grossLeaseAreaTo","rangeFrom","rangeTo","areaType","areaTypeValue","changeCity","changeAssetType","changeBrandCategory","fetchFloor","changeAreaType","complex","brand_category","gla_from","gla_to","faSearchPlus","faChevronCircleDown","faFileSignature","faCheckCircle","faExclamationTriangle","faTimesCircle","fiterFormData","ChartJS","register","LineController","CategoryScale","LinearScale","PointElement","LineElement","BarElement","Tooltip","Legend","formHeaders","chartOneOptions","chart","chartRentOptions","LeaseGraphPopup","fySelected","fianancialYears","chartOneData","chartRentData","loadLeaseRentData","fetchSalesData","loadLeaseSalesData","fyArr","Chart","chartType","legendToggle","modalGraphOpen","setGraphOpen","faChartBar","_this$props$match$par","_this$props$match$par2","LeaseDetailsContainer","ViewLease","revenueReportText","ReportsSideMenu","LeaseDocumentTable","monthsArr","ReportsColumnSelectionView","loadedColumns","reportType","report","setLoadedColumns","table","myArray","Map","handleOnDragEnd","destination","items","reorderedItem","source","setInputState","objIndex","setFrmValues","finalColumnList","DragDropContext","onDragEnd","Droppable","droppableId","provided","droppableProps","Draggable","draggableId","draggableProps","dragHandleProps","faCog","report_type","reportFilterForm","LeaseReport","initialiseAllData","brandListOptions","districtList","brandCatList","brandtypeList","brand_type_name","assetsList","landloardList","occupierList","selectedBrandNameOptions","assetTypeSelected","leaseTypes","brandCatId","brandtypeId","brandtypeName","LeaseStatusId","LeaseStatusName","landloardName","landloardId","OccupierName","occupierId","modelValue","modelId","getAssetsList","getAssetTypes","cust","action","setMasterPreValues","districtName","brandCatName","getAssetsListByBrand","getAssetsListByAssetType","occupierName","onChangeBrandName","brand_id","asset_id","form_config","clikekey","labels","LeaseLockinExpiryReport","modalShow","chartTwoOptions","barChartOnedata","barChartOneOptions","barChartTwoOptions","barChartTwodata","chartjsdata","chartjsoptions","leaseMonths","handleModalClose","showModal","pie_1","chartTwoData","pie_2","bar_1","bar_2","datasets","value2","borderColor","yAxisID","value1","responsive","interaction","mode","intersect","stacked","plugins","scales","grid","drawOnChartArea","vAxis","hAxis","seriesType","series","expiry_status","leaseMonthId","d1isabled","GChart","Bar","LeaseExpiryReport","_this$props$match$par3","LeaseDocumentation","leaseList","leaseDocumentTypeList","leaseDocumentTypeId","leaseNumber","anObjectMapped","faDownload","catId","cat_name","leaseValue","financialYear","dataUomId","uploadFromFrm","myfile","LeaseReportSalesForecast","leaseCommencementMonth","dataUOMName","lease_commencement_month","financialYearId","dateAsOn","lease_id","exportUrl","dataUOMId","formPostData","leaseName","grossLeasebleArea","periodFull","inputStatus","LeaseReportSalesActual","LeaseReportSalesView","selectedValue","setSelectedValue","formResponseData1","faFileExcel","rowData","rowIndex","forecast_gross_sale","forecast_net_sale","actual_gross_sale","actual_net_sale","variance","variance_gross_sale","variance_net_sale","financialYearOne","financialYearTwo","LeaseReportSalesComparison","financialYearIdOne","financialYearIdTwo","periodOne","periodTwo","LeaseSecurityDeposit","securityDepositName","securityDepositIds","initialDeposit","handleChangeDeposit","loader","milestone_amount","RevenueReport","chargeTypeSelected","landloardCompanyList","landloardCompanyName","landloardCompanyId","showFullHistory","onCalendarClose","minDate","bifurcase_unit_wise","ExpenseReport","MgWithRevenueReport","lockin","mg_revenue","frequencyChange","freqId","ComplianceTracker","FranchiseeReport","ClausesReport","clauseType","tableColumns","colKeys","col_keys","v","StackingPlan","toggleToActualSize","tenantNames","maxGla","stackingPlanData","selectedTowerId","getColour","downloadStack","toggelToActualSize","createLi","k","colorCode","_width","tenant_name","_tenantNames","rentString","max_gla","ReactTooltip","place","effect","multiline","ChargeReceiptUpload","cancelForm","ChargeReceiptReport","FinanceInput","DynamicForm","initialColumns","initialRows","setRows","textContent","setTextContent","handleSave","viewModal","is_highlighted","handleInputChange","updatedRows","finalNetAmount","handleFocus","FinancePayment","updalodData","PaymentUploadForm","FinanceReconciliation","OutflowReport","LeaseVoucherForecast","LeaseGiftVoucherActual","LeaseGiftVoucherView","VoucherMailConfirmationComponent","messageToShow","voucherId","fileAdded","activationStatus","mailConfirmationStatus","setMailActivation","VoucherGcConfirmationComponent","activationDate","gcStartDate","gcEndDate","setGcActivation","validityCount","removeVoucher","record_id","mailActivation","gcActivation","setValidityCount","setUOM","handleMailActivationClose","setHandleMailActivationClose","handleGcActivationClose","sethandleGcActivationClose","setCostCenterNo","setVoucherId","setMailConfirmationStatus","setCurrentDocument","setGcStartDate","setGcEndDate","mail_confirmation","showActivationBox","faEnvelopeOpenText","showGcActivationBox","start","end","validity_count","validity","gc_activation_date","gc_valid_till","GiftVoucherIssueComponent","landloardArr","assetArr","subAssetArr","towerArr","companyArr","tableTOShow","companyDetails","invoiceList","gcEndNumber","gcStartNumber","notesCount","datatableList","showStatusOption","tableCounter","handleCalculation","totalInvoiceAmount","net_charge_amount","valueChangeTower","valueChangeSubAsset","valueFrequencyChange","valueChangeChargeType","valueChangeOccupier","valueChangeCompany","valueChangeAsset","handleChangeChk","handleChangeLandlord","GiftVoucherTable","CamActualizationActual","AcquisitionReport","getAssetsListByAsset","AssetManagementReport","CloseDealTable","reports_list","LeaseReportSummary","path1","InputSecurityDeposit","SecurityDepositComparison","RevenueLockinReport","MgVsRevenueReport","EscalationReport","LeaseTracker","LeaseReportSalesViewHorizonal","LeaseReportSalesComparisonHorizontal","Outflow","CamActualizationView","ValuationReport","statesData","LeaseSummary","rightSideData","mapData","barChartData","lineChartData","center","zoomLevel","enlargeChart","chartData","chartkey","pinCounter","filterPage","changePin","pincodes","access","renderCharts","resetPage","onEachFeature","layer","on","properties","st_nm","state_code","stateData","latitude","longitude","zoom_level","classNames","MapContainer","zoom","scrollWheelZoom","TileLayer","attribution","GeoJSON","bounds","Marker","Icon","iconUrl","markerIconPng","iconSize","iconAnchor","total_lease","total_assets","gross_area","wale_months","waloe_months","lease_expire_3_months","chartArea","alignment","minValue","faExpandAlt","transform","nullable","InvoiceValidation","oldInvoiceData","invoiceOtherData","tableHeadingText","submitFormData","tableHeading","document_url","total_amt","invoiceAmount","nextValues","typeOfData","mg_rate","mg_amount","net_sales","revenue_amt","cam_amt","documents","document_name","Checkbox","handleClick","attr","netAmt","invoiceId","amtBeforeTax","invoiceFrequency","invoiceItemList","hsn_sac","countList","generated","draftCount","approveCount","applyCount","cancelCount","processDebitItems","processType","getInvoicesList","downlodFile","processInvoiceItems","approveInvoice","applyInvoice","cancelInvoice","rejectInvoice","dataset","invoiceListObj","uniqueKey","occupierid","amt","netamt","invoiceid","amtbeforetax","generateInvoice","selectAll","selectAllCheckboxes","isSelected","checkbox","prevState","checkboxes","net_amt","invoice_id","invoice_number","gst_rate","gst_amt","gross_amt","tds_rate","tds_amt","lists","cols","faPrint","sendInvoiceList","paginationRowsPerPageOptions","selectableRows","onSelectedRowsChange","selectedRows","pId","type_str","chargeAmount","chargeDescription","DebitComponent","getDebitList","pgNo","cdata","approveDebit","applyDebit","cancelDebit","rejectDebit","hsnCode","debitNumber","debitPeriod","CreditComponent","paymentInstrumentNo","applyOpenInvoiceSelected","financialInstitutionName","branchName","invoiceDescription","GeneralComponent","activeInvoiceList","disableInvoiceField","disableAdjustmentField","receiptModeSelected","receiptMode","applyOpenInvoice","openInvoiceNumberSelected","openInvoiceNumber","valueChangeOpenInvoice","adjustmentLogic","openInvoiceNumberId","valueChangeOpenInvoiceNumber","openInvoiceAmt","valueChangeReceiptMode","valueChangeAdjustmentLogic","transaction_type","transactionDate","open_invoice","transactionNumber","receipt_number","fromData","customPeriod","entryType","handleToCalenderOnBlur","getGridList","valuePeriodChange","valueChangeEntryType","exportReport","exportReportToPDF","chargePeriod","documentDate","documentNumber","documentDesc","bal","DepositComponent","ReceiptDeposit","GenerateTransaction","GeneralLedgerComponent","DepositLedgerComponent","InvoicePrint","InvoiceSend","columnsExpiry","columnsLockIn","columnsRent","AlertsTable","additionalParams","additionParams","selectStyles","Alerts","setValue","dropdownValue","BrandList","listItems","number","initialValuesAlertSettings","getLeaseExpiry","outerText","styles","weekLabel","weekId","faUndo","borderRadius","UserNotification","formUrl","fetchStates","fetchBrands","loadAlertsData","fetchRegion","_this","counter1","regionList","activeAlert","currentAlertStatus","currentFilterStatus","alertList","expiry","security","alertItems","regionName","regiontId","selectedStates","fetchLeases","downloadReport","loadAlertsList","openCreateModal","pauseAlert","settingId","lease_expiry_date","markAsDone","deleteAlert","editAlert","alertId","alert_name","alert_text","assetIdArr","brandIdArr","regionId","leaseIdArr","faFileExport","pause_status","mark_as_done","maxHeight","filterItem","sent_status","days_remaining","rx","strokeLinecap","strokeLinejoin","strokeWidth","region_name","deleteOutflow","outflowId","outflow_id","YearArr","OutflowComponentCreate","disableFields","formElements","filterShow","bifurcationStatus","outflow_type","sub_total","mark_up","sinking_fund","total_expense","messsageInfoPopup","setTotalExpense","postAllData","OutflowOpexType","otherDetailsArr","OutflowSubType","outflow","popupInfoContent","elements","subElement","subIndex","Fragment","subHead","subInd","AssetDetails","landAreaArr","premicesAreaArr","buildingAreaArr","carpetAreaArr","grossLeaseableAreaArr","deal_type","lessor_spv","lessor_type","lessee_tenant","land_area","premises_area","car_parking_no","two_wheeler_parking_no","building_area","gross_leaseable_area","recordId","homeRedirect","getalldeals","addLandAreaRow","other_data","removeLandAreaRow","AcquisitionDetails","construction_cost","net_purchase_price","purchase_price","gross_purchase_price","net_entry_yield","gross_entry_yield","acquisition_date","effective_date","sale_deed_date","AssetManagement","asset_status","fee","expiry_date","fee_on_basis","ValuationTable","deal_id","getValuationDetails","Valuation","asset_value","valuationMM","valuationYY","Deals","loadAssetDetails","setTableKey","tableKey","CloseDeals","InventoryByCity","inventoryByCity","xAxis","barThicknesS","chartOtions","downloadPdf","getElementById","domtoimage","toPng","canvas","pdf","jsPDF","imgProps","getImageProperties","pdfWidth","internal","pageSize","getWidth","pdfHight","addImage","save","superClass","maintainAspectRatio","ticks","autoSkip","font","drawBorder","boxWidth","boxHeight","usePointStyle","tooltip","enabled","searchTerm","assetVal","occupierVal","convertedData","data1","bgcolor","borderWidth","barThickness","stack","isLoad","JsonToExcel","btnClassName","Loader","SummaryInventoryByCity","SummaryWeightedAvg","LeasedAreaYearWise","ArcElement","SummaryAreaLeased","showPie","Doughnut","InventoryByOwners","inventoryByOwners","TransactionSizeWiseShare","LeasingInventory","leasingInventory","RentalYearWiseSummary","html2canvas","imgData","y6","y7","y8","y9","CompanyPerformance","companyPerformance","gradient","getContext","createLinearGradient","addColorStop","OverviewComponent","callbacks","tooltipItem","formattedValue","colors","clas","sName","Scatter","LeaseStatus","DashboardIndex","summaryData","analysisData","showFilter","tableAssetData","forceReset","handleOccupierChange","fetchAssetDetails","fetchAssetSummary","fetchTableAssetDetails","handleStatusChange","handleMainChange","filterColors","loadOptions","callback","arrayItem","faFilter","faPlay","AsyncSelect","defaultOptions","assetResult","inventoryResult","Leased","leaseResult","paddingLeft","rentalResult","occupierResult","areaLeased","cagr","vacantDetails","WeightedAvg","SummaryAssetWiseAreaExpiry","wale","DashboardSideMenu","faTable","Dashboard","CommentAdd","users","lead_id","leadId","onKeyDown","comment","faSpinner","TaskAdd","user_id","task","duedate","UpdateLeadStatus","stages","subStages","currentSubStages","stageSelectedLabel","subStageSelectedLabel","sub_stage","stage","sub_stage_id","showDropFlags","selectedDropReason","dropLists","per_page","drop_reason","originalLabel","winning_probability","LeadStatusUpdate","statusSelectedLabel","leadStatus","LoaderWrapper","setGridColumns","handleMergeAction","DownloadButton","LeadMasterTable","addSection","setAddSection","showTaskModal","setShowTaskModal","activeLeadId","setActiveLeadId","activeLeadStatus","setActiveLeadStatus","activeLeadSubStatus","setActiveLeadSubStatus","activeLeadSubStatusId","setActiveLeadSubStatusId","activeCurrentStatus","setCurrentStatus","showColumn","setShowColumn","reportColumns","setReportColumns","fetchLeads","tablekey","alignItems","stageData","sub_type","handleDownload","reportColumnsResponse","actionColumn","handleModal","modifiedColumns","lead_temperature","user_name","main_stage","main_sub_stage","lm_lead_sub_stage_id","closeTaskModel","onDataChange","backdrop","TaskAddComp","CommentSection","UpdateStatus","closeReportModel","statusOption","handleDataChange","newData","handleStatusFilterChange","leadType","leadSubtype","currentStatus","filterData","leadsDropdown","leads","LeadList","LeadAdd","tenantIndustriesList","tenantStatusList","leadSegmentList","requirementLists","stageLists","phoneNumerTypeLists","tenantStatus","tenantIndustries","first_name","last_name","phone_no","phone_no_type","isHotProspectFlag","actionType","errorMessages","selectedStage","selectedSubStage","subStageError","is_hot_prospect","flat","maxlength","tenant_industry","tenant_status","requirement_type","current_rent","insert","contact","area_type","requested_sqft_from","requested_sqft_to","target_price_from","target_price_to","statusOptions","TaskList","taskLists","statusFilter","editModalFlag","activeTaskId","activeTaskData","editType","clearFilter","fetchTasks","handleFilter","filterValue","debounce","statusValue","lm_leads_id","lead_title","reminder_date_time","due_date","char","created_on","textDecoration","task_id","update_type","description","AttachmentAdd","attachfileName","attachfileTitle","handleAttachmentSubmit","signedUrl","attachmentData","storage_type","LeadDetails","taskId","tasks","attachments","modalTitle","documentViewer","closeDocumentViewer","deleteAttachment","handleRedirect","request","getInitials","dateString","formatTime","hours","getHours","minutes","getMinutes","ampm","minutesStr","faEdit","reverse","lead_comments","leadSubStage","tags","reference_source","current_address","lease_expiry","current_area","targeted_markets","total_commission","my_split","createdBy","attachment","faFilePdf","AttachmentFile","redirectAfterSuccess","sequence","subStageLists","actieveId","modalForm","updated_on","AddSubStage","EditSubStage","Leads","DropReason","SubStageMaster","LeadEdit","MyProfile","profilePhoto","imageData","fullName","phone","country","pincode","creationDate","profileImageUrl","profilePic","fileBrowseHandler","URL","createObjectURL","uploadProfilePicture","folderUploadName","profileData","profile_url","filePath","deleteProfilePicture","App","Router","AmendLease","Reports","TransactionComponent","UserChangePassword","OutflowCreateComponent","OutflowComponent","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","csrf","Cookies","interceptors","use","config","Promise","reject","cookie","withCredentials","_response$data","_response$data2","ReactDOM","StrictMode"],"mappings":"2FACA,2jBAGA,MAAMA,EAAY,OAULC,EAAY,WAA8B,IAA5BC,EAAGC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC7B,IAAIG,EAAYC,KAAKC,MAAMC,aAAaC,QAAQV,IAChD,SAAIE,EAAIE,OAAS,GAAiB,MAAZE,GAAoBJ,EAAIS,SAASL,EAASM,SAG3C,oBAAPV,GAAoC,GAAdA,EAAIE,OAM5C,EACaS,EAAeA,KACxB,IAAIP,EAAYC,KAAKC,MAAMC,aAAaC,QAAQ,SAChD,OAAsB,MAAnBJ,EAASQ,UAAqC,KAAnBR,EAASQ,YAIjB,MAAnBR,EAASQ,UAAkBR,EAASQ,SAAU,EAIjD,EAESA,EAAWA,KACpB,IAAIR,EAAYC,KAAKC,MAAMC,aAAaC,QAAQ,SAEhD,OAD6B,MAAZJ,GAAgD,oBAArBA,EAASQ,SAA2BR,EAASQ,SAAW,CACrF,EAONC,EAAcA,KACvB,IAAIT,EAAWC,KAAKC,MAAMC,aAAaC,QAAQV,IAC/C,MAAsB,oBAAZM,GAAuC,MAAZA,GAC1BA,EAASU,cAER,EAGHC,EAAiBA,IACdC,OAAOC,SAASC,SAASC,MAAM,KAChBC,OAAO,GAAGC,KAAK,KAClB,IAMfC,EAAcA,KACvB,IAAIlB,EAAWC,KAAKC,MAAMC,aAAaC,QAAQV,IAC/C,MAAsB,oBAAZM,GAAuC,MAAZA,GAC1BA,EAASM,IAER,EAGHa,EAAkBA,KAC3B,IAAInB,EAAWC,KAAKC,MAAMC,aAAaC,QAAQV,IAC/C,MAAsB,oBAAZM,GAAuC,MAAZA,GAE1BA,EAASoB,SAASC,OAAO,GAAGC,cAAgBtB,EAASoB,SAASJ,MAAM,EAEnE,EAGHO,EAAqBA,KAC9B,IAAIvB,EAAWC,KAAKC,MAAMC,aAAaC,QAAQV,IAC/C,MAAsB,oB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iC,CAAC,eAAe,eAEjDC,GAA8B,CAAC,KAAK,eAEpCC,GAAuB,CAAC,YAAa,YAAY,eAEjDC,GAAW,CACf,0BACA,wCACA,oDACA,+BACA,+BAGIC,GAAa,CAAC,6BAEdC,GAAe,CACnB,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,2BACA,wBACA,2BACA,oBACA,oBACA,qBACA,oBACA,qBACA,oBACA,oBACA,sBACA,qBACA,qBACA,oBACA,uBACA,qBACA,yBACA,yBACA,wBACA,wBACA,0BACA,yBACA,yBACA,wBACA,2BACA,4BACA,2BACA,4BACA,2BACA,2BACA,6BACA,4BACA,4BACA,wBACA,2BACA,4BACA,2BACA,4BACA,2BACA,2BACA,6BACA,4BACA,4BACA,wBACA,0BACA,2BACA,0BACA,2BACA,0BACA,0BACA,4BACA,2BACA,2BACA,uBACA,0BACA,2BACA,0BACA,2BACA,0BACA,0BACA,4BACA,2BACA,2BACA,uBACA,0BACA,2BACA,0BACA,2BACA,0BACA,0BACA,4BACA,2BACA,2BACA,yBACA,4BACA,6BACA,4BACA,6BACA,4BACA,4BACA,8BACA,6BACA,6BACA,wBACA,2BACA,4BACA,2BACA,4BACA,2BACA,2BACA,6BACA,4BACA,4BACA,wBACA,0BACA,2BACA,0BACA,2BACA,0BACA,0BACA,4BACA,2BACA,2BACA,0BAGIC,GAA0B,CAC9B,gCACA,4BACA,4BACA,qDACA,iCACA,0BAGIC,GAAkC,CACtC,gCACA,4BACA,uBACA,qDACA,iCACA,0BAEIC,GAA4B,CAChC,eACA,eACA,eACA,eACA,gB,qBC3JF,MAAMC,GAAU,CACd,eAAgB,mBAChBC,cAAe,UAAYjV,aAAaC,QAAQ,UAElD,MAAMiV,WAAyBvP,IAAM2I,UAuEnC6G,oBAEEC,MAAM,GAAD5S,OAAIb,IAAOA,OAAOD,IAAG,4BAA4B,CAACsT,QAAO,KAC3DpT,MAAMC,GACEA,EAASwT,SAEjBzT,MAAME,IACL4M,KA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C,YAAYI,GACR+G,MAAM/G,GAAO,KA3LjBH,MAAQ,CACJyzF,MAAO,GACPsF,qBAAsB,CAClB,aACA,cACA,kBACA,cACA,sBACA,cACA,WACA,UACA,4BACA,wBACA,eACA,2BACA,aACA,MACA,gBACA,YACA,gBACA,YACA,mBACA,gBACA,aACA,YACA,mBACA,qBACA,eACA,qBACA,aACA,SACA,eACA,aACA,oBACA,oBACA,oBACA,YACA,mBACA,cACA,8BACA,WACA,eACA,aACA,YACA,cACA,qBACA,gBACA,YACA,SACA,cACA,0BACA,iBACA,8BACA,aACA,kBACA,qBACA,UACA,kBACA,mBACA,oBACA,wBACA,UACA,WACA,kBACA,uBACA,UACA,aACA,aACA,iCACA,cACA,qBACA,WACA,YACA,oBACA,cACA,UACA,iBACA,eACA,gBACA,YACA,QACA,gBACA,SACA,WACA,kBACA,aACA,YACA,YACA,YACA,0BACA,cACA,WACA,gBACA,cACA,QACA,iBACA,OACA,aACA,oBACA,kBACA,WACA,qCACA,kBACA,WACA,iBACA,qCACA,sBACA,aACA,aACA,cACA,8BACA,cACA,2BACA,4BACA,qBACA,6BACA,OACA,mBACA,qBACA,eACA,cACA,kBACA,QACA,eACA,kBACA,iBACA,UACA,aACA,sBACA,sBACA,qBACA,cACA,qBACA,iBACA,UACA,cACA,UACA,YACA,UACA,cACA,sBACA,YACA,kBACA,iBACA,2BAEJ5sE,WAAW,EACX6sE,iBAAkB,CAAC,WAAY,UAC/BC,gBAAiBtkG,cACjBukG,iBAAkB,GAClBC,WAAY,GACZC,oBAAqB,GACrBC,aAAc,GACdC,iBAAkB,GAClBlmF,QAAQ,EACRhM,aAAc,GACdC,eAAe,EACfC,QAAQ,EACRM,UAAU,EACVC,cAAc,EACdC,aAAa,EACb+e,gBAA2Cz1B,IAA/B8O,KAAKC,MAAMG,MAAMqM,OAAOhS,GACpCzH,IAAKC,IAAOA,OAAOD,IAAM,gBACzByH,QAAIvJ,EACJ8W,cAAe,CACXo0D,OAAQ,GACRC,SAAU,CAC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ACxBX,cAAA,OAAKc,UAAU,MAAKH,SAClBX,cAACquB,GAAkB,CACjB7wB,IAAKgN,KAAKF,MAAM84C,gBAChB90B,WAAY9jB,KAAKF,MAAMw4C,kBAOjC9iD,cAAC2N,EAAY,CACXE,KAAMrD,KAAKF,MAAMqH,cACjB/K,QAAS4D,KAAKF,MAAMoH,aACpBzD,kBAAmBzD,KAAKo9F,mBAMhC,EAGa97F,mBAAWs7F,IC7kBKtrG,aAAaC,QAAQ,SAGpD,MAAMqnG,WAAgB3hG,IAAM2I,UAwMxBC,YAAYI,GACR+G,MAAM/G,GAAO,KAxMjBH,MAAQ,CACJyzF,MAAO,GACPsF,qBAAsB,CAClB,aACA,cACA,kBACA,cACA,sBACA,cACA,WACA,UACA,4BACA,wBACA,eACA,2BACA,aACA,MACA,gBACA,YACA,gBACA,YACA,mBACA,gBACA,aACA,YACA,mBACA,qBACA,eACA,qBACA,aACA,SACA,eACA,aACA,oBACA,oBACA,oBACA,YACA,mBACA,cACA,8BACA,WACA,eACA,aACA,YACA,cACA,qBACA,gBACA,YACA,SACA,cACA,0BACA,iBACA,8BACA,aACA,kBACA,qBACA,UACA,kBACA,mBACA,oBACA,wBACA,UACA,WACA,kBACA,uBACA,UACA,aACA,aACA,iCACA,cACA,qBACA,WACA,YACA,oBACA,cACA,UACA,iBACA,eACA,gBACA,YACA,QACA,gBACA,SACA,WACA,kBACA,aACA,YACA,YACA,YACA,0BACA,cACA,WACA,gBACA,cACA,QACA,iBACA,OACA,aACA,oBACA,kBACA,WACA,qCACA,kBACA,WACA,iBACA,qCACA,sBACA,aACA,aACA,cACA,8BACA,cACA,2BACA,4BACA,qBACA,6BACA,OACA,mBACA,qBACA,eACA,cACA,kBACA,QACA,eACA,kBACA,iBACA,UACA,aACA,sBACA,sBACA,qBACA,cACA,qBACA,iBACA,UACA,cACA,UACA,YACA,UACA,cACA,sBACA,YACA,kBACA,iBACA,2BAEJC,iBAAkB,CAAC,WAAY,UAC/BC,gBAAiB,CAAC,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BJ,EAAO57F,QAAuB,cAAI,UAAYhV,aAAaC,QAAQ,SACnE2wG,EAAO57F,QAAQ,gBAAkBhV,aAAaC,QAAQ,cAG/C2wG,CACT,IAAG,SAAUnkG,GAEX,OAAOokG,QAAQC,OAAOrkG,EACxB,IAGAjL,IAAMkvG,aAAa7uG,SAAS8uG,KAAI,SAAU9uG,GAAW,IAADovG,EAM1BC,GAF1BhpG,QAAQC,IAAI,WAAYtG,GAEN,QAAhBovG,EAAGpvG,EAASC,YAAI,IAAAmvG,GAAbA,EAAeT,QAEhBxwG,aAAa66B,QAAQ,aAA2B,QAAfq2E,EAAErvG,EAASC,YAAI,IAAAovG,OAAA,EAAbA,EAAeV,MAClDtoG,QAAQC,IAAI,qBAGd,OAAOtG,CACT,IAAG,SAAU4K,GAaX,MAP+B,UAA5BhM,OAAOC,SAASozB,UAAgD,oBAAhBrnB,EAAM5K,UAAoD,MAA1B4K,EAAM5K,SAAS66B,SAEhG18B,aAAa+zB,QACbtzB,OAAOC,SAASozB,SAAW,UAItB+8E,QAAQC,OAAOrkG,EACxB,IAuBA0kG,IAASxhG,OACPzL,cAACyB,IAAMyrG,WAAU,CAAAvsG,SACfX,cAACsrG,GAAG,MAENthG,SAASitF,eAAe,SAM1B6U,I","file":"static/js/main.932ad8bf.chunk.js","sourcesContent":["\nimport axios from \"axios\";\nimport apiUrl from \"../apiUrlConstant\";\n\nconst TOKEN_KEY = 'user';\n\nexport const login = () => {\n // localStorage.setItem(TOKEN_KEY, 'TestLogin');\n}\n\nexport const logout = () => {\n localStorage.removeItem(TOKEN_KEY);\n}\n\nexport const hasAccess = ( arr = [] , param = '') => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if( arr.length > 0 && userData != null && arr.includes(userData.role) ) {\n return true;\n }else{\n if(typeof arr == \"undefined\" || arr.length == 0) {\n return true;\n }else{\n return false;\n }\n }\n}\nexport const clientAccess = ( ) => {\n var userData = JSON.parse(localStorage.getItem('user'));\n if(userData.clientId!=null && userData.clientId==100){\n return true;\n }\n \n if(userData.clientId!=null && userData.clientId >0){\n return false;\n }else{\n return true;\n }\n}\nexport const clientId = ( ) => {\n var userData = JSON.parse(localStorage.getItem('user'));\n var clientId = (userData != null && typeof userData.clientId != \"undefined\") ? userData.clientId : 0; \n return(clientId);\n}\nexport const isLogin = () => {\n return localStorage.getItem(TOKEN_KEY) ? true : false; \n}\n\n\nexport const getUserType = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n return userData.clientCategory;\n }\n return false;\n}\n\nexport const fileUploadPath = () => {\n var parts = window.location.hostname.split('.');\n var sndleveldomain = parts.slice(-0).join('.');\n return sndleveldomain + \"/\";\n}\n\n\n\n\nexport const getUserRole = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n return userData.role;\n }\n return false;\n}\n\nexport const getUserCategory = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n //return userData.platform;\n return userData.platform.charAt(0).toUpperCase() + userData.platform.slice(1);\n }\n return false;\n}\n\nexport const getUserStorageType = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n return userData.storageType;\n }\n return false;\n}\n\nexport const getLeadCategories = () => {\n return {\n 'active':\"Active Lead\",\n 'inactive':\"Inactive Lead\"\n };\n}\n\nexport const getLeadSubCategories = () => {\n return axios({\n method: \"get\",\n url: apiUrl.apiUrl.url + '/leads/get-substage-by-category',\n }).then(function (response) {\n return response.data.data;\n });\n\n // return {\n // \"Active Lead\":['Pitching','Planning','Site Visit','Proposal','Won'],\n // \"Inactive Lead\":['Junk','Lost']\n // };\n}\n\nexport const generateRandomFilename = (filename) => {\n const ext = filename.split('.').pop();\n const randomString = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);\n return `${randomString}.${ext}`;\n}\n\nexport const numberFormat = (value) => {\n return Math.floor(value).toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n}\n\nexport const capitalizeFirstLetter = (string) => {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\nexport const getModules = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n return userData.modules;\n }\n return false;\n}\n\nexport const getDashboard = () => {\n var userData = JSON.parse(localStorage.getItem(TOKEN_KEY));\n if(typeof userData != \"undefined\" && userData != null) {\n return userData.dashboard;\n }\n return false;\n}\n\nexport const getLeadStatus = () => {\n return ['cold','Dropped','hot','Leased','Warm','Query','Sold'];\n}","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo, faCog, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport styled1 from \"styled-components\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\nconst StyledCell1 = styled1.div`\n &.low {\n background: green !important;\n }\n &.medium {\n background: orange;\n }\n &.high {\n background: red !important;\n }\n`;\n\nconst StyledCell = ({ }) => (\n \n)\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, handleGrid, DownloadFile, columnsList }) => (\n <>\n\n {/* */}\n\n {/* */}\n \n {/* */}\n \n);\n\n//const RevenueTable = ({asset, brand, formConfig, expiry_report , expiry_lockin_report, fetchUrl, }) => {\nconst RevenueTable = ({ asset, brand, formConfig, expiry_report, expiry_lockin_report, fetchUrl, showExport }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [columns, setColumns] = useState([]);\n const [keyCounter, setkeyCounter] = useState(0);\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const conditionalRowStyles = [\n {\n when: row => row.toggleSelected,\n style: {\n backgroundColor: \"green\",\n userSelect: \"none\"\n }\n }\n ];\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n showExport={showExport}\n DownloadFile={DownloadFile}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n if (typeof response.data.data != \"undefined\" && response.data.data.length > 0) {\n\n const updatedData = response.data.data.map(item => {\n if (item.srNo !== item.srNo) {\n return item;\n }\n\n //item.assetName = eval(\"\"+item.assetName+\"\")\n\n console.log(item, \"asdasd\")\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n } else {\n setData(response.data.data);\n }\n\n\n setTotalRows(response.data.total);\n setColumns(eval(response.data.gridColumns))\n setkeyCounter(Math.round());\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n function DownloadFile() {\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url + '/close-deal/fetch-deal-details?' + prm + '&export=true'}`,\n data: {}\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n }\n\n\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n\n // const response = response.data.data.map(item => {\n // if (row.id !== item.id) {\n // return item;\n // }\n\n // return {\n // ...item,\n // toggleSelected: !item.toggleSelected\n // };\n // });\n\n //setData(updatedData);\n\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n const handleRowClicked = row => {\n console.log(row, \"row\");\n const updatedData = data.map(item => {\n if (row.id !== item.id) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n };\n\n function getCssClass(value) {\n if (value > 5000) return \"high\";\n else if (value > 500) return \"medium\";\n return \"low\";\n }\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n \n );\n};\nexport default RevenueTable;\n","import React from \"react\";\n\nconst datatableOptions = {\n paginationOptions: {\n rowsPerPageText: \"View\",\n },\n customStyle: {\n header: {\n style: {\n minHeight: \"56px\",\n },\n },\n headRow: {\n style: {\n backgroundColor: \"#005b9b\",\n borderTopLeftRadius: \"5px\",\n borderTopRightRadius: \"5px\",\n minHeight: \"45px\",\n textAlign: \"center\",\n },\n },\n headCells: {\n style: {\n color: \"#fff\",\n // borderRight: \"1px solid #fff\",\n position: \"relative\",\n justifyContent: \"center\",\n \"&::after\": {\n position: \"absolute\",\n content: \"\",\n background: \"#bbbbbb\",\n bottom: \"0\",\n right: \"0\",\n height: \"100%\",\n width: \"1.5px\",\n },\n },\n },\n rows: {\n style: {\n \"&:nth-child(odd)\": {\n backgroundColor: \"#e8e8e8\",\n },\n fontWeight: \"600\",\n borderTop: \"none\",\n \":not(:last-of-type)\": {\n borderBottomStyle: \"none\",\n },\n },\n },\n cells: {\n style: {\n \"&:(:after)\": {\n position: \"absolute\",\n content: '\"\"',\n background: \"#bbbbbb\",\n bottom: \"0\",\n right: \"0\",\n height: \"100%\",\n width: \"1.5px\",\n },\n justifyContent: \"center\",\n fontWeight: \"600\",\n position: \"relative\",\n },\n },\n },\n};\nexport default { datatableOptions };\n","import React from \"react\";\n\nconst apiUrl = {\n url: process.env.REACT_APP_API_URL,\n};\nexport default { apiUrl };\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport styled1 from \"styled-components\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { numberFormat } from \"../../utils/index\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst StyledCell1 = styled1.div`\n &.low {\n background: green !important;\n }\n &.medium {\n background: orange;\n }\n &.high {\n background: red !important;\n }\n`;\n\nconst StyledCell = ({ }) => (\n \n)\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, fetchUrl, showExport }) => (\n (typeof showExport == \"undefined\" || showExport) &&\n <>\n \n \n Download\n \n \n \n);\n\n//const RevenueTable = ({asset, brand, formConfig, expiry_report , expiry_lockin_report, fetchUrl, }) => {\nconst RevenueTable = ({ asset, brand, formConfig, expiry_report, expiry_lockin_report, fetchUrl, showExport }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [columns, setColumns] = useState([]);\n const [keyCounter, setkeyCounter] = useState(0);\n const [showReceipt, setShowReceipt] = useState(false);\n const [paymentData, setPaymentData] = useState([]); \n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const conditionalRowStyles = [\n {\n when: row => row.toggleSelected,\n style: {\n backgroundColor: \"green\",\n userSelect: \"none\"\n }\n }\n ];\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n showExport={showExport}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n if (typeof response.data.data != \"undefined\" && response.data.data.length > 0) {\n\n const updatedData = response.data.data.map(item => {\n if (item.srNo !== item.srNo) {\n return item;\n }\n\n //item.assetName = eval(\"\"+item.assetName+\"\")\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n } else {\n setData(response.data.data);\n }\n\n\n setTotalRows(response.data.total);\n if(eval(response.data.gridColumns)!==undefined) {\n //setColumns(eval(response.data.gridColumns));\n\n const gridColumns = response.data.gridColumns ? eval(response.data.gridColumns) : [];\n const updatedColumns = gridColumns.map((column) => {\n if (column.name.toLowerCase().includes(\"receipt\") ) {\n return {\n ...column,\n cell: (row) => (\n row[column.selector] > 0 ? (\n handleRentClick(row,column.name)}>\n {row[column.selector]}\n \n ) : row[column.selector]\n ),\n };\n }\n return column;\n });\n\n const visibleColumns = updatedColumns.filter(column => column.visible !== false);\n\n setColumns(visibleColumns);\n }\n \n\n setkeyCounter(Math.round());\n setLoading(false);\n };\n\n const handleRentClick = (row, column) => {\n try {\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url + '/charge-receipt/payment-list?lease_id=' + row.leaseId + '&month=' + column + '&type='+row.type}`,\n data: {}\n }).then(function (response) {\n setPaymentData(response.data.data); \n if(response.data.data.length > 0) {\n setShowReceipt(true);\n }\n });\n } catch (error) {\n console.error(\"Error downloading file: \", error);\n }\n \n };\n\n const closeReceiptModal = () => {\n setShowReceipt(false);\n }\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n\n // const response = response.data.data.map(item => {\n // if (row.id !== item.id) {\n // return item;\n // }\n\n // return {\n // ...item,\n // toggleSelected: !item.toggleSelected\n // };\n // });\n\n //setData(updatedData);\n\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n const handleRowClicked = row => {\n const updatedData = data.map(item => {\n if (row.id !== item.id) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n };\n\n function getCssClass(value) {\n if (value > 5000) return \"high\";\n else if (value > 500) return \"medium\";\n return \"low\";\n }\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n\n \n \n Receipt Details\n \n \n {paymentData && paymentData.length > 0 ? (\n \n \n \n \n \n \n \n \n \n {paymentData.map((payment, index) => {\n const date = new Date(payment.receipt_date);\n const formattedDate = `${String(date.getDate()).padStart(2, '0')}-${String(date.getMonth() + 1).padStart(2, '0')}-${date.getFullYear()}`;\n\n return (\n \n \n \n \n \n );\n })}\n \n
SrAmountDate
{index+1 }{numberFormat(payment.amount)}{payment.receipt_date}
\n ) : (\n

No payment data available.

\n )}\n
\n
\n \n );\n};\nexport default RevenueTable;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport styled1 from \"styled-components\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\nconst StyledCell1 = styled1.div`\n &.low {\n background: green !important;\n }\n &.medium {\n background: orange;\n }\n &.high {\n background: red !important;\n }\n`;\n\nconst StyledCell = ({ }) => (\n \n)\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, fetchUrl, showExport }) => (\n (typeof showExport == \"undefined\" || showExport) &&\n <>\n \n {/* \n \n */}\n \n Download\n \n \n \n);\n\n//const RevenueTable = ({asset, brand, formConfig, expiry_report , expiry_lockin_report, fetchUrl, }) => {\nconst OutflowTable = ({ asset, brand, formConfig, expiry_report, expiry_lockin_report, fetchUrl, showExport }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [columns, setColumns] = useState([]);\n const [keyCounter, setkeyCounter] = useState(0);\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const conditionalRowStyles = [\n {\n when: row => row.toggleSelected,\n style: {\n backgroundColor: \"green\",\n userSelect: \"none\"\n }\n }\n ];\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n showExport={showExport}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n if (typeof response.data.data != \"undefined\" && response.data.data.length > 0) {\n\n const updatedData = response.data.data.map(item => {\n if (item.srNo !== item.srNo) {\n return item;\n }\n\n //item.assetName = eval(\"\"+item.assetName+\"\")\n\n console.log(item, \"asdasd\")\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n } else {\n setData(response.data.data);\n }\n\n\n setTotalRows(response.data.total);\n setColumns(eval(response.data.gridColumns))\n setkeyCounter(Math.round());\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n\n // const response = response.data.data.map(item => {\n // if (row.id !== item.id) {\n // return item;\n // }\n\n // return {\n // ...item,\n // toggleSelected: !item.toggleSelected\n // };\n // });\n\n //setData(updatedData);\n\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n const handleRowClicked = row => {\n console.log(row, \"row\");\n const updatedData = data.map(item => {\n if (row.id !== item.id) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n };\n\n function getCssClass(value) {\n if (value > 5000) return \"high\";\n else if (value > 500) return \"medium\";\n return \"low\";\n }\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n \n );\n};\nexport default OutflowTable;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport styled1 from \"styled-components\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\nconst StyledCell1 = styled1.div`\n &.low {\n background: green !important;\n }\n &.medium {\n background: orange;\n }\n &.high {\n background: red !important;\n }\n`;\n\nconst StyledCell = ({ }) => (\n \n)\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, fetchUrl, showExport }) => (\n (typeof showExport == \"undefined\" || showExport) &&\n <>\n \n \n Download\n \n \n \n);\n\n//const RevenueTable = ({asset, brand, formConfig, expiry_report , expiry_lockin_report, fetchUrl, }) => {\nconst RevenueTable = ({ asset, brand, formConfig, expiry_report, expiry_lockin_report, fetchUrl, showExport }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [columns, setColumns] = useState([]);\n const [keyCounter, setkeyCounter] = useState(0);\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const conditionalRowStyles = [\n {\n when: row => row.toggleSelected,\n style: {\n backgroundColor: \"green\",\n userSelect: \"none\"\n }\n }\n ];\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n showExport={showExport}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n if (typeof response.data.data != \"undefined\" && response.data.data.length > 0) {\n\n const updatedData = response.data.data.map(item => {\n if (item.srNo !== item.srNo) {\n return item;\n }\n\n //item.assetName = eval(\"\"+item.assetName+\"\")\n\n console.log(item, \"asdasd\")\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n } else {\n setData(response.data.data);\n }\n\n\n setTotalRows(response.data.total);\n setColumns(eval(response.data.gridColumns))\n setkeyCounter(Math.round());\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n\n // const response = response.data.data.map(item => {\n // if (row.id !== item.id) {\n // return item;\n // }\n\n // return {\n // ...item,\n // toggleSelected: !item.toggleSelected\n // };\n // });\n\n //setData(updatedData);\n\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n const handleRowClicked = row => {\n console.log(row, \"row\");\n const updatedData = data.map(item => {\n if (row.id !== item.id) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n };\n\n function getCssClass(value) {\n if (value > 5000) return \"high\";\n else if (value > 500) return \"medium\";\n return \"low\";\n }\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n \n );\n};\nexport default RevenueTable;\n","import { useEffect } from \"react\";\n\nconst PreventClickjacking = () => {\n useEffect(() => {\n if (window.self !== window.top) {\n document.body.innerHTML = \"

Blocked due to security reasons

\";\n window.top.location = window.self.location;\n }\n }, []);\n\n return null;\n};\n\nexport default PreventClickjacking;\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { Link, withRouter } from \"react-router-dom\";\nimport { clientAccess, getModules } from \"./utils/index\";\n\nclass SideMenu extends React.Component {\n state = {\n openMenu: this.props.openMenu ? [this.props.openMenu] : [\"\"],\n activeKey: this.props.activeKey ? this.props.activeKey : \"1-1\",\n };\n\n renderDropdowns() {\n const url = this.props.match;\n const dropdowns = [];\n\n \n dropdowns.push(\n \n {clientAccess() && (\n this.setState({ activeKey: \"1-1\" })}\n >\n Client Profile Setup\n \n )}\n\n this.setState({ activeKey: \"1-2\" })}\n >\n Client Access Setup\n \n \n );\n\n\n if(getModules().includes(1) || getModules().includes(3)){\n dropdowns.push(\n \n {\n this.state.activeKey = \"2-1\";\n }}\n >\n Asset Detail\n \n this.setState({ activeKey: \"2-2\" })}\n >\n Unit Detail\n \n \n );\n }\n\n if (getModules().includes(1)) {\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"3-1\";\n }}\n eventKey=\"3-1\"\n >\n Landlord Company Details\n \n\n {\n this.state.activeKey = \"3-2\";\n }}\n eventKey=\"3-2\"\n >\n Landlord Address Details\n \n\n {\n this.state.activeKey = \"3-3\";\n }}\n eventKey=\"3-3\"\n >\n Landlord Contact Details\n \n {\n this.state.activeKey = \"3-4\";\n }}\n eventKey=\"3-4\"\n >\n Landlord Bank Details\n \n \n );\n\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"4-1\";\n }}\n eventKey=\"4-1\"\n >\n Occupier Company Details\n \n\n {\n this.state.activeKey = \"4-2\";\n }}\n eventKey=\"4-2\"\n >\n Occupier Address Details\n \n\n {\n this.state.activeKey = \"4-3\";\n }}\n eventKey=\"4-3\"\n >\n Occupier Contact Details\n \n \n );\n \n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"5-1\";\n }}\n eventKey=\"5-1\"\n >\n Brand Details\n \n {\n this.state.activeKey = \"5-2\";\n }}\n eventKey=\"5-2\"\n >\n Product Master\n \n \n );\n\n \n if(clientAccess()){\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"6-1\";\n }}\n eventKey=\"6-1\"\n >\n Rent Logic\n \n\n {\n this.state.activeKey = \"6-2\";\n }}\n eventKey=\"6-2\"\n >\n CAM Logic\n \n\n {\n this.state.activeKey = \"6-3\";\n }}\n eventKey=\"6-3\"\n >\n Property tax Logic\n \n\n {\n this.state.activeKey = \"6-4\";\n }}\n eventKey=\"6-4\"\n >\n Marketing Fund Logic\n \n \n );\n }\n\n if(clientAccess()){\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"7-1\";\n }}\n eventKey=\"7-1\"\n >\n Utility Charges\n \n {\n this.state.activeKey = \"7-2\";\n }}\n eventKey=\"7-2\"\n >\n Other Charges\n \n \n );\n }\n\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"8-1\";\n }}\n eventKey=\"8-1\"\n >\n Commercial Clauses\n \n {\n this.state.activeKey = \"8-2\";\n }}\n eventKey=\"8-2\"\n >\n Legal Clauses\n \n {\n this.state.activeKey = \"8-3\";\n }}\n eventKey=\"8-3\"\n >\n Compliance Clauses\n \n \n );\n\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"9-1\";\n }}\n eventKey=\"9-1\"\n >\n Taxation\n \n \n );\n\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"10-1\";\n }}\n eventKey=\"10-1\"\n >\n Broker Company Details\n \n\n {\n this.state.activeKey = \"10-2\";\n }}\n eventKey=\"10-2\"\n >\n Broker Address Details\n \n\n {\n this.state.activeKey = \"10-3\";\n }}\n eventKey=\"10-3\"\n >\n Broker Contact Details\n \n \n );\n\n dropdowns.push(\n }\n >\n {\n this.state.activeKey = \"11-1\";\n }}\n eventKey=\"11-1\"\n >\n Budget Master\n \n\n \n \n );\n }\n\n if (getModules().includes(3)) {\n dropdowns.push(\n \n this.setState({ activeKey: \"12-1\" })}\n >\n Prospect Master\n \n \n );\n }\n\n return dropdowns;\n }\n\n render() {\n return (\n
\n {\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
\n );\n }\n}\n\nexport default withRouter(SideMenu);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Link } from \"react-router-dom\";\n\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear, fetchAssetsDetails }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n\n {/* onClick={apiUrl.apiUrl.url+'/lease-report/generate-summary-report?'}*/}\n\n {/* */}\n \n);\nfunction DownloadFile(filterText, fetchAssetsDetails) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/unit-detail/index?term=${filterText}&asset=${fetchAssetsDetails}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst Table = (assetId) => {\n var fetchAssetsId = typeof assetId.assetId == \"undefined\" ? 0 : assetId.assetId;\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [fetchAssetsDetails, setAssetID] = React.useState(fetchAssetsId);\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n\n\n React.useEffect(() => {\n fetchUnits(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n return (\n {\n setFilterText(e.target.value);\n //alert(e.target.value);\n\n //fetchUnits(1);\n }}\n onClear={handleClear}\n filterText={filterText}\n fetchAssetsDetails={fetchAssetsDetails}\n />\n );\n }, [filterText, fetchAssetsDetails, resetPaginationToggle]);\n\n const fetchUnits = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/unit-detail/index?page=${page}&per_page=${perPage}&term=${filterText}&asset=${fetchAssetsId}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUnits(page);\n };\n\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/unit-detail/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n var columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Floor\",\n selector: \"floor\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Unit No\",\n selector: \"unitNumber\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Unit Status\",\n selector: \"unitStatus\",\n sortable: false,\n wrap: true,\n },\n // {\n // name: \"Availability\",\n // selector: \"availability\",\n // sortable: false,\n // wrap: true,\n // show: false\n // },\n // {\n // name: \"Unit Ownership\",\n // selector: \"unitOwnership\",\n // sortable: false,\n // wrap: true,\n // show: false\n // },\n {\n name: \"Gross Leasable Area (Sq. Ft.)\",\n selector: \"grossLeasableArea\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n width: \"70px\",\n cell: (record) => {\n return (\n
\n {(!fetchAssetsId) && (\n \n \n {\" \"}\n \n \n \n )}\n
\n );\n },\n },\n ];\n\n if (fetchAssetsId) {\n delete columns[7];\n delete columns[6];\n\n }\n\n useEffect(() => {\n fetchUnits(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport \"reactjs-popup/dist/index.css\";\nimport dateFormat, { masks } from \"dateformat\";\nimport Popup from \"reactjs-popup\";\nimport moment from \"moment\";\n// Date.isLeapYear = function (year) {\n// return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n// };\n\n// Date.getDaysInMonth = function (year, month) {\n// return [\n// 31,\n// Date.isLeapYear(year) ? 29 : 28,\n// 31,\n// 30,\n// 31,\n// 30,\n// 31,\n// 31,\n// 30,\n// 31,\n// 30,\n// 31,\n// ][month];\n// };\n\n// Date.prototype.isLeapYear = function () {\n// return Date.isLeapYear(this.getFullYear());\n// };\n\n// Date.prototype.getDaysInMonth = function () {\n// return Date.getDaysInMonth(this.getFullYear(), this.getMonth());\n// };\n\n// Date.prototype.addMonths = function (value) {\n// var n = this.getDate();\n// this.setDate(1);\n// this.setMonth(this.getMonth() + value);\n// this.setDate(Math.min(n, this.getDaysInMonth()));\n// return this;\n// };\nexport const getToDate = (fromDate, days, months, years) => {\n let toDate = moment(fromDate)\n .add(years, \"years\")\n .add(months, \"months\")\n .add(days, \"days\");\n\n // var _tempDate = new Date(fromDate);\n // _tempDate.setDate(_tempDate.getDate() + Number(days - Number(1)));\n // _tempDate.addMonths(Number(months));\n // _tempDate.setYear(_tempDate.getFullYear() + Number(years));\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n\n return moment(toDate).subtract(1, \"days\").format(\"YYYY-MM-DD\");\n};\n\nexport const PopupMessage = (props) => {\n return (\n \n {(close) => (\n
\n {/* {props.content} */}\n
\n \n ×\n \n
\n \n
\n
\n )}\n \n );\n};\n\nexport const InfoPopupMessage = (props) => {\n return (\n \n {(close) => (\n
\n {props.content}\n \n ×\n \n
\n \n
\n
\n )}\n
\n );\n};\n\nexport const ChartPopup = (props) => {\n return (\n \n {(close) => (\n
\n {props.content}\n\n
\n \n
\n
\n )}\n
\n );\n};\n\nexport const leaseDateFormat = (date) => {\n if (date == \"0000-00-00\") {\n return \"-\";\n } else {\n return dateFormat(date, \"dd mmm yyyy\");\n }\n};\n\nexport const exceldataFormate = (res) => {\n const excelData = [];\n var res = { data: res };\n for (let i = 0; i < res.data.x.length; i++) {\n let points = {};\n // points[res.data.axis['x']]=res.data.x[i];\n if (\n typeof res.data.axis != \"\" &&\n typeof res.data.axis != \"undefined\" &&\n typeof res.data.axis[\"x\"] != \"undefined\" &&\n typeof res.data.x != \"undefined\"\n ) {\n points[res.data.axis[\"x\"]] = res.data.x[i];\n } else {\n points[res.data.axis[\"x\"]] = \"city\";\n }\n if (\n typeof res.data.axis != \"undefined\" &&\n typeof res.data.axis[\"x\"] != \"undefined\" &&\n typeof res.data.label != \"undefined\"\n ) {\n points[res.data.axis[\"x\"]] = res.data.label[i];\n }\n\n if (\n typeof res.data.legend[\"y1\"] != \"undefined\" &&\n typeof res.data.datapoints[\"y1\"] != \"undefined\" &&\n res.data.datapoints[\"y1\"]\n ) {\n points[res.data.legend[\"y1\"]] = res.data.datapoints[\"y1\"][i];\n }\n if (\n typeof res.data.legend[\"y2\"] != \"undefined\" &&\n typeof res.data.datapoints[\"y2\"] != \"undefined\" &&\n res.data.datapoints[\"y2\"]\n ) {\n points[res.data.legend[\"y2\"]] = res.data.datapoints[\"y2\"][i];\n }\n if (\n typeof res.data.legend[\"y3\"] != \"undefined\" &&\n typeof res.data.datapoints[\"y3\"] != \"undefined\" &&\n res.data.datapoints[\"y3\"]\n ) {\n points[res.data.legend[\"y3\"]] = res.data.datapoints[\"y3\"][i];\n }\n if (\n typeof res.data.legend[\"y4\"] != \"undefined\" &&\n typeof res.data.datapoints[\"y4\"] != \"undefined\" &&\n res.data.datapoints[\"y4\"]\n ) {\n points[res.data.legend[\"y4\"]] = res.data.datapoints[\"y4\"][i];\n }\n if (\n typeof res.data.legend[\"y5\"] != \"undefined\" &&\n typeof res.data.datapoints[\"y5\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y5\"]] = res.data.datapoints[\"y5\"][i];\n }\n if (\n typeof res.data.legend[\"y1\"] != \"undefined\" &&\n typeof res.data.datapoints['\"5k_to_10k\"'] != \"undefined\"\n ) {\n points[res.data.legend[\"y1\"]] = res.data.datapoints['\"5k_to_10k\"'][i];\n }\n if (\n typeof res.data.legend[\"y2\"] != \"undefined\" &&\n typeof res.data.datapoints[\"10k_to_20k\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y2\"]] = res.data.datapoints[\"10k_to_20k\"][i];\n }\n if (\n typeof res.data.legend[\"y3\"] != \"undefined\" &&\n typeof res.data.datapoints[\"20k_to_50k\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y3\"]] = res.data.datapoints[\"20k_to_50k\"][i];\n }\n if (\n typeof res.data.legend[\"y4\"] != \"undefined\" &&\n typeof res.data.datapoints[\"50k_to_100k\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y4\"]] = res.data.datapoints[\"50k_to_100k\"][i];\n }\n if (\n typeof res.data.legend[\"y5\"] != \"undefined\" &&\n typeof res.data.datapoints[\"<_5k\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y5\"]] = res.data.datapoints[\"<_5k\"][i];\n }\n if (\n typeof res.data.legend[\"y6\"] != \"undefined\" &&\n typeof res.data.datapoints[\"<_100k\"] != \"undefined\"\n ) {\n points[res.data.legend[\"y6\"]] = res.data.datapoints[\"<_100k\"][i];\n }\n\n if (\n typeof res.data.legend != \"undefined\" &&\n typeof res.data[\"y\"] != \"undefined\"\n ) {\n points[res.data.legend] = res.data[\"y\"][i];\n }\n if (\n typeof res.data.legend[\"y1\"] != \"undefined\" &&\n typeof res.data.datapoints.y1 != \"undefined\" &&\n res.data.datapoints.y1 &&\n typeof res.data.datapoints.y1.data != \"undefined\"\n ) {\n points[res.data.legend[\"y1\"]] = res.data.datapoints.y1.data[i];\n }\n if (\n typeof res.data.legend[\"y2\"] != \"undefined\" &&\n typeof res.data.datapoints.y2 != \"undefined\" &&\n res.data.datapoints.y2 &&\n typeof res.data.datapoints.y2.data != \"undefined\"\n ) {\n points[res.data.legend[\"y2\"]] = res.data.datapoints.y2.data[i];\n }\n if (\n typeof res.data.legend[\"y3\"] != \"undefined\" &&\n typeof res.data.datapoints.y3 != \"undefined\" &&\n res.data.datapoints.y3 &&\n typeof res.data.datapoints.y3.data != \"undefined\"\n ) {\n points[res.data.legend[\"y3\"]] = res.data.datapoints.y3.data[i];\n }\n if (\n typeof res.data.legend[\"y4\"] != \"undefined\" &&\n typeof res.data.datapoints.y4 != \"undefined\" &&\n res.data.datapoints.y4 &&\n typeof res.data.datapoints.y4.data != \"undefined\"\n ) {\n points[res.data.legend[\"y4\"]] = res.data.datapoints.y4.data[i];\n }\n if (\n typeof res.data.legend[\"y5\"] != \"undefined\" &&\n typeof res.data.datapoints.y5 != \"undefined\" &&\n res.data.datapoints.y5 &&\n typeof res.data.datapoints.y5.data != \"undefined\"\n ) {\n points[res.data.legend[\"y5\"]] = res.data.datapoints.y5.data[i];\n }\n excelData.push(points);\n }\n\n return excelData;\n};\n\nexport const piexceldataFormate = (res, xTitle, yTitle) => {\n const excelData = [];\n console.log(res, \"result pie 275\");\n for (let i = 0; i < res.x.length; i++) {\n let points = {};\n if (typeof res.x != \"undefined\") {\n points[xTitle] = res.x[i];\n }\n if (typeof res.axis.y != \"undefined\") {\n points[yTitle] = res.datapoints.y1[i];\n }\n excelData.push(points);\n }\n console.log(excelData, \"excel data \");\n return excelData;\n};\n","import React from \"react\";\n\nconst unitTypeConstant = [];\nunitTypeConstant[1] = \"Retail\";\nunitTypeConstant[2] = \"Office\";\n\nconst unitStatusConstant = [];\nunitStatusConstant[1] = \"Leased\";\nunitStatusConstant[2] = \"Non Leased\";\n\nconst electricityLoadDeposit = [\"Per KW\", \"Per KVA\",\"Flat Amount\"];\n\nconst airConditioingLoadDeposit = [\"Per Tr\",\"Flat Amount\"];\n\nconst meterDeposit = [\"Per Meter\",\"Flat Amount\"];\n\nconst electricityBasisUnitsGridRate = [\"per KwHr\",\"Flat Amount\"];\n\nconst waterBasisUnitsBoard = [\"Per KL\",\"Flat Amount\"];\n\nconst gasBasisUnitsGasBank = [\"Per Cubic Meter\",\"Flat Amount\"];\n\nconst hvacBasisFlatUnitRate = [\"Per Sq Ft\", \"Flat\",\"Flat Amount\"];\n\nconst hvacBasisBtuUnitRate = [\"Rs per KwHr\",\"Flat Amount\"];\n\nconst extraHoursChargesBasisFlatRate = [\"Rs. Per Hour\",\"Flat Amount\"];\n\nconst horticultureChargesFlatRate = [\"Rs\",\"Flat Amount\"];\n\nconst storageFitoutDeposit = [\"Flat rate\", \"Per Sq.ft\",\"Flat Amount\"];\n\nconst pTaxRate = [\n \"Property Tax Basis Rate\",\n \"Property Tax Basis Pure Revenue Share\",\n \"Property Tax Basis Pure Revenue Share Sales Range\",\n \"Property Tax Basis % of Rent\",\n \"Property Tax Basis Vouchers\",\n];\n\nconst pTaxActual = [\"Property Tax Basis Actual\"];\n\nconst floorOptions = [\n \"Basement 10 (B10)\",\n \"Basement 09 (B09)\",\n \"Basement 08 (B08)\",\n \"Basement 07 (B07)\",\n \"Basement 06 (B06)\",\n \"Basement 05 (B05)\",\n \"Basement 04 (B04)\",\n \"Basement 03 (B03)\",\n \"Basement 02 (B02)\",\n \"Basement 01 (B01)\",\n \"Lower Ground Floor (LGF)\",\n \"Mezzanine Floor (MZF)\",\n \"Upper Ground Floor (UGF)\",\n \"Ground Floor (GF)\",\n \"First Floor (01F)\",\n \"Second Floor (02F)\",\n \"Third Floor (03F)\",\n \"Fourth Floor (04F)\",\n \"Fifth Floor (05F)\",\n \"Sixth Floor (06F)\",\n \"Seventh Floor (07F)\",\n \"Eighth Floor (08F)\",\n \"Nineth Floor (09F)\",\n \"Tenth Floor (10F)\",\n \"Eleventh Floor (11F)\",\n \"Twelth Floor (12F)\",\n \"Thirteenth Floor (13F)\",\n \"Fourteenth Floor (14F)\",\n \"Fifteenth Floor (15F)\",\n \"Sixteenth Floor (16F)\",\n \"Seventeenth Floor (17F)\",\n \"Eighteenth Floor (18F)\",\n \"Nineteenth Floor (19F)\",\n \"Twentieth Floor (20F)\",\n \"Twenty First Floor (21F)\",\n \"Twenty Second Floor (22F)\",\n \"Twenty Third Floor (23F)\",\n \"Twenty Fourth Floor (24F)\",\n \"Twenty Fifth Floor (25F)\",\n \"Twenty Sixth Floor (26F)\",\n \"Twenty Seventh Floor (27F)\",\n \"Twenty Eighth Floor (28F)\",\n \"Twenty Nineth Floor (29F)\",\n \"Thirtieth floor (30F)\",\n \"Thirty First Floor (31F)\",\n \"Thirty Second Floor (32F)\",\n \"Thirty Third Floor (33F)\",\n \"Thirty Fourth Floor (34F)\",\n \"Thirty Fifth Floor (35F)\",\n \"Thirty Sixth Floor (36F)\",\n \"Thirty Seventh Floor (37F)\",\n \"Thirty Eighth Floor (38F)\",\n \"Thirty Nineth Floor (39F)\",\n \"Fourtieth floor (40F)\",\n \"Forty First Floor (41F)\",\n \"Forty Second Floor (42F)\",\n \"Forty Third Floor (43F)\",\n \"Forty Fourth Floor (44F)\",\n \"Forty Fifth Floor (45F)\",\n \"Forty Sixth Floor (46F)\",\n \"Forty Seventh Floor (47F)\",\n \"Forty Eighth Floor (48F)\",\n \"Forty Nineth Floor (49F)\",\n \"Fiftieth Floor (50F)\",\n \"Fifty First Floor (51F)\",\n \"Fifty Second Floor (52F)\",\n \"Fifty Third Floor (53F)\",\n \"Fifty Fourth Floor (54F)\",\n \"Fifty Fifth Floor (55F)\",\n \"Fifty Sixth Floor (56F)\",\n \"Fifty Seventh Floor (57F)\",\n \"Fifty Eighth Floor (58F)\",\n \"Fifty Nineth Floor (59F)\",\n \"Sixtieth Floor (60F)\",\n \"Sixty First Floor (61F)\",\n \"Sixty Second Floor (62F)\",\n \"Sixty Third Floor (63F)\",\n \"Sixty Fourth Floor (64F)\",\n \"Sixty Fifth Floor (65F)\",\n \"Sixty Sixth Floor (66F)\",\n \"Sixty Seventh Floor (67F)\",\n \"Sixty Eighth Floor (68F)\",\n \"Sixty Nineth Floor (69F)\",\n \"Seventieth Floor (70F)\",\n \"Seventy First Floor (71F)\",\n \"Seventy Second Floor (72F)\",\n \"Seventy Third Floor (73F)\",\n \"Seventy Fourth Floor (74F)\",\n \"Seventy Fifth Floor (75F)\",\n \"Seventy Sixth Floor (76F)\",\n \"Seventy Seventh Floor (77F)\",\n \"Seventy Eighth Floor (78F)\",\n \"Seventy Nineth Floor (79F)\",\n \"Eightieth Floor (80F)\",\n \"Eighty First Floor (81F)\",\n \"Eighty Second Floor (82F)\",\n \"Eighty Third Floor (83F)\",\n \"Eighty Fourth Floor (84F)\",\n \"Eighty Fifth Floor (85F)\",\n \"Eighty Sixth Floor (86F)\",\n \"Eighty Seventh Floor (87F)\",\n \"Eighty Eighth Floor (88F)\",\n \"Eighty Nineth Floor (89F)\",\n \"Ninetieth Floor (90F)\",\n \"Ninty First Floor (81F)\",\n \"Ninty Second Floor (82F)\",\n \"Ninty Third Floor (83F)\",\n \"Ninty Fourth Floor (84F)\",\n \"Ninty Fifth Floor (85F)\",\n \"Ninty Sixth Floor (86F)\",\n \"Ninty Seventh Floor (87F)\",\n \"Ninty Eighth Floor (88F)\",\n \"Ninty Nineth Floor (89F)\",\n \"Hundredth Floor (100F)\",\n];\n\nconst periodOneMileStoneNames = [\n \"Due on LOI / EOI / Term Sheet\",\n \"Due on Agreement to Lease\",\n \"Due on Handover of Fitout\",\n \"Due on Execution of Lease Deed / License Agreement\",\n \"Due on Lease Commencement Date\",\n \"Others - Specific Date\",\n];\n\nconst periodOneLandlordMileStoneNames = [\n \"Due on LOI / EOI / Term Sheet\",\n \"Due on Agreement to Lease\",\n \"Due on Handover Date\",\n \"Due on Execution of Lease Deed / License Agreement\",\n \"Due on Lease Commencement Date\",\n \"Others - Specific Date\",\n];\nconst periodOtherMilestoneNames = [\n \"Escalation 1\",\n \"Escalation 2\",\n \"Escalation 3\",\n \"Escalation 4\",\n \"Escalation 5\",\n];\n\nexport {\n unitTypeConstant,\n unitStatusConstant,\n electricityLoadDeposit,\n airConditioingLoadDeposit,\n meterDeposit,\n electricityBasisUnitsGridRate,\n waterBasisUnitsBoard,\n gasBasisUnitsGasBank,\n hvacBasisFlatUnitRate,\n hvacBasisBtuUnitRate,\n extraHoursChargesBasisFlatRate,\n horticultureChargesFlatRate,\n floorOptions,\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n pTaxActual,\n pTaxRate,\n storageFitoutDeposit,\n periodOneLandlordMileStoneNames\n};\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./UnitDetailTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n\nimport { clientAccess, getUserType } from \"../../utils/index\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport CreatableSelect from \"react-select/creatable\";\nimport Select from \"react-select\";\nimport { floorOptions } from \"../../constants\";\n\nimport { Cropper } from \"react-cropper\";\nimport \"cropperjs/dist/cropper.css\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass UnitDetailMaster extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/unit-detail/create`,\n id: undefined,\n assetNameValues: [],\n subAssetNameValues: [],\n LandlordGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n clientList: [],\n tower: [],\n unitStatus: [\n \"Vacant\",\n \"Under Discussion (Prospect)\",\n \"Under Fit out\",\n \"Operational\",\n \"Owner Occupied\",\n ],\n unitNumber: \"\",\n showPopupFloor: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n unitTypes: [],\n floorImage: \"\",\n cropperRef: React.createRef(),\n initialValues: {\n groupId: \"\",\n unitId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n tower: \"\",\n floor: \"\",\n unitType: \"\",\n unitTypeId: \"\",\n usableArea: \"\",\n grossLeasableArea: \"\",\n unitNumber: \"\",\n carpetArea: \"\",\n loadingPercent: \"\",\n efficiencyPercent: \"\",\n unitStatus: \"\",\n carpetAreaSqMt: \"\",\n usableAreaSqMt: \"\",\n grossLeasableAreaSqMt: \"\",\n compliance_count: \"\",\n compliance_percent: \"\",\n assetCompliance: [],\n availability: \"\",\n unitOwnership: \"\",\n buyerName: \"\",\n soldName: \"\",\n soldAmount: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n parking: \"no\",\n fourWheelerParkingDetail: [],\n twoWheelerParkingDetail: [],\n otherWheelerParkingDetail: [],\n },\n totalFourWheelerParking: 0,\n totalTwoWheelerParking: 0,\n totalOtherParking: 0,\n };\n componentDidMount() {\n // console.log(`${apiUrl.apiUrl.url}`, \"api\");\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-unit-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n unitTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-all-assets`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //let assetFromApi = Object.keys(data);\n\n this.setState({\n assetNameValues: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeAsset = (e) => {\n let assetId = e.target.value;\n //fetch(`${apiUrl.apiUrl.url}/sub-assets/asset-sub-assets/` + assetId,{headers})\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + assetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //let assetFromApi = Object.keys(data);\n\n this.setState({\n subAssetNameValues: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubAsset = (e) => {\n let subAssetId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + subAssetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n tower: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n constructor(props) {\n super(props);\n }\n\n changeFloor = (newValue, values) => {\n this.state.initialValues.floor = newValue.value;\n values.floor = newValue.value;\n this.setState({});\n console.groupEnd();\n\n console.log(this.state.initialValues,\"this.state.initialValues\")\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/unit-detail/fetch-floor-details?assetId=${this.state.initialValues.assetName}&towerId=${this.state.initialValues.tower}&floor=${newValue.value}`,\n }).then(function (response) {\n console.log(response, \"response\", response.data.image)\n if(typeof response.data.image != \"undefined\" && response.data.image.length > 0) {\n self.setState({ floorImage: `${apiUrl.apiUrl.url}/${response.data.image}` });\n }else{\n self.setState({ floorImage: null });\n }\n\n console.log(self.state.floorImage, \"floorImage\")\n \n });\n\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/unit-detail/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.state.unitStatus = [\n \"Vacant\",\n \"Under Discussion (Prospect)\",\n \"Under Fit out\",\n \"Operational\",\n \"Owner Occupied\",\n ];\n this.setState({\n url: `${apiUrl.apiUrl.url}/unit-detail/create`,\n cropperRef: React.createRef(),\n floorImage: \"\",\n initialValues: {\n groupId: \"\",\n unitId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n tower: \"\",\n floor: \"\",\n unitType: \"\",\n usableArea: \"\",\n grossLeasableArea: \"\",\n unitNumber: \"\",\n carpetArea: \"\",\n loadingPercent: \"\",\n efficiencyPercent: \"\",\n unitStatus: \"\",\n carpetAreaSqMt: \"\",\n usableAreaSqMt: \"\",\n grossLeasableAreaSqMt: \"\",\n assetCompliance: [],\n availability: \"\",\n unitOwnership: \"\",\n buyerName: \"\",\n soldName: \"\",\n soldAmount: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n parking: \"no\",\n fourWheelerParkingDetail: [],\n twoWheelerParkingDetail: [],\n otherWheelerParkingDetail: [],\n },\n });\n } else {\n\n let athis = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/unit-detail/fetch-unit?id=${this.props.match.params.id}`\n }).then(function(response) {\n\n let data = response.data;\n\n athis.state.unitStatus = [\n \"Vacant\",\n \"Under Discussion (Prospect)\",\n \"Under Fit out\",\n \"Operational\",\n \"Owner Occupied\",\n ];\n if (data.data.unitStatus == \"Leased\") {\n athis.state.unitStatus.push(\"Leased\");\n }\n data.data.carpetAreaSqMt = (data.data.carpetArea / 10.764).toFixed(\n 2\n );\n data.data.usableAreaSqMt = (data.data.usableArea / 10.764).toFixed(\n 2\n );\n data.data.grossLeasableAreaSqMt = (\n data.data.grossLeasableArea / 10.764\n ).toFixed(2);\n athis.setState({\n url: `${apiUrl.apiUrl.url}/unit-detail/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n subAssetNameValues: data.subAssets,\n tower: data.towers,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n totalFourWheelerParking:\n data.data.fourWheelerParkingDetail.length,\n totalTwoWheelerParking: data.data.twoWheelerParkingDetail.length,\n totalOtherParking: data.data.otherWheelerParkingDetail.length\n });\n\n if(data.data.floorImage.length > 0 ) {\n athis.setState({ floorImage: `${apiUrl.apiUrl.url}/${data.data.floorImage}` });\n }else{\n athis.setState({ floorImage: null });\n }\n\n athis.complianceList(data.data.clientId, data.data.unitId);\n\n\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/unit-detail/fetch-unit?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.unitStatus = [\n // \"Vacant\",\n // \"Under Discussion (Prospect)\",\n // \"Under Fit out\",\n // \"Operational\",\n // \"Owner Occupied\",\n // ];\n // if (data.data.unitStatus == \"Leased\") {\n // this.state.unitStatus.push(\"Leased\");\n // }\n // data.data.carpetAreaSqMt = (data.data.carpetArea / 10.764).toFixed(\n // 2\n // );\n // data.data.usableAreaSqMt = (data.data.usableArea / 10.764).toFixed(\n // 2\n // );\n // data.data.grossLeasableAreaSqMt = (\n // data.data.grossLeasableArea / 10.764\n // ).toFixed(2);\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/unit-detail/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // subAssetNameValues: data.subAssets,\n // tower: data.towers,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // totalFourWheelerParking:\n // data.data.fourWheelerParkingDetail.length,\n // totalTwoWheelerParking: data.data.twoWheelerParkingDetail.length,\n // totalOtherParking: data.data.otherWheelerParkingDetail.length\n // });\n\n // if(data.data.floorImage.length > 0 ) {\n // this.setState({ floorImage: `${apiUrl.apiUrl.url}/${data.data.floorImage}` });\n // }else{\n // this.setState({ floorImage: null });\n // }\n\n // this.complianceList(data.data.clientId, data.data.unitId);\n\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n calculateCarpetSqMt(e, values) {\n let sqMeter = (e.target.value / 10.764).toFixed(4);\n values.carpetAreaSqMt = sqMeter;\n this.setState({});\n }\n\n calculateUsableSqMt(e, values) {\n console.log(values);\n let sqMeter = (e.target.value / 10.764).toFixed(4);\n values.usableAreaSqMt = sqMeter;\n if (\n !isNaN(e.target.value) &&\n !isNaN(values.grossLeasableArea) &&\n values.grossLeasableArea !== 0 &&\n values.grossLeasableArea !== \"\"\n ) {\n values.efficiencyPercent = (\n (e.target.value / values.grossLeasableArea) *\n 100\n ).toFixed(2);\n values.loadingPercent = (\n values.grossLeasableArea / e.target.value\n ).toFixed(2);\n }\n this.setState({});\n }\n\n calculateGrossSqMt(e, values) {\n let sqMeter = (e.target.value / 10.764).toFixed(4);\n values.grossLeasableAreaSqMt = sqMeter;\n if (\n !isNaN(values.usableArea) &&\n !isNaN(e.target.value) &&\n e.target.value !== 0\n ) {\n values.efficiencyPercent = (\n (values.usableArea / e.target.value) *\n 100\n ).toFixed(2);\n values.loadingPercent = (e.target.value / values.usableArea).toFixed(2);\n }\n this.setState({});\n }\n\n calculateUsableSqFt(e, values) {\n let sqFt = (e.target.value * 10.764).toFixed(2);\n values.usableArea = sqFt;\n if (\n !isNaN(values.usableArea) &&\n !isNaN(values.grossLeasableArea) &&\n values.grossLeasableArea !== 0 &&\n values.grossLeasableArea !== \"\"\n ) {\n values.efficiencyPercent = (\n (values.usableArea / values.grossLeasableArea) *\n 100\n ).toFixed(2);\n values.loadingPercent = (\n values.grossLeasableArea / values.usableArea\n ).toFixed(2);\n }\n this.setState({});\n }\n\n calculateCarpetSqFt(e, values) {\n let sqFt = (e.target.value * 10.764).toFixed(2);\n values.carpetArea = sqFt;\n this.setState({});\n }\n\n calculateGrossSqFt(e, values) {\n let sqFt = (e.target.value * 10.764).toFixed(2);\n values.grossLeasableArea = sqFt;\n if (\n !isNaN(values.usableArea) &&\n !isNaN(values.grossLeasableArea) &&\n values.grossLeasableArea !== 0\n ) {\n values.efficiencyPercent = (\n (values.usableArea / values.grossLeasableArea) *\n 100\n ).toFixed(2);\n values.loadingPercent = (\n values.grossLeasableArea / values.usableArea\n ).toFixed(2);\n }\n this.setState({});\n }\n\n handleChangeUnitType = (newValue) => {\n console.log(\"unit change\");\n this.state.initialValues.unitTypeId = newValue.value;\n this.state.initialValues.unitType = newValue.label;\n this.setState({});\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n this.complianceList(newValue.value, this.state.initialValues.unitId);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n complianceList = (clientId, id) => {\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/compliance/get-list-asset?type=unit&client_id=${clientId}&id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"compliance data\");\n // this.setState({\n // assetCompliance: data.data,\n // });\n ths.state.initialValues.assetCompliance = data.data;\n ths.state.compliance_count = data.count;\n ths.state.compliance_percent = data.percent_count;\n ths.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n // Handle the image file change\n onImageChange = (e, type) => {\n e.preventDefault();\n const files = e.target.files;\n if (files && files.length > 0) {\n const reader = new FileReader();\n reader.onload = () => {\n this.setState({ floorImage: reader.result, showPopupFloor: true });\n };\n reader.readAsDataURL(files[0]);\n }\n };\n\n // Handle cropping the image\n getCroppedImage = (e, type) => {\n e.preventDefault();\n let cropper, croppedCanvas, croppedImageUrl;\n cropper = this.state.cropperRef.current.cropper;\n\n croppedCanvas = cropper.getCroppedCanvas();\n if (croppedCanvas) {\n croppedImageUrl = croppedCanvas.toDataURL();\n console.log(\"Cropped Image URL:\", croppedImageUrl);\n\n this.setState({ floorImage: croppedImageUrl, showPopupFloor: false });\n // You can process or upload the cropped image here\n }\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/unit-detail/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n floorImage: \"\",\n initialValues: {\n groupId: \"\",\n unitId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n tower: \"\",\n floor: \"\",\n unitType: \"\",\n usableArea: \"\",\n grossLeasableArea: \"\",\n unitNumber: \"\",\n carpetArea: \"\",\n loadingPercent: \"\",\n efficiencyPercent: \"\",\n unitStatus: \"\",\n carpetAreaSqMt: \"\",\n usableAreaSqMt: \"\",\n grossLeasableAreaSqMt: \"\",\n assetCompliance: [],\n availability: \"\",\n unitOwnership: \"\",\n buyerName: \"\",\n soldName: \"\",\n soldAmount: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n parking: \"no\",\n fourWheelerParkingDetail: [],\n twoWheelerParkingDetail: [],\n otherWheelerParkingDetail: [],\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n floorImage: \"\",\n initialValues: {\n groupId: \"\",\n unitId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n tower: \"\",\n floor: \"\",\n unitType: \"\",\n usableArea: \"\",\n grossLeasableArea: \"\",\n unitNumber: \"\",\n carpetArea: \"\",\n loadingPercent: \"\",\n efficiencyPercent: \"\",\n unitStatus: \"\",\n carpetAreaSqMt: \"\",\n usableAreaSqMt: \"\",\n grossLeasableAreaSqMt: \"\",\n assetCompliance: [],\n availability: \"\",\n unitOwnership: \"\",\n buyerName: \"\",\n soldName: \"\",\n soldAmount: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n parking: \"no\",\n fourWheelerParkingDetail: [],\n twoWheelerParkingDetail: [],\n otherWheelerParkingDetail: [],\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return
{this.renderForm()}
;\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n \n
  • \n
  • \n Unit Directory\n
  • \n
  • \n \n
  • \n
  • \n Unit Detail\n
  • \n
\n
\n
\n\n {\n //alert(JSON.stringify(values, null, 2)); return true;\n\n values.unitType = this.state.initialValues.unitType;\n values.floorImage = this.state.floorImage;\n\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n\n //}, 1000);\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n \n
\n
\n )}\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n this.state.initialValues.assetName = e.target.value;\n this.changeAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n const selectedOption =\n e.currentTarget[e.currentTarget.selectedIndex];\n const isCoWorking =\n selectedOption.getAttribute(\"coworking\");\n this.state.initialValues.isCoWorking =\n isCoWorking;\n console.log(isCoWorking, \"co working value\");\n this.state.initialValues.tower = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeFloor(e, values);\n }}\n options={floorOptions.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleChangeUnitType(e);\n }}\n value={{\n label: this.state.initialValues.unitType,\n value: this.state.initialValues.unitTypeId,\n }}\n options={this.state.unitTypes.map((item) => ({\n label: item.unit_type,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.calculateUsableSqMt(e, values);\n }}\n />\n
\n
\n {\n this.calculateUsableSqFt(e, values);\n }}\n placeholder=\"sq.mt\"\n />\n
\n
\n {/* */}\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e, values);\n }}\n onBlur={(e) => {\n this.calculateCarpetSqMt(e, values);\n }}\n />\n
\n
\n {\n this.calculateCarpetSqFt(e, values);\n }}\n />\n
\n
\n {/* */}\n
\n
\n\n
\n \n
\n
\n
\n {\n this.calculateGrossSqMt(e, values);\n }}\n placeholder=\"sq.ft\"\n />\n
\n
\n {\n this.calculateGrossSqFt(e, values);\n }}\n placeholder=\"sq.mt\"\n />\n
\n
\n {/* */}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {getUserType() != \"occupier\" && (\n <>\n
\n \n
\n {\n this.state.initialValues.unitOwnership =\n e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n {this.state.initialValues.unitOwnership === \"sold\" && (\n <>\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n \n )}\n
\n \n
\n \n
\n
\n {this.state.initialValues.isCoWorking == \"yes\" && (\n <>\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n \n )}\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.parking =\n e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n {this.state.initialValues.parking == \"yes\" && (\n <>\n
\n \n
\n {\n handleChange(e);\n this.setState(\n {\n totalFourWheelerParking: parseInt(\n e.target.value\n ),\n },\n () => {\n //console.log(this.state.totalFourWheelerParking); // Logs the updated value in the callback\n }\n );\n\n this.setState({});\n }}\n />\n
\n
\n\n
\n \n
\n
\n {Array.from(\n {\n length: this.state.totalFourWheelerParking,\n },\n (_, index) => (\n
\n \n
\n )\n )}\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.setState(\n {\n totalTwoWheelerParking: parseInt(\n e.target.value\n ),\n },\n () => {\n //console.log(this.state.totalTwoWheelerParking); // Logs the updated value in the callback\n }\n );\n\n this.setState({});\n }}\n />\n
\n
\n\n
\n \n
\n
\n {Array.from(\n { length: this.state.totalTwoWheelerParking },\n (_, index) => (\n
\n \n
\n )\n )}\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.setState(\n {\n totalOtherParking: parseInt(\n e.target.value\n ),\n },\n () => {\n //console.log(this.state.totalOtherParking); // Logs the updated value in the callback\n }\n );\n\n this.setState({});\n }}\n />\n
\n
\n\n
\n \n
\n
\n {Array.from(\n { length: this.state.totalOtherParking },\n (_, index) => (\n
\n \n
\n )\n )}\n
\n
\n
\n \n )}\n\n
\n Floor Image \n {this.state.floorImage ? (\n
\n \n {\n e.preventDefault();\n this.setState({ floorImage: null });\n }}>\n \n \n \n \n
\n ) : (\n
\n {\n this.onImageChange(e, \"floor\");\n }}\n />\n \n \n \n
\n )}\n\n {this.state.floorImage && (\n <>\n {this.state.showPopupFloor === true ? (\n
\n \n {/* */}\n
\n {\n console.log(e);\n this.setState({\n showPopupFloor: false,\n });\n this.getCroppedImage(e, \"floor\");\n }}\n >\n Crop Image\n \n
\n
\n ) : null}\n \n )}\n
\n\n {this.state.initialValues.assetCompliance.length > 0 && (\n <>\n
\n \n
\n
\n \n
\n \n )}\n\n {this.state.initialValues.assetCompliance.length > 0 && (\n
\n \n \n \n \n \n \n \n {this.state.initialValues.assetCompliance.map(\n (obj, i) => (\n \n \n {obj.compliance_datatype == \"date\" && (\n \n )}\n {obj.compliance_datatype == \"checkbox\" && (\n \n )}\n \n )\n )}\n
Compliance NameCompliance Answer
{obj.name}\n \n \n \n
\n
\n )}\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n Update\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n Reset\n \n
\n ) : (\n
\n \n Add\n \n \n Reset\n \n
\n )}\n \n \n \n\n {/*
\n
\n
\n
\n {clientAccess() && (\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n )}\n {clientAccess() && (\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.changeAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n const selectedOption = e.currentTarget[e.currentTarget.selectedIndex];\n const isCoWorking = selectedOption.getAttribute('coworking');\n this.state.initialValues.isCoWorking = isCoWorking;\n console.log(isCoWorking, \"co working value\")\n this.setState({});\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeFloor(e, values);\n }}\n options={floorOptions.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeUnitType(e);\n }}\n value={{\n label: this.state.initialValues.unitType,\n value: this.state.initialValues.unitTypeId,\n }}\n options={this.state.unitTypes.map((item) => ({\n label: item.unit_type,\n value: item.id,\n }))}\n />\n\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n {\n this.calculateUsableSqMt(e, values);\n }}\n />\n
\n
\n {\n this.calculateUsableSqFt(e, values);\n }}\n placeholder=\"sq.mt\"\n />\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e, values);\n }}\n onBlur={(e) => {\n this.calculateCarpetSqMt(e, values);\n }}\n />\n
\n
\n {\n this.calculateCarpetSqFt(e, values);\n }}\n />\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n {\n this.calculateGrossSqMt(e, values);\n }}\n placeholder=\"sq.ft\"\n />\n
\n
\n {\n this.calculateGrossSqFt(e, values);\n }}\n placeholder=\"sq.mt\"\n />\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n {\n getUserType() != \"occupier\" && (\n <>\n
\n
\n
\n \n
\n {\n this.state.initialValues.unitOwnership = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n \n )\n }\n {this.state.initialValues.unitOwnership === \"sold\" && (\n <>\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n \n )}\n\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n\n {\n this.state.initialValues.isCoWorking == \"yes\" && (\n <>\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n )\n }\n\n\n\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.parking = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n {this.state.initialValues.parking == 'yes' &&\n <>\n
\n
\n
\n
\n
\n
\n \n
\n
\n {\n handleChange(e);\n this.setState({ totalFourWheelerParking: parseInt(e.target.value) }, () => {\n //console.log(this.state.totalFourWheelerParking); // Logs the updated value in the callback\n });\n\n this.setState({});\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n\n {Array.from({ length: this.state.totalFourWheelerParking }, (_, index) => (\n
\n \n
\n ))}\n\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n {\n handleChange(e);\n this.setState({ totalTwoWheelerParking: parseInt(e.target.value) }, () => {\n //console.log(this.state.totalTwoWheelerParking); // Logs the updated value in the callback\n });\n\n this.setState({});\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n\n {Array.from({ length: this.state.totalTwoWheelerParking }, (_, index) => (\n
\n \n
\n ))}\n\n\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n {\n handleChange(e);\n this.setState({ totalOtherParking: parseInt(e.target.value) }, () => {\n //console.log(this.state.totalOtherParking); // Logs the updated value in the callback\n });\n\n this.setState({});\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n\n {Array.from({ length: this.state.totalOtherParking }, (_, index) => (\n
\n \n
\n ))}\n\n
\n
\n\n
\n
\n
\n \n }\n\n\n
\n {this.state.initialValues.assetCompliance.length > 0 && (\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.assetCompliance.map(\n (obj, i) => (\n \n \n {obj.compliance_datatype == \"date\" && (\n \n )}\n {obj.compliance_datatype == \"checkbox\" && (\n \n )}\n \n )\n )}\n
\n Compliance Count {this.state.compliance_count}{\" \"}\n \n Compliance Complete Percent(%){\" \"}\n {this.state.compliance_percent}\n
Compliance NameCompliance Answer
{obj.name}\n \n \n \n
\n )}\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n \n Reset\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(UnitDetailMaster);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"State\",\n selector: \"registeredState\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"City\",\n selector: \"registeredCity\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n grow: 2,\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/occupier/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport Table from \"./OccupierTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faPlus, faSave, faUndo } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport Select from \"react-select\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass OccupierMaster extends React.Component {\n state = {\n id: undefined,\n url: `${apiUrl.apiUrl.url}/occupier/update-address-details`,\n occupierGroups: [],\n countries: [],\n states: [],\n districts: [],\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n delete: false,\n cities: [],\n correspondenceStates: [],\n correspondenceDistricts: [],\n correspondenceCities: [],\n companyName: [],\n redirect: false,\n initialValues: {\n groupId: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyId: \"\",\n registeredAddress: \"\",\n registeredCountry: \"\",\n registeredState: \"\",\n registeredDistrict: \"\",\n registeredCity: \"\",\n registeredPincode: \"\",\n correspondenceAddress: \"\",\n correspondenceCountry: \"\",\n correspondenceState: \"\",\n correspondenceDistrict: \"\",\n correspondenceCity: \"\",\n correspondencePincode: \"\",\n },\n };\n groupId = \"\";\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/occupier-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeGroup = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n correspondenceStates: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n districts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceState = (e) => {\n let stateId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n correspondenceDistricts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n correspondenceCities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCompany = (e) => {\n let groupid = e.value;\n this.state.initialValues.companyId = e.value;\n this.state.initialValues.companyName = e.label;\n //this.state.companyId = e.value;\n this.setState({})\n fetch(`${apiUrl.apiUrl.url}/occupier/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.id, \"55\");\n this.setState({\n initialValues: data.data,\n // countries: data.registeredCountry,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fillCorrespondenceAddress(e, values) {\n console.log(values, \"val\");\n values.correspondenceAddress = values.registeredAddress;\n this.state.correspondenceStates = this.state.states;\n this.state.correspondenceCities = this.state.cities;\n this.state.correspondenceDistricts = this.state.districts;\n values.correspondenceCountry = values.registeredCountry;\n values.correspondenceState = values.registeredState;\n values.correspondenceDistrict = values.registeredDistrict;\n values.correspondenceCity = values.registeredCity;\n values.correspondencePincode = values.registeredPincode;\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n //this.state = {value: ''};\n //this.handleChange = this.handleChange.bind(this);\n //this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/occupier/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n alert(\"Sorry you cannot delete this item\");\n } else {\n // if (window.confirm(\"Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/occupier/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/occupier/create`,\n initialValues: {\n companyId: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/occupier/get-company/?id=${this.props.match.params.id}`).then((response) =>{\n let data = response.data;\n var companies = [\n { id: data.data.companyId, company_name: data.data.companyName },\n ];\n athis.setState({\n url: `${apiUrl.apiUrl.url}/occupier/update-address-details?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n companyName: companies,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/occupier/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // var companies = [\n // { id: data.data.companyId, company_name: data.data.companyName },\n // ];\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/occupier/update-address-details?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // states: data.registeredStates,\n // districts: data.registeredDistricts,\n // cities: data.registeredCities,\n // correspondenceStates: data.correspondenceStates,\n // correspondenceDistricts: data.correspondenceDistricts,\n // correspondenceCities: data.correspondenceCities,\n // companyName: companies,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n companyName: \"\",\n companyCode: \"\",\n registeredAddress: \"\",\n registeredCountry: \"\",\n registeredState: \"\",\n registeredDistrict: \"\",\n registeredCity: \"\",\n registeredPincode: \"\",\n correspondenceAddress: \"\",\n correspondenceCountry: \"\",\n correspondenceState: \"\",\n correspondenceDistrict: \"\",\n correspondenceCity: \"\",\n correspondencePincode: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/occupier/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: \"Something Went Wrong\",\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Occupier Directory\n
  • \n
  • \n
  • \n Occupier Address Details\n
  • \n
\n
\n
\n\n {\n var self = this;\n actions.setSubmitting(false);\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/occupier/update-address-details`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n
\n

Occupier Registered Address

\n
\n\n
\n \n
\n \n \n
\n
\n\n\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n \n \n ))}\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n
\n
\n

Occupier Correspondence Address

\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n \n \n ))}\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n\n \n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {\n this.changeCompany(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n Occupier Registered Address\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n Occupier Correspondence Address\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n */}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(OccupierMaster);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Group\",\n selector: \"groupName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Type\",\n selector: \"companyType\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Pan\",\n selector: \"companyPan\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n grow: 2,\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/occupier/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./OccupierCompanyTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { clientAccess } from \"../../utils/index\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport CreatableSelect from \"react-select/creatable\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass OccupierCompanyDetails extends React.Component {\n state = {\n id: undefined,\n occupierGroups: [],\n clientGroups: [],\n clientList: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n companyId: \"\",\n companyCode: \"\",\n companyPan: \"\",\n vendorCode: \"\",\n companyTan: \"\",\n companyType: \"\",\n groupId: \"\",\n isOpen: false,\n redirect: false,\n url: `${apiUrl.apiUrl.url}/occupier/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyId: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n vendorCode: \"\",\n tenantSector: \"\"\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/occupier-groups`)\n fetch(`${apiUrl.apiUrl.url}/occupier-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCompany = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyId: data.company_code,\n companyCode: data.company_code,\n companyType: data.company_type,\n companyTan: data.company_tan,\n companyPan: data.company_pan,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/occupier/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/occupier/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyId: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupName: \"\",\n groupId: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/occupier/get-company/?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/occupier/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n }).catch((error)=>{\n \n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/occupier/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/occupier/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n handleChangeOccupierGroup = (newValue, actionMeta) => {\n console.group(newValue, \"Value Changed\");\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.groupEnd();\n };\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.cgroupId = newValue;\n console.log(this.cgroupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/occupier/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyId: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupName: \"\",\n groupId: \"\",\n },\n });\n };\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyId: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupName: \"\",\n groupId: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Occupier Directory\n
  • \n
  • \n
  • \n Occupier Company Details\n
  • \n
\n
\n
\n\n {\n // alert(JSON.stringify(values, null, 2));\n values.groupId = this.state.initialValues.groupId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n this.handleChangeOccupierGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.occupierGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.setState({ companyCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n this.setState({ companyPan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.setState({ companyTan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.setState({ vendorCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.setState({ tenantSector: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n \n
\n\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
}\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
}\n
\n
\n
\n \n
\n {\n this.handleChangeOccupierGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.occupierGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyPan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyTan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ vendorCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ tenantSector: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n \n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(OccupierCompanyDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Name\",\n selector: \"contactCompany\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Department\",\n selector: \"contactDepartment\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Person Name\",\n selector: \"contactName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Email Id\",\n selector: \"contactEmail\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n grow: 2,\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/occupier/get-contacts?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst OccupierContactTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/get-contacts?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/occupier/get-contacts?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default OccupierContactTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess } from \"../../utils/index\";\nimport Select from \"react-select\";\nimport OccupierContactTable from \"./OccupierContactTable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass OccupierContactDetails extends React.Component {\n state = {\n clientGroups: [],\n clientList: [],\n companyId: \"\",\n isOpen: false,\n occupierGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n redirect: false,\n id: undefined,\n url: `${apiUrl.apiUrl.url}/occupier/create-contact`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/occupier-groups`)\n fetch(`${apiUrl.apiUrl.url}/occupier-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCompany = (e) => {\n let groupid = e.value;\n this.state.initialValues.companyId = e.value;\n this.state.initialValues.companyName = e.label;\n //this.state.companyId = e.value;\n this.setState({})\n fetch(`${apiUrl.apiUrl.url}/occupier/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.id, \"55\");\n this.setState({\n companyId: data.data.companyId,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n checkDelete() {\n var self = this;\n self.setState({\n delete: true\n });\n\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/occupier/create-contact`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n } else {\n\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/occupier/fetch-contact?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/occupier/update-contact?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n // occupierGroups: data.groups,\n companyName: data.companies,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/occupier/fetch-contact?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/occupier/update-contact?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // // occupierGroups: data.groups,\n // companyName: data.companies,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n constructor(props) {\n super(props);\n }\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.cgroupId = newValue;\n console.log(this.cgroupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/occupier/delete-contact?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Occupier Directory\n
  • \n
  • \n
  • \n Occupier Contact Details\n
  • \n
\n
\n
\n\n {\n var self = this;\n values.companyId = this.state.initialValues.companyId;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n {false && clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {false && clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {/* {\n this.changeCompany(e);\n handleChange(e);\n }}\n >\n \n ))}\n */}\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n \n
\n\n {/*
\n
\n
\n
\n {false && clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
}\n {false && clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
}\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {\n this.changeCompany(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n \n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(OccupierContactDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n },\n {\n name: \"State\",\n selector: \"registeredState\",\n sortable: false,\n },\n {\n name: \"City\",\n selector: \"registeredCity\",\n sortable: false,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n grow: 2,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n {/* */}\n {/* */}\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/landlord/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n // console.log(response, \"res\");\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LandlordTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faSave,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport \"bootstrap/js/dist/collapse.js\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LandLordMaster extends React.Component {\n state = {\n id: undefined,\n url: `${apiUrl.apiUrl.url}/landlord/update-address-details`,\n LandlordGroups: [],\n countries: [],\n states: [],\n districts: [],\n cities: [],\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n delete: false,\n correspondenceStates: [],\n correspondenceDistricts: [],\n correspondenceCities: [],\n isOpen: false,\n redirect: false,\n companyName: [],\n initialValues: {\n groupId: \"\",\n companyId: \"\",\n companyName: \"\",\n companyCode: \"\",\n registeredAddress: \"\",\n registeredCountry: \"\",\n registeredState: \"\",\n registeredDistrict: \"\",\n registeredCity: \"\",\n registeredPincode: \"\",\n correspondenceAddress: \"\",\n correspondenceCountry: \"\",\n correspondenceState: \"\",\n correspondenceDistrict: \"\",\n correspondenceCity: \"\",\n correspondencePincode: \"\",\n },\n };\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeGroup = (e) => {\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.groupName = e.label;\n this.state.initialValues.groupId = e.label;\n this.state.initialValues.companyName = '';\n this.state.initialValues.companyId = '';\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n correspondenceStates: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n districts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n correspondenceDistricts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n correspondenceCities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n constructor(props) {\n super(props);\n //this.state = {value: ''};\n //this.handleChange = this.handleChange.bind(this);\n //this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n\n changeCompany = (e) => {\n console.log(e, \"ee\");\n //let groupid = e.target.value;\n let groupid = e.value;\n\n\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n initialValues: data.data,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n alert(\"Sorry you cannot delete this item\");\n } else {\n // if (window.confirm(\"Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/landlord/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/landlord/create`,\n initialValues: {\n companyId: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n } else {\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/landlord/get-company/?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n var companies = [\n { id: data.data.companyId, company_name: data.data.companyName },\n ];\n athis.setState({\n url: `${apiUrl.apiUrl.url}/landlord/update-address-details?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n companyName: companies,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/landlord/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // var companies = [\n // { id: data.data.companyId, company_name: data.data.companyName },\n // ];\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/landlord/update-address-details?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // states: data.registeredStates,\n // districts: data.registeredDistricts,\n // cities: data.registeredCities,\n // correspondenceStates: data.correspondenceStates,\n // correspondenceDistricts: data.correspondenceDistricts,\n // correspondenceCities: data.correspondenceCities,\n // companyName: companies,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n fillCorrespondenceAddress(e, values) {\n values.correspondenceAddress = values.registeredAddress;\n this.state.correspondenceStates = this.state.states;\n this.state.correspondenceCities = this.state.cities;\n this.state.correspondenceDistricts = this.state.districts;\n values.correspondenceCountry = values.registeredCountry;\n values.correspondenceState = values.registeredState;\n values.correspondenceDistrict = values.registeredDistrict;\n values.correspondenceCity = values.registeredCity;\n values.correspondencePincode = values.registeredPincode;\n this.setState({});\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n companyId: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: \"Something Went Wrong\",\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Landlord Directory\n
  • \n
  • \n
  • \n Landlord Address Details\n
  • \n
\n
\n
\n\n {\n // values.groupId = this.groupId.value;\n // alert(JSON.stringify(values, null, 2));\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/landlord/update-address-details`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n
\n
\n
\n
\n

Landlord Registered Address

\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n

Landlord Correspondence Address

\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n
\n \n
\n
\n \n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {\n //this.changeCompany(e);\n //handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n Landlord Registered Address\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n Landlord Correspondence Address\n
\n
\n
\n
\n
\n
\n
\n Landlord Correspondence Address{\" \"}\n *\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n\n
\n
\n
\n
\n \n
\n
\n
\n
\n */}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(LandLordMaster);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Group\",\n selector: \"groupName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Type\",\n selector: \"companyType\",\n sortable: false,\n wrap: true,\n wrap: true,\n },\n {\n name: \"Company Pan\",\n selector: \"companyPan\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n {/* */}\n {/* { DownloadFile(filterText) }}>\n \n */}\n {/* */}\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/landlord/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n // console.log(response, \"res\");\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LandlordCompanyTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport styles from \"../master.css\";\nimport { clientAccess } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport CreatableSelect from \"react-select/creatable\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LandlordCompanyDetails extends React.Component {\n state = {\n id: undefined,\n clientGroups: [],\n clientList: [],\n landlordGroups: [],\n landlordResidentialStatus: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n companyCode: \"\",\n companyCode: \"\",\n companyPan: \"\",\n companyTan: \"\",\n vendorCode: \"\",\n companyType: \"\",\n redirect: false,\n isOpen: false,\n groupId: \"\",\n url: `${apiUrl.apiUrl.url}/landlord/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n vendorCode: \"\",\n groupId: \"\",\n groupName: \"\",\n paycode:\"\",\n resStatusName:\"\",\n resStatusId: \"\",\n isVendor: \"\"\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/landlord-residential-status/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landlordResidentialStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/landlord/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n paycode:'',\n resStatusName:'',\n resStatusId: \"\",\n isVendor: \"\"\n },\n });\n } else {\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/landlord/get-company/?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/landlord/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n });\n // fetch(\n // `${apiUrl.apiUrl.url}/landlord/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/landlord/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\");\n // this.state.groupId = newValue.value;\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // this.groupId = newValue.value;\n console.groupEnd();\n };\n\n handleChangeLandlordResStatus = (newValue, actionMeta) => {\n console.group(\"Value Changed\");\n // this.state.groupId = newValue.value;\n this.state.initialValues.resStatusId = newValue.value;\n this.state.initialValues.resStatusName = newValue.label;\n this.setState({});\n // this.groupId = newValue.value;\n console.groupEnd();\n };\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.cgroupId = newValue;\n console.log(this.cgroupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n paycode:\"\",\n isVendor: \"\"\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n paycode:\"\",\n isVendor: \"\"\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Landlord Directory\n
  • \n
  • \n
  • \n Landlord Company Details\n
  • \n
\n
\n
\n\n {\n values.groupId = this.state.initialValues.groupId;\n values.resStatusId = this.state.initialValues.resStatusId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Second Select Input */}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Third Select Input */}\n
\n \n
\n {\n this.handleChangeLandlordGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n {/* Fourth Input Field */}\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n {/* First Input - Company ID */}\n
\n \n
\n {\n this.setState({ companyCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n {/* Second Input - Company Type */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {/* Third Input - PAN Number */}\n
\n \n
\n {\n this.setState({ companyPan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n {/* Fourth Input - TAN Number */}\n
\n \n
\n {\n this.setState({ companyTan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n {/* Fifth Input - Vendor Code */}\n
\n \n
\n {\n this.setState({ vendorCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.setState({ paycode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleChangeLandlordResStatus(e);\n }}\n value={{\n label: this.state.initialValues.resStatusName,\n value: this.state.initialValues.resStatusId,\n }}\n options={this.state.landlordResidentialStatus.map((item) => ({\n label: item.title,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n {/*
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n \n
\n\n\n \n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(LandlordCompanyDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Name\",\n selector: \"contactCompany\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Department\",\n selector: \"contactDepartment\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Person Name\",\n selector: \"contactName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Email Id\",\n selector: \"contactEmail\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n {/* */}\n {/* */}\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/landlord/get-contacts?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst LandlordContactTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/get-contacts?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/get-contacts?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default LandlordContactTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport LandlordContactTable from \"./LandlordContactTable\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess } from \"../../utils/index\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LandlordContactDetails extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/landlord/create-contact`,\n clientGroups: [],\n clientList: [],\n companyId: \"\",\n isOpen: false,\n landlordGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n redirect: false,\n id: undefined,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.groupName = e.label;\n this.state.initialValues.groupId = e.label;\n this.state.initialValues.companyGroup = e.value;\n\n this.state.initialValues.companyName = '';\n this.state.initialValues.companyId = '';\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCompany = (e) => {\n let groupid = e.value;\n console.log(e, \"==\")\n this.state.initialValues.companyId = e.value;\n this.state.initialValues.companyName = e.label;\n //this.state.companyId = e.value;\n this.setState({})\n\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n //companyId: data.id,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n self.setState({\n delete: true\n });\n\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/landlord/create-contact`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/landlord/fetch-contact?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/landlord/update-contact?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n // occupierGroups: data.groups,\n companyName: data.companies,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/landlord/fetch-contact?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/landlord/update-contact?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // // occupierGroups: data.groups,\n // companyName: data.companies,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n //this.cgroupId = newValue;\n //console.log(this.cgroupId, \"ddd\");\n //console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/delete-contact?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n console.log(this.state.assetNameValues);\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Landlord Directory\n
  • \n
  • \n
  • \n Landlord Contact Details\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n values.companyId = this.state.initialValues.companyId;\n values.clientId = this.state.initialValues.groupId;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n {/* First Input - Client Group */}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Second Input - Client Name */}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Third Input - Company Group */}\n
\n \n
\n {\n this.changeGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n {/* Fourth Input - Company Name */}\n
\n \n
\n {\n this.changeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n {/* Fifth Input - Person Name */}\n
\n \n
\n \n \n
\n
\n\n {/* Sixth Input - Mobile Number */}\n
\n \n
\n \n \n
\n
\n\n {/* Seventh Input - Email Id */}\n
\n \n
\n \n \n
\n
\n\n {/* Eighth Input - Department */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n \n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
}\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
}\n
\n
\n
\n \n
\n\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {\n this.changeCompany(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n \n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(LandlordContactDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Landlord Name\",\n selector: \"landlord_id\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Bank Name\",\n selector: \"bank_name\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"A/C Type\",\n selector: \"acc_type\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"IFSC Code\",\n selector: \"ifsc_code\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/landlord/get-bank-list?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst LandlordBankTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/get-bank-list?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/landlord/get-bank-list?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default LandlordBankTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport LandlordBankTable from \"./LandlordBankTable\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess } from \"../../utils/index\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LandlordBankDetails extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/landlord/add-bank`,\n clientGroups: [],\n clientList: [],\n companyId: \"\",\n isOpen: false,\n landlordGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n redirect: false,\n id: undefined,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.groupName = e.label;\n this.state.initialValues.groupId = e.label;\n this.state.initialValues.companyGroup = e.value;\n\n this.state.initialValues.companyName = '';\n this.state.initialValues.companyId = '';\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCompany = (e) => {\n let groupid = e.value;\n console.log(e, \"==\")\n this.state.initialValues.companyId = e.value;\n this.state.initialValues.companyName = e.label;\n //this.state.companyId = e.value;\n this.setState({})\n\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n //companyId: data.id,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n self.setState({\n delete: true\n });\n\n }\n\n componentDidUpdate() {\n\n console.log(this.props.match.params.id, \" == \", this.state.id);\n\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/landlord/add-bank`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/landlord/fetch-bank?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/landlord/update-bank?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n // occupierGroups: data.groups,\n companyName: data.companies,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/landlord/fetch-bank?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/landlord/update-bank?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // // occupierGroups: data.groups,\n // companyName: data.companies,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n //this.cgroupId = newValue;\n //console.log(this.cgroupId, \"ddd\");\n //console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/landlord/delete-bank?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n console.log(this.state.assetNameValues);\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Landlord Directory\n
  • \n
  • \n
  • \n Landlord Bank Details\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n values.companyId = this.state.initialValues.companyId;\n values.clientId = this.state.initialValues.groupId;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n {/* First Input - Client Group */}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Second Input - Client Name */}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {/* Third Input - Company Group */}\n
\n \n
\n {\n this.changeGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n {/* Fourth Input - Company Name */}\n
\n \n
\n {\n this.changeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n {/* Fifth Input - Bank Name */}\n
\n \n
\n \n \n
\n
\n\n {/* Sixth Input - Address */}\n
\n \n
\n \n \n
\n
\n\n {/* Seventh Input - A/C Type */}\n
\n \n
\n \n \n
\n
\n\n {/* Eighth Input - A/C Number */}\n
\n \n
\n \n \n
\n
\n\n {/* Ninth Input - IFSC Code */}\n
\n \n
\n \n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n \n
\n\n\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
}\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
}\n
\n
\n
\n \n
\n\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n \n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(LandlordBankDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n },\n {\n name: \"State\",\n selector: \"registeredState\",\n sortable: false,\n },\n {\n name: \"City\",\n selector: \"registeredCity\",\n sortable: false,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n grow: 2,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/broker/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n // console.log(response, \"res\");\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LandlordTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faSave,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport \"bootstrap/js/dist/collapse.js\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LandLordMaster extends React.Component {\n state = {\n id: undefined,\n url: `${apiUrl.apiUrl.url}/broker/update-address-details`,\n LandlordGroups: [],\n countries: [],\n states: [],\n districts: [],\n cities: [],\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n delete: false,\n correspondenceStates: [],\n correspondenceDistricts: [],\n correspondenceCities: [],\n isOpen: false,\n redirect: false,\n companyName: [],\n initialValues: {\n groupId: \"\",\n companyId: \"\",\n companyName: \"\",\n companyCode: \"\",\n registeredAddress: \"\",\n registeredCountry: \"\",\n registeredState: \"\",\n registeredDistrict: \"\",\n registeredCity: \"\",\n registeredPincode: \"\",\n correspondenceAddress: \"\",\n correspondenceCountry: \"\",\n correspondenceState: \"\",\n correspondenceDistrict: \"\",\n correspondenceCity: \"\",\n correspondencePincode: \"\",\n },\n };\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/broker-group/fetch-broker-list`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeGroup = (e) => {\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/broker/get-group-companies/?id=` + groupid, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.groupName = e.label;\n this.state.initialValues.groupId = e.label;\n this.state.initialValues.companyName = '';\n this.state.initialValues.companyId = '';\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n correspondenceStates: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n districts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n correspondenceDistricts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCorrespondenceDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + districtId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n correspondenceCities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n constructor(props) {\n super(props);\n //this.state = {value: ''};\n //this.handleChange = this.handleChange.bind(this);\n //this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n\n changeCompany = (e) => {\n console.log(e, \"ee\");\n //let groupid = e.target.value;\n let groupid = e.value;\n\n\n fetch(`${apiUrl.apiUrl.url}/broker/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n initialValues: data.data,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/broker/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n alert(\"Sorry you cannot delete this item\");\n } else {\n // if (window.confirm(\"Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/landlord/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/broker/create`,\n initialValues: {\n companyId: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n } else {\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/broker/get-company/?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n \n var companies = [\n { id: data.data.companyId, company_name: data.data.companyName },\n ];\n athis.setState({\n url: `${apiUrl.apiUrl.url}/broker/update-address-details?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n states: data.registeredStates,\n districts: data.registeredDistricts,\n cities: data.registeredCities,\n correspondenceStates: data.correspondenceStates,\n correspondenceDistricts: data.correspondenceDistricts,\n correspondenceCities: data.correspondenceCities,\n companyName: companies,\n });\n\n }).catch((error) =>{});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/broker/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // var companies = [\n // { id: data.data.companyId, company_name: data.data.companyName },\n // ];\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/broker/update-address-details?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // states: data.registeredStates,\n // districts: data.registeredDistricts,\n // cities: data.registeredCities,\n // correspondenceStates: data.correspondenceStates,\n // correspondenceDistricts: data.correspondenceDistricts,\n // correspondenceCities: data.correspondenceCities,\n // companyName: companies,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n fillCorrespondenceAddress(e, values) {\n values.correspondenceAddress = values.registeredAddress;\n this.state.correspondenceStates = this.state.states;\n this.state.correspondenceCities = this.state.cities;\n this.state.correspondenceDistricts = this.state.districts;\n values.correspondenceCountry = values.registeredCountry;\n values.correspondenceState = values.registeredState;\n values.correspondenceDistrict = values.registeredDistrict;\n values.correspondenceCity = values.registeredCity;\n values.correspondencePincode = values.registeredPincode;\n this.setState({});\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n companyId: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/broker/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: \"Something Went Wrong\",\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n
\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Broker Directory\n
  • \n
  • \n
  • \n Broker Address Details\n
  • \n
\n
\n
\n\n {\n // values.groupId = this.groupId.value;\n // alert(JSON.stringify(values, null, 2));\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/broker/update-address-details`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n

Broker Registered Address

\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n
\n
\n

Broker Correspondence Address

\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeGroup(e);\n //handleChange(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n {\n this.changeGroup(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n //this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {\n //this.changeCompany(e);\n //handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n Broker Registered Address\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n Broker Correspondence Address\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCorrespondenceDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n\n
\n
\n
\n
\n \n
\n
\n
\n
\n */}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(LandLordMaster);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Group\",\n selector: \"groupName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Name\",\n selector: \"companyName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Company Type\",\n selector: \"companyType\",\n sortable: false,\n wrap: true,\n wrap: true,\n },\n {\n name: \"Company Pan\",\n selector: \"companyPan\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/broker/index?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n // console.log(response, \"res\");\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker /index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LandlordCompanyTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport styles from \"../master.css\";\nimport { clientAccess } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport CreatableSelect from \"react-select/creatable\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LandlordCompanyDetails extends React.Component {\n state = {\n id: undefined,\n clientGroups: [],\n clientList: [],\n landlordGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n companyCode: \"\",\n companyCode: \"\",\n companyPan: \"\",\n companyTan: \"\",\n vendorCode: \"\",\n companyType: \"\",\n redirect: false,\n isOpen: false,\n groupId: \"\",\n url: `${apiUrl.apiUrl.url}/broker/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n vendorCode: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/broker-group/fetch-broker-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/broker/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/broker/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/broker/create`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/broker/get-company/?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/broker/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n }).catch((error) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/broker/get-company/?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/broker/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\");\n // this.state.groupId = newValue.value;\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // this.groupId = newValue.value;\n console.groupEnd();\n };\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.cgroupId = newValue;\n console.log(this.cgroupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/broker/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyName: \"\",\n companyCode: \"\",\n companyType: \"\",\n companyPan: \"\",\n companyTan: \"\",\n groupId: \"\",\n groupName: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Broker Directory\n
  • \n
  • \n
  • \n Broker Company Details\n
  • \n
\n
\n
\n\n {\n values.groupId = this.state.initialValues.groupId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n
\n \n
\n {\n this.handleChangeLandlordGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n
\n {\n this.setState({ companyCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n this.setState({ companyPan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n
\n {\n this.setState({ companyTan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n
\n {\n this.setState({ vendorCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n \n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n }{clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeclientGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n }\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landlordGroups.map(\n (item) => ({\n label: item.name,\n value: item.id,\n })\n )}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n // this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyPan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyTan: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ vendorCode: e.target.value });\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n \n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(LandlordCompanyDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Company Name\",\n selector: \"contactCompany\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Department\",\n selector: \"contactDepartment\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Person Name\",\n selector: \"contactName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Email Id\",\n selector: \"contactEmail\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n {/* */}\n\n {/* */}\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/broker/get-contacts?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst LandlordContactTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker/get-contacts?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/broker/get-contacts?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default LandlordContactTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport LandlordContactTable from \"./LandlordContactTable\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess } from \"../../utils/index\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LandlordContactDetails extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/broker/create-contact`,\n clientGroups: [],\n clientList: [],\n companyId: \"\",\n isOpen: false,\n brokerGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n companyName: [],\n redirect: false,\n id: undefined,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //fetch(`${apiUrl.apiUrl.url}/broker-groups`)\n fetch(`${apiUrl.apiUrl.url}/broker-group/fetch-broker-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brokerGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeGroup = (e) => {\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/broker/get-group-companies/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.groupName = e.label;\n this.state.initialValues.groupId = e.label;\n this.state.initialValues.companyGroup = e.value;\n\n this.state.initialValues.companyName = '';\n this.state.initialValues.companyId = '';\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCompany = (e) => {\n let groupid = e.value;\n console.log(e, \"==\")\n this.state.initialValues.companyId = e.value;\n this.state.initialValues.companyName = e.label;\n //this.state.companyId = e.value;\n this.setState({})\n\n fetch(`${apiUrl.apiUrl.url}/broker/get-company/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n //companyId: data.id,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n self.setState({\n delete: true\n });\n\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/broker/create-contact`,\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/broker/fetch-contact?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/broker/update-contact?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n // occupierGroups: data.groups,\n companyName: data.companies,\n clientGroups: data.clientGroups,\n clientList: data.clientList,\n });\n }).catch((err) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/broker/fetch-contact?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/broker/update-contact?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // // occupierGroups: data.groups,\n // companyName: data.companies,\n // clientGroups: data.clientGroups,\n // clientList: data.clientList,\n // });\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n handleChangeclientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.cgroupId = newValue.value;\n this.state.initialValues.cgroupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n //this.cgroupId = newValue;\n //console.log(this.cgroupId, \"ddd\");\n //console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/broker/delete-contact?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cgroupId: \"\",\n cgroupName: \"\",\n clientId: \"\",\n clientName: \"\",\n companyId: \"\",\n companyName: \"\",\n contactName: \"\",\n contactNumber: \"\",\n contactEmail: \"\",\n contactDepartment: \"\",\n companyGroup: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n console.log(this.state.assetNameValues);\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Broker Directory\n
  • \n
  • \n
  • \n Broker Contact Details\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n values.companyId = this.state.initialValues.companyId;\n values.clientId = this.state.initialValues.groupId;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.cgroupName,\n value: this.state.initialValues.cgroupId,\n }}\n options={this.state.clientGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeclientGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n
\n \n
\n {\n this.changeGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.brokerGroups.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.changeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyName.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n \n
\n\n \n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(LandlordContactDetails);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Brand Category\",\n selector: \"category\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Brand Sub Category\",\n selector: \"subCategory\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Brand Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n grow: 2,\n sortable: false,\n },\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/brand/get-brands?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst OccupierBrandTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default OccupierBrandTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport OccupierBrandTable from \"./OccupierBrandTable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { clientAccess } from \"../../utils/index\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OccupierBrand extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n brandCategories: [],\n brandSubCategories: [],\n isOpen: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n url: `${apiUrl.apiUrl.url}/brand/create-brand`,\n id: undefined,\n initialValues: {\n brandCategory: \"\",\n brandCategoryName: \"\",\n subcategoryId: \"\",\n subCategoryName: \"\",\n brandName: \"\",\n },\n };\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/brand/get-brand-category`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandCategories: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeCategory = (newValue, values) => {\n values.brandSubCategories = \"\";\n values.subCategoryName = \"\";\n console.log(newValue, \"nv\");\n this.state.initialValues.brandCategory = newValue.value;\n this.state.initialValues.brandCategoryName = newValue.label;\n values.brandCategory = newValue.value;\n this.setState({});\n console.groupEnd();\n let groupid = newValue.value;\n fetch(`${apiUrl.apiUrl.url}/brand/get-brand-subcategory/?id=` + groupid, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandSubCategories: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubCategory = (newValue, values) => {\n console.log(newValue);\n this.state.initialValues.subcategoryId = newValue.value;\n this.state.initialValues.subCategoryName = newValue.label;\n values.subcategoryId = newValue.value;\n this.setState({});\n console.groupEnd();\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/brand/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/brand/create-brand`,\n initialValues: {\n brandCategory: \"\",\n subcategoryId: \"\",\n brandName: \"\",\n groupName: \"\",\n groupId: \"\",\n clientName: \"\",\n clientId: \"\"\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/brand/fetch-brand?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/brand/update-brand?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n brandSubCategories: data.subcategories,\n clientList: data.clientList,\n LandlordGroups: data.LandlordGroups\n });\n }).catch((error)=>{});\n \n // fetch(\n // `${apiUrl.apiUrl.url}/brand/fetch-brand?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/brand/update-brand?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // brandSubCategories: data.subcategories,\n // clientList: data.clientList,\n // LandlordGroups: data.LandlordGroups\n // });\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n constructor(props) {\n super(props);\n }\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/brand/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n brandCategory: \"\",\n subcategoryId: \"\",\n brandName: \"\",\n groupName: \"\",\n groupId: \"\",\n clientName: \"\",\n clientId: \"\"\n },\n });\n };\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n brandCategory: \"\",\n subcategoryId: \"\",\n brandName: \"\",\n groupName: \"\",\n groupId: \"\",\n clientName: \"\",\n clientId: \"\"\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Brand Directory\n
  • \n
  • \n
  • \n Brand Details\n
  • \n
\n
\n
\n\n {\n values.brandCategory = this.state.initialValues.brandCategory;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n reload,\n\n isSubmitting,\n }) => (\n\n <>\n
\n
\n
\n
\n {clientAccess() && (\n <>\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n \n )}\n
\n \n
\n {\n this.handleChangeAssetType(e);\n }}\n value={{\n label: this.state.initialValues.brandCategoryName,\n value: this.state.initialValues.brandCategory,\n }}\n options={this.state.brandCategories.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n onChange={(e) => {\n this.changeCategory(e, values);\n }}\n />\n \n
\n
\n
\n \n
\n {\n this.changeSubCategory(e, values);\n }}\n options={this.state.brandSubCategories.map((item) => ({\n label: item.subcategory_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n\n \n
\n\n \n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(OccupierBrand);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Category\",\n selector: \"category\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Client Group\",\n selector: \"groupName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Client Name\",\n selector: \"clientName\",\n sortable: false,\n grow: 5,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n grow: 3,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchData(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchData = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/client/index?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/client/index?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchData(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./ClientTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Select from \"react-select\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getUserRole, getUserType, clientId, clientAccess } from \"../../utils/index\";\n\nconsole.log(clientId(), \"clientId\")\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ClientDetail extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/client/create`,\n LandlordGroups: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n id: undefined,\n unitTypes: [],\n assetTypes: [],\n unitSelected: [],\n assetSelected: [],\n modules: [],\n moduleSelected: [],\n initialValues: {\n groupId: \"\",\n clientName: \"\",\n clientCategory: getUserType(),\n clientNameId: \"\",\n groupName: \"\",\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-unit-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n unitTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-asset-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/module/get-all`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n modules: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/client/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n } else {\n self.setState({\n delete: true\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/client/create`,\n unitSelected: [],\n moduleSelected: [],\n assetSelected: [],\n initialValues: {\n groupId: \"\",\n clientName: \"\",\n clientCategory: getUserType(),\n clientNameId: \"\",\n groupName: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/client/fetch-client?id=${this.props.match.params.id}`\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/client/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n unitSelected: data.data.unitTypes,\n moduleSelected: data.data.modules,\n assetSelected: data.data.assetTypes,\n });\n console.log(this.state.initialValues, \"iv\");\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n\n constructor(props) {\n super(props);\n }\n\n handleChangeAssetType = (newValue, actionMeta) => {\n this.state.assetSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n //this.state.initialValues.brandId.push(newValue[i].value);\n this.state.assetSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n };\n\n handleFileStorageChange = (newValue, actionMeta) => {\n this.state.initialValues.storageTypeId = newValue.value;\n this.state.initialValues.storageType = newValue.label;\n this.setState({});\n };\n\n handleChangeUnitType = (newValue, actionMeta) => {\n this.state.unitSelected = [];\n this.state.initialValues.unitTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n //this.state.initialValues.brandId.push(newValue[i].value);\n this.state.unitSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n };\n\n handleChangeModule = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.moduleSelected = [];\n this.state.initialValues.moduleId = [];\n for (let i = 0; i < newValue.length; i++) {\n //this.state.initialValues.brandId.push(newValue[i].value);\n this.state.moduleSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n };\n\n handleTypeChange = (newValue, actionMeta) => {\n this.state.initialValues.functionTypeId = newValue.value;\n this.state.initialValues.functionTypeLable = newValue.label;\n this.setState({});\n };\n\n handleEditableChange = (newValue, actionMeta) => {\n this.state.initialValues.isLeasesEditableId = newValue.value;\n this.state.initialValues.isLeasesEditable = newValue.label;\n this.setState({});\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\");\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n clientName: \"\",\n clientCategory: getUserType(),\n clientNameId: \"\",\n groupName: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n unitSelected: [],\n moduleSelected: [],\n assetSelected: [],\n initialValues: {\n groupId: \"\",\n clientName: \"\",\n clientCategory: getUserType(),\n clientNameId: \"\",\n groupName: \"\",\n },\n });\n };\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/client/client-delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n { clientAccess() && (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Client Profile\n
  • \n
  • \n
  • \n Client Profile Setup\n
  • \n
\n
\n
\n\n {\n values.groupId = this.state.initialValues.groupId;\n values.functionType = this.state.initialValues.functionTypeId;\n values.unitTypes = this.state.unitSelected;\n values.assetTypes = this.state.assetSelected;\n values.fileStorage = this.state.initialValues.storageTypeId;\n values.modules = this.state.moduleSelected;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n\n <>\n\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeClientGroup(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n {getUserType() === \"landlord\" && (\n \n )}\n {getUserType() === \"occupier\" && (\n \n )}\n {getUserType() !== \"occupier\" && getUserType() !== \"landlord\" && (\n <>\n \n \n \n \n )}\n \n \n
\n
\n\n {this.props.match.params.id !== undefined && (\n
\n \n
\n \n \n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.handleTypeChange(e);\n }}\n value={{\n label: this.state.initialValues.functionTypeLable,\n value: this.state.initialValues.functionTypeId,\n }}\n options={[\n { id: \"self\", label: \"Self\" },\n { id: \"clm\", label: \"CLM\" },\n ].map((item) => ({\n label: item.label,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {typeof this.props.match.params.id == \"undefined\" && (\n <>\n
\n \n
\n {\n this.handleChangeAssetType(e);\n }}\n value={this.state.assetSelected}\n options={this.state.assetTypes.map((item) => ({\n label: item.asset_type,\n value: item.id,\n }))}\n />\n
\n
\n\n
\n \n
\n {\n this.handleChangeUnitType(e);\n }}\n value={this.state.unitSelected}\n options={this.state.unitTypes.map((item) => ({\n label: item.unit_type,\n value: item.id,\n }))}\n />\n
\n
\n \n )}\n\n\n
\n \n
\n {\n this.handleChangeModule(e);\n }}\n value={this.state.moduleSelected}\n options={this.state.modules.map((item) => ({\n label: item.title,\n value: item.id,\n }))}\n />\n
\n
\n\n\n
\n \n
\n {\n this.handleEditableChange(e);\n }}\n value={{\n label: this.state.initialValues.isLeasesEditable,\n value: this.state.initialValues.isLeasesEditableId,\n }}\n options={[\n { id: \"no\", label: \"No\" },\n { id: \"yes\", label: \"Yes\" },\n ].map((item) => ({\n label: item.label,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleFileStorageChange(e);\n }}\n value={{\n label: this.state.initialValues.storageType,\n value: this.state.initialValues.storageTypeId,\n }}\n options={[\n { id: \"s3\", label: \"S3\" },\n { id: \"local\", label: \"Local Server\" },\n ].map((item) => ({\n label: item.label,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n \n
\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n \n )}\n \n );\n }\n}\n\nexport default withRouter(ClientDetail);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch,faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"index\",\n sortable: false,\n },\n {\n name: \"Client Group\",\n selector: \"groupName\",\n sortable: false,\n },\n {\n name: \"Client Name\",\n selector: \"clientName\",\n sortable: false,\n },\n {\n name: \"Name\",\n selector: \"name\",\n sortable: false,\n },\n {\n name: \"Role\",\n selector: \"role\",\n sortable: false,\n },\n \n {\n name: \"Email\",\n selector: \"email\",\n sortable: false,\n },\n {\n name: \"mobile\",\n selector: \"mobile\",\n sortable: false,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchData(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchData = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/client/fetch-client-list?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n \n const handlePageChange = (page) => {\n fetchData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/client/fetch-client-list?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchData(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./ClientAccessSetupTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faUndo, faPen, faMinus, faTimes, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess, clientId } from \"../../utils/index\";\nimport styles from \"../master.css\";\nimport Popup from \"reactjs-popup\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\n\n\nvar validationRules = {\n email: Yup.string().required(\"Required\"),\n mobile: Yup.string().required(\"Required\"),\n\n\n name: Yup.string().required(\"Required\"),\n};\n//console.log(clientId(), \"adas\");\nif (clientId() != 0) {\n validationRules = {\n //clientName: Yup.string().required(\"Required\"),\n //clientGroup: Yup.string().required(\"Required\"),\n //role: Yup.string().required('Required'),\n email: Yup.string().required(\"Required\"),\n mobile: Yup.string().required(\"Required\"),\n name: Yup.string().required(\"Required\"),\n };\n}\n\nconst formValidationFields = Yup.object().shape(validationRules);\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ClientAccessSetup extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n popupContent: \"\",\n messsagePopup: false,\n redirect: false,\n id: undefined,\n url: `${apiUrl.apiUrl.url}/client/create-access-setup`,\n countries: [],\n states: [],\n cityList: [],\n brandList: [],\n delete: false,\n initialValues: {\n brandId: [],\n cityId: [],\n countryId: [],\n clientId: \"\",\n clientName: \"\",\n groupId: \"\",\n groupName: \"\",\n clientGroup: \"\",\n role: \"admin\",\n roleName: \"Admin\",\n email: \"\",\n name: \"\",\n mobile: \"\",\n },\n readOnly: false,\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-brand-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n };\n checkDelete() {\n var self = this;\n self.setState({\n delete: true\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/client/create-access-setup`,\n initialValues: {\n clientId: \"\",\n clientName: \"\",\n groupId: \"\",\n groupName: \"\",\n clientGroup: \"\",\n role: \"admin\",\n roleName: \"Admin\",\n email: \"\",\n name: \"\",\n mobile: \"\",\n },\n });\n } else {\n\n let athis = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/client/fetch-client-setup?id=${this.props.match.params.id}`,\n headers: headers,\n }).then(function (response) {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/client/update-access-setup?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientList: data.client_list,\n readOnly: true,\n });\n\n athis.state.initialValues.countryId =\n data.form_data.countryId.countryId;\n athis.state.initialValues.countryName =\n data.form_data.countryId.countryName;\n athis.state.stateSelected = data.form_data.stateId;\n athis.state.initialValues.stateId = data.form_data.stateArr;\n athis.state.citySeleted = data.form_data.cityId;\n athis.state.initialValues.cityId = data.form_data.cityArr;\n athis.state.brandSelected = data.form_data.brandId;\n athis.state.initialValues.brandId = data.form_data.brandArr;\n\n athis.state.cityList = data.form_data.cities;\n athis.state.states = data.form_data.state;\n athis.state.countries = data.form_data.countries;\n athis.state.brandList = data.form_data.brands;\n });\n\n this.setState({});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/client/fetch-client-setup?id=${this.props.match.params.id}`, { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/client/update-access-setup?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientList: data.client_list,\n // readOnly: true,\n // });\n\n // this.state.initialValues.countryId =\n // data.form_data.countryId.countryId;\n // this.state.initialValues.countryName =\n // data.form_data.countryId.countryName;\n // this.state.stateSelected = data.form_data.stateId;\n // this.state.initialValues.stateId = data.form_data.stateArr;\n // this.state.citySeleted = data.form_data.cityId;\n // this.state.initialValues.cityId = data.form_data.cityArr;\n // this.state.brandSelected = data.form_data.brandId;\n // this.state.initialValues.brandId = data.form_data.brandArr;\n\n // this.state.cityList = data.form_data.cities;\n // this.state.states = data.form_data.state;\n // this.state.countries = data.form_data.countries;\n // this.state.brandList = data.form_data.brands;\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n // this.setState({});\n\n }\n }\n }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n handleRoleChange = (newValue, actionMeta) => {\n this.state.initialValues.role = newValue.value;\n this.state.initialValues.roleName = newValue.label;\n this.setState({});\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = [];\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.cityId = [];\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.cityId = [];\n this.state.initialValues.cityName = \"\";\n\n this.state.stateSelected = [];\n this.state.initialValues.stateId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.stateId.push(newValue[i].value);\n this.state.stateSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/city/state-cities?stateId=` +\n this.state.initialValues.stateId,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n this.state.citySeleted = [];\n this.state.initialValues.cityId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.cityId.push(newValue[i].value);\n this.state.citySeleted.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n }\n this.setState({});\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/client/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n clientId: \"\",\n clientName: \"\",\n groupId: \"\",\n groupName: \"\",\n clientGroup: \"\",\n role: \"admin\",\n roleName: \"Admin\",\n email: \"\",\n name: \"\",\n mobile: \"\",\n //countries: [],\n //states: [],\n //cityList: [],\n //brandList: [],\n stateSelected: [],\n citySeleted: [],\n brandSelected: [],\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n clientId: \"\",\n clientName: \"\",\n groupId: \"\",\n groupName: \"\",\n clientGroup: \"\",\n role: \"admin\",\n roleName: \"Admin\",\n email: \"\",\n name: \"\",\n mobile: \"\",\n //countries: [],\n //states: [],\n //cityList: [],\n //brandList: [],\n stateSelected: [],\n citySeleted: [],\n brandSelected: [],\n });\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n \n
  • \n
  • \n Client Profile\n
  • \n
  • \n \n
  • \n
  • \n Client Access Setup\n
  • \n
\n
\n
\n
\n {this.renderForm()}\n
\n \n );\n }\n\n renderForm() {\n return (\n <>\n\n\n {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n //values.groupId = this.groupId.value;\n //alert(JSON.stringify(values, null, 2));\n values.role = this.state.initialValues.role;\n values.roleName = this.state.initialValues.roleName;\n console.log(values, \"==\", this.state.initialValues);\n var self = this;\n axios({\n method: \"post\",\n url: `${this.state.url}`, // `${apiUrl.apiUrl.url}/client/create-access-setup`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n for (const [key, value] of Object.entries(\n self.state.initialValues\n )) {\n self.state.initialValues[key] = \"\";\n }\n self.state.brandSelected = \"\";\n self.state.citySeleted = \"\";\n self.state.stateSelected = \"\";\n\n self.setState({});\n // self.setState({ redirect: true });\n // alert(\"Data Saved Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n {clientAccess() &&\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n
\n
\n }\n {clientAccess() &&\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n
\n
\n }\n
\n \n
\n \n\n \n
\n
\n
\n \n
\n {\n this.handleRoleChange(e);\n }}\n value={{\n label: this.state.initialValues.roleName,\n value: this.state.initialValues.role,\n }}\n options={[\n { id: \"admin\", label: \"Admin\" },\n { id: \"user\", label: \"User\" },\n { id: \"checker\", label: \"Checker\" },\n { id: \"maker\", label: \"Maker\" }\n ].map((item) => ({\n label: item.label,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Role\",\n this.state.initialValues.role,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {this.state.readOnly ? (\n \n ) : (\n \n )}\n\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
\n
\n
\n \n
\n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={this.state.stateSelected}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
\n
\n
\n \n
\n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={this.state.citySeleted}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
\n
\n
\n \n
\n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
\n
\n
\n\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n {/*
*/}\n
\n \n \n )\n }\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default withRouter(ClientAccessSetup);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch } from \"@fortawesome/free-solid-svg-icons\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n IconButton,\n DeleteIcon,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport apiUrl from \"../../apiUrlConstant\";\n\nconst columns = [\n {\n name: \"S.No\",\n selector: \"index\",\n sortable: false,\n width: \"70px\",\n },\n {\n name: \"Zone\",\n selector: \"zoneName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Circle\",\n selector: \"circleName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"State\",\n selector: \"zoneName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: \"circleName\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n selector: \"information\",\n sortable: false,\n icon: ,\n width: \"70px\",\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst Table = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUnits(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n console.log(datatableOptions);\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n //alert(e.target.value);\n\n //fetchUnits(1);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUnits = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/unit-detail/get-circles?page=${page}&per_page=${perPage}&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUnits(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/unit-detail/getcircles?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUnits(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default Table;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./ZoneTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faPlus, faUndo } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass DemographicDetail extends React.Component {\n state = {\n countries: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n zones: [],\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleChangeZone = (newValue, actionMeta) => {\n this.zoneId = newValue.value;\n\n console.groupEnd();\n };\n\n handleChangeState = (newValue, actionMeta) => {\n //console.log(newValue);\n this.stateIds = [];\n for (let i = 0; i < newValue.length; i++) {\n this.stateIds.push(newValue[i].value);\n }\n console.groupEnd();\n };\n\n constructor(props) {\n super(props);\n }\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue, \"jj\");\n this.countryId = newValue.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-zones?country_id=` + this.countryId,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n zones: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n
\n
\n
\n \n
\n
\n\n\n {\n values.zoneId = this.zoneId;\n values.countryId = this.countryId;\n values.stateIds = this.stateIds;\n // alert(JSON.stringify(values, null, 2));\n\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/unit-detail/create-circle`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n
\n
\n \n
\n ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n ({\n label: item.zone_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n )}\n \n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n \n );\n }\n}\n\nexport default DemographicDetail;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen, faInfoCircle, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { clientId } from \"../../utils/index\";\nimport { Link } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport UnitTable from \"./UnitDetailTable\";\n\n\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n {/* */}\n\n {/* */}\n \n);\n\nfunction DownloadFile(filterText) {\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/asset/get-towers?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + \"/lease-report/download-file?path=\" + response.data\n }`;\n });\n}\n\n\nconst CommercialClausesTable = () => {\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [assetId, setAssetId] = useState(0);\n function openFromParent() {\n setIsOpen(true);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n const showAssetBox = (id) => {\n console.log(id, \"id\");\n setAssetId(id);\n openFromParent(true);\n };\n\n\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 0,\n },\n {\n name: \"Asset Type\",\n selector: \"assetType\",\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Tower\",\n selector: \"towerName\",\n sortable: false,\n grow: 2,\n wrap: true,\n },\n {\n name: \"PinCode\",\n selector: \"pinCode\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_by} ${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n grow: 1,\n // width: \"70px\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n showAssetBox(record.assetId)}\n // onClick={(e) => {\n // setAssetId(record.towerId);\n // openFromParent(true);\n // }}\n >\n \n \n {/* \n \n */}\n
\n );\n },\n },\n ];\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/asset/get-towers?page=${page}&per_page=${perPage}&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/asset/get-towers?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
      Asset Unit Details
    \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n
\n\n
\n \n );\n};\nexport default CommercialClausesTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport TableComponent from \"./AssetDetailsTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\n\nimport { Cropper } from \"react-cropper\";\nimport \"cropperjs/dist/cropper.css\";\n\nimport { CKEditor } from \"@ckeditor/ckeditor5-react\";\nimport ClassicEditor from \"@ckeditor/ckeditor5-build-classic\";\nimport { Accordion } from \"react-bootstrap\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass AssetDetail extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n showPopupAsset: false,\n showPopupTower: false,\n showPopupToc: false,\n redirect: false,\n assetTypes: [],\n assets: [],\n subAssets: [],\n countries: [],\n states: [],\n districts: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n cities: [],\n assetType: \"\",\n asset: \"\",\n subAsset: \"\",\n cityId: \"\",\n url: `${apiUrl.apiUrl.url}/asset/create-tower`,\n id: undefined,\n assetImage: null,\n towerImage: null,\n tocImage: null,\n logoImage: null,\n cropperRef: React.createRef(),\n cropperTowerRef: React.createRef(),\n cropperTocRef: React.createRef(),\n cropperLogoRef: React.createRef(),\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetTypeId: \"\",\n region: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n latiTude: \"\",\n longiTude: \"\",\n pinCode: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n compliance_count: \"\",\n compliance_percent: \"\",\n assetCompliance: [],\n ownershipType: \"\",\n officeArea: \"\",\n structure: \"\",\n retailsArea: \"\",\n floorPlateRange: \"\",\n assetImage: \"\",\n towerImage: \"\",\n assetDesc: \"\",\n logoImage: null,\n tocImage: null,\n remCode: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n // this.state = {\n // image: null,\n // };\n //this.cropperRef = React.createRef();\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-asset-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n // Handle the image file change\n onImageChange = (e, type) => {\n e.preventDefault();\n const files = e.target.files;\n if (files && files.length > 0) {\n const reader = new FileReader();\n reader.onload = () => {\n if (type == \"asset\") {\n this.setState({ assetImage: reader.result, showPopupAsset: true });\n } else if (type == \"tower\") {\n this.setState({ towerImage: reader.result, showPopupTower: true });\n } else if (type == \"tocImage\") {\n this.setState({ tocImage: reader.result, showPopupToc: true });\n } else {\n this.setState({ logoImage: reader.result, showPopupLogo: true });\n }\n };\n reader.readAsDataURL(files[0]);\n }\n };\n\n removeImage = (type) => {\n if (type == \"asset\") {\n this.setState({ assetImage: '' })\n } else if (type == \"tower\") {\n this.setState({ towerImage: '' })\n } else if (type == \"tocImage\") {\n this.setState({ tocImage: '' })\n } else {\n this.setState({ logoImage: '' })\n }\n }\n\n // Handle cropping the image\n getCroppedImage = (e, type) => {\n e.preventDefault();\n let cropper, croppedCanvas, croppedImageUrl;\n if (type == \"asset\") {\n cropper = this.state.cropperRef.current.cropper;\n } else if (type == \"tower\") {\n cropper = this.state.cropperTowerRef.current.cropper;\n } else if (type == \"tocImage\") {\n cropper = this.state.cropperTocRef.current.cropper;\n } else {\n cropper = this.state.cropperLogoRef.current.cropper;\n }\n\n\n croppedCanvas = cropper.getCroppedCanvas();\n if (croppedCanvas) {\n croppedImageUrl = croppedCanvas.toDataURL();\n console.log(\"Cropped Image URL:\", croppedImageUrl);\n\n if (type == \"asset\") {\n this.setState({ assetImage: croppedImageUrl });\n } else if (type == \"tower\") {\n this.setState({ towerImage: croppedImageUrl });\n } else if (type == \"tocImage\") {\n this.setState({ tocImage: croppedImageUrl });\n } else {\n this.setState({ logoImage: croppedImageUrl });\n }\n // You can process or upload the cropped image here\n }\n };\n\n complianceList = (clientId, id) => {\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/compliance/get-list-asset?client_id=${clientId}&id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"compliance data\");\n // this.setState({\n // assetCompliance: data.data,\n // });\n ths.state.initialValues.assetCompliance = data.data;\n ths.state.compliance_count = data.count;\n ths.state.compliance_percent = data.percent_count;\n ths.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/site/country-states/?country_id=` + countryid, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/site/state-districts?state_id=` + stateId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n districts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeDistrict = (e) => {\n let districtId = e.target.value;\n console.log(districtId, \"SI\");\n fetch(\n `${apiUrl.apiUrl.url}/site/district-cities?district_id=` + districtId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getCityId(e) {\n this.state.cityId = e.target.value;\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/asset/create-tower`,\n\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetTypeId: \"\",\n region: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n latiTude: \"\",\n longiTude: \"\",\n pinCode: \"\",\n assetCompliance: [],\n ownershipType: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n officeArea: \"\",\n structure: \"\",\n retailsArea: \"\",\n floorPlateRange: \"\",\n assetImage: \"\",\n towerImage: \"\",\n assetDesc: \"\",\n logoImage: null,\n tocImage: null,\n remCode:\"\"\n },\n });\n } else {\n\n let athis = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/fetch-tower?id=${this.props.match.params.id}`\n }).then(function (response) {\n let data = response.data;\n data.data[\"assetDesc\"] = data.assets[0][\"desc\"] || \"\";\n\n athis.setState({\n url: `${apiUrl.apiUrl.url}/asset/update-tower?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n subAssets: data.subAssets,\n assets: data.assets,\n countries: data.countries,\n states: data.state,\n districts: data.district,\n cities: data.cities,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n assetCompliance: [],\n });\n\n if (data.assetImage.length > 0) {\n athis.setState({ assetImage: `${apiUrl.apiUrl.url}/${data.assetImage}` });\n } else {\n athis.setState({ assetImage: null });\n }\n if (data.towerImage.length > 0) {\n athis.setState({ towerImage: `${apiUrl.apiUrl.url}/${data.towerImage}` });\n } else {\n athis.setState({ towerImage: null });\n }\n\n\n if (data.tocImage.length > 0) {\n athis.setState({ tocImage: `${apiUrl.apiUrl.url}/${data.tocImage}` });\n } else {\n athis.setState({ tocImage: null });\n }\n\n if (data.logoImage.length > 0) {\n athis.setState({ logoImage: `${apiUrl.apiUrl.url}/${data.logoImage}` });\n } else {\n athis.setState({ logoImage: null });\n }\n\n //athis.state.initialValues.assetDesc = data.assets.desc;\n athis.complianceList(data.data.clientId, data.data.assetId);\n // console.log(\"heelo\");\n //console.log(data.assets[0][\"desc\"], \"data.assets.desc\");\n //console.log(data.data);\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/asset/fetch-tower?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // data.data[\"assetDesc\"] = data.assets[0][\"desc\"] || \"\";\n\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/asset/update-tower?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // subAssets: data.subAssets,\n // assets: data.assets,\n // countries: data.countries,\n // states: data.state,\n // districts: data.district,\n // cities: data.cities,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // assetCompliance: [],\n // });\n\n // if (data.assetImage.length > 0) {\n // this.setState({ assetImage: `${apiUrl.apiUrl.url}/${data.assetImage}` });\n // } else {\n // this.setState({ assetImage: null });\n // }\n // if (data.towerImage.length > 0) {\n // this.setState({ towerImage: `${apiUrl.apiUrl.url}/${data.towerImage}` });\n // } else {\n // this.setState({ towerImage: null });\n // }\n\n\n // if (data.tocImage.length > 0) {\n // this.setState({ tocImage: `${apiUrl.apiUrl.url}/${data.tocImage}` });\n // } else {\n // this.setState({ tocImage: null });\n // }\n\n // if (data.logoImage.length > 0) {\n // this.setState({ logoImage: `${apiUrl.apiUrl.url}/${data.logoImage}` });\n // } else {\n // this.setState({ logoImage: null });\n // }\n\n // //this.state.initialValues.assetDesc = data.assets.desc;\n // this.complianceList(data.data.clientId, data.data.assetId);\n // // console.log(\"heelo\");\n // console.log(data.assets[0][\"desc\"], \"data.assets.desc\");\n // console.log(data.data);\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n handleChangeAssetType = (newValue, actionMeta) => {\n console.log(newValue, \"nw\");\n this.state.initialValues.assetType = newValue.label;\n this.state.initialValues.assetTypeId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.assetType = newValue.value;\n if (!isNaN(this.assetType)) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-assets-by-filter?asset_type_id=${this.assetType}&city_id=${this.state.cityId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.state.initialValues.assetDesc = '';\n this.setState({ assetImage: null });\n this.setState({});\n }\n\n\n\n\n console.groupEnd();\n };\n\n handleChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetName = newValue.label;\n this.state.initialValues.assetId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.asset = newValue.value;\n if (!isNaN(this.asset)) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.asset,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n console.log(this.state.assets, \"asset list\", this.state.initialValues.assetId)\n\n var selectedAsset = this.state.assets.filter(item => item.id == newValue.value);\n\n if (selectedAsset.length > 0) {\n if (selectedAsset[0].image.length > 0) {\n this.setState({ assetImage: `${apiUrl.apiUrl.url}/${selectedAsset[0].image}` });\n } else {\n this.setState({ assetImage: null });\n }\n if (selectedAsset[0].toc_image.length > 0) {\n this.setState({ tocImage: `${apiUrl.apiUrl.url}/${selectedAsset[0].toc_image}` });\n } else {\n this.setState({ tocImage: null });\n }\n if (selectedAsset[0].logo_image.length > 0) {\n this.setState({ logoImage: `${apiUrl.apiUrl.url}/${selectedAsset[0].logo_image}` });\n } else {\n this.setState({ logoImage: null });\n }\n this.state.initialValues.assetDesc = selectedAsset[0].desc;\n this.setState({});\n }\n\n console.log(selectedAsset, \"selectedAsset\", selectedAsset.length)\n\n }\n\n\n console.groupEnd();\n };\n\n handleChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetName = newValue.label;\n this.state.initialValues.subAssetId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.subAsset = newValue.value;\n\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/delete-tower?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n assetImage: null,\n towerImage: null,\n tocImage: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetTypeId: \"\",\n region: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n latiTude: \"\",\n longiTude: \"\",\n pinCode: \"\",\n assetCompliance: [],\n ownershipType: \"\",\n isCoWorking: \"\",\n efficiencyOnUsableArea: \"\",\n totalSeatUsable: \"\",\n efficiencyOnBillableArea: \"\",\n totalSeatBillable: \"\",\n officeArea: \"\",\n structure: \"\",\n retailsArea: \"\",\n floorPlateRange: \"\",\n assetImage: \"\",\n towerImage: \"\",\n assetDesc: \"\",\n logoImage: null,\n tocImage: null,\n remCode:\"\"\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n\n assetImage: null,\n towerImage: null,\n tocImage: null,\n logoImage: null,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n assetTypeId: \"\",\n region: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n latiTude: \"\",\n longiTude: \"\",\n pinCode: \"\",\n assetCompliance: [],\n ownershipType: \"\",\n officeArea: \"\",\n structure: \"\",\n retailsArea: \"\",\n floorPlateRange: \"\",\n assetImage: \"\",\n towerImage: \"\",\n logoImage: null,\n tocImage: null,\n assetDesc: \"\",\n remCode:\"\"\n },\n });\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n this.complianceList(newValue.value, this.state.initialValues.assetId);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n
{this.renderForm()}
\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n \n
  • \n
  • \n Unit Directory\n
  • \n
  • \n \n
  • \n
  • \n Asset Detail\n
  • \n
\n
\n
\n\n {\n values.assetTypeId = this.state.initialValues.assetTypeId;\n values.assetId = this.state.initialValues.assetId;\n values.subAssetId = this.state.initialValues.subAssetId;\n values.assetImage = this.state.assetImage;\n values.towerImage = this.state.towerImage;\n\n values.logoImage = this.state.logoImage;\n values.tocImage = this.state.tocImage;\n\n values.assetDesc = this.state.initialValues.assetDesc;\n console.log(values, \"===\");\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n \n
\n
\n )}\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n this.changeCountry(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeState(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n this.changeDistrict(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.getCityId(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n this.handleChangeAssetType(e);\n }}\n value={{\n label: this.state.initialValues.assetType,\n value: this.state.initialValues.assetTypeId,\n }}\n options={this.state.assetTypes.map((item) => ({\n label: item.asset_type,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assets.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssets.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.isCoWorking =\n e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n
\n
\n\n {this.state.initialValues.isCoWorking == \"yes\" && (\n <>\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n \n )}\n\n\n\n {this.state.initialValues.assetCompliance.length > 0 && (\n <>\n
\n \n
\n
\n \n
\n \n )}\n\n {this.state.initialValues.assetCompliance.length > 0 && (\n
\n
\n \n \n \n \n \n \n {this.state.initialValues.assetCompliance.map(\n (obj, i) => (\n \n \n {obj.compliance_datatype == \"date\" && (\n \n )}\n {obj.compliance_datatype == \"checkbox\" && (\n \n )}\n \n )\n )}\n
Compliance NameCompliance Answer
{obj.name}\n \n \n \n
\n \n )}\n\n
\n\n \n \n Prospect Template\n \n\n
\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n\n
\n
\n Asset Image \n {this.state.assetImage ? (\n
\n \n {\n console.log(\"Calling asset\")\n e.preventDefault();\n this.removeImage(\"asset\")\n }}>\n \n \n \n \n
\n ) : (\n
\n {\n this.onImageChange(e, \"asset\");\n }}\n />\n \n \n \n
\n )}\n\n {this.state.assetImage && (\n <>\n {this.state.showPopupAsset === true ? (\n
\n \n
\n {\n console.log(e);\n this.setState({\n showPopupAsset: false,\n });\n this.getCroppedImage(e, \"asset\");\n }}\n >\n Crop Image\n \n
\n
\n ) : null}\n \n )}\n\n
\n Description \n {\n console.log(\n \"Editor is ready to use!\",\n editor\n );\n }}\n onChange={(event, editor) => {\n const data = editor.getData();\n this.state.initialValues.assetDesc = data;\n this.setState({});\n }}\n onBlur={(event, editor) => {\n console.log(\"Blur.\", editor);\n }}\n onFocus={(event, editor) => {\n console.log(\"Focus.\", editor);\n }}\n />\n
\n
\n
\n Tower Image \n {this.state.towerImage ? (\n
\n \n {\n console.log(\"Calling tower\")\n this.removeImage(\"tower\")\n }} >\n \n \n \n \n
\n ) : (\n
\n {\n this.onImageChange(e, \"tower\");\n }}\n />\n \n \n \n
\n )}\n {this.state.towerImage && (\n <>\n {this.state.showPopupTower === true ? (\n
\n \n
\n {\n console.log(e);\n this.setState({\n showPopupTower: false,\n });\n this.getCroppedImage(e, \"tower\");\n }}\n >\n Crop Image\n \n
\n
\n ) : null}\n \n )}\n
\n
\n TOC Image \n {this.state.tocImage ? (\n
\n \n {\n console.log(\"Calling tower\")\n this.removeImage(\"tocImage\")\n }} >\n \n \n \n \n
\n ) : (\n
\n {\n this.onImageChange(e, \"tocImage\");\n }}\n />\n \n \n \n
\n )}\n {this.state.tocImage && (\n <>\n {this.state.showPopupToc === true ? (\n
\n \n
\n {\n console.log(e);\n this.setState({\n showPopupToc: false,\n });\n this.getCroppedImage(e, \"tocImage\");\n }}\n >\n Crop Image\n \n
\n
\n ) : null}\n \n )}\n
\n\n
\n Asset Logo \n {this.state.logoImage ? (\n
\n \n {\n console.log(\"Calling tower\")\n this.removeImage(\"logoImage\")\n }} >\n \n \n \n \n
\n ) : (\n
\n {\n this.onImageChange(e, \"logoImage\");\n }}\n />\n \n \n \n
\n )}\n {this.state.logoImage && (\n <>\n {this.state.showPopupLogo === true ? (\n
\n \n
\n {\n console.log(e);\n this.setState({\n showPopupLogo: false,\n });\n this.getCroppedImage(e, \"logoImage\");\n }}\n >\n Crop Image\n \n
\n
\n ) : null}\n \n )}\n
\n\n
\n\n
\n
\n
\n\n\n
\n\n\n \n\n {this.props.match.params.id !== undefined ? (\n
\n \n Update\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n Reset\n \n
\n ) : (\n
\n \n Add\n \n \n Reset\n \n
\n )}\n \n \n \n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(AssetDetail);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n },\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst UtilityChargesTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/utility-charges-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/utility-charges-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default UtilityChargesTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport UtilityChargesTable from \"./UtilityChargesTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass UtilityCharges extends React.Component {\n state = {\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n url: `${apiUrl.apiUrl.url}/utility-charges-logic/create`,\n id: undefined,\n initialValues: {\n utility_charges_logic_name: \"\",\n effective_from: \"\",\n utility_charges_logic_formula: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/utility-charges-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/utility-charges-logic/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/utility-charges-logic/create`,\n initialValues: {\n utility_charges_logic_name: \"\",\n effective_from: \"\",\n utility_charges_logic_formula: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/utility-charges-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/utility-charges-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n utility_charges_logic_name: \"\",\n effective_from: \"\",\n utility_charges_logic_formula: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n utility_charges_logic_name: \"\",\n effective_from: \"\",\n utility_charges_logic_formula: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/utility-charges-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Charges Master\n
  • \n
  • \n
  • \n Utility Charges\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(UtilityCharges);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst OtherChargesTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/other-charges-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/other-charges-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default OtherChargesTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport OtherChargesTable from \"./OtherChargesTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherCharges extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/other-charges-logic/create`,\n id: undefined,\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n initialValues: {\n other_charges_logic_name: \"\",\n effective_from: \"\",\n other_charges_logic_formula: \"\",\n },\n };\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/other-charges-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/other-charges-logic/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/other-charges-logic/create`,\n initialValues: {\n other_charges_logic_name: \"\",\n effective_from: \"\",\n other_charges_logic_formula: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/other-charges-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/other-charges-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n\n constructor(props) {\n super(props);\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n other_charges_logic_name: \"\",\n effective_from: \"\",\n other_charges_logic_formula: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n other_charges_logic_name: \"\",\n effective_from: \"\",\n other_charges_logic_formula: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/other-charges-logic/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Charges Master\n
  • \n
  • \n
  • \n Other Charges\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(OtherCharges);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst PropertyTaxLogicTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/property-tax-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/property-tax-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default PropertyTaxLogicTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport PropertyTaxLogicTable from \"./PropertyTaxLogicTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass PropertyTaxLogic extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/property-tax-logic/create`,\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n initialValues: {\n property_tax_logic_formula: \"\",\n property_tax_logic_name: \"\",\n effective_from: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/property-tax-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/property-tax-logic/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/property-tax-logic/create`,\n initialValues: {\n property_tax_logic_formula: \"\",\n property_tax_logic_name: \"\",\n effective_from: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/property-tax-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/property-tax-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n property_tax_logic_formula: \"\",\n property_tax_logic_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n property_tax_logic_formula: \"\",\n property_tax_logic_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/property-tax-logic/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n \n Commercial Logic Master\n \n
  • \n
  • \n
  • \n Property Tax Logic\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(PropertyTaxLogic);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst MarketingFundLogicTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/marketing-fund-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/marketing-fund-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default MarketingFundLogicTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport MarketingFundLogicTable from \"./MarketingFundLogicTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass MarketingFundLogic extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/marketing-fund-logic/create`,\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n initialValues: {\n marketing_fund_logic_name: \"\",\n effective_from: \"\",\n marketing_fund_logic_formula: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/marketing-fund-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/marketing-fund-logic/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/marketing-fund-logic/create`,\n initialValues: {\n marketing_fund_logic_name: \"\",\n effective_from: \"\",\n marketing_fund_logic_formula: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/marketing-fund-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/marketing-fund-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n marketing_fund_logic_name: \"\",\n effective_from: \"\",\n marketing_fund_logic_formula: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n marketing_fund_logic_name: \"\",\n effective_from: \"\",\n marketing_fund_logic_formula: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/marketing-fund-logic/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n \n Commercial Logic Master\n \n
  • \n
  • \n
  • \n Marketing Fund Logic\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(MarketingFundLogic);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst CamLogicTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/cam-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/cam-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default CamLogicTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport CamLogicTable from \"./CamLogicTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CamLogic extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/cam-logic/create`,\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/cam-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/cam-logic/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/cam-logic/create`,\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/cam-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/cam-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n console.log(this.state.initialValues, \"iv\");\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true, messsagePopup: false,\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/cam-logic/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n \n Commercial Logic Master\n \n
  • \n
  • \n
  • \n CAM Logic\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(CamLogic);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"logicName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Formula\",\n selector: \"logicFormula\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n width: \"100px\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst RentLogicTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/rent-logic/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/rent-logic/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default RentLogicTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport RentLogicTable from \"./RentLogicTable\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass RentLogic extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/rent-logic/create`,\n isOpen: false,\n redirect: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n id: undefined,\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/rent-logic/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/rent-logic/create`,\n initialValues: {\n rent_logic_name: \"\",\n effective_from: \"\",\n rent_logic_formula: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/rent-logic/fetch-logic?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n url: `${apiUrl.apiUrl.url}/rent-logic/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n console.log(this.state.initialValues, \"iv\");\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/rent-logic/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n cam_logic_name: \"\",\n effective_from: \"\",\n cam_logic_formula: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n \n Commercial Logic Master\n \n
  • \n
  • \n
  • \n Rent Logic\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n\n <>\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(RentLogic);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Name\",\n selector: \"name\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Type\",\n selector: \"compliance_type\",\n sortable: false,\n wrap: true,\n grow: 5,\n },\n {\n name: \"Category\",\n selector: \"category\",\n sortable: false,\n wrap: true,\n // grow: 5,\n },\n {\n name: \"Data Type\",\n selector: \"compliance_datatype\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Information\",\n selector: (row) => `${row.created_at}`,\n sortable: false,\n wrap: true,\n grow: 2,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n width: \"100px\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst RentLogicTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/compliance/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/compliance/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default RentLogicTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport CreatableSelect from \"react-select/creatable\";\nimport ComplianceTable from \"./ComplianceTable\";\nimport Select from \"react-select\";\nimport { clientAccess } from \"../../utils/index\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ComplianceComponent extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/compliance/create`,\n isOpen: false,\n LandlordGroups: [],\n clientList: [],\n redirect: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n categoryList: [],\n id: undefined,\n initialValues: {\n name: \"\",\n compliance_type: \"\",\n compliance_datatype: \"\",\n category: \"\",\n category_id: '',\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/compliance/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n });\n }\n\n componentDidMount() {\n\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/compliance/get-compliance-category`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n categoryList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/compliance/create`,\n initialValues: {\n name: \"\",\n compliance_type: \"\",\n compliance_datatype: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/compliance/fetch-logic?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/compliance/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientList: data.clientList,\n LandlordGroups: data.LandlordGroups\n });\n }).catch((error) =>{});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/compliance/fetch-logic?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/compliance/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientList: data.clientList,\n // LandlordGroups: data.LandlordGroups\n // });\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n handleChangeCategory = (newValue, actionMeta) => {\n this.state.initialValues.category = newValue.label;\n this.state.initialValues.category_id = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n fetch(`${apiUrl.apiUrl.url}/compliance/fetch-compliance-category?clientId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n categoryList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/compliance/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n name: \"\",\n compliance_type: \"\",\n compliance_datatype: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n name: \"\",\n compliance_type: \"\",\n compliance_datatype: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n \n Clauses Master\n \n
  • \n
  • \n
  • \n Compliance Clauses\n
  • \n
\n
\n
\n\n {\n console.log(values);\n values.category_id = this.state.initialValues.category_id;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n {clientAccess() && (\n <>\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.handleChangeCategory(e);\n }}\n value={{\n label: this.state.initialValues.category,\n value: this.state.initialValues.category_id,\n }}\n options={this.state.categoryList.map((item) => ({\n label: item.category,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n\n {clientAccess() &&\n <>\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n \n }\n
\n
\n
\n \n
\n {\n // handleChange(e);\n this.handleChangeCategory(e);\n\n }}\n value={{\n label: this.state.initialValues.category,\n value: this.state.initialValues.category_id,\n }}\n options={this.state.categoryList.map((item) => ({\n label: item.category,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.setState({ companyType: e.target.value });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(ComplianceComponent);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { clientId } from \"../../utils/index\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Clause Name\",\n selector: \"clauseName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n { (clientId()==record.clientId || clientId()==1 || clientId()==null)&&\n \n \n {\" \"}\n \n \n \n }\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst CommercialClausesTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/commercial-clause/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/commercial-clause/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default CommercialClausesTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { clientAccess } from \"../../utils/index\";\nimport CommercialClausesTable from \"./CommercialClausesTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Select from \"react-select\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass CommercialClauses extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/commercial-clause/create`,\n LandlordGroups: [],\n clientList: [],\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/commercial-clause/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n console.log('you cannot delete');\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/commercial-clause/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/commercial-clause/create`,\n initialValues: {\n clause_name: \"\",\n effective_from: \"\",\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/commercial-clause/fetch-logic?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/commercial-clause/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n //\n });\n }).catch((err) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/commercial-clause/fetch-logic?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/commercial-clause/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // //\n // });\n // console.log(this.state.initialValues);\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/commercial-clause/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Charges Master\n
  • \n
  • \n
  • \n Commercial Clauses\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Data Saved Successfully\");\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n // self.setState({ redirect: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n
\n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n }\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n }\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(CommercialClauses);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { clientId } from \"../../utils/index\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"State\",\n selector: \"state\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Rate Type\",\n selector: \"rateType\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"From Date\",\n selector: \"fromDate\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"To Date\",\n selector: \"toDate\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Charge Type\",\n selector: \"chargeType\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Rate\",\n selector: \"rate\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n \n
\n { (clientId()==record.clientId || clientId()== 1 || clientId()==null) &&\n \n \n {\" \"}\n \n \n \n }\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst TaxationTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/taxation/lists?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/taxation/lists?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default TaxationTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { clientAccess } from \"../../utils/index\";\nimport TaxationTable from \"./TaxationTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Select from \"react-select\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass List extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/taxation/create`,\n LandlordGroups: [],\n clientList: [],\n rateTypes: [],\n chargeTypes: [],\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n stateSelected: '',\n states: [],\n initialValues: {\n rateTypeId: \"\",\n rateTypeTitle: \"\",\n rate_type: \"\",\n chargeTypeId: \"\",\n chargeTypeTitle: \"\",\n charge_type: \"\",\n fromDate: \"\",\n toDate: \"\",\n rate: \"\"\n },\n };\n\n constructor(props) {\n super(props);\n\n\n }\n\n componentDidMount() {\n\n\n\n\n this.setState({\n rateTypes: [{ title: 'CGST' }, { title: 'SGST' }, { title: 'IGST' }, { title: 'TDS' }],\n });\n this.setState({\n chargeTypes: [{ title: 'RENT(Minimum Guarantee)' }, { title: 'Minimum Guarantee Rent or Revenue Share (Higher)' }, { title: 'CAM' }, { title: 'Car Parking' }, { title: \"Signage\" }, { title: '2 Wheeler Parking' }, { title: 'Marketing Fund' }, { title: 'Storage Rent' }, { title: 'Electricity – All Others' }, { title: 'HVAC – All' }, { title: 'Water – All' }, { 'title': 'Gas – All' }],\n });\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/1`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/commercial-clause/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n console.log('you cannot delete');\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/commercial-clause/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/taxation/create`,\n initialValues: {\n rateTypeId: \"\",\n rateTypeTitle: \"\",\n rate_type: \"\",\n chargeTypeId: \"\",\n chargeTypeTitle: \"\",\n charge_type: \"\",\n fromDate: \"\",\n toDate: \"\",\n rate: \"\",\n stateId: \"\"\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/taxation/fetch-taxation?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/taxation/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n stateSelected: data.data.stateSelected\n //\n });\n\n }).catch((error) => {});\n \n // fetch(\n // `${apiUrl.apiUrl.url}/taxation/fetch-taxation?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/taxation/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // stateSelected: data.data.stateSelected\n // //\n // });\n // console.log(this.state.initialValues);\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n\n\n\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n stateSelected: { 'value': '', 'label': '' },\n initialValues: {\n rateTypeId: \"\",\n rateTypeTitle: \"\",\n rate_type: \"\",\n chargeTypeId: \"\",\n chargeTypeTitle: \"\",\n charge_type: \"\",\n fromDate: \"\",\n toDate: \"\",\n rate: \"\",\n stateId: \"\"\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n stateSelected: { 'value': '', 'label': '' },\n initialValues: {\n rateTypeId: \"\",\n rateTypeTitle: \"\",\n rate_type: \"\",\n chargeTypeId: \"\",\n chargeTypeTitle: \"\",\n charge_type: \"\",\n fromDate: \"\",\n toDate: \"\",\n rate: \"\",\n stateId: \"\"\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/taxation/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else if (actionMeta == \"rate\") {\n this.state.initialValues.rateTypeId = newValue.value;\n this.state.initialValues.rateTypeTitle = newValue.value;\n this.state.initialValues.rate_type = newValue.value;\n this.setState({});\n } else if (actionMeta == \"charge\") {\n this.state.initialValues.chargeTypeId = newValue.value;\n this.state.initialValues.chargeTypeTitle = newValue.label;\n this.state.initialValues.charge_type = newValue.label;\n this.setState({});\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n this.setState({});\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n // this.groupId = newValue;\n // console.log(this.groupId, \"ddd\");\n // console.log(`action: ${actionMeta}`);\n // console.groupEnd();\n };\n\n\n valueChange = (newValue, actionMeta) => {\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.stateSelected = {\n value: newValue.value,\n label: newValue.label,\n };\n\n // this.state.initialValues.cityId = [];\n // this.state.initialValues.cityName = \"\";\n\n // this.state.stateSelected = [];\n // this.state.initialValues.stateId = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.stateId.push(newValue[i].value);\n // this.state.stateSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n //districtList\n }\n this.setState({});\n };\n\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Taxation Master\n
  • \n
  • \n
  • \n List\n
  • \n
\n
\n
\n\n {\n console.log(values, \"==\", this.state.initialValues);\n values.chargeTypeId = this.state.initialValues.chargeTypeId;\n values.chargeTypeTitle = this.state.initialValues.chargeTypeTitle;\n\n values.charge_type = this.state.initialValues.chargeTypeTitle;\n values.rateTypeId = this.state.initialValues.rateTypeId;\n values.rateTypeTitle = this.state.initialValues.rateTypeTitle;\n values.rate_type = this.state.initialValues.rateTypeTitle;\n values.stateId = this.state.initialValues.stateId;\n\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n\n <>\n
\n
\n
\n
\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"rate\");\n }}\n value={{\n label: this.state.initialValues.rateTypeTitle,\n value: this.state.initialValues.rateTypeId,\n }}\n options={this.state.rateTypes.map((item) => ({\n label: item.title,\n value: item.title,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"charge\");\n }}\n value={{\n label: this.state.initialValues.chargeTypeTitle,\n value: this.state.initialValues.chargeTypeId,\n }}\n options={this.state.chargeTypes.map((item) => ({\n label: item.title,\n value: item.title,\n }))}\n />\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.valueChange(e, \"change_state\");\n }}\n value={this.state.stateSelected}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
}\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
}\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"rate\"\n );\n }}\n value={{\n label: this.state.initialValues.rateTypeTitle,\n value: this.state.initialValues.rateTypeId,\n }}\n options={this.state.rateTypes.map(\n (item) => ({\n label: item.title,\n value: item.title,\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"charge\"\n );\n }}\n value={{\n label: this.state.initialValues.chargeTypeId,\n value: this.state.initialValues.chargeTypeTitle,\n }}\n options={this.state.chargeTypes.map(\n (item) => ({\n label: item.title,\n value: item.title,\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={this.state.stateSelected}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
\n
\n
\n
\n\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(List);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport { clientId } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Clause Name\",\n selector: \"clauseName\",\n sortable: false,\n wrap: true,\n grow: 3,\n },\n {\n name: \"Effective From\",\n selector: \"effectiveFrom\",\n sortable: false,\n wrap: true,\n },\n {\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n { (clientId()==record.clientId || clientId()==1 || clientId()==null )&&\n \n \n {\" \"}\n \n \n \n }\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LegalClausesTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/legal-clause/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/legal-clause/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default LegalClausesTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { clientAccess } from \"../../utils/index\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport LegalClausesTable from \"./LegalClausesTable\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Select from \"react-select\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass LegalClauses extends React.Component {\n state = {\n url: `${apiUrl.apiUrl.url}/legal-clause/create`,\n LandlordGroups: [],\n clientList: [],\n isOpen: false,\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n delete: false,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n componentDidMount() {\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/legal-clause/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // if (window.confirm(\"Are You Sure You Want to Delete the item?\")) {\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/legal-clause/delete?id=${self.state.id}`,\n // }).then(function (response) {\n // if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n // } else {\n // alert(\"Data Deleted Successfully\");\n // self.setState({ redirect: true });\n // }\n // });\n // }\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/legal-clause/create`,\n initialValues: {\n clause_name: \"\",\n effective_from: \"\",\n },\n });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/legal-clause/fetch-logic?id=${this.props.match.params.id}`).then(function (response) {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/legal-clause/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n //\n });\n }).catch((error) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/legal-clause/fetch-logic?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/legal-clause/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // //\n // });\n\n // console.log(this.state.initialValues, \"iv\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n clause_name: \"\",\n effective_from: \"\",\n },\n });\n };\n\n redirectToDelete = () => {\n this.setState({\n delete: false,\n });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/legal-clause/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something Went Wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something Went Wrong',\n });\n } else {\n // alert(\"Data Deleted Successfully\");\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Deleted Successfully'\n });\n }\n });\n\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Charges Master\n
  • \n
  • \n
  • \n Legal Clauses\n
  • \n
\n
\n
\n\n {\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n // self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n {clientAccess() && (\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n }\n {clientAccess() &&\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n }\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Are you sure you want to delete this item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(LegalClauses);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Product Name\",\n selector: \"productName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Remarks\",\n selector: \"remarks\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n {/* */}\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/product-master/fetch?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst ProductMasterTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/product-master/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/product-master/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default ProductMasterTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport ProductMasterTable from \"./ProductMasterTable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport { clientAccess } from \"../../utils/index\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ProductMaster extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n products: [],\n isOpen: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n url: `${apiUrl.apiUrl.url}/product-master/create`,\n id: undefined,\n initialValues: {\n productName: \"\",\n productId: \"\",\n remarks: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeProduct = (newValue, values) => {\n values.productId = \"\";\n values.productName = \"\";\n this.state.initialValues.productId = newValue.value;\n this.state.initialValues.productName = newValue.label;\n values.productId = newValue.value;\n this.setState({});\n console.groupEnd();\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/product-master/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\"\n });\n\n } else {\n self.setState({\n delete: true\n });\n }\n });\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/product-master/create`,\n initialValues: {\n brandCategory: \"\",\n subcategoryId: \"\",\n brandName: \"\",\n groupName: \"\",\n groupId: \"\",\n clientName: \"\",\n clientId: \"\"\n },\n });\n } else {\n \n let athis = this;\n axios.get(\n `${apiUrl.apiUrl.url}/product-master/fetch-logic?id=${this.props.match.params.id}`\n ).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/product-master/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientList: data.clientList,\n LandlordGroups: data.LandlordGroups\n });\n }).catch((error) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/product-master/fetch-logic?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/product-master/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientList: data.clientList,\n // LandlordGroups: data.LandlordGroups\n\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/product-master/delete?id=${this.state.id}`,\n }).then(function (response) {\n\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n productName: \"\",\n productId: \"\",\n remarks: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n productName: \"\",\n productId: \"\",\n remarks: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Brand Directory\n
  • \n
  • \n
  • \n Product Master\n
  • \n
\n
\n
\n\n {\n const errors = {};\n console.log(values, \"error values\");\n //if (!values.example) errors.example = 'Required';\n\n return errors;\n\n }}\n onSubmit={(values, actions) => {\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\"\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {clientAccess() && (\n <>\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n \n )}\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n\n
\n\n
\n
\n\n {/*
\n
\n
\n
\n {clientAccess() &&\n <>\n
\n
\n
\n \n
\n\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n \n }\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(ProductMaster);\n","import React, { useState } from \"react\";\nimport { Document, Page, pdfjs } from \"react-pdf\";\n//import { rotatePlugin } from '@react-pdf-viewer/rotate';\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faDownload, faRedo } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\npdfjs.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.js`;\n\n\n\nfunction ViewLeasePdfReader({ url, pageNumber }) {\n\n const [rotation, setRotation] = useState(0);\n\n const handleRotate = () => {\n setRotation((rotation + 90) % 360);\n };\n\n const [numPages, setNumPages] = useState(null);\n const [pageNumberView, setPageNumber] = useState(pageNumber);\n //const rotatePluginInstance = rotatePlugin();\n function onDocumentLoadSuccess({ numPages }) {\n setNumPages(numPages);\n if (pageNumberView < numPages) {\n setPageNumber(pageNumberView);\n }\n }\n function changePage(offset) {\n console.log(Number(pageNumberView) + offset);\n setPageNumber((pageNumberView) => Number(pageNumberView) + offset);\n }\n\n function previousPage() {\n changePage(-1);\n }\n\n function nextPage() {\n changePage(1);\n }\n\n // const onUserManualClick = () => {\n // const fileURL = apiUrl.apiUrl.url + \"/lease-report/download-user-manual\";\n // let ele = document.createElement(\"a\");\n // ele.href = fileURL;\n // ele.target = \"_blank\";\n // ele.click();\n // }\n return (\n
\n {/* \n \n \n

\n Page {pageNumber} of {numPages}\n

*/}\n
\n \n {/* */}\n
\n\n \n {/* */}\n {Array.from(new Array(numPages), (el, index) => (\n \n ))}\n \n

\n Page {pageNumberView} of {numPages}\n

\n \n Previous\n \n = numPages}\n onClick={nextPage}\n >\n Next\n \n
\n );\n}\nexport { ViewLeasePdfReader };\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter, Link } from \"react-router-dom\";\nimport axios from \"axios\";\nimport { ViewLeasePdfReader } from \"../utils/ViewLeaseDocumentViewer\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { getUserRole, getUserType, getModules } from \"../utils/index\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faKey,\n faUserAlt,\n faClock,\n faBell,\n faDownload,\n faPlus,\n faBookOpen,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport apiUrl from \"../apiUrlConstant\";\n\nif (\n typeof localStorage.getItem(\"user\") == \"undefined\" ||\n localStorage.getItem(\"user\") == null ||\n localStorage.getItem(\"user\") == \"null\"\n) {\n\n var isUserPath = window.location.pathname.includes(\"user\");\n if (window.location.pathname != \"/\" && window.location.pathname != \"/login\" && !isUserPath) {\n console.log(\"this is different url\", window.location.pathname);\n localStorage.clear();\n window.location.pathname = \"/login\";\n }\n}\n\nclass TopHeader extends React.Component {\n state = {\n userDetails: JSON.parse(localStorage.getItem(\"user\")),\n isManualOpen: false,\n };\n\n handleLogout = () => {\n localStorage.clear();\n window.location.pathname = \"/login\";\n };\n\n constructor(props) {\n super(props);\n }\n\n openModal = () => this.setState({ isManualOpen: true });\n closeModal = () => this.setState({ isManualOpen: false });\n\n\n\n componentDidMount(props) {\n var self = this;\n\n console.log(this.props.location.pathname, \"this pro\");\n var pagePath = this.props.match.path.replace(\"/\", \"\");\n //alert(pagePath + \" < == pagePath\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/check-status`,\n data: { page: pagePath, current_url: self.props.location.pathname },\n }).then(function (response) {\n if (response.data.result == \"success\") {\n self.setState({ redirect: true });\n }\n });\n }\n\n onUserManualClick = () => {\n const fileURL = apiUrl.apiUrl.url + \"/lease-report/download-user-manual\";\n let ele = document.createElement(\"a\");\n ele.href = fileURL;\n ele.target = \"_blank\";\n ele.click();\n }\n\n render() {\n let url = this.props.match;\n return (\n
\n
\n {/*
\n React Select Here\n
*/}\n
\n
\n {![\"checker\", \"user\"].includes(getUserRole()) &&\n (window.location.pathname === \"/createlease\" ||\n window.location.pathname === \"/user/alerts/alerts\" ? null :\n window.location.pathname.includes(\"/leads\") ? (\n \n Create Lead\n \n ) : getModules().includes(1) ? (\n \n Create Lease\n \n ) : null)\n }\n\n\n
\n {getModules().includes(1) && (\n \n \n \n )}\n\n \n \n {/* \n \n \n \n \n */}\n\n \n
\n\n \n
\n
\n
\n {/*
\n
\n
    \n \n \n \n
\n
\n
\n \n \n User Manual\n \n
    \n
  • \n \n \n {this.state.userDetails.name}\n \n
      \n
    • \n \n \n My Profile\n \n
    • \n
    • \n \n \n Change Password\n \n
    • \n {\n (getUserType() !== \"occupier\" && getUserType() !== \"Occupier\") &&\n
    • \n \n \n Close Deal\n \n
    • \n }\n\n
    • \n \n \n Alerts\n \n
    • \n
    • \n \n \n Outflow \n \n
    • \n {(getUserType() !== \"occupier\" && getUserType() !== \"Occupier\") && (\n
    • \n \n \n Invoicing\n \n
    • \n )}\n
    • \n \n \n Log Out\n \n
    • \n
    \n
  • \n
\n
\n
*/}\n\n <>\n \n \n \n
\n
\n
\n
    \n
  • User Manual
  • \n
\n\n {/* \n {\" \"}\n \n */}\n\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n {/* \n \n Close\n \n */}\n \n \n
\n );\n }\n}\n\nexport default withRouter(TopHeader);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen, faFileExcel } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Tower Name\",\n selector: \"towerName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Budget Type\",\n selector: \"budgetType\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Budget On\",\n selector: \"budgetOn\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n\n {\n name: \"Total Area\",\n selector: \"totalArea\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Leased Area\",\n selector: \"leasedArea\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Vacant Area\",\n selector: \"vacantArea\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Budget Frequency\",\n selector: \"budgetFrequency\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n { DownloadFile(filterText) }} className=\"download_button\">\n Download\n \n \n \n \n \n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/budget/fetch?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n}\n\nconst ProductMasterTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/budget/fetch?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/budget/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default ProductMasterTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport BudgetMasterTable from \"./BudgetMasterTable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport { clientAccess } from \"../../utils/index\";\nimport DatePicker from \"react-datepicker\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass BudgetMaster extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n assetlist: [],\n utilities: [{ from: 1, to: 2, rate: 12 }],\n products: [],\n isOpen: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n url: `${apiUrl.apiUrl.url}/budget/create`,\n id: undefined,\n subAssetNameValues: [],\n tower: [],\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n leasedArea: \"\",\n totalArea: \"\",\n vacantArea: \"\",\n dataList: { keys: [], value: { list: [] } },\n budgetingOn: \"\",\n budgetFrequency: \"\",\n vacantArea: \"\",\n budgetType: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/budget/get-all-products`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/fetch-all-assets`,\n }).then(function (response) {\n console.log(response.data, \"asset list\");\n self.setState({\n assetlist: response.data,\n });\n });\n }\n\n changeProduct = (newValue, values) => {\n values.productId = \"\";\n values.productName = \"\";\n this.state.initialValues.productId = newValue.value;\n this.state.initialValues.productName = newValue.label;\n values.productId = newValue.value;\n this.setState({});\n console.groupEnd();\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/budget/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/budget/fetch-all-assets?id=` + newValue.value,\n }).then(function (response) {\n console.log(response.data, \"asset list\")\n self.setState({\n assetlist: response.data\n });\n\n });\n\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n leaseDateFormat = (dt) => {\n return dt;\n };\n\n addRatesRow = (ind) => {\n if (this.state.utilities === undefined) {\n this.state.utilities = [];\n }\n\n this.state.initialValues.dataList.value[ind].list.push({ month: \"\" });\n\n this.setState({});\n };\n\n removeRatesRow(element, ind) {\n //this.state.utilities.splice(element, 1);\n this.state.initialValues.dataList.value[element].list.splice(ind, 1);\n this.setState({});\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/budget/create`,\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n leasedArea: \"\",\n totalArea: \"\",\n vacantArea: \"\",\n dataList: { keys: [], value: { list: [] } },\n budgetingOn: \"\",\n budgetFrequency: \"\",\n vacantArea: \"\",\n budgetType: \"\",\n subAssetName: \"\",\n tower: \"\",\n },\n });\n } else {\n \n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/budget/fetch-logic?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/budget/update?id=${athis.props.match.params.id}`,\n initialValues: data.data,\n clientList: data.clientList,\n LandlordGroups: data.LandlordGroups,\n subAssetNameValues: data.subAssets,\n tower: data.towers,\n });\n }).catch((error) => {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/budget/fetch-logic?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/budget/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // clientList: data.clientList,\n // LandlordGroups: data.LandlordGroups,\n // subAssetNameValues: data.subAssets,\n // tower: data.towers,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n changeAsset = (e) => {\n let assetId = e.value;\n this.state.initialValues.assetName = e.label;\n this.state.initialValues.assetId = e.value;\n\n //fetch(`${apiUrl.apiUrl.url}/sub-assets/asset-sub-assets/` + assetId,{headers})\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + assetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //let assetFromApi = Object.keys(data);\n\n this.setState({\n subAssetNameValues: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubAsset = (e) => {\n let subAssetId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + subAssetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.initialValues.subAssetName = e.target.value;\n this.setState({\n tower: data,\n });\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getTowerDetails = (e) => {\n let towerId = e.target.value;\n let self = this;\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-tower-details?id=` + towerId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data.leasedArea, \"===\", data.data.totalArea, \"291\");\n self.state.initialValues.tower = towerId;\n self.state.initialValues.leasedArea = data.data.leasedArea;\n self.state.initialValues.totalArea = data.data.totalArea;\n self.state.initialValues.vacantArea =\n data.data.totalArea - data.data.leasedArea;\n self.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({});\n };\n\n handleChangeAssetName = (e) => {\n this.state.initialValues.assetName = e.label;\n this.state.initialValues.assetId = e.value;\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/fetch-asset-details?id=${e.value}`,\n }).then(function (response) {\n console.log(response.data, \"response data\");\n self.state.initialValues.leasedArea = response.data.leased_area;\n self.state.initialValues.totalArea = response.data.total_area;\n self.state.initialValues.vacantArea =\n response.data.total_area - response.data.leased_area;\n self.setState({});\n });\n\n this.setState({});\n };\n\n setMonth = (index, monthInd, date) => {\n this.state.initialValues.dataList.value[index].list[monthInd][\"month\"] =\n moment(date).format(\"MMM YYYY\");\n this.setState({});\n };\n\n changeBudgetingOn = (e) => {\n var self = this;\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/budget/check-details?id=${this.state.initialValues.tower}&unit=${e.target.value}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n } else {\n if (ths.state.initialValues.tower != \"\" && e.target.value == \"unit\") {\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/fetch-asset-units?id=${ths.state.initialValues.tower}`,\n }).then(function (response) {\n self.state.initialValues.dataList = response.data;\n self.setState({});\n });\n self.setState({});\n } else {\n self.state.initialValues.dataList = {\n keys: [0],\n value: { 0: { name: \"\", list: [{ month: \"\" }] } },\n };\n self.setState({});\n }\n }\n });\n };\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/budget/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n leasedArea: \"\",\n totalArea: \"\",\n vacantArea: \"\",\n dataList: { keys: [], value: { list: [] } },\n budgetingOn: \"\",\n budgetFrequency: \"\",\n vacantArea: \"\",\n budgetType: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n popupContent: \"\",\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n leasedArea: \"\",\n totalArea: \"\",\n vacantArea: \"\",\n dataList: { keys: [], value: { list: [] } },\n budgetingOn: \"\",\n budgetFrequency: \"\",\n vacantArea: \"\",\n budgetType: \"\",\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Budget Master\n
  • \n
  • \n
  • \n Budget Master\n
  • \n
\n
\n
\n\n {\n console.log(this.validator.allValid(), \"validation\");\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: this.state.initialValues,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
\n
\n
\n
\n {clientAccess() && (\n <>\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n \n )}\n
\n \n
\n {\n this.changeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetlist.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Sub Asset\",\n this.state.initialValues.subAssetName,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {\n this.getTowerDetails(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Tower\",\n this.state.initialValues.tower,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {\n this.state.initialValues.budgetType = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n this.state.initialValues.budgetingOn = e.target.value;\n this.changeBudgetingOn(e);\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Total Area\",\n this.state.initialValues.totalArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Leased Area\",\n this.state.initialValues.leasedArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {\n this.state.initialValues.vacantArea = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Vacant Area\",\n this.state.initialValues.vacantArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n \n
\n {\n this.state.initialValues.budgetFrequency = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n

{this.state.initialValues.budgetingOn.toUpperCase()}

\n \n \n {this.state.initialValues.budgetingOn == \"unit\" &&\n \n \n \n \n \n \n \n }\n\n {this.state.initialValues.budgetingOn == \"area\" &&\n \n \n \n \n \n \n }\n \n \n {this.state.initialValues.dataList !== undefined &&\n this.state.initialValues.dataList.keys.map(function (\n name,\n index\n ) {\n return (\n <>\n\n {this.state.initialValues.dataList.value[\n name\n ].list.map(function (name1, index1) {\n return (\n \n {this.state.initialValues\n .budgetingOn == \"unit\" && (\n <>\n \n \n \n \n )}\n\n {this.state.initialValues\n .budgetingOn == \"area\" && (\n <>\n \n \n\n \n )\n }\n\n \n\n \n \n );\n }, this)}\n\n \n );\n },\n this)}\n \n
\n Unit *\n GLA (per sqft)Carpet (per sqft)MonthAction
Total Vacant AreaArea BudgetedMonthAction
\n {\n this.state.initialValues\n .dataList.value[name][\"name\"]\n }\n \n {\n this.state.initialValues\n .dataList.value[name][\"gla\"]\n }\n {\n this.state.initialValues\n .dataList.value[name][\"carpet\"]\n }\n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"totalArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].from = e.target.value;\n handleChange(e);\n this.setState({});\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].from\n // }\n />\n \n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"budgetedArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].to = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].to\n // }\n onBlur={(e) => { }}\n />\n \n \n this.setMonth(\n name,\n index1,\n date\n )\n //this.setState({ financialYearOne: date })\n }\n value={\n this.state.initialValues.dataList\n .value[name].list[index1][\n \"month\"\n ]\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month Year\"\n />\n \n {\n this.addRatesRow(name);\n }}\n >\n \n \n {\n this.removeRatesRow(name, index1);\n }}\n >\n \n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}>\n Delete\n \n \n
\n ) : (\n
\n \n \n
\n )}\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n {clientAccess() && (\n <>\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map(\n (item) => ({\n label: item.client_name,\n value: item.id,\n })\n )}\n />\n \n
\n
\n
\n
\n \n )}\n
\n
\n
\n \n
\n {\n this.changeAsset(e);\n // this.handleChangeAssetName(\n // e\n // );\n //handleChange(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetlist.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Sub Asset\",\n this.state.initialValues.subAssetName,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.getTowerDetails(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Tower\",\n this.state.initialValues.tower,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.budgetType =\n e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n //this.setState({ budgetingOn: e.target.value });\n this.state.initialValues.budgetingOn =\n e.target.value;\n this.changeBudgetingOn(e);\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Total Area\",\n this.state.initialValues.totalArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Leased Area\",\n this.state.initialValues.leasedArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.vacantArea =\n e.target.value;\n this.setState({});\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Vacant Area\",\n this.state.initialValues.vacantArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n // this.setState({ companyType: e.target.value });\n this.state.initialValues.budgetFrequency =\n e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n\n

{this.state.initialValues.budgetingOn.toUpperCase()}

\n \n \n {this.state.initialValues.budgetingOn == \"unit\" &&\n \n \n \n \n \n \n \n }\n\n {this.state.initialValues.budgetingOn == \"area\" &&\n \n \n \n \n \n \n }\n \n \n {this.state.initialValues.dataList !== undefined &&\n this.state.initialValues.dataList.keys.map(function (\n name,\n index\n ) {\n return (\n <>\n\n {this.state.initialValues.dataList.value[\n name\n ].list.map(function (name1, index1) {\n return (\n \n {this.state.initialValues\n .budgetingOn == \"unit\" && (\n <>\n \n \n \n \n )}\n\n {this.state.initialValues\n .budgetingOn == \"area\" && (\n <>\n \n \n\n \n )\n }\n\n \n\n \n \n );\n }, this)}\n\n \n );\n },\n this)}\n \n
\n Unit *\n GLA (per sqft)Carpet (per sqft)MonthAction
Total Vacant AreaArea BudgetedMonthAction
\n {\n this.state.initialValues\n .dataList.value[name][\"name\"]\n }\n \n {\n this.state.initialValues\n .dataList.value[name][\"gla\"]\n }\n {\n this.state.initialValues\n .dataList.value[name][\"carpet\"]\n }\n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"totalArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].from = e.target.value;\n handleChange(e);\n this.setState({});\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].from\n // }\n />\n \n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"budgetedArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].to = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].to\n // }\n onBlur={(e) => { }}\n />\n \n \n this.setMonth(\n name,\n index1,\n date\n )\n //this.setState({ financialYearOne: date })\n }\n value={\n this.state.initialValues.dataList\n .value[name].list[index1][\n \"month\"\n ]\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month Year\"\n />\n \n {\n this.addRatesRow(name);\n }}\n >\n \n \n {\n this.removeRatesRow(name, index1);\n }}\n >\n \n \n
\n\n\n\n {false && this.state.initialValues.dataList !== undefined &&\n this.state.initialValues.dataList.keys.map(function (\n name,\n index\n ) {\n return (\n
\n {this.state.initialValues.dataList.value[\n name\n ].list.map(function (name1, index1) {\n return (\n <>\n
\n {this.state.initialValues.dataList.value[name]}\n {this.state.initialValues.budgetingOn ==\n \"unit\" && (\n
\n
\n
\n \n
\n {\n this.state.initialValues\n .dataList.value[name][\"name\"]\n }\n {index1}\n\n {this.state.initialValues.dataList.value[index].name}\n
\n
\n
\n
\n )}\n\n {this.state.initialValues.budgetingOn !==\n \"unit\" && (\n <>\n
\n
\n
\n \n
\n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"totalArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].from = e.target.value;\n handleChange(e);\n this.setState({});\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].from\n // }\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.dataList.value[\n name\n ].list[index1][\n \"budgetedArea\"\n ] = e.target.value;\n // this.state.initialValues.utilityLogic.rates[\n // index\n // ].to = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n // value={\n // this.state.initialValues\n // .utilityLogic.rates[index].to\n // }\n onBlur={(e) => { }}\n />\n
\n
\n
\n
\n \n )}\n
\n
\n
\n \n
\n \n this.setMonth(\n name,\n index1,\n date\n )\n //this.setState({ financialYearOne: date })\n }\n value={\n this.state.initialValues\n .dataList.value[name].list[\n index1\n ][\"month\"]\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month Year\"\n />\n
\n
\n
\n
\n
\n {\n this.addRatesRow(name);\n }}\n >\n \n \n {\n this.removeRatesRow(name, index1);\n }}\n >\n \n \n
\n
\n \n );\n }, this)}\n
\n );\n },\n this)}\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n \n Reset\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n \n );\n }\n}\n\nexport default withRouter(BudgetMaster);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport styles from \"../master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen ,faFileExcel} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Category\",\n selector: \"category\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Title\",\n selector: \"title\",\n sortable: false,\n grow: 3,\n }, \n {\n name: \"Added on\",\n selector: \"addedOn\",\n sortable: false,\n grow: 3,\n wrap: true,\n left: true,\n },\n \n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {/* \n \n */}\n
\n );\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n {/* */}\n {/* { DownloadFile(filterText); } }>\n \n */}\n {/* */}\n \n);\nfunction DownloadFile(filterText) {\n // var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&'); \n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/budget/fetch?term=${filterText}&export=true&sendLink=true`,\n // data: columnsList,\n }).then(function (response) {\n window.location.href= `${apiUrl.apiUrl.url+'/lease-report/download-file?path='+response.data}`;\n });\n \n}\n\nconst ProductMasterTable = () => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n \n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/prospect/fetch-fields?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/budget/fetch?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n \n
\n );\n};\nexport default ProductMasterTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport BudgetMasterTable from \"./prospectFieldMasterTable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport { clientAccess } from \"../../utils/index\";\nimport DatePicker from \"react-datepicker\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ProspectMaster extends React.Component {\n state = {\n categories: [],\n isOpen: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n url: `${apiUrl.apiUrl.url}/prospect/create-category`,\n id: undefined,\n initialValues: {\n category: \"\",\n title: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-category`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n categories: data['categories'],\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/prospect/check-field-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this item\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n handleChangeCategory = (newValue, actionMeta) => {\n this.state.initialValues.categoryId = newValue.value;\n this.state.initialValues.categoryName = newValue.label;\n this.setState({});\n this.categoryId = newValue;\n };\n\n componentDidUpdate() {\n console.log('hihih');\n console.log(this.props.match, \"===\");\n\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/create-category`,\n // initialValues: {\n // category: \"\",\n // title: \"\",\n // },\n // });\n } else {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/prospect/fetch-field?id=${this.props.match.params.id}`).then(function (response) {\n let data = response.data;\n athis.setState({\n url: `${apiUrl.apiUrl.url}/prospect/update-field?id=${athis.props.match.params.id}`,\n initialValues: data.data\n });\n\n const unitDetailsObject = athis.state.categories.find(item => item.key === data.data.category);\n\n athis.state.initialValues.categoryId = data.data.category;\n athis.state.initialValues.categoryName = unitDetailsObject.value;\n athis.setState({});\n\n }).catch(function () {});\n\n // fetch(\n // `${apiUrl.apiUrl.url}/prospect/fetch-field?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/prospect/update-field?id=${this.props.match.params.id}`,\n // initialValues: data.data\n // });\n\n // console.log(this.state.categories);\n // const unitDetailsObject = this.state.categories.find(item => item.key === data.data.category);\n\n\n // this.state.initialValues.categoryId = data.data.category;\n // this.state.initialValues.categoryName = unitDetailsObject.value;\n // this.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/prospect/field-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n category: \"\",\n title: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n popupContent: \"\",\n initialValues: {\n category: \"\",\n title: \"\"\n },\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n \n
\n {this.renderForm()}\n
\n \n );\n }\n\n renderForm() {\n return (\n
\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n
  • \n Prospect Master\n
  • \n
  • \n
  • \n Prospect Master\n
  • \n
\n
\n
\n\n\n {\n console.log(this.validator.allValid(), \"validation\");\n\n values.category = this.state.initialValues.categoryId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n url: `${apiUrl.apiUrl.url}/prospect/create-category`\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.handleChangeCategory(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.categoryName,\n value: this.state.initialValues.categoryId,\n }}\n options={this.state.categories.map(\n\n (item) => ({\n label: item.value,\n value: item.key\n })\n )}\n />\n\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n {this.props.match.params.id !== undefined ? (\n
\n \n {\n this.checkDelete(e);\n }}\n className=\"delete_button\"\n >\n Delete\n \n \n \n Reset\n \n \n
\n ) : (\n
\n \n \n Reset\n \n
\n )}\n
\n
\n
\n {/*
\n
\n
\n
\n\n <>\n
\n
\n
\n \n
\n {\n this.handleChangeCategory(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.categoryName,\n value: this.state.initialValues.categoryId,\n }}\n options={this.state.categories.map(\n\n (item) => ({\n label: item.value,\n value: item.key\n })\n )}\n />\n\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n\n\n
\n {this.props.match.params.id !== undefined ? (\n
\n
\n
\n
\n \n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n \n \n Reset\n \n \n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n \n \n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n
*/}\n \n )}\n \n \n \n {(close) => (\n
\n \"Delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n
\n );\n }\n}\n\nexport default withRouter(ProspectMaster);\n","import React, { useState, useEffect } from \"react\";\n\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faKeyboard,\n faCog,\n faEye,\n faFile,\n faFileAlt,\n faCommentDots,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n NavLink,\n useRouteMatch,\n useParams,\n Redirect,\n withRouter,\n} from \"react-router-dom\";\nimport { hasAccess, getUserType, getModules, getDashboard } from \"../utils/index\";\n\nvar isUser = \"\";\nif (hasAccess([\"user\"])) {\n isUser = \"userClass\";\n}\n\nclass BottomNav extends React.Component {\n handleLogout = () => {\n localStorage.clear();\n window.location.pathname = \"/login\";\n };\n render() {\n let url = this.props.match;\n let dashboard = getDashboard();\n //console.log(window.location.pathname.includes(\"reports\"), \"window.location.pathname.includes()\")\n return (\n <>\n \n \n\n\n );\n }\n}\n\nexport default withRouter(BottomNav);\n","import React from \"react\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCogs } from \"@fortawesome/free-solid-svg-icons\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nclass BreadcrumbsPage extends React.Component {\n constructor() {\n super();\n }\n\n render() {\n return (\n
\n
\n
\n

\n \n MASTERS\n

\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(BreadcrumbsPage);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\n// import TableComponent from \"./AssetDetailsTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport styles from \"../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass Import extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n redirect: false,\n url: `${apiUrl.apiUrl.url}/import/import-data`,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-asset-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n console.log(this.groupId, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n redirectAfterEdit = () => {\n this.setState({ redirect: true })\n }\n\n onFileChange = (event) => {\n // Update the state\n console.log(event, \"event target file\");\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"type\", this.state.importType);\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/import/import-data`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: {},\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n clear(resetForm) {\n resetForm({\n values: {\n ownershipType: \"\",\n clientName: \"\",\n clientGroup: \"\",\n },\n });\n this.setState({\n initialValues: {\n groupName: \"\",\n clientName: \"\",\n },\n });\n }\n\n renderForm() {\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n Unit Directory\n
  • \n
  • \n Asset Detail\n
  • \n
\n
\n
\n\n {\n console.log(\"form submitted\");\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n {clientAccess() && (\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
\n
\n
\n
\n )}\n {clientAccess() && (\n
\n
\n
\n \n
\n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.setState({ \"importType\": e.target.value });\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n\n this.clear(resetForm)}\n >\n Reset\n \n
\n
\n
\n
\n
\n
\n
\n )}\n \n \n );\n }\n}\n\nexport default withRouter(Import);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n useLocation\n} from \"react-router-dom\";\nimport SideMenu from \"../SideMenu\";\nimport UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport styles from \"./master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faSitemap,\n faCog,\n faCogs,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport OccupierMaster from \"./occupier/OccupierMaster\";\nimport OccupierCompanyDetails from \"./occupier/OccupierCompanyDetails\";\nimport OccupierContactDetails from \"./occupier/OccupierContactDetails\";\nimport LandLordMaster from \"./landlordDirectory/LandLordMaster\";\nimport LandlordCompanyDetails from \"./landlordDirectory/LandlordCompanyDetails\";\nimport LandlordContactDetails from \"./landlordDirectory/LandlordContactDetails\";\nimport LandlordBankDetails from \"./landlordDirectory/LandlordBankDetails\";\nimport BrokerMaster from \"./brokerDirectory/LandLordMaster\";\nimport BrokerCompanyDetails from \"./brokerDirectory/LandlordCompanyDetails\";\nimport BrokerContactDetails from \"./brokerDirectory/LandlordContactDetails\";\n\nimport OccupierBrand from \"./brandDirectory/OccupierBrand\";\nimport ClientDetail from \"./clientDirectory/ClientProfile\";\nimport ClientAccessSetup from \"./clientDirectory/ClientAccess\";\nimport DemographicDetail from \"./storeDirectory/DemographicDetail\";\nimport AssetDetail from \"./storeDirectory/AssetDetail\";\nimport UtilityCharges from \"./chargesMaster/UtilityCharges\";\nimport OtherCharges from \"./chargesMaster/OtherCharges\";\nimport PropertyTaxLogic from \"./logicMaster/PropertyTaxLogic\";\nimport MarketingFundLogic from \"./logicMaster/MarketingFundLogic\";\nimport CamLogic from \"./logicMaster/CamLogic\";\nimport RentLogic from \"./logicMaster/RentLogic\";\nimport ComplianceComponent from \"./complianceDirectory/ComplianceComponent\";\nimport CommercialClauses from \"./clausesMaster/CommercialClauses\";\nimport TaxationMaster from \"./taxation/List\";\nimport LegalClauses from \"./clausesMaster/LegalClauses\";\nimport ProductMaster from \"./brandDirectory/ProductMaster\";\nimport TopHeader from \"../layout/TopHeader\";\nimport { isLogin } from \"../utils\";\n\nimport BudgetMaster from \"./budget/BudgetMaster\";\nimport ProspectMaster from \"./prospect/ProspectMaster\";\n\nimport { hasAccess } from \"../utils/index\";\nimport { clientAccess } from \"../utils/index\";\nimport ProtectedRoute from \"../utils/ProtectedRoute\";\nimport BreadcrumbsPage from \"./BreadcrumbsPage\";\nimport Import from \"./import/Import\";\n\nexport default function Masters() {\n let match = useRouteMatch();\n let location = useLocation();\n const parts = location.pathname.split('/');\n let urlArray = {\n 'client-profile':{'openMenu':'1', 'activeKey':'1-1'},\n 'client-access-setup':{'openMenu':'1', 'activeKey':'1-2'},\n 'asset-detail':{'openMenu':'2', 'activeKey':'2-1'},\n 'unit-detail':{'openMenu':'2', 'activeKey':'2-2'},\n 'landlord-company-details':{'openMenu':'3', 'activeKey':'3-1'},\n 'landlord':{'openMenu':'3', 'activeKey':'3-2'},\n 'landlord-contact-details':{'openMenu':'3', 'activeKey':'3-3'},\n 'landlord-bank-details':{'openMenu':'3', 'activeKey':'3-4'},\n 'occupier-company-details':{'openMenu':'4', 'activeKey':'4-1'},\n 'occupier':{'openMenu':'4', 'activeKey':'4-2'},\n 'occupier-contact-details':{'openMenu':'4', 'activeKey':'4-3'},\n 'brand-details':{'openMenu':'5', 'activeKey':'5-1'},\n 'product-master':{'openMenu':'5', 'activeKey':'5-2'},\n 'rent-logic':{'openMenu':'6', 'activeKey':'6-1'},\n 'cam-logic':{'openMenu':'6', 'activeKey':'6-2'},\n 'property-tax':{'openMenu':'6', 'activeKey':'6-3'},\n 'marketing-fund-logic':{'openMenu':'6', 'activeKey':'6-4'},\n 'utility-charges':{'openMenu':'7', 'activeKey':'7-1'},\n 'other-charges':{'openMenu':'7', 'activeKey':'7-2'},\n 'commercial-clauses':{'openMenu':'8', 'activeKey':'8-1'},\n 'legal-clauses':{'openMenu':'8', 'activeKey':'8-2'},\n 'compliance':{'openMenu':'8', 'activeKey':'8-3'},\n 'taxation':{'openMenu':'9', 'activeKey':'9-1'},\n 'broker-company-details':{'openMenu':'10', 'activeKey':'10-1'},\n 'broker':{'openMenu':'10', 'activeKey':'10-2'},\n 'broker-contact-details':{'openMenu':'10', 'activeKey':'10-3'},\n 'budget':{'openMenu':'11', 'activeKey':'11-1'},\n 'prospect':{'openMenu':'12', 'activeKey':'12-1'},\n \n };\n\n let openMenu = urlArray[parts[2]]?.openMenu ?? '1';\n //let activeKey = !urlArray[parts[2]] && !clientAccess() ? '1-2' : '1-1';\n let activeKey = urlArray[parts[2]]?.activeKey ?? (!clientAccess() ? '1-2' : '1-1');\n\n return (\n
\n \n
\n
\n \n \n {clientAccess() && (\n \n \n \n )}\n {clientAccess() && (\n \n \n \n )}\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n {/* \n \n \n\n \n \n */}\n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n \n \n \n\n \n \n \n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n {clientAccess() && (\n \n \n \n )}\n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {clientAccess() && (\n \n \n \n )}\n {clientAccess() && (\n \n \n \n )}\n \n \n \n\n\n \n \n \n\n \n \n \n\n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {clientAccess() && (\n \n \n \n )}\n {clientAccess() && (\n \n \n \n )}\n \n \n \n\n \n {/*
\n
\n
\n

\n \n MASTERS\n

\n
\n
\n
*/}\n {clientAccess() ? : }\n\n
\n
\n
\n
\n
\n );\n}\n","import axios from \"axios\";\n\nconst API_URL = \"http://localhost:8080/api/auth/\";\n\nclass AuthService {\n \n\n logout() {\n localStorage.removeItem(\"user\");\n }\n\n \n getCurrentUser() {\n return JSON.parse(localStorage.getItem('user'));;\n }\n}\n\nexport default new AuthService();\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faUndo } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport apiUrl from \"./apiUrlConstant\";\nimport Masters from \"./masters/Masters\";\nimport * as Yup from \"yup\";\nimport AuthService from \"./AuthService\";\nimport { Alert } from \"react-bootstrap\";\n\nconst loginForm = Yup.object().shape({\n email: Yup.string().required(\"Required\"),\n password: Yup.string().required(\"Required\"),\n});\n\nclass Login extends React.Component {\n state = {\n redirect: false,\n showLoader: false,\n errorMessage: \"\",\n showAlert: false,\n setShow: false,\n };\n\n constructor(props) {\n super(props);\n }\n componentDidMount(props) {\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/check-status`,\n data: { page: \"login\" },\n }).then(function (response) {\n console.log(\"user login status\", response.data);\n if (response.data.result == \"success\") {\n self.setState({ redirect: true });\n }\n });\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n
\n {\n var ths = this;\n // ths.showLoader = true;\n this.setState({ showLoader: true });\n //localStorage.setItem(\"email\", values.email);\n //localStorage.setItem(\"password\", values.password);\n console.log(values, \"values\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/login`,\n data: values,\n }).then(function (response) {\n if (response.data.result == \"error\") {\n self.setState({\n showLoader: false,\n errorMessage: response.data.message,\n showAlert: true,\n });\n // alert(response.data.message);\n actions.setSubmitting(false);\n actions.setErrors(response.data.message);\n } else {\n self.setState({ showLoader: false });\n //localStorage.setItem('currentUser', response.data.message);\n window.localStorage.setItem(\n \"user\",\n JSON.stringify(response.data.user)\n );\n window.localStorage.setItem(\"TOKEN\", response.data.message);\n \n //window.location.pathname = \"/lease-summary\";\n window.location.pathname = \"/\"+response.data.user.dashboard;\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n \n \n \n

\n TAKE CONTROL OF YOUR REAL ESTATE\n

\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n \n Forgot Password?\n \n
\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n LOGIN\n \n
\n
\n
\n

Made By

\n

\n \n

\n
\n
\n
\n )\n }\n \n
\n );\n }\n}\n\nexport default Login;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n//import { faPlus, faUndo } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport apiUrl from \"../apiUrlConstant\";\n//import Masters from \"../masters/Masters\";\nimport * as Yup from \"yup\";\n//import AuthService from \"../AuthService\";\nimport { Alert } from \"react-bootstrap\";\nimport { PopupMessage } from \"../utils/utils\";\n\nconst loginForm = Yup.object().shape({\n password: Yup.string().required(\"Required\"),\n cpassword: Yup.string()\n .required(\"Required\")\n .oneOf([Yup.ref(\"password\"), null], \"Passwords must match\"),\n});\n\nclass UserResetPassword extends React.Component {\n state = {\n redirect: false,\n showLoader: false,\n errorMessage: \"\",\n showAlert: false,\n setShow: false,\n messsagePopup: false,\n popupContent: \"\",\n };\n\n componentDidMount() {}\n\n constructor(props) {\n super(props);\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, popupContent: \"\" });\n };\n\n render() {\n //console.log(this.props.match,\"this.props.match.params.token\");\n\n if (this.state.redirect == true) {\n let url = this.props.match;\n //this.state.redirect = false;\n return ;\n }\n return (\n \n {this.renderForm()}\n \n );\n }\n\n renderForm() {\n return (\n
\n {\n var ths = this;\n // ths.showLoader = true;\n this.setState({ showLoader: true });\n localStorage.setItem(\"cpassword\", values.cpassword);\n localStorage.setItem(\"password\", values.password);\n console.log(this.state.showLoader);\n var self = this;\n\n //console.log(this.props.match.params.token,\"this.props.match.params.token\")\n let paramString = window.location.href.split(\"/\");\n let token = paramString[paramString.length - 1];\n values.resetToken = token;\n console.log(values, \"valuesvaluesvalues\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/reset-password`,\n data: values,\n }).then(function (response) {\n console.log(response.data, \"response.data\");\n self.setState({ showLoader: false });\n if (!response.data.result) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n self.setState({\n messsagePopup: true,\n popupContent: \"This Link is Expired. Please click on forgot password to reset password.\",\n });\n //alert(\"Data Saved Successfully\");\n } else {\n // alert(\"Data Saved Successfully\");\n // self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n {/*

Lease Matrix Login

*/}\n
\n

\n \n \n \n

\n

\n TAKE CONTROL OF YOUR REAL ESTATE\n

\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n\n \n
\n
\n
\n
\n
\n
\n \n Login\n \n\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n Change Password\n \n
\n
\n
\n
\n
\n
\n

Made By

\n

\n \n

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n )}\n \n \n
\n );\n }\n}\n\nexport default UserResetPassword;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n//import { faPlus, faUndo } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { PopupMessage } from \"../utils/utils\";\n//import Masters from \"../masters/Masters\";\nimport * as Yup from \"yup\";\n//import AuthService from \"../AuthService\";\nimport { Alert } from \"react-bootstrap\";\n\nconst loginForm = Yup.object().shape({\n email: Yup.string().required(\"Required\"),\n});\n\nclass UserForgotPassword extends React.Component {\n state = {\n redirect: false,\n showLoader: false,\n errorMessage: \"\",\n showAlert: false,\n setShow: false,\n popupContent: \"\",\n messsagePopup: false,\n };\n\n componentDidMount() { }\n\n constructor(props) {\n super(props);\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, popupContent: \"\" });\n };\n\n render() {\n //console.log(this.props.match,\"this.props.match.params.token\");\n\n if (this.state.redirect == true) {\n let url = this.props.match;\n this.state.redirect = false;\n return ;\n }\n return (\n \n {this.renderForm()}\n \n );\n }\n\n renderForm() {\n return (\n
\n {\n var ths = this;\n // ths.showLoader = true;\n this.setState({ showLoader: true });\n\n var self = this;\n\n //console.log(this.props.match.params.token,\"this.props.match.params.token\")\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/forgot-password`,\n data: values,\n }).then(function (response) {\n if (response.data.result == \"error\") {\n self.setState({\n showLoader: false,\n errorMessage: response.data.message,\n showAlert: true,\n });\n // alert(response.data.message);\n actions.setSubmitting(false);\n actions.setErrors(response.data.message);\n } else {\n self.setState({ showLoader: false });\n // alert(\"Mail sent to Reset Password\");\n // self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: \"Mail sent to Reset Password\",\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n \n \n \n

\n TAKE CONTROL OF YOUR REAL ESTATE\n

\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n
\n
\n \n
\n \n\n \n
\n
\n \n Login\n \n
\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n Forgot Password\n \n
\n
\n
\n

Made By

\n

\n \n

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

\n \n \n \n

\n

\n TAKE CONTROL OF YOUR REAL ESTATE\n

\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n
\n
\n \n
\n \n\n \n
\n
\n
\n
\n
\n
\n\n\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n Forgot Password\n \n
\n
\n
\n
\n
\n
\n

Made By

\n

\n \n

\n
\n
\n
\n
\n
\n
\n
\n
\n
*/}\n \n )}\n \n \n
\n );\n }\n}\n\nexport default UserForgotPassword;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport apiUrl from \"../apiUrlConstant\";\nimport * as Yup from \"yup\";\nimport { Alert } from \"react-bootstrap\";\nimport { PopupMessage } from \"../utils/utils\";\nimport TopHeader from \"../layout/TopHeader\";\nconst loginForm = Yup.object().shape({\n old_password: Yup.string().required(\"Required\"),\n password: Yup.string().required(\"Required\"),\n cpassword: Yup.string()\n .required(\"Required\")\n .oneOf([Yup.ref(\"password\"), null], \"Passwords must match\"),\n});\n\nclass UserResetPassword extends React.Component {\n state = {\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n showLoader: false,\n errorMessage: \"\",\n showAlert: false,\n setShow: false,\n showHeader: true,\n };\n\n componentDidMount() {\n if (\n typeof localStorage.getItem(\"TOKEN\") == \"undefined\" ||\n localStorage.getItem(\"TOKEN\") == null ||\n localStorage.getItem(\"TOKEN\") == \"null\"\n ) {\n this.setState({ showHeader: false });\n }\n }\n\n constructor(props) {\n super(props);\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n render() {\n //console.log(this.props.match,\"this.props.match.params.token\");\n\n if (this.state.redirect == true) {\n let url = this.props.match;\n this.state.redirect = false;\n return ;\n }\n return (\n \n {this.renderForm()}\n \n );\n }\n\n renderForm() {\n return (\n
\n {this.state.showHeader === true && }\n
\n \n \n \n
\n\n {\n var ths = this;\n this.setState({ showLoader: true });\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/change-password`,\n data: values,\n }).then(function (response) {\n self.setState({ showLoader: false });\n if (!response.data.result) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n if (response.data.result == \"fail\") {\n actions.setErrors(response.data.errors);\n } else {\n // alert(\"Password changed successfully.\");\n // self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: \"Password changed successfully.\",\n });\n }\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
\n
\n
\n \n \n \n

\n TAKE CONTROL OF YOUR REAL ESTATE\n

\n
\n
\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n Change Password\n \n
\n
\n
\n

Made By

\n

\n \n

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

\n \n \n \n

\n this.setState({ showAlert: false })}\n dismissible\n show={this.state.showAlert}\n >\n \n {this.state.errorMessage}\n \n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n\n \n
\n
\n
\n
\n
\n
\n {this.state.showLoader && (\n \n \n

\n )}\n {\n this.setState({ showAlert: false });\n }}\n >\n Change Password\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
*/}\n \n )}\n \n
\n );\n }\n}\n\nexport default UserResetPassword;\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faStore,\n faCalendarDay,\n faBuilding,\n faRupeeSign,\n faLock,\n faFileContract,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"./leaseMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { faEllipsisH } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\n\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseMenu extends React.Component {\n state = {\n openMenu: [\"1\"],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsMenu: \",\",\n 'leaseStatus' : 0,\n 'submitText' : \"Submit Lease\"\n };\n\n constructor(props) {\n super(props);\n //console.log(this.props.openMenu);\n this.state = {\n openMenu: [this.props.openMenu],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsActiveKey: \"1-1\",\n };\n }\n\n componentDidMount() {\n if (this.props.match.params.id === undefined) {\n this.setState({\n disableOption: true,\n });\n } else {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n }\n\n if (this.props.match.params.id !== undefined) {\n fetch(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-status?id=` + this.props.match.params.id, {headers} )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseStatus: data.status,\n 'submitText' : \"Submit Lease\"\n });\n if(data.status != 0) {\n this.setState({\n 'submitText' : \"Approve Lease\"\n });\n }\n\n })\n .catch((error) => {\n console.log(error);\n });\n console.log(\"okkk\");\n } \n }\n componentDidUpdate() {\n if (this.props.openMenu != this.state.propsMenu) {\n this.setState({\n propsMenu: this.props.openMenu,\n openMenu: [this.props.openMenu],\n });\n }\n if (this.props.activeKey != this.state.propsActiveKey) {\n this.setState({\n propsActiveKey: this.props.activeKey,\n activeKey: this.props.activeKey,\n });\n }\n if (this.props.match.params.id === undefined) {\n if (this.state.disableOption == false) {\n this.setState({\n disableOption: true,\n });\n }\n } else {\n if (this.state.disableOption == true) {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n }\n }\n }\n\n render() {\n // let url = this.props.match;\n //console.log(\"rendering menu\");\n return (\n
\n {\n console.log(openKeys[openKeys.length - 1]);\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
\n );\n }\n}\n\nexport default withRouter(LeaseMenu);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { unitTypeConstant, unitStatusConstant } from \"../../constants\";\nimport { Redirect } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Popup from \"reactjs-popup\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientId } from \"../../utils/index\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseLandlord extends React.Component {\n validator = [];\n mainFormValidator = [];\n state = {\n submitDisable: false,\n messsagePopup: false,\n popupContent: \"\",\n vendor_code: \"\",\n clientGroupName: \"\",\n clientGroupId: \"\",\n popupData: {},\n index_val: \"\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n isOpen: false,\n delete: false,\n assetId: \"\",\n tower: \"\",\n subAssetName: \"\",\n assetName: \"\",\n assetNames: [],\n subAssets: [],\n towers: [],\n floors: [],\n unitDetails: [],\n LandlordGroups: [],\n clientGroup: [],\n clientNames: [],\n redirect: false,\n landlords: [],\n landlordCount: 1,\n states: [],\n landlordAssetName: \"\",\n landlordAssetId: \"\",\n landlordSubAssetName: \"\",\n landlordSubAssetId: \"\",\n landlordTower: \"\",\n landlordFloor: \"\",\n landlordUnitNo: \"\",\n landlordUnitType: \"\",\n landlordUnitStatus: \"\",\n units: [],\n leaseId: \"\",\n costCenter: \"\",\n\n notes_1: \"\",\n totalUsableArea: 0,\n totalGrossLeasableArea: 0,\n leaseCreationDate: \"\",\n isDisabled: false,\n selectedCompanies: [],\n initialValues: {\n leaseCreationDate: \"tghj\",\n units: [],\n },\n };\n\n constructor(props) {\n super(props);\n this.getLandlordUnitNo = this.getLandlordUnitNo.bind(this);\n this.getLandlordUnitType = this.getLandlordUnitType.bind(this);\n this.getLandlordUnitStatus = this.getLandlordUnitStatus.bind(this);\n this.getLandlordownershipPercent =\n this.getLandlordownershipPercent.bind(this);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/client-groups`)\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroup: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-all-assets`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetNames: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/states/country-states/1`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n if (this.props.match.params.id !== undefined) {\n\n let athis = this;\n\n axios({\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.props.match.params.id}`,\n method: \"get\",\n }).then(function(res){\n let data = res.data;\n\n let obj = athis.state.clientGroup.find(\n (o) => o.id == data.clientGroup\n );\n let obj1 = athis.state.assetNames.find(\n (o) => o.id == data.assetId\n );\n\n athis.setState({\n landlords: data.landlord,\n units: data.units,\n notes_1: data.notes_1,\n leaseId: data.leaseId,\n costCenter: data.costCenter,\n leaseCreationDate: data.leaseCreationDate,\n landlordCount: data.landlord.length,\n clientNames: data.clients,\n subAssets: data.subAssets,\n towers: data.towers,\n floors: data.floors,\n tower: data.tower,\n landlordAssetName: data.assetName,\n landlordSubAssetName: data.subAssetNameValue,\n landlordSubAssetId: data.landlordSubAssetId,\n clientGroupId: data.clientGroup,\n landlordAssetId: data.assetId,\n //vendor_code: data.vendor_code,\n isDisabled: true,\n });\n for (let i = 0; i < data.landlord.length; i++) {\n let obj = athis.state.LandlordGroups.find(\n (o) => o.id == data.landlord[i].companyGroup\n );\n\n athis.state.landlords[i].companyGroupName = obj.group_name;\n }\n if (data.clientGroup) {\n athis.setState({ clientGroupName: obj.group_name });\n }\n if (data.assetId) {\n athis.setState({\n landlordAssetName: obj1.asset_name,\n });\n }\n for (let i = 0; i < data.landlord.length; i++) {\n let find = data.landlord[i].gstNumber.substring(0, 2);\n var state = athis.state.states.find((x) => x.gst_code == find);\n if (state != undefined) {\n athis.state.landlords[i].gstState = state.id;\n athis.state.landlords[i].gstStateCode = state.gst_code;\n }\n //this.state.landlords[i].vendorCode = data.landlord[i].vendorCode;\n }\n athis.setState({\n initialValues: data,\n });\n athis.setState({});\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // let obj = this.state.clientGroup.find(\n // (o) => o.id == data.clientGroup\n // );\n // let obj1 = this.state.assetNames.find(\n // (o) => o.id == data.assetId\n // );\n\n // this.setState({\n // landlords: data.landlord,\n // units: data.units,\n // notes_1: data.notes_1,\n // leaseId: data.leaseId,\n // costCenter: data.costCenter,\n // leaseCreationDate: data.leaseCreationDate,\n // landlordCount: data.landlord.length,\n // clientNames: data.clients,\n // subAssets: data.subAssets,\n // towers: data.towers,\n // floors: data.floors,\n // tower: data.tower,\n // landlordAssetName: data.assetName,\n // landlordSubAssetName: data.subAssetNameValue,\n // landlordSubAssetId: data.landlordSubAssetId,\n // clientGroupId: data.clientGroup,\n // landlordAssetId: data.assetId,\n // //vendor_code: data.vendor_code,\n // isDisabled: true,\n // });\n // for (let i = 0; i < data.landlord.length; i++) {\n // let obj = this.state.LandlordGroups.find(\n // (o) => o.id == data.landlord[i].companyGroup\n // );\n\n // this.state.landlords[i].companyGroupName = obj.group_name;\n // }\n // if (data.clientGroup) {\n // this.setState({ clientGroupName: obj.group_name });\n // }\n // if (data.assetId) {\n // this.setState({\n // landlordAssetName: obj1.asset_name,\n // });\n // }\n // for (let i = 0; i < data.landlord.length; i++) {\n // let find = data.landlord[i].gstNumber.substring(0, 2);\n // var state = this.state.states.find((x) => x.gst_code == find);\n // if (state != undefined) {\n // this.state.landlords[i].gstState = state.id;\n // this.state.landlords[i].gstStateCode = state.gst_code;\n // }\n // //this.state.landlords[i].vendorCode = data.landlord[i].vendorCode;\n // }\n // this.setState({\n // initialValues: data,\n // });\n // this.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n autoSelectGstState(e, i) {\n let find = e.target.value.substring(0, 2);\n var state = this.state.states.find((x) => x.gst_code == find);\n this.state.landlords[i].gstState = state.id;\n this.state.landlords[i].gstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n\n getTotalUsableArea() {\n let totalUsableArea = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n totalUsableArea += this.state.units[i].usableArea;\n }\n return totalUsableArea.toFixed(2);\n }\n getTotalGrossleasableArea() {\n let totalGrossleasableArea = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n totalGrossleasableArea += this.state.units[i].grossLeasableArea;\n }\n return totalGrossleasableArea.toFixed(2);\n }\n\n changeClientGroup(e) {\n this.state.clientGroupName = e.label;\n this.state.clientGroupId = e.value;\n this.setState({});\n console.groupEnd();\n fetch(\n `${apiUrl.apiUrl.url}/client/fetch-group-clients?id=` +\n this.state.clientGroupId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientNames: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeAsset = (e, i) => {\n this.state.landlordAssetName = e.label;\n this.state.landlordAssetId = e.value;\n this.setState({});\n console.groupEnd();\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.state.landlordAssetId,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeLandlordGroup = (e, i) => {\n this.state.landlords[i].companyGroupName = e.label;\n this.state.landlords[i].companyGroup = e.value;\n this.setState({});\n console.groupEnd();\n this.setState({});\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n var _landlords = this.state.landlords;\n\n _landlords[i].companies = data;\n this.setState({\n landlords: _landlords,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubAsset = (e) => {\n let subAssetId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers/?id=` + subAssetId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n // var _landlords = this.state.landlords;\n\n // _landlords[i].towers = data;\n this.setState({\n towers: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleAddUnit = (e, id, setFieldError) => {\n if (!this.validator[id].allValid()) {\n this.validator[id].getErrorMessages();\n console.log(this.validator[id].getErrorMessages());\n this.validator[id].showMessages();\n this.forceUpdate();\n return false;\n }\n console.log(this.state, \"an\");\n console.log(this.state.landlords[id], \"an\");\n let ownershipPercent = this.state.landlords[id].unit.ownershipPercent;\n var thisUnit = {\n unitNo: this.state.landlords[id].unit.unitNo,\n unitId: this.state.landlords[id].unit.unitId,\n unitType: this.state.landlords[id].unit.unitType,\n unitStatus: this.state.landlords[id].unit.unitStatus,\n ownershipPercent: this.state.landlords[id].unit.ownershipPercent,\n landlord: this.state.landlords[id].companyName,\n landlordCompanyName: this.state.landlords[id].companies.find(\n (x) => x.id == this.state.landlords[id].companyName\n ),\n landlordName: this.state.landlords[id].companyGroupName,\n assetName: this.state.landlordAssetName,\n floor: this.state.landlords[id].unit.floor,\n usableArea:\n (this.state.landlords[id].unit.usableArea * ownershipPercent) / 100,\n grossLeasableArea:\n (this.state.landlords[id].unit.grossLeasableArea * ownershipPercent) /\n 100,\n };\n var _units = this.state.units;\n console.log(thisUnit, \"MMM\");\n _units.push(thisUnit);\n\n this.setState({ units: _units });\n var _landlords = this.state.landlords;\n _landlords[id].unit.tower = \"\";\n _landlords[id].unit.assetId = \"\";\n _landlords[id].unit.subAssetName = \"\";\n _landlords[id].unit.floor = \"\";\n _landlords[id].unit.unitId = \"\";\n _landlords[id].unit.unitNo = \"\";\n _landlords[id].unit.unitType = \"\";\n _landlords[id].unit.unitStatus = \"\";\n _landlords[id].unit.usableArea = \"\";\n _landlords[id].unit.carpetArea = \"\";\n _landlords[id].unit.grossLeasableArea = \"\";\n _landlords[id].unit.ownershipPercent = \"100\";\n this.setState({\n landlords: _landlords,\n });\n console.log(this.state.units);\n };\n\n resetUnit = (e, id, setFieldError) => {\n var _landlords = this.state.landlords;\n _landlords[id].unit.tower = \"\";\n _landlords[id].unit.assetId = \"\";\n _landlords[id].unit.subAssetName = \"\";\n _landlords[id].unit.floor = \"\";\n _landlords[id].unit.unitId = \"\";\n _landlords[id].unit.unitNo = \"\";\n _landlords[id].unit.unitType = \"\";\n _landlords[id].unit.unitStatus = \"\";\n _landlords[id].unit.usableArea = \"\";\n _landlords[id].unit.carpetArea = \"\";\n _landlords[id].unit.grossLeasableArea = \"\";\n _landlords[id].unit.ownershipPercent = \"100\";\n this.setState({\n landlords: _landlords,\n });\n };\n\n handleRemoveRow = (index) => {\n this.setState({\n rows: this.state.units.slice(index, -1),\n });\n };\n\n getLandlordSubAssetName(event) {\n this.setState({\n landlordSubAssetName: event.target.value,\n });\n }\n\n getLandlordTower(e) {\n this.setState({\n landlordTower: e.target.value,\n });\n let towerId = e.target.value;\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-floors?tower_id=` + towerId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n floors: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordFloor(e, i, id) {\n console.log(e);\n this.state.landlords[i].unit.floor = e.value;\n console.groupEnd();\n this.setState({});\n this.setState({\n landlordFloor: e.value,\n });\n let floorId = e.value;\n var url = `${apiUrl.apiUrl.url}/unit-detail/get-floor-units?tower_id=${this.state.tower}&floor=${floorId}`;\n // var self = this;\n if (this.props.match.params.id !== undefined) {\n url = `${apiUrl.apiUrl.url}/unit-detail/get-floor-units?tower_id=${this.state.tower}&floor=${floorId}&lease_id=${this.props.match.params.id}`;\n }\n fetch(url, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n var _landlords = this.state.landlords;\n _landlords[i].unitDetails = data;\n this.setState({\n landlords: _landlords,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordUnitNo(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitNo = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getGSTDetails(company_id, state_id, id) {\n var url = `${apiUrl.apiUrl.url}/create-lease/get-landlord-gst-details?company_id=${company_id}&state_id=${state_id}`;\n fetch(url, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data lease landlord gst\");\n this.state.landlords[id].gstNumber = data.gst;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordUnitStatus(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitStatus = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getLandlordUnitType(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitType = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getLandlordownershipPercent(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.ownershipPercent = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, delete: false, popupContent: \"\" });\n };\n redirectToDelete = () => {\n var _units = this.state.units;\n _units.splice(this.state.index_val, 1);\n this.setState({\n units: _units,\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _landlords = this.state.landlords;\n\n // Remove the item at the specified index\n _landlords.splice([index - 1], 1);\n\n // Update the state\n this.setState({\n landlords: _landlords,\n landlordCount: this.state.landlordCount - 1\n });\n }\n\n landlordTabs(handleChange, setFieldError) {\n var heads = [];\n for (var i = 0; i < this.state.landlordCount; i++) {\n heads.push(Landlord {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">} );\n }\n console.log(heads, \"heads\")\n\n var body = [];\n for (var i = 0; i < this.state.landlordCount; i++) {\n if (\n typeof this.state.landlords[i] === \"undefined\" ||\n this.state.landlords[i] === null\n ) {\n this.state.landlords[i] = {};\n this.state.landlords[i].unit = {};\n this.state.landlords[i].companies = [];\n this.state.landlords[i].subAssets = [];\n this.state.landlords[i].towers = [];\n this.state.landlords[i].floor = [];\n this.state.landlords[i].unitDetails = [];\n this.state.landlords[i].unit.assetId = \"\";\n this.state.landlords[i].unit.subAssetName = \"\";\n this.state.landlords[i].unit.tower = \"\";\n this.state.landlords[i].unit.floor = \"\";\n this.state.landlords[i].unit.unitType = \"\";\n this.state.landlords[i].unit.unitStatus = \"\";\n this.state.landlords[i].unit.usableArea = \"\";\n this.state.landlords[i].unit.grossLeasableArea = \"\";\n this.state.landlords[i].unit.carpetArea = \"\";\n this.state.landlords[i].unit.ownershipPercent = \"100\";\n this.state.landlords[i].unit.unitNo = \"\";\n this.state.landlords[i].unit.unitId = \"\";\n this.state.landlords[i].gstNumber = \"\";\n this.state.landlords[i].vendorCode = \"\";\n this.state.landlords[i].gstState = \"\";\n this.state.landlords[i].gstStateCode = \"\";\n this.state.landlords[i].invoiceBy = \"\";\n this.state.landlords[i].companyName = \"\";\n }\n if (this.validator[i] === undefined) {\n this.validator[i] = new SimpleReactValidator({ autoForceUpdate: this });\n }\n body.push(\n \n {/*
\n
\n
\n
\n
\n \n
\n {\n console.log(i);\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n // console.log(idarray);\n this.state.landlords[id].companyGroup = e.value;\n this.changeLandlordGroup(e, id);\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.validator[i].message(\n \"Landlord Group\",\n this.state.landlords[i].companyGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n\n if (\n this.state.selectedCompanies.indexOf(\n e.target.value\n ) > -1\n ) {\n // alert(\"Please Select another company\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Please Select another company\",\n });\n } else {\n this.state.landlords[id].companyName =\n e.target.value;\n this.state.selectedCompanies[id] =\n this.state.landlords[id].companyName;\n }\n handleChange(e);\n // this.displayUnitDetails(e, )\n }}\n >\n \n ))}\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstState = e.target.value;\n var state = this.state.states.find(\n (x) => x.id == e.target.value\n );\n var _landlords = this.state.landlords;\n _landlords[id].gstStateCode = state.gst_code;\n\n this.getGSTDetails(\n _landlords[id][\"companyName\"],\n _landlords[id][\"gstState\"],\n id\n );\n\n this.setState({\n landlords: _landlords,\n });\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstNumber = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var i = e.target.getAttribute(\"param\");\n //this.autoSelectGstState(e, i);\n }}\n />\n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].invoiceBy = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].vendorCode = e.target.value;\n handleChange(e);\n }}\n />\n\n\n \n
\n
\n
\n
\n
\n
*/}\n\n
\n
\n
\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.landlords[id].companyGroup = e.value;\n this.changeLandlordGroup(e, id);\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.validator[i].message(\n \"Landlord Group\",\n this.state.landlords[i].companyGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n if (this.state.selectedCompanies.indexOf(e.target.value) > -1) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Select another company\",\n });\n } else {\n this.state.landlords[id].companyName = e.target.value;\n this.state.selectedCompanies[id] =\n this.state.landlords[id].companyName;\n }\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstState = e.target.value;\n var state = this.state.states.find((x) => x.id == e.target.value);\n var _landlords = this.state.landlords;\n _landlords[id].gstStateCode = state.gst_code;\n this.getGSTDetails(\n _landlords[id][\"companyName\"],\n _landlords[id][\"gstState\"],\n id\n );\n this.setState({\n landlords: _landlords,\n });\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n \n \n
\n
\n\n\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstNumber = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var i = e.target.getAttribute(\"param\");\n }}\n />\n \n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].invoiceBy = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.landlords[i].companyName !== \"\" && (\n <>\n
\n
\n

Unit Details

\n
\n\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n let towerId = this.state.landlords[id].unit.tower;\n this.getLandlordFloor(e, id, towerId);\n }}\n options={this.state.floors.map((item) => ({\n label: item.floor,\n value: item.floor,\n }))}\n />\n {this.validator[i].message(\n \"Floor\",\n this.state.landlords[i].unit.floor,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n let selectedUnits = this.state.units;\n var doesExist = selectedUnits.some(\n (el) =>\n el.unitId == e.target.value &&\n this.state.landlords[id].companyName == el.landlord\n );\n if (doesExist) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please select different unit\",\n });\n return false;\n } else {\n var unit = this.state.landlords[\n id\n ].unitDetails.find((x) => x.id == e.target.value);\n var _landlords = this.state.landlords;\n _landlords[id].unit.unitId = e.target.value;\n\n if (e.target.value !== undefined) {\n _landlords[id].unit.carpetArea = unit.carpet_area;\n _landlords[id].unit.usableArea = unit.usable_area;\n _landlords[id].unit.grossLeasableArea = unit.gross_leasable_area;\n _landlords[id].unit.unitNo = unit.unit_no;\n _landlords[id].unit.unitType = unit.unit_type;\n _landlords[id].unit.unitStatus = unit.unit_status;\n this.setState({\n landlords: _landlords,\n });\n }\n }\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator[i].message(\n \"Unit No\",\n this.state.landlords[i].unit.unitId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitType(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Unit Type\",\n this.state.landlords[i].unit.unitType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordownershipPercent(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Ownership Percent\",\n this.state.landlords[i].unit.ownershipPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n handleChange(e);\n }}\n />\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n {\n var a = e.target.getAttribute(\"param\");\n this.handleAddUnit(e, a, setFieldError);\n }}\n className=\"add_button\"\n >\n {/* DELETE */}\n Add Unit\n \n {\n var a = e.target.getAttribute(\"param\");\n this.resetUnit(e, a, setFieldError);\n }}\n className=\"reset_button\"\n >\n Reset\n \n
\n
\n \n )}\n
\n
\n
\n\n {/* {this.state.landlords[i].companyName !== \"\" && (\n
\n
\n
\n

Unit Details

\n
\n
\n
\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n let towerId = this.state.landlords[id].unit.tower;\n this.getLandlordFloor(e, id, towerId);\n // this.state.landlords[id].unit.floor = e.value;\n }}\n options={this.state.floors.map((item) => ({\n label: item.floor,\n value: item.floor,\n }))}\n />\n {this.validator[i].message(\n \"Floor\",\n this.state.landlords[i].unit.floor,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n let selectedUnits = this.state.units;\n var doesExist = selectedUnits.some(\n (el) =>\n el.unitId == e.target.value &&\n this.state.landlords[id].companyName ==\n el.landlord\n );\n if (doesExist) {\n // alert(\"Please select different unit\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Please select different unit\",\n });\n return false;\n } else {\n var unit = this.state.landlords[\n id\n ].unitDetails.find((x) => x.id == e.target.value);\n var _landlords = this.state.landlords;\n _landlords[id].unit.unitId = e.target.value;\n\n if (e.target.value !== undefined) {\n _landlords[id].unit.carpetArea =\n unit.carpet_area;\n _landlords[id].unit.usableArea =\n unit.usable_area;\n _landlords[id].unit.grossLeasableArea =\n unit.gross_leasable_area;\n _landlords[id].unit.unitNo = unit.unit_no;\n _landlords[id].unit.unitType = unit.unit_type;\n\n _landlords[id].unit.unitStatus =\n unit.unit_status;\n this.setState({\n landlords: _landlords,\n });\n }\n }\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator[i].message(\n \"Unit No\",\n this.state.landlords[i].unit.unitId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitType(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Unit Type\",\n this.state.landlords[i].unit.unitType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordownershipPercent(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Ownership Percent\",\n this.state.landlords[i].unit.ownershipPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n // this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n
\n
\n {\n var a = e.target.getAttribute(\"param\");\n this.handleAddUnit(e, a, setFieldError);\n }}\n >\n Add Unit\n \n {\n var a = e.target.getAttribute(\"param\");\n this.resetUnit(e, a, setFieldError);\n }}\n >\n Reset\n \n
\n
\n
\n
\n
\n )} */}\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n \n
\n
\n\n {\n var unitsOwnership = {};\n var totalPercentage = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n if (unitsOwnership[this.state.units[i].unitId] == undefined) {\n unitsOwnership[this.state.units[i].unitId] = Number(\n this.state.units[i].ownershipPercent\n );\n totalPercentage += this.state.units[i].ownershipPercent;\n } else {\n unitsOwnership[this.state.units[i].unitId] += Number(\n this.state.units[i].ownershipPercent\n );\n totalPercentage += this.state.units[i].ownershipPercent;\n }\n }\n\n // for (var key in unitsOwnership) {\n // if (unitsOwnership[key] < 100) {\n // // alert(\"Unit Ownership should be 100 %\");\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Unit Ownership should be 100 %\",\n // });\n // return false;\n // }\n // }\n if (totalPercentage < 100) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Unit Ownership should be 100 %\",\n });\n return false;\n }\n\n values.clientGroup = this.state.clientGroupId;\n values.assetId = this.state.landlordAssetId;\n\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.getErrorMessages();\n this.mainFormValidator.showMessages();\n this.forceUpdate();\n return false;\n }\n values.units = this.state.units;\n var url = `${apiUrl.apiUrl.url}/create-lease/create-lease-landlord`;\n var self = this;\n if (this.props.match.params.id !== undefined) {\n url = `${apiUrl.apiUrl.url}/create-lease/update-lease-landlord?lease_id=${this.props.match.params.id}`;\n }\n\n this.setState({ submitDisable: true });\n console.log(values);\n axios({\n method: \"post\",\n url: url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({ submitDisable: false });\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n self.setState({ submitDisable: false });\n } else {\n //alert(\"Data Saved Successfully\");\n self.setState({\n submitDisable: false,\n messsagePopup: true,\n leaseId: response.data.id,\n\n popupContent: \"Data Saved Successfully!\",\n //submitDisable: true\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n actions,\n setFieldError,\n }) => (\n <>\n
\n
\n
\n
\n {this.props.match.params.id && (\n <>\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n \n )}\n\n {(clientId() === \"\" || clientId() === null) && (\n <>\n
\n \n
\n {\n this.changeClientGroup(e);\n }}\n options={this.state.clientGroup.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"Client Group\",\n values.clientGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n disabled={this.state.isDisabled}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Client Name\",\n values.clientName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeAsset(e);\n }}\n options={this.state.assetNames.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"Landlord Asset Name\",\n values.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeSubAsset(e);\n handleChange(e);\n this.getLandlordSubAssetName(e);\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Landlord Sub Asset Name\",\n values.subAssetName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.tower = e.target.value;\n handleChange(e);\n this.getLandlordTower(e);\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Tower\",\n values.tower,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n if (Number(e.target.value) < this.state.landlordCount) {\n let _landlords = this.state.landlords;\n _landlords.splice(\n _landlords.length - 1,\n this.state.landlordCount - Number(e.target.value)\n );\n this.setState({ landlords: _landlords });\n }\n\n if (!isNaN(e.target.value)) {\n this.setState({\n landlordCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n {this.landlordTabs(handleChange, setFieldError)}\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.units.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n \n \n \n \n \n \n \n \n \n \n
#LandlordAsset NameFloorUnit NoUsable Area (sq.ft)Gross Leasable Area (sq.ft)Percentage (%)Action
{index + 1}\n {name.landlordCompanyName != undefined ||\n name.landlordCompanyName != null\n ? name.landlordCompanyName.company_name\n : name.landlordName}\n {name.assetName}{name.floor}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.unitNo}\n \n {name.usableArea}{name.grossLeasableArea}{name.ownershipPercent}\n {\n this.setState({\n delete: true,\n index_val: index,\n });\n }}\n >\n \n \n
\n
Total Lease Area (sq.ft)
\n
{this.getTotalUsableArea()}{this.getTotalGrossleasableArea()}
\n \n {\n this.state.notes_1 = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n
\n \n Save & Next\n \n \n
\n
\n
\n
\n\n \n )}\n \n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Unit Details
  • \n
\n
\n
\n
\n
\n
\n {this.unitPopup(this.state.popupData)}\n \n
\n
\n
\n \n \n {(close) => (\n
\n \"Are you sure you want to delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n unitPopup(unit) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(LeaseLandlord);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faGrinTongueSquint,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect } from \"react-router-dom\";\nimport { BrowserRouter as Router, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseOccupier extends React.Component {\n // mainFormValidator = [];\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n companyName: [],\n vendor_code: \"\",\n tower: [],\n occupierGroups: [],\n // brandCategory: [],\n // brandSubCategories: [],\n gstStates: [],\n members:[],\n brands: [],\n brandSelected: [],\n redirect: false,\n franchiseeDetails: false,\n franchiseeGstStateCode: \"\",\n franchiseeGstState: \"\",\n selectedCompanies: [],\n initialValues: {\n leaseCreationDate: \"\",\n leaseId: \"\",\n },\n brandId: [],\n occupiers: [],\n cityList: [],\n occupierCount: 1,\n // brandCategoryName: \"\",\n // brandCategoryId: \"\",\n // brandSubCategoryName: \"\",\n // brandSubCategoryId: \"\",\n brandName: \"\",\n occupierChargeable: [\n { name: \"No\", value: \"0\" },\n { name: \"Yes\", value: \"1\" },\n ],\n occupierMaxCharge: 100,\n percentage_message: \"\",\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/occupier-groups`)\n fetch(`${apiUrl.apiUrl.url}/occupier-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brands: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/user/get-occupier-contacts`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n members: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n }); \n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/1`)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n gstStates: data,\n });\n\n\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-occupier-form?id=${this.props.match.params.id}`,\n method: \"get\",\n }).then(function (response) {\n let data = response.data;\n athis.setState({\n initialValues: data,\n occupiers: data.occupier,\n occupierCount: data.occupier.length > 0 ? data.occupier.length : 1,\n // occupierCount: data.occupier.length,\n franchiseeGstState: data.franchiseeGstState,\n franchiseeGstStateCode: data.franchiseeGstStateCode,\n brandSelected: data.brandArr,\n brands: data.brands,\n brandId: data.brandId,\n cityList: data.city_list,\n });\n\n let chargeableRemaining = 0;\n\n for (let i = 0; i < data.occupier.length; i++) {\n let find = data.occupier[i].gstNumber.substring(0, 2);\n var state = athis.state.gstStates.find((x) => x.gst_code == find);\n if (\n typeof state != \"undefined\" &&\n typeof state.id != \"undefined\"\n ) {\n athis.state.occupiers[i].gstState = state.id;\n athis.state.occupiers[i].gstStateCode = state.gst_code;\n } else {\n athis.state.occupiers[i].gstState = \"\";\n athis.state.occupiers[i].gstStateCode = \"\";\n }\n\n //athis.state.occupiers[i].vendorCode = state.vendor_code;\n let obj = athis.state.occupierGroups.find(\n (o) => o.id == data.occupier[i].companyGroup\n );\n console.log(data.occupier[i].companyGroup);\n athis.state.occupiers[i].companyGroupName = obj.group_name;\n\n chargeableRemaining =\n chargeableRemaining +\n data.occupier[i].occupier_chargeable_percentage;\n }\n\n console.log(\"Available Charge: \" + chargeableRemaining);\n athis.state.occupierMaxCharge = 100 - chargeableRemaining;\n console.log(\n \"Final Available Charge: \" + athis.state.occupierMaxCharge\n );\n\n let label = data.leaseType;\n console.log(label, \"label\");\n let checkValue = label.includes(\"F\");\n let cofoCheck = label.includes(\"Cofo\");\n if (checkValue || cofoCheck) {\n athis.setState({\n franchiseeDetails: true,\n });\n } else {\n athis.setState({\n franchiseeDetails: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-occupier-form?id=${this.props.match.params.id}`,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // initialValues: data,\n // occupiers: data.occupier,\n // occupierCount: data.occupier.length > 0 ? data.occupier.length : 1,\n // // occupierCount: data.occupier.length,\n // franchiseeGstState: data.franchiseeGstState,\n // franchiseeGstStateCode: data.franchiseeGstStateCode,\n // brandSelected: data.brandArr,\n // brands: data.brands,\n // brandId: data.brandId,\n // cityList: data.city_list,\n // });\n\n // let chargeableRemaining = 0;\n\n // for (let i = 0; i < data.occupier.length; i++) {\n // let find = data.occupier[i].gstNumber.substring(0, 2);\n // var state = this.state.gstStates.find((x) => x.gst_code == find);\n // if (\n // typeof state != \"undefined\" &&\n // typeof state.id != \"undefined\"\n // ) {\n // this.state.occupiers[i].gstState = state.id;\n // this.state.occupiers[i].gstStateCode = state.gst_code;\n // } else {\n // this.state.occupiers[i].gstState = \"\";\n // this.state.occupiers[i].gstStateCode = \"\";\n // }\n\n // //this.state.occupiers[i].vendorCode = state.vendor_code;\n // let obj = this.state.occupierGroups.find(\n // (o) => o.id == data.occupier[i].companyGroup\n // );\n // console.log(data.occupier[i].companyGroup);\n // this.state.occupiers[i].companyGroupName = obj.group_name;\n\n // chargeableRemaining =\n // chargeableRemaining +\n // data.occupier[i].occupier_chargeable_percentage;\n // }\n\n // console.log(\"Available Charge: \" + chargeableRemaining);\n // this.state.occupierMaxCharge = 100 - chargeableRemaining;\n // console.log(\n // \"Final Available Charge: \" + this.state.occupierMaxCharge\n // );\n\n // let label = data.leaseType;\n // console.log(label, \"label\");\n // let checkValue = label.includes(\"F\");\n // let cofoCheck = label.includes(\"Cofo\");\n // if (checkValue || cofoCheck) {\n // this.setState({\n // franchiseeDetails: true,\n // });\n // } else {\n // this.setState({\n // franchiseeDetails: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeOccupier = (e, id) => {\n this.state.occupiers[id].companyGroupName = e.label;\n this.state.occupiers[id].companyGroup = e.value;\n console.log(this.state.occupiers[id], \"occupier details\");\n //this.getGSTDetails(_landlords[id][\"companyName\"], _landlords[id][\"gstState\"], id )\n\n this.setState({});\n console.groupEnd();\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` +\n this.state.occupiers[id].companyGroup,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n let _occupiers = this.state.occupiers;\n _occupiers[id].companies = data;\n this.setState({\n occupiers: _occupiers,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeChargeable = (e, id) => {\n console.log(e.label + \"....\" + e.value);\n this.state.occupiers[id].is_occupier_chargeable_label = e.label;\n this.state.occupiers[id].is_occupier_chargeable = e.value;\n if (e.value == 0) {\n this.state.occupiers[id].occupier_chargeable_percentage = 0;\n }\n this.setState({});\n // console.groupEnd();\n // this.setState({});\n };\n\n checkPercentage = (id, value) => {\n let totalPercentage = 0;\n this.state.percentage_message = \"\";\n for (let i = 0; i < this.state.occupiers.length; i++) {\n totalPercentage += parseInt(\n this.state.occupiers[i].occupier_chargeable_percentage\n );\n console.log(this.state.occupiers[i].occupier_chargeable_percentage);\n }\n console.log(totalPercentage);\n if (totalPercentage > 100) {\n this.state.percentage_message =\n \"Occupier total percentage must be less then or equal to 100\";\n this.state.occupiers[id].occupier_chargeable_percentag = 0;\n this.setState({});\n }\n };\n\n changeBrandName = (e) => {\n this.state.brandSelected = [];\n this.state.brandId = [];\n for (let i = 0; i < e.length; i++) {\n this.state.brandId.push(e[i].value);\n this.state.brandSelected.push({\n value: e[i].value,\n label: e[i].label,\n });\n }\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n this.setState({});\n };\n\n autoSelectGstState(e, i) {\n if (e.target.value !== \"\") {\n let find = e.target.value.substring(0, 2);\n var state = this.state.gstStates.find((x) => x.gst_code == find);\n this.state.occupiers[i].gstState = state.id;\n this.state.occupiers[i].gstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n }\n\n autoSelectFranchiseeGstState(e) {\n let find = e.target.value.substring(0, 2);\n var state = this.state.gstStates.find((x) => x.gst_code == find);\n this.state.franchiseeGstState = state.id;\n this.state.franchiseeGstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n\n showFranchiseeDetails = (e) => {\n let index = e.nativeEvent.target.selectedIndex;\n let label = e.nativeEvent.target[index].label;\n let checkValue = label.includes(\"F\"); //label.includes(\"Franchisee\");\n let cofoCheck = label.includes(\"Cofo\");\n if (checkValue || cofoCheck) {\n this.setState({\n franchiseeDetails: true,\n });\n } else {\n this.setState({\n franchiseeDetails: false,\n });\n }\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n getGSTDetails(company_id, state_id, id) {\n var url = `${apiUrl.apiUrl.url}/create-lease/get-occupier-gst-details?company_id=${company_id}&state_id=${state_id}`;\n fetch(url, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.occupiers[id].gstNumber = data.gst;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleFranchiseeCityChange = (e) => {\n this.state.initialValues.franchiseeCityId = e.value;\n this.state.initialValues.franchiseeCity = e.label;\n var self = this;\n fetch(`${apiUrl.apiUrl.url}/city/city-details?city=` + e.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n self.state.initialValues.franchiseeStateId = data.stateArr.id;\n self.state.initialValues.franchiseeState = data.stateArr.state_name;\n self.state.initialValues.franchiseeDistrictId = data.districtArr.id;\n self.state.initialValues.franchiseeDistrict =\n data.districtArr.district_name;\n self.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.setState({});\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _occupiers = this.state.occupiers;\n\n // Remove the item at the specified index\n _occupiers.splice([index - 1], 1);\n\n // Update the state\n this.setState({\n occupiers: _occupiers,\n occupierCount: this.state.occupierCount - 1\n });\n }\n\n occupierTabs(handleChange) {\n var heads = [];\n for (var i = 0; i < this.state.occupierCount; i++) {\n heads.push(Occupier {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">});\n }\n\n var body = [];\n for (var i = 0; i < this.state.occupierCount; i++) {\n if (\n typeof this.state.occupiers[i] === \"undefined\" ||\n this.state.occupiers[i] === null\n ) {\n this.state.occupiers[i] = {};\n this.state.occupiers[i].companyGroup = \"\";\n this.state.occupiers[i].companyName = [];\n this.state.occupiers[i].companies = [];\n this.state.occupiers[i].gstNumber = \"\";\n this.state.occupiers[i].gstState = \"\";\n this.state.occupiers[i].gstStateCode = \"\";\n }\n body.push(\n \n
\n
\n
\n\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.occupiers[id].companyGroup = e.value;\n this.changeOccupier(e, id);\n }}\n options={this.state.occupierGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"company Group\",\n this.state.occupiers[i].companyGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].companyName = e.target.value;\n if (\n this.state.selectedCompanies.indexOf(e.target.value) > -1\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Select another company\",\n });\n } else {\n this.state.occupiers[id].companyName = e.target.value;\n this.state.selectedCompanies[id] = this.state.occupiers[id].companyName;\n }\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"company Name\",\n this.state.occupiers[i].companyName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n var state = this.state.gstStates.find(\n (x) => x.id == e.target.value\n );\n var _occupiers = this.state.occupiers;\n _occupiers[id].gstStateCode = state.gst_code;\n\n this.setState({\n occupiers: _occupiers,\n });\n this.state.occupiers[id].gstState = e.target.value;\n\n this.getGSTDetails(\n _occupiers[id][\"companyName\"],\n _occupiers[id][\"gstState\"],\n id\n );\n\n this.setState({});\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n handleChange(e);\n this.state.occupiers[id].gstStateCode =\n e.target.value;\n }}\n type=\"text\"\n name={\"occupier[\" + i + \"].gstStateCode\"}\n />\n \n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].gstNumber = e.target.value;\n }}\n onBlur={(e) => {\n var i = e.target.getAttribute(\"param\");\n }}\n />\n
\n
\n\n
\n \n
\n {\n let id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.occupiers[id].is_occupier_chargeable = e.value;\n this.changeChargeable(e, id);\n }}\n options={this.state.occupierChargeable.map((item) => ({\n label: item.name,\n value: item.value,\n }))}\n />\n {this.mainFormValidator.message(\n \"company chargeable\",\n this.state.occupiers[i].is_occupier_chargeable,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n console.log(id, \"asdasd\",this.state.occupiers[id]);\n this.state.occupiers[id].member = e.target.value;\n }}\n >\n \n ))}\n \n \n
\n
\n\n {this.state.occupiers[i].is_occupier_chargeable == 1 && (\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].occupier_chargeable_percentage = e.target.value;\n this.checkPercentage(id, e.target.value);\n }}\n />\n {this.state.percentage_message}\n
\n
\n )}\n\n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n <>\n
\n
\n \n
\n
\n\n {\n console.log(values);\n values.brandId = this.state.brandId;\n values.franchiseeGstState = this.state.franchiseeGstState;\n values.franchiseeGstStateCode =\n this.state.franchiseeGstStateCode;\n if (!this.mainFormValidator.allValid()) {\n console.log(this.mainFormValidator);\n this.mainFormValidator.showMessages();\n return false;\n }\n // return false;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-occupier?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.showFranchiseeDetails(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeBrandName(e);\n }}\n value={this.state.brandSelected}\n options={this.state.brands.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n occupierCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n {this.occupierTabs(handleChange)}\n
\n {this.state.franchiseeDetails && (\n <>\n {/*
\n
\n
*/}\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseeName\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseeResponseId\"}\n />\n \n
\n
\n\n
\n \n
\n {\n var i = e.target.getAttribute(\"param\");\n this.autoSelectFranchiseeGstState(e, i);\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n var state = this.state.gstStates.find((x) => x.id == e.target.value);\n this.state.franchiseeGstState = e.target.value;\n this.state.franchiseeGstStateCode = state.gst_code;\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n {\n this.state.franchiseeGstStateCode = e.target.value;\n handleChange(e);\n }}\n value={this.state.franchiseeGstStateCode}\n type=\"text\"\n name={\"franchiseeGstStateCode\"}\n />\n \n
\n
\n\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"startDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"endtDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"vendorCode\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"registeredOffice\"}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleFranchiseeCityChange(e);\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n { }}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseePincode\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"franchiseeCommission\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"agreementDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"commisionOnRegular\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"commisionOnEOSS\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"securityDeposit\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"stockCorrection\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"discountSharing\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {/*
\n
\n
*/}\n \n )}\n
\n Notes/Remarks\n \n
\n
\n
\n \n Save & Next\n \n \n
\n
\n
\n
\n\n \n )}\n \n \n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n}\n\nexport default withRouter(LeaseOccupier);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { blockStatement } from \"@babel/types\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseTermDetails extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n initialValues: {\n renewalTerms: [],\n totalRenewalTerms: 0,\n },\n isDisabled: true,\n fitoutEndDate: \"\",\n fitoutStartDate: \"\",\n fitoutPeriod: \"\",\n leaseCommencementDate: \"\",\n renewalCommencementDate: \"\",\n rentFreePeriodDays: \"\",\n rentFreePeriodMonths: \"\",\n rentCommencementDate: \"\",\n companyName: [],\n tower: [],\n occupierGroups: [],\n countries: [],\n states: [],\n cities: [],\n redirect: false,\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n leaseExpiryDate: \"\",\n isLeaseRegistered: false\n };\n constructor(props) {\n super(props);\n this.calculateFitoutEndDate.bind(this);\n this.calculateLeaseCommencementDate.bind(this);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/occupier-groups` , {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n let athis = this;\n axios({\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-lease-term-form?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function(response){\n let data = response.data;\n if (data.rentFreePeriodDays == 0) {\n athis.setState({ rentFreePeriodDays: \"\" });\n } else {\n athis.setState({ rentFreePeriodDays: data.rentFreePeriodDays });\n }\n if (\n data.rentFreePeriodMonths == 0 ||\n data.rentFreePeriodMonths === undefined\n ) {\n athis.setState({ rentFreePeriodMonths: \"\" });\n } else {\n athis.setState({ rentFreePeriodMonths: data.rentFreePeriodMonths });\n }\n if (data.leaseTermDD == 0) {\n athis.setState({ leaseTermDD: \"\" });\n } else {\n athis.setState({ leaseTermDD: data.leaseTermDD });\n }\n if (data.leaseTermMM == 0) {\n athis.setState({ leaseTermMM: \"\" });\n } else {\n athis.setState({ leaseTermMM: data.leaseTermMM });\n }\n if (data.leaseTermYY == 0) {\n athis.setState({ leaseTermYY: \"\" });\n } else {\n athis.setState({ leaseTermYY: data.leaseTermYY });\n }\n data.totalRenewalTerms = data.renewalTerms.length;\n athis.setState({\n initialValues: data,\n });\n athis.setState({\n fitoutEndDate: getToDate(\n data.fitoutStartDate,\n Number(data.fitoutPeriod),\n 0,\n 0\n ),\n });\n athis.setState({\n leaseCommencementDate: getToDate(data.fitoutEndDate, Number(1), 0, 0),\n });\n athis.setState({\n rentCommencementDate: getToDate(\n data.leaseCommencementDate,\n Number(data.rentFreePeriodDays),\n 0,\n 0\n ),\n });\n athis.setState({\n leaseExpiryDate: getToDate(\n data.leaseCommencementDate,\n data.leaseTermYY,\n data.leaseTermDD,\n data.leaseTermMM\n ),\n });\n\n if (data.leaseRegistrationDate !== \"0000-00-00\" ) {\n athis.setState({ isLeaseRegistered : true });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-term-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // if (data.rentFreePeriodDays == 0) {\n // this.setState({ rentFreePeriodDays: \"\" });\n // } else {\n // this.setState({ rentFreePeriodDays: data.rentFreePeriodDays });\n // }\n // if (\n // data.rentFreePeriodMonths == 0 ||\n // data.rentFreePeriodMonths === undefined\n // ) {\n // this.setState({ rentFreePeriodMonths: \"\" });\n // } else {\n // this.setState({ rentFreePeriodMonths: data.rentFreePeriodMonths });\n // }\n // if (data.leaseTermDD == 0) {\n // this.setState({ leaseTermDD: \"\" });\n // } else {\n // this.setState({ leaseTermDD: data.leaseTermDD });\n // }\n // if (data.leaseTermMM == 0) {\n // this.setState({ leaseTermMM: \"\" });\n // } else {\n // this.setState({ leaseTermMM: data.leaseTermMM });\n // }\n // if (data.leaseTermYY == 0) {\n // this.setState({ leaseTermYY: \"\" });\n // } else {\n // this.setState({ leaseTermYY: data.leaseTermYY });\n // }\n // data.totalRenewalTerms = data.renewalTerms.length;\n // this.setState({\n // initialValues: data,\n // });\n // this.setState({\n // fitoutEndDate: getToDate(\n // data.fitoutStartDate,\n // Number(data.fitoutPeriod),\n // 0,\n // 0\n // ),\n // });\n // this.setState({\n // leaseCommencementDate: getToDate(data.fitoutEndDate, Number(1), 0, 0),\n // });\n // this.setState({\n // rentCommencementDate: getToDate(\n // data.leaseCommencementDate,\n // Number(data.rentFreePeriodDays),\n // 0,\n // 0\n // ),\n // });\n // this.setState({\n // leaseExpiryDate: getToDate(\n // data.leaseCommencementDate,\n // data.leaseTermYY,\n // data.leaseTermDD,\n // data.leaseTermMM\n // ),\n // });\n\n // if (data.leaseRegistrationDate !== \"0000-00-00\" ) {\n // this.setState({ isLeaseRegistered : true });\n // }\n \n\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n changeOccupier = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/state-cities/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeLeaseTerms = (e) => {\n this.state.initialValues.totalRenewalTerms = e.target.value;\n if (this.state.initialValues.renewalTerms.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.renewalTerms.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.renewalTerms.push({});\n }\n }\n };\n\n addRenewalTerms = (e) => {\n console.log(e.target.value, \"vv\");\n this.state.initialValues.totalRenewalTerms = e.target.value;\n if (this.state.initialValues.renewalTerms.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.renewalTerms.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.renewalTerms.push({\n year: 0,\n month: 0,\n date: 0,\n renewalNoticeDueDate: \"\",\n });\n }\n } else if (this.state.initialValues.renewalTerms.length > e.target.value) {\n var toRemove =\n this.state.initialValues.renewalTerms.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.renewalTerms.pop({});\n }\n }\n };\n\n checkLeaseRegistrationDate(e, values) {\n if (e.target.checked) {\n this.state.isDisabled = false;\n this.state.isLeaseRegistered = true;\n } else {\n this.state.isDisabled = true;\n this.state.isLeaseRegistered = false;\n }\n this.setState({});\n }\n\n calculateFitoutEndDate(e, values) {\n console.log(values);\n values.fitoutEndDate = getToDate(\n values.fitoutStartDate,\n Number(this.state.fitoutPeriod),\n 0,\n 0\n );\n this.calculateLeaseCommencementDate(e, values);\n this.setState({});\n }\n\n calculateLeaseCommencementDate(e, values) {\n values.leaseCommencementDate = getToDate(\n values.fitoutEndDate,\n Number(2),\n 0,\n 0\n );\n this.calculateRentCommencementDate(e, values);\n this.calculateLeaseExpiryDate(e, values);\n this.setState({});\n }\n\n calculateRentCommencementDate(e, values) {\n if (e.target.value == 0) {\n values.rentCommencementDate = values.leaseCommencementDate;\n }\n values.rentCommencementDate = getToDate(\n values.leaseCommencementDate,\n Number(values.rentFreePeriodDays) + 1,\n Number(values.rentFreePeriodMonths),\n 0\n );\n this.setState({});\n }\n\n calculateLeaseExpiryDate(e, values) {\n values.leaseExpiryDate = getToDate(\n values.leaseCommencementDate,\n Number(this.state.leaseTermDD),\n Number(this.state.leaseTermMM),\n Number(this.state.leaseTermYY)\n );\n this.calculateLeaseDeadEndDate(e, values);\n this.setState({});\n }\n\n calculateLeaseDeadEndDate(e, values) {\n var numberOfDays = 0;\n var numberOfMonths = 0;\n var numberOfYears = 0;\n for (let i = 0; i < values.renewalTerms.length; i++) {\n numberOfDays += Number(values.renewalTerms[i].date);\n numberOfMonths += Number(values.renewalTerms[i].month);\n numberOfYears += Number(values.renewalTerms[i].year);\n // console.log()\n }\n values.leaseDeadEndDate = getToDate(\n values.leaseExpiryDate,\n Number(numberOfDays) + Number(1),\n Number(numberOfMonths),\n Number(numberOfYears)\n );\n this.setState({});\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n getDateDiff = (e, values) => {\n var a = moment(e.target.value);\n var b = moment(values.leaseCommencementDate);\n var years = a.diff(b, \"year\");\n b.add(years, \"years\");\n var months = a.diff(b, \"months\");\n b.add(months, \"months\");\n var days = a.diff(b, \"days\");\n this.setState({\n leaseTermYY: years,\n leaseTermMM: months,\n leaseTermDD: Number(days) + 1,\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.showMessages();\n return false;\n }\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-term?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"lease Creation Date\",\n values.leaseCreationDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"lease Document Date\",\n values.leaseDocumentDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Invoice Signing Date\",\n values.invoiceSingingDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n
\n {\n this.checkLeaseRegistrationDate(e, values);\n }}\n />\n \n
\n
\n
\n \n {this.mainFormValidator.message(\n \"lease Registration Date\",\n values.leaseRegistrationDate,\n \"\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"fitout Letter Date\",\n values.fitoutLetterDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.fitoutStartDate = e.target.value;\n this.calculateFitoutEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateFitoutEndDate(e, values);\n }}\n />\n {this.mainFormValidator.message(\n \"fitout Start Date\",\n values.fitoutStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.fitoutPeriod = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateFitoutEndDate(e, values);\n this.calculateLeaseCommencementDate(e, values);\n }}\n />\n \n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Unit Possession Date\",\n values.unitPossessionDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"fitout End Date\",\n values.fitoutEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.calculateRentCommencementDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n {this.mainFormValidator.message(\n \"Lease Commencement Date\",\n values.leaseCommencementDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {\n this.state.initialValues.renewalCommencementDate != \"0000-00-00\" && (\n
\n \n
\n \n
\n
\n )\n } \n\n {\n this.state.initialValues.renewalCommencementDate == \"0000-00-00\" && (\n
\n )\n } \n \n\n
\n \n
\n
\n
\n {\n this.state.rentFreePeriodMonths = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n
\n
\n {\n this.state.rentFreePeriodDays = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Rent Commencement Date\",\n values.rentCommencementDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.leaseTermYY = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n {\n this.state.leaseTermMM = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n {\n this.state.leaseTermDD = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n
\n
\n\n {/* Lease Expiry Date Section */}\n
\n \n
\n {\n this.getDateDiff(e, values);\n values.leaseExpiryDate = e.target.value;\n values.leaseDeadEndDate = e.target.value;\n this.setState({});\n }}\n />\n {this.mainFormValidator.message(\n \"Lease Expiry Date\",\n moment(values.leaseExpiryDate).format(\"yyyy-MM-dd\"),\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {/*
*/}\n\n
\n \n
\n {\n handleChange(e);\n this.addRenewalTerms(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lease Dead End Date\",\n values.leaseDeadEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n\n
\n {this.state.initialValues.renewalTerms.length > 0 &&\n this.state.initialValues.renewalTerms.map((term, index) => (\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.initialValues.totalRenewalTerms--;\n var _renewalTerms = this.state.initialValues.renewalTerms;\n _renewalTerms.splice(index, 1);\n values.renewalTerms.splice(index, 1);\n this.setState({\n renewalTerms: _renewalTerms,\n });\n }}\n >\n X\n \n
\n
\n \n\n
\n
\n ))}\n
\n\n
\n {this.state.initialValues.renewalTerms.length > 0 &&\n values.totalRenewalTerms > 0 &&\n this.state.initialValues.renewalTerms.map((term, index) => (\n
\n \n
\n \n
\n
\n ))}\n
\n\n
\n \n
\n \n
\n
\n
\n {/* */}\n Notes/Remarks\n
\n \n
\n
\n\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n \n )}\n \n
\n \n \n );\n }\n}\n\nexport default withRouter(LeaseTermDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { blockStatement } from \"@babel/types\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nvar headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass LeaseBrokerDetails extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n initialValues: {\n\n },\n additionalDetails: {\n 'gla': 0,\n 'carpet': 0,\n 'usable': 0\n },\n isDisabled: true,\n brokerGroup: [],\n brokerList: [],\n brokerageAmt: 0,\n\n };\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/broker-group/fetch-broker-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brokerGroup: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n let athis= this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-broker-form?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function (response){\n let data = response.data;\n athis.state.initialValues.brokerGroup = data.brokerGroup;\n athis.state.initialValues.brokerId = data.brokerId;\n\n athis.state.initialValues.brokerage_logic = data.brokerage_logic;\n athis.state.initialValues.rate = data.rate;\n athis.state.initialValues.uom = data.uom;\n athis.state.initialValues.percentage = data.percentage;\n athis.state.initialValues.on_area = data.on_area;\n\n if (data.brokerageAmt != '') {\n athis.state.initialValues.brokerageAmt = data.brokerageAmt;\n }\n if (data.brokerageMonths != '') {\n athis.state.initialValues.brokerageMonths = data.brokerageMonths;\n }\n\n athis.state.additionalDetails = data.additionalDetails;\n\n console.log(data.additionalDetails, \" data.additionalDetails;\")\n\n athis.setState({ brokerList: data.companies });\n }); \n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-broker-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n\n // this.state.initialValues.brokerGroup = data.brokerGroup;\n // this.state.initialValues.brokerId = data.brokerId;\n\n // this.state.initialValues.brokerage_logic = data.brokerage_logic;\n // this.state.initialValues.rate = data.rate;\n // this.state.initialValues.uom = data.uom;\n // this.state.initialValues.percentage = data.percentage;\n // this.state.initialValues.on_area = data.on_area;\n\n // if (data.brokerageAmt != '') {\n // this.state.initialValues.brokerageAmt = data.brokerageAmt;\n // }\n // if (data.brokerageMonths != '') {\n // this.state.initialValues.brokerageMonths = data.brokerageMonths;\n // }\n\n // this.state.additionalDetails = data.additionalDetails;\n\n // console.log(data.additionalDetails, \" data.additionalDetails;\")\n\n // this.setState({ brokerList: data.companies });\n\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n handleGroupChange = (e) => {\n console.log(e.target.value, \"groyp changes\");\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/broker-group/get-group-brokers/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brokerList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //brokerList\n }\n\n calculateFullAmt = (e, value, setFieldValue) => {\n //brokerage_logic\n let rate = this.state.initialValues.rate;\n let brokerageMonths = this.state.initialValues.brokerageMonths;\n let percentage = this.state.initialValues.percentage;\n let on_area = this.state.initialValues.on_area;\n\n let totalAmt = 0;\n if (value.brokerage_logic != \"Flat Amount\") {\n let area = 0;\n if (on_area == \"Usable Area\") {\n area = this.state.additionalDetails.usable;\n } else if (on_area == \"Carpet Area\") {\n area = this.state.additionalDetails.carpet;\n } else if (on_area == \"Gross Leasable Area\") {\n area = this.state.additionalDetails.gla;\n }\n if (value.brokerage_logic == \"Rate Basis\") {\n totalAmt = parseFloat(area) * parseInt(brokerageMonths) * parseFloat(rate);\n } else {\n totalAmt = (parseFloat(area) * parseInt(brokerageMonths) * parseFloat(rate)) * parseFloat(percentage) / 100;\n }\n this.state.initialValues.brokerageAmt = totalAmt;\n setFieldValue(\"brokerageAmt\", totalAmt);\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n <>\n
\n
\n \n
\n
\n\n {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.showMessages();\n return false;\n }\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-broker-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n setFieldValue\n }) => (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.handleGroupChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n setFieldValue(\"brokerageAmt\", 0);\n handleChange(e);\n }}\n >\n
\n
\n\n {[\"Rate Basis\", \"Percentage of rent Basis\"].includes(values.brokerage_logic) && (\n <>\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.rate = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Rate\",\n values.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.brokerageMonths = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Months\",\n values.brokerageMonths,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.on_area = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n >\n
\n
\n \n )}\n\n {[\"Percentage of rent Basis\"].includes(values.brokerage_logic) && (\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.percentage = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Percentage\",\n values.percentage,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n Save Draft\n \n \n \n Cancel\n \n \n
\n
\n
\n
\n )}\n \n \n \n
\n );\n }\n}\n\nexport default withRouter(LeaseBrokerDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LockInNoticePeriod extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n landlordLockInLeaseDate: \"\",\n landlordLockInRentDate: \"\",\n redirect: false,\n initialValues: {\n lockInPeriodOccupier: [],\n },\n lockInPeriodOccupier: [],\n lockInPeriodCount: 1,\n lockInPeriodLandlordStartDate: \"\",\n lockInPeriodLandlordMM: \"\",\n lockInPeriodLandlordDD: \"\",\n lockInPeriodLandlordYY: \"\",\n terminationNoticePeriodMM: \"\",\n terminationNoticePeriodDD: \"\",\n toggleLandlordForm: false,\n toggleOccupierForm: false,\n lockinPeriodLandlordEndDate: \"\",\n fullLockInPeriodFlag: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showLandlordForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleLandlordForm: true,\n });\n } else {\n this.setState({\n toggleLandlordForm: false,\n });\n }\n };\n\n showOccupierForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleOccupierForm: true,\n });\n } else {\n this.setState({\n toggleOccupierForm: false,\n });\n }\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/occupier-groups`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n let athis = this;\n axios({\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-lease-lockin-form?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function(response){\n let data = response.data;\n console.log(data);\n if (data.lockInPeriodOccupier == null) {\n data.lockInPeriodOccupier = [{}];\n }\n if (data.lockInPeriodLandlordMM == 0) {\n athis.setState({ lockInPeriodLandlordMM: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordMM: data.lockInPeriodLandlordMM,\n });\n }\n if (data.lockInPeriodLandlordYY == 0) {\n athis.setState({ lockInPeriodLandlordYY: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordYY: data.lockInPeriodLandlordYY,\n });\n }\n if (data.lockInPeriodLandlordDD == 0) {\n athis.setState({ lockInPeriodLandlordDD: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordDD: data.lockInPeriodLandlordDD,\n });\n }\n if (data.terminationNoticePeriodDD == 0) {\n athis.setState({ terminationNoticePeriodDD: \"\" });\n } else {\n athis.setState({\n terminationNoticePeriodDD: data.terminationNoticePeriodDD,\n });\n }\n if (data.terminationNoticePeriodMM == 0) {\n athis.setState({ terminationNoticePeriodMM: \"\" });\n } else {\n athis.setState({\n terminationNoticePeriodMM: data.terminationNoticePeriodMM,\n });\n }\n if (data.lockInApplicableForLandlord === \"yes\") {\n athis.setState({\n toggleLandlordForm: true,\n });\n } else {\n athis.setState({\n toggleLandlordForm: false,\n });\n }\n if (data.lockInApplicableForOccupier === \"yes\") {\n athis.setState({\n toggleOccupierForm: true,\n });\n } else {\n athis.setState({\n toggleOccupierForm: false,\n });\n }\n\n\n\n // for (let i = 0; i < data.lockInPeriodOccupier.length; i++) {\n // console.log(athis.state.lockInPeriodOccupier);\n // if (data.lockInPeriodOccupier[i].lockInPeriodDD == 0) {\n // athis.state.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n // } else {\n // athis.state.lockInPeriodOccupier[i].lockInPeriodDD =\n // data.lockInPeriodOccupier[i].lockInPeriodDD;\n // }\n // if (data.lockInPeriodOccupier[i].lockInPeriodMM == 0) {\n // athis.state.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n // } else {\n // athis.state.lockInPeriodOccupier[i].lockInPeriodMM =\n // data.lockInPeriodOccupier[i].lockInPeriodMM;\n // }\n // }\n athis.setState({\n initialValues: data,\n lockInPeriodOccupier: data.lockInPeriodOccupier,\n lockInPeriodCount: data.lockInPeriodOccupier.length > 0 ? data.lockInPeriodOccupier.length : 1,\n landlordLockInLeaseDate: data.leaseCommencementDate,\n landlordLockInRentDate: data.rentCommencementDate,\n landlordLockInRenewalDate: data.renewalCommencementDate,\n lockinPeriodLandlordEndDate: data.leaseExpiryDate\n });\n\n\n if (data.leaseExpiryDate == data.lockInPeriodLandlordEndDate) {\n athis.setState({\n fullLockInPeriodFlag: true,\n });\n\n athis.getDateDiff(data.lockInPeriodLandlordStartDate);\n }\n }); \n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-lockin-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // if (data.lockInPeriodOccupier == null) {\n // data.lockInPeriodOccupier = [{}];\n // }\n // if (data.lockInPeriodLandlordMM == 0) {\n // this.setState({ lockInPeriodLandlordMM: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordMM: data.lockInPeriodLandlordMM,\n // });\n // }\n // if (data.lockInPeriodLandlordYY == 0) {\n // this.setState({ lockInPeriodLandlordYY: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordYY: data.lockInPeriodLandlordYY,\n // });\n // }\n // if (data.lockInPeriodLandlordDD == 0) {\n // this.setState({ lockInPeriodLandlordDD: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordDD: data.lockInPeriodLandlordDD,\n // });\n // }\n // if (data.terminationNoticePeriodDD == 0) {\n // this.setState({ terminationNoticePeriodDD: \"\" });\n // } else {\n // this.setState({\n // terminationNoticePeriodDD: data.terminationNoticePeriodDD,\n // });\n // }\n // if (data.terminationNoticePeriodMM == 0) {\n // this.setState({ terminationNoticePeriodMM: \"\" });\n // } else {\n // this.setState({\n // terminationNoticePeriodMM: data.terminationNoticePeriodMM,\n // });\n // }\n // if (data.lockInApplicableForLandlord === \"yes\") {\n // this.setState({\n // toggleLandlordForm: true,\n // });\n // } else {\n // this.setState({\n // toggleLandlordForm: false,\n // });\n // }\n // if (data.lockInApplicableForOccupier === \"yes\") {\n // this.setState({\n // toggleOccupierForm: true,\n // });\n // } else {\n // this.setState({\n // toggleOccupierForm: false,\n // });\n // }\n\n\n\n // // for (let i = 0; i < data.lockInPeriodOccupier.length; i++) {\n // // console.log(this.state.lockInPeriodOccupier);\n // // if (data.lockInPeriodOccupier[i].lockInPeriodDD == 0) {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n // // } else {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodDD =\n // // data.lockInPeriodOccupier[i].lockInPeriodDD;\n // // }\n // // if (data.lockInPeriodOccupier[i].lockInPeriodMM == 0) {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n // // } else {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodMM =\n // // data.lockInPeriodOccupier[i].lockInPeriodMM;\n // // }\n // // }\n // this.setState({\n // initialValues: data,\n // lockInPeriodOccupier: data.lockInPeriodOccupier,\n // lockInPeriodCount: data.lockInPeriodOccupier.length > 0 ? data.lockInPeriodOccupier.length : 1,\n // landlordLockInLeaseDate: data.leaseCommencementDate,\n // landlordLockInRentDate: data.rentCommencementDate,\n // landlordLockInRenewalDate: data.renewalCommencementDate,\n // lockinPeriodLandlordEndDate: data.leaseExpiryDate\n // });\n\n\n // if (data.leaseExpiryDate == data.lockInPeriodLandlordEndDate) {\n // this.setState({\n // fullLockInPeriodFlag: true,\n // });\n\n // this.getDateDiff(data.lockInPeriodLandlordStartDate);\n // }\n\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n changeOccupier = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/state-cities/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n calculateLockInEndDate(e, values) {\n console.log(values);\n values.lockInPeriodLandlordEndDate = getToDate(\n values.lockInPeriodLandlordStartDate,\n Number(this.state.lockInPeriodLandlordDD),\n Number(this.state.lockInPeriodLandlordMM),\n Number(this.state.lockInPeriodLandlordYY),\n );\n this.setState({});\n }\n\n getDateDiff = (startDate) => {\n var a = moment(this.state.lockinPeriodLandlordEndDate);\n var b = moment(startDate);\n console.log(startDate + ' ' + this.state.lockinPeriodLandlordEndDate);\n var years = a.diff(b, \"year\");\n b.add(years, \"years\");\n var months = a.diff(b, \"months\");\n b.add(months, \"months\");\n var days = a.diff(b, \"days\");\n this.setState({\n lockInPeriodLandlordYY: years,\n lockInPeriodLandlordMM: months,\n lockInPeriodLandlordDD: Number(days) + 1,\n });\n };\n\n calculateOccupierLockInEndDate(values) {\n for (let i = 0; i < values.lockInPeriodOccupier.length; i++) {\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodDD)) {\n values.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n }\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodMM)) {\n values.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n }\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodYY)) {\n values.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n }\n values.lockInPeriodOccupier[i].lockInEndDate = getToDate(\n values.lockInPeriodOccupier[i].lockInFromDate,\n Number(values.lockInPeriodOccupier[i].lockInPeriodDD),\n Number(values.lockInPeriodOccupier[i].lockInPeriodMM),\n Number(values.lockInPeriodOccupier[i].lockInPeriodYY),\n );\n this.setState({});\n }\n }\n\n changeLockInPeriodLandlord(e, values) {\n console.log(\"here\", e.target.value)\n if (e.target.value == \"\") {\n this.state.lockInPeriodLandlordDD = \"\";\n this.state.lockInPeriodLandlordMM = \"\";\n this.state.lockInPeriodLandlordYY = \"\";\n }\n console.log(values);\n if (e.target.value == \"Lease Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInLeaseDate;\n } else if (e.target.value == \"Rent Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInRentDate;\n }else if (e.target.value == \"Renewal Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInRenewalDate;\n }\n\n console.log(values.lockInPeriodLandlordStartDate, \"values.lockInPeriodLandlordStartDate\", this.state.landlordLockInRenewalDate)\n\n values.lockInPeriodLandlordEndDate = getToDate(\n values.lockInPeriodLandlordStartDate,\n Number(this.state.lockInPeriodLandlordDD),\n Number(this.state.lockInPeriodLandlordMM),\n Number(this.state.lockInPeriodLandlordYY),\n );\n this.setState({});\n }\n\n changeLockInPeriodOccupier(values, id) {\n for (let i = 0; i < values.lockInPeriodOccupier.length; i++) {\n if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Lease Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInLeaseDate;\n } else if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Rent Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInRentDate;\n } else if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Renewal Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInRenewalDate;\n }\n values.lockInPeriodOccupier[i].lockInEndDate = getToDate(\n values.lockInPeriodOccupier[i].lockInFromDate,\n Number(values.lockInPeriodOccupier[i].lockInPeriodDD),\n Number(values.lockInPeriodOccupier[i].lockInPeriodMM),\n Number(values.lockInPeriodOccupier[i].lockInPeriodYY),\n );\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true });\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _occupiers = [...this.state.lockInPeriodOccupier];\n\n // Remove the item at the specified index\n _occupiers.splice(index, 1);\n\n // Update the state\n this.setState({\n lockInPeriodOccupier: _occupiers,\n lockInPeriodCount: this.state.lockInPeriodCount - 1\n });\n }\n\n lockInPeriodTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.lockInPeriodCount; i++) {\n heads.push(Lock In Period {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">});\n }\n\n var body = [];\n for (var i = 0; i < this.state.lockInPeriodCount; i++) {\n if (\n typeof this.state.lockInPeriodOccupier[i] === \"undefined\" ||\n this.state.lockInPeriodOccupier[i] === null\n ) {\n this.state.lockInPeriodOccupier[i] = {};\n this.state.lockInPeriodOccupier[i].lockInPeriod = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n this.state.lockInPeriodOccupier[i].lockInFromDate = \"\";\n this.state.lockInPeriodOccupier[i].lockInEndDate = \"\";\n values.lockInPeriodOccupier[i] = {};\n values.lockInPeriodOccupier[i].lockInPeriod = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n values.lockInPeriodOccupier[i].lockInFromDate = \"\";\n values.lockInPeriodOccupier[i].lockInEndDate = \"\";\n }\n body.push(\n \n
\n
\n
\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriod =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n this.changeLockInPeriodOccupier(values, id);\n handleChange(e);\n }}\n >\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodYY =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"YY\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodMM =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"MM\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodDD =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"DD\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInPeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInFromDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In From Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInEndDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In End Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriod =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n this.changeLockInPeriodOccupier(values, id);\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodYY =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"YY\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodMM =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"MM\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodDD =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"DD\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInPeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInFromDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In From Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInEndDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In End Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
*/}\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n if (!this.mainFormValidator.allValid()) {\n console.log(this.mainFormValidator);\n this.mainFormValidator.showMessages();\n return false;\n }\n console.log(values, \"val\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-lockin?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.showLandlordForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n
\n\n {this.state.toggleLandlordForm && (\n <>\n
\n \n
\n {\n this.changeLockInPeriodLandlord(e, values);\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n const isChecked = e.target.checked;\n this.setState({ fullLockInPeriodFlag: isChecked });\n\n if (isChecked) {\n values.lockInPeriodLandlordEndDate = this.state.lockinPeriodLandlordEndDate;\n this.setState({});\n this.getDateDiff(values.lockInPeriodLandlordStartDate);\n } else {\n this.setState({\n lockInPeriodLandlordYY: \"\",\n lockInPeriodLandlordMM: \"\",\n lockInPeriodLandlordDD: \"\",\n });\n\n values.lockInPeriodLandlordEndDate = \"\";\n }\n handleChange(e);\n }}\n />\n
\n
\n
\n \n
\n
\n
\n {\n this.state.lockInPeriodLandlordYY =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordMM =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordDD =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Landlord\",\n values.lockInPeriodLandlord,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord Start Date\",\n values.lockInPeriodLandlordStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord End Date\",\n values.lockInPeriodLandlordEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n
\n
\n\n
\n \n
\n {\n this.showOccupierForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleOccupierForm && (\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n lockInPeriodCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n )}\n
\n {this.state.toggleOccupierForm &&\n this.lockInPeriodTabs(handleChange, values)}\n
\n\n\n {(this.state.toggleLandlordForm || this.state.toggleOccupierForm) && (\n <>\n
\n
\n
\n
\n \n
\n
\n
\n {\n this.setState({ terminationNoticePeriodMM: e.target.value });\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n {\n this.setState({ terminationNoticePeriodDD: e.target.value });\n handleChange(e);\n }}\n />\n
\n
\n
\n {this.mainFormValidator.message(\n \"Termination Notice Period (MM-DD)\",\n values.terminationNoticePeriodMM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n
\n
\n\n \n )}\n\n
\n \n \n
\n\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.showLandlordForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleLandlordForm && (\n
\n
\n
\n
\n \n
\n {\n this.changeLockInPeriodLandlord(\n e,\n values\n );\n handleChange(e);\n }}\n >\n \n \n \n
\n
\n
\n
\n \n
\n
\n {\n const isChecked = e.target.checked;\n this.setState({ fullLockInPeriodFlag: isChecked });\n\n if (isChecked) {\n values.lockInPeriodLandlordEndDate = this.state.lockinPeriodLandlordEndDate;\n this.setState({});\n this.getDateDiff(values.lockInPeriodLandlordStartDate);\n } else {\n this.setState({\n lockInPeriodLandlordYY: '',\n lockInPeriodLandlordMM: '',\n lockInPeriodLandlordDD: ''\n });\n\n values.lockInPeriodLandlordEndDate = '';\n }\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n {\n this.state.lockInPeriodLandlordYY =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordMM =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordDD =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Landlord\",\n values.lockInPeriodLandlord,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord Start Date\",\n values.lockInPeriodLandlordStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord End Date\",\n values.lockInPeriodLandlordEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n \n
\n {\n this.showOccupierForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.toggleOccupierForm && (\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n lockInPeriodCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n )}\n
\n
\n
\n {this.state.toggleOccupierForm &&\n this.lockInPeriodTabs(handleChange, values)}\n {(this.state.toggleLandlordForm ||\n this.state.toggleOccupierForm) && (\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.terminationNoticePeriodMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.terminationNoticePeriodDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n
\n {this.mainFormValidator.message(\n \"Termination Notice Period (MM-DD)\",\n values.terminationNoticePeriodMM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.mainFormValidator.message(\n \"Termination Notice Period Logic\",\n values.terminationNoticePeriodLogic,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n )}\n Notes/Remarks\n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n */}\n \n )}\n \n
\n \n \n );\n }\n}\n\nexport default withRouter(LockInNoticePeriod);\n","import React, { Component, createRef } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass RentalDetails extends Component {\n countError = \"\";\n state = {\n isEdit: false,\n escalationIndex: 0,\n disableBifurctaeUnit: false,\n totalGla: \"\",\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n productName: \"\",\n productId: \"\",\n to: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n rentalDetails: [],\n products: [],\n redirect: false,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n initialValues: {\n rentalLogic: {\n fromDate: \"\",\n toDate: \"\",\n rentalUom: \"\",\n rentDueDate: \"\",\n rentRate: \"\",\n rentRateTerm: \"\",\n onArea: \"\",\n rentFrequency: \"\",\n rentalLogicValue: \"\",\n rentalLogicText: \"\",\n minusCamPercent: \"\",\n revenueShareTerm: \"\",\n slabs: [],\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n showMinusCam: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\",\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.formikRef = createRef();\n }\n\n handleReset = () => {\n // console.log('Reset button clicked');\n // if (this.formikRef.current) {\n // console.log('Resetting form');\n // this.formikRef.current.resetForm();\n // } else {\n // console.warn('Formik reference is not set yet');\n // }\n\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n //this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n biFurcateRent(e, values) {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n handleUnitOnChange(e, values, setFieldValue) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n this.state.initialValues.rentalLogic.unit = e.target.value;\n this.setState({});\n if (this.state.rentalDetails.length > 0) {\n var bifurcatedArr = this.state.rentalDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState(\n {\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n },\n () => {\n console.log(this.state.rentalDetails);\n }\n );\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n changeProduct(newValue, values, index) {\n this.state.initialValues.rentalLogic.slabs[index].product = newValue.value;\n this.state.initialValues.rentalLogic.slabs[index].productName =\n newValue.label;\n this.setState({});\n console.groupEnd();\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editRental(index, values) {\n this.setState({ isEdit: true, escalationIndex: index - 1 });\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (this.state.rentalDetails[index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.rentalDetails[index].rentalLogic !== undefined) {\n if (\n this.state.rentalDetails[index].rentalLogic.escalationPercent !==\n undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentalDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.rentalDetails[index].slabNumber;\n if (this.state.rentalDetails[index].rentalLogicText.includes(\"Minus CAM\")) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentalDetails[index].periodTermDD,\n periodTermMM: this.state.rentalDetails[index].periodTermMM,\n periodTermYY: this.state.rentalDetails[index].periodTermYY,\n });\n if (\n this.state.rentalDetails[index].rentalLogicValue === \"1\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"2\"\n ) {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"3\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"4\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"5\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"6\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"7\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"8\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"9\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"10\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"11\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"12\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"13\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"14\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"16\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"17\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"18\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"19\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"28\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"20\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"21\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"22\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"23\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"24\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"25\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"26\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n values.rentalLogic = { ...this.state.rentalDetails[index] };\n this.state.fromDate = this.state.rentalDetails[index].fromDate;\n this.state.toDate = this.state.rentalDetails[index].toDate;\n this.state.initialValues.rentalLogic.unit =\n this.state.rentalDetails[index].unit;\n this.setState({});\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _rentalDetails = this.state.rentalDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.rentalLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentValues.rentalLogic.rentalUom != \"Per Seat\") {\n if (currentPeriod > 1) {\n currentValues.rentalLogic.rentRate = (\n Number(currentValues.rentalLogic.rentRate) *\n (Number(currentValues.rentalLogic.escalationPercent) / 100) +\n Number(currentValues.rentalLogic.rentRate)\n ).toFixed(2);\n }\n }\n\n var rentalLogic = { ...currentValues.rentalLogic };\n console.log(rentalLogic, \"11\");\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n rentalLogicText: this.state.initialValues.rentalLogic.rentalLogicText,\n rentalLogicValue: this.state.initialValues.rentalLogic.rentalLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: rentalLogic.escalationPercent,\n rentalUom: rentalLogic.rentalUom,\n onArea: rentalLogic.onArea,\n rentRateTerm: rentalLogic.rentRateTerm,\n rentRate: rentalLogic.rentRate,\n seatRate: rentalLogic.seatRate,\n seatCount: rentalLogic.seatCount,\n rentFrequency: rentalLogic.rentFrequency,\n rentDueDate: rentalLogic.rentDueDate,\n rentDueType: rentalLogic.rentDueType,\n rentDueFrequency: rentalLogic.rentDueFrequency,\n fitoutUom: rentalLogic.fitoutUom,\n fitoutOnArea: rentalLogic.fitoutOnArea,\n fitoutRate: rentalLogic.fitoutRate,\n fitoutFrequency: rentalLogic.fitoutFrequency,\n fitoutRateTerm: rentalLogic.fitoutRateTerm,\n minusCamPercent: rentalLogic.minusCamPercent,\n unit: rentalLogic.unit,\n };\n console.log(_currentValues);\n _rentalDetails.push(_currentValues);\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ rentalDetails: _rentalDetails });\n values.rentalLogic.escalationPercent = \"\";\n values.rentalLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n showAddBtn: false,\n showForm: false,\n });\n };\n\n addRentalDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var rentalVal = this.state.initialValues.rentalLogic.rentalLogicValue;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n values.rentalLogic.unit = this.state.initialValues.rentalLogic.unit;\n _rentalDetails.push(values.rentalLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.seatRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n // resetForm();\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n _rentalDetails[this.state.currentIndex] = { ...values.rentalLogic };\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n // values.rentalLogic.unit = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetRentalDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period = this.state.rentalDetails.length + 1;\n //this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.rentalLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.rentalLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.rentalLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n product: \"\",\n });\n }\n } else if (\n this.state.initialValues.rentalLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.rentalLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.rentalLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.rentalLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n handleRentalLogicChange = (event, values) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rentalLogic.rentalUom = \"\";\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n let index = event.nativeEvent.target.selectedIndex;\n let label = event.nativeEvent.target[index].label;\n this.state.initialValues.rentalLogic.rentalLogicText = label;\n this.state.initialValues.rentalLogic.rentalLogicValue = event.target.value;\n let checkValue = label.includes(\"Minus CAM\");\n if (checkValue) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n if (event.target.value === \"1\" || event.target.value === \"2\") {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"3\" || event.target.value === \"4\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"5\" || event.target.value === \"6\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"7\" || event.target.value === \"8\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"9\" || event.target.value === \"10\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"11\" || event.target.value === \"12\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"13\" ||\n event.target.value === \"14\" ||\n event.target.value === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"16\" || event.target.value === \"17\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"18\" ||\n event.target.value === \"19\" ||\n event.target.value === \"28\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"20\" || event.target.value === \"21\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"22\" || event.target.value === \"23\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"24\" ||\n event.target.value === \"25\" ||\n event.target.value === \"26\" ||\n event.target.value === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-details?id=${this.props.match.params.id}`,\n method: 'GET'\n }).then(function (response){\n let data = response.data;\n athis.state.totalGla = data.total_gla;\n athis.state.isRentAutocalculate = data.isRentAutocalculate;\n athis.state.isUnitBifurcate = data.isUnitBifurcate;\n if (data.isRentAutocalculate) {\n athis.setState({ isRentCheckboxChecked: true });\n } else {\n athis.setState({ isRentCheckboxChecked: false });\n }\n if (data.isUnitBifurcate === true) {\n athis.setState({ biFurcateRentVal: 1 });\n } else {\n athis.setState({ biFurcateRentVal: 0 });\n }\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n if (data.rentalDetails.length > 0) {\n if (\n data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n // let _tempDate = new Date(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // );\n\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // console.log(dd, mm, y);\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.rentalDetails[data.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n athis.setState({\n initialValues: data,\n rentalDetails: data.rentalDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n units: data.units,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.totalGla = data.total_gla;\n // this.state.isRentAutocalculate = data.isRentAutocalculate;\n // this.state.isUnitBifurcate = data.isUnitBifurcate;\n // if (data.isRentAutocalculate) {\n // this.setState({ isRentCheckboxChecked: true });\n // } else {\n // this.setState({ isRentCheckboxChecked: false });\n // }\n // if (data.isUnitBifurcate === true) {\n // this.setState({ biFurcateRentVal: 1 });\n // } else {\n // this.setState({ biFurcateRentVal: 0 });\n // }\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // if (data.rentalDetails.length > 0) {\n // if (\n // data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // // );\n\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // console.log(dd, mm, y);\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // rentalDetails: data.rentalDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n // units: data.units,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n calculateToDate(values) {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n Number(this.state.periodTermMM),\n this.state.periodTermYY\n ),\n });\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n if (values.rentalLogic.rentalUom != \"Per Seat\") {\n setFieldValue(\n \"rentalLogic.rentRate\",\n (\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .rentRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n } else {\n setFieldValue(\n \"rentalLogic.seatRate\",\n (\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .seatRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n }\n\n fetchUnitDetails(e, setFieldValue) {\n console.log(e.target.value, \"eeee\", this.props.match.params.id);\n\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-coworking-details?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n setFieldValue(\"rentalLogic.seatCount\", data.total_sum);\n });\n }\n\n calculateEscalationPercent(e, values, setFieldValue, str) {\n if (this.state.period > 1) {\n if (values.rentalLogic.rentalUom != \"Per Seat\") {\n if (str == \"uom\") {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(values.rentalLogic.rentRate) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex].rentRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex].rentRate\n )) *\n 100\n ).toFixed(2)\n );\n } else {\n if (\n this.state.rentalDetails[this.state.escalationIndex].rentRate !== 0\n ) {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex]\n .rentRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex]\n .rentRate\n )) *\n 100\n ).toFixed(1)\n );\n }\n }\n } else {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex].seatRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex].seatRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rentals = this.state.rentalDetails;\n\n this.setState({ period: _rentals.length });\n\n _rentals.splice(this.state.index_val, 1);\n\n this.setState({\n rentalDetails: _rentals,\n showForm: true,\n });\n //this.state.period--;\n\n if (this.state.rentalDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.rentalDetails[this.state.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateTotalSeatAmount = (e, values, x) => {\n if (x == \"count\") {\n if (\n values.rentalLogic.seatRate != undefined &&\n values.rentalLogic.seatRate != null\n ) {\n values.rentalLogic.seatTotalAmount =\n e.target.value * values.rentalLogic.seatRate;\n this.setState({});\n }\n } else {\n if (\n values.rentalLogic.seatCount != undefined &&\n values.rentalLogic.seatCount != null\n ) {\n values.rentalLogic.seatTotalAmount =\n e.target.value * values.rentalLogic.seatCount;\n this.setState({});\n }\n }\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n \n
\n
\n\n {\n if (this.state.rentalDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n if (this.state.biFurcateRentVal === 0) {\n if (\n this.state.to !==\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .toDate\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Complete the period\",\n });\n return false;\n }\n }\n values.rentalDetails = this.state.rentalDetails;\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-rent-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(\n e,\n values,\n setFieldValue\n );\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n\n {this.state.isRentAutocalculate === true && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n
\n
\n
\n )}\n\n\n {this.state.rentMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n this.fetchUnitDetails(e, setFieldValue);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n \n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {values.rentalLogic.rentalUom == \"Per Seat\" && (\n <>\n
\n \n
\n {\n this.calculateTotalSeatAmount(\n e,\n values,\n \"count\"\n );\n }}\n />\n {this.validator.message(\n \"Seat Count\",\n values.rentalLogic.seatCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.calculateTotalSeatAmount(\n e,\n values,\n \"rate\"\n );\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Seat Rate\",\n values.rentalLogic.seatRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Total Amount\",\n values.rentalLogic.seatTotalAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {values.rentalLogic.rentalUom != \"Per Seat\" && (\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.rentFitoutMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n \n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n
\n
\n\n {/* Fitout On Area */}\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {/* Fitout Rate */}\n
\n \n
\n \n \n
\n
\n\n {/* Fitout Rate Term */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {/* Fitout Rent Frequency */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesShareMinusCam && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)\n Action\n
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n {this.state.pureRevenueProduct && (\n <>\n
\n \n
\n handleChange(e)}\n className=\"form-control\"\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n className=\"form-control\"\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n className=\"form-control\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n className=\"form-control\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n className=\"form-control\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)\n Action\n
{index + 1}\n \n this.changeProduct(\n e,\n values,\n index\n )\n }\n options={this.state.products.map(\n (product) => ({\n label: product.product_name,\n value: product.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n className=\"form-control\"\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n {\n className: \"text-danger\",\n }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n {\n className: \"text-danger\",\n }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n className=\"form-control\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n className=\"form-control\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n className=\"form-control\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (product) => ({\n label: product.product_name,\n value: product.id,\n })\n )}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var slabs = [\n ...this.state.initialValues\n .rentalLogic.slabs,\n ];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n
\n
\n \n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusFitout && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)\n Action\n
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n\n
\n \n
\n\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label: item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label: item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n
\n \n \n
\n
\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n className=\"add_button\"\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n \n {this.state.rentalDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n {leaseDateFormat(name.fromDate)}{leaseDateFormat(name.toDate)}{name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : ((name.rentalUom == \"Per Seat\") ?\n name.seatRate : name.rentRate\n )\n\n // name.rentRate == \"\" ||\n // name.rentRate == undefined\n // ? name.seatRate == \"\" ||\n // name.seatRate == undefined\n // ? \"-\"\n // : name.seatRate\n // : name.rentRate\n }\n \n {\n this.editRental(\n index,\n values,\n setFieldValue\n );\n }}\n >\n \n \n {this.state.rentalDetails.length ==\n index + 1 && (\n {\n this.handleReset();\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Basic Rental Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.rentalPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\n \"Are you sure you want to delete this period?\"\n

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n\n rentalPopup(rental) {\n console.log(rental);\n if (rental.rentalLogicValue == 1 || rental.rentalLogicValue == 2) {\n return this.rentMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 3 || rental.rentalLogicValue == 4) {\n return this.rentPlusFitoutMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 5 || rental.rentalLogicValue == 6) {\n return this.pureRevenueShareMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 7 || rental.rentalLogicValue == 8) {\n return this.pureRevenueShareSalesRangeMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 9 || rental.rentalLogicValue == 10) {\n return this.pureRevenueShareProductMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 11 || rental.rentalLogicValue == 12) {\n return this.pureRevenueShareSalesRangeProductMinusCamPopup(rental);\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return this.minimumGuaranteeRentPlusCamMinusCam(rental);\n } else if (rental.rentalLogicValue == 16 || rental.rentalLogicValue == 17) {\n return this.minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental);\n } else if (\n rental.rentalLogicValue == 18 ||\n rental.rentalLogicValue == 19 ||\n rental.rentalLogicValue == 28\n ) {\n return this.minimumGuaranteeRentRevenueShareSalesMinusCam(rental);\n } else if (rental.rentalLogicValue == 20 || rental.rentalLogicValue == 21) {\n return this.minimumGuaranteeRentRevenueShareProductMinusCam(rental);\n } else if (rental.rentalLogicValue == 22 || rental.rentalLogicValue == 23) {\n return this.minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental);\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return this.minimumGuaranteeRentOrRevenueShareMinusCam(rental);\n }\n }\n\n rentMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n\n {rental.rentalUom == \"Per Seat\" && (\n <>\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n )}\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom != \"Per Seat\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n }\n }\n\n rentPlusFitoutMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n }\n\n pureRevenueShareMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusCamMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentOrRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n}\nexport default withRouter(RentalDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherRentalDetails extends React.Component {\n countError = \"\";\n state = {\n deleteKey: \"\",\n totalGla: \"\",\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n productName: \"\",\n productId: \"\",\n to: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n rentalDetails: [],\n products: [],\n redirect: false,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n initialValues: {\n rentalLogic: {\n fromDate: \"\",\n toDate: \"\",\n rentalUom: \"\",\n rentDueDate: \"\",\n rentRate: \"\",\n rentRateTerm: \"\",\n onArea: \"\",\n rentFrequency: \"\",\n rentalLogicValue: \"\",\n rentalLogicText: \"\",\n minusCamPercent: \"\",\n revenueShareTerm: \"\",\n slabs: [],\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n showMinusCam: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\",\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n biFurcateRent(e, values) {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n handleUnitOnChange(e, values) {\n this.state.initialValues.rentalLogic.unit = e.target.value;\n this.setState({});\n if (this.state.rentalDetails.length > 0) {\n var bifurcatedArr = this.state.rentalDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n });\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n changeProduct(newValue, values, index) {\n this.state.initialValues.rentalLogic.slabs[index].product = newValue.value;\n this.state.initialValues.rentalLogic.slabs[index].productName =\n newValue.label;\n this.setState({});\n console.groupEnd();\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editRental(index, values, key) {\n this.state.currentIndex = index;\n this.setState({ currentIndex: index });\n console.log(this.state.rentalDetails[key][index]);\n if (this.state.rentalDetails[key][index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.rentalDetails[key][index].rentalLogic !== undefined) {\n if (\n this.state.rentalDetails[key][index].rentalLogic.escalationPercent !==\n undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentalDetails[key][index].period;\n this.state.initialValues.totalSlabs =\n this.state.rentalDetails[key][index].slabNumber;\n if (\n this.state.rentalDetails[key][index].rentalLogicText.includes(\"Minus CAM\")\n ) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentalDetails[key][index].periodTermDD,\n periodTermMM: this.state.rentalDetails[key][index].periodTermMM,\n periodTermYY: this.state.rentalDetails[key][index].periodTermYY,\n });\n if (\n this.state.rentalDetails[key][index].rentalLogicValue === \"1\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"2\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"3\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"4\"\n ) {\n this.setState({\n rentMinusCam: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n });\n }\n console.log(values);\n values.rentalLogic = { ...this.state.rentalDetails[key][index] };\n values.rentalLogic.rentalLogicValue =\n this.state.rentalDetails[key][index].rentalLogicValue;\n this.state.initialValues.rentalLogic.rentalLogicValue =\n this.state.rentalDetails[key][index].rentalLogicValue;\n values.rentalLogic.rentalLogicText =\n this.state.rentalDetails[key][index].rentalLogicText;\n this.state.fromDate = this.state.rentalDetails[key][index].fromDate;\n this.state.toDate = this.state.rentalDetails[key][index].toDate;\n this.state.initialValues.rentalLogic.unit =\n this.state.rentalDetails[key][index].unit;\n this.setState({});\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _rentalDetails = this.state.rentalDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.rentalLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentPeriod > 1) {\n currentValues.rentalLogic.rentRate = (\n Number(currentValues.rentalLogic.rentRate) *\n (Number(currentValues.rentalLogic.escalationPercent) / 100) +\n Number(currentValues.rentalLogic.rentRate)\n ).toFixed(2);\n }\n\n var rentalLogic = { ...currentValues.rentalLogic };\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n rentalLogicText: this.state.initialValues.rentalLogic.rentalLogicText,\n rentalLogicValue: this.state.initialValues.rentalLogic.rentalLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: rentalLogic.escalationPercent,\n rentalUom: rentalLogic.rentalUom,\n onArea: rentalLogic.onArea,\n rentRateTerm: rentalLogic.rentRateTerm,\n rentRate: rentalLogic.rentRate,\n rentFrequency: rentalLogic.rentFrequency,\n rentDueDate: rentalLogic.rentDueDate,\n rentDueType: rentalLogic.rentDueType,\n rentDueFrequency: rentalLogic.rentDueFrequency,\n fitoutUom: rentalLogic.fitoutUom,\n fitoutOnArea: rentalLogic.fitoutOnArea,\n fitoutRate: rentalLogic.fitoutRate,\n fitoutFrequency: rentalLogic.fitoutFrequency,\n fitoutRateTerm: rentalLogic.fitoutRateTerm,\n minusCamPercent: rentalLogic.minusCamPercent,\n unit: rentalLogic.unit,\n };\n if (\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n undefined\n ) {\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n [];\n }\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText].push(\n _currentValues\n );\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ rentalDetails: _rentalDetails });\n values.rentalLogic.escalationPercent = \"\";\n values.rentalLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n });\n };\n\n addRentalDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var rentalVal = this.state.initialValues.rentalLogic.rentalLogicValue;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n values.rentalLogic.unit = this.state.initialValues.rentalLogic.unit;\n if (\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n undefined\n ) {\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n [];\n }\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText].push(\n values.rentalLogic\n );\n this.setState({\n rentalDetails: _rentalDetails,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n // resetForm();\n } else {\n console.log(this.state.currentIndex);\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n // values.rentalLogic.rentalLogicText =\n // this.state.initialValues.rentalLogic.rentalLogicText;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n // if (\n // _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n // undefined\n // ) {\n // _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n // [];\n // }\n console.log(\n _rentalDetails[values.rentalLogic.rentalLogicText][\n this.state.currentIndex\n ]\n );\n _rentalDetails[values.rentalLogic.rentalLogicText][\n this.state.currentIndex\n ] = { ...values.rentalLogic };\n\n this.setState({\n rentalDetails: _rentalDetails,\n });\n console.log(this.state.rentalDetails, this.state.currentIndex, \"pop\");\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n // values.rentalLogic.unit = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetRentalDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.rentalLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.rentalLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.rentalLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n product: \"\",\n });\n }\n } else if (\n this.state.initialValues.rentalLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.rentalLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.rentalLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.rentalLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n handleRentalLogicChange = (event, values) => {\n let index = event.nativeEvent.target.selectedIndex;\n let label = event.nativeEvent.target[index].label;\n this.state.initialValues.rentalLogic.rentalLogicText = label;\n this.state.initialValues.rentalLogic.rentalLogicValue = event.target.value;\n console.log(this.state.rentalDetails[label]);\n if (\n this.state.rentalDetails[label] !== undefined &&\n this.state.rentalDetails[label].length > 0 &&\n this.state.rentalDetails[label][\n this.state.rentalDetails[label].length - 1\n ].toDate == values.to\n ) {\n this.state.initialValues.rentalLogic.rentalLogicText = \"\";\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n var _rentalDetails = this.state.rentalDetails;\n if (\n _rentalDetails[label] == undefined ||\n _rentalDetails[label].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _rentalDetails[label][_rentalDetails[label].length - 1].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period = this.state.rentalDetails[label].length + 1;\n }\n\n this.setState({});\n values.rentalLogic.rentalUom = \"\";\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n\n let checkValue = label.includes(\"Minus CAM\");\n\n if (checkValue) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n if (\n event.target.value === \"1\" ||\n event.target.value === \"2\" ||\n event.target.value === \"3\" ||\n event.target.value === \"4\"\n ) {\n this.setState({\n rentMinusCam: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis=this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-rent-details?id=${this.props.match.params.id}`\n }).then(function(response){\n let data = response.data;\n athis.state.totalGla = data.total_gla;\n athis.state.isRentAutocalculate = data.isRentAutocalculate;\n athis.state.isUnitBifurcate = data.isUnitBifurcate;\n if (data.isRentAutocalculate) {\n athis.setState({ isRentCheckboxChecked: true });\n } else {\n athis.setState({ isRentCheckboxChecked: false });\n }\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n if (data.rentalDetails.length > 0) {\n console.log(\"11\");\n if (\n data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n ) {\n console.log(\"12\");\n athis.setState({\n showForm: false,\n });\n }\n // let _tempDate = new Date(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // );\n\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // console.log(dd, mm, y);\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.rentalDetails[data.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n athis.setState({\n initialValues: data,\n rentalDetails: data.rentalDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n units: data.units,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-rent-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.totalGla = data.total_gla;\n // this.state.isRentAutocalculate = data.isRentAutocalculate;\n // this.state.isUnitBifurcate = data.isUnitBifurcate;\n // if (data.isRentAutocalculate) {\n // this.setState({ isRentCheckboxChecked: true });\n // } else {\n // this.setState({ isRentCheckboxChecked: false });\n // }\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // if (data.rentalDetails.length > 0) {\n // console.log(\"11\");\n // if (\n // data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n // ) {\n // console.log(\"12\");\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // // );\n\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // console.log(dd, mm, y);\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // rentalDetails: data.rentalDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n // units: data.units,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n calculateToDate(values) {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n Number(this.state.periodTermMM),\n this.state.periodTermYY\n ),\n });\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"rentalLogic.rentRate\",\n (\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n )) /\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rentals = this.state.rentalDetails;\n _rentals[this.state.deleteKey].splice(this.state.index_val, 1);\n\n this.setState({\n rentalDetails: _rentals,\n showForm: true,\n });\n if (this.state.period > 1) {\n this.state.period--;\n }\n\n if (this.state.rentalDetails[this.state.deleteKey].length > 0) {\n console.log(\"11\");\n this.setState({\n fromDate: getToDate(\n this.state.rentalDetails[this.state.deleteKey][\n this.state.rentalDetails[this.state.deleteKey].length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n values.rentalDetails = { ...this.state.rentalDetails };\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-rent-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n )}\n\n {this.state.showForm && (\n <>\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n
\n
\n
\n \n )}\n\n {this.state.rentMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\"From\", this.state.fromDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\"To\", this.state.toDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\"Escalation %\", values.rentalLogic.escalationPercent, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\"rent Rate\", values.rentalLogic.rentRate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\"rent Due Date\", values.rentalLogic.rentDueDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\"Other Rental Type\", values.rentalLogic.otherRentalType, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.rentFitoutMinusCam && (\n <>\n\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.pureRevenueShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((friend, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABFROMTORevenue Share (%)Action
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueProduct && (\n <>\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((friend, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTRevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n ...this.state.initialValues,\n rentalLogic: {\n ...this.state.initialValues.rentalLogic,\n slabs: _slabs,\n },\n });\n e.preventDefault();\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.pureRevenueSalesProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n slab.from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n slab.to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n slab.percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.rentalLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusCam && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusFitout && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const updatedSlabs = [...this.state.initialValues.rentalLogic.slabs];\n updatedSlabs.splice(index, 1);\n this.setState({ slabs: updatedSlabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index]\n .percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues.rentalLogic.slabs[index]\n .percent\n }\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.rentalLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n handleChange(e)}\n />\n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n this.changeProduct(e, values, index)}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n slab.from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n slab.to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n slab.percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = this.state.initialValues.rentalLogic.slabs;\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n this.changeProduct(e, values, index)}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({ slabs: _slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n
\n \n \n
\n
\n {this.mainFormValidator.message(\n \"Rental Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n className='add_button'\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n\n \n {Object.keys(this.state.rentalDetails).map(\n function (key, index) {\n return this.state.rentalDetails[key].length > 0\n ? this.state.rentalDetails[key].map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)\n : [];\n },\n this\n )}\n \n
S.NoPeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : name.rentRate}\n \n {\n this.editRental(\n index,\n values,\n key\n );\n }}\n >\n \n \n {this.state.rentalDetails[key]\n .length ==\n index + 1 && (\n {\n this.handleReset()\n this.setState({\n deleteKey: key,\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n
\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n {this.state.units.map((obj) => (\n \n ))}\n \n
\n
\n
\n
\n )}\n
\n
\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n \n
\n
\n
\n )}\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n \n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n \n
\n
\n
\n
\n
\n )}\n\n {this.state.rentMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Other Rental Type\",\n values.rentalLogic.otherRentalType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n {this.state.rentFitoutMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"fitout Uom\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n\n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusFitout && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n\n {this.validator.message(\n \"Fitout Rate UOM\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.showAddBtn && (\n
\n
\n
\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n Notes/Remarks\n \n
\n
\n
\n {this.mainFormValidator.message(\n \"Rental Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n\n \n {Object.keys(this.state.rentalDetails).map(\n function (key, index) {\n return this.state.rentalDetails[key].length > 0\n ? this.state.rentalDetails[key].map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)\n : [];\n },\n this\n )}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : name.rentRate}\n \n {\n this.editRental(\n index,\n values,\n key\n );\n }}\n >\n \n \n {this.state.rentalDetails[key]\n .length ==\n index + 1 && (\n {\n this.handleReset()\n this.setState({\n deleteKey: key,\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n */}\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Rental Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.rentalPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n\n rentalPopup(rental) {\n return this.rentMinusCamPopup(rental);\n }\n\n rentMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n }\n }\n}\nexport default withRouter(OtherRentalDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CamDetails extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n disableOnEdit: false,\n currentIndex: null,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n to: \"\",\n showCamActalization: false,\n showCamCapped: false,\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n camDetails: [],\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n initialValues: {\n camLogic: {\n fromDate: \"\",\n toDate: \"\",\n camUom: \"\",\n camDueDate: \"\",\n camRate: \"\",\n camRateTerm: \"\",\n onArea: \"\",\n camFrequency: \"\",\n camLogicValue: \"\",\n camLogicText: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n slabs: [],\n camActualizationPeriod: \"\",\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n toggleCamForm: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showCamForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleCamForm: true,\n });\n } else {\n this.setState({\n toggleCamForm: false,\n });\n }\n };\n\n biFurcateRent(e, values) {\n if (this.state.camDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n camDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.camDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n camDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n });\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n handleUnitOnChange(e, values) {\n this.state.initialValues.camLogic.unit = e.target.value;\n this.setState({});\n if (this.state.camDetails.length > 0) {\n var bifurcatedArr = this.state.camDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _camDetails = this.state.camDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.camLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentPeriod > 1) {\n currentValues.camLogic.camRate = (\n Number(currentValues.camLogic.camRate) *\n (Number(currentValues.camLogic.escalationPercent) / 100) +\n Number(currentValues.camLogic.camRate)\n ).toFixed(2);\n }\n\n var camLogic = { ...currentValues.camLogic };\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n camLogicText: this.state.initialValues.camLogic.camLogicText,\n camLogicValue: this.state.initialValues.camLogic.camLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: camLogic.escalationPercent,\n camUom: camLogic.camUom,\n onArea: camLogic.onArea,\n camRateTerm: camLogic.camRateTerm,\n rentRate: camLogic.rentRate,\n camRate: camLogic.camRate,\n camFrequency: camLogic.camFrequency,\n camDueDate: camLogic.camDueDate,\n camDueType: camLogic.camDueType,\n camDueFrequency: camLogic.camDueFrequency,\n camActualization: camLogic.camActualization,\n camActualizationBasis: camLogic.camActualizationBasis,\n camActualizationPeriod: camLogic.camActualizationPeriod,\n camCapped: camLogic.camCapped,\n camCappedUom: camLogic.camCappedUom,\n camCappedRate: camLogic.camCappedRate,\n camCappedRateTerm: camLogic.camCappedRateTerm,\n minusCamPercent: camLogic.minusCamPercent,\n unit: camLogic.unit,\n };\n console.log(_currentValues);\n _camDetails.push(_currentValues);\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ camDetails: _camDetails });\n values.camLogic.escalationPercent = \"\";\n values.camLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n });\n };\n\n changeCamActualization(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"Yes\") {\n this.setState({\n showCamActalization: true,\n });\n } else {\n this.setState({\n showCamActalization: false,\n });\n }\n }\n\n changeCamCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"Yes\") {\n this.setState({\n showCamCapped: true,\n });\n } else {\n this.setState({\n showCamCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editCam(index, values) {\n if (this.state.camDetails[index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.camDetails[index].camLogic !== undefined) {\n if (\n this.state.camDetails[index].camLogic.escalationPercent !== undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n\n if (this.state.camDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.state.period = this.state.camDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.camDetails[index].slabNumber;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.camDetails[index].periodTermDD,\n periodTermMM: this.state.camDetails[index].periodTermMM,\n periodTermYY: this.state.camDetails[index].periodTermYY,\n });\n if (this.state.camDetails[index].camLogicValue === \"1\") {\n this.setState({\n camBasisRate: true,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"2\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: true,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"3\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: true,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"4\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: true,\n });\n } else {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n }\n values.camLogic = { ...this.state.camDetails[index] };\n this.state.fromDate = this.state.camDetails[index].fromDate;\n this.state.toDate = this.state.camDetails[index].toDate;\n if (this.state.camDetails[index].camActualization == \"Yes\") {\n this.setState({ showCamActalization: true });\n } else {\n this.setState({ showCamActalization: false });\n }\n if (this.state.camDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.setState({});\n }\n\n addCamDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.camLogic.camLogicText =\n this.state.initialValues.camLogic.camLogicText;\n var _camDetails = this.state.camDetails;\n values.camLogic.period = this.state.period;\n values.camLogic.fromDate = this.state.fromDate;\n values.camLogic.toDate = this.state.toDate;\n values.camLogic.periodTermYY = this.state.periodTermYY;\n values.camLogic.periodTermMM = this.state.periodTermMM;\n values.camLogic.periodTermDD = this.state.periodTermDD;\n values.camLogic.unit = this.state.initialValues.camLogic.unit;\n _camDetails.push(values.camLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n camDetails: _camDetails,\n // camBasisRate: false,\n // camBasisPureRevenueShare: false,\n // camBasisPureRevenueShareSalesRange: false,\n // camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n setFieldValue(\"camLogic.camRate\", \"\");\n setFieldValue(\"camLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n console.log(\"hiii sumeet\");\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.camLogic.camLogicText =\n this.state.initialValues.camLogic.camLogicText;\n var _camDetails = this.state.camDetails;\n values.camLogic.period = this.state.period;\n values.camLogic.fromDate = this.state.fromDate;\n values.camLogic.toDate = this.state.toDate;\n values.camLogic.periodTermYY = this.state.periodTermYY;\n values.camLogic.periodTermMM = this.state.periodTermMM;\n values.camLogic.periodTermDD = this.state.periodTermDD;\n // _camDetails.push(values.camLogic);\n _camDetails[this.state.currentIndex] = { ...values.camLogic };\n var _initialValues = this.state.initialValues;\n // _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n camDetails: _camDetails,\n // camBasisRate: false,\n // camBasisPureRevenueShare: false,\n // camBasisPureRevenueShareSalesRange: false,\n // camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n console.log(this.state.camDetails[\n this.state.escalationIndex\n ].camRate);\n console.log(this.state.camDetails[\n this.state.escalationIndex\n ])\n console.log(this.state.escalationIndex)\n }\n };\n\n resetCamDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n // camDetails: _camDetails,\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n // camDetails: _camDetails,\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n hadleCamLogicChange = (event) => {\n console.log(this.state.camDetails);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index1 = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index1].label;\n this.state.initialValues.camLogic.camLogicText = text;\n this.state.initialValues.camLogic.camLogicValue = event.target.value;\n if (event.target.value === \"1\") {\n this.setState({\n camBasisRate: true,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"2\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: true,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"3\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: true,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"4\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: true,\n });\n } else {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n }\n };\n\n addSlabRow = (e) => {\n console.log(e.target.value, \"vv\");\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.camLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.camLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.camLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (\n this.state.initialValues.camLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.camLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.camLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.camLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n componentDidMount() {\n\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-details?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function (response){\n let data = response.data;\n athis.state.fromDate = data.from;\n athis.state.to = data.to;\n athis.state.applicableValue = data.camApplicable;\n if (data.camDetails.length > 0) {\n if (data.camDetails[data.camDetails.length - 1].toDate == data.to) {\n athis.setState({\n showForm: false,\n });\n }\n // let _tempDate = new Date(\n // data.camDetails[data.camDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.camDetails[data.camDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.camApplicable === \"yes\") {\n athis.setState({\n toggleCamForm: true,\n });\n } else {\n athis.setState({\n toggleCamForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n units: data.units,\n camDetails: data.camDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period: data.camDetails.length > 0 ? data.camDetails.length + 1 : 1,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.fromDate = data.from;\n // this.state.to = data.to;\n // this.state.applicableValue = data.camApplicable;\n // if (data.camDetails.length > 0) {\n // if (data.camDetails[data.camDetails.length - 1].toDate == data.to) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.camDetails[data.camDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.camDetails[data.camDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.camApplicable === \"yes\") {\n // this.setState({\n // toggleCamForm: true,\n // });\n // } else {\n // this.setState({\n // toggleCamForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // units: data.units,\n // camDetails: data.camDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period: data.camDetails.length > 0 ? data.camDetails.length + 1 : 1,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _cam = this.state.camDetails;\n _cam.splice(this.state.index_val, 1);\n console.log(_cam, \"new array\");\n this.setState({\n camDetails: _cam,\n showForm: true,\n });\n this.state.period--;\n if (this.state.camDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.camDetails[this.state.camDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"camLogic.camRate\",\n (\n Number(\n this.state.camDetails[this.state.camDetails.length - 1].camRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.camDetails[this.state.escalationIndex].camRate !== 0\n ) {\n setFieldValue(\n \"camLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(this.state.camDetails[this.state.escalationIndex].camRate)) /\n Number(\n this.state.camDetails[this.state.camDetails.length - 1].camRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Commercial Details
  • \n
  • \n
  • \n CAM Details\n
  • \n
\n
\n
\n\n {\n values.camApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n if (\n this.state.camDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n if (this.state.biFurcateRentVal === 0) {\n if (\n this.state.applicableValue == \"yes\" &&\n this.state.to !==\n this.state.camDetails[this.state.camDetails.length - 1]\n .toDate\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Complete the period\",\n });\n return false;\n }\n }\n values.camDetails = this.state.camDetails;\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-cam-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCamForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showForm && (\n
\n \n
\n \n
\n
\n )}\n\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n\n {this.state.toggleCamForm && (\n <>\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n {this.state.isRentAutocalculate === true && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleCamLogicChange(e);\n }}\n >\n
\n
\n
\n )}\n\n {this.state.camBasisRate && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.camDetails[this.state.escalationIndex] !== \"undefined\" &&\n this.state.camDetails[this.state.escalationIndex].camRate !== 0 &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Cam Rate\",\n values.camLogic.camRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n \n )}\n\n {this.state.camBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.camLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.camBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.camLogic.slabs.length > 0 &&\n this.state.initialValues.camLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.camLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.camLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.camLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.camLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.camLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n \n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.camLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueDate\"\n />\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueFrequency\"\n >\n
\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showCamActualization && (\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.showCamActualization && (\n
\n \n
\n \n \n
\n
\n )}\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showCamCapped && (\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n )}\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {this.state.camBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"CAM as Rent %\",\n values.camLogic.camRentPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n \n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n \n )}\n\n \n )}\n \n )}\n\n
\n \n \n
\n
\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate ===\n false && (\n {\n this.addCamDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate ===\n true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n console.log(values, \"nn\");\n this.resetCamDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n {this.mainFormValidator.message(\n \"Cam Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.camDetails.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoPeriodPeriod TermFromToCAM LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.camLogicText}{name.camRate || \"-\"}\n {\n this.editCam(index, values);\n }}\n >\n \n \n {this.state.camDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cam = this.state.camDetails;\n // _cam.splice(index, 1);\n // console.log(_cam, \"new array\");\n // this.setState({\n // camDetails: _cam,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.camDetails.length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.camDetails[\n // this.state.camDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n\n //this.handleReset()\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCamForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n )}\n {this.state.biFurcateRentVal === 1 && (\n
\n
\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n {this.state.units.map((obj) => (\n \n ))}\n \n
\n
\n
\n
\n )}\n
\n {this.state.toggleCamForm && (\n
\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n
\n )}\n\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleCamLogicChange(e);\n }}\n >\n \n \n {this.state.isRentAutocalculate ===\n false && (\n <>\n \n \n \n \n )}\n \n
\n
\n
\n
\n
\n )}\n\n {this.state.camBasisRate && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n {values.camLogic.camUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.camLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.camDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n this.state.camDetails[\n this.state.escalationIndex\n ].camRate !== 0 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Cam Rate\",\n values.camLogic.camRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n\n {this.state.camBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.camLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n {this.state.camBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.camLogic\n .slabs.length > 0 &&\n this.state.initialValues.camLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.camLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .camLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.camLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .camLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .camLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .camLogic.slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n {this.state.camBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"CAM as Rent %\",\n values.camLogic.camRentPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n\n\n {this.state.showAddBtn && (\n
\n
\n
\n
\n {this.state.isRentAutocalculate ===\n false && (\n {\n this.addCamDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate ===\n true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n console.log(values, \"nn\");\n this.resetCamDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n
\n
\n )}\n
\n )}\n Notes/Remarks\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Cam Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.camDetails.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoPeriodPeriod TermFromToCAM LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.camLogicText}{name.camRate || \"-\"}\n {\n this.editCam(index, values);\n }}\n >\n \n \n {this.state.camDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cam = this.state.camDetails;\n // _cam.splice(index, 1);\n // console.log(_cam, \"new array\");\n // this.setState({\n // camDetails: _cam,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.camDetails.length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.camDetails[\n // this.state.camDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n\n //this.handleReset()\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Cam Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.camPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n camPopup(cam) {\n console.log(cam);\n if (cam.camLogicValue == 1) {\n return this.camBasisRatePopup(cam);\n } else if (cam.camLogicValue == 2) {\n return this.camBasisPureRevenueSharePopup(cam);\n } else if (cam.camLogicValue == 3) {\n return this.camBasisPureRevenueShareSalesRangePopup(cam);\n } else if (cam.camLogicValue == 4) {\n return this.camBasisPercentofRent(cam);\n }\n }\n\n camBasisRatePopup(cam) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n } else {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n }\n\n camBasisPureRevenueSharePopup(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n camBasisPureRevenueShareSalesRangePopup(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {cam.slabs.length > 0 &&\n cam.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n camBasisPercentofRent(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(CamDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n electricityBasisUnitsGridRate,\n waterBasisUnitsBoard,\n gasBasisUnitsGasBank,\n hvacBasisFlatUnitRate,\n hvacBasisBtuUnitRate,\n extraHoursChargesBasisFlatRate,\n horticultureChargesFlatRate,\n} from \"../../constants\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { getToDate } from \"../../utils/utils\";\nclass Utilities extends React.Component {\n countError = \"\";\n state = {\n note_val: \"\",\n disableOnEdit: false,\n currentIndex: null,\n showFirstAddBtn: true,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupData: {},\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n from: \"\",\n to: \"\",\n isOpen: false,\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n redirect: false,\n utilities: [],\n utilityRateUomValues: [],\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n onArea: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n subCategoryTypes: \"\",\n },\n },\n \n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n console.log(this.props, \"props\");\n }\n\n addRatesRow = () => {\n if (this.state.initialValues.utilityLogic.rates === undefined) {\n this.state.initialValues.utilityLogic.rates = [];\n }\n this.state.initialValues.utilityLogic.rates.push({\n from: \"\",\n to: \"\",\n rate: \"\",\n });\n if (this.state.initialValues.utilityLogic.rates.length > 0) {\n this.setState({ showFirstAddBtn: false });\n }\n this.setState({});\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.utilityLogic.rates[index + 1].from = getToDate(\n e.target.value,\n 2,\n 0,\n 0\n );\n this.setState({});\n }\n\n removeRatesRow(element) {\n this.state.initialValues.utilityLogic.rates.splice(element, 1);\n if (this.state.initialValues.utilityLogic.rates.length == 0) {\n this.setState({ showFirstAddBtn: true });\n }\n this.setState({});\n }\n\n editUtility(index, values) {\n console.log(this.state.utilities[index]);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n\n if (this.state.utilities[index].utility.rates === undefined) {\n this.state.showFirstAddBtn = true;\n } else {\n this.state.showFirstAddBtn = false;\n }\n\n this.state.period = this.state.utilities[index].period;\n this.state.initialValues.totalSlabs =\n this.state.utilities[index].slabNumber;\n // this.loadUtilityUomValues(this.state.utilities[index].utility.utilityUom);\n if (\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Grid Rate\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ DG\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Solar\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Other Sources\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Blendid\"\n ) {\n this.setState({\n utilityRateUomValues: electricityBasisUnitsGridRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Water Basis Units @ Board\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Water Basis Units @ Other Sources\"\n ) {\n this.setState({\n utilityRateUomValues: waterBasisUnitsBoard,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Gas Basis Units @ Gas Bank\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Gas Basis Units @ Piped Gas Bank\"\n ) {\n this.setState({\n utilityRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"HVAC Basis Flat Unit Rate\" ||\n this.state.utilities[index].utility.utilityType === \"Other\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"HVAC Basis BTU Unit Rate\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisBtuUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"CAM During Fitout Period\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Extra Hours Charges Basis Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: extraHoursChargesBasisFlatRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Horticulture Charges Flat Rate\" ||\n this.state.utilities[index].utility.utilityType ===\n \"MEP Services Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: horticultureChargesFlatRate,\n });\n } else {\n this.setState({\n utilityRateUomValues: [],\n });\n }\n this.setState({});\n values.utilityLogic.utilityType =\n this.state.utilities[index].utility.utilityType;\n values.utilityLogic.utilityUom =\n this.state.utilities[index].utility.utilityUom;\n values.utilityLogic.onArea = this.state.utilities[index].utility.onArea;\n values.utilityLogic.invoicePeriod =\n this.state.utilities[index].utility.invoicePeriod;\n values.utilityLogic.applicableFrom =\n this.state.utilities[index].utility.applicableFrom;\n values.utilityLogic.dueDate = this.state.utilities[index].utility.dueDate;\n values.utilityLogic.dueType = this.state.utilities[index].utility.dueType;\n values.utilityLogic.dueFrequency =\n this.state.utilities[index].utility.dueFrequency;\n values.utilityLogic.applicableFromDate =\n this.state.utilities[index].utility.applicableFromDate;\n values.utilityLogic.rates = this.state.utilities[index].utility.rates;\n if (this.state.utilities[index].utility.utilityType == \"Other\") {\n console.log(\"pp\");\n values.utilityLogic.subCategoryTypes =\n this.state.utilities[index].utility.subCategoryTypes;\n }\n this.state.fromDate = this.state.utilities[index].fromDate;\n this.state.toDate = this.state.utilities[index].toDate;\n this.setState({});\n }\n\n addUtilityDetails = (values) => {\n if (this.state.currentIndex === null) {\n console.log(values);\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var _utilities = this.state.utilities;\n _utilities.push({\n utility: values.utilityLogic,\n utilityRateUomValues: this.state.utilityRateUomValues,\n });\n this.setState({\n utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n } else {\n console.log(\"Notnull\");\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var _utilities = this.state.utilities;\n\n console.log(values.utilityLogic);\n _utilities[this.state.currentIndex].utility = { ...values.utilityLogic };\n console.log(this.state.utilities);\n this.setState({\n utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.state.currentIndex = null;\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n }\n };\n\n resetUtilityDetails = (values) => {\n this.setState({\n // utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.state.currentIndex = null;\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n loadUtilityUomValues(e) {\n if (\n e.target.value === \"Electricity Basis Units @ Grid Rate\" ||\n e.target.value === \"Electricity Basis Units @ DG\" ||\n e.target.value === \"Electricity Basis Units @ Solar\" ||\n e.target.value === \"Electricity Basis Units @ Other Sources\" ||\n e.target.value === \"Electricity Basis Units @ Blendid\"\n ) {\n this.setState({\n utilityRateUomValues: electricityBasisUnitsGridRate,\n });\n } else if (\n e.target.value === \"Water Basis Units @ Board\" ||\n e.target.value === \"Water Basis Units @ Other Sources\"\n ) {\n this.setState({\n utilityRateUomValues: waterBasisUnitsBoard,\n });\n } else if (\n e.target.value === \"Gas Basis Units @ Gas Bank\" ||\n e.target.value === \"Gas Basis Units @ Piped Gas Bank\"\n ) {\n this.setState({\n utilityRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n e.target.value === \"HVAC Basis Flat Unit Rate\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (e.target.value === \"HVAC Basis BTU Unit Rate\") {\n this.setState({\n utilityRateUomValues: hvacBasisBtuUnitRate,\n });\n } else if (e.target.value === \"CAM During Fitout Period\") {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (e.target.value === \"Extra Hours Charges Basis Flat Rate\") {\n this.setState({\n utilityRateUomValues: extraHoursChargesBasisFlatRate,\n });\n } else if (\n e.target.value === \"Horticulture Charges Flat Rate\" ||\n e.target.value === \"MEP Services Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: horticultureChargesFlatRate,\n });\n } else {\n this.setState({\n utilityRateUomValues: [],\n });\n }\n }\n\n componentDidMount() {\n\n let athis= this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-utilities?id=${this.props.match.params.id}`,\n method: 'GET',\n }).then(function(response){\n let data = response.data;\n athis.state.from = data.from;\n athis.state.to = data.to;\n\n athis.setState({\n utilities: data.utilities,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n initialValues: {\n ...athis.state.initialValues, // Preserve other initial values\n notes_7: data.notes_7 || \"\", // Ensure notes_7 is updated properly\n }\n });\n\n //athis.setState({ 'note_val' : data.notes_7 });\n var initialValues = athis.state.initialValues;\n initialValues[\"notes_7\"] = data.notes_7;\n\n athis.setState({ initialValues: initialValues });\n\n console.log(initialValues, \"initialValues initialValues\");\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-utilities?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.from = data.from;\n // this.state.to = data.to;\n\n // this.setState({\n // utilities: data.utilities,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // });\n\n // //this.setState({ 'note_val' : data.notes_7 });\n // var initialValues = this.state.initialValues;\n // initialValues[\"notes_7\"] = data.notes_7;\n\n // this.setState({ initialValues: initialValues });\n\n // console.log(initialValues, \"initialValues initialValues\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _mf = this.state.utilities;\n _mf.splice(this.state.index_val, 1);\n console.log(_mf, \"new array\");\n this.setState({\n utilities: _mf,\n });\n this.setState({\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Other Charges
  • \n
  • \n
  • \n Utilities\n
  • \n
\n
\n
\n\n {\n if (this.state.utilities.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.utilities = this.state.utilities;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-utilities?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n\n \n
\n
\n\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.renewalLeaseTermYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.loadUtilityUomValues(e);\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n console.log(values);\n }}\n >\n \n {this.state.utilityRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"Utility UOM\",\n values.utilityLogic.utilityUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.utilityLogic.utilityUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Utility Invoice Period\",\n values.utilityLogic.invoicePeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFrom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.utilityLogic.dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.utilityLogic.utilityType === \"Other\" && (\n
\n \n
\n \n \n
\n
\n )}\n\n {this.state.showFirstAddBtn == true && (\n
\n {/*
*/}\n
\n {\n this.addRatesRow();\n }}\n >\n Add Rates\n \n {/*
*/}\n
\n
\n )}\n\n {this.state.initialValues.utilityLogic.rates != undefined && (\n <>\n
\n
\n
\n {this.state.initialValues.utilityLogic.rates.map((name, index) => (\n <>\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].from}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].to}\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues.utilityLogic.rates.length - 1\n ) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].rate = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].rate}\n />\n {\n this.removeRatesRow(index);\n }}\n >\n \n \n {\n this.addRatesRow();\n }}\n >\n \n \n
\n
\n
\n \n ))}\n \n )}\n\n\n
\n Notes/Remarks\n \n
\n\n
\n\n
\n {\n console.log(values, \"nn\");\n this.addUtilityDetails(values);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetUtilityDetails(values);\n }}\n >\n Reset\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Utility details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.utilities.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoUtility TypeUtility UOMOn AreaUtility Invoice PeriodApplicable FromDue DateAction
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.utility.utilityType}\n \n {name.utility.utilityUom}\n {name.utility.onArea == \"\"\n ? \"-\"\n : name.utility.onArea}\n {name.utility.invoicePeriod}\n {name.utility.applicableFrom}(\n {leaseDateFormat(\n name.utility.applicableFromDate\n )}\n )\n \n {name.utility.dueDate}\n {\"-\"}\n {name.utility.dueType}\n {\"-\"}\n {name.utility.dueFrequency}\n \n
\n {\n this.editUtility(index, values);\n }}\n >\n \n \n {this.state.utilities.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n // \"Are you sure you want to delete this period?\"\n // )\n // ) {\n // var _mf = this.state.utilities;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // utilities: _mf,\n // });\n // }\n\n this.setState({\n delete: true,\n index_val: index,\n });\n\n this.resetUtilityDetails({})\n }}\n >\n \n \n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.renewalLeaseTermYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.loadUtilityUomValues(e);\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n {this.state.utilityRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"Utility UOM\",\n values.utilityLogic.utilityUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.utilityLogic.utilityUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.utilityLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Utility Invoice Period\",\n values.utilityLogic.invoicePeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFrom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.utilityLogic.dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.utilityLogic.utilityType == \"Other\" && (\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n {this.state.showFirstAddBtn == true && (\n
\n
\n {\n this.addRatesRow();\n }}\n >\n Add Rates\n \n
\n
\n )}\n {this.state.initialValues.utilityLogic.rates !=\n undefined && (\n
\n
\n {this.state.initialValues.utilityLogic.rates.map(\n (name, index) => (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].from\n }\n />\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .utilityLogic.rates.length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].rate = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].rate\n }\n />\n {\n this.removeRatesRow(index);\n }}\n >\n \n \n {\n this.addRatesRow();\n }}\n >\n \n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].from\n }\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .utilityLogic.rates.length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].rate = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].rate\n }\n />\n
\n
\n
\n
\n
\n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow(index);\n }}\n >\n \n \n
\n
\n )\n )}\n
\n )}\n
\n
\n
\n Notes/Remarks\n \n
\n
\n {\n console.log(values, \"nn\");\n this.addUtilityDetails(values);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetUtilityDetails(values);\n }}\n >\n Reset\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Utility details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.utilities.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoUtility TypeUtility UOMOn AreaUtility Invoice PeriodApplicable FromDue DateAction
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.utility.utilityType}\n \n {name.utility.utilityUom}\n {name.utility.onArea == \"\"\n ? \"-\"\n : name.utility.onArea}\n {name.utility.invoicePeriod}\n {name.utility.applicableFrom}(\n {leaseDateFormat(\n name.utility.applicableFromDate\n )}\n )\n \n {name.utility.dueDate}\n {\"-\"}\n {name.utility.dueType}\n {\"-\"}\n {name.utility.dueFrequency}\n \n
\n {\n this.editUtility(index, values);\n }}\n >\n \n \n {this.state.utilities.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n // \"Are you sure you want to delete this period?\"\n // )\n // ) {\n // var _mf = this.state.utilities;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // utilities: _mf,\n // });\n // }\n\n this.setState({\n delete: true,\n index_val: index,\n });\n\n this.resetUtilityDetails({})\n }}\n >\n \n \n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Utility Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.utilityPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n );\n }\n utilityPopup(utility) {\n return this.utilityDetailsPopup(utility);\n }\n utilityDetailsPopup(utility) {\n console.log(utility.utility.rates);\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {utility.utility.utilityType == \"Other\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {utility.utility.rates != undefined &&\n utility.utility.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n\n
\n );\n }, this)}\n
\n );\n }\n}\n\nexport default withRouter(Utilities);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass MarketingFund extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n voucherTotalAmt: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n to: \"\",\n showMfCapped: false,\n showAddBtn: false,\n isOpen: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showForm: false,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n marketingFundDetails: [],\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n initialValues: {\n mfLogic: {\n mfLogicText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n mfUom: \"\",\n mfDueDate: \"\",\n mfRate: \"\",\n mfRateTerm: \"\",\n onArea: \"\",\n mfFrequency: \"\",\n mfCapped: \"\",\n mfCappedOnArea: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n voucherType: \"\",\n voucherTotalAmount: \"\",\n voucherAmount: \"\",\n voucherCount: \"\",\n voucherRate: \"\",\n mfLogicText: \"\",\n slabs: [],\n },\n totalSlabs: \"\",\n },\n toggleMfForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n changeMfCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"yes\") {\n this.setState({\n showMfCapped: true,\n });\n } else {\n this.setState({\n showMfCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editMf(index, values) {\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n console.log(this.state.marketingFundDetails[index].voucherTotalAmount);\n this.state.period = this.state.marketingFundDetails[index].period;\n values.mfLogic.mfLogicText =\n this.state.marketingFundDetails[index].mfLogicText;\n this.state.initialValues.mfLogic.mfLogicText =\n this.state.marketingFundDetails[index].mfLogicText;\n this.state.initialValues.totalSlabs =\n this.state.marketingFundDetails[index].slabNumber;\n this.state.voucherTotalAmt =\n this.state.marketingFundDetails[index].voucherTotalAmount;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.marketingFundDetails[index].periodTermDD,\n periodTermMM: this.state.marketingFundDetails[index].periodTermMM,\n periodTermYY: this.state.marketingFundDetails[index].periodTermYY,\n });\n if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Rate\"\n ) {\n this.setState({\n marketingFundBasisRate: true,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Pure Revenue Share\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: true,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: true,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis % of Rent\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: true,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Vouchers\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: true,\n });\n } else {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n }\n values.mfLogic = { ...this.state.marketingFundDetails[index] };\n this.state.fromDate = this.state.marketingFundDetails[index].fromDate;\n this.state.toDate = this.state.marketingFundDetails[index].toDate;\n\n if (this.state.marketingFundDetails[index].mfCapped == \"Yes\") {\n this.setState({ showMfCapped: true });\n } else {\n this.setState({ showMfCapped: false });\n }\n this.setState({});\n }\n\n addMfDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n var _marketingFundDetails = this.state.marketingFundDetails;\n values.mfLogic.period = this.state.period;\n values.mfLogic.fromDate = this.state.fromDate;\n values.mfLogic.toDate = this.state.toDate;\n values.mfLogic.periodTermYY = this.state.periodTermYY;\n values.mfLogic.periodTermMM = this.state.periodTermMM;\n values.mfLogic.periodTermDD = this.state.periodTermDD;\n\n _marketingFundDetails.push(values.mfLogic);\n\n this.setState({\n marketingFundDetails: _marketingFundDetails,\n // marketingFundBasisRate: false,\n // marketingFundBasisPureRevenueShare: false,\n // marketingFundBasisPureRevenueShareSalesRange: false,\n // marketingFundBasisPercentofRent: false,\n // marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"mfLogic.mfRate\", \"\");\n setFieldValue(\"mfLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n // values.mfLogic.mfLogicText = this.state.initialValues.mfLogic.mfLogicText;\n var _marketingFundDetails = this.state.marketingFundDetails;\n values.mfLogic.period = this.state.period;\n values.mfLogic.fromDate = this.state.fromDate;\n values.mfLogic.toDate = this.state.toDate;\n values.mfLogic.periodTermYY = this.state.periodTermYY;\n values.mfLogic.periodTermMM = this.state.periodTermMM;\n values.mfLogic.periodTermDD = this.state.periodTermDD;\n\n _marketingFundDetails[this.state.currentIndex] = { ...values.mfLogic };\n\n this.setState({\n marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetMfDetails = (values, resetForm) => {\n this.setState({\n // marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n };\n\n\n handleReset = () => {\n this.setState({\n // marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.mfLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.mfLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.mfLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (this.state.initialValues.mfLogic.slabs.length > e.target.value) {\n var toRemove =\n this.state.initialValues.mfLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.mfLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.mfLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n hadleMfLogicChange = (event) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.mfLogic.mfLogicText = text;\n // this.state.initialValues.mfLogic.mfLogicValue = event.target.value;\n if (event.target.value === \"Marketing Fund Basis Rate\") {\n this.setState({\n marketingFundBasisRate: true,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n event.target.value === \"Marketing Fund Basis Pure Revenue Share\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: true,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n event.target.value ===\n \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: true,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (event.target.value === \"Marketing Fund Basis % of Rent\") {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: true,\n marketingFundBasisVouchers: false,\n });\n } else if (event.target.value === \"Marketing Fund Basis Vouchers\") {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: true,\n });\n } else {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis=this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-marketing-fund-details?id=${this.props.match.params.id}`,\n method: 'GET'\n }).then(function (response){\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.marketingFundApplicable;\n athis.setState({});\n if (data.marketingFundDetails.length > 0) {\n // let _tempDate = new Date(\n // data.marketingFundDetails[\n // data.marketingFundDetails.length - 1\n // ].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.marketingFundDetails[data.marketingFundDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.marketingFundApplicable === \"yes\") {\n athis.setState({\n toggleMfForm: true,\n });\n } else {\n athis.setState({\n toggleMfForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n marketingFundDetails: data.marketingFundDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.marketingFundDetails.length > 0\n ? data.marketingFundDetails.length + 1\n : 1,\n });\n\n if (\n data.marketingFundDetails.length > 0 &&\n data.marketingFundDetails[data.marketingFundDetails.length - 1]\n .toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n } else {\n athis.setState({\n showForm: true,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-marketing-fund-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.marketingFundApplicable;\n // this.setState({});\n // if (data.marketingFundDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.marketingFundDetails[\n // // data.marketingFundDetails.length - 1\n // // ].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.marketingFundDetails[data.marketingFundDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.marketingFundApplicable === \"yes\") {\n // this.setState({\n // toggleMfForm: true,\n // });\n // } else {\n // this.setState({\n // toggleMfForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // marketingFundDetails: data.marketingFundDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.marketingFundDetails.length > 0\n // ? data.marketingFundDetails.length + 1\n // : 1,\n // });\n\n // if (\n // data.marketingFundDetails.length > 0 &&\n // data.marketingFundDetails[data.marketingFundDetails.length - 1]\n // .toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // } else {\n // this.setState({\n // showForm: true,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n showMfForm = (e) => {\n if (e.target.value === \"yes\") {\n this.setState(\n {\n toggleMfForm: true,\n },\n () => {\n console.log(this.state.toggleMfForm);\n }\n );\n } else {\n this.setState({\n toggleMfForm: false,\n });\n }\n };\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _mf = this.state.marketingFundDetails;\n _mf.splice(this.state.index_val, 1);\n console.log(_mf, \"new array\");\n this.setState({\n marketingFundDetails: _mf,\n showForm: true,\n });\n this.state.period--;\n if (this.state.marketingFundDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"mfLogic.mfRate\",\n (\n Number(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].mfRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== 0\n ) {\n setFieldValue(\n \"mfLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate\n )) /\n Number(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].mfRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n calculateVoucherTotal(values, e, setFieldValue) {\n let amount;\n if (\n isNaN(values.mfLogic.voucherCount) !== \"\" &&\n isNaN(values.mfLogic.voucherAmount) !== \"\"\n ) {\n amount =\n Number(values.mfLogic.voucherCount) *\n Number(values.mfLogic.voucherAmount);\n this.setState({ voucherTotalAmt: amount });\n setFieldValue(\"mfLogic.voucherTotalAmount\", amount);\n } else {\n amount = \"\";\n this.setState({ voucherTotalAmt: amount });\n setFieldValue(\"mfLogic.voucherTotalAmount\", amount);\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.marketingFundApplicable = this.state.applicableValue;\n values.mfLogic.voucherTotalAmount = this.state.voucherTotalAmt;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n if (\n this.state.marketingFundDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n // if (\n // this.state.applicableValue == \"yes\" &&\n // this.state.to !==\n // this.state.marketingFundDetails[\n // this.state.marketingFundDetails.length - 1\n // ].toDate\n // ) {\n // // alert(\"Please Complete the period \");\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Please Complete the period\",\n // });\n // return false;\n // }\n values.marketingFundDetails = this.state.marketingFundDetails;\n\n console.log(values, \"sending\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-marketing-fund-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showMfForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleMfForm && (\n <>\n {this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleMfLogicChange(e);\n }}\n >\n \n \n \n \n \n \n \n
\n
\n
\n \n )}\n\n {this.state.marketingFundBasisRate && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== \"undefined\" &&\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.mfLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"MF Rate\",\n values.mfLogic.mfRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n {this.state.marketingFundBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.mfLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMfCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state\n .marketingFundBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.mfLogic.slabs.length > 0 &&\n this.state.initialValues.mfLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToMF Revenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.mfLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n />\n \n {\n this.state.initialValues.mfLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n if (index < this.state.initialValues.mfLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n \n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.mfLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({ slabs: _slabs });\n }}\n >\n \n \n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMfCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.marketingFundBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.mfLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.mfLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n {this.state.marketingFundBasisVouchers && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n this.calculateVoucherTotal(values, e, setFieldValue)}\n />\n {this.validator.message(\n \"Voucher Amount\",\n values.mfLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n this.calculateVoucherTotal(values, e, setFieldValue)}\n />\n {this.validator.message(\n \"Count\",\n values.mfLogic.voucherCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n this.state.voucherTotalAmt,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n \n )}\n
\n Notes/Remarks\n \n
\n\n
\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addMfDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetMfDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n {this.mainFormValidator.message(\n \"Marketing Fund Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.marketingFundDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToMarketing Fund LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.mfLogicText}\n {name.voucherAmount || name.mfRate || \"-\"}\n \n {\n this.editMf(index, values);\n }}\n >\n \n \n {this.state.marketingFundDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _mf =\n // this.state.marketingFundDetails;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // marketingFundDetails: _mf,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.marketingFundDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state\n // .marketingFundDetails[\n // this.state\n // .marketingFundDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.handleReset()\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showMfForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n {this.state.toggleMfForm && (\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n\n\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleMfLogicChange(e);\n }}\n >\n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n )}\n\n\n\n {this.state.marketingFundBasisRate && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Mf UOM\",\n values.mfLogic.mfUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.mfLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.marketingFundDetails[\n this.state.escalationIndex\n ].mfRate !== \"undefined\" &&\n this.state.marketingFundDetails[\n this.state.escalationIndex\n ].mfRate !== 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.mfLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"MF Rate\",\n values.mfLogic.mfRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n\n\n\n {this.state.marketingFundBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.mfLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMfCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"MF Capped Uom\",\n values.mfLogic.mfCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"MF Capped on Area\",\n values.mfLogic.mfCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Capped Rate Term\",\n values.mfLogic.mfCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n {this.state\n .marketingFundBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.mfLogic\n .slabs.length > 0 &&\n this.state.initialValues.mfLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n MF Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.mfLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .mfLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.mfLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .mfLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .mfLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .mfLogic.slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMfCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"MF Capped Uom\",\n values.mfLogic.mfCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"MF Capped on Area\",\n values.mfLogic.mfCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Capped Rate Term\",\n values.mfLogic.mfCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n\n\n\n {this.state.marketingFundBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Mf UOM\",\n values.mfLogic.mfUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.mfLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.mfLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.mfLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n {this.state.marketingFundBasisVouchers && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateVoucherTotal(\n values,\n e,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Voucher Amount\",\n values.mfLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateVoucherTotal(\n values,\n e,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Count\",\n values.mfLogic.voucherCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n this.state.voucherTotalAmt,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addMfDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetMfDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Marketing Fund Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.marketingFundDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToMarketing Fund LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.mfLogicText}\n {name.voucherAmount || name.mfRate || \"-\"}\n \n {\n this.editMf(index, values);\n }}\n >\n \n \n {this.state.marketingFundDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _mf =\n // this.state.marketingFundDetails;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // marketingFundDetails: _mf,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.marketingFundDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state\n // .marketingFundDetails[\n // this.state\n // .marketingFundDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.handleReset()\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Marketing Fund
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.mfPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n\n mfPopup(mf) {\n console.log(mf);\n if (mf.mfLogicText === \"Marketing Fund Basis Rate\") {\n return this.mfBasisRatePopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis Pure Revenue Share\") {\n return this.mfBasisRatePureRevenueSharePopup(mf);\n } else if (\n mf.mfLogicText === \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n return this.mfBasisRatePureRevenueShareSalesRangePopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis % of Rate\") {\n return this.mfBasisPercentOfRentPopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis Vouchers\") {\n return this.mfBasisVouchersPopup(mf);\n }\n }\n\n mfBasisRatePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisRatePureRevenueSharePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisRatePureRevenueShareSalesRangePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {mf.slabs.length > 0 &&\n mf.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisPercentOfRentPopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisVouchersPopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(MarketingFund);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { pTaxActual, pTaxRate } from \"../../constants\";\nclass PropertyMuncipalTax extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n showRatesOnarea: [],\n showFirstAddBtn: true,\n disableOnActual: false,\n applicableValue: \"\",\n propertyTaxBasisValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n to: \"\",\n from: \"\",\n showPtaxCapped: false,\n showAddBtn: false,\n isOpen: false,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n propertyTaxDetails: [],\n pTaxLogicValues: [],\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n initialValues: {\n pTaxLogic: {\n propertyTaxBasis: \"\",\n pTaxLogicValue: \"\",\n pTaxLogicText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n pTaxUom: \"\",\n pTaxDueDate: \"\",\n pTaxRate: \"\",\n pTaxRateTerm: \"\",\n onArea: \"\",\n pTaxFrequency: \"\",\n pTaxCapped: \"\",\n pTaxCappedOnArea: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n voucherType: \"\",\n voucherAmount: \"\",\n slabs: [],\n rates: [],\n },\n totalSlabs: \"\",\n },\n showForm: true,\n togglepTaxForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n addRatesRow = () => {\n if (this.state.initialValues.pTaxLogic.rates === undefined) {\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.rates.push({\n from: \"\",\n to: \"\",\n pTaxUom: \"\",\n onArea: \"\",\n rate: \"\",\n });\n } else {\n this.state.initialValues.pTaxLogic.rates.push({\n from: \"\",\n to: \"\",\n pTaxUom: \"\",\n onArea: \"\",\n rate: \"\",\n });\n }\n if (this.state.initialValues.pTaxLogic.rates.length > 0) {\n this.setState({ showFirstAddBtn: false });\n }\n this.setState({});\n };\n\n getRatesFromForNextSlab(e, values, index) {\n this.state.initialValues.pTaxLogic.rates[index + 1].from = getToDate(\n e.target.value,\n 2,\n 0,\n 0\n );\n this.setState({});\n }\n\n showRatesOnarea(e, i) {\n let index = i;\n if (e.target.value == \"Per Sq Ft\") {\n var _showRatesOnArea = this.state.showRatesOnarea;\n _showRatesOnArea[i] = true;\n this.setState({ showRatesOnarea: _showRatesOnArea });\n } else {\n var _showRatesOnArea = this.state.showRatesOnarea;\n _showRatesOnArea[i] = false;\n this.setState({ showRatesOnarea: _showRatesOnArea });\n }\n }\n\n removeRatesRow(element) {\n this.state.initialValues.pTaxLogic.rates.splice(element, 1);\n if (this.state.initialValues.pTaxLogic.rates.length == 0) {\n this.setState({ showFirstAddBtn: true });\n }\n this.setState({});\n }\n\n getpTaxLogicValues(e) {\n if (e.target.value == \"Property Tax Basis Rate\") {\n this.setState({ pTaxLogicValues: pTaxRate, disableOnActual: false });\n } else if (e.target.value == \"Property Tax Basis Actuals\") {\n this.setState({ pTaxLogicValues: pTaxActual, disableOnActual: true });\n } else {\n this.setState({ pTaxLogicValues: [] });\n }\n }\n\n changePTaxCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"yes\") {\n this.setState({\n showPtaxCapped: true,\n });\n } else {\n this.setState({\n showPtaxCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editProperty(index, values) {\n this.state.currentIndex = index;\n if (\n this.state.propertyTaxDetails[index].rates !== undefined &&\n this.state.propertyTaxDetails[index].rates.length > 0\n ) {\n this.setState({ showFirstAddBtn: false });\n } else {\n this.setState({ showFirstAddBtn: true });\n }\n if (this.state.propertyTaxDetails[index].ptaxCapped == \"yes\") {\n this.setState({ showPtaxCapped: true });\n } else {\n this.setState({ showPtaxCapped: false });\n }\n // this.state.showFirstAddBtn = true;\n this.state.readOnEdit = true;\n this.state.disableOnEdit = false;\n this.state.period = this.state.propertyTaxDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.propertyTaxDetails[index].slabNumber;\n this.state.propertyTaxBasisValue =\n this.state.propertyTaxDetails[index].propertyTaxBasis;\n if (this.state.propertyTaxBasisValue == \"Property Tax Basis Rate\") {\n this.setState({ pTaxLogicValues: pTaxRate, disableOnActual: false });\n } else if (\n this.state.propertyTaxBasisValue == \"Property Tax Basis Actuals\"\n ) {\n this.setState({ pTaxLogicValues: pTaxActual, disableOnActual: true });\n } else {\n this.setState({ pTaxLogicValues: [] });\n }\n // this.state.initialValues.pTaxLogic.pTaxLogicValue =\n // this.state.propertyTaxDetails[index].pTaxLogicValue;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.propertyTaxDetails[index].periodTermDD,\n periodTermMM: this.state.propertyTaxDetails[index].periodTermMM,\n periodTermYY: this.state.propertyTaxDetails[index].periodTermYY,\n });\n if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"1\") {\n this.setState({\n propertyTaxBasisRate: true,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"2\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: true,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"3\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: true,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"4\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: true,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"5\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: true,\n });\n } else {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n }\n values.pTaxLogic = { ...this.state.propertyTaxDetails[index] };\n this.state.fromDate = this.state.propertyTaxDetails[index].fromDate;\n this.state.toDate = this.state.propertyTaxDetails[index].toDate;\n if (this.state.propertyTaxDetails[index].camActualization == \"Yes\") {\n this.setState({ showCamActalization: true });\n } else {\n this.setState({ showCamActalization: false });\n }\n if (this.state.propertyTaxDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.setState({});\n }\n\n addpTaxDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.propertyTaxPayable = this.state.applicableValue;\n values.pTaxLogic.propertyTaxBasis = this.state.propertyTaxBasisValue;\n values.pTaxLogic.pTaxLogicText =\n this.state.initialValues.pTaxLogic.pTaxLogicText;\n var _propertyTaxDetails = this.state.propertyTaxDetails;\n values.pTaxLogic.period = this.state.period;\n values.pTaxLogic.fromDate = this.state.fromDate;\n values.pTaxLogic.toDate = this.state.toDate;\n values.pTaxLogic.periodTermYY = this.state.periodTermYY;\n values.pTaxLogic.periodTermMM = this.state.periodTermMM;\n values.pTaxLogic.periodTermDD = this.state.periodTermDD;\n _propertyTaxDetails.push(values.pTaxLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n propertyTaxDetails: _propertyTaxDetails,\n // propertyTaxBasisRate: false,\n // propertyTaxBasisPureRevenueShare: false,\n // propertyTaxBasisPureRevenueShareSalesRange: false,\n // propertyTaxBasisPercentofRent: false,\n // propertyTaxBasisVouchers: false,\n });\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n // this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"pTaxLogic.pTaxRate\", \"\");\n setFieldValue(\"pTaxLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.propertyTaxPayable = this.state.applicableValue;\n values.pTaxLogic.propertyTaxBasis = this.state.propertyTaxBasisValue;\n values.pTaxLogic.pTaxLogicText =\n this.state.initialValues.pTaxLogic.pTaxLogicText;\n var _propertyTaxDetails = this.state.propertyTaxDetails;\n values.pTaxLogic.period = this.state.period;\n values.pTaxLogic.fromDate = this.state.fromDate;\n values.pTaxLogic.toDate = this.state.toDate;\n values.pTaxLogic.periodTermYY = this.state.periodTermYY;\n values.pTaxLogic.periodTermMM = this.state.periodTermMM;\n values.pTaxLogic.periodTermDD = this.state.periodTermDD;\n _propertyTaxDetails[this.state.currentIndex] = { ...values.pTaxLogic };\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetpTaxDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n // propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n // propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.pTaxLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.pTaxLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.pTaxLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (\n this.state.initialValues.pTaxLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.pTaxLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.pTaxLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.pTaxLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n showpTaxForm = (e) => {\n if (e.target.value === \"yes\") {\n this.setState({\n togglepTaxForm: true,\n });\n } else {\n this.setState({\n togglepTaxForm: false,\n });\n }\n };\n\n hadlepTaxLogicChange = (event) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.pTaxLogic.pTaxLogicText = text;\n this.state.initialValues.pTaxLogic.pTaxLogicValue = event.target.value;\n if (event.target.value === \"1\") {\n this.setState({\n propertyTaxBasisRate: true,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"2\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: true,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"3\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: true,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"4\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: true,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"5\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: true,\n });\n } else {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis=this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-property-tax-details?id=${this.props.match.params.id}`,\n method: 'GET'\n }).then(function (response){\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.propertyTaxPayable;\n if (data.propertyTaxDetails.length > 0) {\n athis.setState({\n fromDate: getToDate(\n data.propertyTaxDetails[data.propertyTaxDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n athis.setState({\n initialValues: data,\n propertyTaxDetails: data.propertyTaxDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.propertyTaxDetails.length > 0\n ? data.propertyTaxDetails.length + 1\n : 1,\n });\n if (data.propertyTaxPayable == \"yes\") {\n athis.setState({\n togglepTaxForm: true,\n });\n } else {\n athis.setState({\n togglepTaxForm: false,\n });\n }\n if (\n data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-property-tax-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.propertyTaxPayable;\n // if (data.propertyTaxDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.propertyTaxDetails[data.propertyTaxDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // propertyTaxDetails: data.propertyTaxDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.propertyTaxDetails.length > 0\n // ? data.propertyTaxDetails.length + 1\n // : 1,\n // });\n // if (data.propertyTaxPayable == \"yes\") {\n // this.setState({\n // togglepTaxForm: true,\n // });\n // } else {\n // this.setState({\n // togglepTaxForm: false,\n // });\n // }\n // if (\n // data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _pTax = this.state.propertyTaxDetails;\n _pTax.splice(this.state.index_val, 1);\n console.log(_pTax, \"new array\");\n this.setState({\n propertyTaxDetails: _pTax,\n showForm: true,\n });\n this.state.period--;\n if (this.state.propertyTaxDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"pTaxLogic.pTaxRate\",\n (\n Number(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].pTaxRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.propertyTaxDetails[this.state.escalationIndex].pTaxRate !== 0\n ) {\n setFieldValue(\n \"pTaxLogic.escalationPercent\",\n ((Number(e.target.value) -\n Number(\n this.state.propertyTaxDetails[this.state.escalationIndex].pTaxRate\n )) /\n Number(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].pTaxRate\n )) *\n 100\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n {\n this.state.applicableValue = this.state.applicableValue;\n values.propertyTaxPayable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n console.log(this.validator);\n this.applicableValidator.showMessages();\n return false;\n }\n console.log(values);\n if (\n this.state.propertyTaxDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n // if (\n // this.state.applicableValue == \"yes\" &&\n // this.state.to !==\n // this.state.propertyTaxDetails[\n // this.state.propertyTaxDetails.length - 1\n // ].toDate\n // ) {\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Please Complete the period\",\n // });\n // // alert(\"Please Complete the period \");\n // return false;\n // }\n values.propertyTaxDetails = this.state.propertyTaxDetails;\n console.log(values.propertyTaxDetails, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-property-tax-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n handleChange(e);\n this.showpTaxForm(e);\n }}\n >\n
\n
\n\n {this.state.togglepTaxForm && (\n
\n \n
\n {\n this.getpTaxLogicValues(e);\n this.state.propertyTaxBasisValue = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.togglepTaxForm && (\n <>\n {this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n \n )}\n\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.hadlepTaxLogicChange(e);\n }}\n >\n \n ))}\n \n
\n
\n
\n )}\n\n {this.state.propertyTaxBasisRate && (\n <>\n {this.state.disableOnActual == false && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== \"undefined\" &&\n this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== 0 &&\n this.state.disableOnActual === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pTaxLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.disableOnActual == false && (\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"p Tax Rate\",\n values.pTaxLogic.pTaxRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {this.state.disableOnActual && (\n <>\n {this.state.showFirstAddBtn == true && (\n
\n {\n this.addRatesRow();\n }}\n >\n {\" \"}\n Add Rates\n \n
\n )}\n
\n {this.state.initialValues.pTaxLogic\n .rates !== undefined &&\n this.state.initialValues.pTaxLogic.rates.map(\n (name, index) => (\n <>\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].from}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].to = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n console.log(\"hh\");\n if (index < this.state.initialValues.pTaxLogic.rates.length - 1) {\n this.getRatesFromForNextSlab(e, values, index);\n }\n }}\n />\n
\n
\n\n
\n \n
\n {\n this.showRatesOnarea(e, index);\n this.state.initialValues.pTaxLogic.rates[index].pTaxUom = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].pTaxUom}\n >\n
\n
\n\n {this.state.showRatesOnarea[index] !== undefined && this.state.showRatesOnarea[index] && (\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].onArea = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].onArea}\n >\n
\n
\n )}\n\n
\n \n
\n \n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow();\n }}\n >\n \n \n
\n
\n
\n \n )\n )}\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.pTaxLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state\n .propertyTaxBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues\n .pTaxLogic.slabs.length > 0 &&\n this.state.initialValues.pTaxLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABFROMTo\n P Tax Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .pTaxLogic\n .slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.pTaxLogic.pTaxRentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.pTaxLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueDate\"\n />\n\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisVouchers && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n values.pTaxLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n \n )}\n\n
\n Notes/Remarks\n \n
\n
\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addpTaxDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetpTaxDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n {this.mainFormValidator.message(\n \"Property and Municipal Tax Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.propertyTaxDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod TermFromToProperty Tax LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\" \"}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.pTaxLogicText}\n {name.pTaxRentRate || name.pTaxRate || \"-\"}\n \n {\n this.editProperty(index, values);\n }}\n >\n \n \n {this.state.propertyTaxDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _pTax =\n // this.state.propertyTaxDetails;\n // _pTax.splice(index, 1);\n // console.log(_pTax, \"new array\");\n // this.setState({\n // propertyTaxDetails: _pTax,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.propertyTaxDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.propertyTaxDetails[\n // this.state\n // .propertyTaxDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n handleChange(e);\n this.showpTaxForm(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.togglepTaxForm && (\n
\n
\n
\n \n
\n {\n this.getpTaxLogicValues(e);\n this.state.propertyTaxBasisValue =\n e.target.value;\n handleChange(e);\n }}\n >\n \n \n \n \n\n {this.validator.message(\n \"Property Tax Bases\",\n this.state.propertyTaxBasisValue,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n\n\n\n {this.state.togglepTaxForm && (\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadlepTaxLogicChange(e);\n }}\n >\n \n {this.state.pTaxLogicValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n
\n
\n
\n
\n
\n )}\n {this.state.propertyTaxBasisRate && (\n
\n
\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P TAX UOM\",\n values.pTaxLogic.pTaxUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.pTaxLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== \"undefined\" &&\n this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== 0 &&\n this.state.disableOnActual === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pTaxLogic\n .escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n // disabled={this.state.disableOnActual}\n />\n {this.validator.message(\n \"p Tax Rate\",\n values.pTaxLogic.pTaxRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n\n\n\n\n\n {this.state.disableOnActual && (\n
\n
\n
\n {this.state.showFirstAddBtn == true && (\n
\n {\n this.addRatesRow();\n }}\n >\n {\" \"}\n Add Rates\n \n
\n )}\n
\n {this.state.initialValues.pTaxLogic\n .rates !== undefined &&\n this.state.initialValues.pTaxLogic.rates.map(\n (name, index) => (\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.rates[\n index\n ].from\n }\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n console.log(\"hh\");\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.rates\n .length -\n 1\n ) {\n this.getRatesFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.showRatesOnarea(\n e,\n index\n );\n this.state.initialValues.pTaxLogic.rates[\n index\n ].pTaxUom =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.rates[\n index\n ].pTaxUom\n }\n >\n \n \n \n \n
\n
\n
\n
\n {this.state.showRatesOnarea[\n index\n ] !== undefined &&\n this.state.showRatesOnarea[\n index\n ] && (\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].onArea =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic\n .rates[index]\n .onArea\n }\n >\n \n \n \n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow();\n }}\n >\n \n \n
\n
\n )\n )}\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.propertyTaxBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.pTaxLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .propertyTaxBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n

P Tax Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues\n .pTaxLogic.slabs.length > 0 &&\n this.state.initialValues.pTaxLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n P Tax Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .pTaxLogic\n .slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.propertyTaxBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent Uom\",\n values.pTaxLogic.pTaxUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.pTaxLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.pTaxLogic.pTaxRentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"percentage of Rent\",\n values.pTaxLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Frequency\",\n values.pTaxLogic.pTaxFrequency,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n {this.state.propertyTaxBasisVouchers && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"voucher Amount\",\n values.pTaxLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n )}\n\n\n\n\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addpTaxDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetpTaxDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Property and Municipal Tax Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.propertyTaxDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod TermFromToProperty Tax LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\" \"}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.pTaxLogicText}\n {name.pTaxRentRate || name.pTaxRate || \"-\"}\n \n {\n this.editProperty(index, values);\n }}\n >\n \n \n {this.state.propertyTaxDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _pTax =\n // this.state.propertyTaxDetails;\n // _pTax.splice(index, 1);\n // console.log(_pTax, \"new array\");\n // this.setState({\n // propertyTaxDetails: _pTax,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.propertyTaxDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.propertyTaxDetails[\n // this.state\n // .propertyTaxDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Property & Muncipal Tax Fund
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.pTaxPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n pTaxPopup(pTax) {\n console.log(pTax);\n if (\n pTax.pTaxLogicValue == 1 &&\n pTax.pTaxLogicText == \"Property Tax Basis Rate\"\n ) {\n return this.pTaxBasisRatePopup(pTax);\n } else if (\n pTax.pTaxLogicValue == 1 &&\n pTax.pTaxLogicText == \"Property Tax Basis Actual\"\n ) {\n return this.pTaxBasisActualPopup(pTax);\n } else if (pTax.pTaxLogicValue == 2) {\n return this.pTaxBasisRatePureRevenueSharePopup(pTax);\n } else if (pTax.pTaxLogicValue == 3) {\n return this.pTaxBasisRatePureRevenueShareSalesRangePopup(pTax);\n } else if (pTax.pTaxLogicValue == 4) {\n return this.pTaxBasisPercentOfRentPopup(pTax);\n } else if (pTax.pTaxLogicValue == 5) {\n return this.pTaxBasisVouchersPopup(pTax);\n }\n }\n\n pTaxBasisRatePopup(pTax) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisActualPopup(pTax) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n {pTax.rates != undefined && (\n
\n {pTax.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)}\n
\n )}\n
\n );\n }\n\n pTaxBasisRatePureRevenueSharePopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisRatePureRevenueShareSalesRangePopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {pTax.slabs.length > 0 &&\n pTax.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisPercentOfRentPopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisVouchersPopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(PropertyMuncipalTax);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass ParkingStorageSignage extends React.Component {\n countError = \"\";\n state = {\n escalationChargeType: \"\",\n escalationIndex: 0,\n showCharges: false,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n applicableValueStatic: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n to: \"\",\n isOpen: false,\n showAddBtn: false,\n fromDate: \"\",\n toDate: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n period: 1,\n redirect: false,\n occupiers: { count: 2, occupiers: [{ countUnits: 1 }] },\n showParking: false,\n showStorage: false,\n showSignage: false,\n parkingStorageSignage: [],\n parkingCharges: {\n parking2W: \"\",\n parking4W: \"\",\n parkingOther: \"\",\n },\n initialValues: {\n pkgLogic: {\n chargeType: \"\",\n chargeTypeText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n count: \"\",\n type: \"\",\n dueDate: \"\",\n rate: \"\",\n rateTerm: \"\",\n onArea: \"\",\n frequency: \"\",\n area: \"\",\n strName: \"\",\n sngName: \"\",\n location: \"\",\n },\n },\n toggleParkingForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showParkingForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\" || e.target.value === \"hybrid\") {\n this.setState({\n toggleParkingForm: true,\n showCharges: false,\n });\n } else if (e.target.value === \"no\") {\n this.setState({\n toggleParkingForm: false,\n showCharges: true,\n });\n } else if (e.target.value === \"Select\") {\n this.setState({ showCharges: false });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n hadleOptionChange = (event, values, setFieldValue) => {\n\n console.log(\"form change\");\n\n this.setState({ escalationChargeType: event.target.value });\n if (\n this.state.parkingStorageSignage[event.target.value] !== undefined &&\n this.state.parkingStorageSignage[event.target.value].length > 0 &&\n this.state.parkingStorageSignage[event.target.value][\n this.state.parkingStorageSignage[event.target.value].length - 1\n ].toDate == values.to\n ) {\n this.state.initialValues.pkgLogic.chargeType = \"\";\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n\n\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n if (\n _parkingStorageSignage[event.target.value] == undefined ||\n _parkingStorageSignage[event.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _parkingStorageSignage[event.target.value][\n _parkingStorageSignage[event.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.parkingStorageSignage[event.target.value].length + 1;\n }\n\n this.setState({});\n\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.pkgLogic.chargeTypeText = text;\n this.state.initialValues.pkgLogic.chargeType = event.target.value;\n\n //-------chaning pkg count--------------------//\n let eventType = event.target.value.replace(/ /g, '_').toLowerCase();\n if (this.state.initialValues.additionalDetails.parkingDetails[eventType]) {\n this.state.initialValues.pkgLogic.count = this.state.initialValues.additionalDetails.parkingDetails[eventType];\n this.setState({});\n setFieldValue(\"pkgLogic.count\", this.state.initialValues.pkgLogic.count);\n }\n\n if (\n event.target.value === \"Parking 2W\" ||\n event.target.value === \"Parking 4W\" ||\n event.target.value === \"Parking Other\"\n ) {\n this.setState({\n showParking: true,\n showStorage: false,\n showSignage: false,\n });\n } else if (event.target.value === \"Storage\") {\n this.setState({\n showParking: false,\n showStorage: true,\n showSignage: false,\n });\n } else if (event.target.value === \"Signage\") {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: true,\n });\n } else {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n }\n };\n\n editPkg(index, values, key) {\n\n console.log(this.state.parkingStorageSignage[key][index]);\n this.state.applicableValue = this.state.applicableValueStatic;\n if (this.state.applicableValue != 'no') {\n this.state.toggleParkingForm = true;\n this.state.initialValues.pkgLogic.chargeType = this.state.parkingStorageSignage[key][index].chargeType;\n }\n\n\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.parkingStorageSignage[key][index].period;\n\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.parkingStorageSignage[key][index].periodTermDD,\n periodTermMM: this.state.parkingStorageSignage[key][index].periodTermMM,\n periodTermYY: this.state.parkingStorageSignage[key][index].periodTermYY,\n });\n if (\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking 2W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking 4W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking Other\"\n ) {\n this.setState({\n showParking: true,\n showStorage: false,\n showSignage: false,\n });\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType === \"Storage\"\n ) {\n this.setState({\n showParking: false,\n showStorage: true,\n showSignage: false,\n });\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType === \"Signage\"\n ) {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: true,\n });\n } else {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n }\n values.pkgLogic = this.state.parkingStorageSignage[key][index];\n this.state.fromDate = this.state.parkingStorageSignage[key][index].fromDate;\n this.state.toDate = this.state.parkingStorageSignage[key][index].toDate;\n\n this.setState({});\n }\n\n addDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n }\n values.pkgLogic.chargeTypeText =\n this.state.initialValues.pkgLogic.chargeTypeText;\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n values.pkgLogic.period = this.state.period;\n values.pkgLogic.fromDate = this.state.fromDate;\n values.pkgLogic.toDate = this.state.toDate;\n values.pkgLogic.periodTermYY = this.state.periodTermYY;\n values.pkgLogic.periodTermMM = this.state.periodTermMM;\n values.pkgLogic.periodTermDD = this.state.periodTermDD;\n if (\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] ==\n undefined\n ) {\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] =\n [];\n }\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType].push(\n values.pkgLogic\n );\n this.setState({\n parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n showAddBtn: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n setFieldValue(\"pkgLogic.rate\", \"\");\n setFieldValue(\"pkgLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n this.mainFormValidator.hideMessages();\n // resetForm();\n // this.setState({\n // fromDate: getToDate(this.state.toDate, 2, 0, 0),\n // toDate: \"\",\n // });\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n }\n values.pkgLogic.chargeTypeText =\n this.state.initialValues.pkgLogic.chargeTypeText;\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n values.pkgLogic.period = this.state.period;\n values.pkgLogic.fromDate = this.state.fromDate;\n values.pkgLogic.toDate = this.state.toDate;\n values.pkgLogic.periodTermYY = this.state.periodTermYY;\n values.pkgLogic.periodTermMM = this.state.periodTermMM;\n values.pkgLogic.periodTermDD = this.state.periodTermDD;\n if (\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] ==\n undefined\n ) {\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] =\n [];\n }\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType][\n this.state.currentIndex\n ] = { ...values.pkgLogic };\n this.setState({\n parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n resetForm();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n // this.setState({\n // fromDate: getToDate(this.state.toDate, 2, 0, 0),\n // toDate: \"\",\n // });\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.setState({\n // parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n resetForm();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n handleReset = () => {\n this.setState({\n // parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n componentDidMount() {\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-pss-details?id=${this.props.match.params.id}`,\n method: 'GET'\n }).then(function (response){\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.chargesApplicable;\n athis.state.applicableValueStatic = data.chargesApplicable;\n if (data.parkingStorageSignage.length > 0) {\n // let _tempDate = new Date(\n // data.parkingStorageSignage[\n // data.parkingStorageSignage.length - 1\n // ].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.parkingStorageSignage[data.parkingStorageSignage.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.chargesApplicable === \"yes\") {\n athis.setState({\n toggleParkingForm: true,\n });\n } else {\n athis.setState({\n toggleParkingForm: false,\n showCharges: true,\n });\n }\n athis.setState({\n initialValues: data,\n parkingStorageSignage: data.parkingStorageSignage,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.parkingStorageSignage.length > 0\n ? data.parkingStorageSignage.length + 1\n : 1,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-pss-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.chargesApplicable;\n // this.state.applicableValueStatic = data.chargesApplicable;\n // if (data.parkingStorageSignage.length > 0) {\n // // let _tempDate = new Date(\n // // data.parkingStorageSignage[\n // // data.parkingStorageSignage.length - 1\n // // ].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.parkingStorageSignage[data.parkingStorageSignage.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.chargesApplicable === \"yes\") {\n // this.setState({\n // toggleParkingForm: true,\n // });\n // } else {\n // this.setState({\n // toggleParkingForm: false,\n // showCharges: true,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // parkingStorageSignage: data.parkingStorageSignage,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.parkingStorageSignage.length > 0\n // ? data.parkingStorageSignage.length + 1\n // : 1,\n // });\n // // if (\n // // (data.parkingStorageSignage[\n // // data.parkingStorageSignage.length - 1\n // // ].toDate = data.to)\n // // ) {\n // // this.setState({\n // // showForm: false,\n // // });\n // // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rdd = this.state.parkingStorageSignage;\n _rdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n parkingStorageSignage: _rdd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n console.log(\n values.parkingStorageSignage[values.pkgLogic.chargeType][\n values.parkingStorageSignage[values.pkgLogic.chargeType].length - 1\n ].rate\n );\n console.log(values);\n setFieldValue(\n \"pkgLogic.rate\",\n (\n Number(\n values.parkingStorageSignage[values.pkgLogic.chargeType][\n values.parkingStorageSignage[values.pkgLogic.chargeType].length -\n 1\n ].rate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.escalationIndex\n ].rate !== 0\n ) {\n setFieldValue(\n \"pkgLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.escalationIndex\n ].rate\n )) /\n Number(\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ].length - 1\n ].rate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.chargesApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n console.log(this.validator);\n this.applicableValidator.showMessages();\n return false;\n }\n\n let count = 0;\n for (var key in this.state.parkingStorageSignage) {\n if (this.state.parkingStorageSignage[key].length > 0) {\n count = 1;\n break;\n }\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n\n var parkingStorageSignage = {\n ...this.state.parkingStorageSignage,\n };\n values.parkingStorageSignage = parkingStorageSignage;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-pss-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showParkingForm(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.toggleParkingForm && (\n <>\n
\n \n
\n {\n this.hadleOptionChange(e, values, setFieldValue);\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n {this.state.showParking && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Count\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n )}\n {values.pkgLogic.area === \"Actual Parking Area\" && (\n
\n \n
\n \n {this.validator.message(\n \"PKG Actual Area\",\n values.pkgLogic.actualArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"PKG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] != \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.pkgDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.applicableValue === 'hybrid' && (\n
\n \n
\n \n {this.validator.message(\n \"Free parking\",\n values.pkgLogic.freeParking,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n {this.state.showStorage && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"STR Name\",\n values.pkgLogic.strName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"STR Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex] !== \"undefined\" &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex].rate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.strDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n \n )}\n {this.state.showSignage && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"SNG Name\",\n values.pkgLogic.sngName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"SNG Location\",\n values.pkgLogic.location,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"SNG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex] !== \"undefined\" &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex].rate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.sngDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {this.state.showAddBtn && (\n
\n
\n {\n this.addDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n \n )}\n {this.state.toggleParkingForm === false &&\n this.state.showCharges === true && (\n <>\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Parking storage and signage Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.parkingStorageSignage).map(\n function (key, index) {\n return this.state.parkingStorageSignage[\n key\n ].map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this);\n },\n this\n )}\n \n
S.NoPeriodPeriod TermFromToParking/Storage/
Signage Logic
Rate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.chargeTypeText}{name.rate || \"-\"}\n {\n this.editPkg(index, values, key);\n }}\n >\n \n \n {this.state.parkingStorageSignage[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .parkingStorageSignage;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // parkingStorageSignage: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showParkingForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleParkingForm && (\n
\n
\n
\n
\n
\n \n
\n {\n this.hadleOptionChange(e, values, setFieldValue);\n\n console.log(this.state.initialValues);\n handleChange(e);\n }}\n >\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n\n {this.state.showParking && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Count\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"PKG UOM\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"PKG Area\",\n values.pkgLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.pkgLogic.area ==\n \"Actual Parking Area\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Area\",\n values.pkgLogic.actualArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"PKG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.pkgDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n {this.state.applicableValue == 'hybrid' &&\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Free parking\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n }\n\n\n\n
\n
\n )}\n {this.state.showStorage && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Storage Type (STR)\",\n values.pkgLogic.type,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"STR Name\",\n values.pkgLogic.strName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"STR Uom\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"STR Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"STR Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.strDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n {this.state.showSignage && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Signage Type\",\n values.pkgLogic.type,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"SNG Name\",\n values.pkgLogic.sngName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"SNG Location\",\n values.pkgLogic.location,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"SNG Uom\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"on Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"SNG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"SNG Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.sngDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n {this.state.showAddBtn && (\n
\n {\n this.addDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n )}\n
\n )}\n {this.state.toggleParkingForm === false &&\n this.state.showCharges === true && (\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Parking storage and signage Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.parkingStorageSignage).map(\n function (key, index) {\n return this.state.parkingStorageSignage[\n key\n ].map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this);\n },\n this\n )}\n \n
S.NoPeriodPeriod TermFromToParking/Storage/
Signage Logic
Rate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.chargeTypeText}{name.rate || \"-\"}\n {\n this.editPkg(index, values, key);\n }}\n >\n \n \n {this.state.parkingStorageSignage[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .parkingStorageSignage;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // parkingStorageSignage: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Parking Storage & Signage Charges
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.pssPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n pssPopup(pss) {\n if (\n pss.chargeTypeText == \"Parking 2W\" ||\n pss.chargeTypeText == \"Parking 4W\" ||\n pss.chargeTypeText == \"Parking Other\"\n ) {\n return this.parkingPopup(pss);\n } else if (pss.chargeTypeText == \"Storage\") {\n return this.storagePopup(pss);\n } else if (pss.chargeTypeText == \"Signage\") {\n return this.signagePopup(pss);\n }\n }\n\n parkingPopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n\n storagePopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n\n signagePopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(ParkingStorageSignage);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n periodOneLandlordMileStoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { hasAccess, getUserType } from \"../../utils/index\";\n\nvar periodOneMileStoneNamesArr = periodOneMileStoneNames;\n\nif (getUserType() == \"Landlord\") {\n periodOneMileStoneNamesArr = periodOneLandlordMileStoneNames;\n}\n\nclass RentDepositDetails extends React.Component {\n countError = \"\";\n state = {\n milestoneVal: \"\",\n readOnEdit: false,\n currentIndex: null,\n disableOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"RDEP Milestone # Months\",\n rdepTotalAmount: \"\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n initialValues: {\n rdepLogic: {\n milestones: [],\n period: \"\",\n rentDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n },\n },\n biFurcateLandlordCheckbox: false,\n rentDepositDetails: [],\n landlordList: [],\n landlordsPercentage: [],\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-deposit-details?id=${this.props.match.params.id}`,\n method: 'GET',\n }).then(function (response){\n let data = response.data;\n athis.state.biFurcateLandlordCheckbox = data.biFurcateLandlordCheckbox;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.landlordList = data.landlordList;\n athis.state.fromDate = data.from;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.rentDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.rentDepositDetails[data.rentDepositDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n\n athis.setState({\n initialValues: data,\n rentDepositDetails: data.rentDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n // notes_11: data.notes_11,\n period:\n data.rentDepositDetails.length > 0\n ? data.rentDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n // _intialValues['notes_11'] = data.notes_11;\n _intialValues.rdepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n rentDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n if (\n data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.biFurcateLandlordCheckbox = data.biFurcateLandlordCheckbox;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.landlordList = data.landlordList;\n // this.state.fromDate = data.from;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.rentDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentDepositDetails[data.rentDepositDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n\n // this.setState({\n // initialValues: data,\n // rentDepositDetails: data.rentDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // // notes_11: data.notes_11,\n // period:\n // data.rentDepositDetails.length > 0\n // ? data.rentDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // // _intialValues['notes_11'] = data.notes_11;\n // _intialValues.rdepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // rentDepositNature: \"\",\n // months: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // totalAmount: \"\",\n // rate: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // if (\n // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositNature(e, values, setFieldValue) {\n if (\n this.state.rentDepositDetails[e.target.value] !== undefined &&\n this.state.rentDepositDetails[e.target.value].length > 0 &&\n this.state.rentDepositDetails[e.target.value][\n this.state.rentDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"rdepLogic.rentDepositNature\", \"\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n if (\n _rentDepositDetails[e.target.value] == undefined ||\n _rentDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _rentDepositDetails[e.target.value][\n _rentDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.rentDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n\n // periodOtherMilestoneNames = [];\n // periodOtherMilestoneNames.push(\n // periodOtherMilestoneNames[\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].milestones.length - 1\n // ]\n // );\n // this.setState({\n // milestoneNamesValues: periodOtherMilestoneNames.length\n // ? []\n // : periodOtherMilestoneNames[\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].milestones.length - 1\n // ],\n // });\n\n // this.state.milestoneVal =\n // `Escalation ` +\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].period;\n\n // this.setState({});\n }\n return true;\n }\n\n editRd(index, values, key) {\n this.state.currentIndex = index;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentDepositDetails[key][index].period;\n if (this.state.rentDepositDetails[key][index].period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.rentDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.rentDepositDetails[key][index].periodTermYY,\n });\n this.state.milestonesCount =\n this.state.rentDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.rentDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.rentDepositDetails[key][index].toDate;\n values.rdepLogic.rentDepositNature =\n this.state.rentDepositDetails[key][index].rentDepositNature;\n values.rdepLogic.months = this.state.rentDepositDetails[key][index].months;\n values.rdepLogic.rateUOM =\n this.state.rentDepositDetails[key][index].rateUOM;\n values.rdepLogic.rate = this.state.rentDepositDetails[key][index].rate;\n values.rdepLogic.totalAmount =\n this.state.rentDepositDetails[key][index].totalAmount;\n\n for (\n let i = 0;\n i < this.state.rentDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.rdepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneName;\n values.rdepLogic.milestones[i].milestoneName =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.rentDepositDetails[key][index].milestones[i].dueDate;\n values.rdepLogic.milestones[i].dueDate =\n this.state.rentDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n values.rdepLogic.milestones[i].milestonePercent =\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n this.state.milestones[i].amount =\n this.state.rentDepositDetails[key][index].milestones[i].amount;\n values.rdepLogic.milestones[i].amount =\n this.state.rentDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType !=\n undefined\n ) {\n this.state.milestones[i].milestoneType =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType;\n values.rdepLogic.milestones[i].milestoneType =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType;\n }\n if (\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"RDEP Milestone %\";\n values.rdepLogic.milestones[i].milestoneQuantityType =\n \"RDEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n values.rdepLogic.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n console.log(values.rdepLogic);\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.biFurcateLandlordCheckbox === true) {\n let count = 0;\n for (let i = 0; i < this.state.landlordList.length; i++) {\n count += Number(this.state.landlordList[i].percent);\n }\n if (count < 100) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Total landlord percentage should be 100\",\n });\n return false;\n }\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.rdepLogic.totalAmount) {\n // alert(\n // \"Total Amount of Milestones do not match with total amount of period\"\n // );\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.rdepLogic.milestones[i].milestoneType = \"RDEP Percent\";\n this.setState({});\n }\n }\n }\n // this.state.milestoneVal = `Escalation ` + values.rdepLogic.period;\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n values.rdepLogic.period = this.state.period;\n values.rdepLogic.fromDate = this.state.fromDate;\n values.rdepLogic.toDate = this.state.toDate;\n values.rdepLogic.periodTermYY = this.state.periodTermYY;\n values.rdepLogic.periodTermMM = this.state.periodTermMM;\n values.rdepLogic.periodTermDD = this.state.periodTermDD;\n // for (let i = 0; i < this.state.landlordList; i++) {\n\n // }\n if (\n _rentDepositDetails[values.rdepLogic.rentDepositNature] == undefined\n ) {\n _rentDepositDetails[values.rdepLogic.rentDepositNature] = [];\n }\n _rentDepositDetails[values.rdepLogic.rentDepositNature].push({\n ...values.rdepLogic,\n });\n\n this.setState({\n rentDepositDetails: _rentDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n values.rdepLogic.totalAmount = \"\";\n this.state.milestonesCount = 1;\n this.state.milestones = [];\n values.rdepLogic.milestones = [];\n this.state.period++;\n values.rdepLogic.rate = \"\";\n values.rdepLogic.escalationPercent = '';\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n console.log(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.rdepLogic.totalAmount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.rdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n values.rdepLogic.period = this.state.period;\n values.rdepLogic.fromDate = this.state.fromDate;\n values.rdepLogic.toDate = this.state.toDate;\n values.rdepLogic.periodTermYY = this.state.periodTermYY;\n values.rdepLogic.periodTermMM = this.state.periodTermMM;\n values.rdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (\n _rentDepositDetails[values.rdepLogic.rentDepositNature] == undefined\n ) {\n _rentDepositDetails[values.rdepLogic.rentDepositNature] = [];\n }\n _rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.currentIndex\n ] = { ...values.rdepLogic };\n\n _rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n rentDepositDetails: _rentDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n // this.state.fromDate = \"\";\n // this.state.toDate = \"\";\n this.state.period++;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n // values.rdepLogic.rentDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n values.rdepLogic.rentDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n calculateRdepAmount(values, setFieldValue) {\n if (values.rdepLogic.rateUOM == \"Flat Amount\") {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) * Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) * Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Carpet Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Usable Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Gross Leasable Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.rdepLogic.months)\n );\n }\n if(values.rdepLogic.totalAmount > 0){\n this.calculateEscalationPercentage(values, setFieldValue, (values.rdepLogic.totalAmount/values.rdepLogic.months));\n }\n \n\n // if (this.state.period > 1) {\n // this.calculateMilestoneAmount(1, values, 0);\n // }\n }\n\n calculateEscalationPercentage(values, setFieldValue, currentRecord) {\n if ( typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0) {\n let count = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length;\n let prevMonth = parseFloat(this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['months']);\n let prevRecord = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['totalAmount']/prevMonth;\n let percent = ((currentRecord-prevRecord)/prevRecord)*100;\n setFieldValue(\n \"rdepLogic.escalationPercent\",\n (\n percent\n ).toFixed(2)\n );\n }\n }\n\n changeFieldName(e, id, values) {\n console.log(values);\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.rdepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n // values.rdepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"RDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n }\n }\n\n changeMilestonePercentName(e, id, values) {\n console.log(e.target.value);\n if (e.target.value == \"RDEP Months\") {\n this.state.milestones[id].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n } else if (e.target.value == \"RDEP Percent\") {\n this.state.milestones[id].milestoneQuantityType = \"RDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType = \"\";\n }\n\n if (e.target.value == \"RDEP Months\") {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount / values.rdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else if (e.target.value == \"Flat Amount\") {\n\n } else {\n var previousAmount = 0;\n if (\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] ===\n undefined ||\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length == 0\n ) {\n previousAmount = 0;\n } else {\n previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n }\n\n var currentAmount = values.rdepLogic.totalAmount;\n\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n\n this.setState({});\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n console.log(\"1\");\n if (this.state.period == \"1\") {\n if (values.rdepLogic.milestones[id].milestoneType == \"RDEP Months\") {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount / values.rdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n } else {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount *\n Number(this.state.milestones[id].milestonePercent)) /\n 100;\n // Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n }\n this.setState({});\n } else {\n console.log(\"2\");\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rdd = this.state.rentDepositDetails;\n _rdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n rentDepositDetails: _rdd,\n showForm: true,\n });\n this.state.period--;\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n biFurcateLandlord(e, values) {\n if (this.state.biFurcateLandlordCheckbox === true) {\n this.setState({ biFurcateLandlordCheckbox: false });\n } else {\n this.setState({ biFurcateLandlordCheckbox: true });\n }\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (e.target.value > 0 && typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0) {\n let count = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length;\n let prevMonth = parseFloat(this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['months']);\n let prevRecord = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['totalAmount']/prevMonth;\n\n let reviseTotalAmt = Number(prevRecord) + Number((prevRecord * e.target.value) / 100);\n let currentMonths = parseFloat(values.rdepLogic.months);\n let newRate = 0;\n if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Gross Leasable Area\") {\n newRate = (reviseTotalAmt / values.totalGrossLeasableArea)\n } else if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Usable Area\") {\n newRate = (reviseTotalAmt / values.totalUsableArea)\n } else if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Carpet Area\") {\n newRate = (reviseTotalAmt / values.totalCarpetArea)\n } else {\n let rateVal = reviseTotalAmt - (reviseTotalAmt - prevRecord)\n newRate = rateVal + ((rateVal * e.target.value / 100))\n }\n\n setFieldValue(\n \"rdepLogic.rate\",\n (\n newRate\n ).toFixed(2)\n );\n\n setFieldValue(\n \"rdepLogic.totalAmount\",\n (\n reviseTotalAmt * currentMonths\n ).toFixed(2)\n );\n }\n }\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(RDEP Milestone {i + 1});\n }\n\n var body = [];\n\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n this.state.milestones[i] === undefined ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n this.state.milestones[i].milestoneType = \"\";\n values.rdepLogic.milestones[i] = {};\n values.rdepLogic.milestones[i].milestoneName = \"\";\n values.rdepLogic.milestones[i].dueDate = \"\";\n values.rdepLogic.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n values.rdepLogic.milestones[i].amount = \"\";\n values.rdepLogic.milestones[i].milestoneType = \"\";\n }\n body.push(\n \n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {this.state.period == \"1\" && (\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneType = e.target.value;\n this.changeMilestonePercentName(e, id, values);\n handleChange(e);\n }}\n >\n
\n
\n )}\n {this.state.milestones[i].milestoneQuantityType != '' && (\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n {/* Commented validation message */}\n
\n
\n )}\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"RDEP Milestone Amount\",\n this.state.milestones[i].amount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n landlordPercentage(handleChange, values) {\n var body = [];\n for (var i = 0; i < this.state.landlordList.length; i++) {\n body.push(\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlordList[id].percent = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n />\n
\n
\n );\n }\n return body;\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n
\n \n
\n
\n\n\n {\n console.log(this.state.landlordList);\n let count = 0;\n for (var key in this.state.rentDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var rentDepositDetails = { ...this.state.rentDepositDetails };\n values.rentDepositDetails = rentDepositDetails;\n values.biFurcateLandlordCheckbox =\n this.state.biFurcateLandlordCheckbox;\n // values.landlordList = this.state.landlordList;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-rent-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n {this.state.showForm && (\n
\n \n
\n )}\n

\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {this.state.biFurcateLandlordCheckbox === true && (\n <>\n {this.landlordPercentage(handleChange, values)}\n \n )}\n\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Rent Deposit Nature\",\n values.rdepLogic.rentDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rdepLogic.rentDepositNature !== \"\" && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rdepLogic.rateUOM = e.target.value;\n handleChange(e);\n this.calculateRdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n\n {values.rdepLogic.rateUOM === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n values.rdepLogic.onArea = e.target.value;\n this.calculateRdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n )}\n\n {typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] !== \"undefined\" &&\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateRdepAmount(values, setFieldValue);\n \n if (this.state.period > 1) {\n this.calculateMilestoneAmount(e, values, 0);\n //this.calculateEscalationPercentage(e, values, setFieldValue);\n }\n }}\n />\n {this.validator.message(\n \"RDEP Rate\",\n values.rdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Rent Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.rentDepositDetails).map(\n function (key, index1) {\n return this.state.rentDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToRent Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n {name.rentDepositNature}{name.totalAmount || \"-\"}\n {/* {\n this.editRd(index, values, key);\n }}\n >\n \n */}\n {this.state.rentDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .rentDepositDetails;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // rentDepositDetails: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.state.biFurcateLandlordCheckbox === true && (\n
\n {this.landlordPercentage(handleChange, values)}\n
\n )}\n
\n
\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Rent Deposit Nature\",\n values.rdepLogic.rentDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rdepLogic.rateUOM =\n e.target.value;\n handleChange(e);\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n {this.validator.message(\n \"RDEP Rate UOM\",\n values.rdepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rdepLogic.rateUOM == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n values.rdepLogic.onArea =\n e.target.value;\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rdepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {\n typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )\n }\n\n
\n
\n
\n \n
\n {\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(\n e,\n values,\n 0\n );\n }\n }}\n />\n {this.validator.message(\n \"RDEP Rate\",\n values.rdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n\n {this.mainFormValidator.message(\n \"Rent Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.rentDepositDetails).map(\n function (key, index1) {\n return this.state.rentDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToRent Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentDepositNature}{name.totalAmount || \"-\"}\n {this.state.rentDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .rentDepositDetails;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // rentDepositDetails: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Rent Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.rentDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n rentDepositDetailPopup(rent) {\n return this.rentalDetailsPopup(rent);\n }\n rentalDetailsPopup(rent) {\n console.log(rent);\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")}{\" \"} */}\n {leaseDateFormat(name.dueDate)}\n \n {name.milestonePercent}\n {name.milestoneType == \"RDEP Months\"\n ? \" Months\"\n : \" %\"}\n {name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(RentDepositDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CAMDepositDetails extends React.Component {\n countError = \"\";\n state = {\n readOnEdit: false,\n currentIndex: null,\n disableOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"CDEP Milestone # Months\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n initialValues: {\n cdepLogic: {\n milestones: [],\n period: \"\",\n camDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n },\n },\n camDepositDetails: [],\n toggleCdForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showCdForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleCdForm: true,\n });\n } else {\n this.setState({\n toggleCdForm: false,\n });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n\n let athis=this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-deposit-details?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function(response){\n let data = response.data;\n athis.state.applicableValue = data.camDepositApplicable;\n athis.state.fromDate = data.from;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.camDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.camDepositDetails[data.camDepositDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.camDepositApplicable === \"yes\") {\n athis.setState({\n toggleCdForm: true,\n });\n } else {\n athis.setState({\n toggleCdForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n camDepositDetails: data.camDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_12: data.notes_12,\n period:\n data.camDepositDetails.length > 0\n ? data.camDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.cdepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n camDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n };\n if (\n data.camDepositDetails[data.camDepositDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.applicableValue = data.camDepositApplicable;\n // this.state.fromDate = data.from;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.camDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.camDepositDetails[data.camDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.camDepositApplicable === \"yes\") {\n // this.setState({\n // toggleCdForm: true,\n // });\n // } else {\n // this.setState({\n // toggleCdForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // camDepositDetails: data.camDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_12: data.notes_12,\n // period:\n // data.camDepositDetails.length > 0\n // ? data.camDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.cdepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // camDepositNature: \"\",\n // months: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // totalAmount: \"\",\n // rate: \"\",\n // };\n // if (\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositNature(e, values, setFieldValue) {\n if (\n this.state.camDepositDetails[e.target.value] !== undefined &&\n this.state.camDepositDetails[e.target.value].length > 0 &&\n this.state.camDepositDetails[e.target.value][\n this.state.camDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"rdepLogic.rentDepositNature\", \"\");\n // alert(\"Values For this type has completed the period\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n if (\n _camDepositDetails[e.target.value] == undefined ||\n _camDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _camDepositDetails[e.target.value][\n _camDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.camDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n return true;\n }\n\n editCd(index, values, key) {\n console.log(values);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n console.log(key, index);\n console.log(this.state.camDepositDetails);\n this.state.period = this.state.camDepositDetails[key][index].period;\n if (this.state.camDepositDetails[key][index].period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.camDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.camDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.camDepositDetails[key][index].periodTermYY,\n });\n // values.rdepLogic = this.state.camDepositDetails[key][index];\n this.state.milestonesCount =\n this.state.camDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.camDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.camDepositDetails[key][index].toDate;\n values.cdepLogic.camDepositNature =\n this.state.camDepositDetails[key][index].camDepositNature;\n values.cdepLogic.months = this.state.camDepositDetails[key][index].months;\n values.cdepLogic.rateUOM = this.state.camDepositDetails[key][index].rateUOM;\n values.cdepLogic.rate = this.state.camDepositDetails[key][index].rate;\n values.cdepLogic.totalAmount =\n this.state.camDepositDetails[key][index].totalAmount;\n\n for (\n let i = 0;\n i < this.state.camDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.cdepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.camDepositDetails[key][index].milestones[i].milestoneName;\n values.cdepLogic.milestones[i].milestoneName =\n this.state.camDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.camDepositDetails[key][index].milestones[i].dueDate;\n values.cdepLogic.milestones[i].dueDate =\n this.state.camDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.camDepositDetails[key][index].milestones[i].milestonePercent;\n values.cdepLogic.milestones[i].milestonePercent =\n this.state.camDepositDetails[key][index].milestones[i].milestonePercent;\n this.state.milestones[i].amount =\n this.state.camDepositDetails[key][index].milestones[i].amount;\n values.cdepLogic.milestones[i].amount =\n this.state.camDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.camDepositDetails[key][index].milestones[i].milestoneType !=\n undefined\n ) {\n this.state.milestones[i].milestoneType =\n this.state.camDepositDetails[key][index].milestones[i].milestoneType;\n values.cdepLogic.milestones[i].milestoneType =\n this.state.camDepositDetails[key][index].milestones[i].milestoneType;\n }\n if (\n this.state.camDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"CDEP Milestone %\";\n values.cdepLogic.milestones[i].milestoneQuantityType =\n \"CDEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n values.cdepLogic.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.cdepLogic.totalAmount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.cdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n values.cdepLogic.period = this.state.period;\n values.cdepLogic.fromDate = this.state.fromDate;\n values.cdepLogic.toDate = this.state.toDate;\n values.cdepLogic.periodTermYY = this.state.periodTermYY;\n values.cdepLogic.periodTermMM = this.state.periodTermMM;\n values.cdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (_camDepositDetails[values.cdepLogic.camDepositNature] == undefined) {\n _camDepositDetails[values.cdepLogic.camDepositNature] = [];\n }\n _camDepositDetails[values.cdepLogic.camDepositNature].push({\n ...values.cdepLogic,\n });\n this.setState({\n camDepositDetails: _camDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.period++;\n values.cdepLogic.rate = \"\";\n this.state.milestonesCount = 1;\n this.state.milestones = [];\n values.cdepLogic.milestones = [];\n values.cdepLogic.escalationPercent = '';\n values.cdepLogic.totalAmount = '';\n\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n this.validator.hideMessages();\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n // this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.cdepLogic.totalAmount) {\n // alert(\n // \"Total Amount of Milestones do not match with total amount of period\"\n // );\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n\n return false;\n }\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.cdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n // alert(\"Enter a date less than \" + values.to);\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n values.cdepLogic.period = this.state.period;\n values.cdepLogic.fromDate = this.state.fromDate;\n values.cdepLogic.toDate = this.state.toDate;\n values.cdepLogic.periodTermYY = this.state.periodTermYY;\n values.cdepLogic.periodTermMM = this.state.periodTermMM;\n values.cdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (_camDepositDetails[values.cdepLogic.camDepositNature] == undefined) {\n _camDepositDetails[values.cdepLogic.camDepositNature] = [];\n }\n _camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.currentIndex\n ] = { ...values.cdepLogic };\n\n _camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n camDepositDetails: _camDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.period++;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n // values.cdepLogic.camDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n values.cdepLogic.camDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n calculateCdepAmount(values, setFieldValue) {\n if (values.cdepLogic.rateUOM == \"Flat Amount\") {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) * Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) * Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Carpet Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Usable Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Gross Leasable Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.cdepLogic.months)\n );\n }\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(1, values, 0);\n }\n if(values.cdepLogic.totalAmount > 0){\n this.calculateEscalationPercentage(values, setFieldValue, (values.cdepLogic.totalAmount/values.cdepLogic.months));\n }\n }\n\n calculateEscalationPercentage(values, setFieldValue, currentRecord) {\n if ( typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0) {\n let count = this.state.camDepositDetails[values.cdepLogic.camDepositNature].length;\n let prevMonth = parseFloat(this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['months']);\n let prevRecord = this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['totalAmount']/prevMonth;\n let percent = ((currentRecord-prevRecord)/prevRecord)*100;\n setFieldValue(\n \"cdepLogic.escalationPercent\",\n (\n percent\n ).toFixed(2)\n );\n }\n }\n\n changeFieldName(e, id, values) {\n console.log(values);\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.cdepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n // values.cdepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"CDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n }\n }\n\n changeMilestonePercentName(e, id, values) {\n if (e.target.value == \"CDEP Months\") {\n this.state.milestones[id].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n } else if (e.target.value == \"CDEP Percent\") {\n this.state.milestones[id].milestoneQuantityType = \"CDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType = \"\";\n }\n\n\n if (e.target.value == \"CDEP Months\") {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount / values.cdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else if (e.target.value == \"CDEP Percent\") {\n var previousAmount = 0;\n if (\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature] ==\n undefined\n ) {\n previousAmount = 0;\n } else {\n previousAmount =\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature][\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n }\n\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n calculateRentRate(e, values, setFieldValue) {\n console.log(values, \"values 672 \");\n console.log(this.state.camDepositDetails, \"cam details\")\n console.log(values.cdepLogic.camDepositNature, \"values.cdepLogic.camDepositNature\")\n\n\n if (e.target.value > 0 && typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0) {\n let count = this.state.camDepositDetails[values.cdepLogic.camDepositNature].length;\n let prevMonth = parseFloat(this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['months']);\n let prevRecord = this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['totalAmount']/prevMonth;\nconsole.log(this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1], \"chekcing\")\n let reviseTotalAmt = Number(prevRecord) + Number((prevRecord * e.target.value) / 100);\n\n console.log(prevRecord, \"==\", reviseTotalAmt)\n\n console.log(values.cdepLogic, \"new values\")\n\n let currentMonths = parseFloat(values.cdepLogic.months);\n\n let newRate = 0;\n if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Gross Leasable Area\") {\n newRate = (reviseTotalAmt / values.totalGrossLeasableArea)\n } else if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Usable Area\") {\n newRate = (reviseTotalAmt / values.totalUsableArea)\n } else if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Carpet Area\") {\n newRate = (reviseTotalAmt / values.totalCarpetArea)\n } else {\n let rateVal = reviseTotalAmt - (reviseTotalAmt - prevRecord)\n newRate = rateVal + ((rateVal * e.target.value / 100))\n }\n\n setFieldValue(\n \"cdepLogic.rate\",\n (\n newRate\n ).toFixed(2)\n );\n\n setFieldValue(\n \"cdepLogic.totalAmount\",\n (\n reviseTotalAmt * currentMonths\n ).toFixed(2)\n );\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n if (this.state.period == \"1\") {\n if (values.cdepLogic.milestones[id].milestoneType == \"CDEP Months\") {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount / values.cdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.cdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n } else {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount *\n Number(this.state.milestones[id].milestonePercent)) /\n 100;\n values.cdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n }\n this.setState({});\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _cdd = this.state.camDepositDetails;\n _cdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n camDepositDetails: _cdd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(CDEP Milestone {i + 1});\n }\n\n var body = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n typeof this.state.milestones[i] === \"undefined\" ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n this.state.milestones[i].milestoneType = \"\";\n values.cdepLogic.milestones[i] = {};\n values.cdepLogic.milestones[i].milestoneName = \"\";\n values.cdepLogic.milestones[i].dueDate = \"\";\n values.cdepLogic.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n values.cdepLogic.milestones[i].amount = \"\";\n values.cdepLogic.milestones[i].milestoneType = \"\";\n }\n body.push(\n \n
\n
\n {/* Milestone Name */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n {/* Due Date */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period == \"1\" && (\n
\n {/* Milestone Type */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneType = e.target.value;\n this.changeMilestonePercentName(e, id, values);\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.milestones[i].milestoneType != \"Flat Amount\" && (\n
\n {/* Milestone Percent or Amount */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n
\n
\n )}\n\n
\n {/* Milestone Amount */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.camDepositApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n // if (this.state.camDepositDetails.length == 0) {\n // this.mainFormValidator.showMessages(\"countError\");\n // return false;\n // }\n let count = 0;\n for (var key in this.state.camDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var camDepositDetails = { ...this.state.camDepositDetails };\n values.camDepositDetails = camDepositDetails;\n console.log(this.state.camDepositDetails, \"pp\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-cam-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCdForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleCdForm && (\n <>\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"CAM Deposit Nature\",\n values.cdepLogic.camDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n {values.cdepLogic.camDepositNature !== \"\" && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.cdepLogic.rateUOM = e.target.value;\n handleChange(e);\n this.calculateCdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n\n {values.cdepLogic.rateUOM === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n values.cdepLogic.onArea = e.target.value;\n this.calculateCdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n )}\n\n {typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] !== \"undefined\" &&\n this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0 &&\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][this.state.camDepositDetails[values.cdepLogic.camDepositNature].length - 1]['rate'] !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.cdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateCdepAmount(values, setFieldValue);\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(e, values, 0);\n }\n }}\n />\n {this.validator.message(\n \"CDEP Rate\",\n values.cdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n console.log(values, \"nn\");\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n
\n )}\n
\n )}\n \n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"CAM Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.camDepositDetails).map(\n function (key, index1) {\n return this.state.camDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToCAM Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {\" \"}\n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n {name.camDepositNature}{name.totalAmount || \"-\"}\n {/* {\n this.editCd(index, values, key);\n }}\n >\n \n */}\n {this.state.camDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cdd =\n // this.state\n // .camDepositDetails;\n // _cdd[key].splice(index, 1);\n // this.setState({\n // camDepositDetails: _cdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue =\n e.target.value;\n this.showCdForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n {this.state.toggleCdForm && (\n
\n
\n
\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"CAM Deposit Nature\",\n values.cdepLogic.camDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period =\n e.target.value;\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.cdepLogic.rateUOM =\n e.target.value;\n handleChange(e);\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CDEP Rate UOM\",\n values.cdepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.cdepLogic.rateUOM == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n values.cdepLogic.onArea =\n e.target.value;\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.cdepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {\n typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0 && this.state.camDepositDetails[values.cdepLogic.camDepositNature][this.state.camDepositDetails[values.cdepLogic.camDepositNature].length - 1]['rate'] != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.cdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )\n }\n
\n
\n
\n \n
\n {\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(\n e,\n values,\n 0\n );\n }\n }}\n />\n {this.validator.message(\n \"CDEP Rate\",\n values.cdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n )}\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n console.log(values, \"nn\");\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n
\n )}\n
\n )}\n
\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"CAM Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.camDepositDetails).map(\n function (key, index1) {\n return this.state.camDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToCAM Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {\" \"}\n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.camDepositNature}{name.totalAmount || \"-\"}\n {this.state.camDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cdd =\n // this.state\n // .camDepositDetails;\n // _cdd[key].splice(index, 1);\n // this.setState({\n // camDepositDetails: _cdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Cam Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.camDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n camDepositDetailPopup(cam) {\n console.log(cam);\n return this.camDetailsPopup(cam);\n }\n camDetailsPopup(cam) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {cam.milestones.length > 0 &&\n cam.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.dueDate)}\n \n {name.milestonePercent}\n {name.milestoneType == \"CDEP Months\"\n ? \" Months\"\n : \" %\"}\n {name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(CAMDepositDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport {\n electricityLoadDeposit,\n airConditioingLoadDeposit,\n meterDeposit,\n gasBasisUnitsGasBank,\n storageFitoutDeposit,\n} from \"../../constants\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass OtherDepositDetails extends React.Component {\n countError = \"\";\n state = {\n odepMilestonePercent: 100,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"ODEP Milestone # Months\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n depositRateUomValues: [],\n initialValues: {\n odepLogic: {\n milestones: [],\n period: \"\",\n otherDepositName: \"\",\n depositNature: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n uom: \"\",\n onArea: \"\",\n milestonesCount: 0,\n onUnits: \"\",\n amount: \"\",\n rate: \"\",\n other_deposit_type: \"\",\n },\n },\n otherDepositDetails: [],\n toggleOdForm: false,\n toggleOnUnit: true,\n toggleStorage: false,\n showArea: false,\n showOnArea: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showOdForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleOdForm: true,\n });\n } else {\n this.setState({\n toggleOdForm: false,\n });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n\n let athis = this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-deposit-details?id=${this.props.match.params.id}`,\n method: 'GET',\n }).then(function(response){\n let data = response.data;\n\n athis.state.applicableValue = data.otherDepositApplicable;\n athis.state.fromDate = data.from;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.otherDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.otherDepositDetails[data.otherDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.otherDepositDetails[data.otherDepositDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.otherDepositApplicable === \"yes\") {\n athis.setState({\n toggleOdForm: true,\n });\n } else {\n athis.setState({\n toggleOdForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n otherDepositDetails: data.otherDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_13: data.notes_13,\n period:\n data.otherDepositDetails.length > 0\n ? data.otherDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.odepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n otherDepositName: \"\",\n depositNature: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n uom: \"\",\n onArea: \"\",\n milestonesCount: 0,\n onUnits: \"\",\n amount: \"\",\n rate: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n if (\n data.otherDepositDetails[data.otherDepositDetails.length - 1]\n .toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.applicableValue = data.otherDepositApplicable;\n // this.state.fromDate = data.from;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.otherDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.otherDepositDetails[data.otherDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.otherDepositDetails[data.otherDepositDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.otherDepositApplicable === \"yes\") {\n // this.setState({\n // toggleOdForm: true,\n // });\n // } else {\n // this.setState({\n // toggleOdForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // otherDepositDetails: data.otherDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_13: data.notes_13,\n // period:\n // data.otherDepositDetails.length > 0\n // ? data.otherDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.odepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // otherDepositName: \"\",\n // depositNature: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // uom: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // onUnits: \"\",\n // amount: \"\",\n // rate: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // if (\n // data.otherDepositDetails[data.otherDepositDetails.length - 1]\n // .toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositName(e, values, setFieldValue) {\n if (\n this.state.otherDepositDetails[e.target.value] !== undefined &&\n this.state.otherDepositDetails[e.target.value].length > 0 &&\n this.state.otherDepositDetails[e.target.value][\n this.state.otherDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"odepLogic.rentDepositNature\", \"\");\n // alert(\"Values For this type has completed the period\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n if (\n e.target.value === \"Storage Deposit\" ||\n e.target.value === \"Fitout Deposit\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({ toggleOnUnit: false, toggleStorage: true });\n } else {\n this.setState({ toggleOnUnit: true, toggleStorage: false });\n }\n if (e.target.value === \"Storage Deposit\") {\n this.setState({ showArea: true });\n } else {\n this.setState({ showArea: false });\n }\n if (e.target.value === \"Fitout Deposit\") {\n this.setState({ showOnArea: true });\n } else {\n this.setState({ showOnArea: false });\n }\n if (\n e.target.value === \"Electricity Load Deposit – Refundable\" ||\n e.target.value == \"Electricity Load Deposit – Non Refundable\"\n ) {\n this.setState({\n depositRateUomValues: electricityLoadDeposit,\n });\n } else if (\n e.target.value === \"GAS / PNG Connection Deposit\" ||\n e.target.value === \"GAS / PNG Meter\"\n ) {\n this.setState({\n depositRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n e.target.value === \"Electricity Meter Deposit\" ||\n e.target.value === \"Water Meter Deposit\" ||\n e.target.value === \"Air Conditioning Meter Deposit\"\n ) {\n this.setState({\n depositRateUomValues: meterDeposit,\n });\n } else if (e.target.value === \"Air Conditioing Load Deposit\") {\n this.setState({\n depositRateUomValues: airConditioingLoadDeposit,\n });\n } else if (\n e.target.value === \"Fitout Deposit\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else if (e.target.value === \"Storage Deposit\") {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else {\n this.setState({\n depositRateUomValues: [],\n });\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n if (\n _otherDepositDetails[e.target.value] == undefined ||\n _otherDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _otherDepositDetails[e.target.value][\n _otherDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.otherDepositDetails[e.target.value].length + 1;\n // values.odepLogic.period =\n // this.state.otherDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n milestoneMonths: \"ODEP Milestone %\",\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n milestoneMonths: \"ODEP Milestone %\",\n });\n }\n return true;\n }\n\n editOd(index, values, key) {\n console.log(this.state.otherDepositDetails[key][index]);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.otherDepositDetails[key][index].period;\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({ toggleOnUnit: false, toggleStorage: true });\n } else {\n this.setState({ toggleOnUnit: true, toggleStorage: false });\n }\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\"\n ) {\n this.setState({ showArea: true });\n } else {\n this.setState({ showArea: false });\n }\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({ showOnArea: true });\n } else {\n this.setState({ showOnArea: false });\n }\n if (this.state.otherDepositDetails[key][index].period === 1) {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.otherDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.otherDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.otherDepositDetails[key][index].periodTermYY,\n });\n this.state.milestonesCount =\n this.state.otherDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.otherDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.otherDepositDetails[key][index].toDate;\n values.odepLogic.otherDepositName =\n this.state.otherDepositDetails[key][index].otherDepositName;\n values.odepLogic.depositNature =\n this.state.otherDepositDetails[key][index].depositNature;\n values.odepLogic.months = this.state.otherDepositDetails[key][index].months;\n\n values.odepLogic.onUnits =\n this.state.otherDepositDetails[key][index].onUnits;\n values.odepLogic.amount = this.state.otherDepositDetails[key][index].amount;\n values.odepLogic.rate = this.state.otherDepositDetails[key][index].rate;\n values.odepLogic.totalAmount =\n this.state.otherDepositDetails[key][index].totalAmount;\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Electricity Load Deposit – Refundable\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ==\n \"Electricity Load Deposit – Non Refundable\"\n ) {\n this.setState({\n depositRateUomValues: electricityLoadDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"GAS / PNG Connection Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"GAS / PNG Meter\"\n ) {\n this.setState({\n depositRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Electricity Meter Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Water Meter Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Air Conditioning Meter Deposit\"\n ) {\n this.setState({\n depositRateUomValues: meterDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Air Conditioing Load Deposit\"\n ) {\n this.setState({\n depositRateUomValues: airConditioingLoadDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else {\n this.setState({\n depositRateUomValues: [],\n });\n }\n values.odepLogic.rateUOM =\n this.state.otherDepositDetails[key][index].rateUOM;\n values.odepLogic.area = this.state.otherDepositDetails[key][index].area;\n values.odepLogic.onArea = this.state.otherDepositDetails[key][index].onArea;\n values.odepLogic.monthsCount =\n this.state.otherDepositDetails[key][index].monthsCount;\n for (\n let i = 0;\n i < this.state.otherDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.odepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.otherDepositDetails[key][index].milestones[i].milestoneName;\n values.odepLogic.milestones[i].milestoneName =\n this.state.otherDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.otherDepositDetails[key][index].milestones[i].dueDate;\n values.odepLogic.milestones[i].dueDate =\n this.state.otherDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n values.odepLogic.milestones[i].milestonePercent =\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n this.state.milestones[i].amount =\n this.state.otherDepositDetails[key][index].milestones[i].amount;\n values.odepLogic.milestones[i].amount =\n this.state.otherDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"ODEP Milestone %\";\n values.odepLogic.milestones[i].milestoneQuantityType =\n \"ODEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n values.odepLogic.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n if (this.state.currentIndex === null) {\n if (this.state.period > 1) {\n this.state.milestones[0].milestonePercent = 100;\n values.odepLogic.milestones[0].milestonePercent = 100;\n this.setState({});\n }\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < this.state.milestones.length; i++) {\n console.log(this.state.milestones);\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.odepLogic.amount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n values.odepLogic.period = this.state.period;\n values.odepLogic.fromDate = this.state.fromDate;\n values.odepLogic.toDate = this.state.toDate;\n values.odepLogic.periodTermYY = this.state.periodTermYY;\n values.odepLogic.periodTermMM = this.state.periodTermMM;\n values.odepLogic.periodTermDD = this.state.periodTermDD;\n if (\n _otherDepositDetails[values.odepLogic.otherDepositName] == undefined\n ) {\n _otherDepositDetails[values.odepLogic.otherDepositName] = [];\n }\n _otherDepositDetails[values.odepLogic.otherDepositName].push({\n ...values.odepLogic,\n });\n this.setState({\n otherDepositDetails: _otherDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period++;\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.odepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.odepLogic.amount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n values.odepLogic.period = this.state.period;\n values.odepLogic.fromDate = this.state.fromDate;\n values.odepLogic.toDate = this.state.toDate;\n values.odepLogic.periodTermYY = this.state.periodTermYY;\n values.odepLogic.periodTermMM = this.state.periodTermMM;\n values.odepLogic.periodTermDD = this.state.periodTermDD;\n console.log(this.state.otherDepositDetails);\n if (\n _otherDepositDetails[values.odepLogic.otherDepositName] == undefined\n ) {\n _otherDepositDetails[values.odepLogic.otherDepositName] = [];\n }\n _otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.currentIndex\n ] = { ...values.odepLogic };\n _otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n otherDepositDetails: _otherDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n };\n\n calculateDepositAmount(values) {\n if (values.odepLogic.otherDepositName === \"Storage Deposit\") {\n if (values.odepLogic.rateUOM === \"Flat rate\") {\n console.log(\"111\");\n values.odepLogic.amount =\n Number(values.odepLogic.rate) * Number(values.odepLogic.monthsCount);\n this.setState({});\n } else {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n Number(values.odepLogic.area) *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n }\n } else if (values.odepLogic.otherDepositName === \"Fitout Deposit\") {\n console.log(\"111\");\n if (values.odepLogic.onArea === \"Carpet Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalCarpetArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else if (values.odepLogic.onArea === \"Usable Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalUsableArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else if (values.odepLogic.onArea === \"Gross Leasable Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalGrossLeasableArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.monthsCount;\n this.setState({});\n }\n } else if (values.odepLogic.otherDepositName === \"Other\") {\n if (values.odepLogic.rate != \"\" && values.odepLogic.monthsCount != \"\") {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.monthsCount;\n this.setState({});\n }\n } else {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.onUnits;\n this.setState({});\n }\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(1, values, 0);\n }\n }\n\n changeFieldName(e, id, values) {\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.odepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n values.odepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"ODEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n if (this.state.period === 1) {\n var previousAmount = 0;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n values.odepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.odepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _odd = this.state.otherDepositDetails;\n _odd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n otherDepositDetails: _odd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(ODEP Milestone {i + 1});\n }\n\n var body = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n typeof this.state.milestones[i] === \"undefined\" ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent = \"\";\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n values.odepLogic.milestones[i] = {};\n values.odepLogic.milestones[i].milestoneName = \"\";\n values.odepLogic.milestones[i].dueDate = \"\";\n values.odepLogic.milestones[i].milestonePercent = \"\";\n values.odepLogic.milestones[i].amount = \"\";\n }\n body.push(\n \n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n >\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.otherDepositApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n // if (this.state.otherDepositDetails.length == 0) {\n // this.mainFormValidator.showMessages(\"countError\");\n // return false;\n // }\n let count = 0;\n for (var key in this.state.otherDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var otherDepositDetails = { ...this.state.otherDepositDetails };\n values.otherDepositDetails = otherDepositDetails;\n console.log(values, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showOdForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleOdForm && (\n <>\n
\n \n
\n {\n if (this.getDepositName(e, values, setFieldValue)) {\n handleChange(e);\n }\n }}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n {values.odepLogic.otherDepositName !== \"\" && (\n <>\n
\n \n
\n {\n this.setState({ period: e.target.value });\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.setState({ periodTermYY: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.setState({ periodTermMM: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.setState({ periodTermDD: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n \n
\n
\n\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"ODEP Rate UOM\",\n values.odepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"Deposit Rate\",\n values.odepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.toggleOnUnit === true && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"On Units\",\n values.odepLogic.onUnits,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.showArea && values.odepLogic.rateUOM === \"Per Sq.ft\" && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"Area\",\n values.odepLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {values.odepLogic.rateUOM === \"Per Sq.ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.toggleStorage && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"No. of Months\",\n values.odepLogic.monthsCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n\n {values.odepLogic.otherDepositName === \"Other\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n \n )}\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Other Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.otherDepositDetails).map(\n function (key, index1) {\n return this.state.otherDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToOther Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n \n {name.otherDepositName}\n {`(`}\n {name.depositNature} {`)`}\n {name.totalAmount || name.amount || \"-\"}\n {/* {\n this.editOd(index, values, key);\n }}\n >\n \n */}\n {this.state.otherDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _odd =\n // this.state\n // .otherDepositDetails;\n // _odd[key].splice(index, 1);\n // this.setState({\n // otherDepositDetails: _odd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue =\n e.target.value;\n this.showOdForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleOdForm && (\n
\n
\n
\n
\n
\n \n
\n {\n if (\n // this.loadDepositRateUomValues(e);\n this.getDepositName(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Deposit Nature\",\n values.odepLogic.depositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period =\n e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n\n\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n // this.validator =\n // new SimpleReactValidator({\n // autoForceUpdate: this,\n // });\n handleChange(e);\n }}\n >\n \n {this.state.depositRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"ODEP Rate UOM\",\n values.odepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"Deposit Rate\",\n values.odepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.toggleOnUnit === true && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"On Units\",\n values.odepLogic.onUnits,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.showArea &&\n values.odepLogic.rateUOM ===\n \"Per Sq.ft\" && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"Area\",\n values.odepLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.odepLogic.rateUOM == \"Per Sq.ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.odepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.toggleStorage && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"No. of Months\",\n values.odepLogic.monthsCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {values.odepLogic.otherDepositName ==\n \"Other\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n
\n )}\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Other Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.otherDepositDetails).map(\n function (key, index1) {\n return this.state.otherDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToOther Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n \n {name.otherDepositName}\n {`(`}\n {name.depositNature} {`)`}\n {name.totalAmount || name.amount || \"-\"}\n {this.state.otherDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _odd =\n // this.state\n // .otherDepositDetails;\n // _odd[key].splice(index, 1);\n // this.setState({\n // otherDepositDetails: _odd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Other Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.otherDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n otherDepositDetailPopup(rent) {\n return this.otherDetailsPopup(rent);\n }\n otherDetailsPopup(rent) {\n console.log(rent);\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rent.otherDepositName !== \"Storage Deposit\" &&\n rent.otherDepositName !== \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName === \"Storage Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.rateUOM === \"Per Sq.ft\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName === \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")}{\" \"} */}\n {leaseDateFormat(name.dueDate)}\n {name.milestonePercent}{name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(OtherDepositDetails);\n","import React, { useState } from \"react\";\nimport { Document, Page, pdfjs } from \"react-pdf\";\npdfjs.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.js`;\n\nfunction PdfReader({ url, pageNumber }) {\n const [numPages, setNumPages] = useState(null);\n const [pageNumberView, setPageNumber] = useState(pageNumber);\n\n function onDocumentLoadSuccess({ numPages }) {\n setNumPages(numPages);\n if (pageNumberView < numPages) {\n setPageNumber(pageNumberView);\n }\n }\n function changePage(offset) {\n console.log(Number(pageNumberView) + offset);\n setPageNumber((pageNumberView) => Number(pageNumberView) + offset);\n }\n\n function previousPage() {\n changePage(-1);\n }\n\n function nextPage() {\n changePage(1);\n }\n return (\n
\n {/* \n \n \n

\n Page {pageNumber} of {numPages}\n

*/}\n \n \n {/* {Array.from(new Array(numPages), (el, index) => (\n \n ))} */}\n \n

\n Page {pageNumberView} of {numPages}\n

\n \n Previous\n \n = numPages}\n onClick={nextPage}\n >\n Next\n \n
\n );\n}\nexport { PdfReader };\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CommercialClauses extends React.Component {\n countError = \"\";\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n leaseUploadDocumentDate: \"\",\n redirect: false,\n isOpen: false,\n pageNo: \"\",\n documentUrl: \"\",\n commercialClausesDetails: [],\n commercialClauses: [],\n uploadedDocuments: [],\n uploadedDocumentNames: [],\n currentDocument: \"\",\n popupContentType: \"pdf\",\n popupContentTypeDescription: \"\",\n initialValues: {\n commercialDetails: {\n clauseName: \"\",\n details: \"\",\n documentName: \"\",\n pageNo: \"\",\n },\n },\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n constructor(props) {\n super(props);\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/commercial-clause/get-clauses`,{headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n commercialClauses: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n let athis = this;\n axios({\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-lease-commercial-clauses-details?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function(response){\n let data = response.data;\n for (let i = 0; i < data.commercialClausesDetails.length; i++) {\n const index = athis.state.commercialClauses.findIndex(\n (x) => x.clause_name === data.commercialClausesDetails[i].clauseName\n );\n console.log(index);\n if (index > -1) {\n athis.state.commercialClauses.splice(index, 1);\n }\n }\n for (let i = 0; i < data.lease_documents.length; i++) {\n athis.state.uploadedDocumentNames.push(\n data.lease_documents[i].leaseDocumentType + \"(\"+ data.lease_documents[i].leaseUploadDocumentDate +\")\"\n );\n }\n athis.setState({\n initialValues: data,\n commercialClausesDetails: data.commercialClausesDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_14: data.notes_14,\n documentUrl: data.url,\n pageNo: data.commercialClausesDetails.pageNo,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n uploadedDocuments: data.lease_documents,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.commercialDetails = {\n clauseName: \"\",\n details: \"\",\n documentName: \"\",\n pageNo: \"\",\n };\n\n athis.setState({\n initialValues: _intialValues,\n });\n }); \n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-commercial-clauses-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // for (let i = 0; i < data.commercialClausesDetails.length; i++) {\n // const index = this.state.commercialClauses.findIndex(\n // (x) => x.clause_name === data.commercialClausesDetails[i].clauseName\n // );\n // console.log(index);\n // if (index > -1) {\n // this.state.commercialClauses.splice(index, 1);\n // }\n // }\n // for (let i = 0; i < data.lease_documents.length; i++) {\n // this.state.uploadedDocumentNames.push(\n // data.lease_documents[i].leaseDocumentType + \"(\"+ data.lease_documents[i].leaseUploadDocumentDate +\")\"\n // );\n // }\n // this.setState({\n // initialValues: data,\n // commercialClausesDetails: data.commercialClausesDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_14: data.notes_14,\n // documentUrl: data.url,\n // pageNo: data.commercialClausesDetails.pageNo,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // uploadedDocuments: data.lease_documents,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.commercialDetails = {\n // clauseName: \"\",\n // details: \"\",\n // documentName: \"\",\n // pageNo: \"\",\n // };\n\n // this.setState({\n // initialValues: _intialValues,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n showDocumentDate(docType) {\n let obj = this.state.uploadedDocuments.find(\n (o) => o.leaseDocumentUrl === docType\n );\n if (obj !== undefined) {\n return leaseDateFormat(obj.leaseUploadDocumentDate);\n } else {\n return \"\";\n }\n }\n\n formatDate(date) {\n return leaseDateFormat(date);\n }\n\n addCommercialDetails = (values) => {\n //resetForm();\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n\n let docSelected = this.state.uploadedDocuments.find((obj) => obj.leaseDocumentUrl === values.commercialDetails.document )\n\n //console.log(docSelected, \"doc selected..\") \n values.commercialDetails.document = docSelected.leaseDocumentType; \n values.commercialDetails.documentUrl = docSelected.leaseDocumentUrl; \n console.log(values.commercialDetails, \"==== wel wlw\")\n\n var _commercialClausesDetails = this.state.commercialClausesDetails;\n console.log(_commercialClausesDetails, \"_commercialClausesDetails\" )\n _commercialClausesDetails.push(values.commercialDetails);\n console.log(_commercialClausesDetails, \"needed\");\n this.setState({\n commercialClausesDetails: _commercialClausesDetails,\n });\n const index = this.state.commercialClauses.findIndex(\n (x) => x.clause_name === values.commercialDetails.clauseName\n );\n console.log(index);\n if (index > -1) {\n console.log(\"inn\");\n this.state.commercialClauses.splice(index, 1);\n }\n this.setState({});\n\n return true;\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n if (this.state.commercialClausesDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.commercialClausesDetails =\n this.state.commercialClausesDetails;\n console.log(values, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-commercial-clauses-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n {this.state.commercialClauses.map((obj) => (\n \n {obj.clause_name}\n \n ))}\n \n {this.validator.message(\n \"Clause Name\",\n values.commercialDetails.clauseName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Details\",\n values.commercialDetails.details,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Document List\",\n values.commercialDetails.document,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.pageNo = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"page No\",\n values.commercialDetails.pageNo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n Notes/Remarks\n \n
\n\n
\n
\n {\n if (this.addCommercialDetails(values)) {\n resetForm();\n this.validator.hideMessages();\n }\n }}\n >\n Add\n \n \n Reset\n \n
\n {this.mainFormValidator.message(\n \"Commercial Clauses\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.commercialClausesDetails.map(function (\n name,\n index\n ) {\n\n return (\n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#Clause NameDocument NameDocument DateDocument Page NumberInformation\n Action\n
{index + 1}\n {\n e.preventDefault();\n this.state.pageNo = name.pageNo;\n let obj =\n this.state.uploadedDocuments.find(\n (o) =>\n o.leaseDocumentType ===\n name.document && o.leaseDocumentUrl === name.documentUrl\n );\n this.state.currentDocument = obj.url;\n this.state.popupContentType = obj.uploadDocType;\n this.state.popupContentTypeDescription = name.details;\n //console.log(obj);\n this.openModal();\n }}\n >\n {name.clauseName}\n \n {name.document}\n {this.showDocumentDate(name.documentUrl)}\n {name.pageNo}{name.pageNo}\n {\n var _docs =\n this.state.commercialClausesDetails;\n _docs.splice(index, 1);\n console.log(_docs, \"new array\");\n this.setState({\n commercialClausesDetails: _docs,\n });\n }}\n >\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n {this.state.popupContentType == 'pdf' ? (\n \n ) : (\n
\n {this.state.popupContentTypeDescription}\n
\n )\n }\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n )}\n \n
\n
\n \n \n );\n }\n}\n\nexport default withRouter(CommercialClauses);\n","import React, { useState } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherClauses extends React.Component {\n countError = \"\";\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n leaseUploadDocumentDate: \"\",\n redirect: false,\n isOpen: false,\n pageNo: 1,\n documentUrl: \"\",\n otherClausesDetails: [],\n otherClauses: [],\n uploadedDocuments: [],\n uploadedDocumentNames: [],\n currentDocument: \"\",\n popupContentType: \"pdf\",\n popupContentTypeDescription: \"\",\n initialValues: {\n otherDetails: {\n clauseName: \"\",\n details: \"\",\n document: \"\",\n pageNo: \"\",\n },\n },\n };\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n constructor(props) {\n super(props);\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showDocumentDate(docType) {\n let obj = this.state.uploadedDocuments.find(\n (o) => o.leaseDocumentUrl === docType\n );\n if (obj !== undefined) {\n return leaseDateFormat(obj.leaseUploadDocumentDate);\n } else {\n return \"\";\n }\n }\n\n formatDate(date) {\n return leaseDateFormat(date);\n }\n\n\n addOtherDetails = (values) => {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n\n let docSelected = this.state.uploadedDocuments.find((obj) => obj.leaseDocumentUrl === values.otherDetails.document )\n \n values.otherDetails.document = docSelected.leaseDocumentType; \n values.otherDetails.documentUrl = docSelected.leaseDocumentUrl; \n \n var _otherClausesDetails = this.state.otherClausesDetails;\n _otherClausesDetails.push(values.otherDetails);\n this.setState({\n otherClausesDetails: _otherClausesDetails,\n });\n const index = this.state.otherClauses.findIndex(\n (x) => x.clause_name === values.otherDetails.clauseName\n );\n if (index > -1) {\n this.state.otherClauses.splice(index, 1);\n }\n this.setState({});\n console.log(this.state.otherClausesDetails, \"needed\");\n\n return true;\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/legal-clause/get-clauses`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n otherClauses: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n let athis = this;\n axios({\n url: `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-clauses-details?id=${this.props.match.params.id}`,\n method: \"GET\",\n }).then(function (response) {\n let data = response.data; \n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n for (let i = 0; i < data.lease_documents.length; i++) {\n athis.state.uploadedDocumentNames.push(\n data.lease_documents[i].leaseDocumentType\n );\n }\n for (let i = 0; i < data.otherClausesDetails.length; i++) {\n const index = athis.state.otherClauses.findIndex(\n (x) => x.clause_name === data.otherClausesDetails[i].clauseName\n );\n if (index > -1) {\n athis.state.otherClauses.splice(index, 1);\n }\n }\n athis.setState({\n initialValues: data,\n otherClausesDetails: data.otherClausesDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_15: data.notes_15,\n pageNo: data.otherClausesDetails.pageNo,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n uploadedDocuments: data.lease_documents,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.otherDetails = {\n clauseName: \"\",\n details: \"\",\n document: \"\",\n pageNo: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n }); \n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-clauses-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // for (let i = 0; i < data.lease_documents.length; i++) {\n // this.state.uploadedDocumentNames.push(\n // data.lease_documents[i].leaseDocumentType\n // );\n // }\n // for (let i = 0; i < data.otherClausesDetails.length; i++) {\n // const index = this.state.otherClauses.findIndex(\n // (x) => x.clause_name === data.otherClausesDetails[i].clauseName\n // );\n // if (index > -1) {\n // this.state.otherClauses.splice(index, 1);\n // }\n // }\n // this.setState({\n // initialValues: data,\n // otherClausesDetails: data.otherClausesDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_15: data.notes_15,\n // pageNo: data.otherClausesDetails.pageNo,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // uploadedDocuments: data.lease_documents,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.otherDetails = {\n // clauseName: \"\",\n // details: \"\",\n // document: \"\",\n // pageNo: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n if (this.state.otherClausesDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.otherClausesDetails = this.state.otherClausesDetails;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-clauses-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Clause Name\",\n values.otherDetails.clauseName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Details\",\n values.otherDetails.details,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Document List\",\n values.otherDetails.document,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.pageNo = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Page No\",\n values.otherDetails.pageNo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n Notes/Remarks\n \n
\n\n
\n
\n {\n if (this.addOtherDetails(values)) {\n resetForm();\n this.validator.hideMessages();\n }\n }}\n >\n Add\n \n \n Reset\n \n
\n {this.mainFormValidator.message(\n \"Other Clauses\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.otherClausesDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#Clause NameDocument NameDocument DateDocument Page NumberInformation\n Action\n
{index + 1}\n {\n e.preventDefault();\n this.state.pageNo = name.pageNo;\n let obj =\n this.state.uploadedDocuments.find(\n (o) =>\n o.leaseDocumentType ===\n name.document && o.leaseDocumentUrl === name.documentUrl\n );\n this.state.currentDocument = obj.url;\n this.state.popupContentType = obj.uploadDocType;\n this.state.popupContentTypeDescription = name.details;\n this.openModal();\n }}\n >\n {name.clauseName}\n \n {name.document}\n {this.showDocumentDate(name.documentUrl)}\n {name.pageNo}{name.pageNo}\n {\n var _docs =\n this.state.otherClausesDetails;\n _docs.splice(index, 1);\n console.log(_docs, \"new array\");\n this.setState({\n otherClausesDetails: _docs,\n });\n }}\n >\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n {this.state.popupContentType == 'pdf' ? (\n \n ) : (\n
\n {this.state.popupContentTypeDescription}\n
\n )\n }\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n \n \n )}\n \n
\n
\n \n \n );\n }\n}\n\nexport default withRouter(OtherClauses);\n","import React from \"react\";\nimport { Formik, Form, Field } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { faChevronRight, faPlus, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport CreatableSelect from \"react-select/creatable\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n// import { PdfReader } from \"../../utils/DocumentViewer\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nvar thisContext = {};\nvar formSubmitted = false;\nclass UploadDocument extends React.Component {\n state = {\n showLoader: false,\n redirect: false,\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n popupContent: \"\",\n messsagePopup: false,\n fileSelected: false,\n uploadedDocuments: [],\n currentDocument: \"\",\n initialValues: {\n leaseDocumentType: \"\",\n leaseDocumentUrl: \"\",\n leaseUploadDocumentDate: \"\",\n leaseUploadDocumenURL: \"\",\n uploadDocType: \"pdf\",\n },\n pageNo: 1,\n documentTable: [],\n documentNames: [\n // \"Commercial Approval Note\",\n // \"Expression of Intent\",\n // \"Letter of Intent\",\n // \"Term Sheet\",\n // \"Agreement to Lease\",\n // \"Agreement to License\",\n // \"Lease Deed\",\n // \"Leave and License Agreement\",\n // \"Atonement Deed\"\n ],\n documentNamesAfterAdd: [],\n storageType: 's3',\n showUploadDocumentsError: false,\n fileError:''\n };\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.myInputRef = React.createRef();\n\n this.getInputValue = this.getInputValue.bind(this);\n\n thisContext = this;\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n getInputValue() {\n const inputValue = this.myInputRef.current.value;\n\n console.log(inputValue, \"===\", this.myInputRef);\n }\n componentDidMount() {\n\n let athis=this;\n axios({\n url:`${apiUrl.apiUrl.url}/create-lease/fetch-document?id=${this.props.match.params.id}`,\n method: 'GET',\n }).then(function(response){\n let data = response.data;\n athis.setState({ documentNames: data.documentType });\n\n for (let i = 0; i < data.data.length; i++) {\n const index = athis.state.documentNames.indexOf(\n data.data[i].leaseDocumentType\n );\n if (index > -1) {\n //athis.state.documentNames.splice(index, 1);\n }\n }\n athis.state.documentTable = data.data;\n //console.log(athis.state.documentTable);\n let showFileUpload = false;\n if (data.leaseDocumentType != null) {\n showFileUpload = true;\n }\n athis.setState({\n initialValues: {\n leaseCreationDate: data.leaseCreationDate,\n leaseDocumentType: data.leaseDocumentType,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n leaseUploadDocumenURL: data.leaseUploadDocumenURL,\n },\n showUploadDocument: showFileUpload,\n storageType: data.additionalDetails.fileStorage\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-document?id=${this.props.match.params.id}`,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({ documentNames: data.documentType });\n\n // for (let i = 0; i < data.data.length; i++) {\n // const index = this.state.documentNames.indexOf(\n // data.data[i].leaseDocumentType\n // );\n // if (index > -1) {\n // //this.state.documentNames.splice(index, 1);\n // }\n // }\n // this.state.documentTable = data.data;\n // console.log(this.state.documentTable);\n // let showFileUpload = false;\n // if (data.leaseDocumentType != null) {\n // showFileUpload = true;\n // }\n // this.setState({\n // initialValues: {\n // leaseCreationDate: data.leaseCreationDate,\n // leaseDocumentType: data.leaseDocumentType,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // leaseUploadDocumenURL: data.leaseUploadDocumenURL,\n // },\n // showUploadDocument: showFileUpload,\n // storageType: data.additionalDetails.fileStorage\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n changeDocumentName(e) {\n var val = e.value; //e.target.value\n this.state.documentType = val;\n let timestamp = Date.now(); // Returns current timestamp in milliseconds\n const res = timestamp + \"-\" + val.replace(/ /g, \"-\").toLowerCase() + \".pdf\";\n this.state.fileName = res;\n console.log(this.state.fileName, \"FN\");\n if (val !== \"\") {\n this.setState({\n showUploadDocument: true,\n });\n } else {\n this.setState({\n showUploadDocument: false,\n });\n }\n }\n\n uploadLocalFile = (e) => {\n e.preventDefault();\n\n // Allowed file extensions\n const allowedExtensions = [\"pdf\", \"xls\", \"xlsx\"];\n let extension = e.target.files[0].name.split('.').pop().toLowerCase();\n\n // Check if the extension is valid\n if (!allowedExtensions.includes(extension)) {\n this.setState({ fileError: \"Invalid file type! Allowed: PDF, XLS, XLSX\" });\n e.target.value = \"\";\n return;\n } else {\n this.setState({ fileError: \"\" });\n }\n\n const formData = new FormData();\n formData.append(\n 'imageFile', e.target.files[0]\n );\n\n formData.append(\n 'file_name', this.props.match.params.id + '_' + this.state.fileName\n );\n\n try {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/upload-document/save`,\n data: formData,\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }).then(function (response) {\n thisContext.setState({\n fileSelected: true,\n showUploadDocumentsError: false\n });\n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n\n } catch (error) {\n console.error('Error uploading file:', error);\n }\n }\n\n handleFileSelect = (event) => {\n if (event.target.files.length > 0) {\n\n const file = event.target.files[0];\n const allowedExtensions = [\"pdf\", \"xls\", \"xlsx\"];\n const extension = file.name.split('.').pop().toLowerCase();\n\n if(!allowedExtensions.includes(extension)){\n thisContext.setState({ fileError: \"Invalid file type! Allowed: PDF, XLS, XLSX\" });\n event.target.value = \"\";\n return;\n }\n\n thisContext.setState({\n fileSelected: true,\n showUploadDocumentsError: false\n });\n }\n };\n\n onUploadStart(file, next) {\n console.log(this, \"on upload start\", file, \" === \", thisContext);\n thisContext.setState({ fileSelected: true, showLoader: true });\n thisContext.setState({});\n next(file);\n }\n\n onUploadError() {\n thisContext.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong!\",\n });\n // alert(\"Something Went Wrong\");\n }\n\n onUploadFinish = (e) => {\n console.log(this.state.initialValues, \"intiali valuess before save\");\n\n var values = {\n leaseDocument: {\n leaseDocumentType: this.state.initialValues.leaseDocumentType,\n leaseUploadDocumenURL: this.state.initialValues.leaseUploadDocumenURL,\n uploadDocType: this.state.initialValues.uploadDocType || \"pdf\",\n leaseUploadDocumentDate: this.state.initialValues.leaseUploadDocumentDate,\n leaseDocumentUrl: this.state.storageType == 's3' ? fileUploadPath() + this.props.match.params.id + \"/\" + this.state.fileName : this.props.match.params.id + '_' + this.state.fileName,\n storageType: this.state.storageType\n },\n };\n\n if (this.state.fileSelected === false) {\n values[\"leaseDocument\"][\"leaseDocumentUrl\"] = \"\";\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/upload-document?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n console.log(response.data.data);\n self.state.fileSelected = false;\n if (!response.data.success) {\n } else {\n self.state.documentTable = response.data.data;\n formSubmitted = false;\n self.setState({});\n }\n });\n this.setState({\n messsagePopup: true,\n popupContent: \"File Successfully Uploaded\",\n showLoader: false,\n });\n // alert(\"File Successfully Uploaded\");\n };\n\n handleUpload(e) {\n if (this.state.storageType == 's3') {\n this.uploader.uploadFile();\n setTimeout(function () {\n if (thisContext.state.fileSelected === false) {\n thisContext.onUploadFinish(e);\n } else {\n const index = thisContext.state.documentNames.indexOf(\n thisContext.state.initialValues.leaseDocumentType\n );\n if (index > -1) {\n thisContext.state.documentNames.splice(index, 1);\n }\n thisContext.state.showUploadDocument = false;\n }\n thisContext.setState({});\n }, 200);\n } else {\n thisContext.onUploadFinish(e);\n thisContext.setState({});\n }\n\n\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, popupContent: \"\" });\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n\n this.formikProps = actions;\n\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showLoader && (\n
\n
\n
\n
\n
\n )}\n
\n \n
\n {\n this.state.initialValues.leaseDocumentType = e.value;\n this.changeDocumentName(e);\n }}\n value={{\n label: this.state.initialValues.leaseDocumentType,\n value: this.state.initialValues.leaseDocumentType,\n }}\n options={this.state.documentNames.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"Lease Document Name\",\n this.state.initialValues.leaseDocumentType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumentDate =\n e.target.value;\n }}\n />\n {this.validator.message(\n \"lease Document Date\",\n this.state.initialValues.leaseUploadDocumentDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {this.state.showUploadDocument && (\n <>\n
\n \n
\n {\n console.log(e.target.value, \"e checking...\");\n this.state.initialValues.uploadDocType = e.target.value;\n console.log(e.target.value, \"checking xls or pdf\");\n\n var filename = this.state.fileName;\n if (e.target.value === \"pdf\") {\n filename = filename.replace(/.pdf/g, \"\").toLowerCase();\n filename = filename.replace(/.xls/g, \"\").toLowerCase() + \".pdf\";\n } else {\n filename = filename.replace(/.pdf/g, \"\").toLowerCase() + \".xls\";\n }\n console.log(filename, \"file name\");\n this.setState({ fileName: filename });\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {this.state.storageType == 's3' ? (\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => {\n this.uploadInput = cmp;\n if (this.uploadInput) {\n this.uploadInput.addEventListener('change', this.handleFileSelect);\n }\n }}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n />\n ) : (\n {\n this.uploadLocalFile(e);\n }}\n />\n )}\n {this.validator.message(\n \"Document\",\n this.state.fileName,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n {this.state.fileError && (\n

{this.state.fileError}

\n )}\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumenURL = e.target.value;\n this.state.showUploadDocumentsError = false;\n handleChange(e);\n this.setState({});\n }}\n />\n {this.validator.message(\n \"lease Document URL\",\n this.state.initialValues.leaseUploadDocumenURL,\n \"url\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {this.state.showUploadDocumentsError && (\n
\n \n
\n )}\n
\n
\n {\n if (\n (typeof this.state.initialValues.leaseUploadDocumenURL === 'undefined' ||\n this.state.initialValues.leaseUploadDocumenURL === '') &&\n this.state.fileSelected === false\n ) {\n this.setState({ showUploadDocumentsError: true });\n return false;\n }\n\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (!formSubmitted) {\n this.handleUpload(e);\n formSubmitted = true;\n }\n }}\n >\n Add\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.documentTable.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n );\n },\n this)}\n \n
S.NoDocument NameDocument DateStorage Link\n Action\n
{index + 1}\n {\n e.preventDefault();\n console.log(this.state.documentTable[index], \"oowo\")\n // let obj = this.state.documentTable.find(\n // (o) =>\n // o.leaseDocumentType ===\n // name.leaseDocumentType\n // );\n let obj = this.state.documentTable[index];\n this.state.currentDocument = obj.url;\n console.log(obj.url, \"obj.url\");\n if (\n obj.url != \"\" &&\n obj.uploadDocType != \"xls\"\n ) {\n this.openModal();\n } else {\n window.location.href = obj.url;\n }\n }}\n >\n {name.leaseDocumentType}\n \n \n {leaseDateFormat(\n name.leaseUploadDocumentDate\n )}\n \n {typeof name.leaseUploadDocumenURL !=\n \"undefined\" && (\n \n View\n \n )}\n \n {\n let values = {\n leaseDocumentType:\n name.leaseDocumentType,\n leaseDocumentUrl: name.leaseDocumentUrl\n };\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/delete-document?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n console.log(response);\n if (!response.data.success) {\n } else {\n self.state.documentTable =\n response.data.data;\n self.state.documentNames.push(\n name.leaseDocumentType\n );\n self.setState({});\n self.setState({\n messsagePopup: true,\n popupContent:\n \"Data Deleted Successfully!\",\n });\n // alert(\"Data Deleted Successfully\");\n }\n });\n }}\n >\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n \n )}\n \n \n
\n
\n \n );\n }\n}\n\nexport default withRouter(UploadDocument);\n","import React, { useState, useEffect } from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCommentDots } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport apiUrl from \"../apiUrlConstant\";\n\nvar headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseDetailsPopup extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n IsModalOpened: this.props.IsModalOpened,\n onCloseModal: this.props.onCloseModal,\n leaseId: this.props.leaseId,\n costCenter:this.props.costCenter,\n leaseData: {},\n popupHeading: \"\",\n };\n }\n componentDidMount() {\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/lease-details-view?leaseId=${this.state.leaseId}`, \n {\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n },\n }\n ).then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseData: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n amendNumber(str) {\n return str.split(\"-\").pop();\n }\n setPopupHeading() {\n if (\n this.state.leaseData.type == \"\" ||\n this.state.leaseData.type == \"original\"\n ) {\n return \"Create Lease\";\n } else if (this.state.leaseData.type == \"amend\") {\n return \"Amend Lease\";\n } else if (this.state.leaseData.type == \"extend\") {\n return \"Extend Lease\";\n } else if (this.state.leaseData.type == \"renew\") {\n return \"Renew Lease\";\n } else if (this.state.leaseData.type == \"terminate\") {\n return \"Terminate Lease\";\n } else {\n return \"Create Lease\";\n }\n }\n render() {\n return (\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Activity: {this.setPopupHeading()}
  • \n
\n
\n
\n
\n
\n
\n \n
\n \n {this.state.leaseData.type == \"\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"original\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"amend\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.leaseData.ammen_screens.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n );\n },\n this)}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"extend\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"renew\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"terminated\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n
ActivityCreate Lease
Lease Number{this.state.leaseData.lease_code}
cost CEnter{this.state.leaseData.cost_center}
Lease Created By{this.state.leaseData.created_by}
Lease Creation Date & Time{this.state.leaseData.created_at}
Lease Submitted By{this.state.leaseData.submitted_by}
Lease Submitted Date & Time{this.state.leaseData.submitted_at}
Lease Approved By{this.state.leaseData.approved_by}
Lease Approval Date & Time{this.state.leaseData.approved_at}
ActivityCreate Lease
Lease Number{this.state.leaseData.lease_code}
Lease Created By{this.state.leaseData.created_by}
Lease Creation Date & Time{this.state.leaseData.created_at}
Lease Submitted By{this.state.leaseData.submitted_by}
Lease Submitted Date & Time{this.state.leaseData.submitted_at}
Lease Approved By{this.state.leaseData.approved_by}
Lease Approval Date & Time{this.state.leaseData.approved_at}
ActivityAmend Lease
Amendment No\n {this.amendNumber(this.state.leaseData.lease_code)}\n
Original Lease Number{this.state.leaseData.original_code}
Amended Lease No{this.state.leaseData.lease_code}
Lease Amended By{this.state.leaseData.created_by}
Lease Amend Date & Time{this.state.leaseData.created_at}
Amended Screen {index + 1}{name}
Lease Amend Submitted By{this.state.leaseData.submitted_by}
Lease Amend Submit Date & Time{this.state.leaseData.submitted_at}
Lease Amend Approved By{this.state.leaseData.approved_by}
Lease Amend Approved Date & Time{this.state.leaseData.approved_at}
ActivityExtend Lease
Extension No{this.state.leaseData.lease_code}
Original Lease Number{this.state.leaseData.original_code}
Extended Lease No{this.state.leaseData.lease_code}
Lease Extended By{this.state.leaseData.created_by}
Lease Extension Date & Time{this.state.leaseData.created_at}
Lease Extend Submitted By{this.state.leaseData.submitted_by}
Lease Extend Submit Date & Time{this.state.leaseData.submitted_at}
Lease Extend Approved By{this.state.leaseData.approved_by}
Lease Extend Approved Date & Time{this.state.leaseData.approved_at}
ActivityRenew Lease
Renewal No{this.state.leaseData.lease_code}
Original Lease Number{this.state.original_code}
Renewed Lease No{this.state.leaseData.lease_code}
Lease Renewed By{this.state.leaseData.created_by}
Lease Renew Date & Time{this.state.leaseData.created_at}
Lease Renew Submitted By{this.state.leaseData.submitted_by}
Lease Renew Submit Date & Time{this.state.leaseData.submitted_at}
Lease Renew Approved By{this.state.leaseData.approved_by}
Lease Renew Approved Date & Time{this.state.leaseData.approved_at}
ActivityTerminate Lease
Original Lease Number{this.state.leaseData.original_code}
Last Lease Number{this.state.leaseData.lease_code}
Lease Terminated By{this.state.leaseData.terminated_by}
Lease Terminate Date & Time{this.state.leaseData.terminated_at}
Lease Terminate Submitted By{this.state.leaseData.submitted_by}
\n Lease Terminate Submit Date & Time\n {this.state.leaseData.submitted_at}
Lease Terminate Approved By{this.state.leaseData.approved_by}
\n Lease Terminate Approved Date & Time\n {this.state.leaseData.approved_at}
\n
\n
\n \n
\n
\n
\n );\n }\n}\n\nexport default withRouter(LeaseDetailsPopup);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faUserCircle,\n faSignOutAlt,\n faFileAlt,\n faCalendarAlt,\n faClock,\n faRupeeSign,\n faChartLine,\n faVectorSquare,\n faBuilding,\n faExpandAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { ChartPopup } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\nclass AmendLeaseView extends React.Component {\n state = {\n redirect: false,\n leaseId: this.props.leaseId,\n leaseCode: this.props.leaseCode,\n costCenter: this.props.costCenter,\n\n amendMenus: this.props.amendMenus,\n amendleaseId: '',\n fileName: \"-Amend-Doc.pdf\",\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n }\n\n onUploadError() {\n this.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong!\"\n });\n // alert(\"Something Went Wrong\");\n }\n\n hidePopup() {\n this.props.setShow(false);\n }\n\n onUploadFinish = (e) => {\n var values = {\n leaseDocument: {\n leaseDocumentType: \"Amend Document\",\n leaseUploadDocumentDate: \"2022-05-05\",\n leaseDocumentUrl:\n fileUploadPath() +\n this.state.leaseId +\n \"/\" +\n this.state.fileName,\n },\n };\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/upload-document?lease_id=${this.state.amendleaseId}`,\n\n data: values,\n }).then(function (response) {\n console.log(response.data.data);\n if (!response.data.success) {\n } else {\n self.state.documentTable = response.data.data;\n self.setState({});\n }\n });\n this.setState({\n messsagePopup: true,\n popupContent: \"File Successfully Uploaded\"\n });\n // alert(\"File Successfully Uploaded\");\n };\n handleUpload() {\n //this.uploader.uploadFile();\n // const index = this.state.documentNames.indexOf(\n // this.state.initialValues.leaseDocumentType\n // );\n // if (index > -1) {\n // this.state.documentNames.splice(index, 1);\n // }\n // this.state.showUploadDocument = false;\n // this.setState({});\n }\n\n render() {\n return (\n
\n\n\n\n {\n console.log(values, \"valuee....\");\n var self = this;\n if(! self.props.formSubmitted ) {\n self.props.setFormSubmitted(true);\n \n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/amend-lease?leaseId=${this.state.leaseId}`,\n\n data: { checkedItems: values.option },\n }).then(function (response) {\n self.props.setFormSubmitted(false);\n if (!response.data.success) {\n // alert(\"Something went wrong!!\");\n //setpopupMessageContent('Something went wrong.');\n // console.log(popupMessageContent);\n //setpopupalertMessage(true);\n } else {\n self.setState({ amendleaseId: response.data.id, fileName: response.data.id + \"-Amend-Doc.pdf\" });\n self.uploader.uploadFile();\n self.hidePopup();\n // alert(\"Details Stored successfully.\");\n // handleClose(false);\n self.props.setpopupMessageContent('Details Stored successfully.');\n self.props.setpopupalertMessage(true);\n setTimeout(function () {\n self.props.history.push(response.data.link);\n }, 2000);\n }\n });\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n \n {this.state.leaseCode}\n \n \n \n \n Cost Center\n \n \n {this.state.costCenter}\n \n \n \n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n Please select which screens to be amended\n \n
\n
\n \n\n {this.state.amendMenus.length > 0 &&\n this.state.amendMenus.map((pageItem, obj) => (\n
\n
\n \n \n \n \n \n \n \n \n {Object.keys(pageItem.list).map(\n (item) => (\n \n \n\n \n \n )\n )}\n \n
{pageItem.page}Amend
\n
\n {pageItem.list[item][\"page\"]}\n
\n
\n {pageItem.list[item][\n \"canAmend\"\n ] == true && (\n \n )}\n\n {pageItem.list[item][\n \"canAmend\"\n ] == false && \"N/A\"}\n
\n
\n\n
\n ))}\n
\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => (this.uploadInput = cmp)}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n />\n\n
\n\n
\n \n
\n
\n
\n
\n
\n )}\n \n\n\n
\n );\n }\n}\n\nexport default withRouter(AmendLeaseView);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faTimes, faEye } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { ChartPopup } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nimport Select from \"react-select\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nvar today = new Date(),\n date =\n today.getDate() + \"/\" + today.getMonth() + 1 + \"/\" + today.getFullYear();\n\nclass TerminateLease extends React.Component {\n state = {\n terminationEffectiveDate: new Date(),\n effectiveDate: new Date(),\n redirect: false,\n changeLandlord: false,\n delete: false,\n additionalDetails: [],\n leaseId: this.props.leaseId,\n leaseCode: this.props.leaseCode,\n costCenter: this.props.costCenter,\n fileName: \"Termination-Doc.pdf\",\n date: \"01/01/2022\",\n initialValues: {\n landlordId: [],\n },\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n //this.handleTypeChange = this.handleTypeChange.bind(this);\n }\n\n componentDidMount() {\n var date = new Date();\n var formatedDate = `${date.getFullYear() + 1\n }-${date.getMonth()}-${date.getDate()}`;\n this.setState({ terminationEffectiveDate: formatedDate }, () => {\n console.log(this.state.terminationEffectiveDate);\n });\n console.log(formatedDate);\n }\n\n\n // onUploadError() {\n // this.setState({\n // messsagePopup: true,\n // popupContent: \"Something Went Wrong!\",\n // });\n // console.log(\"uploading error....\");\n // // alert(\"Something Went Wrong\");\n // }\n\n hidePopup() {\n this.props.setShow(false);\n }\n\n changeLandlord = (newValue, existing) => {\n var currentMapping = this.state.currentLandlordMapping;\n currentMapping[existing]['value'] = newValue.value;\n currentMapping[existing]['label'] = newValue.label;\n this.setState({ currentLandlordMapping: currentMapping });\n // console.log(newValue, \"newValue\");\n // this.state.landloardSelected = [];\n // this.state.initialValues.landlordId = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.landlordId.push(newValue[i].value);\n // this.state.landloardSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n // this.setState({});\n // console.log(this.state.landloardSelected, \"this.state.landloardSelected\");\n };\n\n handleTypeChange = (e) => {\n if (e.target.value !== \"landlord_termination\") {\n this.setState({\n changeLandlord: false,\n termination_type: e.target.value,\n });\n }\n this.setState({});\n console.log(this.state.termination_type, \"termination_type\");\n\n //this.setState({ fruit: e.target.value });\n };\n\n redirectAfterSave = () => {\n this.setState({ delete: false });\n };\n\n redirectToTerminate = () => {\n var value = this.state.values;\n\n this.redirectAfterSave();\n\n var self = this;\n if (value.termination_type == \"landlord_termination\") {\n console.log(\"in if\")\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/get-lease-landloard-details?leaseId=${this.state.leaseId}`,\n // url: `${apiUrl.apiUrl.url}/lease-view/get-lease-landloard-details?leaseId=${this.state.costCenter}`,\n }).then(function (response) {\n if (response.data.success) {\n self.state.initialValues.landlordId =\n response.data.additionalDetails.landlordIds;\n self.setState({\n changeLandlord: true,\n additionalDetails: response.data.additionalDetails,\n landloardSelected: response.data.additionalDetails.currentLandlord,\n currentLandlordMapping: response.data.additionalDetails.currentLandlordMapping,\n });\n }\n });\n } else {\n console.log(\"in else\")\n this.uploader.uploadFile();\n }\n };\n\n onUploadFinish = (e) => {\n let fileName =\n fileUploadPath() +\n this.state.leaseId +\n \"/\" +\n this.state.fileName;\n var initialValuesArr = this.state.initialValues;\n initialValuesArr[\"document\"] = fileName;\n initialValuesArr[\"effectiveDate\"] = this.state.effectiveDate; //initialValuesArr[\"effectiveDate\"];\n initialValuesArr[\"termination_settlement\"] =\n initialValuesArr[\"termination_settlement\"];\n initialValuesArr[\"termination_type\"] = initialValuesArr[\"termination_type\"];\n initialValuesArr[\"remarks\"] = initialValuesArr[\"remarks\"];\n initialValuesArr[\"landlordId\"] = initialValuesArr[\"landlordId\"];\n initialValuesArr['landlordMapping'] = this.state.currentLandlordMapping;\n console.log(\"here159\")\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/terminate-lease?leaseId=${this.state.leaseId}`,\n // url: `${apiUrl.apiUrl.url}/lease-view/terminate-lease?leaseId=${this.state.CostCenter}`,\n data: initialValuesArr,\n }).then(function (response) {\n if (!response.data.success) {\n self.props.setpopupMessageContent(\"Something went wrong.\");\n self.props.setpopupalertMessage(true);\n } else {\n self.hidePopup();\n self.props.setpopupMessageContent(\"Details Stored successfully.\");\n self.props.setpopupalertMessage(true);\n setTimeout(function () {\n self.props.history.push(response.data.link);\n }, 2000);\n if (typeof initialValuesArr[\"termination_type\"] == \"undefined\" || initialValuesArr[\"termination_type\"] == \"\" || initialValuesArr[\"termination_type\"] == \"normal_termination\") {\n self.props.ths.resetCounter();\n self.props.ths.loadLeaseCountStatuswise();\n }\n }\n });\n };\n render() {\n return (\n
\n {\n console.log(values, \"valuee....\");\n var self = this;\n this.state.initialValues = values;\n\n console.log(this.state.fileName, \"this.state.fileName\");\n\n\n this.setState({ delete: true, values: values });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n \n {this.state.leaseCode}\n \n \n \n \n Cost Center\n \n \n {this.state.costCenter}\n \n \n \n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n
\n {\n // setTerminationSettlement(\n // e.target.value\n // ); \n this.handleTypeChange(e);\n handleChange(e);\n }}\n >\n {/* //
onChange={this.handleTypeChange} */}\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {(values.termination_type == \"normal_termination\" ||\n typeof values.termination_type == \"undefined\" ||\n values.termination_type == \"\") && (\n \n \n \n \n \n )}\n \n
SectionDetailsRemarks
Effective Date of Termination\n \n this.setState({ effectiveDate: date })\n }\n //onBlur={this.handleCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n //showMonthYearPicker\n selected={this.state.effectiveDate}\n maxDate={new Date()}\n //onCalendarClose={this.handleCalenderOnBlur}\n />\n {/* {\n handleChange(e);\n }}\n /> */}\n -
\n Enable settlement billing post Termination Date\n \n {\n // setTerminationSettlement(\n // e.target.value\n // );\n handleChange(e);\n }}\n className=\"sameAs\"\n />\n -
Termination Basis Document\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => (this.uploadInput = cmp)}\n autoUpload={false}\n ref={(uploader) => {\n console.log(\"uploaded click\", uploader);\n this.uploader = uploader;\n }}\n />\n \n {\n //setRemarks(e.target.value);\n handleChange(e);\n }}\n />\n
\n Change unit status to Vacant in Unit Master\n \n {\n //setUnitStatus(e.target.value);\n handleChange(e);\n }}\n />\n -
\n
\n
\n\n {!this.state.changeLandlord && (\n
\n \n
\n )}\n
\n
\n
\n \n )}\n \n\n {this.state.changeLandlord && (\n {\n console.log(values, \"valuee....\", this.state.initialValues);\n //var self = this;\n //this.state.initialValues = values;\n this.uploader.uploadFile();\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n\n {this.state.additionalDetails.currentLandlord.map((obj) => (\n \n \n \n \n ))}\n\n\n \n
Old LandlordNew Landlord
{obj.label} {\n this.changeLandlord(e, obj.value);\n //handleChange(e);\n }}\n value={{\n label: this.state.currentLandlordMapping[obj.value]['label'],\n value: this.state.currentLandlordMapping[obj.value]['value'],\n }}\n options={this.state.additionalDetails.landlordList.map(\n (item) => ({\n label: item.value,\n value: item.id,\n })\n )}\n />\n
\n
\n
\n\n
\n {/* */}\n \n {/* */}\n
\n
\n
\n
\n
\n )}\n \n )}\n\n \n {(close) => (\n
\n \"Are you sure to delete this item??\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n );\n }\n}\n\nexport default withRouter(TerminateLease);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faTimes, faEye } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { ChartPopup } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nimport Select from \"react-select\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nvar today = new Date(),\n date =\n today.getDate() + \"/\" + today.getMonth() + 1 + \"/\" + today.getFullYear();\n\nclass MoreInfoComponent extends React.Component {\n state = {\n terminationEffectiveDate: new Date(),\n effectiveDate: new Date(),\n redirect: false,\n changeLandlord: false,\n delete: false,\n additionalDetails: [],\n leaseId: this.props.leaseId,\n leaseCode: this.props.leaseCode,\n costCenter: this.props.costCenter,\n marque_status: this.props.marqueStatus,\n dispute_status: this.props.desputeStatus,\n initialValues: {\n landlordId: [],\n },\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n //this.handleTypeChange = this.handleTypeChange.bind(this);\n }\n\n componentDidMount() {\n var date = new Date();\n var formatedDate = `${date.getFullYear() + 1\n }-${date.getMonth()}-${date.getDate()}`;\n this.setState({ terminationEffectiveDate: formatedDate }, () => {\n console.log(this.state.terminationEffectiveDate);\n });\n console.log(formatedDate);\n }\n\n\n\n hidePopup() {\n this.props.setShow(false);\n }\n\n\n redirectAfterSave = () => {\n this.setState({ delete: false });\n };\n\n render() {\n return (\n
\n {\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/update-marque-status?leaseId=${this.state.leaseId}`,\n data: this.state,\n }).then(function (response) {\n console.log(response,\"repsonse\")\n if (response.data.success) {\n self.hidePopup();\n self.props.setpopupMessageContent(\"Details Stored successfully.\");\n self.props.setpopupalertMessage(true);\n }})\n\n\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n \n {this.state.leaseCode}\n \n \n \n \n Cost Center\n \n \n {this.state.costCenter}\n \n \n \n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SectionDetails
Marque Store\n {\n if (e.target.checked) {\n this.setState({ marque_status: 1 });\n } else {\n this.setState({ marque_status: 0 });\n }\n }}\n // onChange={(e) => {\n // console.log\n // this.setState({ marque_status: e.target.value });\n // handleChange(e);\n // }}\n className=\"sameAs\"\n />\n \n
\n Dispute\n \n {\n if (e.target.checked) {\n this.setState({ dispute_status: 1 });\n } else {\n this.setState({ dispute_status: 0 });\n }\n }}\n className=\"sameAs\"\n />\n
\n
\n
\n\n \n
\n \n
\n \n
\n
\n
\n
\n )}\n \n\n \n\n \n {(close) => (\n
\n \"Are you sure to delete this item??\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(MoreInfoComponent);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { getToDate } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nimport { getUserRole } from \"../../utils/index\";\nimport {\n faSearch,\n faPen,\n faTimes,\n faEye,\n faTrashAlt,\n faSyncAlt,\n faCalendarCheck,\n faInfoCircle,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field } from \"formik\";\nimport DataTable from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport { Modal } from \"react-bootstrap\";\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\nimport LeaseDetailsPopup from \"../../viewLease/LeaseDetailsPopup\";\nimport AmendLeaseView from \"../../createLease/submitLease/AmendLeaseView\";\nimport TerminateLease from \"../submitLease/TerminateLease\";\nimport MoreInfoComponent from \"../submitLease/MoreInfoComponent\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport moment from \"moment\";\nfunction removeLease(leaseId, ths, status) {\n var del_message = \"Are you sure you want to delete this draft lease.\";\n\n if (status == 3) {\n del_message = \"Are you sure you want to delete this expired lease.\";\n }\n\n confirmAlert({\n title: \"Confirm to delete\",\n message: del_message,\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/remove-lease`,\n data: { leaseId: leaseId },\n }).then(function (response) {\n ths.resetCounter();\n ths.loadLeaseCountStatuswise();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n },\n },\n ],\n });\n}\n\nvar counter = Math.round();\n\nfunction DeleteBtn(props) {\n return (\n (props.status == 0 || props.status == 3) &&\n (props.status == 0 ? (\n <>\n {/* removeLease(props.leaseId, props.ths)}\n >\n \n \n removeLease(props.leaseId, props.ths, props.status)}\n >\n {\" \"}\n Delete\n */}\n
removeLease(props.leaseId, props.ths)}>\n \n Delete\n \n
\n\n \n ) : (\n <>\n {/* removeLease(props.leaseId, props.ths)}\n >\n \n \n removeLease(props.leaseId, props.ths, props.status)}\n >\n {\" \"}\n F&F\n */}\n
removeLease(props.leaseId, props.ths)}>\n \n F&F\n \n
\n \n ))\n );\n}\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n\n \n\n \n);\n\nconst LeaseListingTable = ({ asset, brand, status, marque, dispute, ths }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [leaseId, setLeaseId] = useState(0);\n const [costCenter, setCostCenter] = useState(0);\n const [desputeStatus, setDesputeStatus] = useState(0);\n const [marqueStatus, setMarqueStatus] = useState(0);\n const [popupKey, setpopupKey] = useState(0);\n //const [currState, ]\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}&marque=${marque}&dispute=${dispute}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}&marque=${marque}&dispute=${dispute}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n\n function openFromParent() {\n setIsOpen(true);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n\n const [checked, setChecked] = useState(false);\n\n const [show, setShow] = useState(false);\n const [disput_show, setDisputShow] = useState(false);\n const [renewShow, setRenewalShow] = useState(false);\n const [extendShow, setExtendShow] = useState(false);\n const [terminateShow, setTerminateShow] = useState(false);\n\n const [amendMenus, setAmendMenus] = useState([]);\n const [renewList, setRenewalList] = useState([]);\n const [extendList, setExtendList] = useState([]);\n // const [leaseId, setLeaseId] = useState(0);\n const [leaseCode, setLeaseCode] = useState(0);\n const [costCenterNo, setcostCenterNo] = useState(0);\n const [selectedFile, setSelectedFile] = useState({});\n\n const [leaseTerminationOption, setLeaseTerminationOption] = useState([\n \"ABCD\",\n \"asd\",\n ]);\n\n const [termYear, setTermYear] = useState(0);\n const [termMonth, setTermMonth] = useState(0);\n const [termDay, setTermDay] = useState(0);\n\n const [start_date, setStartDate] = useState(\"\");\n const [end_date, setEndDate] = useState(\"\");\n const [commertials, setCommersials] = useState(\"\");\n\n const [unit_status, setUnitStatus] = useState(\"\");\n const [remarks, setRemarks] = useState(\"\");\n const [termination_settlement, setTerminationSettlement] = useState(\"\");\n const [leaseTerminationOptionVal, setLeaseTerminationOptionVal] =\n useState(\"\");\n\n const [popupalertMessage, setpopupalertMessage] = useState(false);\n const [popupMessageContent, setpopupMessageContent] = useState(\"\");\n\n const [formSubmitted, setFormSubmitted] = useState(false);\n\n //const [onUploadError , setonUploadError]=useState();\n //const [onUploadFinish , setonUploadFinish]=useState();\n\n const onUploadError = () => {\n // this.setState({ messsagePopup: true ,\n // popupContent: \"Something Went Wrong!\"\n // });\n setpopupMessageContent(\"Something Went Wrong\");\n setpopupalertMessage(true);\n\n // alert(\"Something Went Wrong\");\n };\n const onUploadFinish = (e) => {\n var values = {\n leaseDocument: {\n leaseDocumentType: \"Amend Document\",\n leaseUploadDocumentDate: \"2020-05-11\",\n leaseDocumentUrl: fileUploadPath() + leaseId + \"/ac.pdf\",\n },\n };\n };\n\n const handleCheckboxChange = (event) => {\n const isChecked = event.target.checked;\n setChecked(isChecked);\n console.log(isChecked, \"isChecked\")\n // Define the value to be sent in the request\n const value = isChecked ? 1 : 0;\n ths.resetCounter();\n } \n\n const showTerminateBox = (id) => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-lease-details?leaseId=${id}`,\n data: { leaseId: id },\n }).then(function (response) {\n setLeaseId(id);\n setLeaseCode(response.data.data.lease_code);\n setcostCenterNo(response.data.cost_center);\n setTerminateShow(true);\n setFormSubmitted(false);\n });\n };\n // -----------------------------------------------\n const showExtendlBox = (id) => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-extend-option?leaseId=${id}`,\n //url: `${apiUrl.apiUrl.url}/lease-view/fetch-extend-option?costCenter=${costCenter}`,\n data: { leaseId: id },\n }).then(function (response) {\n setExtendList(response.data.data);\n setLeaseId(id);\n setStartDate(moment(response.data.data[0].renewal_start).format(\"DD-MMM-YYYY\"));\n setCommersials(response.data.data[0].commersials);\n setLeaseCode(response.data.leaseDetails.lease_code);\n setcostCenterNo(response.data.leaseDetails.cost_center);\n setExtendShow(true);\n setFormSubmitted(false);\n });\n };\n\n const showRenewalBox = (id) => {\n // axios({\n // method: \"post\",\n // url: `${apiUrl.apiUrl.url}/lease-view/fetch-renew-option?leaseId=${id}`,\n // data: { leaseId: id },\n // }).then(function (response) {\n // setRenewalList(response.data.data);\n // setLeaseId(id);\n // setLeaseCode(response.data.leaseDetails.lease_code);\n // setCostCenter(response.data.leaseDetails.cost_center);\n // setRenewalShow(true);\n // });\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-extend-option?leaseId=${id}`,\n //url: `${apiUrl.apiUrl.url}/lease-view/fetch-extend-option?costCenter=${costCenter}`,\n data: { leaseId: id },\n }).then(function (response) {\n setExtendList(response.data.data);\n setLeaseId(id);\n setStartDate(moment(response.data.data[0].renewal_start).format(\"DD-MMM-YYYY\"));\n setCommersials(response.data.data[0].commersials);\n setLeaseCode(response.data.leaseDetails.lease_code);\n setcostCenterNo(response.data.leaseDetails.cost_center);\n setRenewalShow(true);\n setFormSubmitted(false);\n });\n };\n\n //const handleRenewClose =\n const handleRenewClose = () => setRenewalShow(false);\n const handleExtendClose = () => setExtendShow(false);\n const handleTerminateClose = () => setTerminateShow(false);\n\n \n\n const disputShow = (id) => {\n console.log(\"mer log\");\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/lease-view/lease-details-view?leaseId=${id}`\n //data: { leaseId: id },\n }).then(function (response) {\n setLeaseCode(response.data.data.lease_code);\n setCostCenter(response.data.data.cost_center);\n setDesputeStatus(response.data.data.additionalDetails.dispute_status);\n setMarqueStatus(response.data.data.additionalDetails.marque_status)\n setLeaseId(id);\n setDisputShow(true);\n });\n };\n \n\n const handleShow = (id) => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-amend-option?leaseId=${id}`,\n data: { leaseId: id },\n }).then(function (response) {\n setAmendMenus(response.data.data);\n setLeaseCode(response.data.leaseDetails.lease_code);\n setCostCenter(response.data.leaseDetails.cost_center);\n\n setLeaseId(id);\n setShow(true);\n setFormSubmitted(false);\n });\n };\n\n const calculateStarEndDate = (day, month, year) => {\n let date = moment(getToDate(start_date, Number(day), Number(month), Number(year))).format(\"DD-MMM-YYYY\");\n\n setEndDate(date);\n };\n\n const onFileChange = (event) => {\n // Update the state\n setSelectedFile(event.target.files[0]);\n };\n\n const redirectToClose = () => {\n setpopupMessageContent(\"\");\n setpopupalertMessage(false);\n };\n // On file upload (click the upload button)\n const onFileUpload = (values, ths) => {\n // Create an object of formData\n const formData = new FormData();\n\n if (\n typeof selectedFile == \"undefined\" ||\n typeof selectedFile.name == \"undefined\"\n ) {\n setpopupMessageContent(\"Please upload file to process\");\n setpopupalertMessage(true);\n // alert(\"Please upload file to process\");\n //setpopupMessageContent('Please upload file to process');\n //setpopupalertMessage(true);\n return true;\n }\n //var ths = this;\n\n // Update the formData object\n formData.append(\"myFile\", selectedFile, selectedFile.name);\n formData.append(\"unit_status\", values.change_unit_staus);\n formData.append(\"remarks\", values.remarks);\n formData.append(\"termination_settlement\", values.termination_settlement);\n formData.append(\"termination_type\", values.termination_type);\n formData.append(\"effective_date\", values.effectiveDate);\n // Request made to the backend api\n // Send formData object\n axios\n .post(\n `${apiUrl.apiUrl.url}/lease-view/terminate-lease?leaseId=${leaseId}`,\n formData\n )\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n // alert(\"Form processed successfully.\");\n setpopupMessageContent(\"Form processed successfully.\");\n setpopupalertMessage(true);\n setTerminateShow(false);\n if (typeof response.data.link == \"undefined\") {\n ths.resetCounter();\n ths.loadLeaseCountStatuswise();\n setpopupalertMessage(false);\n }\n\n setTimeout(function () {\n setpopupalertMessage(false);\n ths.props.history.push(response.data.link);\n }, 2000);\n } else {\n // alert(\"Something went wrong.\");\n setpopupMessageContent(\"Something went wrong.\");\n setpopupalertMessage(true);\n setTerminateShow(false);\n ths.resetCounter();\n ths.loadLeaseCountStatuswise();\n }\n });\n };\n\n const handleClose = () => setShow(false);\n const handleDisputClose = () => setDisputShow(false);\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Cost Center\",\n selector: \"cost_center\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Unit Number\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"GLA (Sq.Ft.)\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Brand Name / Occupier Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Lease Commencement Date\",\n selector: \"lcd\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \" Lease Term (YY-MM-DD)\",\n selector: \"leaseTerm\",\n sortable: false,\n grow: 2,\n },\n {\n name: \"Lease Expiry Date\",\n selector: \"leaseExpiryData\",\n sortable: false,\n grow: 2,\n wrap: true,\n },\n {\n name: \"Action\",\n grow: 3,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n if (record.status == 2) {\n return (\n \n \n Action\n \n\n \n {record.status == 2 && getUserRole() == \"admin\" && (\n \n {/* */}\n \n View Lease\n \n {/* */}\n {/* \n \n \n \n */}\n \n )}\n {record.status == 2 &&\n getUserRole() == \"admin\" &&\n record.editable && (\n \n {/* */}\n \n Edit Lease\n \n {/* */}\n {/* \n \n Edit Lease\n \n */}\n \n )}\n handleShow(record.leaseId)}>\n
\n handleShow(record.leaseId)}\n className=\"tableActionnewAmend ta\"\n >\n Amend Lease\n \n
\n
\n showExtendlBox(record.leaseId)}>\n
\n showExtendlBox(record.leaseId)}\n className=\"tableActionnewEdit\"\n >\n {\" \"}\n Extend Lease\n \n
\n
\n showRenewalBox(record.leaseId)}>\n
\n showRenewalBox(record.leaseId)}\n className=\"tableActionnewRenew ta\"\n >\n Renew Lease\n \n
\n
\n\n showTerminateBox(record.leaseId)}>\n
\n showTerminateBox(record.leaseId)}\n className=\"tableActionnewDelete ta\"\n >\n Terminate Lease\n \n
\n
\n\n {\n setLeaseId(record.leaseId);\n setpopupKey(Math.random());\n openFromParent();\n }}>\n
\n {\n setLeaseId(record.leaseId);\n setpopupKey(Math.random());\n openFromParent();\n }}\n className=\"tableActionnewAmend ta\"\n >\n Lease Info\n \n
\n
\n \n \n {\" \"}\n Waiver\n \n \n {\n // setLeaseId(record.leaseId);\n // setpopupKey(Math.random());\n // openFromParent();\n }}>\n
\n {\n setLeaseId(record.leaseId);\n disputShow(record.leaseId)\n }}\n className=\"tableActionnewAmend ta\"\n >\n More\n \n
\n
\n
\n
\n );\n } else if (record.status == 4 || record.status == 8) {\n return \"-\";\n } else if (record.status == 3) {\n return (\n <>\n {\n \n \n Action\n \n\n \n \n \n \n\n showExtendlBox(record.leaseId)}>\n
\n showExtendlBox(record.leaseId)}\n className=\"tableActionnewEdit ta\"\n >\n Extend Lease\n \n
\n
\n\n showRenewalBox(record.leaseId)}>\n
\n showRenewalBox(record.leaseId)}\n className=\"tableActionnewRenew ta\"\n >\n Renew Lease\n \n
\n
\n\n
\n
\n }\n \n );\n } else {\n return (\n <>\n \n \n Action\n \n\n \n {(record.type == \"original\" ||\n record.type == \"lease_copying\" ||\n record.type == \"\") &&\n (record.status == 0 ||\n (record.status == 1 && (getUserRole() == \"admin\" || getUserRole() == \"checker\")) ||\n record.status == 3) &&\n (getUserRole() == \"admin\" || getUserRole() == \"maker\") && (\n \n {/* */}\n \n {\" \"}\n {record.status == 0 ? 'Edit Lease' : 'Approve Lease'}\n \n {/* */}\n {/* \n {\n record.status == 0 ? 'Edit Lease' : 'Approve Lease'\n }\n */}\n \n )}\n {record.type == \"amend\" && (\n \n {/* */}\n \n {\" \"}\n {\n record.status == 0 ? 'Edit Lease' : 'Approve Lease'\n }\n \n {/* */}\n {/* \n \n */}\n \n )}\n {record.type == \"renew\" && (\n \n \n {/* */}\n {\n record.status == 0 ? 'Edit Lease' : 'Approve Lease'\n }\n {/* */}\n \n {/* \n\n */}\n \n )}\n {record.type == \"extend\" && (\n \n \n {/* */}\n {\n record.status == 0 ? 'Edit Lease' : 'Approve Lease'\n }\n {/* */}\n \n {/* \n\n */}\n \n )}\n {\n // setLeaseId(record.leaseId);\n // setpopupKey(Math.random());\n // openFromParent();\n }}>\n
\n {\n setLeaseId(record.leaseId);\n disputShow(record.leaseId)\n }}\n className=\"tableActionnewAmend ta\"\n >\n More\n \n
\n
\n \n \n \n
\n
\n \n );\n }\n },\n },\n ];\n return (\n
\n
\n \n
\n
\n
\n
\n \n \n Lease Termination\n \n \n \n \n \n\n \n \n Lease Extend\n \n \n {\n console.log(values, \"valuee....\");\n var self = this;\n if(! formSubmitted) {\n setFormSubmitted(true);\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/extend-lease?leaseId=${leaseId}`,\n data: values,\n }).then(function (response) {\n setFormSubmitted(false);\n if (!response.data.success) {\n // alert(\"Something went wrong!!\");\n setpopupMessageContent(\"Something went wrong.\");\n setpopupalertMessage(true);\n } else {\n // alert(\"Details Stored successfully.\");\n setpopupMessageContent(\"Details Stored successfully.\");\n setpopupalertMessage(true);\n setTimeout(function () {\n ths.props.history.push(response.data.link);\n }, 1000);\n }\n });\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n\n \n {leaseCode}\n \n \n \n \n Cost Center\n \n\n \n {costCenterNo}\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {extendList.length > 0 &&\n extendList.map((pageItem, obj) => (\n \n \n \n \n \n \n \n \n ))}\n\n \n \n \n \n \n \n \n \n \n
Lease Term in LeasetermFromToCommercialsStatus
{pageItem.title}{pageItem.term}{pageItem.from}{pageItem.to}{pageItem.commersials}\n {pageItem.isActive && (\n \n )}\n {!pageItem.isActive && \"NA\"}\n
Extend Term 1 (YY-MM-DD)\n
\n
\n {\n setTermYear(e.target.value);\n calculateStarEndDate(\n termDay,\n termMonth,\n e.target.value\n );\n handleChange(e);\n }}\n />\n
\n
\n {\n setTermMonth(e.target.value);\n //calculateStarEndDate(e, values);\n calculateStarEndDate(\n termDay,\n e.target.value,\n termYear\n );\n handleChange(e);\n }}\n />\n
\n
\n {\n setTermDay(e.target.value);\n calculateStarEndDate(e, values);\n calculateStarEndDate(\n e.target.value,\n termMonth,\n termYear\n );\n handleChange(e);\n }}\n />\n\n {\n handleChange(e);\n }}\n />\n {\n handleChange(e);\n }}\n />\n
\n
\n
{start_date}{end_date}{commertials}\n {end_date != \"\" && (\n <>\n // \n )}\n
\n
\n
\n\n
\n \n \n \n
\n
\n
\n
\n
\n )}\n \n
\n
\n\n \n \n Lease Renewal\n \n \n {\n console.log(values, \"valuee....\");\n var self = this;\n\n if(! formSubmitted) {\n setFormSubmitted(true);\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/renew-lease?leaseId=${leaseId}`,\n data: values,\n }).then(function (response) {\n setFormSubmitted(true);\n if (!response.data.success) {\n // alert(\"Something went wrong!!\");\n setpopupMessageContent(\"Something went wrong.\");\n setpopupalertMessage(true);\n } else {\n // alert(\"Details Stored successfully.\");\n setpopupMessageContent(\"Details Stored successfully.\");\n setpopupalertMessage(true);\n setTimeout(function () {\n ths.props.history.push(response.data.link);\n }, 1000);\n }\n });\n }\n\n \n\n \n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n\n \n {leaseCode}\n \n \n \n \n Cost Center\n \n\n \n {costCenterNo}\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n {/* \n */}\n \n \n \n {extendList.length > 0 &&\n extendList.map((pageItem, obj) => (\n \n \n \n \n \n {/* */}\n {/* */}\n \n ))}\n\n \n \n \n \n \n {/* */}\n {/* */}\n \n \n
Lease Term in LeaseTermFromToCommercialsStatus
{pageItem.title}{pageItem.term}{pageItem.from}{pageItem.to}{pageItem.commersials}\n {pageItem.isActive && (\n \n )}\n {!pageItem.isActive && \"NA\"}\n
Renew Term (YY-MM-DD)\n
\n
\n {\n setTermYear(e.target.value);\n calculateStarEndDate(\n termDay,\n termMonth,\n e.target.value\n );\n handleChange(e);\n }}\n />\n
\n
\n {\n setTermMonth(e.target.value);\n //calculateStarEndDate(e, values);\n calculateStarEndDate(\n termDay,\n e.target.value,\n termYear\n );\n handleChange(e);\n }}\n />\n
\n
\n {\n setTermDay(e.target.value);\n calculateStarEndDate(e, values);\n calculateStarEndDate(\n e.target.value,\n termMonth,\n termYear\n );\n handleChange(e);\n }}\n />\n\n {\n handleChange(e);\n }}\n />\n {\n handleChange(e);\n }}\n />\n
\n
\n
{start_date}{end_date}{commertials}\n {end_date != \"\" && (\n <>\n // \n )}\n
\n
\n
\n\n
\n \n \n \n
\n
\n
\n
\n
\n )}\n \n
\n
\n\n \n {/* show={renewShow} onHide={handleRenewClose} */}\n \n Lease Renewal\n \n \n {\n console.log(values, \"valuee....\");\n var self = this;\n if(! formSubmitted) {\n setFormSubmitted(true);\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/renew-lease?leaseId=${leaseId}`,\n data: { checkedItems: values.option },\n }).then(function (response) {\n setFormSubmitted(false);\n if (!response.data.success) {\n // alert(\"Something went wrong!!\");\n setpopupMessageContent(\"Something went wrong.\");\n setpopupalertMessage(true);\n } else {\n // alert(\"Details Stored successfully.\");\n setpopupMessageContent(\"Details Stored successfully.\");\n setpopupalertMessage(true);\n setTimeout(function () {\n ths.props.history.push(response.data.link);\n }, 1000);\n }\n });\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n \n {leaseCode}\n \n \n \n \n Cost center\n \n \n {costCenter}\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {renewList.length > 0 &&\n renewList.map((pageItem, obj) => (\n \n \n \n \n \n \n \n \n ))}\n \n
Lease Term in LeasetermFromToCommercialsStatus
{pageItem.title}{pageItem.term}{pageItem.from}{pageItem.to}{pageItem.commersials}\n {pageItem.isActive && (\n \n )}\n {!pageItem.isActive && \"NA\"}\n
\n
\n
\n\n {renewList.length > 1 && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n )}\n \n
\n
\n\n \n \n \n Lease Amend\n \n \n \n \n \n \n\n \n \n \n Lease Details\n \n \n \n \n {/* */}\n \n \n\n
\n
\n
\n \n {(close) => (\n
\n {popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n
\n );\n};\nexport default LeaseListingTable;\n","import React, { useState, useEffect } from \"react\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n\nconst MarqueFilterComponent = ({ asset, brand, status, ths }) => {\n const [checked, setChecked] = useState(false);\n const [desputeChecked, setDesputeChecked] = useState(false);\n\n const [show, setShow] = useState(false);\n\n const handleCheckboxChange = (event) => {\n const isChecked = event.target.checked;\n setChecked(isChecked);\n console.log(isChecked, \"isChecked\");\n // Define the value to be sent in the request\n const value = isChecked ? 1 : 0;\n ths.resetMarque(value);\n ths.resetCounter();\n };\n\n const handleCheckboxDesputeChange = (event) => {\n const isChecked = event.target.checked;\n setDesputeChecked(isChecked);\n console.log(isChecked, \"isChecked\");\n\n const value = isChecked ? 1 : 0;\n ths.resetDispute(value);\n ths.resetCounter();\n };\n\n return (\n
\n
\n {\" \"}\n \n {\" \"}\n\n \n \n
\n
\n );\n};\nexport default MarqueFilterComponent;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo,\n faMinus,\n faEye,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\n\nfunction removeLease(leaseId, ths) {\n confirmAlert({\n title: \"Confirm to delete\",\n message: \"Are you sure you want to delete this prospect.\",\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/remove-prospect`,\n data: { prospectId: leaseId },\n }).then(function (response) {\n console.log(response, \"response\", ths);\n counter = Math.round();\n ths.resetCounter();\n ths.loadLeaseCountStatuswise();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n //this.loadLeaseCountStatuswise();\n },\n },\n ],\n });\n}\n\nvar counter = Math.round();\n\nfunction DeleteBtn(props) {\n console.log(props, \"props\");\n return (\n (props.status == 0 && props.is_dropped == 0) && (\n removeLease(props.leaseId, props.ths)}\n >\n \n \n )\n );\n}\n\n\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst ProspectListingTable = ({ asset, brand, status, isDropped, ths }) => {\n console.log(isDropped, \"is dropped\");\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-prospects?asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}&isDropped=${isDropped}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-prospects?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}&isDropped=${isDropped}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Prospect Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"BrandName\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n if (record.status == 1) {\n return (\n \n \n {\" \"}\n \n \n \n );\n } else {\n return (\n
\n \n \n {\" \"}\n \n \n \n \n \n \n {\" \"}\n \n \n \n\n\n\n {/* */}\n
\n );\n }\n },\n },\n ];\n\n return (\n
\n \n
\n );\n};\nexport default ProspectListingTable;\n","import React from \"react\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faSave,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../../masters/master.css\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport { Modal, Button } from \"react-bootstrap\";\n// import { PdfReader } from \"../../utils/DocumentViewer\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\n\nconst prospectFilterForm = Yup.object().shape({\n //assetType: Yup.string().required(\"Required\"),\n //city: Yup.string().required(\"Required\"),\n //brandCategory: Yup.string().required(\"Required\"),\n assetName: Yup.string().required(\"Required\"),\n floor: Yup.string().required(\"Required\"),\n //rangeFrom: Yup.string().required(\"Required\"),\n //rangeTo: Yup.string().required(\"Required\"),\n});\n\nconst prospectValidation = Yup.object().shape({\n landlordAssetId: Yup.string().required(\"Required\"),\n //gla: Yup.string().required(\"Required\"),\n});\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst prospectObj = {\n project_id: \"\",\n broking_by: \"\",\n broking_type: \"\",\n broker_name: \"\",\n landlordAssetName: \"\",\n \"19_36_months\": \"\",\n address: \"\",\n agreement_type: \"\",\n automated_daily_sales_report_adsr: \"\",\n brand_name: \"\",\n cam_charges: \"\",\n cam_commencement_date: \"\",\n cam_escalation: \"\",\n cancellation_and_termination: \"\",\n carpet_area: \"\",\n confidentiality: \"\",\n delay_in_commencement_licensee: \"\",\n delay_in_scheduled_date_proposed_licensee: \"\",\n eligibility_under_laws: \"\",\n escalation_on_monthly_lease_rental: \"\",\n extension_of_term_renewal_term: \"\",\n first_month_18th_month: \"\",\n franchisee_by_party2: \"\",\n governing_law_and_jurisdiction: \"\",\n gst_and_other_taxes_surcharges_levies_etc: \"\",\n handover_date: \"\",\n ifrm_sd_amount: \"\",\n ifrm_sd_cam_deposit_escalation: \"\",\n ifrm_sd_cam_deposit_for_company_name: \"\",\n ifrm_sd_instalment_1: \"\",\n ifrm_sd_instalment_2: \"\",\n ifrm_sd_instalment_3: \"\",\n ifrm_sd_months: \"\",\n ifrm_sd_payment_schedule: \"\",\n ifrm_sd_rate: \"\",\n ifrsd_amount: \"\",\n ifrsd_months: \"\",\n ifrsd_payment_schedule: \"\",\n ifrsd_rate: \"\",\n ifrsd_rent_deposit_escalation: \"\",\n ifrsd_rent_deposit_for_company_name: \"\",\n industry_of_party2: \"\",\n instalment_1: \"\",\n instalment_2: \"\",\n instalment_3: \"\",\n insurance: \"\",\n lease_commencement_date: \"\",\n lessee: \"\",\n lessor: \"\",\n lock_in_period_for_party_2: \"\",\n loi_issue_date: \"\",\n monthly_fixed_rental_or_revenue_share: \"\",\n monthly_lease_rental_logic_basis: \"\",\n monthly_lease_rental_rent_commencement_date: \"\",\n monthly_variable_rental_revenue_share: \"\",\n nature_of_party2: \"\",\n other_charges_for_the_permitted_business: \"\",\n parking: \"\",\n party_2_details: \"\",\n party_2_kyc_details: \"\",\n payment_mechanism_charges: \"\",\n pre_fit_out_handover_requirements: \"\",\n property_tax: \"\",\n rent_free_fit_out_period_from_handover_date: \"\",\n representations_and_warranties: \"\",\n signage: \"\",\n stamp_duty_and_registration_charges: \"\",\n super_area: \"\",\n term: \"\",\n to_be_completed_by_party1: \"\",\n to_be_completed_by_party2: \"\",\n unit_details: \"\",\n utilities: \"\",\n utility_charges_commencement_date: \"\",\n validity_of_loi: \"\",\n};\n\nclass Prospect extends React.Component {\n mainFormValidator = [];\n\n state = {\n redirect: false,\n id: undefined,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n prospectFields: [],\n url: `${apiUrl.apiUrl.url}/prospect/create`,\n assetNames: [],\n unitLists: [],\n unitListSelected: [],\n unitListSelectedValue: [],\n initialValues: {},\n prospectInitialValues: prospectObj,\n isDisabled: false\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n this.fetchAsset();\n this.fetchProspectFields();\n }\n\n componentDidUpdate() {\n var self = this;\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/prospect/create`,\n prospectInitialValues: prospectObj,\n });\n } else {\n this.state.isDisabled = true;\n\n axios.get(`${apiUrl.apiUrl.url}/prospect/fetch-prospect?id=${this.props.match.params.id}`).then(function (response) {\n let data = response.data;\n self.setState({\n url: `${apiUrl.apiUrl.url}/prospect/update?id=${self.props.match.params.id}`,\n prospectInitialValues: data,\n });\n \n this.fetchUnits(data.project_id);\n // const unitDetails = data.unit_details && data.unit_details.trim() !== \"\" ? data.unit_details.split(\",\") : [];\n const unitDetails = data.unit_lists ? data.unit_lists : [];\n this.state.unitListSelectedValue = data.unit_details;\n this.state.unitListSelected = [];\n if(unitDetails.length > 0) {\n unitDetails.forEach((item) => {\n this.state.unitListSelected.push({\n value: item.value,\n label: item.label\n });\n });\n }\n\n self.setState({});\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/prospect/fetch-prospect?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // self.setState({\n // url: `${apiUrl.apiUrl.url}/prospect/update?id=${self.props.match.params.id}`,\n // prospectInitialValues: data,\n // });\n \n // this.fetchUnits(data.project_id);\n // // const unitDetails = data.unit_details && data.unit_details.trim() !== \"\" ? data.unit_details.split(\",\") : [];\n // const unitDetails = data.unit_lists ? data.unit_lists : [];\n // this.state.unitListSelectedValue = data.unit_details;\n // this.state.unitListSelected = [];\n // if(unitDetails.length > 0) {\n // unitDetails.forEach((item) => {\n // this.state.unitListSelected.push({\n // value: item.value,\n // label: item.label\n // });\n // });\n // }\n\n // self.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n\n self.setState({});\n }\n }\n }\n\n fetchProspectFields() {\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-prospect-fields`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n prospectFields: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeAsset = (e, i) => {\n this.state.prospectInitialValues.landlordAssetName = e.label;\n this.state.prospectInitialValues.project_id = e.value;\n\n this.state.unitListSelected = [];\n this.fetchUnits(e.value);\n\n this.setState({});\n console.groupEnd();\n this.setState({});\n };\n\n fetchUnits = (assetId) =>{\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-unit-list-by-asset-id?id=${assetId}`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n unitLists: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.setState({});\n }\n\n changeUnitAsset = (newValue) => {\n console.log(newValue);\n this.state.unitListSelected = [];\n this.state.unitListSelectedValue = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.unitListSelectedValue.push(newValue[i].value);\n this.state.unitListSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.setState({});\n };\n\n fetchAsset = () => {\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-all-assets`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetNames: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n return (\n
\n {this.renderForm()}\n
\n );\n }\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n renderForm() {\n return (\n
\n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n {\n for (const [key, value] of Object.entries(\n this.state.prospectInitialValues\n )) {\n //this.state.prospectInitialValues[key] = \"\";\n }\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.getErrorMessages();\n this.mainFormValidator.showMessages();\n //this.forceUpdate(); \n return false;\n }\n var self = this;\n values.project_id = this.state.prospectInitialValues.project_id;\n values.unit_details = Array.isArray(this.state.unitListSelectedValue) && this.state.unitListSelectedValue.length > 0 ? this.state.unitListSelectedValue.join(\", \") : \"\";\n axios({\n method: \"post\",\n //url: `${apiUrl.apiUrl.url}/prospect/create`,\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something went wrong\");\n self.setState({\n popupalertMessage: true,\n popupMessageContent: \"Something went wrong\",\n });\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n for (const [key, value] of Object.entries(\n self.state.prospectInitialValues\n )) {\n self.state.prospectInitialValues[key] = \"\";\n self.setState({});\n }\n for (const [key, value] of Object.entries(\n self.state.initialValues\n )) {\n self.state.initialValues[key] = \"\";\n self.setState({});\n }\n //self.state.comparativeData = [];\n self.setState({});\n\n // self.setState({ redirect: true });\n // alert(\"Data Saved successfully.\");\n self.setState({\n messsagePopup: true,\n });\n\n self.props.history.push(\n \"/createlease/prospect/view/\" + response.data.id\n );\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n setFieldValue,\n }) => (\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n this.state.prospectInitialValues.broking_by == \"Broker\" && (\n \n \n \n \n \n )\n }\n\n \n
Field NameProspectNotes
\n
NAME OF THE PROJECT *
\n
\n
\n {\n this.changeAsset(e);\n }}\n options={this.state.assetNames.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"Project\",\n this.state.prospectInitialValues.project_id,\n \"required\",\n { className: \"text-danger bgWhite\" }\n )}\n
\n
\n
\n \n
\n
\n
Unit(s), Floor & Location
\n
\n {/* */}\n\n {\n this.changeUnitAsset(e);\n }}\n value={this.state.unitListSelected}\n options={this.state.unitLists.map((item) => ({\n label: item.unit_no,\n value: item.id,\n }))}\n />\n\n \n
\n
Carpet Area of Unit
\n
\n \n \n \n
\n \n
\n
\n
\n Super Area (chargeable Area)* Of The Unit(s)\n
\n
\n \n \n \n
\n \n
\n
\n
Address Of The Project *
\n
\n
\n \n {this.mainFormValidator.message(\n \"address\",\n values.address,\n \"required\",\n { className: \"text-danger bgWhite\" }\n )}\n
\n
\n
\n \n
\n
\n
Broking By
\n
\n {\n this.state.prospectInitialValues.broking_by = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n \n
\n
\n
Broker Name
\n
\n \n \n
\n \n
\n
\n
Broking Type
\n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n \n
\n
\n
\n \n {this.state.prospectFields.map((section, index) => (\n
\n
\n {/*
*/}\n\n \n {section.title}\n \n
\n \n {section.form_fields.map(\n (topSection, topIndex) => (\n <>\n {topSection.sub_title && (\n \n \n \n \n \n \n )}\n {topSection.fields.map((field, i) => (\n \n \n \n\n \n \n \n \n \n \n ))}\n \n )\n )}\n \n
\n {topSection.sub_title}\n Notes
\n
{field.title}
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n\n {/*
*/}\n
\n
\n ))}\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n )}\n \n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n );\n }\n}\n\nexport default withRouter(Prospect);\n","import React from \"react\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faChevronCircleDown,\n faCheck,\n faCheckCircle,\n faExclamationTriangle,\n faTimesCircle,\n faFileSignature,\n faSearchPlus,\n} from \"@fortawesome/free-solid-svg-icons\";\n// import styles from \"../../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link, useHistory } from \"react-router-dom\";\nimport LeaseListingTable from \"./LeaseListingTable\";\nimport MarqueFilterComponent from \"./MarqueFilterComponent\";\nimport ProspectListingTable from \"./ProspectListingTable\";\nimport { DropdownButton, Dropdown } from \"react-bootstrap\";\nimport Popup from \"reactjs-popup\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport \"bootstrap\";\n\nimport { hasAccess, getModules } from \"../../utils/index\";\nimport Prospect from \"../prospect/Prospect\";\n\nclass LeaseListing extends React.Component {\n state = {\n showProspect: !getModules().includes(1)?true:false,\n isDropped: false,\n redirect: false,\n popupalertMessage: false,\n limit: true,\n popupMessageContent: \"\",\n brands: [],\n assets: [],\n statusCount: {},\n selectedBrand: \"\",\n selectedAsset: \"\",\n selectedStatus: 2,\n marque:0,\n dispute:0,\n randomNum: \"\",\n activeIndex: null,\n state: \"\",\n isOpen: false,\n showMarqueComponent: true\n };\n\n constructor(props) {\n super(props);\n this.goToCreateLease = this.goToCreateLease.bind(this);\n this.goToProspect = this.goToProspect.bind(this);\n\n if (!hasAccess([\"admin\", \"maker\"])) {\n console.log(\"calingg\");\n let path = `/lease-summary`;\n this.props.history.push(path);\n }\n }\n\n componentDidMount() {\n this.loadBrands();\n this.loadAssets();\n\n // fetch(`${apiUrl.apiUrl.url}/lease-view/get-status-count`)\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // statusCount: data,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/asset/check-lease-limit`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n limit: false,\n });\n }\n });\n this.loadLeaseCountStatuswise();\n }\n\n resetCounter = () => {\n this.setState({\n randomNum: Math.random(),\n });\n };\n\n resetMarque = (status) => {\n this.setState({ marque : status });\n }\n\n resetDispute = (status) => {\n this.setState({ dispute : status });\n }\n\n loadLeaseCountStatuswise = (brand, asset) => {\n console.log(asset, \"asset\");\n // this.setState({});\n var brandId =\n typeof brand != \"undefined\" ? brand : this.state.selectedBrand;\n var assetId =\n typeof asset != \"undefined\" ? asset : this.state.selectedAsset;\n var ths = this;\n\n axios\n .post(\n `${apiUrl.apiUrl.url}/lease-view/get-status-count?brand=` +\n brandId +\n `&stateId=${this.state.state}&asset=${assetId}`\n )\n .then(function (response) {\n console.log(response, \"response\");\n ths.setState({\n statusCount: response.data,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-status-count?brand=` +\n // brandId +\n // `&stateId=${this.state.state}&asset=${assetId}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // ths.setState({\n // statusCount: data,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n this.setState({});\n };\n\n loadAssets = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/asset/fetch-all-assets`\n );\n console.log(response);\n this.state.assets = response.data;\n this.setState({});\n };\n\n loadBrands = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=1&per_page=100&delay=1`\n );\n this.state.brands = response.data.data;\n this.setState({});\n };\n goToCreateLease = () => {\n let path = `/createlease/lease-landlord`;\n this.props.history.push(path);\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: \"\",\n // redirect:true,\n });\n };\n\n checkCreateLimit = () => {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"You have exceeded the limit\",\n });\n };\n goToProspect = () => {\n let path = `/createlease/prospect`;\n this.props.history.push(path);\n };\n render() {\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n <>\n
\n
\n {getModules().includes(1) && (\n <>\n {\n this.setState({\n selectedAsset: e.target.value,\n randomNum: Math.random(),\n });\n this.loadLeaseCountStatuswise(\n this.state.selectedBrand,\n e.target.value\n );\n }}\n >\n \n {this.state.assets.map((x) => (\n \n ))}\n \n {\n this.setState({\n selectedBrand: e.target.value,\n randomNum: Math.random(),\n });\n\n this.loadLeaseCountStatuswise(\n e.target.value,\n this.state.selectedAsset\n );\n }}\n >\n \n {this.state.brands.map((x) => (\n \n ))}\n \n \n )}\n\n {(!this.state.limit && getModules().includes(1)) && (\n \n Create Lease\n \n )}\n\n {(this.state.limit && getModules().includes(1)) && (\n \n Create Lease\n \n )}\n\n {getModules().includes(3) && (\n \n \n \n \n \n Prospect\n \n )}\n
\n
\n
\n
\n\n {getModules().includes(3) && (\n <>\n {\n this.setState({\n selectedStatus: 5,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: false,\n });\n }}\n >\n \n \n \n \n\n\n

{this.state.statusCount.prospect ? this.state.statusCount.prospect : \"0\"}

\n
Draft Prospect
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 6,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: true,\n });\n }}\n >\n\n \n \n \n \n\n

{this.state.statusCount.dropped ? this.state.statusCount.dropped : \"0\"}

\n
Final Prospect
\n
\n \n )}\n\n {getModules().includes(1) && (\n <>\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n \n \n \n\n

{this.state.statusCount.draft ? this.state.statusCount.draft : \"0\"}

\n
Draft
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n \n \n \n \n \n\n

{this.state.statusCount.approval ? this.state.statusCount.approval : \"0\"}

\n
Approval
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n \n \n\n

{this.state.statusCount.active ? this.state.statusCount.active : \"0\"}

\n
Active
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n \n\n

{this.state.statusCount.expired ? this.state.statusCount.expired : \"0\"}

\n
Expired
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 4,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n \n\n\n

{this.state.statusCount.terminated ? this.state.statusCount.terminated : \"0\"}

\n
Terminated
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 8,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n\n

{this.state.statusCount.fnf ? this.state.statusCount.fnf : \"0\"}

\n
F&F
\n \n \n )}\n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n\n {\n this.state.showProspect ? (\n \n ) : (\n
\n \n \n \n \n
\n )\n }\n \n );\n }\n}\n\nexport default withRouter(LeaseListing);\n","import React from \"react\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faSave,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../../masters/master.css\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport { Modal, Button } from \"react-bootstrap\";\n// import { PdfReader } from \"../../utils/DocumentViewer\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\n\nimport { ReactMultiEmail } from \"react-multi-email\";\nimport * as Yup from \"yup\";\nimport { Loader } from \"rsuite\";\n\nconst selectStyles = {\n border: \"0\",\n background: \"#ddd\",\n};\nconst Schema = Yup.object({\n alertName: Yup.string().required(\"This field is required\"),\n alertText: Yup.string().required(\"This field is required\"),\n reportId: Yup.string().required(\"This field is required\"),\n stateName: Yup.string().required(\"This field is required\"),\n brandSelected: Yup.array().required(\"Provide at least one tag\"),\n frequencySelected: Yup.array().required(\"Provide at least one tag\"),\n});\n\nconst prospectFilterForm = Yup.object().shape({\n //assetType: Yup.string().required(\"Required\"),\n //city: Yup.string().required(\"Required\"),\n //brandCategory: Yup.string().required(\"Required\"),\n assetName: Yup.string().required(\"Required\"),\n floor: Yup.string().required(\"Required\"),\n //rangeFrom: Yup.string().required(\"Required\"),\n //rangeTo: Yup.string().required(\"Required\"),\n});\n\nconst prospectValidation = Yup.object().shape({\n landlordAssetId: Yup.string().required(\"Required\"),\n //gla: Yup.string().required(\"Required\"),\n});\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst prospectObj = {\n project_id: \"\",\n \"19_36_months\": \"\",\n address: \"\",\n agreement_type: \"\",\n automated_daily_sales_report_adsr: \"\",\n brand_name: \"\",\n cam_charges: \"\",\n cam_commencement_date: \"\",\n cam_escalation: \"\",\n cancellation_and_termination: \"\",\n carpet_area: \"\",\n confidentiality: \"\",\n delay_in_commencement_licensee: \"\",\n delay_in_scheduled_date_proposed_licensee: \"\",\n eligibility_under_laws: \"\",\n escalation_on_monthly_lease_rental: \"\",\n extension_of_term_renewal_term: \"\",\n first_month_18th_month: \"\",\n franchisee_by_party2: \"\",\n governing_law_and_jurisdiction: \"\",\n gst_and_other_taxes_surcharges_levies_etc: \"\",\n handover_date: \"\",\n ifrm_sd_amount: \"\",\n ifrm_sd_cam_deposit_escalation: \"\",\n ifrm_sd_cam_deposit_for_company_name: \"\",\n ifrm_sd_instalment_1: \"\",\n ifrm_sd_instalment_2: \"\",\n ifrm_sd_instalment_3: \"\",\n ifrm_sd_months: \"\",\n ifrm_sd_payment_schedule: \"\",\n ifrm_sd_rate: \"\",\n ifrsd_amount: \"\",\n ifrsd_months: \"\",\n ifrsd_payment_schedule: \"\",\n ifrsd_rate: \"\",\n ifrsd_rent_deposit_escalation: \"\",\n ifrsd_rent_deposit_for_company_name: \"\",\n industry_of_party2: \"\",\n instalment_1: \"\",\n instalment_2: \"\",\n instalment_3: \"\",\n insurance: \"\",\n lease_commencement_date: \"\",\n lessee: \"\",\n lessor: \"\",\n lock_in_period_for_party_2: \"\",\n loi_issue_date: \"\",\n monthly_fixed_rental_or_revenue_share: \"\",\n monthly_lease_rental_logic_basis: \"\",\n monthly_lease_rental_rent_commencement_date: \"\",\n monthly_variable_rental_revenue_share: \"\",\n nature_of_party2: \"\",\n other_charges_for_the_permitted_business: \"\",\n parking: \"\",\n party_2_details: \"\",\n party_2_kyc_details: \"\",\n payment_mechanism_charges: \"\",\n pre_fit_out_handover_requirements: \"\",\n property_tax: \"\",\n rent_free_fit_out_period_from_handover_date: \"\",\n representations_and_warranties: \"\",\n signage: \"\",\n stamp_duty_and_registration_charges: \"\",\n super_area: \"\",\n term: \"\",\n to_be_completed_by_party1: \"\",\n to_be_completed_by_party2: \"\",\n unit_details: \"\",\n utilities: \"\",\n utility_charges_commencement_date: \"\",\n validity_of_loi: \"\",\n status: 1,\n};\n\nclass Prospect extends React.Component {\n mainFormValidator = [];\n\n state = {\n redirect: false,\n id: undefined,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n prospectFields: [],\n url: `${apiUrl.apiUrl.url}/prospect/create`,\n assetNames: [],\n allData: [],\n isProcessing: false,\n initialValues: {},\n prospectInitialValues: prospectObj,\n taintedFields: [],\n showMailLoader: false\n };\n\n constructor(props) {\n super(props);\n this.buttonRef = React.createRef();\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n this.fetchProspectFields();\n // Simulate a click event when the component mounts\n if (this.buttonRef.current) {\n //this.buttonRef.current.click();\n }\n }\n\n componentDidUpdate() {\n var self = this;\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/prospect/create`,\n prospectInitialValues: prospectObj,\n });\n } else {\n this.fetchProspect(this.props.match.params.id);\n }\n }\n }\n\n setColorLogicForFields() {\n var taintedFields = [];\n this.setState({ taintedFields: taintedFields });\n if (this.state.allData.length > 1) {\n this.state.allData.map((values, dataIndex) => {\n var taintedFieldsObj = {};\n if (dataIndex != 0) {\n for (const key in values) {\n if (values[key] != this.state.allData[dataIndex - 1][key]) {\n taintedFieldsObj[key] = true;\n } else {\n taintedFieldsObj[key] = false;\n }\n for (const key2 in values[\"additional_info\"]) {\n console.log(key2, \"ley\");\n for (const key3 in values[\"additional_info\"][key2]) {\n if (\n typeof this.state.allData[dataIndex - 1][\"additional_info\"][\n key2\n ] == \"undefined\" ||\n typeof this.state.allData[dataIndex - 1][\"additional_info\"][\n key2\n ][key3] == \"undefined\"\n ) {\n taintedFieldsObj[key3] = true;\n } else if (\n values[\"additional_info\"][key2][key3] !=\n this.state.allData[dataIndex - 1][\"additional_info\"][key2][\n key3\n ]\n ) {\n taintedFieldsObj[key3] = true;\n } else {\n taintedFieldsObj[key3] = false;\n }\n }\n }\n }\n taintedFields[dataIndex] = taintedFieldsObj;\n } else {\n for (const key in values) {\n taintedFieldsObj[key] = false;\n }\n taintedFields[dataIndex] = taintedFieldsObj;\n }\n });\n this.setState({ taintedFields: taintedFields });\n }\n }\n\n fetchProspect(id) {\n let self = this;\n axios.get(`${apiUrl.apiUrl.url}/prospect/fetch-prospect-data?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n self.setState({\n url: `${apiUrl.apiUrl.url}/prospect/update?id=${self.props.match.params.id}`,\n prospectInitialValues: data[\"current\"],\n allData: data[\"all\"],\n });\n self.setState({});\n self.setColorLogicForFields();\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/prospect/fetch-prospect-data?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // self.setState({\n // url: `${apiUrl.apiUrl.url}/prospect/update?id=${self.props.match.params.id}`,\n // prospectInitialValues: data[\"current\"],\n // allData: data[\"all\"],\n // });\n // self.setState({});\n // self.setColorLogicForFields();\n // console.log(\"done\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n fetchProspectFields() {\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-prospect-fields`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n prospectFields: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n cloneProspect() {\n if (\n typeof this.props.match.params.id != \"undefined\" &&\n this.state.isProcessing == false\n ) {\n this.setState({ isProcessing: true });\n let self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/clone`,\n data: { id: this.props.match.params.id },\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n popupalertMessage: true,\n popupMessageContent: response.data.msg || \"Something went wrong\",\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Prospect Cloned\",\n });\n }\n self.setState({ isProcessing: false, newid: response.data.id });\n });\n }\n }\n\n downloadProspect() {\n if (\n typeof this.props.match.params.id != \"undefined\" &&\n this.state.isProcessing == false\n ) {\n this.setState({ isProcessing: true });\n let self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/download`,\n data: { id: this.props.match.params.id },\n }).then(function (response) {\n console.log(response, \"response\")\n if (!response.data.success) {\n self.setState({\n popupalertMessage: true,\n popupMessageContent: response.data.msg || \"Something went wrong\",\n });\n } else {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data.filename}`;\n }\n self.setState({ isProcessing: false });\n });\n }\n }\n\n closeProspect() {\n if (\n typeof this.props.match.params.id != \"undefined\" &&\n this.state.isProcessing == false\n ) {\n this.setState({ isProcessing: true });\n let self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/close`,\n data: { id: this.props.match.params.id },\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n popupalertMessage: true,\n popupMessageContent: response.data.msg || \"Something went wrong\",\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Prospect Finalised\",\n });\n self.fetchProspect(self.props.match.params.id);\n }\n self.setState({ isProcessing: false });\n });\n }\n }\n\n sendProspect() {\n this.setState({ isModalOpen: true });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false }, () => {\n if (typeof this.state.newid != \"undefined\") {\n this.props.history.push(\"/createlease/prospect/\" + this.state.newid);\n }\n });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n resetForm(values) {\n this.state.initialValues = {};\n values.stateId = \"\";\n values.emails = \"\";\n this.state.initialValues.alertText = \"\";\n this.state.showMailLoader = false;\n this.setState({});\n }\n\n valueChange = (newValue, actionMeta) => {\n this.state.initialValues.alertText = newValue.target.value;\n this.setState({});\n };\n\n toCamelCase = (str) => {\n return str.toLowerCase();\n return str\n .split(/[^a-zA-Z0-9]+/) // Split on non-alphanumeric characters\n .map((word, index) => {\n if (index === 0) {\n return word.toLowerCase(); // Keep the first word in lowercase\n }\n return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); // Capitalize the first letter\n })\n .join(''); // Join the words back together\n }\n\n submitForm = (values) => {\n console.log(this.validator.allValid());\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n console.log(values, \"asdas\", this.state);\n\n var self = this;\n this.state.initialValues.id = this.props.match.params.id;\n if (\n typeof this.props.match.params.id != \"undefined\" &&\n this.state.isProcessing == false\n ) {\n this.setState({ showMailLoader: true });\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/send`,\n data: this.state.initialValues,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n popupalertMessage: true,\n popupMessageContent: response.data.msg || \"Something went wrong\",\n });\n } else {\n self.setState({ isModalOpen: false });\n self.setState({\n messsagePopup: true,\n popupContent: \"Prospect sent\",\n });\n }\n self.setState({ isProcessing: false, showMailLoader: false });\n self.resetForm(values);\n });\n }\n };\n\n render() {\n return (\n \n {this.renderForm()}\n \n );\n }\n\n \n\n openModal = () => this.setState({ isModalOpen: true });\n closeModal = () => this.setState({ isModalOpen: false });\n renderForm() {\n return (\n
\n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n setFieldValue,\n }) => (\n
\n
\n
\n
\n
\n \n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n \n \n \n ))}\n\n {/* {this.state.allData.map((values, dataIndex) => (\n \n ))} */}\n\n {/* */}\n \n \n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\n \"prospect_code\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"prospect_code\"]}\n \n \n \n ))}\n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\n \"unit_details\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"unit_details\"]}\n \n \n \n ))}\n \n \n \n \n {/* \n\n \n \n \n \n ))}\n {/* */}\n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\n \"super_area\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"super_area\"]}\n \n 0 &&\n this.state.taintedFields[dataIndex][\n \"super_area\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"super_area\"]\n ? values['additional_notes']['main'][\"super_area\"]\n : ''\n }\n\n \n \n ))}\n \n\n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\n \"assetName\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"assetName\"]}\n \n \n \n ))}\n \n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\"address\"]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"address\"]}\n \n 0 &&\n this.state.taintedFields[dataIndex][\n \"address\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"address\"]\n ? values['additional_notes']['main'][\"address\"]\n : ''\n }\n\n \n \n ))}\n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\"broking_by\"]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"broking_by\"]}\n \n 0 &&\n this.state.taintedFields[dataIndex][\n \"broking_by\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"broking_by\"]\n ? values['additional_notes']['main'][\"broking_by\"]\n : ''\n }\n \n \n ))}\n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\"broker_name\"]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"broker_name\"]}\n \n 0 &&\n this.state.taintedFields[dataIndex][\n \"broker_name\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n \n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"broker_name\"]\n ? values['additional_notes']['main'][\"broker_name\"]\n : ''\n }\n \n \n ))}\n \n \n \n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\"broking_type\"]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"broking_type\"]}\n \n 0 &&\n this.state.taintedFields[dataIndex][\n \"broking_type\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"broking_type\"]\n ? values['additional_notes']['main'][\"broking_type\"]\n : ''\n }\n \n \n ))}\n \n \n
Field NameProspect {dataIndex + 1}Notes {dataIndex + 1}Notes {dataIndex + 1}Prospect
\n
Prospect Code
\n
 
\n
Unit(s), Floor & Location
\n
 
\n
Carpet Area of Unit
\n
*/}\n {/* {this.state.prospectInitialValues['carpet_area']} */}\n {this.state.allData.map((values, dataIndex) => (\n <>\n 0 &&\n this.state.taintedFields[dataIndex][\n \"carpet_area\"\n ]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {values[\"carpet_area\"]}\n 0 && this.state.taintedFields[dataIndex][\"carpet_area\"]?\"cloneTrTdclass\": \"\"} >\n {\n values['additional_notes'] &&\n values['additional_notes']['main'] &&\n values['additional_notes']['main'][\"carpet_area\"]\n ? values['additional_notes']['main'][\"carpet_area\"]\n : ''\n }\n\n
\n
\n Super Area (chargeable Area)* Of The Unit(s)\n
\n
\n
Name Of The Project
\n
 
\n
Address Of The Project
\n
\n
Broking By
\n
\n
Broker Name
\n
\n
Broking Type
\n
\n
\n
\n
\n \n {this.state.prospectFields.map((section, index) => (\n //console.log(section),\n
\n
\n
\n \n {section.title}\n \n
\n \n {section.form_fields.map(\n (topSection, topIndex) => (\n //console.log(topSection),\n <>\n {topSection.sub_title && (\n \n \n \n {topSection.sub_title}\n \n \n \n )}\n {topSection.fields.map((field, i) => (\n \n \n \n {this.state.allData.map(\n (values, dataIndex) => (\n // className={ dataIndex != 0 && typeof this.state.taintedFields[dataIndex][field.name] != \"undefined\" && this.state.taintedFields[dataIndex][field.name] ? 'cloneTrTdclass' : '' }\n <>\n 0 &&\n this.state.taintedFields[dataIndex] &&\n this.state.taintedFields[dataIndex][field.name]\n ? \"cloneTrTdclass\"\n : \"\"\n }\n >\n {\n values[\"additional_info\"] &&\n values[\"additional_info\"][field.section] &&\n values[\"additional_info\"][field.section][field.title]\n ? values[\"additional_info\"][field.section][field.title]\n : \"\"\n }\n\n {\n typeof field.additional_info === \"undefined\" && values[field.name]\n ? values[field.name]\n : \"\"\n }\n \n \n \n )\n )}\n \n \n ))}\n \n )\n )}\n\n \n
\n
{field.title.toLowerCase()}
\n
\n {\n field.additional_info === true \n ? (values['additional_notes'][field.section] &&\n values['additional_notes'][field.section][field.name]\n ? values['additional_notes'][field.section][field.name]\n : '')\n : (values['additional_notes']['main'] &&\n values['additional_notes']['main'][field.name]\n ? values['additional_notes']['main'][field.name]\n : '')\n }\n
\n
\n
\n
\n
\n
\n
\n ))}\n
\n
\n {this.state.prospectInitialValues.status == 0 && (\n <>\n {\n this.cloneProspect();\n }}\n >\n Clone Prospect\n \n {\n this.closeProspect();\n }}\n >\n Finalise Prospect\n \n \n )}\n {\n this.sendProspect();\n }}\n >\n Send Proposal\n \n {\n this.downloadProspect();\n }}\n >\n Download\n \n
\n\n
\n
\n )}\n
\n \n \n \n
\n
\n
\n
    \n
  • Send Mail
  • \n
\n
\n
\n
\n
\n
\n \n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n\n
\n
\n
\n
\n
\n \n
\n { }}\n onChange={(_emails: string[]) => {\n this.state.initialValues.emails = _emails;\n this.setState({});\n }}\n getLabel={(\n email: string,\n index: number,\n removeEmail: (index: number) => void\n ) => {\n return (\n
\n {email}\n removeEmail(index)}>\n x\n \n
\n );\n }}\n />\n {this.validator.message(\n \"Email\",\n this.state.initialValues.emails,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n\n
\n
\n \n
\n {\n this.valueChange(e, \"change_alert_text\");\n }}\n style={{height: \"100px\"}}\n value={this.state.initialValues.alertText}\n >\n {this.validator.message(\n \"Body\",\n this.state.initialValues.alertText,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n\n
\n
\n \n {\n this.resetForm(values);\n this.closeModal();\n }}\n >\n Cancel\n \n
\n
\n
\n
\n )}\n \n
\n {/* \n \n Close\n \n */}\n \n
\n );\n }\n}\n\nexport default withRouter(Prospect);\n","import React from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport \"bootstrap\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Accordion from \"react-bootstrap/Accordion\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass RentalDetails extends React.Component {\n constructor(props) {\n super(props);\n console.log(props);\n this.state = {\n rentalDetails: this.props.rentalDetails,\n waiverDetails: [],\n };\n }\n\n componentDidMount() {\n console.log(\"pp\");\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-discount-rent?id=${this.props.match.params.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({ waiverDetails: data.rentalDetails }, () => {\n console.log(this.state.waiverDetails);\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n render() {\n return (\n
\n
\n \n {this.state.rentalDetails.map(function (rental, index) {\n if (\n rental.rentalLogicValue == 1 ||\n rental.rentalLogicValue == 2\n ) {\n var rentalUnitData = \"\";\n\n if (typeof rental.unit != \"undefined\") {\n rentalUnitData = ` - ` + rental.unit + `-`;\n }\n\n if (rental.rentDueFrequency == \"Every Month\") {\n rental.rentDueFrequency =\n rental.rentDueFrequency + \" (Advanced Rent)\";\n }\n\n if (rental.rentDueFrequency == \"Subsequent Month\") {\n rental.rentDueFrequency =\n rental.rentDueFrequency + \" (Arrears Rent)\";\n }\n\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {rentalUnitData}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom == \"Per Seat\" && (\n <>\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n )}\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom != \"Per Seat\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 3 ||\n rental.rentalLogicValue == 4\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 5 ||\n rental.rentalLogicValue == 6\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n {\" \"}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 7 ||\n rental.rentalLogicValue == 8\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 9 ||\n rental.rentalLogicValue == 10\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 11 ||\n rental.rentalLogicValue == 12\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 16 ||\n rental.rentalLogicValue == 17\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 18 ||\n rental.rentalLogicValue == 19 ||\n rental.rentalLogicValue == 28\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 20 ||\n rental.rentalLogicValue == 21\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 22 ||\n rental.rentalLogicValue == 23\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)}\n \n \n \n\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n {this.props.basic && (\n
\n \n
\n \n \n Waiver Details\n \n
\n
\n \n \n {this.state.waiverDetails.map(function (rental, index) {\n if (\n rental.rentalLogicValue == 1 ||\n rental.rentalLogicValue == 2\n ) {\n var rentalUnitData = \"\";\n\n if (typeof rental.unit != \"undefined\") {\n rentalUnitData = ` - ` + rental.unit + `-`;\n }\n\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 3 ||\n rental.rentalLogicValue == 4\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 5 ||\n rental.rentalLogicValue == 6\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n {\" \"}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 7 ||\n rental.rentalLogicValue == 8\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 9 ||\n rental.rentalLogicValue == 10\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 11 ||\n rental.rentalLogicValue == 12\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 16 ||\n rental.rentalLogicValue == 17\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 18 ||\n rental.rentalLogicValue == 19\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 20 ||\n rental.rentalLogicValue == 21\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 22 ||\n rental.rentalLogicValue == 23\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)}\n
\n \n )}\n\n \n \n );\n }\n}\nexport default withRouter(RentalDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nclass PartiesUnitDetails extends React.Component {\n constructor(props) {\n console.log(props);\n super(props);\n this.state = {\n unit: this.props.unit,\n subAssetName: this.props.subAssetName,\n tower: this.props.tower,\n landlord: this.props.landlordDetails,\n };\n }\n getTotalGrossleasableArea() {\n let totalGrossleasableArea = 0;\n for (let i = 0; i < this.state.unit.length; i++) {\n totalGrossleasableArea += this.state.unit[i].grossLeasableArea;\n }\n return totalGrossleasableArea;\n }\n\n render() {\n return (\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n {this.state.landlord.map(function (name, index) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.unit !== undefined &&\n this.state.unit.length > 0 &&\n this.state.unit\n .filter(\n (landlord) =>\n landlord.landlord ===\n this.state.landlord[index].companyName\n )\n .map((name, index) => (\n \n \n \n \n \n \n \n \n \n \n \n ))}\n \n
#Floor Unit NoUnit TypeUnit StatusOwnership Percent %Carpet Area (sq.ft)Usable Area (sq.ft)\n Gross Leasable Area (sq.ft)\n
{index + 1}{name.floor}{name.unitNo}{name.unitType}{name.unitStatus}{name.ownershipPercent}{name.carpetArea}{name.usableArea}{name.grossLeasableArea}
\n
\n
\n
\n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n
\n \n Total Gross Leasable Area (sq.ft):\n \n \n
\n
\n
\n \n );\n }\n}\nexport default withRouter(PartiesUnitDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nclass OccupierBrandDetails extends React.Component {\n constructor(props) {\n super(props);\n console.log(props, \"costCenter\");\n this.state = {\n occupierBrand: this.props.occupierBrand,\n occupier: this.props.occupier,\n // vendor_code:this.props.vendor_code\n };\n }\n\n render() {\n return (\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
*/}\n
\n {this.state.occupier.map(function (name, index) {\n return (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {this.state.occupierBrand.leaseType.includes(\n \"Franchisee\"\n ) && (\n
\n
\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n \n );\n }, this)}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(OccupierBrandDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass BrokerDetails extends React.Component {\n constructor(props) {\n super(props);\n console.log(\"====\", this.props.brokerDetails);\n\n this.state = {\n brokerDetails: this.props.brokerDetails,\n };\n }\n\n render() {\n return (\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n\n {\n this.state.brokerDetails.brokerage_logic == \"Percentage of rent Basis\" && (\n
\n
\n
\n \n \n
\n
\n
\n )\n }\n \n\n
\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(BrokerDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass LeaseTermDetails extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n leaseTermDetails: this.props.leaseTermDetails,\n renewalTerms: this.props.renewalTerms,\n };\n }\n\n render() {\n return (\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {\n this.state.leaseTermDetails.rentCommencementDate != \"0000-00-00\" && (\n
\n
\n
\n \n \n
\n
\n
\n ) \n }\n \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {this.state.renewalTerms.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(LeaseTermDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass LockInNoticePeriod extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n lockIn: this.props.lockIn,\n lockInOccupier: this.props.lockInOccupier,\n };\n }\n\n render() {\n return (\n
\n
\n
\n {this.state.lockIn.lockInApplicableForLandlord == \"yes\" ? (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n ) : (\n
\n
\n
\n
\n Lock In Not Applicable for Landlord\n
\n
\n
\n
\n )}\n {this.state.lockIn.lockInApplicableForOccupier == \"yes\" ? (\n this.state.lockInOccupier.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)\n ) : (\n
\n
\n
\n
\n Lock In Not Applicable for Occupier\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n {this.state.lockIn.lockInApplicableForLandlord == \"yes\" ||\n this.state.lockIn.lockInApplicableForOccupier == \"yes\" ? (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n ) : (\n \"\"\n )}\n
\n
\n
\n
\n
\n \n Notes\n *\n \n \n {this.props.lockInNotes}\n \n
\n
\n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(LockInNoticePeriod);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CamDetails extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n camDetails: this.props.camDetails,\n camDataApplicable: this.props.camDataApplicable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.camDataApplicable == \"yes\" ? (\n this.state.camDetails.map(function (cam, index) {\n if (cam.camLogicValue == 1) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {cam.period}\n {` `}\n {`-`}\n {` `}\n {cam.camLogicText}\n {` - `}\n {`( Period Term - ${\n cam.periodTermYY == \"\" ? \"0\" : cam.periodTermYY\n }Y -${\n cam.periodTermMM == \"\" ? \"0\" : cam.periodTermMM\n }M -${\n cam.periodTermDD == \"\" ? \"0\" : cam.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(cam.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(cam.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis
(\n Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camCapped == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (cam.camLogicValue == 2) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {cam.period}\n {` `}\n {`-`}\n {` `}\n {cam.camLogicText}\n {` - `}\n {`( Period Term - ${\n cam.periodTermYY == \"\" ? \"0\" : cam.periodTermYY\n }Y -${\n cam.periodTermMM == \"\" ? \"0\" : cam.periodTermMM\n }M -${\n cam.periodTermDD == \"\" ? \"0\" : cam.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(cam.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(cam.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis
(\n Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camCapped == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (cam.camLogicValue == 3) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {cam.period}\n {` `}\n {`-`}\n {` `}\n {cam.camLogicText}\n {` - `}\n {`( Period Term - ${\n cam.periodTermYY == \"\" ? \"0\" : cam.periodTermYY\n }Y -${\n cam.periodTermMM == \"\" ? \"0\" : cam.periodTermMM\n }M -${\n cam.periodTermDD == \"\" ? \"0\" : cam.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(cam.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(cam.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {cam.slabs.length > 0 &&\n cam.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis
(\n Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camCapped == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n \n \n
\n
\n
\n );\n } else if (cam.camLogicValue == 4) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {cam.period}\n {` `}\n {`-`}\n {` `}\n {cam.camLogicText}\n {` - `}\n {`( Period Term - ${\n cam.periodTermYY == \"\" ? \"0\" : cam.periodTermYY\n }Y -${\n cam.periodTermMM == \"\" ? \"0\" : cam.periodTermMM\n }M -${\n cam.periodTermDD == \"\" ? \"0\" : cam.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(cam.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(cam.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis
\n (Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camCapped == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)\n ) : (\n
\n
\n
\n
\n CAM Not Applicable\n
\n
\n
\n
\n )}\n \n {this.state.camDataApplicable == \"yes\" && (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n \n );\n }\n}\nexport default withRouter(CamDetails);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass Utilities extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n utilities: this.props.utilities,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.utilities.map(function (utility, index) {\n return (\n
\n
\n
\n \n \n {utility.utility.utilityType}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {utility.utility.utilityType == \"Other\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {utility.utility.rates !== undefined &&\n utility.utility.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\nexport default withRouter(Utilities);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass MarketingFund extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n mfDetails: this.props.mfDetails,\n mfDataApplicable: this.props.mfDataApplicable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.mfDataApplicable == \"yes\" ? (\n this.state.mfDetails.map(function (mf, index) {\n if (mf.mfLogicText === \"Marketing Fund Basis Rate\") {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {mf.period}\n {` `}\n {`-`}\n {` `}\n {mf.mfLogicText}\n {` - `}\n {`( Period Term - ${\n mf.periodTermYY == \"\" ? \"0\" : mf.periodTermYY\n }Y -${\n mf.periodTermMM == \"\" ? \"0\" : mf.periodTermMM\n }M -${\n mf.periodTermDD == \"\" ? \"0\" : mf.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(mf.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(mf.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n mf.mfLogicText === \"Marketing Fund Basis Pure Revenue Share\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {mf.period}\n {` `}\n {`-`}\n {` `}\n {mf.mfLogicText}\n {` - `}\n {`( Period Term - ${\n mf.periodTermYY == \"\" ? \"0\" : mf.periodTermYY\n }Y -${\n mf.periodTermMM == \"\" ? \"0\" : mf.periodTermMM\n }M -${\n mf.periodTermDD == \"\" ? \"0\" : mf.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(mf.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(mf.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n mf.mfLogicText ===\n \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {mf.period}\n {` `}\n {`-`}\n {` `}\n {mf.mfLogicText}\n {` - `}\n {`( Period Term - ${\n mf.periodTermYY == \"\" ? \"0\" : mf.periodTermYY\n }Y -${\n mf.periodTermMM == \"\" ? \"0\" : mf.periodTermMM\n }M -${\n mf.periodTermDD == \"\" ? \"0\" : mf.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(mf.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(mf.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {mf.slabs.length > 0 &&\n mf.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n \n \n
\n
\n
\n );\n } else if (\n mf.mfLogicText === \"Marketing Fund Basis % of Rate\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {mf.period}\n {` `}\n {`-`}\n {` `}\n {mf.mfLogicText}\n {` - `}\n {`( Period Term - ${\n mf.periodTermYY == \"\" ? \"0\" : mf.periodTermYY\n }Y -${\n mf.periodTermMM == \"\" ? \"0\" : mf.periodTermMM\n }M -${\n mf.periodTermDD == \"\" ? \"0\" : mf.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(mf.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(mf.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (mf.mfLogicText === \"Marketing Fund Basis Vouchers\") {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {mf.period}\n {` `}\n {`-`}\n {` `}\n {mf.mfLogicText}\n {` - `}\n {`( Period Term - ${\n mf.periodTermYY == \"\" ? \"0\" : mf.periodTermYY\n }Y -${\n mf.periodTermMM == \"\" ? \"0\" : mf.periodTermMM\n }M -${\n mf.periodTermDD == \"\" ? \"0\" : mf.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(mf.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(mf.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)\n ) : (\n
\n
\n
\n
\n Marketing Fund Not Applicable\n
\n
\n
\n
\n )}\n \n {this.state.mfDataApplicable == \"yes\" && (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n \n );\n }\n}\nexport default withRouter(MarketingFund);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass PropertyTax extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n pTaxDetails: this.props.pTaxDetails,\n pTaxPayable: this.props.pTaxPayable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.pTaxPayable == \"yes\" ? (\n this.state.pTaxDetails.map(function (pTax, index) {\n if (pTax.pTaxLogicValue == 1) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pTax.period}\n {` `}\n {`-`}\n {` `}\n {pTax.pTaxLogicText}\n {` - `}\n {`( Period Term - ${\n pTax.periodTermYY == \"\"\n ? \"0\"\n : pTax.periodTermYY\n }Y -${\n pTax.periodTermMM == \"\"\n ? \"0\"\n : pTax.periodTermMM\n }M -${\n pTax.periodTermDD == \"\"\n ? \"0\"\n : pTax.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pTax.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pTax.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.pTaxLogicText !=\n \"Property Tax Basis Actual\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {pTax.pTaxLogicText !=\n \"Property Tax Basis Actual\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {pTax.pTaxLogicText !=\n \"Property Tax Basis Actual\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {pTax.pTaxLogicText !=\n \"Property Tax Basis Actual\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n )}\n {pTax.rates !== undefined &&\n pTax.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n
\n
\n
\n );\n } else if (pTax.pTaxLogicValue == 2) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pTax.period}\n {` `}\n {`-`}\n {` `}\n {pTax.pTaxLogicText}\n {` - `}\n {`( Period Term - ${\n pTax.periodTermYY == \"\"\n ? \"0\"\n : pTax.periodTermYY\n }Y -${\n pTax.periodTermMM == \"\"\n ? \"0\"\n : pTax.periodTermMM\n }M -${\n pTax.periodTermDD == \"\"\n ? \"0\"\n : pTax.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pTax.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pTax.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (pTax.pTaxLogicValue == 3) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pTax.period}\n {` `}\n {`-`}\n {` `}\n {pTax.pTaxLogicText}\n {` - `}\n {`( Period Term - ${\n pTax.periodTermYY == \"\"\n ? \"0\"\n : pTax.periodTermYY\n }Y -${\n pTax.periodTermMM == \"\"\n ? \"0\"\n : pTax.periodTermMM\n }M -${\n pTax.periodTermDD == \"\"\n ? \"0\"\n : pTax.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pTax.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pTax.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {pTax.slabs.length > 0 &&\n pTax.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n \n \n
\n
\n
\n );\n } else if (pTax.pTaxLogicValue == 4) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pTax.period}\n {` `}\n {`-`}\n {` `}\n {pTax.pTaxLogicText}\n {` - `}\n {`( Period Term - ${\n pTax.periodTermYY == \"\"\n ? \"0\"\n : pTax.periodTermYY\n }Y -${\n pTax.periodTermMM == \"\"\n ? \"0\"\n : pTax.periodTermMM\n }M -${\n pTax.periodTermDD == \"\"\n ? \"0\"\n : pTax.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pTax.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pTax.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (pTax.pTaxLogicValue == 5) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pTax.period}\n {` `}\n {`-`}\n {` `}\n {pTax.pTaxLogicText}\n {` - `}\n {`( Period Term - ${\n pTax.periodTermYY == \"\"\n ? \"0\"\n : pTax.periodTermYY\n }Y -${\n pTax.periodTermMM == \"\"\n ? \"0\"\n : pTax.periodTermMM\n }M -${\n pTax.periodTermDD == \"\"\n ? \"0\"\n : pTax.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pTax.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pTax.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)\n ) : (\n
\n
\n
\n
\n Property Tax Not Applicable\n
\n
\n
\n
\n )}\n \n {this.state.pTaxPayable == \"yes\" && (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n \n );\n }\n}\nexport default withRouter(PropertyTax);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass ParkingStorageSignage extends React.Component {\n constructor(props) {\n super(props);\n console.log(props);\n this.state = {\n parkingStorageSignage: this.props.parkingStorageSignage,\n parkingChargesApplicable: this.props.chargesApplicable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {(this.state.parkingChargesApplicable == \"yes\" || this.state.parkingChargesApplicable == \"hybrid\" ) ? (\n Object.keys(this.state.parkingStorageSignage).map(function (\n key,\n index\n ) {\n return this.state.parkingStorageSignage[key].map(function (\n pss,\n index\n ) {\n if (\n this.state.parkingStorageSignage[key][index].chargeType ==\n \"Parking 2W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ==\n \"Parking 4W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ==\n \"Parking Other\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pss.period}\n {` `}\n {`-`}\n {` `}\n {pss.chargeTypeText}\n {` - `}\n {`( Period Term - ${\n pss.periodTermYY == \"\"\n ? \"0\"\n : pss.periodTermYY\n }Y -${\n pss.periodTermMM == \"\"\n ? \"0\"\n : pss.periodTermMM\n }M -${\n pss.periodTermDD == \"\"\n ? \"0\"\n : pss.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pss.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pss.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {\n typeof pss.freeParking != \"undefined\" && (\n
\n
\n
\n \n \n
\n
\n
\n )\n\n }\n \n\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType ==\n \"Storage\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pss.period}\n {` `}\n {`-`}\n {` `}\n {pss.chargeTypeText}\n {` - `}\n {`( Period Term - ${\n pss.periodTermYY == \"\"\n ? \"0\"\n : pss.periodTermYY\n }Y -${\n pss.periodTermMM == \"\"\n ? \"0\"\n : pss.periodTermMM\n }M -${\n pss.periodTermDD == \"\"\n ? \"0\"\n : pss.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pss.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pss.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType ==\n \"Signage\"\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {pss.period}\n {` `}\n {`-`}\n {` `}\n {pss.chargeTypeText}\n {` - `}\n {`( Period Term - ${\n pss.periodTermYY == \"\"\n ? \"0\"\n : pss.periodTermYY\n }Y -${\n pss.periodTermMM == \"\"\n ? \"0\"\n : pss.periodTermMM\n }M -${\n pss.periodTermDD == \"\"\n ? \"0\"\n : pss.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(pss.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(pss.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n },\n this);\n },\n this)\n ) : (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n {/* {this.state.parkingChargesApplicable == \"yes\" && ( */}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n {/* )} */}\n
\n
\n );\n }\n}\nexport default withRouter(ParkingStorageSignage);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass RentDeposit extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n rentDepositDetails: this.props.rentDepositDetails,\n };\n console.log(Object.values(this.state.rentDepositDetails)[0]);\n }\n\n render() {\n return (\n
\n
\n \n {Object.keys(this.state.rentDepositDetails).map(function (\n key,\n index\n ) {\n return this.state.rentDepositDetails[key].map(function (\n rent,\n index\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rent.period}\n {` `}\n {`( Period Term - ${\n rent.periodTermYY == \"\" ? \"0\" : rent.periodTermYY\n }Y -${\n rent.periodTermMM == \"\" ? \"0\" : rent.periodTermMM\n }M -${\n rent.periodTermDD == \"\" ? \"0\" : rent.periodTermDD\n }D )`}\n {` -`}\n {` `}\n {rent.rentDepositNature}\n {` - `}\n {`From ${leaseDateFormat(rent.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rent.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
\n Milestone Name\n Due Date\n RDEP Milestone\n \n RDEP Milestone Amount (Rs.)\n
\n {name.milestoneName}\n \n {leaseDateFormat(\n name.dueDate\n )}\n \n {Math.round(\n name.milestonePercent\n )}\n {rent.milestones[index]\n .milestoneType ==\n \"RDEP Percent\"\n ? \" %\"\n : \" Months\"}\n \n {Math.round(\n name.amount\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n );\n },\n this);\n },\n this)}\n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n );\n }\n}\nexport default withRouter(RentDeposit);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CamDeposit extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n camDepositDetails: this.props.camDepositDetails,\n camDepositApplicable: this.props.camDepositApplicable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.camDepositApplicable == \"yes\" ? (\n Object.keys(this.state.camDepositDetails).map(function (\n key,\n index\n ) {\n return this.state.camDepositDetails[key].map(function (\n cam,\n index\n ) {\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {cam.period}\n {` `}\n {`( Period Term - ${\n cam.periodTermYY == \"\" ? \"0\" : cam.periodTermYY\n }Y -${\n cam.periodTermMM == \"\" ? \"0\" : cam.periodTermMM\n }M -${\n cam.periodTermDD == \"\" ? \"0\" : cam.periodTermDD\n }D )`}\n {` -`}\n {` `}\n {cam.camDepositNature}\n {` - `}\n {`From ${leaseDateFormat(cam.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(cam.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {cam.milestones.length > 0 &&\n cam.milestones.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
\n Milestone Name\n Due Date\n CDEP Milestone\n \n RDEP Milestone Amount (Rs.)\n
\n {name.milestoneName}\n \n {leaseDateFormat(\n name.dueDate\n )}\n \n {Math.round(\n name.milestonePercent\n )}\n {cam.milestones[index]\n .milestoneType ==\n \"CDEP Percent\"\n ? \" %\"\n : \" Months\"}\n \n {Math.round(\n name.amount\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n );\n },\n this);\n },\n this)\n ) : (\n
\n
\n
\n
\n CAM Deposit Not Applicable\n
\n
\n
\n
\n )}\n \n {this.state.camDepositApplicable == \"yes\" && (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n \n );\n }\n}\nexport default withRouter(CamDeposit);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass OtherDeposit extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n otherDepositDetails: this.props.otherDepositDetails,\n otherDepositApplicable: this.props.otherDepositApplicable,\n };\n }\n\n render() {\n return (\n
\n
\n \n {this.state.otherDepositApplicable == \"yes\" ? (\n Object.keys(this.state.otherDepositDetails).map(function (\n key,\n index1\n ) {\n return this.state.otherDepositDetails[key].map(function (\n rent,\n index\n ) {\n console.log(this.state.otherDepositDetails[key]);\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rent.period}\n {` `}\n {`( Period Term - ${\n rent.periodTermYY == \"\"\n ? \"0\"\n : rent.periodTermYY\n }Y -${\n rent.periodTermMM == \"\"\n ? \"0\"\n : rent.periodTermMM\n }M -${\n rent.periodTermDD == \"\"\n ? \"0\"\n : rent.periodTermDD\n }D )`}\n {` -`}\n {` `}\n {rent.depositNature}\n {` - `}\n {rent.otherDepositName}\n {` `}\n {` - `}\n {`From ${leaseDateFormat(rent.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rent.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rent.otherDepositName !==\n \"Storage Deposit\" &&\n rent.otherDepositName !==\n \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName ===\n \"Storage Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.rateUOM === \"Per Sq.ft\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName ===\n \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
\n Milestone Name\n Due Date\n ODEP Percent\n \n RDEP Milestone Amount (Rs.)\n
\n {name.milestoneName}\n \n {leaseDateFormat(\n name.dueDate\n )}\n \n {Math.round(\n name.milestonePercent\n )}\n {\" %\"}\n \n {Math.round(\n name.amount\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n );\n },\n this);\n },\n this)\n ) : (\n
\n
\n
\n
\n Other Deposit Not Applicable\n
\n
\n
\n
\n )}\n \n {this.state.otherDepositApplicable == \"yes\" && (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n \n );\n }\n}\nexport default withRouter(OtherDeposit);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\n// import { PdfReader } from \"../../utils/DocumentViewer\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass UploadDocuments extends React.Component {\n state = {\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n uploadedDocuments: [],\n currentDocument: \"\",\n pageNo: 1,\n documentTable: [],\n documentNamesAfterAdd: [],\n };\n\n constructor(props) {\n super(props);\n this.state = {\n uploadedDocs: this.props.uploadedDocs,\n };\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n render() {\n return (\n
\n
\n {this.state.uploadedDocs != null &&\n this.state.uploadedDocs.map(function (name, index) {\n return (\n
\n
\n
\n
\n
\n \n {/* */}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n {/* \n \n Close\n \n */}\n \n
\n
\n
\n );\n }\n}\nexport default withRouter(UploadDocuments);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nclass CommercialClauses extends React.Component {\n state = {\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n uploadedDocuments: [],\n currentDocument: \"\",\n pageNo: 1,\n documentTable: [],\n documentNamesAfterAdd: [],\n leaseDocuments: [],\n };\n\n constructor(props) {\n super(props);\n this.state = {\n commercialClauses: this.props.commercialClauses,\n leaseDocuments: this.props.leaseDocuments,\n };\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n render() {\n return (\n
\n
\n {this.state.commercialClauses != null &&\n this.state.commercialClauses.map(function (name, index) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }, this)}\n
\n\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n );\n }\n}\nexport default withRouter(CommercialClauses);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nclass OtherClauses extends React.Component {\n state = {\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n uploadedDocuments: [],\n currentDocument: \"\",\n pageNo: 1,\n documentTable: [],\n documentNamesAfterAdd: [],\n };\n\n constructor(props) {\n super(props);\n this.state = {\n otherClauses: this.props.otherClauses,\n leaseDocuments: this.props.leaseDocuments,\n };\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n render() {\n return (\n
\n
\n {this.state.otherClauses != null &&\n this.state.otherClauses.map(function (name, index) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }, this)}\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n {/* \n \n Close\n \n */}\n \n
\n
\n
\n );\n }\n}\nexport default withRouter(OtherClauses);\n","import React, { useState } from \"react\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { BrowserRouter as Router, Link, withRouter } from \"react-router-dom\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nimport { Modal, Button } from \"react-bootstrap\";\nclass InvoiceValidationTab extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n invoiceDetails: this.props.invoiceDetails,\n mgRateTotal: 0,\n mgAmountTotal: 0,\n netSalesTotal: 0,\n rsTotal: 0,\n rsAmountTotal: 0,\n fitoutTotal: 0,\n camTotal: 0,\n netChargeTotal: 0,\n invoiceAmountTotal: 0,\n currentDocument: \"\",\n pageNo: 1,\n };\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n render() {\n return (\n
\n
\n \n {Object.keys(this.state.invoiceDetails).map((event, index) => {\n return {event};\n })}\n {Object.keys(this.state.invoiceDetails).map((event, index) => {\n return (\n \n {Object.keys(this.state.invoiceDetails[event]).map(\n (chargeDetails, chargeType) => {\n return (\n
\n
\n
\n \n \n \n {chargeDetails}\n \n \n
\n
\n {Object.keys(\n this.state.invoiceDetails[event][\n chargeDetails\n ]\n ).map(\n (chargeLogic, chargeLogicindex) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Month\n Charge Type\n \n Charge Logic\n MG Rate\n MG Amount\n \n Net Sales\n RS %\n RS Amount\n \n Fitout Rent Amount\n \n CAM Amount\n \n Net Charge Amount\n \n Invoice Amount\n \n Variance\n \n View Invoice\n
{event}{chargeDetails}{chargeLogic}\n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"mg_rate\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"mg_amount\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"net_sales\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"fitoutRate\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"cam_amt\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"net_sales\"]\n }\n \n {\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"invoice_amount\"]\n }\n \n {\n e.preventDefault();\n this.state.currentDocument =\n this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"document_link\"];\n this.state.pageNo = 1;\n this.openModal();\n }}\n >\n View Invoice\n \n
Total--\n {\n (this.state.mgRateTotal +=\n Number(\n this.state\n .invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"mg_rate\"]\n ))\n }\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"mg_amount\"] +=\n this.state.mgAmountTotal)\n }\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"net_sales\"] +=\n this.state.netSalesTotal)\n }\n \n {this.state.rsTotal}\n \n {this.state.rsAmountTotal}\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"fitoutRate\"] +=\n this.state.fitoutTotal)\n }\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"cam_amt\"] +=\n this.state.camTotal)\n }\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"net_sales\"] +=\n this.state.netChargeTotal)\n }\n \n {\n (this.state.invoiceDetails[\n event\n ][chargeDetails][\n chargeLogic\n ][\"invoice_amount\"] +=\n this.state.invoiceAmountTotal)\n }\n \n {this.state.varianceTotal}\n
\n );\n }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n )}\n
\n );\n })}\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n );\n }\n}\nexport default withRouter(InvoiceValidationTab);\n","import React, { useState } from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport dateFormat, { masks } from \"dateformat\";\nclass LeaseInformation extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n leaseData: this.props.leaseData,\n };\n }\n\n amendNumber(str) {\n return str.split(\"-\").pop();\n }\n\n setPopupHeading() {\n if (\n this.state.leaseData.type == \"\" ||\n this.state.leaseData.type == \"original\"\n ) {\n return \"Create Lease\";\n } else if (this.state.leaseData.type == \"amend\") {\n return \"Amend Lease\";\n } else if (this.state.leaseData.type == \"extend\") {\n return \"Extend Lease\";\n } else if (this.state.leaseData.type == \"renew\") {\n return \"Renew Lease\";\n } else if (this.state.leaseData.type == \"terminate\") {\n return \"Terminate Lease\";\n } else {\n return \"Create Lease\";\n }\n }\n\n render() {\n return (\n
\n
\n
\n \n {this.state.leaseData.type == \"\" && (\n \n \n \n \n \n \n \n \n \n \n\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"original\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"amend\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"extend\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"renew\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {this.state.leaseData.type == \"terminate\" && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n
ActivityCreate Lease
Lease Number{this.state.leaseData.lease_code}
Lease Created By{this.state.leaseData.created_by}
Lease Creation Date & Time{this.state.leaseData.created_at}
Lease Submitted By{this.state.leaseData.submitted_by}
Lease Submitted Date & Time{this.state.leaseData.submitted_at}
Lease Approved By{this.state.leaseData.approved_by}
Lease Approval Date & Time{this.state.leaseData.approved_at}
ActivityCreate Lease
Lease Number{this.state.leaseData.lease_code}
Lease Number{this.state.leaseData.lease_code}
Lease Created By{this.state.leaseData.created_by}
Lease Creation Date & Time{this.state.leaseData.created_at}
Lease Submitted By{this.state.leaseData.submitted_by}
Lease Submitted Date & Time{this.state.leaseData.submitted_at}
Lease Approved By{this.state.leaseData.approved_by}
Lease Approval Date & Time{this.state.leaseData.approved_at}
ActivityAmend Lease
Amendment No{this.amendNumber(this.state.leaseData.lease_code)}
Original Lease Number{this.state.leaseData.original_code}
Amended Lease No{this.state.leaseData.lease_code}
Lease Amended By{this.state.leaseData.created_by}
Lease Amend Date & Time{this.state.leaseData.created_at}
Amended Screens{this.state.leaseData.ammen_screens}
Lease Amend Submitted By{this.state.leaseData.submitted_by}
Lease Amend Submit Date & Time{this.state.leaseData.submitted_at}
Lease Amend Approved By{this.state.leaseData.approved_by}
Lease Amend Approved Date & Time{this.state.leaseData.approved_at}
ActivityExtend Lease
Extension No{this.state.leaseData.lease_code}
Original Lease Number{this.state.leaseData.original_code}
Extended Lease No{this.state.leaseData.lease_code}
Lease Extended By{this.state.leaseData.created_by}
Lease Extension Date & Time{this.state.leaseData.created_at}
Lease Extend Submitted By{this.state.leaseData.submitted_by}
Lease Extend Submit Date & Time{this.state.leaseData.submitted_at}
Lease Extend Approved By{this.state.leaseData.approved_by}
Lease Extend Approved Date & Time{this.state.leaseData.approved_at}
ActivityRenew Lease
Renewal No{this.state.leaseData.lease_code}
Original Lease Number{this.state.original_code}
Renewed Lease No{this.state.leaseData.lease_code}
Lease Renewed By{this.state.leaseData.created_by}
Lease Renew Date & Time{this.state.leaseData.created_at}
Lease Renew Submitted By{this.state.leaseData.submitted_by}
Lease Renew Submit Date & Time{this.state.leaseData.submitted_at}
Lease Renew Approved By{this.state.leaseData.approved_by}
Lease Renew Approved Date & Time{this.state.leaseData.approved_at}
ActivityTerminate Lease
Original Lease Number{this.state.original_code}
Last Lease Number{this.state.leaseData.lease_code}
Lease Terminated By{this.state.leaseData.terminated_by}
Lease Terminate Date & Time{this.state.leaseData.terminated_at}
Lease Terminate Submitted By{this.state.leaseData.submitted_by}
Lease Terminate Submit Date & Time{this.state.leaseData.submitted_at}
Lease Terminate Approved By{this.state.leaseData.approved_by}
Lease Terminate Approved Date & Time{this.state.leaseData.approved_at}
\n
\n
\n
\n );\n }\n}\nexport default withRouter(LeaseInformation);\n","import React from \"react\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport \"bootstrap\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport Accordion from \"react-bootstrap/Accordion\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherRentalDetails extends React.Component {\n constructor(props) {\n super(props);\n console.log(props);\n this.state = {\n rentalDetails: this.props.rentalDetails,\n waiverDetails: [],\n };\n }\n\n componentDidMount() {\n console.log(\"pop\");\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-discount-rent?id=${this.props.match.params.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({ waiverDetails: data.rentalDetails }, () => {\n console.log(this.state.waiverDetails);\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n render() {\n return (\n
\n
\n \n {Object.keys(this.state.rentalDetails).map(function (key, index) {\n return this.state.rentalDetails[key].length > 0\n ? this.state.rentalDetails[key].map(function (rental, index) {\n if (\n rental.rentalLogicValue == 1 ||\n rental.rentalLogicValue == 2 ||\n rental.rentalLogicValue == 3 ||\n rental.rentalLogicValue == 2\n ) {\n var rentalUnitData = \"\";\n\n if (typeof rental.unit != \"undefined\") {\n rentalUnitData = ` - ` + rental.unit + `-`;\n }\n\n if (rental.rentDueFrequency == \"Every Month\") {\n rental.rentDueFrequency =\n rental.rentDueFrequency + \" (Advanced Rent)\";\n }\n\n if (rental.rentDueFrequency == \"Subsequent Month\") {\n rental.rentDueFrequency =\n rental.rentDueFrequency + \" (Arrears Rent)\";\n }\n\n return (\n
\n
\n
\n \n \n {`Period `}\n {` `}\n {rental.period}\n {` `}\n {`-`}\n {` `}\n {rental.rentalLogicText}\n {rentalUnitData}\n {` - `}\n {`( Period Term - ${\n rental.periodTermYY == \"\"\n ? \"0 Y\"\n : rental.periodTermYY\n }Y -${\n rental.periodTermMM == \"\"\n ? \"0 Y\"\n : rental.periodTermMM\n }M -${\n rental.periodTermDD == \"\"\n ? \"0 Y\"\n : rental.periodTermDD\n }D )`}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom == \"Per Seat\" && (\n <>\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n )}\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom != \"Per Seat\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)\n : [];\n }, this)}\n
\n
\n\n {this.props.basic && (\n
\n \n
\n \n \n Waiver Details\n \n
\n
\n
\n \n {this.state.waiverDetails.map(function (rental, index) {\n if (\n rental.rentalLogicValue == 1 ||\n rental.rentalLogicValue == 2\n ) {\n var rentalUnitData = \"\";\n\n if (typeof rental.unit != \"undefined\") {\n rentalUnitData = ` - ` + rental.unit + `-`;\n }\n\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 3 ||\n rental.rentalLogicValue == 4\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 5 ||\n rental.rentalLogicValue == 6\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n {\" \"}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 7 ||\n rental.rentalLogicValue == 8\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 9 ||\n rental.rentalLogicValue == 10\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 11 ||\n rental.rentalLogicValue == 12\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 16 ||\n rental.rentalLogicValue == 17\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n );\n } else if (\n rental.rentalLogicValue == 18 ||\n rental.rentalLogicValue == 19\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 20 ||\n rental.rentalLogicValue == 21\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n )\n )}\n \n
SLABProduct\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 22 ||\n rental.rentalLogicValue == 23\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map(\n (name, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABProductFromTo\n Revenue Share (%)\n
{index + 1}\n {name.productName}\n {name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n );\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return (\n
\n
\n
\n \n \n {rental.rentalLogicText}\n {` - `}\n {`From ${leaseDateFormat(rental.fromDate)}`}\n {` `}\n {`To ${leaseDateFormat(rental.toDate)}`}\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\n \"Minus CAM\"\n ) && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n );\n }\n }, this)}\n
\n \n )}\n\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n );\n }\n}\nexport default withRouter(OtherRentalDetails);\n","import React from \"react\";\nimport { withRouter } from \"react-router-dom\";\n\nclass LandlordCharges extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n data: props.data || {},\n };\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.data !== this.props.data) {\n this.setState({ data: this.props.data });\n }\n }\n\n render() {\n const { data } = this.state;\n\n if (!data || Object.keys(data).length === 0) {\n return

No Record Available

;\n }\n\n return (\n
\n {Object.keys(data).map((category) => (\n
\n

{category.toUpperCase()}

\n \n \n \n \n \n \n \n \n {data[category].map((item, index) => (\n \n \n \n \n ))}\n \n
Landlord NamePercentage(%)
{item.landlord_name}{item.percentage}
\n
\n ))}\n
\n );\n }\n}\n\nexport default withRouter(LandlordCharges);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCaretLeft, faCaretRight } from \"@fortawesome/free-solid-svg-icons\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { Redirect, withRouter } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport RentalDetails from \"./tabSection/RentalDetails\";\nimport PartiesUnitDetails from \"./tabSection/PartiesUnitDetails\";\nimport OccupierBrandDetails from \"./tabSection/OccupierBrandDetails\";\nimport BrokerDetails from \"./tabSection/BrokerDetails\";\nimport LeaseTermDetails from \"./tabSection/LeaseTermDetails\";\nimport LockInNoticePeriod from \"./tabSection/LockInNoticePeriod\";\nimport CamDetails from \"./tabSection/CamDetails\";\nimport Utilities from \"./tabSection/Utilities\";\nimport MarketingFund from \"./tabSection/MarketingFund\";\nimport PropertyTax from \"./tabSection/PropertyTax\";\nimport ParkingStorageSignage from \"./tabSection/ParkingStorageSignage\";\nimport RentDeposit from \"./tabSection/RentDeposit\";\nimport CamDeposit from \"./tabSection/CamDeposit\";\nimport OtherDeposit from \"./tabSection/OtherDeposit\";\nimport UploadDocuments from \"./tabSection/UploadDocuments\";\nimport CommercialClauses from \"./tabSection/CommercialClauses\";\nimport OtherClauses from \"./tabSection/OtherClauses\";\nimport TopHeader from \"../layout/TopHeader\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { type } from \"jquery\";\nimport InvoiceValidationTab from \"./tabSection/InvoiceValidationTab\";\nimport LeaseInformation from \"./tabSection/LeaseInformation\";\nimport OtherRentalDetails from \"./tabSection/OtherRentalDetails\";\nimport LandlordCharges from \"./tabSection/LandlordCharges\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseDetails extends React.Component {\n state = {\n redirect: false,\n leaseStatus: \"\",\n initialValues: {},\n leaseCreationDate: \"\",\n leaseId: \"\",\n\n unit: [],\n landlordDetails: [],\n landlordNotes: \"\",\n occupierNotes: \"\",\n leaseTermNotes: \"\",\n lockInNotes: \"\",\n rentalNotes: \"\",\n camNotes: \"\",\n utilitiesNotes: \"\",\n mfNotes: \"\",\n parkingNotes: \"\",\n pTaxNotes: \"\",\n rdNotes: \"\",\n cdNotes: \"\",\n odNotes: \"\",\n additionalDetails: {},\n subAssetName: \"\",\n subAssetNameValue: \"\",\n assetValue: \"\",\n towerValue: \"\",\n tower: \"\",\n occupierBrand: [],\n occupier: [],\n leaseTermDetails: [],\n renewalTerms: [],\n lockIn: [],\n lockInOccupier: [],\n rentalDetails: [],\n otherRental: [],\n camDetails: [],\n utilities: [],\n mfDetails: [],\n pTaxDetails: [],\n parkingStorageSignage: [],\n rentDepositDetails: [],\n camDepositDetails: [],\n otherDepositDetails: [],\n uploadedDocs: [],\n commercialClauses: [],\n otherClauses: [],\n brokerDetails: [],\n invoiceDetails: [],\n landlordChargeDetails: [],\n leaseData: {},\n universalKeyParties: 1212,\n universalKeyOccupier: 2020,\n universalKeyBroker: 123,\n universalKeyLease: 1010,\n universalKeyLockIn: 2533,\n universalKeyRental: 1322,\n universalKeyCam: 3699,\n universalKeyUtilities: 8789,\n universalKeyMf: 6145,\n universalKeyPtax: 5225,\n universalKeyPss: 3478,\n universalKeyRd: 1879,\n universalKeyCd: 37899,\n universalKeyOd: 4978,\n universalKeyFd: 8014,\n universalKeyCc: 7056,\n universalKeyOc: 2021,\n universalKeyInvoice: 8666,\n universalKeyLeaseData: 9907,\n id: this.props.leaseId,\n\n selectedOption: this.props.selectedOption,\n showPartiesUnit: true,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showOtherRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n camDataApplicable: \"\",\n mfDataApplicable: \"\",\n parkingChargesApplicable: \"\",\n parkingCharges: {},\n camDepositApplicable: \"\",\n otherDepositApplicable: \"\",\n pTaxPayable: \"\",\n showLandlordCharges: false,\n };\n\n constructor(props) {\n super(props);\n //this.setState({ selectedOption: props.newSelection })\n //props.selectedOption(\"Rental Details\");\n //this.handleClick = this.handleClick.bind(this);\n }\n\n componentDidUpdate(prevProps) {\n //console.log(prevProps, \"prev pros\", this.props.selectedOption);\n if (this.props.selectedOption !== prevProps.selectedOption) {\n this.setState({ selectedOption: this.props.selectedOption }, () => {\n this.showLeaseData();\n });\n }\n }\n\n componentDidMount() {\n //this.props.selectedOption(\"Rental Details\");//this.setState({ selectedOption: this.props.newSelection })\n\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/get-lease-status?leaseId=` +\n this.state.id, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseStatus: data.status,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getLeaseId(true);\n\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/fetch-lease-menus?leaseId=` +\n // this.state.id\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // leaseMenus: data.data,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n handleChange(event) {\n this.setState({ value: event.target.value });\n }\n\n getLeaseId(setAllDetails) {\n\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.state.id}`).then((response)=>{\n let data = response.data;\n athis.state.universalKeyParties = Math.floor(Math.random() * 9) + 1;\n if (typeof setAllDetails == \"undefined\") {\n athis.setState({\n leaseId: data.leaseId,\n });\n } else {\n athis.setState({\n unit: data.units,\n leaseCreationDate: data.leaseCreationDate,\n leaseId: data.leaseId,\n costCenter: data.costCenter,\n subAssetName: data.subAssetName,\n tower: data.tower,\n landlordDetails: data.landlord,\n additionalDetails: data.additionalDetails,\n subAssetNameValue: data.subAssetNameValue,\n assetValue: data.assetName,\n towerValue: data.towerValue,\n landlordNotes: data.notes_1,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.state.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // this.state.universalKeyParties = Math.floor(Math.random() * 9) + 1;\n // if (typeof setAllDetails == \"undefined\") {\n // this.setState({\n // leaseId: data.leaseId,\n // });\n // } else {\n // this.setState({\n // unit: data.units,\n // leaseCreationDate: data.leaseCreationDate,\n // leaseId: data.leaseId,\n // costCenter: data.costCenter,\n // subAssetName: data.subAssetName,\n // tower: data.tower,\n // landlordDetails: data.landlord,\n // additionalDetails: data.additionalDetails,\n // subAssetNameValue: data.subAssetNameValue,\n // assetValue: data.assetName,\n // towerValue: data.towerValue,\n // landlordNotes: data.notes_1,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n showLeaseData(e) {\n var selectedVal = this.state.selectedOption;\n console.log(selectedVal);\n console.log(this.state.id);\n // typeof dropdownval !== \"undefined\" ? dropdownval : e.target.value;\n\n if (selectedVal !== \"Other Rental Details\") {\n this.setState({ showOtherRental: false });\n }\n\n if (selectedVal == \"Parties, Landlord & Unit Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data1\");\n this.state.universalKeyParties = Math.floor(Math.random() * 9) + 1;\n this.setState({\n leaseCreationDate: data.leaseCreationDate,\n leaseId: data.leaseId,\n\n unit: data.units,\n additionalDetails: data.additionalDetails,\n subAssetNameValue: data.subAssetNameValue,\n towerValue: data.towerValue,\n landlordNotes: data.notes_1,\n vendor_code: data.vendor_code,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: true,\n showOccupier: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showInvoice:false\n });\n } else if (selectedVal == \"Occupier & Brand Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-occupier-form?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyOccupier = Math.floor(Math.random() * 9) + 1;\n this.setState({\n occupierBrand: data,\n occupier: data.occupier,\n additionalDetails: data.additionalDetails,\n occupierNotes: data.notes_2,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: true,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showInvoice: false\n });\n } else if (selectedVal == \"Broker Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-broker-form?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyBroker = Math.floor(Math.random() * 9) + 1;\n this.setState({\n showPartiesUnit: false,\n showBrokerDetails: true,\n showOccupier: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n brokerDetails: data,\n additionalDetails: data.additionalDetails,\n showLandlordCharges: false,\n });\n // this.setState({\n // brokerDetails: data,\n // additionalDetails: data.additionalDetails,\n // });\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (selectedVal == \"Lease Term Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-term-form?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyLease = Math.floor(Math.random() * 9) + 1;\n this.setState({\n leaseTermDetails: data,\n renewalTerms: data.renewalTerms,\n leaseTermNotes: data.notes_3,\n additionalDetails: data.additionalDetails,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: true,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Lock In & Notice Period\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-lockin-form?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyLockIn = Math.floor(Math.random() * 9) + 1;\n this.setState({\n lockIn: data,\n lockInOccupier: data.lockInPeriodOccupier,\n additionalDetails: data.additionalDetails,\n lockInNotes: data.notes_4,\n // lockInApplicable:data.\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: true,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (\n selectedVal == \"Rental Details\" ||\n selectedVal == \"Basic Rental Details\"\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyRental = Math.floor(Math.random() * 9) + 1;\n this.setState({\n rentalDetails: data.rentalDetails,\n additionalDetails: data.additionalDetails,\n rentalNotes: data.notes_5,\n });\n console.log(this.state.rentalDetails);\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: true,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Other Rental Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-other-rent-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyRental = Math.floor(Math.random() * 9) + 1;\n this.setState({\n otherRental: data.rentalDetails,\n additionalDetails: data.additionalDetails,\n rentalNotes: data.notes_16,\n });\n console.log(this.state.rentalDetails);\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showOtherRental: true,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"CAM Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyCam = Math.floor(Math.random() * 9) + 1;\n this.setState({\n camDetails: data.camDetails,\n camDataApplicable: data.camApplicable,\n additionalDetails: data.additionalDetails,\n camNotes: data.notes_6,\n });\n console.log(this.state.camDetails);\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: true,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Utilities\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-utilities?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyUtilities = Math.floor(Math.random() * 9) + 1;\n this.setState({\n utilities: data.utilities,\n additionalDetails: data.additionalDetails,\n utilitiesNotes: data.notes_7,\n });\n console.log(this.state.utilities);\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: true,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Marketing Fund\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-marketing-fund-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyMf = Math.floor(Math.random() * 9) + 1;\n this.setState({\n mfDetails: data.marketingFundDetails,\n mfDataApplicable: data.marketingFundApplicable,\n mfNotes: data.notes_8,\n additionalDetails: data.additionalDetails,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: true,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Property & Municipal Tax\") {\n console.log(\"hh\");\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-property-tax-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyPtax = Math.floor(Math.random() * 9) + 1;\n this.setState({\n pTaxDetails: data.propertyTaxDetails,\n pTaxPayable: data.propertyTaxPayable,\n additionalDetails: data.additionalDetails,\n pTaxNotes: data.notes_9,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: true,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Parking Storage & Signage\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-pss-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyPss = Math.floor(Math.random() * 9) + 1;\n this.setState({\n parkingStorageSignage: data.parkingStorageSignage,\n parkingChargesApplicable: data.chargesApplicable,\n additionalDetails: data.additionalDetails,\n parkingNotes: data.notes_10,\n parkingCharges: data.parkingCharges,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: true,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Rent Deposit Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-deposit-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyRd = Math.floor(Math.random() * 9) + 1;\n this.setState({\n rentDepositDetails: data.rentDepositDetails,\n additionalDetails: data.additionalDetails,\n rdNotes: data.notes_11,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: true,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"CAM Deposit Details\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-deposit-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyCd = Math.floor(Math.random() * 9) + 1;\n this.setState({\n camDepositDetails: data.camDepositDetails,\n camDepositApplicable: data.camDepositApplicable,\n additionalDetails: data.additionalDetails,\n cdNotes: data.notes_12,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: true,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Other Deposit Details\") {\n console.log(selectedVal);\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-deposit-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyOd = Math.floor(Math.random() * 9) + 1;\n this.setState({\n otherDepositDetails: data.otherDepositDetails,\n otherDepositApplicable: data.otherDepositApplicable,\n additionalDetails: data.additionalDetails,\n odNotes: data.notes_13,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: true,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Uploaded Documents\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-document?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyFd = Math.floor(Math.random() * 9) + 1;\n this.setState({\n uploadedDocs: data.data,\n additionalDetails: data.additionalDetails,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: true,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Critical Clauses - Commercial\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-commercial-clauses-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyCc = Math.floor(Math.random() * 9) + 1;\n this.setState({\n commercialClauses: data.commercialClausesDetails,\n leaseDocuments: data.lease_documents,\n additionalDetails: data.additionalDetails,\n cdNotes:data.notes_14\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: true,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Critical Clauses - Other\") {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-clauses-details?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyOc = Math.floor(Math.random() * 9) + 1;\n this.setState({\n otherClauses: data.otherClausesDetails,\n leaseDocuments: data.lease_documents,\n additionalDetails: data.additionalDetails,\n cdNotes: data.notes_15\t\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: true,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Invoice\") {\n console.log(\"11\");\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/lease-invoice-detail-view?leaseId=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyInvoice = Math.floor(Math.random() * 9) + 1;\n this.setState({\n invoiceDetails: data,\n additionalDetails: data.additionalDetails,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: true,\n showInfo: false,\n showLandlordCharges: false\n });\n } else if (selectedVal == \"Information\") {\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/lease-details-view?leaseId=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.universalKeyLeaseData = Math.floor(Math.random() * 9) + 1;\n this.setState({\n leaseData: data.data,\n });\n this.state.additionalDetails = [];\n this.state.additionalDetails.title = \"Information\";\n this.setState({});\n //{this.state.additionalDetails.title\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: true,\n showLandlordCharges: false\n });\n }else if(selectedVal == 'Landlord Charge Type'){\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-charges?id=${this.state.id}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //console.log(data);\n this.setState({\n landlordChargeDetails: data.list,\n additionalDetails: data.additionalDetails,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n showLandlordCharges: true\n });\n \n \n } else {\n this.setState({\n showPartiesUnit: false,\n showOccupier: false,\n showBrokerDetails: false,\n showLeaseTerm: false,\n showLockIn: false,\n showRental: false,\n showCam: false,\n showUtilities: false,\n showMarketingFund: false,\n showProperty: false,\n showParking: false,\n showRentDeposit: false,\n showCamDeposit: false,\n showOtherDeposit: false,\n showUploadedDocs: false,\n showCommercial: false,\n showOther: false,\n showInvoice: false,\n showInfo: false,\n });\n }\n\n if (this.props.leaseChecked != false) {\n this.props.leaseChecked(selectedVal);\n }\n }\n\n callToNextElement(e) {\n let nextindex = this.props.leaseMenus.indexOf(this.state.selectedOption);\n if (nextindex >= 0 && nextindex < this.props.leaseMenus.length - 1) {\n var nextItem = this.props.leaseMenus[nextindex + 1];\n this.setState(\n {\n selectedOption: nextItem,\n },\n () => {\n this.showLeaseData(e);\n }\n );\n\n console.log(\"new val\", this.state.nextSelection);\n this.state.nextSelection = nextItem;\n }\n }\n\n callToPreviousElement(e) {\n let nextindex = this.props.leaseMenus.indexOf(this.state.selectedOption);\n if (nextindex > 0) {\n var nextItem = this.props.leaseMenus[nextindex - 1];\n this.setState(\n {\n selectedOption: nextItem,\n },\n () => {\n this.showLeaseData(e);\n }\n );\n\n console.log(\"new val\", this.state.nextSelection);\n this.state.nextSelection = nextItem;\n }\n console.log(nextindex);\n }\n\n render() {\n return (\n
\n
\n
\n
\n {/* \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => ( */}\n
\n
\n
\n
\n
\n
\n
\n Select Screen\n
\n
\n \n {\n this.callToPreviousElement(e);\n }}\n />\n \n {\n this.setState(\n {\n selectedOption: e.target.value,\n },\n () => {\n this.showLeaseData(e);\n }\n );\n this.handleChange.bind(this);\n }}\n >\n
\n
\n {this.props.history.length > 0 && (\n
\n
\n View History\n
\n {\n this.setState(\n {\n id: e.target.value,\n },\n () => {\n this.showLeaseData(e);\n this.getLeaseId();\n }\n );\n //this.handleChange.bind(this)\n }}\n >\n
\n )}\n
\n
\n
\n
\n {/* )}\n
*/}\n
\n
\n
\n
\n
\n
\n \n \n {/* \n \n \n */}\n \n \n \n \n \n
Lease Creation Date\n {dateFormat(\n this.state.leaseCreationDate,\n \"dd mmm yyyy\"\n )}\n
Lease Id{this.state.leaseId}
\n
\n
\n
\n
\n
\n
\n
\n \n \n {this.state.additionalDetails.title}\n {` (`}\n {this.state.additionalDetails.formType == \"\"\n ? \"Original\"\n : this.state.additionalDetails.formType}\n {`)`}\n \n
\n
\n
\n
\n
\n {this.state.showPartiesUnit && (\n \n )}\n {this.state.showOccupier && (\n \n )}\n {this.state.showBrokerDetails && (\n \n )}\n {this.state.showLeaseTerm && (\n \n )}\n {this.state.showLockIn && (\n \n )}\n {this.state.showRental && (\n \n )}\n {this.state.showOtherRental && (\n // \n \n )}\n {this.state.showCam && (\n \n )}\n {this.state.showUtilities && (\n \n )}\n {this.state.showMarketingFund && (\n \n )}\n {this.state.showProperty && (\n \n )}\n {this.state.showParking && (\n \n )}\n {this.state.showRentDeposit && (\n \n )}\n {this.state.showCamDeposit && (\n \n )}\n {this.state.showOtherDeposit && (\n \n )}\n {this.state.showUploadedDocs && (\n \n )}\n {this.state.showCommercial && (\n \n )}\n {this.state.showOther && (\n \n )}\n {this.state.showInvoice && (\n \n )}\n {this.state.showInfo && (\n \n )}\n {this.state.showLandlordCharges && (\n \n )}\n
\n
\n
\n
\n \n );\n }\n}\n\nexport default LeaseDetails;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCheck, faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport \"bootstrap\";\nimport LeaseDetails from \"../../viewLease/LeaseDetails\";\nimport { hasAccess, getUserType } from \"../../utils/index\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass SubmitLease extends React.Component {\n state = {\n redirect: false,\n leaseStatus: \"\",\n initialValues: {},\n leaseCreationDate: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n leaseId: \"\",\n unit: [],\n occupierBrand: [],\n occupier: [],\n leaseTermDetails: [],\n renewalTerms: [],\n lockIn: [],\n lockInOccupier: [],\n rentalDetails: [],\n camDetails: [],\n utilities: [],\n mfDetails: [],\n pTaxDetails: [],\n parkingStorageSignage: [],\n rentDepositDetails: [],\n camDepositDetails: [],\n otherDepositDetails: [],\n uploadedDocs: [],\n commercialClauses: [],\n otherClauses: [],\n universalKey: \"\",\n currentSelection: \"Parties, Landlord & Unit Details\",\n reviewedOptions: [],\n reviewedCheck: false,\n leaseMenus: [],\n history: [],\n nextSelection: \"Parties, Landlord & Unit Details\",\n counter: Math.round(),\n };\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n\n let athis = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/create-lease/get-lease-status?leaseId=`+this.props.match.params.id,\n }).then(function(response) {\n let data = response.data;\n athis.setState({\n leaseStatus: data.data.status,\n });\n });\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/get-lease-status?leaseId=` +\n // this.props.match.params.id\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // leaseStatus: data.data.status,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/fetch-lease-menus?leaseId=` +\n this.props.match.params.id,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseMenus: data.data,\n history: data.history,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n leaseChecked = (val) => {\n this.setState({ currentSelection: val });\n };\n\n checkedLease = () => {\n const index = this.state.reviewedOptions.indexOf(\n this.state.currentSelection\n );\n\n if (index != -1) {\n this.state.reviewedOptions.splice(index, 1);\n } else {\n this.state.reviewedOptions.push(this.state.currentSelection);\n }\n\n console.log(this.state.reviewedOptions, \"this.state.reviewedOptions\");\n\n var nextindex = this.state.leaseMenus.indexOf(this.state.currentSelection);\n if (nextindex >= 0 && nextindex < this.state.leaseMenus.length - 1) {\n var nextItem = this.state.leaseMenus[nextindex + 1];\n //this.setState({ nextSelection: nextItem, counter: Math.round() });\n\n var that = this;\n setTimeout(() => {\n that.setState(\n {\n nextSelection: nextItem,\n },\n () => {\n //console.log(\"new callback\", this.state.nextSelection);\n //this.setState({ counter: Math.round() });\n }\n );\n\n console.log(\"new val\", that.state.nextSelection);\n\n that.state.nextSelection = nextItem;\n }, 1000);\n }\n\n this.setState({});\n };\n\n submitForApproval = () => {\n var values = {};\n this.state.leaseStatus = 2;\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n };\n\n submitForReject = () => {\n this.state.leaseStatus = 0;\n var values = {};\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Submit Lease
  • \n
  • \n
  • \n Submit Lease\n
  • \n
\n
\n
\n\n\n {\n this.state.leaseStatus = 1;\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n \n\n {this.state.leaseStatus == 0 && (\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n \n {this.state.reviewedOptions.length == \"19\" && (\n \n {this.state.leaseStatus == 0 && (\n \n )}\n
\n )}\n\n {hasAccess([\"admin\", \"checker\"]) &&\n this.state.leaseStatus == 1 && ( //|| this.state.leaseStatus == 2\n
\n {\n //this.state.leaseStatus = 2;\n this.submitForApproval();\n }}\n >\n Approve\n \n {\n //this.state.leaseStatus = 2;\n this.submitForReject();\n }}\n >\n Reject\n \n
\n )}\n
\n
\n
\n
\n
\n\n \n
\n
\n \n \n \n \n \n \n \n \n \n
User NameRole\n Action\n TimeStamp
\n
\n
\n \n \n )}\n \n \n \n \n \n );\n }\n}\n\nexport default withRouter(SubmitLease);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass Waiver extends React.Component {\n countError = \"\";\n state = {\n popupHeading: \"\",\n leaseData: {},\n totalGla: \"\",\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n productName: \"\",\n productId: \"\",\n to: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n rentalDetails: [],\n products: [],\n redirect: false,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n initialValues: {\n rentalLogic: {\n fromDate: \"\",\n toDate: \"\",\n rentalUom: \"\",\n rentDueDate: \"\",\n rentRate: \"\",\n rentRateTerm: \"\",\n onArea: \"\",\n rentFrequency: \"\",\n rentalLogicValue: \"\",\n rentalLogicText: \"\",\n minusCamPercent: \"\",\n revenueShareTerm: \"\",\n slabs: [],\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n showMinusCam: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n console.log(this.props.match.params.id);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\",\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n changeProduct(newValue, values, index) {\n this.state.initialValues.rentalLogic.slabs[index].product = newValue.value;\n this.state.initialValues.rentalLogic.slabs[index].productName =\n newValue.label;\n this.setState({});\n console.groupEnd();\n }\n\n setPopupHeading() {\n if (\n this.state.leaseData.type == \"\" ||\n this.state.leaseData.type == \"original\"\n ) {\n return \"Create Lease\";\n } else if (this.state.leaseData.type == \"amend\") {\n return \"Amend Lease\";\n } else if (this.state.leaseData.type == \"extend\") {\n return \"Extend Lease\";\n } else if (this.state.leaseData.type == \"renew\") {\n return \"Renew Lease\";\n } else if (this.state.leaseData.type == \"terminate\") {\n return \"Terminate Lease\";\n } else {\n return \"Create Lease\";\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editRental(index, values) {\n console.log(values);\n if (this.state.rentalDetails[index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.rentalDetails[index].rentalLogic !== undefined) {\n if (\n this.state.rentalDetails[index].rentalLogic.escalationPercent !==\n undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentalDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.rentalDetails[index].slabNumber;\n if (this.state.rentalDetails[index].rentalLogicText.includes(\"Minus CAM\")) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentalDetails[index].periodTermDD,\n periodTermMM: this.state.rentalDetails[index].periodTermMM,\n periodTermYY: this.state.rentalDetails[index].periodTermYY,\n });\n if (\n this.state.rentalDetails[index].rentalLogicValue === \"1\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"2\"\n ) {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"3\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"4\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"5\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"6\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"7\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"8\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"9\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"10\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"11\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"12\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"13\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"14\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"16\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"17\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"18\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"19\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"20\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"21\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"22\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"23\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"24\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"25\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"26\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n values.rentalLogic = { ...this.state.rentalDetails[index] };\n this.state.fromDate = this.state.rentalDetails[index].fromDate;\n this.state.toDate = this.state.rentalDetails[index].toDate;\n this.state.initialValues.rentalLogic.unit =\n this.state.rentalDetails[index].unit;\n this.setState({});\n }\n\n addRentalDetails = (values, resetForm, setFieldValue) => {\n console.log(values);\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var rentalVal = this.state.initialValues.rentalLogic.rentalLogicValue;\n var _rentalDetails = this.state.rentalDetails;\n // values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n // values.rentalLogic.periodTermYY = this.state.periodTermYY;\n // values.rentalLogic.periodTermMM = this.state.periodTermMM;\n // values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n values.rentalLogic.unit = this.state.initialValues.rentalLogic.unit;\n _rentalDetails.push(values.rentalLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n // this.state.period++;\n // this.state.periodTermDD = \"\";\n // this.state.periodTermMM = \"\";\n // this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n // resetForm();\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n _rentalDetails[this.state.currentIndex] = { ...values.rentalLogic };\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n // values.rentalLogic.unit = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetRentalDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.rentalLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.rentalLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.rentalLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n product: \"\",\n });\n }\n } else if (\n this.state.initialValues.rentalLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.rentalLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.rentalLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.rentalLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n handleRentalLogicChange = (event, values) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rentalLogic.rentalUom = \"\";\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n let index = event.nativeEvent.target.selectedIndex;\n let label = event.nativeEvent.target[index].label;\n this.state.initialValues.rentalLogic.rentalLogicText = label;\n this.state.initialValues.rentalLogic.rentalLogicValue = event.target.value;\n let checkValue = label.includes(\"Minus CAM\");\n if (checkValue) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n if (event.target.value === \"1\" || event.target.value === \"2\") {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"3\" || event.target.value === \"4\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"5\" || event.target.value === \"6\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"7\" || event.target.value === \"8\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"9\" || event.target.value === \"10\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"11\" || event.target.value === \"12\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"13\" ||\n event.target.value === \"14\" ||\n event.target.value === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"16\" || event.target.value === \"17\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"18\" || event.target.value === \"19\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"20\" || event.target.value === \"21\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"22\" || event.target.value === \"23\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"24\" ||\n event.target.value === \"25\" ||\n event.target.value === \"26\" ||\n event.target.value === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/lease-view/lease-details-view?leaseId=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.setState({\n leaseData: data.data,\n });\n }).catch((error) => {});\n \n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/lease-details-view?leaseId=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // leaseData: data.data,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n \n \n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-discount-rent?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.totalGla = data.total_gla;\n // this.state.isRentAutocalculate = data.isRentAutocalculate;\n // this.state.isUnitBifurcate = data.isUnitBifurcate;\n // if (data.isRentAutocalculate) {\n // this.setState({ isRentCheckboxChecked: true });\n // } else {\n // this.setState({ isRentCheckboxChecked: false });\n // }\n this.state.to = data.to;\n this.state.fromDate = data.from;\n if (data.rentalDetails.length > 0) {\n if (\n data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n ) {\n this.setState({\n showForm: false,\n });\n }\n\n this.setState({\n fromDate: getToDate(\n data.rentalDetails[data.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n this.setState(\n {\n // initialValues: data,\n rentalDetails: data.rentalDetails,\n },\n () => {\n console.log(this.state.initialValues);\n }\n );\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n calculateToDate(values) {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n Number(this.state.periodTermMM),\n this.state.periodTermYY\n ),\n });\n }\n\n // calculateRentRate(e, values, setFieldValue) {\n // if (this.state.period > 1) {\n // setFieldValue(\n // \"rentalLogic.rentRate\",\n // (\n // Number(\n // this.state.rentalDetails[this.state.rentalDetails.length - 1]\n // .rentRate\n // ) *\n // (1 + Number(e.target.value) / 100)\n // ).toFixed(2)\n // );\n // }\n // }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .rentRate\n )) /\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .rentRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rentals = this.state.rentalDetails;\n _rentals.splice(this.state.index_val, 1);\n\n this.setState({\n rentalDetails: _rentals,\n showForm: true,\n });\n this.state.period--;\n\n if (this.state.rentalDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.rentalDetails[this.state.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • \n Waiver\n
  • \n
\n
\n
\n\n\n {\n // if (this.state.rentalDetails.length == 0) {\n // this.mainFormValidator.showMessages(\"countError\");\n // return false;\n // }\n\n // if (\n // this.state.to !==\n // this.state.rentalDetails[this.state.rentalDetails.length - 1]\n // .toDate\n // ) {\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Please Complete the period\",\n // });\n // return false;\n // }\n\n values.rentalDetails = this.state.rentalDetails;\n\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-discount-rent?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n
\n
\n
\n
\n
\n
\n \n \n \n \n Lease No\n \n \n {this.state.leaseData.lease_code}\n \n \n \n \n Cost Center\n \n \n {this.state.leaseData.cost_center}\n \n \n \n
\n
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n \n
\n
\n
\n
\n
\n )}\n {this.state.rentMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.setState({\n fromDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.rentFitoutMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"fitout Uom\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n\n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusFitout && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n\n {this.validator.message(\n \"Fitout Rate UOM\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n console.log(e.target.value);\n this.setState({\n toDate: e.target.value,\n });\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.showAddBtn && (\n
\n
\n
\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n Notes/Remarks\n \n
\n
\n
\n {this.mainFormValidator.message(\n \"Rental Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n \n \n \n {/* \n */}\n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n \n {this.state.rentalDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n {/* */}\n {/* */}\n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToRental LogicRental Rate\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n {leaseDateFormat(name.fromDate)}{leaseDateFormat(name.toDate)}{name.rentalLogicText}{name.rentRate}\n {\n this.editRental(\n index,\n values,\n setFieldValue\n );\n }}\n >\n \n \n {this.state.rentalDetails.length ==\n index + 1 && (\n {\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n
\n \n \n
\n\n
\n
\n
\n
\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Rental Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.rentalPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n\n rentalPopup(rental) {\n console.log(rental);\n if (rental.rentalLogicValue == 1 || rental.rentalLogicValue == 2) {\n return this.rentMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 3 || rental.rentalLogicValue == 4) {\n return this.rentPlusFitoutMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 5 || rental.rentalLogicValue == 6) {\n return this.pureRevenueShareMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 7 || rental.rentalLogicValue == 8) {\n return this.pureRevenueShareSalesRangeMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 9 || rental.rentalLogicValue == 10) {\n return this.pureRevenueShareProductMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 11 || rental.rentalLogicValue == 12) {\n return this.pureRevenueShareSalesRangeProductMinusCamPopup(rental);\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return this.minimumGuaranteeRentPlusCamMinusCam(rental);\n } else if (rental.rentalLogicValue == 16 || rental.rentalLogicValue == 17) {\n return this.minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental);\n } else if (rental.rentalLogicValue == 18 || rental.rentalLogicValue == 19) {\n return this.minimumGuaranteeRentRevenueShareSalesMinusCam(rental);\n } else if (rental.rentalLogicValue == 20 || rental.rentalLogicValue == 21) {\n return this.minimumGuaranteeRentRevenueShareProductMinusCam(rental);\n } else if (rental.rentalLogicValue == 22 || rental.rentalLogicValue == 23) {\n return this.minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental);\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return this.minimumGuaranteeRentOrRevenueShareMinusCam(rental);\n }\n }\n\n rentMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n }\n }\n\n rentPlusFitoutMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n }\n\n pureRevenueShareMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusCamMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentOrRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n}\nexport default withRouter(Waiver);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faTrash, faUndo, faPen, faMinus, faTimes, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess, clientId } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { Tab, TabList, TabPanel, Tabs } from \"react-tabs\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RentCharge extends React.Component {\n state = {\n popupContent: \"\",\n messsagePopup: false,\n redirect: false,\n id: undefined,\n initialValues: {\n },\n vendorList: [\n {\n id: 1,\n company_name: \"Vendor 1\",\n },\n {\n id: 2,\n company_name: \"Vendor 2\",\n }\n ],\n existingCharges: [{}],\n readOnly: false,\n percentageErr: \"\",\n };\n\n componentDidMount() {\n\n const { id } = this.props.match.params;\n\n axios.get(`${apiUrl.apiUrl.url}/landlord/lease-wise-list?id=${id}`)\n .then(response => {\n console.log(response);\n let data = response.data.data;\n\n //const vendor = data.filter(item => item.is_vendor === \"yes\").map(item => ({\n const vendor = data.map(item => ({\n value: item.id,\n label: item.company_name\n }));\n\n this.setState({\n vendorList: vendor\n });\n });\n\n \n\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-landlord-charges?id=` + id)\n .then(response => {\n const list = response.data.list;\n const landlordDetails = [\n Object.keys(list).reduce((acc, key) => {\n acc[key] = list[key].map((item) => ({\n landlord_id: item.landlord_id,\n percent: parseFloat(item.percentage).toString(),\n }));\n return acc;\n }, {}),\n ];\n\n this.setState({\n existingCharges: landlordDetails\n });\n });\n\n };\n \n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n tenant: '',\n contacts: []\n },\n });\n};\n\n componentDidUpdate() {\n }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n \n\n render() {\n const { id } = this.props.match.params;\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n \n
  • \n
  • \n Create Lease\n
  • \n
  • \n \n
  • \n
  • \n Landlord Charge\n
  • \n
\n
\n
\n
\n {this.renderForm()}\n
\n \n );\n }\n\n\n renderForm() {\n\n const tabList = [\n {\n label: \"CAM\",\n value: \"cam\",\n },\n {\n label: \"RENT\",\n value: \"rent\",\n },\n // {\n // label: \"Other Rent Details\",\n // value: \"other rent details\",\n // },\n {\n label: \"Property Tax\",\n value: \"property tax\",\n },\n {\n label: \"Marketing Fund\",\n value: \"marketing fund\",\n },\n {\n label: \"Parking 2W\",\n value: \"parking 2w\",\n },\n {\n label: \"Parking 4W\",\n value: \"parking 4w\",\n },\n {\n label: \"Parking Other\",\n value: \"parking other\",\n },\n {\n label: \"Storage\",\n value: \"storage\",\n },\n {\n label: \"Signage\",\n value: \"signage\",\n },\n ];\n\n return (\n <>\n
\n {\n const { id } = this.props.match.params;\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url+'/create-lease/add-landlord-charges?id=' + id,\n data: values,\n }).then(function (response) {\n\n if (response.data.status == 'success') {\n \n self.setState({\n messsagePopup: true,\n popupContent: \"Detail Saved Successfully!\",\n url: `${apiUrl.apiUrl.url}/createlease/submit-lease/${id}`\n });\n\n } else {\n //self.state.percentageErr =response.data.message;\n self.state.percentageErr ='Please select the landlord and provide the respective percentage.';\n self.setState({});\n }\n });\n\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n
\n \n \n {tabList.map((tabItem, index) => (\n this.setState({ percentageErr: '' })} >{tabItem.label}\n ))}\n \n\n {tabList.map((tabItem, index) => {\n return (\n \n
\n (\n
\n {values.landlordDetails[0][tabItem.value] && values.landlordDetails[0][tabItem.value].length > 0 ? (\n values.landlordDetails[0][tabItem.value].map((item, idx) => (\n
\n
\n
\n

Landlord Details

\n
\n
\n
\n option.value === item.landlord_id) || null}\n placeholder=\"Select a landlord\"\n onChange={(selectedOption) => {\n this.setState({percentageErr : \"\"});\n arrayHelpers.replace(idx, {\n ...item,\n landlord_id: selectedOption?.value || '',\n });\n }}\n />\n {\n // Only allow numbers and a single dot\n e.target.value = e.target.value.replace(/[^0-9.]/g, ''); \n \n // Restrict to valid percentage format (0-100 with up to 2 decimals)\n const validPercentageRegex = /^(\\d{1,2}(\\.\\d{0,2})?|100(\\.0{0,2})?)$/;\n if (!validPercentageRegex.test(e.target.value) && e.target.value !== '') {\n e.target.value = e.target.value.slice(0, -1); // Remove last invalid character\n }\n }}\n onChange={(e) => {\n this.setState({ percentageErr: \"\" }); // Clear error initially\n const newValue = parseFloat(e.target.value) || 0;\n \n // Safely access values.landlordDetails[0][tabItem.value]\n const landlordDetails =\n values.landlordDetails && values.landlordDetails[0]\n ? values.landlordDetails[0][tabItem.value] || []\n : [];\n \n const otherValues = landlordDetails.reduce((sum, val, i) => {\n // Exclude the current index value\n if (i !== idx) {\n return sum + (parseFloat(val.percent) || 0);\n }\n return sum;\n }, 0);\n \n // Check if cumulative value exceeds 100\n if (newValue + otherValues <= 100) {\n handleChange(e); // Update Formik state\n } else {\n this.setState({\n percentageErr: \"Cumulative percentage cannot exceed 100. Please adjust.\"\n });\n }\n }}\n\n />\n
\n
\n
\n
\n {idx > 0 && (\n arrayHelpers.remove(idx)}\n >\n Delete\n \n )}\n {idx < 1 && (\n arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add\n \n )}\n
\n
\n
\n
\n ))\n ) : (\n <>\n
\n
\n

Landlord Details

\n
\n
\n
\n option.value === item.landlord_id) || null}\n placeholder=\"Select a landlord\"\n onChange={(selectedOption) => {\n arrayHelpers.replace(0, {\n landlord_id: selectedOption?.value || '',\n });\n }}\n />\n {\n e.target.value = e.target.value.replace(/[^0-9.]/g, ''); \n \n // Restrict to valid percentage format (0-100 with up to 2 decimals)\n const validPercentageRegex = /^(\\d{1,2}(\\.\\d{0,2})?|100(\\.0{0,2})?)$/;\n if (!validPercentageRegex.test(e.target.value) && e.target.value !== '') {\n e.target.value = e.target.value.slice(0, -1); // Remove last invalid character\n }\n }}\n onChange={(e) => {\n this.setState({ percentageErr: \"\" }); // Clear error initially\n const newValue = parseFloat(e.target.value) || 0;\n \n // Safely access values.landlordDetails[0][tabItem.value]\n const landlordDetails =\n values.landlordDetails && values.landlordDetails[0]\n ? values.landlordDetails[0][tabItem.value] || []\n : [];\n \n const otherValues = landlordDetails.reduce((sum, val, i) => {\n // Exclude the current index value\n if (i !== 0) {\n return sum + (parseFloat(val.percent) || 0);\n }\n return sum;\n }, 0);\n \n // Check if cumulative value exceeds 100\n if (newValue + otherValues <= 100) {\n handleChange(e); // Update Formik state\n } else {\n this.setState({\n percentageErr: \"Cumulative percentage cannot exceed 100. Please adjust.\"\n });\n }\n }}\n />\n
\n
\n
\n
\n {0 > 0 && (\n arrayHelpers.remove(0)}\n >\n Delete\n \n )}\n {0 < 1 && (\n arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add\n \n )}\n
\n
\n
\n {/* arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add Landlord Info\n */}\n \n )}\n
\n )}\n />\n
\n
\n );\n })}\n\n
\n\n
\n

{this.state.percentageErr}

\n \n
\n\n
\n )}\n \n \n \n\n
\n \n );\n }\n}\n\nexport default withRouter(RentCharge);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n Redirect,\n} from \"react-router-dom\";\nimport LeaseMenu from \"./LeaseMenu\";\n// import UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport styles from \"./createLease.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faKey,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport LeaseLandlord from \"./parties/LeaseLandlord\";\nimport LeaseOccupier from \"./parties/LeaseOccupier\";\nimport LeaseTermDetails from \"./criticaldates/LeaseTermDetails\";\nimport LeaseBrokerDetails from \"./parties/LeaseBrokerDetails\";\nimport LockInNoticePeriod from \"./criticaldates/LockInNoticePeriod\";\nimport RentalDetails from \"./commercialDetails/RentalDetails\";\nimport OtherRentalDetails from \"./commercialDetails/OtherRentalDetails\"\nimport CamDetails from \"./commercialDetails/CamDetails\";\nimport Utilities from \"./otherCharges/Utilities\";\nimport MarketingFund from \"./otherCharges/MarketingFund\";\nimport PropertyMuncipalTax from \"./otherCharges/Property-Muncipal-Tax\";\nimport ParkingStorageSignage from \"./otherCharges/Parking-Storage-Signage\";\nimport RentDepositDetails from \"./securityDepositDetails/RentDepositDetails\";\nimport CAMDepositDetails from \"./securityDepositDetails/CAMDepositDetails\";\nimport OtherDepositDetails from \"./securityDepositDetails/OtherDepositDetails\";\nimport CommercialClauses from \"./criticalClauses/CommercialClauses\";\nimport OtherClauses from \"./criticalClauses/OtherClauses\";\nimport UploadDocument from \"./criticalClauses/UploadDocument\";\nimport ListingForm from \"./leaseList/ListingForm\";\nimport Prospect from \"./prospect/Prospect\";\nimport ProspectDetail from \"./prospect/ProspectDetail\";\nimport TopHeader from \"../layout/TopHeader\";\nimport SubmitLease from \"./submitLease/SubmitLease\";\nimport Waiver from \"./commercialDetails/Waiver\";\nimport RentCharge from \"./chargeType/RentCharge\";\nimport { hasAccess, getUserType } from \"../utils/index\";\nexport default function CreateLease() {\n let match = useRouteMatch();\n return (\n
\n \n
\n
\n {hasAccess([\"admin\", \"maker\"]) && (\n \n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n\n \n \n \n \n )}\n
\n
\n
\n );\n}\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faStore,\n faCalendarDay,\n faBuilding,\n faRupeeSign,\n faLock,\n faFileContract,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"./leaseMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { faEllipsisH } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { getUserType } from \"../utils/index\";\n\nvar headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseMenu extends React.Component {\n state = {\n openMenu: [\"1\"],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsMenu: \",\",\n menus: {},\n links: {}\n };\n\n constructor(props) {\n super(props);\n this.state = {\n openMenu: [this.props.openMenu],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsActiveKey: \"1-1\",\n menus: {},\n links: {},\n lastUrl: ''\n };\n }\n\n componentDidMount() {\n\n\n if (this.props.match.params.id === undefined) {\n this.setState({\n disableOption: true,\n });\n } else {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n }\n var ths = this;\n let moduleName = this.props.moduleName.replace(\"/\", \"\");\n fetch(`${apiUrl.apiUrl.url}/lease-view/amend-lease-menus?leaseId=` + this.props.match.params.id + `&moduleName=` + moduleName, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n ths.setState({\n menus: data.data,\n links: data.links\n });\n\n })\n .catch((error) => {\n console.log(error);\n });\n\n }\n componentDidUpdate() {\n let matchFound = false;\n\n Object.entries(this.state.links).forEach(([key, value]) => {\n if (matchFound) {\n matchFound = false;\n //if(key == \"submit\")\n this.props.history.push(key);\n }\n if (key == this.props.match.url) {\n if (!value) {\n matchFound = true;\n } else {\n //this.setState({lastUrl: key });\n }\n }\n });\n if (this.props.openMenu != this.state.propsMenu) {\n this.setState({\n propsMenu: this.props.openMenu,\n openMenu: [this.props.openMenu],\n });\n }\n if (this.props.activeKey != this.state.propsActiveKey) {\n this.setState({\n propsActiveKey: this.props.activeKey,\n activeKey: this.props.activeKey,\n });\n }\n if (this.props.match.params.id === undefined) {\n if (this.state.disableOption == false) {\n this.setState({\n disableOption: true,\n });\n }\n } else {\n if (this.state.disableOption == true) {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n }\n }\n }\n\n render() {\n // let url = this.props.match;\n //console.log(\"rendering menu\");\n return (\n
\n {\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
\n );\n }\n}\n\nexport default withRouter(LeaseMenu);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { unitTypeConstant, unitStatusConstant } from \"../../constants\";\nimport { Redirect } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Popup from \"reactjs-popup\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientId } from \"../../utils/index\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseLandlord extends React.Component {\n validator = [];\n mainFormValidator = [];\n state = {\n submitDisable: false,\n messsagePopup: false,\n popupContent: \"\",\n vendor_code: \"\",\n clientGroupName: \"\",\n clientGroupId: \"\",\n popupData: {},\n index_val: \"\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n isOpen: false,\n delete: false,\n assetId: \"\",\n tower: \"\",\n subAssetName: \"\",\n assetName: \"\",\n assetNames: [],\n subAssets: [],\n towers: [],\n floors: [],\n unitDetails: [],\n LandlordGroups: [],\n clientGroup: [],\n clientNames: [],\n redirect: false,\n landlords: [],\n landlordCount: 1,\n states: [],\n landlordAssetName: \"\",\n landlordAssetId: \"\",\n landlordSubAssetName: \"\",\n landlordSubAssetId: \"\",\n landlordTower: \"\",\n landlordFloor: \"\",\n landlordUnitNo: \"\",\n landlordUnitType: \"\",\n landlordUnitStatus: \"\",\n units: [],\n leaseId: \"\",\n costCenter: \"\",\n\n notes_1: \"\",\n totalUsableArea: 0,\n totalGrossLeasableArea: 0,\n leaseCreationDate: \"\",\n isDisabled: false,\n selectedCompanies: [],\n initialValues: {\n leaseCreationDate: \"tghj\",\n units: [],\n },\n };\n\n constructor(props) {\n super(props);\n this.getLandlordUnitNo = this.getLandlordUnitNo.bind(this);\n this.getLandlordUnitType = this.getLandlordUnitType.bind(this);\n this.getLandlordUnitStatus = this.getLandlordUnitStatus.bind(this);\n this.getLandlordownershipPercent =\n this.getLandlordownershipPercent.bind(this);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/client-groups`)\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientGroup: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-all-assets`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetNames: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/states/country-states/1`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //fetch(`${apiUrl.apiUrl.url}/landlord-groups`)\n fetch(`${apiUrl.apiUrl.url}/landlord-group/fetch-landlord-list`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n if (this.props.match.params.id !== undefined) {\n\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.props.match.params.id}`).then((response)=>{\n let data = response.data;\n let obj = athis.state.clientGroup.find(\n (o) => o.id == data.clientGroup\n );\n let obj1 = athis.state.assetNames.find(\n (o) => o.id == data.assetId\n );\n\n athis.setState({\n landlords: data.landlord,\n units: data.units,\n notes_1: data.notes_1,\n leaseId: data.leaseId,\n costCenter: data.costCenter,\n leaseCreationDate: data.leaseCreationDate,\n landlordCount: data.landlord.length,\n clientNames: data.clients,\n subAssets: data.subAssets,\n towers: data.towers,\n floors: data.floors,\n tower: data.tower,\n landlordAssetName: data.assetName,\n landlordSubAssetName: data.subAssetNameValue,\n landlordSubAssetId: data.landlordSubAssetId,\n clientGroupId: data.clientGroup,\n landlordAssetId: data.assetId,\n //vendor_code: data.vendor_code,\n isDisabled: true,\n });\n for (let i = 0; i < data.landlord.length; i++) {\n let obj = athis.state.LandlordGroups.find(\n (o) => o.id == data.landlord[i].companyGroup\n );\n\n athis.state.landlords[i].companyGroupName = obj.group_name;\n }\n if (data.clientGroup) {\n athis.setState({ clientGroupName: obj.group_name });\n }\n if (data.assetId) {\n athis.setState({\n landlordAssetName: obj1.asset_name,\n });\n }\n for (let i = 0; i < data.landlord.length; i++) {\n let find = data.landlord[i].gstNumber.substring(0, 2);\n var state = athis.state.states.find((x) => x.gst_code == find);\n if (state != undefined) {\n athis.state.landlords[i].gstState = state.id;\n athis.state.landlords[i].gstStateCode = state.gst_code;\n }\n //athis.state.landlords[i].vendorCode = data.landlord[i].vendorCode;\n }\n athis.setState({\n initialValues: data,\n });\n this.setState({});\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-landlord-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // let obj = this.state.clientGroup.find(\n // (o) => o.id == data.clientGroup\n // );\n // let obj1 = this.state.assetNames.find(\n // (o) => o.id == data.assetId\n // );\n\n // this.setState({\n // landlords: data.landlord,\n // units: data.units,\n // notes_1: data.notes_1,\n // leaseId: data.leaseId,\n // costCenter: data.costCenter,\n // leaseCreationDate: data.leaseCreationDate,\n // landlordCount: data.landlord.length,\n // clientNames: data.clients,\n // subAssets: data.subAssets,\n // towers: data.towers,\n // floors: data.floors,\n // tower: data.tower,\n // landlordAssetName: data.assetName,\n // landlordSubAssetName: data.subAssetNameValue,\n // landlordSubAssetId: data.landlordSubAssetId,\n // clientGroupId: data.clientGroup,\n // landlordAssetId: data.assetId,\n // //vendor_code: data.vendor_code,\n // isDisabled: true,\n // });\n // for (let i = 0; i < data.landlord.length; i++) {\n // let obj = this.state.LandlordGroups.find(\n // (o) => o.id == data.landlord[i].companyGroup\n // );\n\n // this.state.landlords[i].companyGroupName = obj.group_name;\n // }\n // if (data.clientGroup) {\n // this.setState({ clientGroupName: obj.group_name });\n // }\n // if (data.assetId) {\n // this.setState({\n // landlordAssetName: obj1.asset_name,\n // });\n // }\n // for (let i = 0; i < data.landlord.length; i++) {\n // let find = data.landlord[i].gstNumber.substring(0, 2);\n // var state = this.state.states.find((x) => x.gst_code == find);\n // if (state != undefined) {\n // this.state.landlords[i].gstState = state.id;\n // this.state.landlords[i].gstStateCode = state.gst_code;\n // }\n // //this.state.landlords[i].vendorCode = data.landlord[i].vendorCode;\n // }\n // this.setState({\n // initialValues: data,\n // });\n // this.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n autoSelectGstState(e, i) {\n let find = e.target.value.substring(0, 2);\n var state = this.state.states.find((x) => x.gst_code == find);\n this.state.landlords[i].gstState = state.id;\n this.state.landlords[i].gstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n\n getTotalUsableArea() {\n let totalUsableArea = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n totalUsableArea += this.state.units[i].usableArea;\n }\n return totalUsableArea.toFixed(2);\n }\n getTotalGrossleasableArea() {\n let totalGrossleasableArea = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n totalGrossleasableArea += this.state.units[i].grossLeasableArea;\n }\n return totalGrossleasableArea.toFixed(2);\n }\n\n changeClientGroup(e) {\n this.state.clientGroupName = e.label;\n this.state.clientGroupId = e.value;\n this.setState({});\n console.groupEnd();\n fetch(\n `${apiUrl.apiUrl.url}/client/fetch-group-clients?id=` +\n this.state.clientGroupId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientNames: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeAsset = (e, i) => {\n this.state.landlordAssetName = e.label;\n this.state.landlordAssetId = e.value;\n this.setState({});\n console.groupEnd();\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.state.landlordAssetId,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeLandlordGroup = (e, i) => {\n this.state.landlords[i].companyGroupName = e.label;\n this.state.landlords[i].companyGroup = e.value;\n this.setState({});\n console.groupEnd();\n this.setState({});\n let groupid = e.value;\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n var _landlords = this.state.landlords;\n\n _landlords[i].companies = data;\n this.setState({\n landlords: _landlords,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubAsset = (e) => {\n let subAssetId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers/?id=` + subAssetId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n // var _landlords = this.state.landlords;\n\n // _landlords[i].towers = data;\n this.setState({\n towers: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleAddUnit = (e, id, setFieldError) => {\n if (!this.validator[id].allValid()) {\n this.validator[id].getErrorMessages();\n console.log(this.validator[id].getErrorMessages());\n this.validator[id].showMessages();\n this.forceUpdate();\n return false;\n }\n console.log(this.state, \"an\");\n console.log(this.state.landlords[id], \"an\");\n let ownershipPercent = this.state.landlords[id].unit.ownershipPercent;\n var thisUnit = {\n unitNo: this.state.landlords[id].unit.unitNo,\n unitId: this.state.landlords[id].unit.unitId,\n unitType: this.state.landlords[id].unit.unitType,\n unitStatus: this.state.landlords[id].unit.unitStatus,\n ownershipPercent: this.state.landlords[id].unit.ownershipPercent,\n landlord: this.state.landlords[id].companyName,\n landlordCompanyName: this.state.landlords[id].companies.find(\n (x) => x.id == this.state.landlords[id].companyName\n ),\n landlordName: this.state.landlords[id].companyGroupName,\n assetName: this.state.landlordAssetName,\n floor: this.state.landlords[id].unit.floor,\n usableArea:\n (this.state.landlords[id].unit.usableArea * ownershipPercent) / 100,\n grossLeasableArea:\n (this.state.landlords[id].unit.grossLeasableArea * ownershipPercent) /\n 100,\n };\n var _units = this.state.units;\n console.log(thisUnit, \"MMM\");\n _units.push(thisUnit);\n\n this.setState({ units: _units });\n var _landlords = this.state.landlords;\n _landlords[id].unit.tower = \"\";\n _landlords[id].unit.assetId = \"\";\n _landlords[id].unit.subAssetName = \"\";\n _landlords[id].unit.floor = \"\";\n _landlords[id].unit.unitId = \"\";\n _landlords[id].unit.unitNo = \"\";\n _landlords[id].unit.unitType = \"\";\n _landlords[id].unit.unitStatus = \"\";\n _landlords[id].unit.usableArea = \"\";\n _landlords[id].unit.carpetArea = \"\";\n _landlords[id].unit.grossLeasableArea = \"\";\n _landlords[id].unit.ownershipPercent = \"100\";\n this.setState({\n landlords: _landlords,\n });\n console.log(this.state.units);\n };\n\n resetUnit = (e, id, setFieldError) => {\n var _landlords = this.state.landlords;\n _landlords[id].unit.tower = \"\";\n _landlords[id].unit.assetId = \"\";\n _landlords[id].unit.subAssetName = \"\";\n _landlords[id].unit.floor = \"\";\n _landlords[id].unit.unitId = \"\";\n _landlords[id].unit.unitNo = \"\";\n _landlords[id].unit.unitType = \"\";\n _landlords[id].unit.unitStatus = \"\";\n _landlords[id].unit.usableArea = \"\";\n _landlords[id].unit.carpetArea = \"\";\n _landlords[id].unit.grossLeasableArea = \"\";\n _landlords[id].unit.ownershipPercent = \"100\";\n this.setState({\n landlords: _landlords,\n });\n };\n\n handleRemoveRow = (index) => {\n this.setState({\n rows: this.state.units.slice(index, -1),\n });\n };\n\n getLandlordSubAssetName(event) {\n this.setState({\n landlordSubAssetName: event.target.value,\n });\n }\n\n getLandlordTower(e) {\n this.setState({\n landlordTower: e.target.value,\n });\n let towerId = e.target.value;\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-floors?tower_id=` + towerId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n floors: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordFloor(e, i, id) {\n console.log(e);\n this.state.landlords[i].unit.floor = e.value;\n console.groupEnd();\n this.setState({});\n this.setState({\n landlordFloor: e.value,\n });\n let floorId = e.value;\n var url = `${apiUrl.apiUrl.url}/unit-detail/get-floor-units?tower_id=${this.state.tower}&floor=${floorId}`;\n // var self = this;\n if (this.props.match.params.id !== undefined) {\n url = `${apiUrl.apiUrl.url}/unit-detail/get-floor-units?tower_id=${this.state.tower}&floor=${floorId}&lease_id=${this.props.match.params.id}`;\n }\n fetch(url, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n var _landlords = this.state.landlords;\n _landlords[i].unitDetails = data;\n this.setState({\n landlords: _landlords,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordUnitNo(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitNo = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getGSTDetails(company_id, state_id, id) {\n var url = `${apiUrl.apiUrl.url}/create-lease/get-landlord-gst-details?company_id=${company_id}&state_id=${state_id}`;\n fetch(url, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data lease landlord gst\");\n this.state.landlords[id].gstNumber = data.gst;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getLandlordUnitStatus(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitStatus = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getLandlordUnitType(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.unitType = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n\n getLandlordownershipPercent(event, i) {\n var _landlords = this.state.landlords;\n _landlords[i].unit.ownershipPercent = event.target.value;\n this.setState({\n landlords: _landlords,\n });\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, delete: false, popupContent: \"\" });\n };\n redirectToDelete = () => {\n var _units = this.state.units;\n _units.splice(this.state.index_val, 1);\n this.setState({\n units: _units,\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _landlords = this.state.landlords;\n\n // Remove the item at the specified index\n _landlords.splice([index - 1], 1);\n\n // Update the state\n this.setState({\n landlords: _landlords,\n landlordCount: this.state.landlordCount - 1\n });\n }\n\n landlordTabs(handleChange, setFieldError) {\n var heads = [];\n for (var i = 0; i < this.state.landlordCount; i++) {\n heads.push(\n <>\n \n Landlord {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">}\n {/* {this.state.landlordCount == i + 1 && (\n {\n let _landlords = this.state.landlords;\n _landlords.splice([i - 1], 1);\n this.setState({\n landlords: _landlords,\n landlordCount: this.state.landlordCount - 1,\n });\n }}\n />\n )} */}\n \n {/* {this.state.landlordCount == i + 1 && (\n {\n this.setState({\n landlordCount: this.state.landlordCount + 1,\n });\n }}\n style={{ cursor: \"pointer\" }}\n />\n )} */}\n \n );\n }\n\n var body = [];\n for (var i = 0; i < this.state.landlordCount; i++) {\n if (\n typeof this.state.landlords[i] === \"undefined\" ||\n this.state.landlords[i] === null\n ) {\n this.state.landlords[i] = {};\n this.state.landlords[i].unit = {};\n this.state.landlords[i].companies = [];\n this.state.landlords[i].subAssets = [];\n this.state.landlords[i].towers = [];\n this.state.landlords[i].floor = [];\n this.state.landlords[i].unitDetails = [];\n this.state.landlords[i].unit.assetId = \"\";\n this.state.landlords[i].unit.subAssetName = \"\";\n this.state.landlords[i].unit.tower = \"\";\n this.state.landlords[i].unit.floor = \"\";\n this.state.landlords[i].unit.unitType = \"\";\n this.state.landlords[i].unit.unitStatus = \"\";\n this.state.landlords[i].unit.usableArea = \"\";\n this.state.landlords[i].unit.grossLeasableArea = \"\";\n this.state.landlords[i].unit.carpetArea = \"\";\n this.state.landlords[i].unit.ownershipPercent = \"100\";\n this.state.landlords[i].unit.unitNo = \"\";\n this.state.landlords[i].unit.unitId = \"\";\n this.state.landlords[i].gstNumber = \"\";\n this.state.landlords[i].vendorCode = \"\";\n this.state.landlords[i].gstState = \"\";\n this.state.landlords[i].gstStateCode = \"\";\n this.state.landlords[i].invoiceBy = \"\";\n this.state.landlords[i].companyName = \"\";\n }\n if (this.validator[i] === undefined) {\n this.validator[i] = new SimpleReactValidator({ autoForceUpdate: this });\n }\n body.push(\n \n
\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.landlords[id].companyGroup = e.value;\n this.changeLandlordGroup(e, id);\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.validator[i].message(\n \"Landlord Group\",\n this.state.landlords[i].companyGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n if (this.state.selectedCompanies.indexOf(e.target.value) > -1) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Select another company\",\n });\n } else {\n this.state.landlords[id].companyName = e.target.value;\n this.state.selectedCompanies[id] =\n this.state.landlords[id].companyName;\n }\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstState = e.target.value;\n var state = this.state.states.find(\n (x) => x.id == e.target.value\n );\n var _landlords = this.state.landlords;\n _landlords[id].gstStateCode = state.gst_code;\n this.getGSTDetails(\n _landlords[id][\"companyName\"],\n _landlords[id][\"gstState\"],\n id\n );\n this.setState({\n landlords: _landlords,\n });\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].gstNumber = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var i = e.target.getAttribute(\"param\");\n }}\n />\n \n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlords[id].invoiceBy = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n\n
\n
\n

Unit Details

\n
\n\n {this.state.landlords[i].companyName !== \"\" && (\n <>\n\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n let towerId = this.state.landlords[id].unit.tower;\n this.getLandlordFloor(e, id, towerId);\n }}\n options={this.state.floors.map((item) => ({\n label: item.floor,\n value: item.floor,\n }))}\n />\n {this.validator[i].message(\n \"Floor\",\n this.state.landlords[i].unit.floor,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n let selectedUnits = this.state.units;\n var doesExist = selectedUnits.some(\n (el) =>\n el.unitId == e.target.value &&\n this.state.landlords[id].companyName == el.landlord\n );\n if (doesExist) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please select different unit\",\n });\n return false;\n } else {\n var unit = this.state.landlords[id].unitDetails.find(\n (x) => x.id == e.target.value\n );\n var _landlords = this.state.landlords;\n _landlords[id].unit.unitId = e.target.value;\n\n if (e.target.value !== undefined) {\n _landlords[id].unit.carpetArea = unit.carpet_area;\n _landlords[id].unit.usableArea = unit.usable_area;\n _landlords[id].unit.grossLeasableArea =\n unit.gross_leasable_area;\n _landlords[id].unit.unitNo = unit.unit_no;\n _landlords[id].unit.unitType = unit.unit_type;\n _landlords[id].unit.unitStatus = unit.unit_status;\n this.setState({\n landlords: _landlords,\n });\n }\n }\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator[i].message(\n \"Unit No\",\n this.state.landlords[i].unit.unitId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitType(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Unit Type\",\n this.state.landlords[i].unit.unitType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordownershipPercent(e, id);\n handleChange(e);\n }}\n />\n {this.validator[i].message(\n \"Ownership Percent\",\n this.state.landlords[i].unit.ownershipPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n handleChange(e);\n }}\n />\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.getLandlordUnitStatus(e, id);\n handleChange(e);\n }}\n />\n
\n
\n\n
\n
\n {\n var a = e.target.getAttribute(\"param\");\n this.handleAddUnit(e, a, setFieldError);\n }}\n >\n Add Unit\n \n {\n var a = e.target.getAttribute(\"param\");\n this.resetUnit(e, a, setFieldError);\n }}\n >\n Reset\n \n
\n
\n\n \n )}\n
\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n console.log(url, \"url\");\n let urlPath = url.split(\"/\");\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n
\n \n
\n
\n\n\n {\n var unitsOwnership = {};\n var totalPercentage = 0;\n for (let i = 0; i < this.state.units.length; i++) {\n if (unitsOwnership[this.state.units[i].unitId] == undefined) {\n unitsOwnership[this.state.units[i].unitId] = Number(\n this.state.units[i].ownershipPercent\n );\n totalPercentage += this.state.units[i].ownershipPercent;\n } else {\n unitsOwnership[this.state.units[i].unitId] += Number(\n this.state.units[i].ownershipPercent\n );\n totalPercentage += this.state.units[i].ownershipPercent;\n }\n }\n\n // for (var key in unitsOwnership) {\n // if (unitsOwnership[key] < 100) {\n // // alert(\"Unit Ownership should be 100 %\");\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Unit Ownership should be 100 %\",\n // });\n // return false;\n // }\n // }\n if (totalPercentage < 100) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Unit Ownership should be 100 %\",\n });\n return false;\n }\n\n values.clientGroup = this.state.clientGroupId;\n values.assetId = this.state.landlordAssetId;\n\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.getErrorMessages();\n this.mainFormValidator.showMessages();\n this.forceUpdate();\n return false;\n }\n values.units = this.state.units;\n var url = `${apiUrl.apiUrl.url}/create-lease/create-lease-landlord`;\n var self = this;\n if (this.props.match.params.id !== undefined) {\n url = `${apiUrl.apiUrl.url}/create-lease/update-lease-landlord?lease_id=${this.props.match.params.id}`;\n }\n\n this.setState({ submitDisable: true });\n console.log(values);\n axios({\n method: \"post\",\n url: url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({ submitDisable: false });\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n self.setState({ submitDisable: false });\n } else {\n //alert(\"Data Saved Successfully\");\n self.setState({\n submitDisable: false,\n messsagePopup: true,\n leaseId: response.data.id,\n\n popupContent: \"Data Saved Successfully!\",\n //submitDisable: true\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n actions,\n setFieldError,\n }) => (\n <>\n
\n
\n
\n
\n {this.props.match.params.id && (\n <>\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n\n {(clientId() == \"\" || clientId() == null) && (\n <>\n
\n \n
\n {\n this.changeClientGroup(e);\n }}\n options={this.state.clientGroup.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"Client Group\",\n values.clientGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n disabled={this.state.isDisabled}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Client Name\",\n values.clientName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeAsset(e);\n }}\n options={this.state.assetNames.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"Landlord Asset Name\",\n values.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeSubAsset(e);\n this.state.landlords.subAssetName = e.target.value;\n handleChange(e);\n this.getLandlordSubAssetName(e);\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Landlord Sub Asset Name\",\n values.subAssetName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.tower = e.target.value;\n handleChange(e);\n this.getLandlordTower(e);\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"Tower\",\n values.tower,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n console.log(\n this.state.landlordCount,\n e.target.value\n );\n if (\n Number(e.target.value) <\n this.state.landlordCount\n ) {\n let _landlords = this.state.landlords;\n _landlords.splice(\n _landlords.length - 1,\n this.state.landlordCount -\n Number(e.target.value)\n );\n this.setState(\n { landlords: _landlords },\n () => {\n console.log(this.state.landlords);\n }\n );\n }\n\n if (!isNaN(e.target.value)) {\n this.setState({\n landlordCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n\n
\n {this.landlordTabs(handleChange, setFieldError)}\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.units.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n \n \n \n \n \n \n \n \n \n
#LandlordAsset NameFloorUnit NoUsable Area (sq.ft)Gross Leasable Area (sq.ft)Percentage (%)Action
{index + 1}\n {name.landlordCompanyName != undefined ||\n name.landlordCompanyName != null\n ? name.landlordCompanyName.company_name\n : name.landlordName}\n {name.assetName}{name.floor}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.unitNo}\n \n {name.usableArea}{name.grossLeasableArea}{name.ownershipPercent}\n {\n this.setState({\n delete: true,\n index_val: index,\n });\n }}\n >\n \n \n
\n
Total Lease Area (sq.ft)
\n
{this.getTotalUsableArea()}{this.getTotalGrossleasableArea()}
\n
\n
\n\n
\n Notes/Remarks\n {\n // var id = e.target.getAttribute(\"param\");\n this.state.notes_1 = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n {this.props.match.params.id && (\n <>\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n \n )}\n\n {(clientId() == \"\" || clientId() == null) && (\n <>\n
\n
\n
\n \n
\n {\n this.changeClientGroup(e);\n }}\n options={this.state.clientGroup.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n {this.mainFormValidator.message(\n \"Client Group\",\n values.clientGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n disabled={this.state.isDisabled}\n >\n \n {this.state.clientNames.map((obj) => (\n \n {obj.client_name}\n \n ))}\n \n {this.mainFormValidator.message(\n \"Client Name\",\n values.clientName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n \n )}\n\n
\n
\n
\n \n
\n {\n this.changeAsset(e);\n }}\n options={this.state.assetNames.map(\n (item) => ({\n label: item.asset_name,\n value: item.id,\n })\n )}\n />\n {this.mainFormValidator.message(\n \"Landlord Asset Name\",\n values.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n // var id = e.target.getAttribute(\"param\");\n this.changeSubAsset(e);\n this.state.landlords.subAssetName =\n e.target.value;\n handleChange(e);\n this.getLandlordSubAssetName(e);\n }}\n >\n \n {this.state.subAssets.map((obj) => (\n \n {obj.sub_asset_name}\n \n ))}\n \n {this.mainFormValidator.message(\n \"Landlord Sub Asset Name\",\n values.subAssetName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n // var id = e.target.getAttribute(\"param\");\n this.state.tower = e.target.value;\n handleChange(e);\n this.getLandlordTower(e);\n }}\n >\n \n {this.state.towers.map((obj) => (\n \n {obj.tower_name}\n \n ))}\n \n {this.mainFormValidator.message(\n \"Tower\",\n values.tower,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n {\n console.log(\n this.state.landlordCount,\n e.target.value\n );\n if (\n Number(e.target.value) <\n this.state.landlordCount\n ) {\n let _landlords = this.state.landlords;\n _landlords.splice(\n _landlords.length - 1,\n this.state.landlordCount -\n Number(e.target.value)\n );\n this.setState(\n { landlords: _landlords },\n () => {\n console.log(this.state.landlords);\n }\n );\n }\n\n if (!isNaN(e.target.value)) {\n this.setState({\n landlordCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n {this.landlordTabs(handleChange, setFieldError)}\n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.units.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n \n \n \n \n \n \n \n \n \n
#LandlordAsset NameFloorUnit NoUsable Area (sq.ft)Gross Leasable Area (sq.ft)Percentage (%)Action
{index + 1}\n {name.landlordCompanyName != undefined ||\n name.landlordCompanyName != null\n ? name.landlordCompanyName.company_name\n : name.landlordName}\n {name.assetName}{name.floor}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.unitNo}\n \n {name.usableArea}{name.grossLeasableArea}{name.ownershipPercent}\n {\n this.setState({\n delete: true,\n index_val: index,\n });\n }}\n >\n \n \n
\n
Total Lease Area (sq.ft)
\n
{this.getTotalUsableArea()}{this.getTotalGrossleasableArea()}
\n
\n Notes/Remarks\n {\n // var id = e.target.getAttribute(\"param\");\n this.state.notes_1 = e.target.value;\n handleChange(e);\n }}\n />\n
\n \n Save Draft\n \n \n
\n\n \n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Unit Details
  • \n
\n
\n
\n
\n
\n
\n {this.unitPopup(this.state.popupData)}\n \n
\n
\n
\n \n \n {(close) => (\n
\n \"Are you sure you want to delete the item?\"\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n unitPopup(unit) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(LeaseLandlord);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faGrinTongueSquint,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect } from \"react-router-dom\";\nimport { BrowserRouter as Router, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseOccupier extends React.Component {\n // mainFormValidator = [];\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n companyName: [],\n vendor_code: \"\",\n tower: [],\n occupierGroups: [],\n // brandCategory: [],\n // brandSubCategories: [],\n gstStates: [],\n members:[],\n brands: [],\n brandSelected: [],\n redirect: false,\n franchiseeDetails: false,\n franchiseeGstStateCode: \"\",\n franchiseeGstState: \"\",\n selectedCompanies: [],\n initialValues: {\n leaseCreationDate: \"\",\n leaseId: \"\",\n },\n brandId: [],\n occupiers: [],\n cityList: [],\n occupierCount: 1,\n // brandCategoryName: \"\",\n // brandCategoryId: \"\",\n // brandSubCategoryName: \"\",\n // brandSubCategoryId: \"\",\n brandName: \"\",\n occupierChargeable: [\n { name: \"No\", value: \"0\" },\n { name: \"Yes\", value: \"1\" },\n ],\n occupierMaxCharge: 100,\n percentage_message: \"\",\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n //fetch(`${apiUrl.apiUrl.url}/occupier-groups`)\n fetch(`${apiUrl.apiUrl.url}/occupier-group/fetch-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brands: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/user/get-occupier-contacts`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n members: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n }); \n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/1`)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n gstStates: data,\n });\n\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-occupier-form?id=${this.props.match.params.id}`).then((response) => {\n let data=response.data;\n athis.setState({\n initialValues: data,\n occupiers: data.occupier,\n occupierCount: data.occupier.length > 0 ? data.occupier.length : 1,\n // occupierCount: data.occupier.length,\n franchiseeGstState: data.franchiseeGstState,\n franchiseeGstStateCode: data.franchiseeGstStateCode,\n brandSelected: data.brandArr,\n brands: data.brands,\n brandId: data.brandId,\n cityList: data.city_list,\n });\n\n let chargeableRemaining = 0;\n\n for (let i = 0; i < data.occupier.length; i++) {\n let find = data.occupier[i].gstNumber.substring(0, 2);\n var state = athis.state.gstStates.find((x) => x.gst_code == find);\n if (\n typeof state != \"undefined\" &&\n typeof state.id != \"undefined\"\n ) {\n athis.state.occupiers[i].gstState = state.id;\n athis.state.occupiers[i].gstStateCode = state.gst_code;\n } else {\n athis.state.occupiers[i].gstState = \"\";\n athis.state.occupiers[i].gstStateCode = \"\";\n }\n\n //athis.state.occupiers[i].vendorCode = state.vendor_code;\n let obj = athis.state.occupierGroups.find(\n (o) => o.id == data.occupier[i].companyGroup\n );\n console.log(data.occupier[i].companyGroup);\n athis.state.occupiers[i].companyGroupName = obj.group_name;\n\n chargeableRemaining =\n chargeableRemaining +\n data.occupier[i].occupier_chargeable_percentage;\n }\n\n console.log(\"Available Charge: \" + chargeableRemaining);\n athis.state.occupierMaxCharge = 100 - chargeableRemaining;\n console.log(\n \"Final Available Charge: \" + athis.state.occupierMaxCharge\n );\n\n let label = data.leaseType;\n console.log(label, \"label\");\n let checkValue = label.includes(\"F\");\n let cofoCheck = label.includes(\"Cofo\");\n if (checkValue || cofoCheck) {\n athis.setState({\n franchiseeDetails: true,\n });\n } else {\n athis.setState({\n franchiseeDetails: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-occupier-form?id=${this.props.match.params.id}`,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // initialValues: data,\n // occupiers: data.occupier,\n // occupierCount: data.occupier.length > 0 ? data.occupier.length : 1,\n // // occupierCount: data.occupier.length,\n // franchiseeGstState: data.franchiseeGstState,\n // franchiseeGstStateCode: data.franchiseeGstStateCode,\n // brandSelected: data.brandArr,\n // brands: data.brands,\n // brandId: data.brandId,\n // cityList: data.city_list,\n // });\n\n // let chargeableRemaining = 0;\n\n // for (let i = 0; i < data.occupier.length; i++) {\n // let find = data.occupier[i].gstNumber.substring(0, 2);\n // var state = this.state.gstStates.find((x) => x.gst_code == find);\n // if (\n // typeof state != \"undefined\" &&\n // typeof state.id != \"undefined\"\n // ) {\n // this.state.occupiers[i].gstState = state.id;\n // this.state.occupiers[i].gstStateCode = state.gst_code;\n // } else {\n // this.state.occupiers[i].gstState = \"\";\n // this.state.occupiers[i].gstStateCode = \"\";\n // }\n\n // //this.state.occupiers[i].vendorCode = state.vendor_code;\n // let obj = this.state.occupierGroups.find(\n // (o) => o.id == data.occupier[i].companyGroup\n // );\n // console.log(data.occupier[i].companyGroup);\n // this.state.occupiers[i].companyGroupName = obj.group_name;\n\n // chargeableRemaining =\n // chargeableRemaining +\n // data.occupier[i].occupier_chargeable_percentage;\n // }\n\n // console.log(\"Available Charge: \" + chargeableRemaining);\n // this.state.occupierMaxCharge = 100 - chargeableRemaining;\n // console.log(\n // \"Final Available Charge: \" + this.state.occupierMaxCharge\n // );\n\n // let label = data.leaseType;\n // console.log(label, \"label\");\n // let checkValue = label.includes(\"F\");\n // let cofoCheck = label.includes(\"Cofo\");\n // if (checkValue || cofoCheck) {\n // this.setState({\n // franchiseeDetails: true,\n // });\n // } else {\n // this.setState({\n // franchiseeDetails: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n changeOccupier = (e, id) => {\n this.state.occupiers[id].companyGroupName = e.label;\n this.state.occupiers[id].companyGroup = e.value;\n console.log(this.state.occupiers[id], \"occupier details\");\n //this.getGSTDetails(_landlords[id][\"companyName\"], _landlords[id][\"gstState\"], id )\n\n this.setState({});\n console.groupEnd();\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` +\n this.state.occupiers[id].companyGroup,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n let _occupiers = this.state.occupiers;\n _occupiers[id].companies = data;\n this.setState({\n occupiers: _occupiers,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeChargeable = (e, id) => {\n console.log(e.label + \"....\" + e.value);\n this.state.occupiers[id].is_occupier_chargeable_label = e.label;\n this.state.occupiers[id].is_occupier_chargeable = e.value;\n if (e.value == 0) {\n this.state.occupiers[id].occupier_chargeable_percentage = 0;\n }\n this.setState({});\n // console.groupEnd();\n // this.setState({});\n };\n\n checkPercentage = (id, value) => {\n let totalPercentage = 0;\n this.state.percentage_message = \"\";\n for (let i = 0; i < this.state.occupiers.length; i++) {\n totalPercentage += parseInt(\n this.state.occupiers[i].occupier_chargeable_percentage\n );\n console.log(this.state.occupiers[i].occupier_chargeable_percentage);\n }\n console.log(totalPercentage);\n if (totalPercentage > 100) {\n this.state.percentage_message =\n \"Occupier total percentage must be less then or equal to 100\";\n this.state.occupiers[id].occupier_chargeable_percentag = 0;\n this.setState({});\n }\n };\n\n changeBrandName = (e) => {\n this.state.brandSelected = [];\n this.state.brandId = [];\n for (let i = 0; i < e.length; i++) {\n this.state.brandId.push(e[i].value);\n this.state.brandSelected.push({\n value: e[i].value,\n label: e[i].label,\n });\n }\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n this.setState({});\n };\n\n autoSelectGstState(e, i) {\n if (e.target.value !== \"\") {\n let find = e.target.value.substring(0, 2);\n var state = this.state.gstStates.find((x) => x.gst_code == find);\n this.state.occupiers[i].gstState = state.id;\n this.state.occupiers[i].gstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n }\n\n autoSelectFranchiseeGstState(e) {\n let find = e.target.value.substring(0, 2);\n var state = this.state.gstStates.find((x) => x.gst_code == find);\n this.state.franchiseeGstState = state.id;\n this.state.franchiseeGstStateCode = state.gst_code;\n this.setState({});\n console.log(state, \"Ev\");\n }\n\n showFranchiseeDetails = (e) => {\n let index = e.nativeEvent.target.selectedIndex;\n let label = e.nativeEvent.target[index].label;\n let checkValue = label.includes(\"F\"); //label.includes(\"Franchisee\");\n let cofoCheck = label.includes(\"Cofo\");\n if (checkValue || cofoCheck) {\n this.setState({\n franchiseeDetails: true,\n });\n } else {\n this.setState({\n franchiseeDetails: false,\n });\n }\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n getGSTDetails(company_id, state_id, id) {\n var url = `${apiUrl.apiUrl.url}/create-lease/get-occupier-gst-details?company_id=${company_id}&state_id=${state_id}`;\n fetch(url, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.occupiers[id].gstNumber = data.gst;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleFranchiseeCityChange = (e) => {\n this.state.initialValues.franchiseeCityId = e.value;\n this.state.initialValues.franchiseeCity = e.label;\n var self = this;\n fetch(`${apiUrl.apiUrl.url}/city/city-details?city=` + e.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n self.state.initialValues.franchiseeStateId = data.stateArr.id;\n self.state.initialValues.franchiseeState = data.stateArr.state_name;\n self.state.initialValues.franchiseeDistrictId = data.districtArr.id;\n self.state.initialValues.franchiseeDistrict =\n data.districtArr.district_name;\n self.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.setState({});\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _occupiers = this.state.occupiers;\n\n // Remove the item at the specified index\n _occupiers.splice([index - 1], 1);\n\n // Update the state\n this.setState({\n occupiers: _occupiers,\n occupierCount: this.state.occupierCount - 1\n });\n }\n\n occupierTabs(handleChange) {\n var heads = [];\n for (var i = 0; i < this.state.occupierCount; i++) {\n heads.push(Occupier {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">});\n }\n\n var body = [];\n for (var i = 0; i < this.state.occupierCount; i++) {\n if (\n typeof this.state.occupiers[i] === \"undefined\" ||\n this.state.occupiers[i] === null\n ) {\n this.state.occupiers[i] = {};\n this.state.occupiers[i].companyGroup = \"\";\n this.state.occupiers[i].companyName = [];\n this.state.occupiers[i].companies = [];\n this.state.occupiers[i].gstNumber = \"\";\n this.state.occupiers[i].gstState = \"\";\n this.state.occupiers[i].gstStateCode = \"\";\n }\n body.push(\n \n
\n
\n
\n\n
\n \n
\n {\n var id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.occupiers[id].companyGroup = e.value;\n this.changeOccupier(e, id);\n }}\n options={this.state.occupierGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n {this.mainFormValidator.message(\n \"company Group\",\n this.state.occupiers[i].companyGroup,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].companyName = e.target.value;\n if (\n this.state.selectedCompanies.indexOf(e.target.value) > -1\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Select another company\",\n });\n } else {\n this.state.occupiers[id].companyName = e.target.value;\n this.state.selectedCompanies[id] = this.state.occupiers[id].companyName;\n }\n }}\n >\n \n ))}\n \n {this.mainFormValidator.message(\n \"company Name\",\n this.state.occupiers[i].companyName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n var state = this.state.gstStates.find(\n (x) => x.id == e.target.value\n );\n var _occupiers = this.state.occupiers;\n _occupiers[id].gstStateCode = state.gst_code;\n\n this.setState({\n occupiers: _occupiers,\n });\n this.state.occupiers[id].gstState = e.target.value;\n\n this.getGSTDetails(\n _occupiers[id][\"companyName\"],\n _occupiers[id][\"gstState\"],\n id\n );\n\n this.setState({});\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n handleChange(e);\n this.state.occupiers[id].gstStateCode =\n e.target.value;\n }}\n type=\"text\"\n name={\"occupier[\" + i + \"].gstStateCode\"}\n />\n \n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].gstNumber = e.target.value;\n }}\n onBlur={(e) => {\n var i = e.target.getAttribute(\"param\");\n }}\n />\n
\n
\n\n
\n \n
\n {\n let id = i.name.split(\"[\")[1].split(\"]\")[0];\n this.state.occupiers[id].is_occupier_chargeable = e.value;\n this.changeChargeable(e, id);\n }}\n options={this.state.occupierChargeable.map((item) => ({\n label: item.name,\n value: item.value,\n }))}\n />\n {this.mainFormValidator.message(\n \"company chargeable\",\n this.state.occupiers[i].is_occupier_chargeable,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n console.log(id, \"asdasd\",this.state.occupiers[id]);\n this.state.occupiers[id].member = e.target.value;\n }}\n >\n \n ))}\n \n \n
\n
\n\n {this.state.occupiers[i].is_occupier_chargeable == 1 && (\n
\n \n
\n {\n handleChange(e);\n var id = e.target.getAttribute(\"param\");\n this.state.occupiers[id].occupier_chargeable_percentage = e.target.value;\n this.checkPercentage(id, e.target.value);\n }}\n />\n {this.state.percentage_message}\n
\n
\n )}\n\n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n <>\n
\n
\n \n
\n
\n\n {\n console.log(values);\n values.brandId = this.state.brandId;\n values.franchiseeGstState = this.state.franchiseeGstState;\n values.franchiseeGstStateCode =\n this.state.franchiseeGstStateCode;\n if (!this.mainFormValidator.allValid()) {\n console.log(this.mainFormValidator);\n this.mainFormValidator.showMessages();\n return false;\n }\n // return false;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-occupier?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.showFranchiseeDetails(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.changeBrandName(e);\n }}\n value={this.state.brandSelected}\n options={this.state.brands.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n occupierCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n {this.occupierTabs(handleChange)}\n
\n {this.state.franchiseeDetails && (\n <>\n {/*
\n
\n
*/}\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseeName\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseeResponseId\"}\n />\n \n
\n
\n\n
\n \n
\n {\n var i = e.target.getAttribute(\"param\");\n this.autoSelectFranchiseeGstState(e, i);\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n var state = this.state.gstStates.find((x) => x.id == e.target.value);\n this.state.franchiseeGstState = e.target.value;\n this.state.franchiseeGstStateCode = state.gst_code;\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
\n
\n {\n this.state.franchiseeGstStateCode = e.target.value;\n handleChange(e);\n }}\n value={this.state.franchiseeGstStateCode}\n type=\"text\"\n name={\"franchiseeGstStateCode\"}\n />\n \n
\n
\n\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"startDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"endtDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"vendorCode\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"registeredOffice\"}\n />\n \n
\n
\n\n
\n \n
\n {\n this.handleFranchiseeCityChange(e);\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n { }}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"text\"\n name={\"franchiseePincode\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"franchiseeCommission\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"date\"\n name={\"agreementDate\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"commisionOnRegular\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"commisionOnEOSS\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"securityDeposit\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"stockCorrection\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n type=\"number\"\n name={\"discountSharing\"}\n />\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {/*
\n
\n
*/}\n \n )}\n
\n Notes/Remarks\n \n
\n
\n
\n \n Save & Next\n \n \n
\n
\n
\n
\n\n \n )}\n \n \n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n}\n\nexport default withRouter(LeaseOccupier);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { blockStatement } from \"@babel/types\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseTermDetails extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n initialValues: {\n renewalTerms: [],\n totalRenewalTerms: 0,\n },\n isDisabled: true,\n fitoutEndDate: \"\",\n fitoutStartDate: \"\",\n fitoutPeriod: \"\",\n leaseCommencementDate: \"\",\n renewalCommencementDate: \"\",\n rentFreePeriodDays: \"\",\n rentFreePeriodMonths: \"\",\n rentCommencementDate: \"\",\n companyName: [],\n tower: [],\n occupierGroups: [],\n countries: [],\n states: [],\n cities: [],\n redirect: false,\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n leaseExpiryDate: \"\",\n isLeaseRegistered: false,\n };\n constructor(props) {\n super(props);\n this.calculateFitoutEndDate.bind(this);\n this.calculateLeaseCommencementDate.bind(this);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/occupier-groups`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`,{ headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n \n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-term-form?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n if (data.rentFreePeriodDays == 0) {\n athis.setState({ rentFreePeriodDays: \"\" });\n } else {\n athis.setState({ rentFreePeriodDays: data.rentFreePeriodDays });\n }\n if (\n data.rentFreePeriodMonths == 0 ||\n data.rentFreePeriodMonths === undefined\n ) {\n athis.setState({ rentFreePeriodMonths: \"\" });\n } else {\n athis.setState({ rentFreePeriodMonths: data.rentFreePeriodMonths });\n }\n if (data.leaseTermDD == 0) {\n athis.setState({ leaseTermDD: \"\" });\n } else {\n athis.setState({ leaseTermDD: data.leaseTermDD });\n }\n if (data.leaseTermMM == 0) {\n athis.setState({ leaseTermMM: \"\" });\n } else {\n athis.setState({ leaseTermMM: data.leaseTermMM });\n }\n if (data.leaseTermYY == 0) {\n athis.setState({ leaseTermYY: \"\" });\n } else {\n athis.setState({ leaseTermYY: data.leaseTermYY });\n }\n data.totalRenewalTerms = data.renewalTerms.length;\n athis.setState({\n initialValues: data,\n });\n athis.setState({\n fitoutEndDate: getToDate(\n data.fitoutStartDate,\n Number(data.fitoutPeriod),\n 0,\n 0\n ),\n });\n athis.setState({\n leaseCommencementDate: getToDate(data.fitoutEndDate, Number(1), 0, 0),\n });\n athis.setState({\n rentCommencementDate: getToDate(\n data.leaseCommencementDate,\n Number(data.rentFreePeriodDays),\n 0,\n 0\n ),\n });\n athis.setState({\n leaseExpiryDate: getToDate(\n data.leaseCommencementDate,\n data.leaseTermYY,\n data.leaseTermDD,\n data.leaseTermMM\n ),\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-term-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // if (data.rentFreePeriodDays == 0) {\n // this.setState({ rentFreePeriodDays: \"\" });\n // } else {\n // this.setState({ rentFreePeriodDays: data.rentFreePeriodDays });\n // }\n // if (\n // data.rentFreePeriodMonths == 0 ||\n // data.rentFreePeriodMonths === undefined\n // ) {\n // this.setState({ rentFreePeriodMonths: \"\" });\n // } else {\n // this.setState({ rentFreePeriodMonths: data.rentFreePeriodMonths });\n // }\n // if (data.leaseTermDD == 0) {\n // this.setState({ leaseTermDD: \"\" });\n // } else {\n // this.setState({ leaseTermDD: data.leaseTermDD });\n // }\n // if (data.leaseTermMM == 0) {\n // this.setState({ leaseTermMM: \"\" });\n // } else {\n // this.setState({ leaseTermMM: data.leaseTermMM });\n // }\n // if (data.leaseTermYY == 0) {\n // this.setState({ leaseTermYY: \"\" });\n // } else {\n // this.setState({ leaseTermYY: data.leaseTermYY });\n // }\n // data.totalRenewalTerms = data.renewalTerms.length;\n // this.setState({\n // initialValues: data,\n // });\n // this.setState({\n // fitoutEndDate: getToDate(\n // data.fitoutStartDate,\n // Number(data.fitoutPeriod),\n // 0,\n // 0\n // ),\n // });\n // this.setState({\n // leaseCommencementDate: getToDate(data.fitoutEndDate, Number(1), 0, 0),\n // });\n // this.setState({\n // rentCommencementDate: getToDate(\n // data.leaseCommencementDate,\n // Number(data.rentFreePeriodDays),\n // 0,\n // 0\n // ),\n // });\n // this.setState({\n // leaseExpiryDate: getToDate(\n // data.leaseCommencementDate,\n // data.leaseTermYY,\n // data.leaseTermDD,\n // data.leaseTermMM\n // ),\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n changeOccupier = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/state-cities/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeLeaseTerms = (e) => {\n this.state.initialValues.totalRenewalTerms = e.target.value;\n if (this.state.initialValues.renewalTerms.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.renewalTerms.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.renewalTerms.push({});\n }\n }\n };\n\n addRenewalTerms = (e) => {\n console.log(e.target.value, \"vv\");\n this.state.initialValues.totalRenewalTerms = e.target.value;\n if (this.state.initialValues.renewalTerms.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.renewalTerms.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.renewalTerms.push({\n year: 0,\n month: 0,\n date: 0,\n renewalNoticeDueDate: \"\",\n });\n }\n } else if (this.state.initialValues.renewalTerms.length > e.target.value) {\n var toRemove =\n this.state.initialValues.renewalTerms.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.renewalTerms.pop({});\n }\n }\n };\n\n checkLeaseRegistrationDate(e, values) {\n if (e.target.checked) {\n this.state.isDisabled = false;\n this.state.isLeaseRegistered = true;\n } else {\n this.state.isDisabled = true;\n this.state.isLeaseRegistered = false;\n }\n this.setState({});\n }\n\n calculateFitoutEndDate(e, values) {\n console.log(values);\n values.fitoutEndDate = getToDate(\n values.fitoutStartDate,\n Number(this.state.fitoutPeriod),\n 0,\n 0\n );\n this.calculateLeaseCommencementDate(e, values);\n this.setState({});\n }\n\n calculateLeaseCommencementDate(e, values) {\n values.leaseCommencementDate = getToDate(\n values.fitoutEndDate,\n Number(2),\n 0,\n 0\n );\n this.calculateRentCommencementDate(e, values);\n this.calculateLeaseExpiryDate(e, values);\n this.setState({});\n }\n\n calculateRentCommencementDate(e, values) {\n if (e.target.value == 0) {\n values.rentCommencementDate = values.leaseCommencementDate;\n }\n values.rentCommencementDate = getToDate(\n values.leaseCommencementDate,\n Number(values.rentFreePeriodDays) + 1,\n Number(values.rentFreePeriodMonths),\n 0\n );\n this.setState({});\n }\n\n calculateLeaseExpiryDate(e, values) {\n values.leaseExpiryDate = getToDate(\n values.leaseCommencementDate,\n Number(this.state.leaseTermDD),\n Number(this.state.leaseTermMM),\n Number(this.state.leaseTermYY)\n );\n this.calculateLeaseDeadEndDate(e, values);\n this.setState({});\n }\n\n calculateLeaseDeadEndDate(e, values) {\n var numberOfDays = 0;\n var numberOfMonths = 0;\n var numberOfYears = 0;\n for (let i = 0; i < values.renewalTerms.length; i++) {\n numberOfDays += Number(values.renewalTerms[i].date);\n numberOfMonths += Number(values.renewalTerms[i].month);\n numberOfYears += Number(values.renewalTerms[i].year);\n // console.log()\n }\n values.leaseDeadEndDate = getToDate(\n values.leaseExpiryDate,\n Number(numberOfDays) + Number(1),\n Number(numberOfMonths),\n Number(numberOfYears)\n );\n this.setState({});\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n getDateDiff = (e, values) => {\n var a = moment(e.target.value);\n var b = moment(values.leaseCommencementDate);\n var years = a.diff(b, \"year\");\n b.add(years, \"years\");\n var months = a.diff(b, \"months\");\n b.add(months, \"months\");\n var days = a.diff(b, \"days\");\n this.setState({\n leaseTermYY: years,\n leaseTermMM: months,\n leaseTermDD: Number(days) + 1,\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.showMessages();\n return false;\n }\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-term?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"lease Creation Date\",\n values.leaseCreationDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"lease Document Date\",\n values.leaseDocumentDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Invoice Signing Date\",\n values.invoiceSingingDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n
\n {\n this.checkLeaseRegistrationDate(e, values);\n }}\n />\n \n
\n
\n
\n \n {this.mainFormValidator.message(\n \"lease Registration Date\",\n values.leaseRegistrationDate,\n \"\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"fitout Letter Date\",\n values.fitoutLetterDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.fitoutStartDate = e.target.value;\n this.calculateFitoutEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateFitoutEndDate(e, values);\n }}\n />\n {this.mainFormValidator.message(\n \"fitout Start Date\",\n values.fitoutStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.fitoutPeriod = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateFitoutEndDate(e, values);\n this.calculateLeaseCommencementDate(e, values);\n }}\n />\n \n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Unit Possession Date\",\n values.unitPossessionDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"fitout End Date\",\n values.fitoutEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.calculateRentCommencementDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n {this.mainFormValidator.message(\n \"Lease Commencement Date\",\n values.leaseCommencementDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {\n this.state.initialValues.renewalCommencementDate != \"0000-00-00\" && (\n
\n \n
\n \n
\n
\n )\n } \n\n {\n this.state.initialValues.renewalCommencementDate == \"0000-00-00\" && (\n
\n )\n } \n \n\n
\n \n
\n
\n
\n {\n this.state.rentFreePeriodMonths = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n
\n
\n {\n this.state.rentFreePeriodDays = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateRentCommencementDate(e, values);\n }}\n />\n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Rent Commencement Date\",\n values.rentCommencementDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.leaseTermYY = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n {\n this.state.leaseTermMM = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n {\n this.state.leaseTermDD = e.target.value;\n this.calculateLeaseExpiryDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseExpiryDate(e, values);\n }}\n />\n
\n
\n
\n
\n\n {/* Lease Expiry Date Section */}\n
\n \n
\n {\n this.getDateDiff(e, values);\n values.leaseExpiryDate = e.target.value;\n values.leaseDeadEndDate = e.target.value;\n this.setState({});\n }}\n />\n {this.mainFormValidator.message(\n \"Lease Expiry Date\",\n moment(values.leaseExpiryDate).format(\"yyyy-MM-dd\"),\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {/*
*/}\n\n
\n \n
\n {\n handleChange(e);\n this.addRenewalTerms(e);\n }}\n />\n \n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lease Dead End Date\",\n values.leaseDeadEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n\n
\n {this.state.initialValues.renewalTerms.length > 0 &&\n this.state.initialValues.renewalTerms.map((term, index) => (\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLeaseDeadEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.initialValues.totalRenewalTerms--;\n var _renewalTerms = this.state.initialValues.renewalTerms;\n _renewalTerms.splice(index, 1);\n values.renewalTerms.splice(index, 1);\n this.setState({\n renewalTerms: _renewalTerms,\n });\n }}\n >\n X\n \n
\n
\n \n\n
\n
\n ))}\n
\n\n
\n {this.state.initialValues.renewalTerms.length > 0 &&\n values.totalRenewalTerms > 0 &&\n this.state.initialValues.renewalTerms.map((term, index) => (\n
\n \n
\n \n
\n
\n ))}\n
\n\n
\n \n
\n \n
\n
\n
\n {/* */}\n Notes/Remarks\n
\n \n
\n
\n\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n \n )}\n \n
\n \n \n );\n }\n}\n\nexport default withRouter(LeaseTermDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { blockStatement } from \"@babel/types\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\n\nvar headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass LeaseBrokerDetails extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n initialValues: {\n\n },\n additionalDetails: {\n 'gla': 0,\n 'carpet': 0,\n 'usable': 0\n },\n isDisabled: true,\n brokerGroup: [],\n brokerList: [],\n brokerageAmt: 0,\n\n };\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/broker-group/fetch-broker-list`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brokerGroup: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n \n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-broker-form?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.initialValues.brokerGroup = data.brokerGroup;\n athis.state.initialValues.brokerId = data.brokerId;\n\n athis.state.initialValues.brokerage_logic = data.brokerage_logic;\n athis.state.initialValues.rate = data.rate;\n athis.state.initialValues.uom = data.uom;\n athis.state.initialValues.percentage = data.percentage;\n athis.state.initialValues.on_area = data.on_area;\n\n if (data.brokerageAmt != '') {\n athis.state.initialValues.brokerageAmt = data.brokerageAmt;\n }\n if (data.brokerageMonths != '') {\n athis.state.initialValues.brokerageMonths = data.brokerageMonths;\n }\n\n athis.state.additionalDetails = data.additionalDetails;\n\n athis.setState({ brokerList: data.companies });\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-broker-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n\n // this.state.initialValues.brokerGroup = data.brokerGroup;\n // this.state.initialValues.brokerId = data.brokerId;\n\n // this.state.initialValues.brokerage_logic = data.brokerage_logic;\n // this.state.initialValues.rate = data.rate;\n // this.state.initialValues.uom = data.uom;\n // this.state.initialValues.percentage = data.percentage;\n // this.state.initialValues.on_area = data.on_area;\n\n // if (data.brokerageAmt != '') {\n // this.state.initialValues.brokerageAmt = data.brokerageAmt;\n // }\n // if (data.brokerageMonths != '') {\n // this.state.initialValues.brokerageMonths = data.brokerageMonths;\n // }\n\n // this.state.additionalDetails = data.additionalDetails;\n\n // console.log(data.additionalDetails, \" data.additionalDetails;\")\n\n // this.setState({ brokerList: data.companies });\n\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n handleGroupChange = (e) => {\n console.log(e.target.value, \"groyp changes\");\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/broker-group/get-group-brokers/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brokerList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n //brokerList\n }\n\n calculateFullAmt = (e, value, setFieldValue) => {\n //brokerage_logic\n let rate = this.state.initialValues.rate;\n let brokerageMonths = this.state.initialValues.brokerageMonths;\n let percentage = this.state.initialValues.percentage;\n let on_area = this.state.initialValues.on_area;\n\n let totalAmt = 0;\n if (value.brokerage_logic != \"Flat Amount\") {\n let area = 0;\n if (on_area == \"Usable Area\") {\n area = this.state.additionalDetails.usable;\n } else if (on_area == \"Carpet Area\") {\n area = this.state.additionalDetails.carpet;\n } else if (on_area == \"Gross Leasable Area\") {\n area = this.state.additionalDetails.gla;\n }\n if (value.brokerage_logic == \"Rate Basis\") {\n totalAmt = parseFloat(area) * parseInt(brokerageMonths) * parseFloat(rate);\n } else {\n totalAmt = (parseFloat(area) * parseInt(brokerageMonths) * parseFloat(rate)) * parseFloat(percentage) / 100;\n }\n this.state.initialValues.brokerageAmt = totalAmt;\n setFieldValue(\"brokerageAmt\", totalAmt);\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n render() {\n if (this.state.redirect == true) {\n //let url = this.props.match;\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Parties, Unit & Brand Details
  • \n
  • \n
  • \n Broker Details\n
  • \n
\n
\n
\n\n\n {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.showMessages();\n return false;\n }\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-broker-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n setFieldValue\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.handleGroupChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n setFieldValue(\"brokerageAmt\", 0);\n handleChange(e);\n }}\n >\n
\n
\n\n {[\"Rate Basis\", \"Percentage of rent Basis\"].includes(values.brokerage_logic) && (\n <>\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.rate = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Rate\",\n values.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.brokerageMonths = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Months\",\n values.brokerageMonths,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.on_area = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n >\n
\n
\n \n )}\n\n {[\"Percentage of rent Basis\"].includes(values.brokerage_logic) && (\n
\n \n
\n {\n handleChange(e);\n this.state.initialValues.percentage = e.target.value;\n this.setState({});\n this.calculateFullAmt(e, values, setFieldValue);\n }}\n />\n {this.mainFormValidator.message(\n \"Percentage\",\n values.percentage,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n Save Draft\n \n \n \n Cancel\n \n \n
\n
\n
\n
\n \n )}\n \n
\n
\n \n \n );\n }\n}\n\nexport default withRouter(LeaseBrokerDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LockInNoticePeriod extends React.Component {\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n landlordLockInLeaseDate: \"\",\n landlordLockInRentDate: \"\",\n redirect: false,\n initialValues: {\n lockInPeriodOccupier: [],\n },\n lockInPeriodOccupier: [],\n lockInPeriodCount: 1,\n lockInPeriodLandlordStartDate: \"\",\n lockInPeriodLandlordMM: \"\",\n lockInPeriodLandlordDD: \"\",\n lockInPeriodLandlordYY: \"\",\n terminationNoticePeriodMM: \"\",\n terminationNoticePeriodDD: \"\",\n toggleLandlordForm: false,\n toggleOccupierForm: false,\n lockinPeriodLandlordEndDate: \"\",\n fullLockInPeriodFlag: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showLandlordForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleLandlordForm: true,\n });\n } else {\n this.setState({\n toggleLandlordForm: false,\n });\n }\n };\n\n showOccupierForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleOccupierForm: true,\n });\n } else {\n this.setState({\n toggleOccupierForm: false,\n });\n }\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/occupier-groups`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n occupierGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n \n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-lockin-form?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n\n if (data.lockInPeriodOccupier == null) {\n data.lockInPeriodOccupier = [{}];\n }\n if (data.lockInPeriodLandlordMM == 0) {\n athis.setState({ lockInPeriodLandlordMM: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordMM: data.lockInPeriodLandlordMM,\n });\n }\n if (data.lockInPeriodLandlordYY == 0) {\n athis.setState({ lockInPeriodLandlordYY: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordYY: data.lockInPeriodLandlordYY,\n });\n }\n if (data.lockInPeriodLandlordDD == 0) {\n athis.setState({ lockInPeriodLandlordDD: \"\" });\n } else {\n athis.setState({\n lockInPeriodLandlordDD: data.lockInPeriodLandlordDD,\n });\n }\n if (data.terminationNoticePeriodDD == 0) {\n athis.setState({ terminationNoticePeriodDD: \"\" });\n } else {\n athis.setState({\n terminationNoticePeriodDD: data.terminationNoticePeriodDD,\n });\n }\n if (data.terminationNoticePeriodMM == 0) {\n athis.setState({ terminationNoticePeriodMM: \"\" });\n } else {\n athis.setState({\n terminationNoticePeriodMM: data.terminationNoticePeriodMM,\n });\n }\n if (data.lockInApplicableForLandlord === \"yes\") {\n athis.setState({\n toggleLandlordForm: true,\n });\n } else {\n athis.setState({\n toggleLandlordForm: false,\n });\n }\n if (data.lockInApplicableForOccupier === \"yes\") {\n athis.setState({\n toggleOccupierForm: true,\n });\n } else {\n athis.setState({\n toggleOccupierForm: false,\n });\n }\n\n athis.setState({\n initialValues: data,\n lockInPeriodOccupier: data.lockInPeriodOccupier,\n lockInPeriodCount: data.lockInPeriodOccupier.length > 0 ? data.lockInPeriodOccupier.length : 1,\n landlordLockInLeaseDate: data.leaseCommencementDate,\n landlordLockInRentDate: data.rentCommencementDate,\n landlordLockInRenewalDate: data.renewalCommencementDate,\n lockinPeriodLandlordEndDate: data.leaseExpiryDate\n });\n\n\n if (data.leaseExpiryDate == data.lockInPeriodLandlordEndDate) {\n athis.setState({\n fullLockInPeriodFlag: true,\n });\n\n athis.getDateDiff(data.lockInPeriodLandlordStartDate);\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-lockin-form?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // if (data.lockInPeriodOccupier == null) {\n // data.lockInPeriodOccupier = [{}];\n // }\n // if (data.lockInPeriodLandlordMM == 0) {\n // this.setState({ lockInPeriodLandlordMM: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordMM: data.lockInPeriodLandlordMM,\n // });\n // }\n // if (data.lockInPeriodLandlordYY == 0) {\n // this.setState({ lockInPeriodLandlordYY: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordYY: data.lockInPeriodLandlordYY,\n // });\n // }\n // if (data.lockInPeriodLandlordDD == 0) {\n // this.setState({ lockInPeriodLandlordDD: \"\" });\n // } else {\n // this.setState({\n // lockInPeriodLandlordDD: data.lockInPeriodLandlordDD,\n // });\n // }\n // if (data.terminationNoticePeriodDD == 0) {\n // this.setState({ terminationNoticePeriodDD: \"\" });\n // } else {\n // this.setState({\n // terminationNoticePeriodDD: data.terminationNoticePeriodDD,\n // });\n // }\n // if (data.terminationNoticePeriodMM == 0) {\n // this.setState({ terminationNoticePeriodMM: \"\" });\n // } else {\n // this.setState({\n // terminationNoticePeriodMM: data.terminationNoticePeriodMM,\n // });\n // }\n // if (data.lockInApplicableForLandlord === \"yes\") {\n // this.setState({\n // toggleLandlordForm: true,\n // });\n // } else {\n // this.setState({\n // toggleLandlordForm: false,\n // });\n // }\n // if (data.lockInApplicableForOccupier === \"yes\") {\n // this.setState({\n // toggleOccupierForm: true,\n // });\n // } else {\n // this.setState({\n // toggleOccupierForm: false,\n // });\n // }\n\n\n\n // // for (let i = 0; i < data.lockInPeriodOccupier.length; i++) {\n // // console.log(this.state.lockInPeriodOccupier);\n // // if (data.lockInPeriodOccupier[i].lockInPeriodDD == 0) {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n // // } else {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodDD =\n // // data.lockInPeriodOccupier[i].lockInPeriodDD;\n // // }\n // // if (data.lockInPeriodOccupier[i].lockInPeriodMM == 0) {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n // // } else {\n // // this.state.lockInPeriodOccupier[i].lockInPeriodMM =\n // // data.lockInPeriodOccupier[i].lockInPeriodMM;\n // // }\n // // }\n // this.setState({\n // initialValues: data,\n // lockInPeriodOccupier: data.lockInPeriodOccupier,\n // lockInPeriodCount: data.lockInPeriodOccupier.length > 0 ? data.lockInPeriodOccupier.length : 1,\n // landlordLockInLeaseDate: data.leaseCommencementDate,\n // landlordLockInRentDate: data.rentCommencementDate,\n // landlordLockInRenewalDate: data.renewalCommencementDate,\n // lockinPeriodLandlordEndDate: data.leaseExpiryDate\n // });\n\n\n // if (data.leaseExpiryDate == data.lockInPeriodLandlordEndDate) {\n // this.setState({\n // fullLockInPeriodFlag: true,\n // });\n\n // this.getDateDiff(data.lockInPeriodLandlordStartDate);\n // }\n\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n changeOccupier = (e) => {\n let groupid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/occupier/get-group-companies/?id=` + groupid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyName: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n changeState = (e) => {\n let stateId = e.target.value;\n console.log(stateId, \"SI\");\n fetch(`${apiUrl.apiUrl.url}/cities/state-cities/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n cities: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n calculateLockInEndDate(e, values) {\n console.log(values);\n values.lockInPeriodLandlordEndDate = getToDate(\n values.lockInPeriodLandlordStartDate,\n Number(this.state.lockInPeriodLandlordDD),\n Number(this.state.lockInPeriodLandlordMM),\n Number(this.state.lockInPeriodLandlordYY),\n );\n this.setState({});\n }\n\n getDateDiff = (startDate) => {\n var a = moment(this.state.lockinPeriodLandlordEndDate);\n var b = moment(startDate);\n console.log(startDate + ' ' + this.state.lockinPeriodLandlordEndDate);\n var years = a.diff(b, \"year\");\n b.add(years, \"years\");\n var months = a.diff(b, \"months\");\n b.add(months, \"months\");\n var days = a.diff(b, \"days\");\n this.setState({\n lockInPeriodLandlordYY: years,\n lockInPeriodLandlordMM: months,\n lockInPeriodLandlordDD: Number(days) + 1,\n });\n };\n\n calculateOccupierLockInEndDate(values) {\n for (let i = 0; i < values.lockInPeriodOccupier.length; i++) {\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodDD)) {\n values.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n }\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodMM)) {\n values.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n }\n if (isNaN(values.lockInPeriodOccupier[i].lockInPeriodYY)) {\n values.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n }\n values.lockInPeriodOccupier[i].lockInEndDate = getToDate(\n values.lockInPeriodOccupier[i].lockInFromDate,\n Number(values.lockInPeriodOccupier[i].lockInPeriodDD),\n Number(values.lockInPeriodOccupier[i].lockInPeriodMM),\n Number(values.lockInPeriodOccupier[i].lockInPeriodYY),\n );\n this.setState({});\n }\n }\n\n changeLockInPeriodLandlord(e, values) {\n console.log(\"here\", e.target.value)\n if (e.target.value == \"\") {\n this.state.lockInPeriodLandlordDD = \"\";\n this.state.lockInPeriodLandlordMM = \"\";\n this.state.lockInPeriodLandlordYY = \"\";\n }\n console.log(values);\n if (e.target.value == \"Lease Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInLeaseDate;\n } else if (e.target.value == \"Rent Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInRentDate;\n }else if (e.target.value == \"Renewal Commencement Date\") {\n values.lockInPeriodLandlordStartDate = this.state.landlordLockInRenewalDate;\n }\n\n console.log(values.lockInPeriodLandlordStartDate, \"values.lockInPeriodLandlordStartDate\", this.state.landlordLockInRenewalDate)\n\n values.lockInPeriodLandlordEndDate = getToDate(\n values.lockInPeriodLandlordStartDate,\n Number(this.state.lockInPeriodLandlordDD),\n Number(this.state.lockInPeriodLandlordMM),\n Number(this.state.lockInPeriodLandlordYY),\n );\n this.setState({});\n }\n\n changeLockInPeriodOccupier(values, id) {\n for (let i = 0; i < values.lockInPeriodOccupier.length; i++) {\n if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Lease Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInLeaseDate;\n } else if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Rent Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInRentDate;\n } else if (\n values.lockInPeriodOccupier[i].lockInPeriod == \"Renewal Commencement Date\"\n ) {\n values.lockInPeriodOccupier[i].lockInFromDate =\n this.state.landlordLockInRenewalDate;\n }\n values.lockInPeriodOccupier[i].lockInEndDate = getToDate(\n values.lockInPeriodOccupier[i].lockInFromDate,\n Number(values.lockInPeriodOccupier[i].lockInPeriodDD),\n Number(values.lockInPeriodOccupier[i].lockInPeriodMM),\n Number(values.lockInPeriodOccupier[i].lockInPeriodYY),\n );\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true });\n };\n\n handleDelete = (index) => {\n // Create a copy of the landlords array\n let _occupiers = [...this.state.lockInPeriodOccupier];\n\n // Remove the item at the specified index\n _occupiers.splice(index, 1);\n\n // Update the state\n this.setState({\n lockInPeriodOccupier: _occupiers,\n lockInPeriodCount: this.state.lockInPeriodCount - 1\n });\n }\n\n lockInPeriodTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.lockInPeriodCount; i++) {\n heads.push(Lock In Period {i + 1} {heads.length < 1 ? null : this.handleDelete(i)} className=\"ms-2\">});\n }\n\n var body = [];\n for (var i = 0; i < this.state.lockInPeriodCount; i++) {\n if (\n typeof this.state.lockInPeriodOccupier[i] === \"undefined\" ||\n this.state.lockInPeriodOccupier[i] === null\n ) {\n this.state.lockInPeriodOccupier[i] = {};\n this.state.lockInPeriodOccupier[i].lockInPeriod = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n this.state.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n this.state.lockInPeriodOccupier[i].lockInFromDate = \"\";\n this.state.lockInPeriodOccupier[i].lockInEndDate = \"\";\n values.lockInPeriodOccupier[i] = {};\n values.lockInPeriodOccupier[i].lockInPeriod = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodYY = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodMM = \"\";\n values.lockInPeriodOccupier[i].lockInPeriodDD = \"\";\n values.lockInPeriodOccupier[i].lockInFromDate = \"\";\n values.lockInPeriodOccupier[i].lockInEndDate = \"\";\n }\n body.push(\n \n
\n
\n
\n
\n \n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriod =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n this.changeLockInPeriodOccupier(values, id);\n handleChange(e);\n }}\n >\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodYY =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"YY\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodMM =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"MM\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodDD =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"DD\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInPeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInFromDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In From Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInEndDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In End Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriod =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n this.changeLockInPeriodOccupier(values, id);\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodYY =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"YY\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodMM =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"MM\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInPeriodDD =\n e.target.value;\n this.calculateOccupierLockInEndDate(values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateOccupierLockInEndDate(values);\n }}\n placeholder=\"DD\"\n className=\"centerPlaceHolder\"\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInPeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInFromDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In From Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.lockInPeriodOccupier[id].lockInEndDate =\n e.target.value;\n handleChange(e);\n }}\n />\n {this.mainFormValidator.message(\n \"Lock In End Date For Occupier\",\n this.state.lockInPeriodOccupier[i].lockInEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
*/}\n
\n );\n }\n\n return (\n
\n \n
\n
\n {heads}\n
\n
\n \n
\n
\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n if (!this.mainFormValidator.allValid()) {\n console.log(this.mainFormValidator);\n this.mainFormValidator.showMessages();\n return false;\n }\n console.log(values, \"val\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-lockin?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n {\n this.showLandlordForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n
\n\n {this.state.toggleLandlordForm && (\n <>\n
\n \n
\n {\n this.changeLockInPeriodLandlord(e, values);\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n const isChecked = e.target.checked;\n this.setState({ fullLockInPeriodFlag: isChecked });\n\n if (isChecked) {\n values.lockInPeriodLandlordEndDate = this.state.lockinPeriodLandlordEndDate;\n this.setState({});\n this.getDateDiff(values.lockInPeriodLandlordStartDate);\n } else {\n this.setState({\n lockInPeriodLandlordYY: \"\",\n lockInPeriodLandlordMM: \"\",\n lockInPeriodLandlordDD: \"\",\n });\n\n values.lockInPeriodLandlordEndDate = \"\";\n }\n handleChange(e);\n }}\n />\n
\n
\n
\n \n
\n
\n
\n {\n this.state.lockInPeriodLandlordYY =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordMM =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordDD =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Landlord\",\n values.lockInPeriodLandlord,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord Start Date\",\n values.lockInPeriodLandlordStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord End Date\",\n values.lockInPeriodLandlordEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n
\n
\n\n
\n \n
\n {\n this.showOccupierForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleOccupierForm && (\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n lockInPeriodCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n )}\n
\n {this.state.toggleOccupierForm &&\n this.lockInPeriodTabs(handleChange, values)}\n
\n\n\n {(this.state.toggleLandlordForm || this.state.toggleOccupierForm) && (\n <>\n
\n
\n
\n
\n \n
\n
\n
\n {\n this.setState({ terminationNoticePeriodMM: e.target.value });\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n {\n this.setState({ terminationNoticePeriodDD: e.target.value });\n handleChange(e);\n }}\n />\n
\n
\n
\n {this.mainFormValidator.message(\n \"Termination Notice Period (MM-DD)\",\n values.terminationNoticePeriodMM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n
\n
\n\n \n )}\n\n
\n \n \n
\n\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.showLandlordForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleLandlordForm && (\n
\n
\n
\n
\n \n
\n {\n this.changeLockInPeriodLandlord(\n e,\n values\n );\n handleChange(e);\n }}\n >\n \n \n \n
\n
\n
\n
\n \n
\n
\n {\n const isChecked = e.target.checked;\n this.setState({ fullLockInPeriodFlag: isChecked });\n\n if (isChecked) {\n values.lockInPeriodLandlordEndDate = this.state.lockinPeriodLandlordEndDate;\n this.setState({});\n this.getDateDiff(values.lockInPeriodLandlordStartDate);\n } else {\n this.setState({\n lockInPeriodLandlordYY: '',\n lockInPeriodLandlordMM: '',\n lockInPeriodLandlordDD: ''\n });\n\n values.lockInPeriodLandlordEndDate = '';\n }\n handleChange(e);\n }}\n />\n
\n
\n
\n
\n
\n {\n this.state.lockInPeriodLandlordYY =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordMM =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {\n this.state.lockInPeriodLandlordDD =\n e.target.value;\n\n this.calculateLockInEndDate(e, values);\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateLockInEndDate(e, values);\n }}\n />\n
\n
\n {this.mainFormValidator.message(\n \"Lock In Period For Landlord\",\n values.lockInPeriodLandlord,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord Start Date\",\n values.lockInPeriodLandlordStartDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.mainFormValidator.message(\n \"Lock In Period Landlord End Date\",\n values.lockInPeriodLandlordEndDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n \n
\n {\n this.showOccupierForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.toggleOccupierForm && (\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n lockInPeriodCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n )}\n
\n
\n
\n {this.state.toggleOccupierForm &&\n this.lockInPeriodTabs(handleChange, values)}\n {(this.state.toggleLandlordForm ||\n this.state.toggleOccupierForm) && (\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.terminationNoticePeriodMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.terminationNoticePeriodDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n
\n {this.mainFormValidator.message(\n \"Termination Notice Period (MM-DD)\",\n values.terminationNoticePeriodMM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.mainFormValidator.message(\n \"Termination Notice Period Logic\",\n values.terminationNoticePeriodLogic,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n )}\n Notes/Remarks\n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n */}\n \n )}\n \n
\n \n \n );\n }\n}\n\nexport default withRouter(LockInNoticePeriod);\n","import React, { Component, createRef } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass RentalDetails extends Component {\n countError = \"\";\n state = {\n isEdit: false,\n escalationIndex: 0,\n disableBifurctaeUnit: false,\n totalGla: \"\",\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n productName: \"\",\n productId: \"\",\n to: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n rentalDetails: [],\n products: [],\n redirect: false,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n initialValues: {\n rentalLogic: {\n fromDate: \"\",\n toDate: \"\",\n rentalUom: \"\",\n rentDueDate: \"\",\n rentRate: \"\",\n rentRateTerm: \"\",\n onArea: \"\",\n rentFrequency: \"\",\n rentalLogicValue: \"\",\n rentalLogicText: \"\",\n minusCamPercent: \"\",\n revenueShareTerm: \"\",\n slabs: [],\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n showMinusCam: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\",\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.formikRef = createRef();\n }\n\n handleReset = () => {\n // console.log('Reset button clicked');\n // if (this.formikRef.current) {\n // console.log('Resetting form');\n // this.formikRef.current.resetForm();\n // } else {\n // console.warn('Formik reference is not set yet');\n // }\n\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n //this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n biFurcateRent(e, values) {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n handleUnitOnChange(e, values, setFieldValue) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n this.state.initialValues.rentalLogic.unit = e.target.value;\n this.setState({});\n if (this.state.rentalDetails.length > 0) {\n var bifurcatedArr = this.state.rentalDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState(\n {\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n },\n () => {\n console.log(this.state.rentalDetails);\n }\n );\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n changeProduct(newValue, values, index) {\n this.state.initialValues.rentalLogic.slabs[index].product = newValue.value;\n this.state.initialValues.rentalLogic.slabs[index].productName =\n newValue.label;\n this.setState({});\n console.groupEnd();\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editRental(index, values) {\n this.setState({ isEdit: true, escalationIndex: index - 1 });\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (this.state.rentalDetails[index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.rentalDetails[index].rentalLogic !== undefined) {\n if (\n this.state.rentalDetails[index].rentalLogic.escalationPercent !==\n undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentalDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.rentalDetails[index].slabNumber;\n if (this.state.rentalDetails[index].rentalLogicText.includes(\"Minus CAM\")) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentalDetails[index].periodTermDD,\n periodTermMM: this.state.rentalDetails[index].periodTermMM,\n periodTermYY: this.state.rentalDetails[index].periodTermYY,\n });\n if (\n this.state.rentalDetails[index].rentalLogicValue === \"1\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"2\"\n ) {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"3\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"4\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"5\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"6\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"7\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"8\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"9\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"10\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"11\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"12\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"13\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"14\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"16\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"17\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"18\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"19\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"28\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"20\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"21\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"22\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"23\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n this.state.rentalDetails[index].rentalLogicValue === \"24\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"25\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"26\" ||\n this.state.rentalDetails[index].rentalLogicValue === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n values.rentalLogic = { ...this.state.rentalDetails[index] };\n this.state.fromDate = this.state.rentalDetails[index].fromDate;\n this.state.toDate = this.state.rentalDetails[index].toDate;\n this.state.initialValues.rentalLogic.unit =\n this.state.rentalDetails[index].unit;\n this.setState({});\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _rentalDetails = this.state.rentalDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.rentalLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentValues.rentalLogic.rentalUom != \"Per Seat\") {\n if (currentPeriod > 1) {\n currentValues.rentalLogic.rentRate = (\n Number(currentValues.rentalLogic.rentRate) *\n (Number(currentValues.rentalLogic.escalationPercent) / 100) +\n Number(currentValues.rentalLogic.rentRate)\n ).toFixed(2);\n }\n }\n\n var rentalLogic = { ...currentValues.rentalLogic };\n console.log(rentalLogic, \"11\");\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n rentalLogicText: this.state.initialValues.rentalLogic.rentalLogicText,\n rentalLogicValue: this.state.initialValues.rentalLogic.rentalLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: rentalLogic.escalationPercent,\n rentalUom: rentalLogic.rentalUom,\n onArea: rentalLogic.onArea,\n rentRateTerm: rentalLogic.rentRateTerm,\n rentRate: rentalLogic.rentRate,\n seatRate: rentalLogic.seatRate,\n seatCount: rentalLogic.seatCount,\n rentFrequency: rentalLogic.rentFrequency,\n rentDueDate: rentalLogic.rentDueDate,\n rentDueType: rentalLogic.rentDueType,\n rentDueFrequency: rentalLogic.rentDueFrequency,\n fitoutUom: rentalLogic.fitoutUom,\n fitoutOnArea: rentalLogic.fitoutOnArea,\n fitoutRate: rentalLogic.fitoutRate,\n fitoutFrequency: rentalLogic.fitoutFrequency,\n fitoutRateTerm: rentalLogic.fitoutRateTerm,\n minusCamPercent: rentalLogic.minusCamPercent,\n unit: rentalLogic.unit,\n };\n console.log(_currentValues);\n _rentalDetails.push(_currentValues);\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ rentalDetails: _rentalDetails });\n values.rentalLogic.escalationPercent = \"\";\n values.rentalLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n showAddBtn: false,\n showForm: false,\n });\n };\n\n addRentalDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var rentalVal = this.state.initialValues.rentalLogic.rentalLogicValue;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n values.rentalLogic.unit = this.state.initialValues.rentalLogic.unit;\n _rentalDetails.push(values.rentalLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.seatRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n // resetForm();\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n } else if (this.state.toDate == values.to) {\n if (this.state.biFurcateRentVal === 0) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n _rentalDetails[this.state.currentIndex] = { ...values.rentalLogic };\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n rentalDetails: _rentalDetails,\n // rentMinusCam: false,\n // rentFitoutMinusCam: false,\n // pureRevenueShareMinusCam: false,\n // pureRevenueSalesShareMinusCam: false,\n // pureRevenueProduct: false,\n // pureRevenueSalesProduct: false,\n // minimumGuaranteeRentPlusCam: false,\n // minimumGuaranteeRentPlusFitout: false,\n // minimumGuaranteeRentRevenueShareSalesRange: false,\n // minimumGuaranteeRentRevenueShareProduct: false,\n // minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n // minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n // values.rentalLogic.unit = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetRentalDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period = this.state.rentalDetails.length + 1;\n //this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.rentalLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.rentalLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.rentalLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n product: \"\",\n });\n }\n } else if (\n this.state.initialValues.rentalLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.rentalLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.rentalLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.rentalLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n handleRentalLogicChange = (event, values) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rentalLogic.rentalUom = \"\";\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n let index = event.nativeEvent.target.selectedIndex;\n let label = event.nativeEvent.target[index].label;\n this.state.initialValues.rentalLogic.rentalLogicText = label;\n this.state.initialValues.rentalLogic.rentalLogicValue = event.target.value;\n let checkValue = label.includes(\"Minus CAM\");\n if (checkValue) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n if (event.target.value === \"1\" || event.target.value === \"2\") {\n this.setState({\n rentMinusCam: true,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"3\" || event.target.value === \"4\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: true,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"5\" || event.target.value === \"6\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: true,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"7\" || event.target.value === \"8\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: true,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"9\" || event.target.value === \"10\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: true,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"11\" || event.target.value === \"12\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: true,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"13\" ||\n event.target.value === \"14\" ||\n event.target.value === \"15\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: true,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"16\" || event.target.value === \"17\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: true,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"18\" ||\n event.target.value === \"19\" ||\n event.target.value === \"28\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: true,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"20\" || event.target.value === \"21\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: true,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (event.target.value === \"22\" || event.target.value === \"23\") {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: true,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n } else if (\n event.target.value === \"24\" ||\n event.target.value === \"25\" ||\n event.target.value === \"26\" ||\n event.target.value === \"27\"\n ) {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n }\n };\n\n componentDidMount() {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.totalGla = data.total_gla;\n athis.state.isRentAutocalculate = data.isRentAutocalculate;\n athis.state.isUnitBifurcate = data.isUnitBifurcate;\n if (data.isRentAutocalculate) {\n athis.setState({ isRentCheckboxChecked: true });\n } else {\n athis.setState({ isRentCheckboxChecked: false });\n }\n if (data.isUnitBifurcate === true) {\n athis.setState({ biFurcateRentVal: 1 });\n } else {\n athis.setState({ biFurcateRentVal: 0 });\n }\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n if (data.rentalDetails.length > 0) {\n if (\n data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n \n athis.setState({\n fromDate: getToDate(\n data.rentalDetails[data.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n athis.setState({\n initialValues: data,\n rentalDetails: data.rentalDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n units: data.units,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.totalGla = data.total_gla;\n // this.state.isRentAutocalculate = data.isRentAutocalculate;\n // this.state.isUnitBifurcate = data.isUnitBifurcate;\n // if (data.isRentAutocalculate) {\n // this.setState({ isRentCheckboxChecked: true });\n // } else {\n // this.setState({ isRentCheckboxChecked: false });\n // }\n // if (data.isUnitBifurcate === true) {\n // this.setState({ biFurcateRentVal: 1 });\n // } else {\n // this.setState({ biFurcateRentVal: 0 });\n // }\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // if (data.rentalDetails.length > 0) {\n // if (\n // data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // // );\n\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // console.log(dd, mm, y);\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // rentalDetails: data.rentalDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n // units: data.units,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n calculateToDate(values) {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n Number(this.state.periodTermMM),\n this.state.periodTermYY\n ),\n });\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n if (values.rentalLogic.rentalUom != \"Per Seat\") {\n setFieldValue(\n \"rentalLogic.rentRate\",\n (\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .rentRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n } else {\n setFieldValue(\n \"rentalLogic.seatRate\",\n (\n Number(\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .seatRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n }\n\n fetchUnitDetails(e, setFieldValue) {\n console.log(e.target.value, \"eeee\", this.props.match.params.id);\n\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/fetch-coworking-details?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n setFieldValue(\"rentalLogic.seatCount\", data.total_sum);\n });\n }\n\n calculateEscalationPercent(e, values, setFieldValue, str) {\n if (this.state.period > 1) {\n if (values.rentalLogic.rentalUom != \"Per Seat\") {\n if (str == \"uom\") {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(values.rentalLogic.rentRate) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex].rentRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex].rentRate\n )) *\n 100\n ).toFixed(2)\n );\n } else {\n if (\n this.state.rentalDetails[this.state.escalationIndex].rentRate !== 0\n ) {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex]\n .rentRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex]\n .rentRate\n )) *\n 100\n ).toFixed(1)\n );\n }\n }\n } else {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[this.state.escalationIndex].seatRate\n )) /\n Number(\n this.state.rentalDetails[this.state.escalationIndex].seatRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rentals = this.state.rentalDetails;\n\n this.setState({ period: _rentals.length });\n\n _rentals.splice(this.state.index_val, 1);\n\n this.setState({\n rentalDetails: _rentals,\n showForm: true,\n });\n //this.state.period--;\n\n if (this.state.rentalDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.rentalDetails[this.state.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateTotalSeatAmount = (e, values, x) => {\n if (x == \"count\") {\n if (\n values.rentalLogic.seatRate != undefined &&\n values.rentalLogic.seatRate != null\n ) {\n values.rentalLogic.seatTotalAmount =\n e.target.value * values.rentalLogic.seatRate;\n this.setState({});\n }\n } else {\n if (\n values.rentalLogic.seatCount != undefined &&\n values.rentalLogic.seatCount != null\n ) {\n values.rentalLogic.seatTotalAmount =\n e.target.value * values.rentalLogic.seatCount;\n this.setState({});\n }\n }\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n \n
\n
\n\n {\n if (this.state.rentalDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n if (this.state.biFurcateRentVal === 0) {\n if (\n this.state.to !==\n this.state.rentalDetails[this.state.rentalDetails.length - 1]\n .toDate\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Complete the period\",\n });\n return false;\n }\n }\n values.rentalDetails = this.state.rentalDetails;\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-rent-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(\n e,\n values,\n setFieldValue\n );\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n\n {this.state.isRentAutocalculate === true && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n
\n
\n
\n )}\n\n\n {this.state.rentMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n this.fetchUnitDetails(e, setFieldValue);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n \n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {values.rentalLogic.rentalUom == \"Per Seat\" && (\n <>\n
\n \n
\n {\n this.calculateTotalSeatAmount(\n e,\n values,\n \"count\"\n );\n }}\n />\n {this.validator.message(\n \"Seat Count\",\n values.rentalLogic.seatCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.calculateTotalSeatAmount(\n e,\n values,\n \"rate\"\n );\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Seat Rate\",\n values.rentalLogic.seatRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Total Amount\",\n values.rentalLogic.seatTotalAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {values.rentalLogic.rentalUom != \"Per Seat\" && (\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.rentFitoutMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n \n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n
\n
\n\n {/* Fitout On Area */}\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {/* Fitout Rate */}\n
\n \n
\n \n \n
\n
\n\n {/* Fitout Rate Term */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {/* Fitout Rent Frequency */}\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesShareMinusCam && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)\n Action\n
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n {this.state.pureRevenueProduct && (\n <>\n
\n \n
\n handleChange(e)}\n className=\"form-control\"\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n className=\"form-control\"\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n className=\"form-control\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n className=\"form-control\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n className=\"form-control\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)\n Action\n
{index + 1}\n \n this.changeProduct(\n e,\n values,\n index\n )\n }\n options={this.state.products.map(\n (product) => ({\n label: product.product_name,\n value: product.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n className=\"form-control\"\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n {\n className: \"text-danger\",\n }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n {\n className: \"text-danger\",\n }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n className=\"form-control\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n className=\"form-control\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n className=\"form-control\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n className=\"form-control\"\n >\n \n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (product) => ({\n label: product.product_name,\n value: product.id,\n })\n )}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var slabs = [\n ...this.state.initialValues\n .rentalLogic.slabs,\n ];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n
\n
\n \n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusFitout && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)\n Action\n
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n\n
\n \n
\n\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label: item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic.revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic.slabs\n .length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)\n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label: item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[index]\n .percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state.initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue,\n \"uom\"\n );\n handleChange(e);\n }}\n >\n \n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.rentalDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n ((typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].seatRate !== 0) ||\n (typeof this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== \"undefined\" &&\n this.state.rentalDetails[\n this.state.escalationIndex\n ].rentRate !== 0)) &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n
\n \n \n
\n
\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n className=\"add_button\"\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n \n {this.state.rentalDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n {leaseDateFormat(name.fromDate)}{leaseDateFormat(name.toDate)}{name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : ((name.rentalUom == \"Per Seat\") ?\n name.seatRate : name.rentRate\n )\n\n // name.rentRate == \"\" ||\n // name.rentRate == undefined\n // ? name.seatRate == \"\" ||\n // name.seatRate == undefined\n // ? \"-\"\n // : name.seatRate\n // : name.rentRate\n }\n \n {\n this.editRental(\n index,\n values,\n setFieldValue\n );\n }}\n >\n \n \n {this.state.rentalDetails.length ==\n index + 1 && (\n {\n this.handleReset();\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Basic Rental Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.rentalPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\n \"Are you sure you want to delete this period?\"\n

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n\n rentalPopup(rental) {\n console.log(rental);\n if (rental.rentalLogicValue == 1 || rental.rentalLogicValue == 2) {\n return this.rentMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 3 || rental.rentalLogicValue == 4) {\n return this.rentPlusFitoutMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 5 || rental.rentalLogicValue == 6) {\n return this.pureRevenueShareMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 7 || rental.rentalLogicValue == 8) {\n return this.pureRevenueShareSalesRangeMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 9 || rental.rentalLogicValue == 10) {\n return this.pureRevenueShareProductMinusCamPopup(rental);\n } else if (rental.rentalLogicValue == 11 || rental.rentalLogicValue == 12) {\n return this.pureRevenueShareSalesRangeProductMinusCamPopup(rental);\n } else if (\n rental.rentalLogicValue == 13 ||\n rental.rentalLogicValue == 14 ||\n rental.rentalLogicValue == 15\n ) {\n return this.minimumGuaranteeRentPlusCamMinusCam(rental);\n } else if (rental.rentalLogicValue == 16 || rental.rentalLogicValue == 17) {\n return this.minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental);\n } else if (\n rental.rentalLogicValue == 18 ||\n rental.rentalLogicValue == 19 ||\n rental.rentalLogicValue == 28\n ) {\n return this.minimumGuaranteeRentRevenueShareSalesMinusCam(rental);\n } else if (rental.rentalLogicValue == 20 || rental.rentalLogicValue == 21) {\n return this.minimumGuaranteeRentRevenueShareProductMinusCam(rental);\n } else if (rental.rentalLogicValue == 22 || rental.rentalLogicValue == 23) {\n return this.minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental);\n } else if (\n rental.rentalLogicValue == 24 ||\n rental.rentalLogicValue == 25 ||\n rental.rentalLogicValue == 26 ||\n rental.rentalLogicValue == 27\n ) {\n return this.minimumGuaranteeRentOrRevenueShareMinusCam(rental);\n }\n }\n\n rentMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n\n {rental.rentalUom == \"Per Seat\" && (\n <>\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n )}\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalUom != \"Per Seat\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n }\n }\n\n rentPlusFitoutMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n }\n\n pureRevenueShareMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n pureRevenueShareSalesRangeProductMinusCamPopup(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusCamMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n\n minimumGuaranteeRentPlusFitoutRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n ))}\n \n
SLABProductRevenue Share (%)
{index + 1}{name.productName}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentRevenueShareSalesProductMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {rental.slabs.length > 0 &&\n rental.slabs.map((name, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABProductFromToRevenue Share (%)
{index + 1}{name.productName}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n\n minimumGuaranteeRentOrRevenueShareMinusCam(rental) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.escalationPercent != undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n );\n }\n}\nexport default withRouter(RentalDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport Popup from \"reactjs-popup\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherRentalDetails extends React.Component {\n countError = \"\";\n state = {\n deleteKey: \"\",\n totalGla: \"\",\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n productName: \"\",\n productId: \"\",\n to: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n rentalDetails: [],\n products: [],\n redirect: false,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n initialValues: {\n rentalLogic: {\n fromDate: \"\",\n toDate: \"\",\n rentalUom: \"\",\n rentDueDate: \"\",\n rentRate: \"\",\n rentRateTerm: \"\",\n onArea: \"\",\n rentFrequency: \"\",\n rentalLogicValue: \"\",\n rentalLogicText: \"\",\n minusCamPercent: \"\",\n revenueShareTerm: \"\",\n slabs: [],\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n showMinusCam: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\",\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n biFurcateRent(e, values) {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n handleUnitOnChange(e, values) {\n this.state.initialValues.rentalLogic.unit = e.target.value;\n this.setState({});\n if (this.state.rentalDetails.length > 0) {\n var bifurcatedArr = this.state.rentalDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.rentalDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n rentalDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n });\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n changeProduct(newValue, values, index) {\n this.state.initialValues.rentalLogic.slabs[index].product = newValue.value;\n this.state.initialValues.rentalLogic.slabs[index].productName =\n newValue.label;\n this.setState({});\n console.groupEnd();\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editRental(index, values, key) {\n this.state.currentIndex = index;\n this.setState({ currentIndex: index });\n console.log(this.state.rentalDetails[key][index]);\n if (this.state.rentalDetails[key][index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.rentalDetails[key][index].rentalLogic !== undefined) {\n if (\n this.state.rentalDetails[key][index].rentalLogic.escalationPercent !==\n undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentalDetails[key][index].period;\n this.state.initialValues.totalSlabs =\n this.state.rentalDetails[key][index].slabNumber;\n if (\n this.state.rentalDetails[key][index].rentalLogicText.includes(\"Minus CAM\")\n ) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentalDetails[key][index].periodTermDD,\n periodTermMM: this.state.rentalDetails[key][index].periodTermMM,\n periodTermYY: this.state.rentalDetails[key][index].periodTermYY,\n });\n if (\n this.state.rentalDetails[key][index].rentalLogicValue === \"1\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"2\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"3\" ||\n this.state.rentalDetails[key][index].rentalLogicValue === \"4\"\n ) {\n this.setState({\n rentMinusCam: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n });\n }\n console.log(values);\n values.rentalLogic = { ...this.state.rentalDetails[key][index] };\n values.rentalLogic.rentalLogicValue =\n this.state.rentalDetails[key][index].rentalLogicValue;\n this.state.initialValues.rentalLogic.rentalLogicValue =\n this.state.rentalDetails[key][index].rentalLogicValue;\n values.rentalLogic.rentalLogicText =\n this.state.rentalDetails[key][index].rentalLogicText;\n this.state.fromDate = this.state.rentalDetails[key][index].fromDate;\n this.state.toDate = this.state.rentalDetails[key][index].toDate;\n this.state.initialValues.rentalLogic.unit =\n this.state.rentalDetails[key][index].unit;\n this.setState({});\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _rentalDetails = this.state.rentalDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.rentalLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentPeriod > 1) {\n currentValues.rentalLogic.rentRate = (\n Number(currentValues.rentalLogic.rentRate) *\n (Number(currentValues.rentalLogic.escalationPercent) / 100) +\n Number(currentValues.rentalLogic.rentRate)\n ).toFixed(2);\n }\n\n var rentalLogic = { ...currentValues.rentalLogic };\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n rentalLogicText: this.state.initialValues.rentalLogic.rentalLogicText,\n rentalLogicValue: this.state.initialValues.rentalLogic.rentalLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: rentalLogic.escalationPercent,\n rentalUom: rentalLogic.rentalUom,\n onArea: rentalLogic.onArea,\n rentRateTerm: rentalLogic.rentRateTerm,\n rentRate: rentalLogic.rentRate,\n rentFrequency: rentalLogic.rentFrequency,\n rentDueDate: rentalLogic.rentDueDate,\n rentDueType: rentalLogic.rentDueType,\n rentDueFrequency: rentalLogic.rentDueFrequency,\n fitoutUom: rentalLogic.fitoutUom,\n fitoutOnArea: rentalLogic.fitoutOnArea,\n fitoutRate: rentalLogic.fitoutRate,\n fitoutFrequency: rentalLogic.fitoutFrequency,\n fitoutRateTerm: rentalLogic.fitoutRateTerm,\n minusCamPercent: rentalLogic.minusCamPercent,\n unit: rentalLogic.unit,\n };\n if (\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n undefined\n ) {\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n [];\n }\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText].push(\n _currentValues\n );\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ rentalDetails: _rentalDetails });\n values.rentalLogic.escalationPercent = \"\";\n values.rentalLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n });\n };\n\n addRentalDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n }\n values.rentalLogic.rentalLogicText =\n this.state.initialValues.rentalLogic.rentalLogicText;\n var rentalVal = this.state.initialValues.rentalLogic.rentalLogicValue;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n values.rentalLogic.unit = this.state.initialValues.rentalLogic.unit;\n if (\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n undefined\n ) {\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n [];\n }\n _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText].push(\n values.rentalLogic\n );\n this.setState({\n rentalDetails: _rentalDetails,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"rentalLogic.rentRate\", \"\");\n setFieldValue(\"rentalLogic.escalationPercent\", \"\");\n // resetForm();\n } else {\n console.log(this.state.currentIndex);\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n // values.rentalLogic.rentalLogicText =\n // this.state.initialValues.rentalLogic.rentalLogicText;\n var _rentalDetails = this.state.rentalDetails;\n values.rentalLogic.period = this.state.period;\n values.rentalLogic.fromDate = this.state.fromDate;\n values.rentalLogic.toDate = this.state.toDate;\n values.rentalLogic.periodTermYY = this.state.periodTermYY;\n values.rentalLogic.periodTermMM = this.state.periodTermMM;\n values.rentalLogic.periodTermDD = this.state.periodTermDD;\n values.rentalLogic.slabs = this.state.initialValues.rentalLogic.slabs;\n // if (\n // _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] ==\n // undefined\n // ) {\n // _rentalDetails[this.state.initialValues.rentalLogic.rentalLogicText] =\n // [];\n // }\n console.log(\n _rentalDetails[values.rentalLogic.rentalLogicText][\n this.state.currentIndex\n ]\n );\n _rentalDetails[values.rentalLogic.rentalLogicText][\n this.state.currentIndex\n ] = { ...values.rentalLogic };\n\n this.setState({\n rentalDetails: _rentalDetails,\n });\n console.log(this.state.rentalDetails, this.state.currentIndex, \"pop\");\n this.state.period++;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n // values.rentalLogic.unit = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetRentalDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.rentalLogic.rentalLogicValue = \"\";\n _initialValues.rentalLogic.slabs = [];\n this.state.initialValues.totalSlabs = \"\";\n this.setState({\n // rentalDetails: _rentalDetails,\n rentMinusCam: false,\n rentFitoutMinusCam: false,\n pureRevenueShareMinusCam: false,\n pureRevenueSalesShareMinusCam: false,\n pureRevenueProduct: false,\n pureRevenueSalesProduct: false,\n minimumGuaranteeRentPlusCam: false,\n minimumGuaranteeRentPlusFitout: false,\n minimumGuaranteeRentRevenueShareSalesRange: false,\n minimumGuaranteeRentRevenueShareProduct: false,\n minimumGuaranteeRentRevenueShareSalesRangeProduct: false,\n minimumGuaranteeRentRevenueShareMinimum: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.rentalDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.rentalLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.rentalLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.rentalLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n product: \"\",\n });\n }\n } else if (\n this.state.initialValues.rentalLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.rentalLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.rentalLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.rentalLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n handleRentalLogicChange = (event, values) => {\n let index = event.nativeEvent.target.selectedIndex;\n let label = event.nativeEvent.target[index].label;\n this.state.initialValues.rentalLogic.rentalLogicText = label;\n this.state.initialValues.rentalLogic.rentalLogicValue = event.target.value;\n console.log(this.state.rentalDetails[label]);\n if (\n this.state.rentalDetails[label] !== undefined &&\n this.state.rentalDetails[label].length > 0 &&\n this.state.rentalDetails[label][\n this.state.rentalDetails[label].length - 1\n ].toDate == values.to\n ) {\n this.state.initialValues.rentalLogic.rentalLogicText = \"\";\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n var _rentalDetails = this.state.rentalDetails;\n if (\n _rentalDetails[label] == undefined ||\n _rentalDetails[label].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _rentalDetails[label][_rentalDetails[label].length - 1].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period = this.state.rentalDetails[label].length + 1;\n }\n\n this.setState({});\n values.rentalLogic.rentalUom = \"\";\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n\n let checkValue = label.includes(\"Minus CAM\");\n\n if (checkValue) {\n this.setState({\n showMinusCam: true,\n });\n } else {\n this.setState({\n showMinusCam: false,\n });\n }\n if (\n event.target.value === \"1\" ||\n event.target.value === \"2\" ||\n event.target.value === \"3\" ||\n event.target.value === \"4\"\n ) {\n this.setState({\n rentMinusCam: true,\n });\n } else {\n this.setState({\n rentMinusCam: false,\n });\n }\n };\n\n componentDidMount() {\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-rent-details?id=${this.props.match.params.id}`).then((response)=>{\n let data = response.data;\n athis.state.totalGla = data.total_gla;\n athis.state.isRentAutocalculate = data.isRentAutocalculate;\n athis.state.isUnitBifurcate = data.isUnitBifurcate;\n if (data.isRentAutocalculate) {\n athis.setState({ isRentCheckboxChecked: true });\n } else {\n athis.setState({ isRentCheckboxChecked: false });\n }\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n if (data.rentalDetails.length > 0) {\n if (\n data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n\n athis.setState({\n fromDate: getToDate(\n data.rentalDetails[data.rentalDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n\n athis.setState({\n initialValues: data,\n rentalDetails: data.rentalDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n units: data.units,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-rent-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.totalGla = data.total_gla;\n // this.state.isRentAutocalculate = data.isRentAutocalculate;\n // this.state.isUnitBifurcate = data.isUnitBifurcate;\n // if (data.isRentAutocalculate) {\n // this.setState({ isRentCheckboxChecked: true });\n // } else {\n // this.setState({ isRentCheckboxChecked: false });\n // }\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // if (data.rentalDetails.length > 0) {\n // console.log(\"11\");\n // if (\n // data.rentalDetails[data.rentalDetails.length - 1].toDate == data.to\n // ) {\n // console.log(\"12\");\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.rentalDetails[data.rentalDetails.length - 1].toDate\n // // );\n\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // console.log(dd, mm, y);\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentalDetails[data.rentalDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // rentalDetails: data.rentalDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.rentalDetails.length > 0 ? data.rentalDetails.length + 1 : 1,\n // units: data.units,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n fetch(`${apiUrl.apiUrl.url}/product-master/get-all-products`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n products: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n calculateToDate(values) {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n Number(this.state.periodTermMM),\n this.state.periodTermYY\n ),\n });\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"rentalLogic.rentRate\",\n (\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"rentalLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n )) /\n Number(\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ][\n this.state.rentalDetails[\n this.state.initialValues.rentalLogic.rentalLogicText\n ].length - 1\n ].rentRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rentals = this.state.rentalDetails;\n _rentals[this.state.deleteKey].splice(this.state.index_val, 1);\n\n this.setState({\n rentalDetails: _rentals,\n showForm: true,\n });\n if (this.state.period > 1) {\n this.state.period--;\n }\n\n if (this.state.rentalDetails[this.state.deleteKey].length > 0) {\n console.log(\"11\");\n this.setState({\n fromDate: getToDate(\n this.state.rentalDetails[this.state.deleteKey][\n this.state.rentalDetails[this.state.deleteKey].length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n\n return (\n \n );\n }\n return (\n \n
\n
\n
\n \n
\n
\n\n {\n values.rentalDetails = { ...this.state.rentalDetails };\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-rent-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n \n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n )}\n\n {this.state.showForm && (\n <>\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n
\n
\n
\n \n )}\n\n {this.state.rentMinusCam && (\n <>\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\"From\", this.state.fromDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\"To\", this.state.toDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\"Escalation %\", values.rentalLogic.escalationPercent, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\"rent Rate\", values.rentalLogic.rentRate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\"rent Due Date\", values.rentalLogic.rentDueDate, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\"Other Rental Type\", values.rentalLogic.otherRentalType, \"required\", {\n className: \"text-danger\",\n })}\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.rentFitoutMinusCam && (\n <>\n\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.pureRevenueShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueSalesShareMinusCam && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((friend, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABFROMTORevenue Share (%)Action
{index + 1}\n {\n console.log(e.target.value);\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.pureRevenueProduct && (\n <>\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((friend, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTRevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n ...this.state.initialValues,\n rentalLogic: {\n ...this.state.initialValues.rentalLogic,\n slabs: _slabs,\n },\n });\n e.preventDefault();\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.pureRevenueSalesProduct && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n
\n

Revenue Share (%)

\n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n slab.from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n slab.to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n slab.percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.rentalLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusCam && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentPlusFitout && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n />\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.fitoutUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n this.calculateRentRate(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n this.calculateEscalationPercent(e, values, setFieldValue)}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n\n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToRevenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const updatedSlabs = [...this.state.initialValues.rentalLogic.slabs];\n updatedSlabs.splice(index, 1);\n this.setState({ slabs: updatedSlabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n />\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTRevenue Share (%)Action
{index + 1}\n {\n this.changeProduct(e, values, index);\n }}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index]\n .percent = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues.rentalLogic.slabs[index]\n .percent\n }\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.rentalLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n handleChange(e)}\n />\n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n \n ))}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n this.changeProduct(e, values, index)}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n slab.from = e.target.value;\n handleChange(e);\n }}\n value={slab.from}\n />\n \n {\n slab.to = e.target.value;\n handleChange(e);\n }}\n value={slab.to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n slab.percent = e.target.value;\n handleChange(e);\n }}\n value={slab.percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = this.state.initialValues.rentalLogic.slabs;\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n \n )}\n\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.rentalLogic.rentalUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n {this.state.period > 1 && !this.state.isRentAutocalculate && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.rentalLogic.slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTORevenue Share (%)Action
{index + 1}\n this.changeProduct(e, values, index)}\n options={this.state.products.map((item) => ({\n label: item.product_name,\n value: item.id,\n }))}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.rentalLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[index].percent = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.rentalLogic.slabs[index].percent}\n />\n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const _slabs = this.state.initialValues.rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({ slabs: _slabs });\n }}\n >\n \n \n
\n
\n
\n\n {this.state.showMinusCam && (\n\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n\n
\n \n \n
\n
\n {this.mainFormValidator.message(\n \"Rental Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n className='add_button'\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n\n \n {Object.keys(this.state.rentalDetails).map(\n function (key, index) {\n return this.state.rentalDetails[key].length > 0\n ? this.state.rentalDetails[key].map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)\n : [];\n },\n this\n )}\n \n
S.NoPeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : name.rentRate}\n \n {\n this.editRental(\n index,\n values,\n key\n );\n }}\n >\n \n \n {this.state.rentalDetails[key]\n .length ==\n index + 1 && (\n {\n this.handleReset()\n this.setState({\n deleteKey: key,\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n {this.state.biFurcateRentVal === 1 && (\n
\n
\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n {this.state.units.map((obj) => (\n \n ))}\n \n
\n
\n
\n
\n )}\n
\n
\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(values);\n }}\n />\n
\n \n
\n
\n
\n )}\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n \n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.handleRentalLogicChange(e, values);\n }}\n >\n \n
\n
\n
\n
\n
\n )}\n\n {this.state.rentMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Other Rental Type\",\n values.rentalLogic.otherRentalType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n {this.state.rentFitoutMinusCam && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"fitout Uom\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesShareMinusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n\n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.pureRevenueSalesProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusCam && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentPlusFitout && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n\n {this.validator.message(\n \"Fitout Rate UOM\",\n values.rentalLogic.fitoutUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.fitoutUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Fitout On Area\",\n values.rentalLogic.fitoutOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABPRODUCT\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .minimumGuaranteeRentRevenueShareSalesRangeProduct && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Revenue Share Applicability\",\n values.rentalLogic\n .revenueShareApplicability,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.rentalLogic\n .slabs.length > 0 &&\n this.state.initialValues.rentalLogic.slabs.map(\n (friend, index) => (\n \n \n \n {\n this.changeProduct(\n e,\n values,\n index\n );\n }}\n options={this.state.products.map(\n (item) => ({\n label:\n item.product_name,\n value: item.id,\n })\n )}\n />\n \n \n \n \n {/* \n \n \n \n )\n )}\n \n
SLABPRODUCTFROMTO\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.rentalLogic.slabs[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .rentalLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n {\n console.log(\n e.target.value\n );\n this.state.initialValues.rentalLogic.slabs[\n index\n ].percent =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .rentalLogic.slabs[\n index\n ].percent\n }\n />\n \n \n \n \n \n \n \n \n \n {\n this.state.initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .rentalLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.minimumGuaranteeRentRevenueShareMinimum && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent UOM\",\n values.rentalLogic.rentalUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rentalLogic.rentalUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rentalLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rentalLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"rent Rate\",\n values.rentalLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.rentDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"rent Due Date\",\n values.rentalLogic.rentDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share %\",\n values.rentalLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"rentalLogic.revenueShareDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Revenue Share Due Date\",\n values.rentalLogic.revenueShareDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMinusCam && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Minus CAM %\",\n values.rentalLogic.minusCamPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.showAddBtn && (\n
\n
\n
\n
\n {this.state.isRentAutocalculate === false && (\n {\n this.addRentalDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate === true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n this.resetRentalDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n
\n
\n )}\n
\n
\n Notes/Remarks\n \n
\n
\n
\n {this.mainFormValidator.message(\n \"Rental Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n \n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate === false && (\n \n )}\n \n \n\n \n {Object.keys(this.state.rentalDetails).map(\n function (key, index) {\n return this.state.rentalDetails[key].length > 0\n ? this.state.rentalDetails[key].map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n {this.state.isRentAutocalculate ===\n false && (\n \n )}\n \n );\n },\n this)\n : [];\n },\n this\n )}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToRental LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentalLogicText}\n {name.rentalUom == \"Flat Amount\"\n ? Number(name.rentRate).toFixed(2)\n : name.rentRate}\n \n {\n this.editRental(\n index,\n values,\n key\n );\n }}\n >\n \n \n {this.state.rentalDetails[key]\n .length ==\n index + 1 && (\n {\n this.handleReset()\n this.setState({\n deleteKey: key,\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n Save Draft\n \n \n
\n
\n
\n
\n */}\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Rental Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.rentalPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n\n rentalPopup(rental) {\n return this.rentMinusCamPopup(rental);\n }\n\n rentMinusCamPopup(rental) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n } else {\n return (\n
\n
\n
\n

{rental.rentalLogicText}

\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rental.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {rental.rentalLogicText.includes(\"Minus CAM\") && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n );\n }\n }\n}\nexport default withRouter(OtherRentalDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CamDetails extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n periodDurationDD: \"\",\n periodDurationYY: \"\",\n periodDurationMM: \"\",\n disableOnEdit: false,\n currentIndex: null,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n to: \"\",\n showCamActalization: false,\n showCamCapped: false,\n showAddBtn: false,\n isOpen: false,\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n camDetails: [],\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n initialValues: {\n camLogic: {\n fromDate: \"\",\n toDate: \"\",\n camUom: \"\",\n camDueDate: \"\",\n camRate: \"\",\n camRateTerm: \"\",\n onArea: \"\",\n camFrequency: \"\",\n camLogicValue: \"\",\n camLogicText: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n slabs: [],\n camActualizationPeriod: \"\",\n unit: \"\",\n },\n totalSlabs: \"\",\n },\n toggleCamForm: false,\n biFurcateRentVal: 0,\n units: [],\n isUnitBifurcate: false,\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showCamForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleCamForm: true,\n });\n } else {\n this.setState({\n toggleCamForm: false,\n });\n }\n };\n\n biFurcateRent(e, values) {\n if (this.state.camDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n camDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n fromDate: values.from,\n });\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n } else {\n return false;\n }\n } else {\n if (e.target.checked) {\n this.setState({ biFurcateRentVal: 1 });\n } else {\n this.setState({ biFurcateRentVal: 0 });\n }\n }\n if (this.state.isUnitBifurcate === false) {\n this.setState({ isUnitBifurcate: true });\n } else {\n this.setState({ isUnitBifurcate: false });\n }\n }\n\n autocalculateRent = (e, values) => {\n if (this.state.camDetails.length > 0) {\n var answer = window.confirm(\n \"This will remove all the current rental details, are you sure want to do this?\"\n );\n if (answer) {\n this.setState({\n camDetails: [],\n period: 1,\n showForm: true,\n showAddBtn: true,\n });\n if (e.target.checked) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n });\n }\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n });\n return false;\n }\n }\n if (this.state.isRentCheckboxChecked === false) {\n this.setState({ isRentCheckboxChecked: true, isRentAutocalculate: true });\n } else {\n this.setState({\n isRentCheckboxChecked: false,\n isRentAutocalculate: false,\n fromDate: values.from,\n });\n }\n };\n\n handleUnitOnChange(e, values) {\n this.state.initialValues.camLogic.unit = e.target.value;\n this.setState({});\n if (this.state.camDetails.length > 0) {\n var bifurcatedArr = this.state.camDetails.filter(\n (unit) => unit.unit === e.target.value\n );\n if (bifurcatedArr.length > 0) {\n if (bifurcatedArr[bifurcatedArr.length - 1][\"toDate\"] === values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Values For this unit has completed the period\",\n });\n return false;\n }\n this.state.period = bifurcatedArr[bifurcatedArr.length - 1].period + 1;\n this.setState({\n fromDate: getToDate(\n bifurcatedArr[bifurcatedArr.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n toDate: \"\",\n });\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n } else {\n this.state.period = 1;\n this.state.fromDate = values.from;\n this.setState({});\n }\n }\n\n calculateRent = (values) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n let currentValues = values;\n let nextPeriodDateStart = currentValues.from;\n let _camDetails = this.state.camDetails;\n let currentPeriod = 0;\n var periodToDate;\n var endDate = currentValues.to;\n var escPercent = Number(currentValues.camLogic.escalationPercent);\n while (periodToDate !== endDate) {\n currentPeriod++;\n var periodStartDate = nextPeriodDateStart;\n periodToDate = getToDate(\n periodStartDate,\n this.state.periodDurationDD,\n this.state.periodDurationMM,\n this.state.periodDurationYY\n );\n if (\n new Date(periodToDate).getTime() > new Date(currentValues.to).getTime()\n ) {\n periodToDate = currentValues.to;\n }\n if (currentPeriod > 1) {\n currentValues.camLogic.camRate = (\n Number(currentValues.camLogic.camRate) *\n (Number(currentValues.camLogic.escalationPercent) / 100) +\n Number(currentValues.camLogic.camRate)\n ).toFixed(2);\n }\n\n var camLogic = { ...currentValues.camLogic };\n var _currentValues = {\n fromDate: periodStartDate,\n toDate: periodToDate,\n camLogicText: this.state.initialValues.camLogic.camLogicText,\n camLogicValue: this.state.initialValues.camLogic.camLogicValue,\n periodDurationDD: this.state.periodDurationDD,\n periodDurationMM: this.state.periodDurationMM,\n periodDurationYY: this.state.periodDurationYY,\n periodTermDD: this.state.periodDurationDD,\n periodTermMM: this.state.periodDurationMM,\n periodTermYY: this.state.periodDurationYY,\n period: currentPeriod,\n slabs: [],\n escalationPercent: camLogic.escalationPercent,\n camUom: camLogic.camUom,\n onArea: camLogic.onArea,\n camRateTerm: camLogic.camRateTerm,\n rentRate: camLogic.rentRate,\n camRate: camLogic.camRate,\n camFrequency: camLogic.camFrequency,\n camDueDate: camLogic.camDueDate,\n camDueType: camLogic.camDueType,\n camDueFrequency: camLogic.camDueFrequency,\n camActualization: camLogic.camActualization,\n camActualizationBasis: camLogic.camActualizationBasis,\n camActualizationPeriod: camLogic.camActualizationPeriod,\n camCapped: camLogic.camCapped,\n camCappedUom: camLogic.camCappedUom,\n camCappedRate: camLogic.camCappedRate,\n camCappedRateTerm: camLogic.camCappedRateTerm,\n minusCamPercent: camLogic.minusCamPercent,\n unit: camLogic.unit,\n };\n console.log(_currentValues);\n _camDetails.push(_currentValues);\n nextPeriodDateStart = getToDate(periodToDate, 2, 0, 0);\n }\n this.setState({ camDetails: _camDetails });\n values.camLogic.escalationPercent = \"\";\n values.camLogic.rentRate = \"\";\n this.setState({\n periodDurationDD: \"\",\n periodDurationMM: \"\",\n periodDurationYY: \"\",\n });\n };\n\n changeCamActualization(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"Yes\") {\n this.setState({\n showCamActalization: true,\n });\n } else {\n this.setState({\n showCamActalization: false,\n });\n }\n }\n\n changeCamCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"Yes\") {\n this.setState({\n showCamCapped: true,\n });\n } else {\n this.setState({\n showCamCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editCam(index, values) {\n if (this.state.camDetails[index].unit !== undefined) {\n this.setState({ isUnitBifurcate: true, biFurcateRentVal: 1 });\n } else {\n this.setState({ isUnitBifurcate: false, biFurcateRentVal: 0 });\n }\n if (this.state.camDetails[index].camLogic !== undefined) {\n if (\n this.state.camDetails[index].camLogic.escalationPercent !== undefined\n ) {\n this.setState({\n isRentAutocalculate: true,\n isRentCheckboxChecked: true,\n });\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n } else {\n this.setState({\n isRentAutocalculate: false,\n isRentCheckboxChecked: false,\n });\n }\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n\n if (this.state.camDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.state.period = this.state.camDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.camDetails[index].slabNumber;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.camDetails[index].periodTermDD,\n periodTermMM: this.state.camDetails[index].periodTermMM,\n periodTermYY: this.state.camDetails[index].periodTermYY,\n });\n if (this.state.camDetails[index].camLogicValue === \"1\") {\n this.setState({\n camBasisRate: true,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"2\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: true,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"3\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: true,\n camBasisPercentofRent: false,\n });\n } else if (this.state.camDetails[index].camLogicValue === \"4\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: true,\n });\n } else {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n }\n values.camLogic = { ...this.state.camDetails[index] };\n this.state.fromDate = this.state.camDetails[index].fromDate;\n this.state.toDate = this.state.camDetails[index].toDate;\n if (this.state.camDetails[index].camActualization == \"Yes\") {\n this.setState({ showCamActalization: true });\n } else {\n this.setState({ showCamActalization: false });\n }\n if (this.state.camDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.setState({});\n }\n\n addCamDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.camLogic.camLogicText =\n this.state.initialValues.camLogic.camLogicText;\n var _camDetails = this.state.camDetails;\n values.camLogic.period = this.state.period;\n values.camLogic.fromDate = this.state.fromDate;\n values.camLogic.toDate = this.state.toDate;\n values.camLogic.periodTermYY = this.state.periodTermYY;\n values.camLogic.periodTermMM = this.state.periodTermMM;\n values.camLogic.periodTermDD = this.state.periodTermDD;\n values.camLogic.unit = this.state.initialValues.camLogic.unit;\n _camDetails.push(values.camLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n camDetails: _camDetails,\n // camBasisRate: false,\n // camBasisPureRevenueShare: false,\n // camBasisPureRevenueShareSalesRange: false,\n // camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n setFieldValue(\"camLogic.camRate\", \"\");\n setFieldValue(\"camLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n console.log(\"hiii sumeet\");\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.camLogic.camLogicText =\n this.state.initialValues.camLogic.camLogicText;\n var _camDetails = this.state.camDetails;\n values.camLogic.period = this.state.period;\n values.camLogic.fromDate = this.state.fromDate;\n values.camLogic.toDate = this.state.toDate;\n values.camLogic.periodTermYY = this.state.periodTermYY;\n values.camLogic.periodTermMM = this.state.periodTermMM;\n values.camLogic.periodTermDD = this.state.periodTermDD;\n // _camDetails.push(values.camLogic);\n _camDetails[this.state.currentIndex] = { ...values.camLogic };\n var _initialValues = this.state.initialValues;\n // _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n camDetails: _camDetails,\n // camBasisRate: false,\n // camBasisPureRevenueShare: false,\n // camBasisPureRevenueShareSalesRange: false,\n // camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n // resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n console.log(this.state.camDetails[\n this.state.escalationIndex\n ].camRate);\n console.log(this.state.camDetails[\n this.state.escalationIndex\n ])\n console.log(this.state.escalationIndex)\n }\n };\n\n resetCamDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n // camDetails: _camDetails,\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n };\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.camLogic.camLogicValue = \"\";\n _initialValues.camLogic.slabs = [];\n this.setState({\n // camDetails: _camDetails,\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n this.state.period++;\n // this.state.fromDate = this.state.toDate;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.camDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n hadleCamLogicChange = (event) => {\n console.log(this.state.camDetails);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index1 = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index1].label;\n this.state.initialValues.camLogic.camLogicText = text;\n this.state.initialValues.camLogic.camLogicValue = event.target.value;\n if (event.target.value === \"1\") {\n this.setState({\n camBasisRate: true,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"2\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: true,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"3\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: true,\n camBasisPercentofRent: false,\n });\n } else if (event.target.value === \"4\") {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: true,\n });\n } else {\n this.setState({\n camBasisRate: false,\n camBasisPureRevenueShare: false,\n camBasisPureRevenueShareSalesRange: false,\n camBasisPercentofRent: false,\n });\n }\n };\n\n addSlabRow = (e) => {\n console.log(e.target.value, \"vv\");\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.camLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.camLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.camLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (\n this.state.initialValues.camLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.camLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.camLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.camLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n componentDidMount() {\n\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.fromDate = data.from;\n athis.state.to = data.to;\n athis.state.applicableValue = data.camApplicable;\n if (data.camDetails.length > 0) {\n if (data.camDetails[data.camDetails.length - 1].toDate == data.to) {\n athis.setState({\n showForm: false,\n });\n }\n athis.setState({\n fromDate: getToDate(\n data.camDetails[data.camDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.camApplicable === \"yes\") {\n athis.setState({\n toggleCamForm: true,\n });\n } else {\n athis.setState({\n toggleCamForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n units: data.units,\n camDetails: data.camDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period: data.camDetails.length > 0 ? data.camDetails.length + 1 : 1,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.fromDate = data.from;\n // this.state.to = data.to;\n // this.state.applicableValue = data.camApplicable;\n // if (data.camDetails.length > 0) {\n // if (data.camDetails[data.camDetails.length - 1].toDate == data.to) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // // let _tempDate = new Date(\n // // data.camDetails[data.camDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.camDetails[data.camDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.camApplicable === \"yes\") {\n // this.setState({\n // toggleCamForm: true,\n // });\n // } else {\n // this.setState({\n // toggleCamForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // units: data.units,\n // camDetails: data.camDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period: data.camDetails.length > 0 ? data.camDetails.length + 1 : 1,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _cam = this.state.camDetails;\n _cam.splice(this.state.index_val, 1);\n console.log(_cam, \"new array\");\n this.setState({\n camDetails: _cam,\n showForm: true,\n });\n this.state.period--;\n if (this.state.camDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.camDetails[this.state.camDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"camLogic.camRate\",\n (\n Number(\n this.state.camDetails[this.state.camDetails.length - 1].camRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.camDetails[this.state.escalationIndex].camRate !== 0\n ) {\n setFieldValue(\n \"camLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(this.state.camDetails[this.state.escalationIndex].camRate)) /\n Number(\n this.state.camDetails[this.state.camDetails.length - 1].camRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Commercial Details
  • \n
  • \n
  • \n CAM Details\n
  • \n
\n
\n
\n\n {\n values.camApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n if (\n this.state.camDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n if (this.state.biFurcateRentVal === 0) {\n if (\n this.state.applicableValue == \"yes\" &&\n this.state.to !==\n this.state.camDetails[this.state.camDetails.length - 1]\n .toDate\n ) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Please Complete the period\",\n });\n return false;\n }\n }\n values.camDetails = this.state.camDetails;\n values.isRentAutocalculate = this.state.isRentAutocalculate;\n values.isUnitBifurcate = this.state.isUnitBifurcate;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-cam-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCamForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showForm && (\n
\n \n
\n \n
\n
\n )}\n\n {this.state.biFurcateRentVal === 1 && (\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n
\n
\n )}\n\n {this.state.toggleCamForm && (\n <>\n {this.state.isRentAutocalculate === false && this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n {this.state.isRentAutocalculate === true && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodDurationYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n \n )}\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleCamLogicChange(e);\n }}\n >\n
\n
\n
\n )}\n\n {this.state.camBasisRate && (\n <>\n {this.state.isRentAutocalculate === false && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.camDetails[this.state.escalationIndex] !== \"undefined\" &&\n this.state.camDetails[this.state.escalationIndex].camRate !== 0 &&\n this.state.isRentAutocalculate === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Cam Rate\",\n values.camLogic.camRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n />\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n \n )}\n\n {this.state.camBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.camLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n\n\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.camBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.camLogic.slabs.length > 0 &&\n this.state.initialValues.camLogic.slabs.map((slab, index) => (\n \n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.camLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.camLogic.slabs[index].from}\n />\n \n {\n this.state.initialValues.camLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.camLogic.slabs[index].to}\n onBlur={(e) => {\n if (index < this.state.initialValues.camLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n \n \n {\n e.preventDefault();\n this.state.initialValues.totalSlabs--;\n const slabs = [...this.state.initialValues.camLogic.slabs];\n slabs.splice(index, 1);\n this.setState({ slabs });\n }}\n >\n \n \n
\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueDate\"\n />\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"camLogic.camDueFrequency\"\n >\n
\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showCamActualization && (\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n {this.state.showCamActualization && (\n
\n \n
\n \n \n
\n
\n )}\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showCamCapped && (\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n )}\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {this.state.camBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"CAM as Rent %\",\n values.camLogic.camRentPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n \n
\n
\n\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamActalization && (\n <>\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic.camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showCamCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.camLogic.camCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n \n )}\n\n \n )}\n \n )}\n\n
\n \n \n
\n
\n {this.state.showAddBtn && (\n
\n {this.state.isRentAutocalculate ===\n false && (\n {\n this.addCamDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate ===\n true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n console.log(values, \"nn\");\n this.resetCamDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n\n
\n {this.mainFormValidator.message(\n \"Cam Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.camDetails.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoPeriodPeriod TermFromToCAM LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.camLogicText}{name.camRate || \"-\"}\n {\n this.editCam(index, values);\n }}\n >\n \n \n {this.state.camDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cam = this.state.camDetails;\n // _cam.splice(index, 1);\n // console.log(_cam, \"new array\");\n // this.setState({\n // camDetails: _cam,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.camDetails.length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.camDetails[\n // this.state.camDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n\n //this.handleReset()\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n {/*
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCamForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n )}\n {this.state.biFurcateRentVal === 1 && (\n
\n
\n
\n \n
\n {\n this.handleUnitOnChange(e, values);\n handleChange(e);\n }}\n >\n \n {this.state.units.map((obj) => (\n \n ))}\n \n
\n
\n
\n
\n )}\n
\n {this.state.toggleCamForm && (\n
\n {this.state.isRentAutocalculate === false &&\n this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n )}\n\n {this.state.isRentAutocalculate === true && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.state.periodDurationYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.periodDurationDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n
\n )}\n\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleCamLogicChange(e);\n }}\n >\n \n \n {this.state.isRentAutocalculate ===\n false && (\n <>\n \n \n \n \n )}\n \n
\n
\n
\n
\n
\n )}\n\n {this.state.camBasisRate && (\n
\n
\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n {values.camLogic.camUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.camLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.camDetails[\n this.state.escalationIndex\n ] !== \"undefined\" &&\n this.state.camDetails[\n this.state.escalationIndex\n ].camRate !== 0 &&\n this.state.isRentAutocalculate === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.camLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Cam Rate\",\n values.camLogic.camRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n\n {this.state.camBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.camLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n {this.state.camBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.camLogic\n .slabs.length > 0 &&\n this.state.initialValues.camLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.camLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .camLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.camLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .camLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .camLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .camLogic.slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Cam Rate Term\",\n values.camLogic.camRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n {this.state.camBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"camLogic.camDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"cam Due Date\",\n values.camLogic.camDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"CAM as Rent %\",\n values.camLogic.camRentPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamActualization(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamActalization && (\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Actualization Basis\",\n values.camLogic\n .camActualizationBasis,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCamCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showCamCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CAM Capped Uom\",\n values.camLogic.camCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.camLogic.camCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"CAM Capped On Area\",\n values.camLogic.camCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"CAM Capped Rate\",\n values.camLogic.camCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"CAM Capped Rate Term\",\n values.camLogic.camCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n
\n )}\n\n\n {this.state.showAddBtn && (\n
\n
\n
\n
\n {this.state.isRentAutocalculate ===\n false && (\n {\n this.addCamDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n )}\n {this.state.isRentAutocalculate ===\n true && (\n {\n this.calculateRent(values, resetForm);\n }}\n >\n Create\n \n )}\n {\n console.log(values, \"nn\");\n this.resetCamDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n
\n
\n )}\n
\n )}\n Notes/Remarks\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Cam Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.camDetails.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoPeriodPeriod TermFromToCAM LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.camLogicText}{name.camRate || \"-\"}\n {\n this.editCam(index, values);\n }}\n >\n \n \n {this.state.camDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cam = this.state.camDetails;\n // _cam.splice(index, 1);\n // console.log(_cam, \"new array\");\n // this.setState({\n // camDetails: _cam,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.camDetails.length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.camDetails[\n // this.state.camDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n\n //this.handleReset()\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Cam Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.camPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n camPopup(cam) {\n console.log(cam);\n if (cam.camLogicValue == 1) {\n return this.camBasisRatePopup(cam);\n } else if (cam.camLogicValue == 2) {\n return this.camBasisPureRevenueSharePopup(cam);\n } else if (cam.camLogicValue == 3) {\n return this.camBasisPureRevenueShareSalesRangePopup(cam);\n } else if (cam.camLogicValue == 4) {\n return this.camBasisPercentofRent(cam);\n }\n }\n\n camBasisRatePopup(cam) {\n if (this.state.isRentAutocalculate === false) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n } else {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n }\n\n camBasisPureRevenueSharePopup(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n camBasisPureRevenueShareSalesRangePopup(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {cam.slabs.length > 0 &&\n cam.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n camBasisPercentofRent(cam) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.unit !== undefined && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n CAM Actualization Basis (* Times Actual Cost){\" \"}\n *\n \n \n {cam.camActualizationBasis}\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {cam.camActualization == \"Yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(CamDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n electricityBasisUnitsGridRate,\n waterBasisUnitsBoard,\n gasBasisUnitsGasBank,\n hvacBasisFlatUnitRate,\n hvacBasisBtuUnitRate,\n extraHoursChargesBasisFlatRate,\n horticultureChargesFlatRate,\n} from \"../../constants\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { getToDate } from \"../../utils/utils\";\nclass Utilities extends React.Component {\n countError = \"\";\n state = {\n note_val: \"\",\n disableOnEdit: false,\n currentIndex: null,\n showFirstAddBtn: true,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupData: {},\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n from: \"\",\n to: \"\",\n isOpen: false,\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n redirect: false,\n utilities: [],\n utilityRateUomValues: [],\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n onArea: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n subCategoryTypes: \"\",\n },\n },\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n console.log(this.props, \"props\");\n }\n\n addRatesRow = () => {\n if (this.state.initialValues.utilityLogic.rates === undefined) {\n this.state.initialValues.utilityLogic.rates = [];\n }\n this.state.initialValues.utilityLogic.rates.push({\n from: \"\",\n to: \"\",\n rate: \"\",\n });\n if (this.state.initialValues.utilityLogic.rates.length > 0) {\n this.setState({ showFirstAddBtn: false });\n }\n this.setState({});\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.utilityLogic.rates[index + 1].from = getToDate(\n e.target.value,\n 2,\n 0,\n 0\n );\n this.setState({});\n }\n\n removeRatesRow(element) {\n this.state.initialValues.utilityLogic.rates.splice(element, 1);\n if (this.state.initialValues.utilityLogic.rates.length == 0) {\n this.setState({ showFirstAddBtn: true });\n }\n this.setState({});\n }\n\n editUtility(index, values) {\n console.log(this.state.utilities[index]);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n\n if (this.state.utilities[index].utility.rates === undefined) {\n this.state.showFirstAddBtn = true;\n } else {\n this.state.showFirstAddBtn = false;\n }\n\n this.state.period = this.state.utilities[index].period;\n this.state.initialValues.totalSlabs =\n this.state.utilities[index].slabNumber;\n // this.loadUtilityUomValues(this.state.utilities[index].utility.utilityUom);\n if (\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Grid Rate\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ DG\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Solar\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Other Sources\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Electricity Basis Units @ Blendid\"\n ) {\n this.setState({\n utilityRateUomValues: electricityBasisUnitsGridRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Water Basis Units @ Board\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Water Basis Units @ Other Sources\"\n ) {\n this.setState({\n utilityRateUomValues: waterBasisUnitsBoard,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Gas Basis Units @ Gas Bank\" ||\n this.state.utilities[index].utility.utilityType ===\n \"Gas Basis Units @ Piped Gas Bank\"\n ) {\n this.setState({\n utilityRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"HVAC Basis Flat Unit Rate\" ||\n this.state.utilities[index].utility.utilityType === \"Other\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"HVAC Basis BTU Unit Rate\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisBtuUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"CAM During Fitout Period\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Extra Hours Charges Basis Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: extraHoursChargesBasisFlatRate,\n });\n } else if (\n this.state.utilities[index].utility.utilityType ===\n \"Horticulture Charges Flat Rate\" ||\n this.state.utilities[index].utility.utilityType ===\n \"MEP Services Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: horticultureChargesFlatRate,\n });\n } else {\n this.setState({\n utilityRateUomValues: [],\n });\n }\n this.setState({});\n values.utilityLogic.utilityType =\n this.state.utilities[index].utility.utilityType;\n values.utilityLogic.utilityUom =\n this.state.utilities[index].utility.utilityUom;\n values.utilityLogic.onArea = this.state.utilities[index].utility.onArea;\n values.utilityLogic.invoicePeriod =\n this.state.utilities[index].utility.invoicePeriod;\n values.utilityLogic.applicableFrom =\n this.state.utilities[index].utility.applicableFrom;\n values.utilityLogic.dueDate = this.state.utilities[index].utility.dueDate;\n values.utilityLogic.dueType = this.state.utilities[index].utility.dueType;\n values.utilityLogic.dueFrequency =\n this.state.utilities[index].utility.dueFrequency;\n values.utilityLogic.applicableFromDate =\n this.state.utilities[index].utility.applicableFromDate;\n values.utilityLogic.rates = this.state.utilities[index].utility.rates;\n if (this.state.utilities[index].utility.utilityType == \"Other\") {\n console.log(\"pp\");\n values.utilityLogic.subCategoryTypes =\n this.state.utilities[index].utility.subCategoryTypes;\n }\n this.state.fromDate = this.state.utilities[index].fromDate;\n this.state.toDate = this.state.utilities[index].toDate;\n this.setState({});\n }\n\n addUtilityDetails = (values) => {\n if (this.state.currentIndex === null) {\n console.log(values);\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var _utilities = this.state.utilities;\n _utilities.push({\n utility: values.utilityLogic,\n utilityRateUomValues: this.state.utilityRateUomValues,\n });\n this.setState({\n utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n } else {\n console.log(\"Notnull\");\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var _utilities = this.state.utilities;\n\n console.log(values.utilityLogic);\n _utilities[this.state.currentIndex].utility = { ...values.utilityLogic };\n console.log(this.state.utilities);\n this.setState({\n utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.state.currentIndex = null;\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n }\n };\n\n resetUtilityDetails = (values) => {\n this.setState({\n // utilities: _utilities,\n showFirstAddBtn: true,\n initialValues: {\n utilityLogic: {\n utilityType: \"\",\n utilityUom: \"\",\n invoicePeriod: \"\",\n applicableFrom: \"\",\n applicableFromDate: \"\",\n dueDate: \"\",\n dueType: \"\",\n dueFrequency: \"\",\n rates: [],\n },\n },\n });\n var _initialValues = this.state.initialValues;\n _initialValues.utilityLogic = {};\n this.validator.hideMessages();\n this.state.currentIndex = null;\n this.setState({});\n if (this.state.utilities.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n };\n\n loadUtilityUomValues(e) {\n if (\n e.target.value === \"Electricity Basis Units @ Grid Rate\" ||\n e.target.value === \"Electricity Basis Units @ DG\" ||\n e.target.value === \"Electricity Basis Units @ Solar\" ||\n e.target.value === \"Electricity Basis Units @ Other Sources\" ||\n e.target.value === \"Electricity Basis Units @ Blendid\"\n ) {\n this.setState({\n utilityRateUomValues: electricityBasisUnitsGridRate,\n });\n } else if (\n e.target.value === \"Water Basis Units @ Board\" ||\n e.target.value === \"Water Basis Units @ Other Sources\"\n ) {\n this.setState({\n utilityRateUomValues: waterBasisUnitsBoard,\n });\n } else if (\n e.target.value === \"Gas Basis Units @ Gas Bank\" ||\n e.target.value === \"Gas Basis Units @ Piped Gas Bank\"\n ) {\n this.setState({\n utilityRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n e.target.value === \"HVAC Basis Flat Unit Rate\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (e.target.value === \"HVAC Basis BTU Unit Rate\") {\n this.setState({\n utilityRateUomValues: hvacBasisBtuUnitRate,\n });\n } else if (e.target.value === \"CAM During Fitout Period\") {\n this.setState({\n utilityRateUomValues: hvacBasisFlatUnitRate,\n });\n } else if (e.target.value === \"Extra Hours Charges Basis Flat Rate\") {\n this.setState({\n utilityRateUomValues: extraHoursChargesBasisFlatRate,\n });\n } else if (\n e.target.value === \"Horticulture Charges Flat Rate\" ||\n e.target.value === \"MEP Services Flat Rate\"\n ) {\n this.setState({\n utilityRateUomValues: horticultureChargesFlatRate,\n });\n } else {\n this.setState({\n utilityRateUomValues: [],\n });\n }\n }\n\n componentDidMount() {\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-utilities?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n\n athis.state.from = data.from;\n athis.state.to = data.to;\n\n athis.setState({\n utilities: data.utilities,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n });\n\n //athis.setState({ 'note_val' : data.notes_7 });\n var initialValues = athis.state.initialValues;\n initialValues[\"notes_7\"] = data.notes_7;\n\n athis.setState({ initialValues: initialValues });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-utilities?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.from = data.from;\n // this.state.to = data.to;\n\n // this.setState({\n // utilities: data.utilities,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // });\n\n // //this.setState({ 'note_val' : data.notes_7 });\n // var initialValues = this.state.initialValues;\n // initialValues[\"notes_7\"] = data.notes_7;\n\n // this.setState({ initialValues: initialValues });\n\n // console.log(initialValues, \"initialValues initialValues\");\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _mf = this.state.utilities;\n _mf.splice(this.state.index_val, 1);\n console.log(_mf, \"new array\");\n this.setState({\n utilities: _mf,\n });\n this.setState({\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Other Charges
  • \n
  • \n
  • \n Utilities\n
  • \n
\n
\n
\n\n {\n if (this.state.utilities.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.utilities = this.state.utilities;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-utilities?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n\n \n
\n
\n\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.renewalLeaseTermYY = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermMM = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermDD = e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n this.loadUtilityUomValues(e);\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n {this.state.utilityRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"Utility UOM\",\n values.utilityLogic.utilityUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.utilityLogic.utilityUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Utility Invoice Period\",\n values.utilityLogic.invoicePeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFrom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.utilityLogic.dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.utilityLogic.utilityType === \"Other\" && (\n
\n \n
\n \n \n
\n
\n )}\n\n {this.state.showFirstAddBtn == true && (\n
\n {/*
*/}\n
\n {\n this.addRatesRow();\n }}\n >\n Add Rates\n \n {/*
*/}\n
\n
\n )}\n\n {this.state.initialValues.utilityLogic.rates != undefined && (\n <>\n
\n
\n
\n {this.state.initialValues.utilityLogic.rates.map((name, index) => (\n <>\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].from}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].to = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].to}\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues.utilityLogic.rates.length - 1\n ) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[index].rate = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.utilityLogic.rates[index].rate}\n />\n {\n this.removeRatesRow(index);\n }}\n >\n \n \n {\n this.addRatesRow();\n }}\n >\n \n \n
\n
\n
\n \n ))}\n \n )}\n\n\n
\n Notes/Remarks\n \n
\n\n
\n\n
\n {\n console.log(values, \"nn\");\n this.addUtilityDetails(values);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetUtilityDetails(values);\n }}\n >\n Reset\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Utility details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.utilities.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoUtility TypeUtility UOMOn AreaUtility Invoice PeriodApplicable FromDue DateAction
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.utility.utilityType}\n \n {name.utility.utilityUom}\n {name.utility.onArea == \"\"\n ? \"-\"\n : name.utility.onArea}\n {name.utility.invoicePeriod}\n {name.utility.applicableFrom}(\n {leaseDateFormat(\n name.utility.applicableFromDate\n )}\n )\n \n {name.utility.dueDate}\n {\"-\"}\n {name.utility.dueType}\n {\"-\"}\n {name.utility.dueFrequency}\n \n
\n {\n this.editUtility(index, values);\n }}\n >\n \n \n {this.state.utilities.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n // \"Are you sure you want to delete this period?\"\n // )\n // ) {\n // var _mf = this.state.utilities;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // utilities: _mf,\n // });\n // }\n\n this.setState({\n delete: true,\n index_val: index,\n });\n\n this.resetUtilityDetails({})\n }}\n >\n \n \n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.renewalLeaseTermYY =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermMM =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n
\n {\n this.state.renewalLeaseTermDD =\n e.target.value;\n handleChange(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.loadUtilityUomValues(e);\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n {this.state.utilityRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"Utility UOM\",\n values.utilityLogic.utilityUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.utilityLogic.utilityUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.utilityLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Utility Invoice Period\",\n values.utilityLogic.invoicePeriod,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFrom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.utilityLogic.dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Applicable From\",\n values.utilityLogic.applicableFromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.utilityLogic.utilityType == \"Other\" && (\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n {this.state.showFirstAddBtn == true && (\n
\n
\n {\n this.addRatesRow();\n }}\n >\n Add Rates\n \n
\n
\n )}\n {this.state.initialValues.utilityLogic.rates !=\n undefined && (\n
\n
\n {this.state.initialValues.utilityLogic.rates.map(\n (name, index) => (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].from\n }\n />\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .utilityLogic.rates.length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].rate = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].rate\n }\n />\n {\n this.removeRatesRow(index);\n }}\n >\n \n \n {\n this.addRatesRow();\n }}\n >\n \n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].from = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].from\n }\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].to = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state.initialValues\n .utilityLogic.rates.length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.utilityLogic.rates[\n index\n ].rate = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .utilityLogic.rates[index].rate\n }\n />\n
\n
\n
\n
\n
\n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow(index);\n }}\n >\n \n \n
\n
\n )\n )}\n
\n )}\n
\n
\n
\n Notes/Remarks\n \n
\n
\n {\n console.log(values, \"nn\");\n this.addUtilityDetails(values);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetUtilityDetails(values);\n }}\n >\n Reset\n \n
\n\n
\n {this.mainFormValidator.message(\n \"Utility details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.utilities.map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this)}\n \n
S.NoUtility TypeUtility UOMOn AreaUtility Invoice PeriodApplicable FromDue DateAction
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.utility.utilityType}\n \n {name.utility.utilityUom}\n {name.utility.onArea == \"\"\n ? \"-\"\n : name.utility.onArea}\n {name.utility.invoicePeriod}\n {name.utility.applicableFrom}(\n {leaseDateFormat(\n name.utility.applicableFromDate\n )}\n )\n \n {name.utility.dueDate}\n {\"-\"}\n {name.utility.dueType}\n {\"-\"}\n {name.utility.dueFrequency}\n \n
\n {\n this.editUtility(index, values);\n }}\n >\n \n \n {this.state.utilities.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n // \"Are you sure you want to delete this period?\"\n // )\n // ) {\n // var _mf = this.state.utilities;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // utilities: _mf,\n // });\n // }\n\n this.setState({\n delete: true,\n index_val: index,\n });\n\n this.resetUtilityDetails({})\n }}\n >\n \n \n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Utility Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.utilityPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n );\n }\n utilityPopup(utility) {\n return this.utilityDetailsPopup(utility);\n }\n utilityDetailsPopup(utility) {\n console.log(utility.utility.rates);\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n {utility.utility.utilityType == \"Other\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {utility.utility.rates != undefined &&\n utility.utility.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n\n
\n );\n }, this)}\n
\n );\n }\n}\n\nexport default withRouter(Utilities);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass MarketingFund extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n voucherTotalAmt: \"\",\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n to: \"\",\n showMfCapped: false,\n showAddBtn: false,\n isOpen: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n showForm: false,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n marketingFundDetails: [],\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n initialValues: {\n mfLogic: {\n mfLogicText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n mfUom: \"\",\n mfDueDate: \"\",\n mfRate: \"\",\n mfRateTerm: \"\",\n onArea: \"\",\n mfFrequency: \"\",\n mfCapped: \"\",\n mfCappedOnArea: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n voucherType: \"\",\n voucherTotalAmount: \"\",\n voucherAmount: \"\",\n voucherCount: \"\",\n voucherRate: \"\",\n mfLogicText: \"\",\n slabs: [],\n },\n totalSlabs: \"\",\n },\n toggleMfForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n changeMfCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"yes\") {\n this.setState({\n showMfCapped: true,\n });\n } else {\n this.setState({\n showMfCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editMf(index, values) {\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n console.log(this.state.marketingFundDetails[index].voucherTotalAmount);\n this.state.period = this.state.marketingFundDetails[index].period;\n values.mfLogic.mfLogicText =\n this.state.marketingFundDetails[index].mfLogicText;\n this.state.initialValues.mfLogic.mfLogicText =\n this.state.marketingFundDetails[index].mfLogicText;\n this.state.initialValues.totalSlabs =\n this.state.marketingFundDetails[index].slabNumber;\n this.state.voucherTotalAmt =\n this.state.marketingFundDetails[index].voucherTotalAmount;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.marketingFundDetails[index].periodTermDD,\n periodTermMM: this.state.marketingFundDetails[index].periodTermMM,\n periodTermYY: this.state.marketingFundDetails[index].periodTermYY,\n });\n if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Rate\"\n ) {\n this.setState({\n marketingFundBasisRate: true,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Pure Revenue Share\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: true,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: true,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis % of Rent\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: true,\n marketingFundBasisVouchers: false,\n });\n } else if (\n this.state.marketingFundDetails[index].mfLogicText ===\n \"Marketing Fund Basis Vouchers\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: true,\n });\n } else {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n }\n values.mfLogic = { ...this.state.marketingFundDetails[index] };\n this.state.fromDate = this.state.marketingFundDetails[index].fromDate;\n this.state.toDate = this.state.marketingFundDetails[index].toDate;\n\n if (this.state.marketingFundDetails[index].mfCapped == \"Yes\") {\n this.setState({ showMfCapped: true });\n } else {\n this.setState({ showMfCapped: false });\n }\n this.setState({});\n }\n\n addMfDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n var _marketingFundDetails = this.state.marketingFundDetails;\n values.mfLogic.period = this.state.period;\n values.mfLogic.fromDate = this.state.fromDate;\n values.mfLogic.toDate = this.state.toDate;\n values.mfLogic.periodTermYY = this.state.periodTermYY;\n values.mfLogic.periodTermMM = this.state.periodTermMM;\n values.mfLogic.periodTermDD = this.state.periodTermDD;\n\n _marketingFundDetails.push(values.mfLogic);\n\n this.setState({\n marketingFundDetails: _marketingFundDetails,\n // marketingFundBasisRate: false,\n // marketingFundBasisPureRevenueShare: false,\n // marketingFundBasisPureRevenueShareSalesRange: false,\n // marketingFundBasisPercentofRent: false,\n // marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"mfLogic.mfRate\", \"\");\n setFieldValue(\"mfLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n // values.mfLogic.mfLogicText = this.state.initialValues.mfLogic.mfLogicText;\n var _marketingFundDetails = this.state.marketingFundDetails;\n values.mfLogic.period = this.state.period;\n values.mfLogic.fromDate = this.state.fromDate;\n values.mfLogic.toDate = this.state.toDate;\n values.mfLogic.periodTermYY = this.state.periodTermYY;\n values.mfLogic.periodTermMM = this.state.periodTermMM;\n values.mfLogic.periodTermDD = this.state.periodTermDD;\n\n _marketingFundDetails[this.state.currentIndex] = { ...values.mfLogic };\n\n this.setState({\n marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetMfDetails = (values, resetForm) => {\n this.setState({\n // marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n };\n\n\n handleReset = () => {\n this.setState({\n // marketingFundDetails: _marketingFundDetails,\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n var _initialValues = this.state.initialValues;\n // _initialValues.mfLogic.mfLogicText = \"\";\n // this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n _initialValues.mfLogic.slabs = [];\n _initialValues.totalSlabs = 0;\n\n this.setState({ initialValues: _initialValues });\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n\n if (this.state.marketingFundDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.state.initialValues.mfLogic.mfLogicText = \"\";\n this.setState({});\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.mfLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.mfLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.mfLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (this.state.initialValues.mfLogic.slabs.length > e.target.value) {\n var toRemove =\n this.state.initialValues.mfLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.mfLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.mfLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n hadleMfLogicChange = (event) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.mfLogic.mfLogicText = text;\n // this.state.initialValues.mfLogic.mfLogicValue = event.target.value;\n if (event.target.value === \"Marketing Fund Basis Rate\") {\n this.setState({\n marketingFundBasisRate: true,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n event.target.value === \"Marketing Fund Basis Pure Revenue Share\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: true,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (\n event.target.value ===\n \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: true,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n } else if (event.target.value === \"Marketing Fund Basis % of Rent\") {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: true,\n marketingFundBasisVouchers: false,\n });\n } else if (event.target.value === \"Marketing Fund Basis Vouchers\") {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: true,\n });\n } else {\n this.setState({\n marketingFundBasisRate: false,\n marketingFundBasisPureRevenueShare: false,\n marketingFundBasisPureRevenueShareSalesRange: false,\n marketingFundBasisPercentofRent: false,\n marketingFundBasisVouchers: false,\n });\n }\n };\n\n componentDidMount() {\n\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-marketing-fund-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.marketingFundApplicable;\n athis.setState({});\n if (data.marketingFundDetails.length > 0) {\n athis.setState({\n fromDate: getToDate(\n data.marketingFundDetails[data.marketingFundDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.marketingFundApplicable === \"yes\") {\n athis.setState({\n toggleMfForm: true,\n });\n } else {\n athis.setState({\n toggleMfForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n marketingFundDetails: data.marketingFundDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.marketingFundDetails.length > 0\n ? data.marketingFundDetails.length + 1\n : 1,\n });\n\n if (\n data.marketingFundDetails.length > 0 &&\n data.marketingFundDetails[data.marketingFundDetails.length - 1]\n .toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n } else {\n athis.setState({\n showForm: true,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-marketing-fund-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.marketingFundApplicable;\n // this.setState({});\n // if (data.marketingFundDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.marketingFundDetails[\n // // data.marketingFundDetails.length - 1\n // // ].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.marketingFundDetails[data.marketingFundDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.marketingFundApplicable === \"yes\") {\n // this.setState({\n // toggleMfForm: true,\n // });\n // } else {\n // this.setState({\n // toggleMfForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // marketingFundDetails: data.marketingFundDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.marketingFundDetails.length > 0\n // ? data.marketingFundDetails.length + 1\n // : 1,\n // });\n\n // if (\n // data.marketingFundDetails.length > 0 &&\n // data.marketingFundDetails[data.marketingFundDetails.length - 1]\n // .toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // } else {\n // this.setState({\n // showForm: true,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n showMfForm = (e) => {\n if (e.target.value === \"yes\") {\n this.setState(\n {\n toggleMfForm: true,\n },\n () => {\n console.log(this.state.toggleMfForm);\n }\n );\n } else {\n this.setState({\n toggleMfForm: false,\n });\n }\n };\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _mf = this.state.marketingFundDetails;\n _mf.splice(this.state.index_val, 1);\n console.log(_mf, \"new array\");\n this.setState({\n marketingFundDetails: _mf,\n showForm: true,\n });\n this.state.period--;\n if (this.state.marketingFundDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"mfLogic.mfRate\",\n (\n Number(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].mfRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== 0\n ) {\n setFieldValue(\n \"mfLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate\n )) /\n Number(\n this.state.marketingFundDetails[\n this.state.marketingFundDetails.length - 1\n ].mfRate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n calculateVoucherTotal(values, e, setFieldValue) {\n let amount;\n if (\n isNaN(values.mfLogic.voucherCount) !== \"\" &&\n isNaN(values.mfLogic.voucherAmount) !== \"\"\n ) {\n amount =\n Number(values.mfLogic.voucherCount) *\n Number(values.mfLogic.voucherAmount);\n this.setState({ voucherTotalAmt: amount });\n setFieldValue(\"mfLogic.voucherTotalAmount\", amount);\n } else {\n amount = \"\";\n this.setState({ voucherTotalAmt: amount });\n setFieldValue(\"mfLogic.voucherTotalAmount\", amount);\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.marketingFundApplicable = this.state.applicableValue;\n values.mfLogic.voucherTotalAmount = this.state.voucherTotalAmt;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n if (\n this.state.marketingFundDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n // if (\n // this.state.applicableValue == \"yes\" &&\n // this.state.to !==\n // this.state.marketingFundDetails[\n // this.state.marketingFundDetails.length - 1\n // ].toDate\n // ) {\n // // alert(\"Please Complete the period \");\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Please Complete the period\",\n // });\n // return false;\n // }\n values.marketingFundDetails = this.state.marketingFundDetails;\n\n console.log(values, \"sending\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-marketing-fund-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showMfForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleMfForm && (\n <>\n {this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleMfLogicChange(e);\n }}\n >\n \n \n \n \n \n \n \n
\n
\n
\n \n )}\n\n {this.state.marketingFundBasisRate && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== \"undefined\" &&\n this.state.marketingFundDetails[this.state.escalationIndex].mfRate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.mfLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"MF Rate\",\n values.mfLogic.mfRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n {this.state.marketingFundBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.mfLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMfCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state\n .marketingFundBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues.mfLogic.slabs.length > 0 &&\n this.state.initialValues.mfLogic.slabs.map(\n (slab, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMToMF Revenue Share (%)Action
{index + 1}\n {\n this.state.initialValues.mfLogic.slabs[index].from = e.target.value;\n handleChange(e);\n }}\n />\n \n {\n this.state.initialValues.mfLogic.slabs[index].to = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n if (index < this.state.initialValues.mfLogic.slabs.length - 1) {\n this.getFromForNextSlab(e, values, index);\n }\n }}\n />\n \n \n \n {\n this.state.initialValues.totalSlabs--;\n var _slabs = this.state.initialValues.mfLogic.slabs;\n _slabs.splice(index, 1);\n this.setState({ slabs: _slabs });\n }}\n >\n \n \n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n\n {this.state.showMfCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.marketingFundBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.mfLogic.mfUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.mfLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.mfLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n\n {this.state.marketingFundBasisVouchers && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n this.calculateVoucherTotal(values, e, setFieldValue)}\n />\n {this.validator.message(\n \"Voucher Amount\",\n values.mfLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n this.calculateVoucherTotal(values, e, setFieldValue)}\n />\n {this.validator.message(\n \"Count\",\n values.mfLogic.voucherCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n this.state.voucherTotalAmt,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n handleChange(e)}\n >\n
\n
\n\n
\n \n
\n
\n
\n handleChange(e)}\n />\n\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n \n )}\n
\n Notes/Remarks\n \n
\n\n
\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addMfDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetMfDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n {this.mainFormValidator.message(\n \"Marketing Fund Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.marketingFundDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToMarketing Fund LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.mfLogicText}\n {name.voucherAmount || name.mfRate || \"-\"}\n \n {\n this.editMf(index, values);\n }}\n >\n \n \n {this.state.marketingFundDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _mf =\n // this.state.marketingFundDetails;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // marketingFundDetails: _mf,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.marketingFundDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state\n // .marketingFundDetails[\n // this.state\n // .marketingFundDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.handleReset()\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showMfForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n {this.state.toggleMfForm && (\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n\n\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadleMfLogicChange(e);\n }}\n >\n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n )}\n\n\n\n {this.state.marketingFundBasisRate && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Mf UOM\",\n values.mfLogic.mfUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.mfLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.marketingFundDetails[\n this.state.escalationIndex\n ].mfRate !== \"undefined\" &&\n this.state.marketingFundDetails[\n this.state.escalationIndex\n ].mfRate !== 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.mfLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"MF Rate\",\n values.mfLogic.mfRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n\n\n\n {this.state.marketingFundBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.mfLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMfCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"MF Capped Uom\",\n values.mfLogic.mfCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"MF Capped on Area\",\n values.mfLogic.mfCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Capped Rate Term\",\n values.mfLogic.mfCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n {this.state\n .marketingFundBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n

Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n {this.state.initialValues.mfLogic\n .slabs.length > 0 &&\n this.state.initialValues.mfLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n MF Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.mfLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .mfLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.mfLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .mfLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .mfLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .mfLogic.slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeMfCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showMfCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"MF Capped Uom\",\n values.mfLogic.mfCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"MF Capped on Area\",\n values.mfLogic.mfCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"MF Capped Rate\",\n values.mfLogic.mfCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Capped Rate Term\",\n values.mfLogic.mfCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n\n\n\n {this.state.marketingFundBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Mf UOM\",\n values.mfLogic.mfUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.mfLogic.mfUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.mfLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.mfLogic.rentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.mfLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n {this.state.marketingFundBasisVouchers && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"MF Rate Term\",\n values.mfLogic.mfRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateVoucherTotal(\n values,\n e,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Voucher Amount\",\n values.mfLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateVoucherTotal(\n values,\n e,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Count\",\n values.mfLogic.voucherCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n this.state.voucherTotalAmt,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"mfLogic.mfDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.mfLogic.mfDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addMfDetails(\n values,\n resetForm,\n setFieldValue\n );\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetMfDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Marketing Fund Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.marketingFundDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod Term (YY-MM-DD)FromToMarketing Fund LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.mfLogicText}\n {name.voucherAmount || name.mfRate || \"-\"}\n \n {\n this.editMf(index, values);\n }}\n >\n \n \n {this.state.marketingFundDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _mf =\n // this.state.marketingFundDetails;\n // _mf.splice(index, 1);\n // console.log(_mf, \"new array\");\n // this.setState({\n // marketingFundDetails: _mf,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.marketingFundDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state\n // .marketingFundDetails[\n // this.state\n // .marketingFundDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.handleReset()\n\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Marketing Fund
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.mfPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n\n mfPopup(mf) {\n console.log(mf);\n if (mf.mfLogicText === \"Marketing Fund Basis Rate\") {\n return this.mfBasisRatePopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis Pure Revenue Share\") {\n return this.mfBasisRatePureRevenueSharePopup(mf);\n } else if (\n mf.mfLogicText === \"Marketing Fund Basis Pure Revenue Share Sales Range\"\n ) {\n return this.mfBasisRatePureRevenueShareSalesRangePopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis % of Rate\") {\n return this.mfBasisPercentOfRentPopup(mf);\n } else if (mf.mfLogicText === \"Marketing Fund Basis Vouchers\") {\n return this.mfBasisVouchersPopup(mf);\n }\n }\n\n mfBasisRatePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisRatePureRevenueSharePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisRatePureRevenueShareSalesRangePopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {mf.slabs.length > 0 &&\n mf.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisPercentOfRentPopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n mfBasisVouchersPopup(mf) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {mf.mfCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(MarketingFund);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { pTaxActual, pTaxRate } from \"../../constants\";\nclass PropertyMuncipalTax extends React.Component {\n countError = \"\";\n state = {\n escalationIndex: 0,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n showRatesOnarea: [],\n showFirstAddBtn: true,\n disableOnActual: false,\n applicableValue: \"\",\n propertyTaxBasisValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n revalue: \"\",\n to: \"\",\n from: \"\",\n showPtaxCapped: false,\n showAddBtn: false,\n isOpen: false,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n propertyTaxDetails: [],\n pTaxLogicValues: [],\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n initialValues: {\n pTaxLogic: {\n propertyTaxBasis: \"\",\n pTaxLogicValue: \"\",\n pTaxLogicText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n pTaxUom: \"\",\n pTaxDueDate: \"\",\n pTaxRate: \"\",\n pTaxRateTerm: \"\",\n onArea: \"\",\n pTaxFrequency: \"\",\n pTaxCapped: \"\",\n pTaxCappedOnArea: \"\",\n rentUom: \"\",\n rentRate: \"\",\n percentageofRent: \"\",\n voucherType: \"\",\n voucherAmount: \"\",\n slabs: [],\n rates: [],\n },\n totalSlabs: \"\",\n },\n showForm: true,\n togglepTaxForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n addRatesRow = () => {\n if (this.state.initialValues.pTaxLogic.rates === undefined) {\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.rates.push({\n from: \"\",\n to: \"\",\n pTaxUom: \"\",\n onArea: \"\",\n rate: \"\",\n });\n } else {\n this.state.initialValues.pTaxLogic.rates.push({\n from: \"\",\n to: \"\",\n pTaxUom: \"\",\n onArea: \"\",\n rate: \"\",\n });\n }\n if (this.state.initialValues.pTaxLogic.rates.length > 0) {\n this.setState({ showFirstAddBtn: false });\n }\n this.setState({});\n };\n\n getRatesFromForNextSlab(e, values, index) {\n this.state.initialValues.pTaxLogic.rates[index + 1].from = getToDate(\n e.target.value,\n 2,\n 0,\n 0\n );\n this.setState({});\n }\n\n showRatesOnarea(e, i) {\n let index = i;\n if (e.target.value == \"Per Sq Ft\") {\n var _showRatesOnArea = this.state.showRatesOnarea;\n _showRatesOnArea[i] = true;\n this.setState({ showRatesOnarea: _showRatesOnArea });\n } else {\n var _showRatesOnArea = this.state.showRatesOnarea;\n _showRatesOnArea[i] = false;\n this.setState({ showRatesOnarea: _showRatesOnArea });\n }\n }\n\n removeRatesRow(element) {\n this.state.initialValues.pTaxLogic.rates.splice(element, 1);\n if (this.state.initialValues.pTaxLogic.rates.length == 0) {\n this.setState({ showFirstAddBtn: true });\n }\n this.setState({});\n }\n\n getpTaxLogicValues(e) {\n if (e.target.value == \"Property Tax Basis Rate\") {\n this.setState({ pTaxLogicValues: pTaxRate, disableOnActual: false });\n } else if (e.target.value == \"Property Tax Basis Actuals\") {\n this.setState({ pTaxLogicValues: pTaxActual, disableOnActual: true });\n } else {\n this.setState({ pTaxLogicValues: [] });\n }\n }\n\n changePTaxCapped(e) {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value == \"yes\") {\n this.setState({\n showPtaxCapped: true,\n });\n } else {\n this.setState({\n showPtaxCapped: false,\n });\n }\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n editProperty(index, values) {\n this.state.currentIndex = index;\n if (\n this.state.propertyTaxDetails[index].rates !== undefined &&\n this.state.propertyTaxDetails[index].rates.length > 0\n ) {\n this.setState({ showFirstAddBtn: false });\n } else {\n this.setState({ showFirstAddBtn: true });\n }\n if (this.state.propertyTaxDetails[index].ptaxCapped == \"yes\") {\n this.setState({ showPtaxCapped: true });\n } else {\n this.setState({ showPtaxCapped: false });\n }\n // this.state.showFirstAddBtn = true;\n this.state.readOnEdit = true;\n this.state.disableOnEdit = false;\n this.state.period = this.state.propertyTaxDetails[index].period;\n this.state.initialValues.totalSlabs =\n this.state.propertyTaxDetails[index].slabNumber;\n this.state.propertyTaxBasisValue =\n this.state.propertyTaxDetails[index].propertyTaxBasis;\n if (this.state.propertyTaxBasisValue == \"Property Tax Basis Rate\") {\n this.setState({ pTaxLogicValues: pTaxRate, disableOnActual: false });\n } else if (\n this.state.propertyTaxBasisValue == \"Property Tax Basis Actuals\"\n ) {\n this.setState({ pTaxLogicValues: pTaxActual, disableOnActual: true });\n } else {\n this.setState({ pTaxLogicValues: [] });\n }\n // this.state.initialValues.pTaxLogic.pTaxLogicValue =\n // this.state.propertyTaxDetails[index].pTaxLogicValue;\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.propertyTaxDetails[index].periodTermDD,\n periodTermMM: this.state.propertyTaxDetails[index].periodTermMM,\n periodTermYY: this.state.propertyTaxDetails[index].periodTermYY,\n });\n if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"1\") {\n this.setState({\n propertyTaxBasisRate: true,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"2\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: true,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"3\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: true,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"4\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: true,\n propertyTaxBasisVouchers: false,\n });\n } else if (this.state.propertyTaxDetails[index].pTaxLogicValue === \"5\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: true,\n });\n } else {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n }\n values.pTaxLogic = { ...this.state.propertyTaxDetails[index] };\n this.state.fromDate = this.state.propertyTaxDetails[index].fromDate;\n this.state.toDate = this.state.propertyTaxDetails[index].toDate;\n if (this.state.propertyTaxDetails[index].camActualization == \"Yes\") {\n this.setState({ showCamActalization: true });\n } else {\n this.setState({ showCamActalization: false });\n }\n if (this.state.propertyTaxDetails[index].camCapped == \"Yes\") {\n this.setState({ showCamCapped: true });\n } else {\n this.setState({ showCamCapped: false });\n }\n this.setState({});\n }\n\n addpTaxDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.propertyTaxPayable = this.state.applicableValue;\n values.pTaxLogic.propertyTaxBasis = this.state.propertyTaxBasisValue;\n values.pTaxLogic.pTaxLogicText =\n this.state.initialValues.pTaxLogic.pTaxLogicText;\n var _propertyTaxDetails = this.state.propertyTaxDetails;\n values.pTaxLogic.period = this.state.period;\n values.pTaxLogic.fromDate = this.state.fromDate;\n values.pTaxLogic.toDate = this.state.toDate;\n values.pTaxLogic.periodTermYY = this.state.periodTermYY;\n values.pTaxLogic.periodTermMM = this.state.periodTermMM;\n values.pTaxLogic.periodTermDD = this.state.periodTermDD;\n _propertyTaxDetails.push(values.pTaxLogic);\n var _initialValues = this.state.initialValues;\n // _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n propertyTaxDetails: _propertyTaxDetails,\n // propertyTaxBasisRate: false,\n // propertyTaxBasisPureRevenueShare: false,\n // propertyTaxBasisPureRevenueShareSalesRange: false,\n // propertyTaxBasisPercentofRent: false,\n // propertyTaxBasisVouchers: false,\n });\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n // this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n setFieldValue(\"pTaxLogic.pTaxRate\", \"\");\n setFieldValue(\"pTaxLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 2 });\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n } else if (this.state.toDate == values.to) {\n this.state.showForm = false;\n this.state.showAddBtn = false;\n }\n values.propertyTaxPayable = this.state.applicableValue;\n values.pTaxLogic.propertyTaxBasis = this.state.propertyTaxBasisValue;\n values.pTaxLogic.pTaxLogicText =\n this.state.initialValues.pTaxLogic.pTaxLogicText;\n var _propertyTaxDetails = this.state.propertyTaxDetails;\n values.pTaxLogic.period = this.state.period;\n values.pTaxLogic.fromDate = this.state.fromDate;\n values.pTaxLogic.toDate = this.state.toDate;\n values.pTaxLogic.periodTermYY = this.state.periodTermYY;\n values.pTaxLogic.periodTermMM = this.state.periodTermMM;\n values.pTaxLogic.periodTermDD = this.state.periodTermDD;\n _propertyTaxDetails[this.state.currentIndex] = { ...values.pTaxLogic };\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n }\n };\n\n resetpTaxDetails = (values, resetForm) => {\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n // propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n resetForm();\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n\n handleReset = () => {\n var _initialValues = this.state.initialValues;\n _initialValues.pTaxLogic.pTaxLogicValue = \"\";\n _initialValues.totalSlabs = 0;\n this.setState({\n // propertyTaxDetails: _propertyTaxDetails,\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n console.log(this.state.initialValues);\n this.state.initialValues.pTaxLogic.slabs = [];\n this.state.initialValues.pTaxLogic.rates = [];\n this.state.initialValues.pTaxLogic.pTaxLogicValue = \"\";\n this.state.period++;\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.propertyTaxDetails.length > 0) {\n this.mainFormValidator.hideMessages();\n }\n this.state.currentIndex = null;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n addSlabRow = (e) => {\n this.state.initialValues.totalSlabs = e.target.value;\n if (this.state.initialValues.pTaxLogic.slabs.length < e.target.value) {\n var toAppend =\n e.target.value - this.state.initialValues.pTaxLogic.slabs.length;\n for (var i = 0; i < toAppend; i++) {\n this.state.initialValues.pTaxLogic.slabs.push({\n from: \"\",\n to: \"\",\n percent: \"\",\n });\n }\n } else if (\n this.state.initialValues.pTaxLogic.slabs.length > e.target.value\n ) {\n var toRemove =\n this.state.initialValues.pTaxLogic.slabs.length - e.target.value;\n for (var i = 0; i < toRemove; i++) {\n this.state.initialValues.pTaxLogic.slabs.pop({});\n }\n }\n };\n\n getFromForNextSlab(e, values, index) {\n this.state.initialValues.pTaxLogic.slabs[index + 1].from =\n Number(e.target.value) + Number(1);\n this.setState({});\n }\n\n showpTaxForm = (e) => {\n if (e.target.value === \"yes\") {\n this.setState({\n togglepTaxForm: true,\n });\n } else {\n this.setState({\n togglepTaxForm: false,\n });\n }\n };\n\n hadlepTaxLogicChange = (event) => {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.pTaxLogic.pTaxLogicText = text;\n this.state.initialValues.pTaxLogic.pTaxLogicValue = event.target.value;\n if (event.target.value === \"1\") {\n this.setState({\n propertyTaxBasisRate: true,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"2\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: true,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"3\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: true,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"4\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: true,\n propertyTaxBasisVouchers: false,\n });\n } else if (event.target.value === \"5\") {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: true,\n });\n } else {\n this.setState({\n propertyTaxBasisRate: false,\n propertyTaxBasisPureRevenueShare: false,\n propertyTaxBasisPureRevenueShareSalesRange: false,\n propertyTaxBasisPercentofRent: false,\n propertyTaxBasisVouchers: false,\n });\n }\n };\n\n componentDidMount() {\n let athis=this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-property-tax-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.propertyTaxPayable;\n if (data.propertyTaxDetails.length > 0) {\n // let _tempDate = new Date(\n // data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.propertyTaxDetails[data.propertyTaxDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n athis.setState({\n initialValues: data,\n propertyTaxDetails: data.propertyTaxDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.propertyTaxDetails.length > 0\n ? data.propertyTaxDetails.length + 1\n : 1,\n });\n if (data.propertyTaxPayable == \"yes\") {\n athis.setState({\n togglepTaxForm: true,\n });\n } else {\n athis.setState({\n togglepTaxForm: false,\n });\n }\n if (\n data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-property-tax-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.propertyTaxPayable;\n // if (data.propertyTaxDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.propertyTaxDetails[data.propertyTaxDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // this.setState({\n // initialValues: data,\n // propertyTaxDetails: data.propertyTaxDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.propertyTaxDetails.length > 0\n // ? data.propertyTaxDetails.length + 1\n // : 1,\n // });\n // if (data.propertyTaxPayable == \"yes\") {\n // this.setState({\n // togglepTaxForm: true,\n // });\n // } else {\n // this.setState({\n // togglepTaxForm: false,\n // });\n // }\n // if (\n // data.propertyTaxDetails[data.propertyTaxDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _pTax = this.state.propertyTaxDetails;\n _pTax.splice(this.state.index_val, 1);\n console.log(_pTax, \"new array\");\n this.setState({\n propertyTaxDetails: _pTax,\n showForm: true,\n });\n this.state.period--;\n if (this.state.propertyTaxDetails.length > 0) {\n this.setState({\n fromDate: getToDate(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].toDate,\n 2,\n 0,\n 0\n ),\n });\n } else {\n this.setState({\n fromDate: this.state.revalue,\n });\n }\n this.setState({\n delete: false,\n index_val: \"\",\n revalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n setFieldValue(\n \"pTaxLogic.pTaxRate\",\n (\n Number(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].pTaxRate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.propertyTaxDetails[this.state.escalationIndex].pTaxRate !== 0\n ) {\n setFieldValue(\n \"pTaxLogic.escalationPercent\",\n ((Number(e.target.value) -\n Number(\n this.state.propertyTaxDetails[this.state.escalationIndex].pTaxRate\n )) /\n Number(\n this.state.propertyTaxDetails[\n this.state.propertyTaxDetails.length - 1\n ].pTaxRate\n )) *\n 100\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n {\n this.state.applicableValue = this.state.applicableValue;\n values.propertyTaxPayable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n console.log(this.validator);\n this.applicableValidator.showMessages();\n return false;\n }\n console.log(values);\n if (\n this.state.propertyTaxDetails.length == 0 &&\n this.state.applicableValue !== \"no\"\n ) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n // if (\n // this.state.applicableValue == \"yes\" &&\n // this.state.to !==\n // this.state.propertyTaxDetails[\n // this.state.propertyTaxDetails.length - 1\n // ].toDate\n // ) {\n // this.setState({\n // popupalertMessage: true,\n // popupMessageContent: \"Please Complete the period\",\n // });\n // // alert(\"Please Complete the period \");\n // return false;\n // }\n values.propertyTaxDetails = this.state.propertyTaxDetails;\n console.log(values.propertyTaxDetails, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-property-tax-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n handleChange(e);\n this.showpTaxForm(e);\n }}\n >\n
\n
\n\n {this.state.togglepTaxForm && (\n
\n \n
\n {\n this.getpTaxLogicValues(e);\n this.state.propertyTaxBasisValue = e.target.value;\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.togglepTaxForm && (\n <>\n {this.state.showForm && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n \n )}\n\n {this.state.showForm && (\n
\n
\n \n
\n {\n handleChange(e);\n this.hadlepTaxLogicChange(e);\n }}\n >\n \n ))}\n \n
\n
\n
\n )}\n\n {this.state.propertyTaxBasisRate && (\n <>\n {this.state.disableOnActual == false && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.period > 1 &&\n typeof this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== \"undefined\" &&\n this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== 0 &&\n this.state.disableOnActual === false && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pTaxLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.disableOnActual == false && (\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"p Tax Rate\",\n values.pTaxLogic.pTaxRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n\n {this.state.disableOnActual && (\n <>\n {this.state.showFirstAddBtn == true && (\n
\n {\n this.addRatesRow();\n }}\n >\n {\" \"}\n Add Rates\n \n
\n )}\n
\n {this.state.initialValues.pTaxLogic\n .rates !== undefined &&\n this.state.initialValues.pTaxLogic.rates.map(\n (name, index) => (\n <>\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].from = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].from}\n />\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].to = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n console.log(\"hh\");\n if (index < this.state.initialValues.pTaxLogic.rates.length - 1) {\n this.getRatesFromForNextSlab(e, values, index);\n }\n }}\n />\n
\n
\n\n
\n \n
\n {\n this.showRatesOnarea(e, index);\n this.state.initialValues.pTaxLogic.rates[index].pTaxUom = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].pTaxUom}\n >\n
\n
\n\n {this.state.showRatesOnarea[index] !== undefined && this.state.showRatesOnarea[index] && (\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[index].onArea = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.pTaxLogic.rates[index].onArea}\n >\n
\n
\n )}\n\n
\n \n
\n \n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow();\n }}\n >\n \n \n
\n
\n
\n \n )\n )}\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisPureRevenueShare && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.pTaxLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state\n .propertyTaxBasisPureRevenueShareSalesRange && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues\n .pTaxLogic.slabs.length > 0 &&\n this.state.initialValues.pTaxLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n {/* \n */}\n \n \n )\n )}\n \n
SLABFROMTo\n P Tax Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .pTaxLogic\n .slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisPercentofRent && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.pTaxLogic.pTaxRentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Percentage of Rent\",\n values.pTaxLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueDate\"\n />\n\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueType\"\n >\n
\n
\n handleChange(e)}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n\n {this.state.propertyTaxBasisVouchers && (\n <>\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Voucher Amount\",\n values.pTaxLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n
\n \n
\n
\n
\n handleChange(e)}\n />\n
\n
\n handleChange(e)}\n >\n
\n
\n handleChange(e)}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.showPtaxCapped && (\n <>\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n {values.pTaxLogic.pTaxCappedUom === \"Per Sq Ft\" && (\n
\n \n
\n handleChange(e)}\n >\n
\n
\n )}\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n \n )}\n \n )}\n \n )}\n\n
\n Notes/Remarks\n \n
\n
\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addpTaxDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetpTaxDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n {this.mainFormValidator.message(\n \"Property and Municipal Tax Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.propertyTaxDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod TermFromToProperty Tax LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\" \"}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(name.fromDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.pTaxLogicText}\n {name.pTaxRentRate || name.pTaxRate || \"-\"}\n \n {\n this.editProperty(index, values);\n }}\n >\n \n \n {this.state.propertyTaxDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _pTax =\n // this.state.propertyTaxDetails;\n // _pTax.splice(index, 1);\n // console.log(_pTax, \"new array\");\n // this.setState({\n // propertyTaxDetails: _pTax,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.propertyTaxDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.propertyTaxDetails[\n // this.state\n // .propertyTaxDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n handleChange(e);\n this.showpTaxForm(e);\n }}\n >\n \n
\n
\n
\n
\n {this.state.togglepTaxForm && (\n
\n
\n
\n \n
\n {\n this.getpTaxLogicValues(e);\n this.state.propertyTaxBasisValue =\n e.target.value;\n handleChange(e);\n }}\n >\n \n \n \n \n\n {this.validator.message(\n \"Property Tax Bases\",\n this.state.propertyTaxBasisValue,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n\n\n\n {this.state.togglepTaxForm && (\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n )}\n {this.state.showForm && (\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n )}\n
\n {this.state.showForm && (\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n this.hadlepTaxLogicChange(e);\n }}\n >\n \n {this.state.pTaxLogicValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n
\n
\n
\n
\n
\n )}\n {this.state.propertyTaxBasisRate && (\n
\n
\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P TAX UOM\",\n values.pTaxLogic.pTaxUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.pTaxLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.period > 1 &&\n typeof this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== \"undefined\" &&\n this.state.propertyTaxDetails[\n this.state.escalationIndex\n ].pTaxRate !== 0 &&\n this.state.disableOnActual === false && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pTaxLogic\n .escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n {this.state.disableOnActual == false && (\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n // disabled={this.state.disableOnActual}\n />\n {this.validator.message(\n \"p Tax Rate\",\n values.pTaxLogic.pTaxRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n\n\n\n\n\n {this.state.disableOnActual && (\n
\n
\n
\n {this.state.showFirstAddBtn == true && (\n
\n {\n this.addRatesRow();\n }}\n >\n {\" \"}\n Add Rates\n \n
\n )}\n
\n {this.state.initialValues.pTaxLogic\n .rates !== undefined &&\n this.state.initialValues.pTaxLogic.rates.map(\n (name, index) => (\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.rates[\n index\n ].from\n }\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n console.log(\"hh\");\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.rates\n .length -\n 1\n ) {\n this.getRatesFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.showRatesOnarea(\n e,\n index\n );\n this.state.initialValues.pTaxLogic.rates[\n index\n ].pTaxUom =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.rates[\n index\n ].pTaxUom\n }\n >\n \n \n \n \n
\n
\n
\n
\n {this.state.showRatesOnarea[\n index\n ] !== undefined &&\n this.state.showRatesOnarea[\n index\n ] && (\n
\n
\n
\n \n
\n {\n this.state.initialValues.pTaxLogic.rates[\n index\n ].onArea =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic\n .rates[index]\n .onArea\n }\n >\n \n \n \n \n \n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n {\n this.addRatesRow();\n }}\n >\n \n \n {\n this.removeRatesRow();\n }}\n >\n \n \n
\n
\n )\n )}\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.propertyTaxBasisPureRevenueShare && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Revenue Share\",\n values.pTaxLogic.revenueShare,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state\n .propertyTaxBasisPureRevenueShareSalesRange && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n

P Tax Revenue Share (%)

\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.addSlabRow(e);\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialValues\n .pTaxLogic.slabs.length > 0 &&\n this.state.initialValues.pTaxLogic.slabs.map(\n (friend, index) => (\n \n \n \n \n \n \n \n )\n )}\n \n
SLABFROMTo\n P Tax Revenue Share (%)\n \n Action\n
{index + 1}\n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].from =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].from\n }\n />\n \n {\n this.state.initialValues.pTaxLogic.slabs[\n index\n ].to =\n e.target.value;\n handleChange(e);\n }}\n value={\n this.state\n .initialValues\n .pTaxLogic.slabs[\n index\n ].to\n }\n onBlur={(e) => {\n if (\n index <\n this.state\n .initialValues\n .pTaxLogic.slabs\n .length -\n 1\n ) {\n this.getFromForNextSlab(\n e,\n values,\n index\n );\n }\n }}\n />\n \n \n \n {\n this.state\n .initialValues\n .totalSlabs--;\n var _slabs =\n this.state\n .initialValues\n .pTaxLogic\n .slabs;\n _slabs.splice(\n index,\n 1\n );\n this.setState({\n slabs: _slabs,\n });\n }}\n >\n \n \n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n {this.state.propertyTaxBasisPercentofRent && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Rent Uom\",\n values.pTaxLogic.pTaxUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxUom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.pTaxLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Rent Rate\",\n values.pTaxLogic.pTaxRentRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"percentage of Rent\",\n values.pTaxLogic.percentageofRent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Frequency\",\n values.pTaxLogic.pTaxFrequency,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n\n\n {this.state.propertyTaxBasisVouchers && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"p Tax Rate Term\",\n values.pTaxLogic.pTaxRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"voucher Amount\",\n values.pTaxLogic.voucherAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pTaxLogic.pTaxDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pTaxLogic.pTaxDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changePTaxCapped(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n\n {this.state.showPtaxCapped && (\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"P Tax Capped Uom\",\n values.pTaxLogic.pTaxCappedUom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pTaxLogic.pTaxCappedUom ==\n \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped On Area\",\n values.pTaxLogic.pTaxCappedOnArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"P Tax Capped Rate\",\n values.pTaxLogic.ptaxCappedRate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"P Tax Capped Rate Term\",\n values.pTaxLogic.ptaxCappedRateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n )}\n\n\n\n\n {this.state.showAddBtn && (\n
\n {\n console.log(values, \"nn\");\n this.addpTaxDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetpTaxDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Property and Municipal Tax Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.propertyTaxDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#PeriodPeriod TermFromToProperty Tax LogicRate/ Flat Amount\n Action\n
{index + 1}\n {\" \"}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.pTaxLogicText}\n {name.pTaxRentRate || name.pTaxRate || \"-\"}\n \n {\n this.editProperty(index, values);\n }}\n >\n \n \n {this.state.propertyTaxDetails.length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _pTax =\n // this.state.propertyTaxDetails;\n // _pTax.splice(index, 1);\n // console.log(_pTax, \"new array\");\n // this.setState({\n // propertyTaxDetails: _pTax,\n // showForm: true,\n // });\n // this.state.period--;\n // if (\n // this.state.propertyTaxDetails\n // .length > 0\n // ) {\n // this.setState({\n // fromDate: getToDate(\n // this.state.propertyTaxDetails[\n // this.state\n // .propertyTaxDetails\n // .length - 1\n // ].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // } else {\n // this.setState({\n // fromDate: values.from,\n // });\n // }\n // }\n this.setState({\n delete: true,\n index_val: index,\n revalue: values.from,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Property & Muncipal Tax Fund
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.pTaxPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n pTaxPopup(pTax) {\n console.log(pTax);\n if (\n pTax.pTaxLogicValue == 1 &&\n pTax.pTaxLogicText == \"Property Tax Basis Rate\"\n ) {\n return this.pTaxBasisRatePopup(pTax);\n } else if (\n pTax.pTaxLogicValue == 1 &&\n pTax.pTaxLogicText == \"Property Tax Basis Actual\"\n ) {\n return this.pTaxBasisActualPopup(pTax);\n } else if (pTax.pTaxLogicValue == 2) {\n return this.pTaxBasisRatePureRevenueSharePopup(pTax);\n } else if (pTax.pTaxLogicValue == 3) {\n return this.pTaxBasisRatePureRevenueShareSalesRangePopup(pTax);\n } else if (pTax.pTaxLogicValue == 4) {\n return this.pTaxBasisPercentOfRentPopup(pTax);\n } else if (pTax.pTaxLogicValue == 5) {\n return this.pTaxBasisVouchersPopup(pTax);\n }\n }\n\n pTaxBasisRatePopup(pTax) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisActualPopup(pTax) {\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n {pTax.rates != undefined && (\n
\n {pTax.rates.map(function (name, index) {\n return (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n );\n }, this)}\n
\n )}\n
\n );\n }\n\n pTaxBasisRatePureRevenueSharePopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisRatePureRevenueShareSalesRangePopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {pTax.slabs.length > 0 &&\n pTax.slabs.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
SLABFROMToRevenue Share (%)
{index + 1}{name.from}{name.to}{name.percent}
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisPercentOfRentPopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n\n pTaxBasisVouchersPopup(pTax) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {pTax.ptaxCapped == \"yes\" && (\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(PropertyMuncipalTax);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass ParkingStorageSignage extends React.Component {\n countError = \"\";\n state = {\n escalationChargeType: \"\",\n escalationIndex: 0,\n showCharges: false,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n applicableValueStatic: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseTermYY: \"\",\n leaseTermMM: \"\",\n leaseTermDD: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n to: \"\",\n isOpen: false,\n showAddBtn: false,\n fromDate: \"\",\n toDate: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n period: 1,\n redirect: false,\n occupiers: { count: 2, occupiers: [{ countUnits: 1 }] },\n showParking: false,\n showStorage: false,\n showSignage: false,\n parkingStorageSignage: [],\n parkingCharges: {\n parking2W: \"\",\n parking4W: \"\",\n parkingOther: \"\",\n },\n initialValues: {\n pkgLogic: {\n chargeType: \"\",\n chargeTypeText: \"\",\n period: \"\",\n fromDate: \"\",\n toDate: \"\",\n count: \"\",\n type: \"\",\n dueDate: \"\",\n rate: \"\",\n rateTerm: \"\",\n onArea: \"\",\n frequency: \"\",\n area: \"\",\n strName: \"\",\n sngName: \"\",\n location: \"\",\n },\n },\n toggleParkingForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showParkingForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\" || e.target.value === \"hybrid\") {\n this.setState({\n toggleParkingForm: true,\n showCharges: false,\n });\n } else if (e.target.value === \"no\") {\n this.setState({\n toggleParkingForm: false,\n showCharges: true,\n });\n } else if (e.target.value === \"Select\") {\n this.setState({ showCharges: false });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n hadleOptionChange = (event, values, setFieldValue) => {\n\n console.log(\"form change\");\n\n this.setState({ escalationChargeType: event.target.value });\n if (\n this.state.parkingStorageSignage[event.target.value] !== undefined &&\n this.state.parkingStorageSignage[event.target.value].length > 0 &&\n this.state.parkingStorageSignage[event.target.value][\n this.state.parkingStorageSignage[event.target.value].length - 1\n ].toDate == values.to\n ) {\n this.state.initialValues.pkgLogic.chargeType = \"\";\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n\n\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n if (\n _parkingStorageSignage[event.target.value] == undefined ||\n _parkingStorageSignage[event.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _parkingStorageSignage[event.target.value][\n _parkingStorageSignage[event.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.parkingStorageSignage[event.target.value].length + 1;\n }\n\n this.setState({});\n\n if (event.target.value === \"\") {\n this.state.showAddBtn = false;\n } else {\n this.state.showAddBtn = true;\n }\n var index = event.nativeEvent.target.selectedIndex;\n var text = event.nativeEvent.target[index].label;\n this.state.initialValues.pkgLogic.chargeTypeText = text;\n this.state.initialValues.pkgLogic.chargeType = event.target.value;\n\n //-------chaning pkg count--------------------//\n let eventType = event.target.value.replace(/ /g, '_').toLowerCase();\n if (this.state.initialValues.additionalDetails.parkingDetails[eventType]) {\n this.state.initialValues.pkgLogic.count = this.state.initialValues.additionalDetails.parkingDetails[eventType];\n this.setState({});\n setFieldValue(\"pkgLogic.count\", this.state.initialValues.pkgLogic.count);\n }\n\n if (\n event.target.value === \"Parking 2W\" ||\n event.target.value === \"Parking 4W\" ||\n event.target.value === \"Parking Other\"\n ) {\n this.setState({\n showParking: true,\n showStorage: false,\n showSignage: false,\n });\n } else if (event.target.value === \"Storage\") {\n this.setState({\n showParking: false,\n showStorage: true,\n showSignage: false,\n });\n } else if (event.target.value === \"Signage\") {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: true,\n });\n } else {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n }\n };\n\n editPkg(index, values, key) {\n\n console.log(this.state.parkingStorageSignage[key][index]);\n this.state.applicableValue = this.state.applicableValueStatic;\n if (this.state.applicableValue != 'no') {\n this.state.toggleParkingForm = true;\n this.state.initialValues.pkgLogic.chargeType = this.state.parkingStorageSignage[key][index].chargeType;\n }\n\n\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.parkingStorageSignage[key][index].period;\n\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.parkingStorageSignage[key][index].periodTermDD,\n periodTermMM: this.state.parkingStorageSignage[key][index].periodTermMM,\n periodTermYY: this.state.parkingStorageSignage[key][index].periodTermYY,\n });\n if (\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking 2W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking 4W\" ||\n this.state.parkingStorageSignage[key][index].chargeType ===\n \"Parking Other\"\n ) {\n this.setState({\n showParking: true,\n showStorage: false,\n showSignage: false,\n });\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType === \"Storage\"\n ) {\n this.setState({\n showParking: false,\n showStorage: true,\n showSignage: false,\n });\n } else if (\n this.state.parkingStorageSignage[key][index].chargeType === \"Signage\"\n ) {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: true,\n });\n } else {\n this.setState({\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n }\n values.pkgLogic = this.state.parkingStorageSignage[key][index];\n this.state.fromDate = this.state.parkingStorageSignage[key][index].fromDate;\n this.state.toDate = this.state.parkingStorageSignage[key][index].toDate;\n\n this.setState({});\n }\n\n addDetails = (values, resetForm, setFieldValue) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n\n return false;\n }\n values.pkgLogic.chargeTypeText =\n this.state.initialValues.pkgLogic.chargeTypeText;\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n values.pkgLogic.period = this.state.period;\n values.pkgLogic.fromDate = this.state.fromDate;\n values.pkgLogic.toDate = this.state.toDate;\n values.pkgLogic.periodTermYY = this.state.periodTermYY;\n values.pkgLogic.periodTermMM = this.state.periodTermMM;\n values.pkgLogic.periodTermDD = this.state.periodTermDD;\n if (\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] ==\n undefined\n ) {\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] =\n [];\n }\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType].push(\n values.pkgLogic\n );\n this.setState({\n parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n showAddBtn: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n setFieldValue(\"pkgLogic.rate\", \"\");\n setFieldValue(\"pkgLogic.escalationPercent\", \"\");\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n this.mainFormValidator.hideMessages();\n // resetForm();\n // this.setState({\n // fromDate: getToDate(this.state.toDate, 2, 0, 0),\n // toDate: \"\",\n // });\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n }\n values.pkgLogic.chargeTypeText =\n this.state.initialValues.pkgLogic.chargeTypeText;\n var _parkingStorageSignage = this.state.parkingStorageSignage;\n values.pkgLogic.period = this.state.period;\n values.pkgLogic.fromDate = this.state.fromDate;\n values.pkgLogic.toDate = this.state.toDate;\n values.pkgLogic.periodTermYY = this.state.periodTermYY;\n values.pkgLogic.periodTermMM = this.state.periodTermMM;\n values.pkgLogic.periodTermDD = this.state.periodTermDD;\n if (\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] ==\n undefined\n ) {\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType] =\n [];\n }\n _parkingStorageSignage[this.state.initialValues.pkgLogic.chargeType][\n this.state.currentIndex\n ] = { ...values.pkgLogic };\n this.setState({\n parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n resetForm();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({ isEdit: false, escalationIndex: this.state.period - 1 });\n // this.setState({\n // fromDate: getToDate(this.state.toDate, 2, 0, 0),\n // toDate: \"\",\n // });\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.setState({\n // parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n resetForm();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n handleReset = () => {\n this.setState({\n // parkingStorageSignage: _parkingStorageSignage,\n showParking: false,\n showStorage: false,\n showSignage: false,\n });\n var _initialValues = this.state.initialValues;\n _initialValues.pkgLogic.chargeType = \"\";\n this.state.periodTermDD = \"\";\n this.state.periodTermMM = \"\";\n this.state.periodTermYY = \"\";\n this.mainFormValidator.hideMessages();\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n componentDidMount() {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-pss-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.to = data.to;\n athis.state.fromDate = data.from;\n athis.state.applicableValue = data.chargesApplicable;\n athis.state.applicableValueStatic = data.chargesApplicable;\n if (data.parkingStorageSignage.length > 0) {\n \n athis.setState({\n fromDate: getToDate(\n data.parkingStorageSignage[data.parkingStorageSignage.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.chargesApplicable === \"yes\") {\n athis.setState({\n toggleParkingForm: true,\n });\n } else {\n athis.setState({\n toggleParkingForm: false,\n showCharges: true,\n });\n }\n athis.setState({\n initialValues: data,\n parkingStorageSignage: data.parkingStorageSignage,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n period:\n data.parkingStorageSignage.length > 0\n ? data.parkingStorageSignage.length + 1\n : 1,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-pss-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.to = data.to;\n // this.state.fromDate = data.from;\n // this.state.applicableValue = data.chargesApplicable;\n // this.state.applicableValueStatic = data.chargesApplicable;\n // if (data.parkingStorageSignage.length > 0) {\n // // let _tempDate = new Date(\n // // data.parkingStorageSignage[\n // // data.parkingStorageSignage.length - 1\n // // ].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.parkingStorageSignage[data.parkingStorageSignage.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.chargesApplicable === \"yes\") {\n // this.setState({\n // toggleParkingForm: true,\n // });\n // } else {\n // this.setState({\n // toggleParkingForm: false,\n // showCharges: true,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // parkingStorageSignage: data.parkingStorageSignage,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // period:\n // data.parkingStorageSignage.length > 0\n // ? data.parkingStorageSignage.length + 1\n // : 1,\n // });\n // // if (\n // // (data.parkingStorageSignage[\n // // data.parkingStorageSignage.length - 1\n // // ].toDate = data.to)\n // // ) {\n // // this.setState({\n // // showForm: false,\n // // });\n // // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rdd = this.state.parkingStorageSignage;\n _rdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n parkingStorageSignage: _rdd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n calculateRentRate(e, values, setFieldValue) {\n if (this.state.period > 1) {\n console.log(\n values.parkingStorageSignage[values.pkgLogic.chargeType][\n values.parkingStorageSignage[values.pkgLogic.chargeType].length - 1\n ].rate\n );\n console.log(values);\n setFieldValue(\n \"pkgLogic.rate\",\n (\n Number(\n values.parkingStorageSignage[values.pkgLogic.chargeType][\n values.parkingStorageSignage[values.pkgLogic.chargeType].length -\n 1\n ].rate\n ) *\n (1 + Number(e.target.value) / 100)\n ).toFixed(2)\n );\n }\n }\n\n calculateEscalationPercent(e, values, setFieldValue) {\n if (\n this.state.period > 1 &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.escalationIndex\n ].rate !== 0\n ) {\n setFieldValue(\n \"pkgLogic.escalationPercent\",\n (\n ((Number(e.target.value) -\n Number(\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.escalationIndex\n ].rate\n )) /\n Number(\n this.state.parkingStorageSignage[this.state.escalationChargeType][\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ].length - 1\n ].rate\n )) *\n 100\n ).toFixed(2)\n );\n }\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.chargesApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n console.log(this.validator);\n this.applicableValidator.showMessages();\n return false;\n }\n\n let count = 0;\n for (var key in this.state.parkingStorageSignage) {\n if (this.state.parkingStorageSignage[key].length > 0) {\n count = 1;\n break;\n }\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n\n var parkingStorageSignage = {\n ...this.state.parkingStorageSignage,\n };\n values.parkingStorageSignage = parkingStorageSignage;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-pss-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showParkingForm(e);\n handleChange(e);\n }}\n >\n
\n
\n {this.state.toggleParkingForm && (\n <>\n
\n \n
\n {\n this.hadleOptionChange(e, values, setFieldValue);\n handleChange(e);\n }}\n >\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n {this.state.showParking && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Count\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n handleChange(e);\n }}\n >\n
\n
\n )}\n {values.pkgLogic.area === \"Actual Parking Area\" && (\n
\n \n
\n \n {this.validator.message(\n \"PKG Actual Area\",\n values.pkgLogic.actualArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"PKG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] != \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.pkgDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.applicableValue === 'hybrid' && (\n
\n \n
\n \n {this.validator.message(\n \"Free parking\",\n values.pkgLogic.freeParking,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n \n )}\n {this.state.showStorage && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"STR Name\",\n values.pkgLogic.strName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"STR Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex] !== \"undefined\" &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex].rate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueDate\"\n />\n\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueType\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueFrequency\"\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.strDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n \n )}\n {this.state.showSignage && (\n <>\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"SNG Name\",\n values.pkgLogic.sngName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"SNG Location\",\n values.pkgLogic.location,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n
\n
\n\n {values.pkgLogic.uom === \"Per Sq Ft\" && (\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateEscalationPercent(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"SNG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex] !== \"undefined\" &&\n this.state.parkingStorageSignage[this.state.escalationChargeType][this.state.escalationIndex].rate !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n
\n
\n {\n handleChange(e);\n }}\n />\n\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {\n handleChange(e);\n }}\n >\n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.sngDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {this.state.showAddBtn && (\n
\n
\n {\n this.addDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n \n )}\n {this.state.toggleParkingForm === false &&\n this.state.showCharges === true && (\n <>\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n \n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Parking storage and signage Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.parkingStorageSignage).map(\n function (key, index) {\n return this.state.parkingStorageSignage[\n key\n ].map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this);\n },\n this\n )}\n \n
S.NoPeriodPeriod TermFromToParking/Storage/
Signage Logic
Rate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(name.toDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.toDate)}\n {name.chargeTypeText}{name.rate || \"-\"}\n {\n this.editPkg(index, values, key);\n }}\n >\n \n \n {this.state.parkingStorageSignage[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .parkingStorageSignage;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // parkingStorageSignage: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showParkingForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleParkingForm && (\n
\n
\n
\n
\n
\n \n
\n {\n this.hadleOptionChange(e, values, setFieldValue);\n\n console.log(this.state.initialValues);\n handleChange(e);\n }}\n >\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n\n {this.state.showParking && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Count\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"PKG UOM\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"PKG Area\",\n values.pkgLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.pkgLogic.area ==\n \"Actual Parking Area\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"PKG Area\",\n values.pkgLogic.actualArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"PKG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.pkgDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.pkgDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n {this.state.applicableValue == 'hybrid' &&\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Free parking\",\n values.pkgLogic.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n }\n\n\n\n
\n
\n )}\n {this.state.showStorage && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"Storage Type (STR)\",\n values.pkgLogic.type,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"STR Name\",\n values.pkgLogic.strName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"STR Uom\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"On Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"STR Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"STR Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.strDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.strDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n {this.state.showSignage && (\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n {this.validator.message(\n \"Signage Type\",\n values.pkgLogic.type,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"SNG Name\",\n values.pkgLogic.sngName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"SNG Location\",\n values.pkgLogic.location,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"SNG Uom\",\n values.pkgLogic.uom,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.pkgLogic.uom == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"on Area\",\n values.pkgLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n this.calculateEscalationPercent(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"SNG Rate\",\n values.pkgLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.period > 1 &&\n typeof this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex] !=\n \"undefined\" &&\n this.state.parkingStorageSignage[\n this.state.escalationChargeType\n ][this.state.escalationIndex].rate != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.pkgLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n \n {this.validator.message(\n \"SNG Rate Term\",\n values.pkgLogic.rateTerm,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueDate\"\n >\n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueType\"\n >\n \n
\n
\n {\n handleChange(e);\n }}\n name=\"pkgLogic.sngDueFrequency\"\n >\n \n \n \n \n \n \n \n \n
\n
\n {this.validator.message(\n \"Due Date\",\n values.pkgLogic.sngDueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n )}\n\n {this.state.showAddBtn && (\n
\n {\n this.addDetails(values, resetForm, setFieldValue);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n )}\n
\n )}\n {this.state.toggleParkingForm === false &&\n this.state.showCharges === true && (\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n )}\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Parking storage and signage Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.parkingStorageSignage).map(\n function (key, index) {\n return this.state.parkingStorageSignage[\n key\n ].map(function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n }, this);\n },\n this\n )}\n \n
S.NoPeriodPeriod TermFromToParking/Storage/
Signage Logic
Rate/ Flat Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.chargeTypeText}{name.rate || \"-\"}\n {\n this.editPkg(index, values, key);\n }}\n >\n \n \n {this.state.parkingStorageSignage[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .parkingStorageSignage;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // parkingStorageSignage: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n\n this.handleReset();\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Parking Storage & Signage Charges
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen && this.pssPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n pssPopup(pss) {\n if (\n pss.chargeTypeText == \"Parking 2W\" ||\n pss.chargeTypeText == \"Parking 4W\" ||\n pss.chargeTypeText == \"Parking Other\"\n ) {\n return this.parkingPopup(pss);\n } else if (pss.chargeTypeText == \"Storage\") {\n return this.storagePopup(pss);\n } else if (pss.chargeTypeText == \"Signage\") {\n return this.signagePopup(pss);\n }\n }\n\n parkingPopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {/*
\n
\n
\n \n \n
\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n\n storagePopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n\n signagePopup(pss) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(ParkingStorageSignage);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n periodOneLandlordMileStoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { hasAccess, getUserType } from \"../../utils/index\";\n\nvar periodOneMileStoneNamesArr = periodOneMileStoneNames;\n\nif (getUserType() == \"Landlord\") {\n periodOneMileStoneNamesArr = periodOneLandlordMileStoneNames;\n}\n\nclass RentDepositDetails extends React.Component {\n countError = \"\";\n state = {\n milestoneVal: \"\",\n readOnEdit: false,\n currentIndex: null,\n disableOnEdit: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"RDEP Milestone # Months\",\n rdepTotalAmount: \"\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n initialValues: {\n rdepLogic: {\n milestones: [],\n period: \"\",\n rentDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n },\n },\n biFurcateLandlordCheckbox: false,\n rentDepositDetails: [],\n landlordList: [],\n landlordsPercentage: [],\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-deposit-details?id=${this.props.match.params.id}`).then((response) =>{\n let data = response.data;\n athis.state.biFurcateLandlordCheckbox = data.biFurcateLandlordCheckbox;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.landlordList = data.landlordList;\n athis.state.fromDate = data.from;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.rentDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.rentDepositDetails[data.rentDepositDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n\n athis.setState({\n initialValues: data,\n rentDepositDetails: data.rentDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n // notes_11: data.notes_11,\n period:\n data.rentDepositDetails.length > 0\n ? data.rentDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n // _intialValues['notes_11'] = data.notes_11;\n _intialValues.rdepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n rentDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n if (\n data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-rent-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.biFurcateLandlordCheckbox = data.biFurcateLandlordCheckbox;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.landlordList = data.landlordList;\n // this.state.fromDate = data.from;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.rentDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.rentDepositDetails[data.rentDepositDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n\n // this.setState({\n // initialValues: data,\n // rentDepositDetails: data.rentDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // // notes_11: data.notes_11,\n // period:\n // data.rentDepositDetails.length > 0\n // ? data.rentDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // // _intialValues['notes_11'] = data.notes_11;\n // _intialValues.rdepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // rentDepositNature: \"\",\n // months: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // totalAmount: \"\",\n // rate: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // if (\n // data.rentDepositDetails[data.rentDepositDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositNature(e, values, setFieldValue) {\n if (\n this.state.rentDepositDetails[e.target.value] !== undefined &&\n this.state.rentDepositDetails[e.target.value].length > 0 &&\n this.state.rentDepositDetails[e.target.value][\n this.state.rentDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"rdepLogic.rentDepositNature\", \"\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n if (\n _rentDepositDetails[e.target.value] == undefined ||\n _rentDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _rentDepositDetails[e.target.value][\n _rentDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.rentDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n\n // periodOtherMilestoneNames = [];\n // periodOtherMilestoneNames.push(\n // periodOtherMilestoneNames[\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].milestones.length - 1\n // ]\n // );\n // this.setState({\n // milestoneNamesValues: periodOtherMilestoneNames.length\n // ? []\n // : periodOtherMilestoneNames[\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].milestones.length - 1\n // ],\n // });\n\n // this.state.milestoneVal =\n // `Escalation ` +\n // this.state.rentDepositDetails[e.target.value][\n // this.state.rentDepositDetails[e.target.value].length - 1\n // ].period;\n\n // this.setState({});\n }\n return true;\n }\n\n editRd(index, values, key) {\n this.state.currentIndex = index;\n this.state.disableOnEdit = false;\n this.state.readOnEdit = true;\n this.state.period = this.state.rentDepositDetails[key][index].period;\n if (this.state.rentDepositDetails[key][index].period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.rentDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.rentDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.rentDepositDetails[key][index].periodTermYY,\n });\n this.state.milestonesCount =\n this.state.rentDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.rentDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.rentDepositDetails[key][index].toDate;\n values.rdepLogic.rentDepositNature =\n this.state.rentDepositDetails[key][index].rentDepositNature;\n values.rdepLogic.months = this.state.rentDepositDetails[key][index].months;\n values.rdepLogic.rateUOM =\n this.state.rentDepositDetails[key][index].rateUOM;\n values.rdepLogic.rate = this.state.rentDepositDetails[key][index].rate;\n values.rdepLogic.totalAmount =\n this.state.rentDepositDetails[key][index].totalAmount;\n\n for (\n let i = 0;\n i < this.state.rentDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.rdepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneName;\n values.rdepLogic.milestones[i].milestoneName =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.rentDepositDetails[key][index].milestones[i].dueDate;\n values.rdepLogic.milestones[i].dueDate =\n this.state.rentDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n values.rdepLogic.milestones[i].milestonePercent =\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n this.state.milestones[i].amount =\n this.state.rentDepositDetails[key][index].milestones[i].amount;\n values.rdepLogic.milestones[i].amount =\n this.state.rentDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType !=\n undefined\n ) {\n this.state.milestones[i].milestoneType =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType;\n values.rdepLogic.milestones[i].milestoneType =\n this.state.rentDepositDetails[key][index].milestones[i].milestoneType;\n }\n if (\n this.state.rentDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"RDEP Milestone %\";\n values.rdepLogic.milestones[i].milestoneQuantityType =\n \"RDEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n values.rdepLogic.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n console.log(values.rdepLogic);\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (this.state.biFurcateLandlordCheckbox === true) {\n let count = 0;\n for (let i = 0; i < this.state.landlordList.length; i++) {\n count += Number(this.state.landlordList[i].percent);\n }\n if (count < 100) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Total landlord percentage should be 100\",\n });\n return false;\n }\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.rdepLogic.totalAmount) {\n // alert(\n // \"Total Amount of Milestones do not match with total amount of period\"\n // );\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.rdepLogic.milestones[i].milestoneType = \"RDEP Percent\";\n this.setState({});\n }\n }\n }\n // this.state.milestoneVal = `Escalation ` + values.rdepLogic.period;\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n // alert(\"Enter a date less than \" + values.to);\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n values.rdepLogic.period = this.state.period;\n values.rdepLogic.fromDate = this.state.fromDate;\n values.rdepLogic.toDate = this.state.toDate;\n values.rdepLogic.periodTermYY = this.state.periodTermYY;\n values.rdepLogic.periodTermMM = this.state.periodTermMM;\n values.rdepLogic.periodTermDD = this.state.periodTermDD;\n // for (let i = 0; i < this.state.landlordList; i++) {\n\n // }\n if (\n _rentDepositDetails[values.rdepLogic.rentDepositNature] == undefined\n ) {\n _rentDepositDetails[values.rdepLogic.rentDepositNature] = [];\n }\n _rentDepositDetails[values.rdepLogic.rentDepositNature].push({\n ...values.rdepLogic,\n });\n\n this.setState({\n rentDepositDetails: _rentDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n values.rdepLogic.totalAmount = \"\";\n this.state.milestonesCount = 1;\n this.state.milestones = [];\n values.rdepLogic.milestones = [];\n this.state.period++;\n values.rdepLogic.rate = \"\";\n values.rdepLogic.escalationPercent = '';\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNamesArr,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n console.log(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.rdepLogic.totalAmount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n\n for (let i = 0; i < values.rdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.rdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _rentDepositDetails = this.state.rentDepositDetails;\n values.rdepLogic.period = this.state.period;\n values.rdepLogic.fromDate = this.state.fromDate;\n values.rdepLogic.toDate = this.state.toDate;\n values.rdepLogic.periodTermYY = this.state.periodTermYY;\n values.rdepLogic.periodTermMM = this.state.periodTermMM;\n values.rdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (\n _rentDepositDetails[values.rdepLogic.rentDepositNature] == undefined\n ) {\n _rentDepositDetails[values.rdepLogic.rentDepositNature] = [];\n }\n _rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.currentIndex\n ] = { ...values.rdepLogic };\n\n _rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n rentDepositDetails: _rentDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n // this.state.fromDate = \"\";\n // this.state.toDate = \"\";\n this.state.period++;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n // values.rdepLogic.rentDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n values.rdepLogic.rentDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n calculateRdepAmount(values, setFieldValue) {\n if (values.rdepLogic.rateUOM == \"Flat Amount\") {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) * Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) * Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Carpet Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Usable Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.rdepLogic.months)\n );\n } else if (\n values.rdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.rdepLogic.onArea == \"Gross Leasable Area\"\n ) {\n values.rdepLogic.totalAmount =\n Number(values.rdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.rdepLogic.months);\n setFieldValue(\n \"rdepLogic.totalAmount\",\n Number(values.rdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.rdepLogic.months)\n );\n }\n\n if(values.rdepLogic.totalAmount > 0){\n this.calculateEscalationPercentage(values, setFieldValue, (values.rdepLogic.totalAmount/values.rdepLogic.months));\n }\n\n // if (this.state.period > 1) {\n // this.calculateMilestoneAmount(1, values, 0);\n // }\n }\n\n calculateEscalationPercentage(values, setFieldValue, currentRecord) {\n if ( typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0) {\n let count = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length;\n let prevMonth = parseFloat(this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['months']);\n let prevRecord = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['totalAmount']/prevMonth;\n let percent = ((currentRecord-prevRecord)/prevRecord)*100;\n setFieldValue(\n \"rdepLogic.escalationPercent\",\n (\n percent\n ).toFixed(2)\n );\n }\n }\n\n changeFieldName(e, id, values) {\n console.log(values);\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.rdepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n // values.rdepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"RDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n }\n }\n\n changeMilestonePercentName(e, id, values) {\n console.log(e.target.value);\n if (e.target.value == \"RDEP Months\") {\n this.state.milestones[id].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n } else if (e.target.value == \"RDEP Percent\") {\n this.state.milestones[id].milestoneQuantityType = \"RDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType = \"\";\n }\n\n if (e.target.value == \"RDEP Months\") {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount / values.rdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else if (e.target.value == \"Flat Amount\") {\n\n } else {\n var previousAmount = 0;\n if (\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] ===\n undefined ||\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length == 0\n ) {\n previousAmount = 0;\n } else {\n previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n }\n\n var currentAmount = values.rdepLogic.totalAmount;\n\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n\n this.setState({});\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n console.log(\"1\");\n if (this.state.period == \"1\") {\n if (values.rdepLogic.milestones[id].milestoneType == \"RDEP Months\") {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount / values.rdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n } else {\n this.state.milestones[id].amount =\n (values.rdepLogic.totalAmount *\n Number(this.state.milestones[id].milestonePercent)) /\n 100;\n // Number(this.state.milestones[id].milestonePercent);\n values.rdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n }\n this.setState({});\n } else {\n console.log(\"2\");\n var previousAmount =\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.rdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.rdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _rdd = this.state.rentDepositDetails;\n _rdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n rentDepositDetails: _rdd,\n showForm: true,\n });\n this.state.period--;\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n biFurcateLandlord(e, values) {\n if (this.state.biFurcateLandlordCheckbox === true) {\n this.setState({ biFurcateLandlordCheckbox: false });\n } else {\n this.setState({ biFurcateLandlordCheckbox: true });\n }\n }\n\n calculateRentRate(e, values, setFieldValue) {\n if (e.target.value > 0 && typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0) {\n let count = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length;\n //let prevRecord = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['totalAmount'];\n let prevMonth = parseFloat(this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['months']);\n let prevRecord = this.state.rentDepositDetails[values.rdepLogic.rentDepositNature][count - 1]['totalAmount']/prevMonth;\n\n let reviseTotalAmt = Number(prevRecord) + Number((prevRecord * e.target.value) / 100);\n\n let currentMonths = parseFloat(values.rdepLogic.months);\n\n let newRate = 0;\n if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Gross Leasable Area\") {\n newRate = (reviseTotalAmt / values.totalGrossLeasableArea)\n } else if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Usable Area\") {\n newRate = (reviseTotalAmt / values.totalUsableArea)\n } else if (values.rdepLogic.rateUOM == \"Per Sq Ft\" && values.rdepLogic.onArea == \"Carpet Area\") {\n newRate = (reviseTotalAmt / values.totalCarpetArea)\n } else {\n let rateVal = reviseTotalAmt - (reviseTotalAmt - prevRecord)\n newRate = rateVal + ((rateVal * e.target.value / 100))\n }\n\n setFieldValue(\n \"rdepLogic.rate\",\n (\n newRate\n ).toFixed(2)\n );\n\n setFieldValue(\n \"rdepLogic.totalAmount\",\n (\n reviseTotalAmt * currentMonths\n ).toFixed(2)\n );\n }\n }\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(RDEP Milestone {i + 1});\n }\n\n var body = [];\n\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n this.state.milestones[i] === undefined ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"RDEP Milestone # Months\";\n this.state.milestones[i].milestoneType = \"\";\n values.rdepLogic.milestones[i] = {};\n values.rdepLogic.milestones[i].milestoneName = \"\";\n values.rdepLogic.milestones[i].dueDate = \"\";\n values.rdepLogic.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n values.rdepLogic.milestones[i].amount = \"\";\n values.rdepLogic.milestones[i].milestoneType = \"\";\n }\n body.push(\n \n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {this.state.period == \"1\" && (\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneType = e.target.value;\n this.changeMilestonePercentName(e, id, values);\n handleChange(e);\n }}\n >\n
\n
\n )}\n {this.state.milestones[i].milestoneQuantityType != '' && (\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n {/* Commented validation message */}\n
\n
\n )}\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"RDEP Milestone Amount\",\n this.state.milestones[i].amount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n landlordPercentage(handleChange, values) {\n var body = [];\n for (var i = 0; i < this.state.landlordList.length; i++) {\n body.push(\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.landlordList[id].percent = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n />\n
\n
\n );\n }\n return body;\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n
\n
\n
\n
\n
\n \n
\n
\n\n\n {\n console.log(this.state.landlordList);\n let count = 0;\n for (var key in this.state.rentDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var rentDepositDetails = { ...this.state.rentDepositDetails };\n values.rentDepositDetails = rentDepositDetails;\n values.biFurcateLandlordCheckbox =\n this.state.biFurcateLandlordCheckbox;\n // values.landlordList = this.state.landlordList;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-rent-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n {this.state.showForm && (\n
\n \n
\n )}\n

\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n {this.state.biFurcateLandlordCheckbox === true && (\n <>\n {this.landlordPercentage(handleChange, values)}\n \n )}\n\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Rent Deposit Nature\",\n values.rdepLogic.rentDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {values.rdepLogic.rentDepositNature !== \"\" && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rdepLogic.rateUOM = e.target.value;\n handleChange(e);\n this.calculateRdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n\n {values.rdepLogic.rateUOM === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n values.rdepLogic.onArea = e.target.value;\n this.calculateRdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n )}\n\n {typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] !== \"undefined\" &&\n this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateRdepAmount(values, setFieldValue);\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(e, values, 0);\n }\n }}\n />\n {this.validator.message(\n \"RDEP Rate\",\n values.rdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Rent Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.rentDepositDetails).map(\n function (key, index1) {\n return this.state.rentDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToRent Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n {name.rentDepositNature}{name.totalAmount || \"-\"}\n {/* {\n this.editRd(index, values, key);\n }}\n >\n \n */}\n {this.state.rentDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .rentDepositDetails;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // rentDepositDetails: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n {this.state.biFurcateLandlordCheckbox === true && (\n
\n {this.landlordPercentage(handleChange, values)}\n
\n )}\n
\n
\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Rent Deposit Nature\",\n values.rdepLogic.rentDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.rdepLogic.rateUOM =\n e.target.value;\n handleChange(e);\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n {this.validator.message(\n \"RDEP Rate UOM\",\n values.rdepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.rdepLogic.rateUOM == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n values.rdepLogic.onArea =\n e.target.value;\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.rdepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {\n typeof this.state.rentDepositDetails[values.rdepLogic.rentDepositNature] != \"undefined\" && this.state.rentDepositDetails[values.rdepLogic.rentDepositNature].length > 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.rdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )\n }\n\n
\n
\n
\n \n
\n {\n this.calculateRdepAmount(\n values,\n setFieldValue\n );\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(\n e,\n values,\n 0\n );\n }\n }}\n />\n {this.validator.message(\n \"RDEP Rate\",\n values.rdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n {values.rdepLogic.rentDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n\n {this.mainFormValidator.message(\n \"Rent Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.rentDepositDetails).map(\n function (key, index1) {\n return this.state.rentDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToRent Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.rentDepositNature}{name.totalAmount || \"-\"}\n {this.state.rentDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _rdd =\n // this.state\n // .rentDepositDetails;\n // _rdd[key].splice(index, 1);\n // this.setState({\n // rentDepositDetails: _rdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Rent Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.rentDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n
\n );\n }\n rentDepositDetailPopup(rent) {\n return this.rentalDetailsPopup(rent);\n }\n rentalDetailsPopup(rent) {\n console.log(rent);\n return (\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")}{\" \"} */}\n {leaseDateFormat(name.dueDate)}\n \n {name.milestonePercent}\n {name.milestoneType == \"RDEP Months\"\n ? \" Months\"\n : \" %\"}\n {name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(RentDepositDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass CAMDepositDetails extends React.Component {\n countError = \"\";\n state = {\n readOnEdit: false,\n currentIndex: null,\n disableOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"CDEP Milestone # Months\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n initialValues: {\n cdepLogic: {\n milestones: [],\n period: \"\",\n camDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n },\n },\n camDepositDetails: [],\n toggleCdForm: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showCdForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleCdForm: true,\n });\n } else {\n this.setState({\n toggleCdForm: false,\n });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-deposit-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.applicableValue = data.camDepositApplicable;\n athis.state.fromDate = data.from;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.camDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.camDepositDetails[data.camDepositDetails.length - 1].toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.camDepositApplicable === \"yes\") {\n athis.setState({\n toggleCdForm: true,\n });\n } else {\n athis.setState({\n toggleCdForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n camDepositDetails: data.camDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_12: data.notes_12,\n period:\n data.camDepositDetails.length > 0\n ? data.camDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.cdepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n camDepositNature: \"\",\n months: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n onArea: \"\",\n milestonesCount: 0,\n totalAmount: \"\",\n rate: \"\",\n };\n if (\n data.camDepositDetails[data.camDepositDetails.length - 1].toDate ==\n data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-cam-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.applicableValue = data.camDepositApplicable;\n // this.state.fromDate = data.from;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.camDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.camDepositDetails[data.camDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.camDepositApplicable === \"yes\") {\n // this.setState({\n // toggleCdForm: true,\n // });\n // } else {\n // this.setState({\n // toggleCdForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // camDepositDetails: data.camDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_12: data.notes_12,\n // period:\n // data.camDepositDetails.length > 0\n // ? data.camDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.cdepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // camDepositNature: \"\",\n // months: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // totalAmount: \"\",\n // rate: \"\",\n // };\n // if (\n // data.camDepositDetails[data.camDepositDetails.length - 1].toDate ==\n // data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositNature(e, values, setFieldValue) {\n if (\n this.state.camDepositDetails[e.target.value] !== undefined &&\n this.state.camDepositDetails[e.target.value].length > 0 &&\n this.state.camDepositDetails[e.target.value][\n this.state.camDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"rdepLogic.rentDepositNature\", \"\");\n // alert(\"Values For this type has completed the period\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n if (\n _camDepositDetails[e.target.value] == undefined ||\n _camDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _camDepositDetails[e.target.value][\n _camDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.camDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n return true;\n }\n\n editCd(index, values, key) {\n console.log(values);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n console.log(key, index);\n console.log(this.state.camDepositDetails);\n this.state.period = this.state.camDepositDetails[key][index].period;\n if (this.state.camDepositDetails[key][index].period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.camDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.camDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.camDepositDetails[key][index].periodTermYY,\n });\n // values.rdepLogic = this.state.camDepositDetails[key][index];\n this.state.milestonesCount =\n this.state.camDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.camDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.camDepositDetails[key][index].toDate;\n values.cdepLogic.camDepositNature =\n this.state.camDepositDetails[key][index].camDepositNature;\n values.cdepLogic.months = this.state.camDepositDetails[key][index].months;\n values.cdepLogic.rateUOM = this.state.camDepositDetails[key][index].rateUOM;\n values.cdepLogic.rate = this.state.camDepositDetails[key][index].rate;\n values.cdepLogic.totalAmount =\n this.state.camDepositDetails[key][index].totalAmount;\n\n for (\n let i = 0;\n i < this.state.camDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.cdepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.camDepositDetails[key][index].milestones[i].milestoneName;\n values.cdepLogic.milestones[i].milestoneName =\n this.state.camDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.camDepositDetails[key][index].milestones[i].dueDate;\n values.cdepLogic.milestones[i].dueDate =\n this.state.camDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.camDepositDetails[key][index].milestones[i].milestonePercent;\n values.cdepLogic.milestones[i].milestonePercent =\n this.state.camDepositDetails[key][index].milestones[i].milestonePercent;\n this.state.milestones[i].amount =\n this.state.camDepositDetails[key][index].milestones[i].amount;\n values.cdepLogic.milestones[i].amount =\n this.state.camDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.camDepositDetails[key][index].milestones[i].milestoneType !=\n undefined\n ) {\n this.state.milestones[i].milestoneType =\n this.state.camDepositDetails[key][index].milestones[i].milestoneType;\n values.cdepLogic.milestones[i].milestoneType =\n this.state.camDepositDetails[key][index].milestones[i].milestoneType;\n }\n if (\n this.state.camDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"CDEP Milestone %\";\n values.cdepLogic.milestones[i].milestoneQuantityType =\n \"CDEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n values.cdepLogic.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n if (this.state.currentIndex === null) {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.cdepLogic.totalAmount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.cdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n values.cdepLogic.period = this.state.period;\n values.cdepLogic.fromDate = this.state.fromDate;\n values.cdepLogic.toDate = this.state.toDate;\n values.cdepLogic.periodTermYY = this.state.periodTermYY;\n values.cdepLogic.periodTermMM = this.state.periodTermMM;\n values.cdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (_camDepositDetails[values.cdepLogic.camDepositNature] == undefined) {\n _camDepositDetails[values.cdepLogic.camDepositNature] = [];\n }\n _camDepositDetails[values.cdepLogic.camDepositNature].push({\n ...values.cdepLogic,\n });\n this.setState({\n camDepositDetails: _camDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.period++;\n values.cdepLogic.rate = \"\";\n this.state.milestonesCount = 1;\n this.state.milestones = [];\n values.cdepLogic.milestones = [];\n values.cdepLogic.escalationPercent = '';\n values.cdepLogic.totalAmount = '';\n\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n this.validator.hideMessages();\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n // this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.cdepLogic.totalAmount) {\n // alert(\n // \"Total Amount of Milestones do not match with total amount of period\"\n // );\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n\n return false;\n }\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n for (let i = 0; i < values.cdepLogic.milestones.length; i++) {\n if (this.state.period > 1) {\n values.cdepLogic.milestones[i].milestoneType = \"CDEP Percent\";\n this.setState({});\n }\n }\n }\n\n if (this.state.toDate > values.to) {\n // alert(\"Enter a date less than \" + values.to);\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _camDepositDetails = this.state.camDepositDetails;\n values.cdepLogic.period = this.state.period;\n values.cdepLogic.fromDate = this.state.fromDate;\n values.cdepLogic.toDate = this.state.toDate;\n values.cdepLogic.periodTermYY = this.state.periodTermYY;\n values.cdepLogic.periodTermMM = this.state.periodTermMM;\n values.cdepLogic.periodTermDD = this.state.periodTermDD;\n\n if (_camDepositDetails[values.cdepLogic.camDepositNature] == undefined) {\n _camDepositDetails[values.cdepLogic.camDepositNature] = [];\n }\n _camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.currentIndex\n ] = { ...values.cdepLogic };\n\n _camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n camDepositDetails: _camDepositDetails,\n });\n\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.period++;\n this.setState({\n fromDate: getToDate(this.state.toDate, 2, 0, 0),\n toDate: \"\",\n });\n // this.state.milestonesCount = 1;\n // resetForm();\n this.validator.hideMessages();\n // this.state.milestones = [];\n // values.cdepLogic.camDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n values.cdepLogic.camDepositNature = \"\";\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n this.setState({});\n };\n\n calculateCdepAmount(values, setFieldValue) {\n if (values.cdepLogic.rateUOM == \"Flat Amount\") {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) * Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) * Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Carpet Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalCarpetArea) *\n Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Usable Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalUsableArea) *\n Number(values.cdepLogic.months)\n );\n } else if (\n values.cdepLogic.rateUOM == \"Per Sq Ft\" &&\n values.cdepLogic.onArea == \"Gross Leasable Area\"\n ) {\n values.cdepLogic.totalAmount =\n Number(values.cdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.cdepLogic.months);\n setFieldValue(\n \"cdepLogic.totalAmount\",\n Number(values.cdepLogic.rate) *\n Number(values.totalGrossLeasableArea) *\n Number(values.cdepLogic.months)\n );\n }\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(1, values, 0);\n }\n if(values.cdepLogic.totalAmount > 0){\n this.calculateEscalationPercentage(values, setFieldValue, (values.cdepLogic.totalAmount/values.cdepLogic.months));\n }\n }\n\n calculateEscalationPercentage(values, setFieldValue, currentRecord) {\n if ( typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0) {\n let count = this.state.camDepositDetails[values.cdepLogic.camDepositNature].length;\n let prevMonth = parseFloat(this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['months']);\n let prevRecord = this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['totalAmount']/prevMonth;\n let percent = ((currentRecord-prevRecord)/prevRecord)*100;\n setFieldValue(\n \"cdepLogic.escalationPercent\",\n (\n percent\n ).toFixed(2)\n );\n }\n }\n\n changeFieldName(e, id, values) {\n console.log(values);\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.cdepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n // values.cdepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"CDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n }\n }\n\n changeMilestonePercentName(e, id, values) {\n if (e.target.value == \"CDEP Months\") {\n this.state.milestones[id].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n } else if (e.target.value == \"CDEP Percent\") {\n this.state.milestones[id].milestoneQuantityType = \"CDEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType = \"\";\n }\n\n\n if (e.target.value == \"CDEP Months\") {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount / values.cdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else if (e.target.value == \"CDEP Percent\") {\n var previousAmount = 0;\n if (\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature] ==\n undefined\n ) {\n previousAmount = 0;\n } else {\n previousAmount =\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature][\n this.state.camDepositDetails[values.cdepLogic.rentDepositNature]\n .length - 1\n ].totalAmount;\n }\n\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n calculateRentRate(e, values, setFieldValue) {\n console.log(values, \"values 672 \");\n console.log(this.state.camDepositDetails, \"cam details\")\n console.log(values.cdepLogic.camDepositNature, \"values.cdepLogic.camDepositNature\")\n\n\n if (e.target.value > 0 && typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0) {\n let count = this.state.camDepositDetails[values.cdepLogic.camDepositNature].length;\n let prevMonth = parseFloat(this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['months']);\n let prevRecord = this.state.camDepositDetails[values.cdepLogic.camDepositNature][count - 1]['totalAmount']/prevMonth;\n\n let reviseTotalAmt = Number(prevRecord) + Number((prevRecord * e.target.value) / 100);\n\n let currentMonths = parseFloat(values.cdepLogic.months);\n\n let newRate = 0;\n if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Gross Leasable Area\") {\n newRate = (reviseTotalAmt / values.totalGrossLeasableArea)\n } else if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Usable Area\") {\n newRate = (reviseTotalAmt / values.totalUsableArea)\n } else if (values.cdepLogic.rateUOM == \"Per Sq Ft\" && values.cdepLogic.onArea == \"Carpet Area\") {\n newRate = (reviseTotalAmt / values.totalCarpetArea)\n } else {\n let rateVal = reviseTotalAmt - (reviseTotalAmt - prevRecord)\n newRate = rateVal + ((rateVal * e.target.value / 100))\n }\n\n setFieldValue(\n \"cdepLogic.rate\",\n (\n newRate\n ).toFixed(2)\n );\n\n setFieldValue(\n \"cdepLogic.totalAmount\",\n (\n reviseTotalAmt*currentMonths\n ).toFixed(2)\n );\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n if (this.state.period == \"1\") {\n if (values.cdepLogic.milestones[id].milestoneType == \"CDEP Months\") {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount / values.cdepLogic.months) *\n Number(this.state.milestones[id].milestonePercent);\n values.cdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n } else {\n this.state.milestones[id].amount =\n (values.cdepLogic.totalAmount *\n Number(this.state.milestones[id].milestonePercent)) /\n 100;\n values.cdepLogic.milestones[id].amount =\n this.state.milestones[id].amount;\n }\n this.setState({});\n } else {\n var previousAmount =\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][\n this.state.camDepositDetails[values.cdepLogic.camDepositNature]\n .length - 1\n ].totalAmount;\n var currentAmount = values.cdepLogic.totalAmount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.cdepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _cdd = this.state.camDepositDetails;\n _cdd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n camDepositDetails: _cdd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(CDEP Milestone {i + 1});\n }\n\n var body = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n typeof this.state.milestones[i] === \"undefined\" ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"CDEP Milestone # Months\";\n this.state.milestones[i].milestoneType = \"\";\n values.cdepLogic.milestones[i] = {};\n values.cdepLogic.milestones[i].milestoneName = \"\";\n values.cdepLogic.milestones[i].dueDate = \"\";\n values.cdepLogic.milestones[i].milestonePercent =\n this.state.period == 1 ? \"\" : 100;\n values.cdepLogic.milestones[i].amount = \"\";\n values.cdepLogic.milestones[i].milestoneType = \"\";\n }\n body.push(\n \n
\n
\n {/* Milestone Name */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n {/* Due Date */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.period == \"1\" && (\n
\n {/* Milestone Type */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneType = e.target.value;\n this.changeMilestonePercentName(e, id, values);\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.milestones[i].milestoneType != \"Flat Amount\" && (\n
\n {/* Milestone Percent or Amount */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n
\n
\n )}\n\n
\n {/* Milestone Amount */}\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n \n
\n
\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.camDepositApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n // if (this.state.camDepositDetails.length == 0) {\n // this.mainFormValidator.showMessages(\"countError\");\n // return false;\n // }\n let count = 0;\n for (var key in this.state.camDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var camDepositDetails = { ...this.state.camDepositDetails };\n values.camDepositDetails = camDepositDetails;\n console.log(this.state.camDepositDetails, \"pp\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-cam-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showCdForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleCdForm && (\n <>\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"CAM Deposit Nature\",\n values.cdepLogic.camDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n {values.cdepLogic.camDepositNature !== \"\" && (\n <>\n
\n \n
\n {\n this.state.period = e.target.value;\n }}\n />\n
\n
\n\n
\n \n
\n
\n
\n {\n this.state.periodTermYY = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermMM = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n {\n this.state.periodTermDD = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n\n
\n
\n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.cdepLogic.rateUOM = e.target.value;\n handleChange(e);\n this.calculateCdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n\n {values.cdepLogic.rateUOM === \"Per Sq Ft\" && (\n
\n \n
\n {\n handleChange(e);\n values.cdepLogic.onArea = e.target.value;\n this.calculateCdepAmount(values, setFieldValue);\n }}\n >\n
\n
\n )}\n\n {typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] !== \"undefined\" &&\n this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0 &&\n this.state.camDepositDetails[values.cdepLogic.camDepositNature][this.state.camDepositDetails[values.cdepLogic.camDepositNature].length - 1]['rate'] !== 0 && (\n
\n \n
\n {\n this.calculateRentRate(e, values, setFieldValue);\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.cdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n this.calculateCdepAmount(values, setFieldValue);\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(e, values, 0);\n }\n }}\n />\n {this.validator.message(\n \"CDEP Rate\",\n values.cdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount: e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n console.log(values, \"nn\");\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n
\n )}\n
\n )}\n \n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"CAM Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.camDepositDetails).map(\n function (key, index1) {\n return this.state.camDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToCAM Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {\" \"}\n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n {name.camDepositNature}{name.totalAmount || \"-\"}\n {/* {\n this.editCd(index, values, key);\n }}\n >\n \n */}\n {this.state.camDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cdd =\n // this.state\n // .camDepositDetails;\n // _cdd[key].splice(index, 1);\n // this.setState({\n // camDepositDetails: _cdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue =\n e.target.value;\n this.showCdForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n\n\n\n {this.state.toggleCdForm && (\n
\n
\n
\n
\n
\n \n
\n {\n if (\n this.getDepositNature(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"CAM Deposit Nature\",\n values.cdepLogic.camDepositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period =\n e.target.value;\n }}\n />\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.validator =\n new SimpleReactValidator({\n autoForceUpdate: this,\n });\n values.cdepLogic.rateUOM =\n e.target.value;\n handleChange(e);\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n {this.validator.message(\n \"CDEP Rate UOM\",\n values.cdepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {values.cdepLogic.rateUOM == \"Per Sq Ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n values.cdepLogic.onArea =\n e.target.value;\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.cdepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {\n typeof this.state.camDepositDetails[values.cdepLogic.camDepositNature] != \"undefined\" && this.state.camDepositDetails[values.cdepLogic.camDepositNature].length > 0 && this.state.camDepositDetails[values.cdepLogic.camDepositNature][this.state.camDepositDetails[values.cdepLogic.camDepositNature].length - 1]['rate'] != 0 && (\n
\n
\n
\n \n
\n {\n this.calculateRentRate(\n e,\n values,\n setFieldValue\n );\n }}\n />\n {this.validator.message(\n \"Escalation %\",\n values.cdepLogic.escalationPercent,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )\n }\n
\n
\n
\n \n
\n {\n this.calculateCdepAmount(\n values,\n setFieldValue\n );\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(\n e,\n values,\n 0\n );\n }\n }}\n />\n {this.validator.message(\n \"CDEP Rate\",\n values.cdepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n )}\n {values.cdepLogic.camDepositNature !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n console.log(values, \"nn\");\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n console.log(values, \"nn\");\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n\n
\n )}\n
\n )}\n
\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"CAM Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.camDepositDetails).map(\n function (key, index1) {\n return this.state.camDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToCAM Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {\" \"}\n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n {name.camDepositNature}{name.totalAmount || \"-\"}\n {this.state.camDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _cdd =\n // this.state\n // .camDepositDetails;\n // _cdd[key].splice(index, 1);\n // this.setState({\n // camDepositDetails: _cdd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Cam Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.camDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n camDepositDetailPopup(cam) {\n console.log(cam);\n return this.camDetailsPopup(cam);\n }\n camDetailsPopup(cam) {\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {cam.milestones.length > 0 &&\n cam.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")} */}\n {leaseDateFormat(name.dueDate)}\n \n {name.milestonePercent}\n {name.milestoneType == \"CDEP Months\"\n ? \" Months\"\n : \" %\"}\n {name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(CAMDepositDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport {\n electricityLoadDeposit,\n airConditioingLoadDeposit,\n meterDeposit,\n gasBasisUnitsGasBank,\n storageFitoutDeposit,\n} from \"../../constants\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getToDate } from \"../../utils/utils\";\nimport { Modal } from \"react-bootstrap\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n periodOneMileStoneNames,\n periodOtherMilestoneNames,\n} from \"../../constants\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nclass OtherDepositDetails extends React.Component {\n countError = \"\";\n state = {\n odepMilestonePercent: 100,\n currentIndex: null,\n disableOnEdit: false,\n readOnEdit: false,\n applicableValue: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: \"\",\n index_val: \"\",\n delete: false,\n keyvalue: \"\",\n leaseCommencementDate: \"\",\n popupData: {},\n isOpen: false,\n milestoneMonths: \"ODEP Milestone # Months\",\n showForm: true,\n fromDate: \"\",\n toDate: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n periodTermDD: \"\",\n periodTermMM: \"\",\n periodTermYY: \"\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n period: 1,\n redirect: false,\n milestonesCount: 1,\n milestones: [],\n milestoneNamesValues: [],\n depositRateUomValues: [],\n initialValues: {\n odepLogic: {\n milestones: [],\n period: \"\",\n otherDepositName: \"\",\n depositNature: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n uom: \"\",\n onArea: \"\",\n milestonesCount: 0,\n onUnits: \"\",\n amount: \"\",\n rate: \"\",\n other_deposit_type: \"\",\n },\n },\n otherDepositDetails: [],\n toggleOdForm: false,\n toggleOnUnit: true,\n toggleStorage: false,\n showArea: false,\n showOnArea: false,\n };\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showOdForm = (e) => {\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n if (e.target.value === \"yes\") {\n this.setState({\n toggleOdForm: true,\n });\n } else {\n this.setState({\n toggleOdForm: false,\n });\n }\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n componentDidMount() {\n\n let athis= this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-deposit-details?id=${this.props.match.params.id}`).then((response) =>{\n let data = response.data;\n athis.state.applicableValue = data.otherDepositApplicable;\n athis.state.fromDate = data.from;\n athis.state.leaseCommencementDate = data.lcd;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n if (data.otherDepositDetails.length > 0) {\n // let _tempDate = new Date(\n // data.otherDepositDetails[data.otherDepositDetails.length - 1].toDate\n // );\n // _tempDate.setDate(_tempDate.getDate() + 1);\n // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // var y = _tempDate.getFullYear();\n // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // athis.state.fromDate = someFormattedDate;\n athis.setState({\n fromDate: getToDate(\n data.otherDepositDetails[data.otherDepositDetails.length - 1]\n .toDate,\n 2,\n 0,\n 0\n ),\n });\n }\n if (data.otherDepositApplicable === \"yes\") {\n athis.setState({\n toggleOdForm: true,\n });\n } else {\n athis.setState({\n toggleOdForm: false,\n });\n }\n athis.setState({\n initialValues: data,\n otherDepositDetails: data.otherDepositDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_13: data.notes_13,\n period:\n data.otherDepositDetails.length > 0\n ? data.otherDepositDetails.length + 1\n : 1,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.odepLogic = {\n milestones: [\n {\n dueDate: \"\",\n milestoneName: \"\",\n amount: \"\",\n milestonePercent: \"\",\n },\n ],\n period: \"\",\n otherDepositName: \"\",\n depositNature: \"\",\n fromDate: \"\",\n toDate: \"\",\n rateUOM: \"\",\n uom: \"\",\n onArea: \"\",\n milestonesCount: 0,\n onUnits: \"\",\n amount: \"\",\n rate: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n if (\n data.otherDepositDetails[data.otherDepositDetails.length - 1]\n .toDate == data.to\n ) {\n athis.setState({\n showForm: false,\n });\n }\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-deposit-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.applicableValue = data.otherDepositApplicable;\n // this.state.fromDate = data.from;\n // this.state.leaseCommencementDate = data.lcd;\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // if (data.otherDepositDetails.length > 0) {\n // // let _tempDate = new Date(\n // // data.otherDepositDetails[data.otherDepositDetails.length - 1].toDate\n // // );\n // // _tempDate.setDate(_tempDate.getDate() + 1);\n // // var dd = (\"0\" + _tempDate.getDate()).slice(-2);\n // // var mm = (\"0\" + (_tempDate.getMonth() + 1)).slice(-2);\n // // var y = _tempDate.getFullYear();\n // // var someFormattedDate = y + \"-\" + mm + \"-\" + dd;\n // // this.state.fromDate = someFormattedDate;\n // this.setState({\n // fromDate: getToDate(\n // data.otherDepositDetails[data.otherDepositDetails.length - 1]\n // .toDate,\n // 2,\n // 0,\n // 0\n // ),\n // });\n // }\n // if (data.otherDepositApplicable === \"yes\") {\n // this.setState({\n // toggleOdForm: true,\n // });\n // } else {\n // this.setState({\n // toggleOdForm: false,\n // });\n // }\n // this.setState({\n // initialValues: data,\n // otherDepositDetails: data.otherDepositDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_13: data.notes_13,\n // period:\n // data.otherDepositDetails.length > 0\n // ? data.otherDepositDetails.length + 1\n // : 1,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.odepLogic = {\n // milestones: [\n // {\n // dueDate: \"\",\n // milestoneName: \"\",\n // amount: \"\",\n // milestonePercent: \"\",\n // },\n // ],\n // period: \"\",\n // otherDepositName: \"\",\n // depositNature: \"\",\n // fromDate: \"\",\n // toDate: \"\",\n // rateUOM: \"\",\n // uom: \"\",\n // onArea: \"\",\n // milestonesCount: 0,\n // onUnits: \"\",\n // amount: \"\",\n // rate: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // if (\n // data.otherDepositDetails[data.otherDepositDetails.length - 1]\n // .toDate == data.to\n // ) {\n // this.setState({\n // showForm: false,\n // });\n // }\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n calculateToDate() {\n this.setState({\n toDate: getToDate(\n this.state.fromDate,\n this.state.periodTermDD,\n this.state.periodTermMM,\n this.state.periodTermYY\n ),\n });\n }\n\n getDepositName(e, values, setFieldValue) {\n if (\n this.state.otherDepositDetails[e.target.value] !== undefined &&\n this.state.otherDepositDetails[e.target.value].length > 0 &&\n this.state.otherDepositDetails[e.target.value][\n this.state.otherDepositDetails[e.target.value].length - 1\n ].toDate == values.to\n ) {\n setFieldValue(\"odepLogic.rentDepositNature\", \"\");\n // alert(\"Values For this type has completed the period\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Values For this type has completed the period\",\n });\n return false;\n }\n if (\n e.target.value === \"Storage Deposit\" ||\n e.target.value === \"Fitout Deposit\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({ toggleOnUnit: false, toggleStorage: true });\n } else {\n this.setState({ toggleOnUnit: true, toggleStorage: false });\n }\n if (e.target.value === \"Storage Deposit\") {\n this.setState({ showArea: true });\n } else {\n this.setState({ showArea: false });\n }\n if (e.target.value === \"Fitout Deposit\") {\n this.setState({ showOnArea: true });\n } else {\n this.setState({ showOnArea: false });\n }\n if (\n e.target.value === \"Electricity Load Deposit – Refundable\" ||\n e.target.value == \"Electricity Load Deposit – Non Refundable\"\n ) {\n this.setState({\n depositRateUomValues: electricityLoadDeposit,\n });\n } else if (\n e.target.value === \"GAS / PNG Connection Deposit\" ||\n e.target.value === \"GAS / PNG Meter\"\n ) {\n this.setState({\n depositRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n e.target.value === \"Electricity Meter Deposit\" ||\n e.target.value === \"Water Meter Deposit\" ||\n e.target.value === \"Air Conditioning Meter Deposit\"\n ) {\n this.setState({\n depositRateUomValues: meterDeposit,\n });\n } else if (e.target.value === \"Air Conditioing Load Deposit\") {\n this.setState({\n depositRateUomValues: airConditioingLoadDeposit,\n });\n } else if (\n e.target.value === \"Fitout Deposit\" ||\n e.target.value === \"Other\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else if (e.target.value === \"Storage Deposit\") {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else {\n this.setState({\n depositRateUomValues: [],\n });\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n if (\n _otherDepositDetails[e.target.value] == undefined ||\n _otherDepositDetails[e.target.value].length == 0\n ) {\n this.state.fromDate = values.from;\n this.state.toDate = \"\";\n this.state.period = 1;\n } else {\n this.state.fromDate = getToDate(\n _otherDepositDetails[e.target.value][\n _otherDepositDetails[e.target.value].length - 1\n ].toDate,\n 2,\n 0,\n 0\n );\n this.state.toDate = \"\";\n this.state.period =\n this.state.otherDepositDetails[e.target.value].length + 1;\n // values.odepLogic.period =\n // this.state.otherDepositDetails[e.target.value].length + 1;\n }\n this.setState({});\n if (this.state.period == \"1\") {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n milestoneMonths: \"ODEP Milestone %\",\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n milestoneMonths: \"ODEP Milestone %\",\n });\n }\n return true;\n }\n\n editOd(index, values, key) {\n console.log(this.state.otherDepositDetails[key][index]);\n this.state.currentIndex = index;\n this.state.disableOnEdit = true;\n this.state.readOnEdit = true;\n this.state.period = this.state.otherDepositDetails[key][index].period;\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({ toggleOnUnit: false, toggleStorage: true });\n } else {\n this.setState({ toggleOnUnit: true, toggleStorage: false });\n }\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\"\n ) {\n this.setState({ showArea: true });\n } else {\n this.setState({ showArea: false });\n }\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({ showOnArea: true });\n } else {\n this.setState({ showOnArea: false });\n }\n if (this.state.otherDepositDetails[key][index].period === 1) {\n this.setState({\n milestoneNamesValues: periodOneMileStoneNames,\n });\n } else {\n this.setState({\n milestoneNamesValues: periodOtherMilestoneNames,\n });\n }\n this.setState({\n showForm: true,\n showAddBtn: true,\n periodTermDD: this.state.otherDepositDetails[key][index].periodTermDD,\n periodTermMM: this.state.otherDepositDetails[key][index].periodTermMM,\n periodTermYY: this.state.otherDepositDetails[key][index].periodTermYY,\n });\n this.state.milestonesCount =\n this.state.otherDepositDetails[key][index].milestones.length;\n this.state.fromDate = this.state.otherDepositDetails[key][index].fromDate;\n this.state.toDate = this.state.otherDepositDetails[key][index].toDate;\n values.odepLogic.otherDepositName =\n this.state.otherDepositDetails[key][index].otherDepositName;\n values.odepLogic.depositNature =\n this.state.otherDepositDetails[key][index].depositNature;\n values.odepLogic.months = this.state.otherDepositDetails[key][index].months;\n\n values.odepLogic.onUnits =\n this.state.otherDepositDetails[key][index].onUnits;\n values.odepLogic.amount = this.state.otherDepositDetails[key][index].amount;\n values.odepLogic.rate = this.state.otherDepositDetails[key][index].rate;\n values.odepLogic.totalAmount =\n this.state.otherDepositDetails[key][index].totalAmount;\n if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Electricity Load Deposit – Refundable\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ==\n \"Electricity Load Deposit – Non Refundable\"\n ) {\n this.setState({\n depositRateUomValues: electricityLoadDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"GAS / PNG Connection Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"GAS / PNG Meter\"\n ) {\n this.setState({\n depositRateUomValues: gasBasisUnitsGasBank,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Electricity Meter Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Water Meter Deposit\" ||\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Air Conditioning Meter Deposit\"\n ) {\n this.setState({\n depositRateUomValues: meterDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Air Conditioing Load Deposit\"\n ) {\n this.setState({\n depositRateUomValues: airConditioingLoadDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Fitout Deposit\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else if (\n this.state.otherDepositDetails[key][index].otherDepositName ===\n \"Storage Deposit\"\n ) {\n this.setState({\n depositRateUomValues: storageFitoutDeposit,\n });\n } else {\n this.setState({\n depositRateUomValues: [],\n });\n }\n values.odepLogic.rateUOM =\n this.state.otherDepositDetails[key][index].rateUOM;\n values.odepLogic.area = this.state.otherDepositDetails[key][index].area;\n values.odepLogic.onArea = this.state.otherDepositDetails[key][index].onArea;\n values.odepLogic.monthsCount =\n this.state.otherDepositDetails[key][index].monthsCount;\n for (\n let i = 0;\n i < this.state.otherDepositDetails[key][index].milestones.length;\n i++\n ) {\n // if (this.state.milestones === undefined) {\n this.state.milestones[i] = {};\n values.odepLogic.milestones[i] = {};\n this.state.milestones[i].milestoneName =\n this.state.otherDepositDetails[key][index].milestones[i].milestoneName;\n values.odepLogic.milestones[i].milestoneName =\n this.state.otherDepositDetails[key][index].milestones[i].milestoneName;\n this.state.milestones[i].dueDate =\n this.state.otherDepositDetails[key][index].milestones[i].dueDate;\n values.odepLogic.milestones[i].dueDate =\n this.state.otherDepositDetails[key][index].milestones[i].dueDate;\n this.state.milestones[i].milestonePercent =\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n values.odepLogic.milestones[i].milestonePercent =\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestonePercent;\n this.state.milestones[i].amount =\n this.state.otherDepositDetails[key][index].milestones[i].amount;\n values.odepLogic.milestones[i].amount =\n this.state.otherDepositDetails[key][index].milestones[i].amount;\n if (\n this.state.otherDepositDetails[key][index].milestones[\n i\n ].milestoneName.includes(\"Escalation\")\n ) {\n this.state.milestones[i].milestoneQuantityType = \"ODEP Milestone %\";\n values.odepLogic.milestones[i].milestoneQuantityType =\n \"ODEP Milestone %\";\n } else {\n this.state.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n values.odepLogic.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n }\n this.setState({});\n // }\n }\n\n this.setState({});\n }\n\n addDetails = (values, resetForm) => {\n if (this.state.currentIndex === null) {\n if (this.state.period > 1) {\n this.state.milestones[0].milestonePercent = 100;\n values.odepLogic.milestones[0].milestonePercent = 100;\n this.setState({});\n }\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < this.state.milestones.length; i++) {\n console.log(this.state.milestones);\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.odepLogic.amount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n values.odepLogic.period = this.state.period;\n values.odepLogic.fromDate = this.state.fromDate;\n values.odepLogic.toDate = this.state.toDate;\n values.odepLogic.periodTermYY = this.state.periodTermYY;\n values.odepLogic.periodTermMM = this.state.periodTermMM;\n values.odepLogic.periodTermDD = this.state.periodTermDD;\n if (\n _otherDepositDetails[values.odepLogic.otherDepositName] == undefined\n ) {\n _otherDepositDetails[values.odepLogic.otherDepositName] = [];\n }\n _otherDepositDetails[values.odepLogic.otherDepositName].push({\n ...values.odepLogic,\n });\n this.setState({\n otherDepositDetails: _otherDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period++;\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n } else {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var totalMilestoneAmount = 0;\n for (let i = 0; i < values.odepLogic.milestones.length; i++) {\n totalMilestoneAmount += Number(this.state.milestones[i].amount);\n }\n if (this.state.period == \"1\") {\n if (totalMilestoneAmount != values.odepLogic.amount) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent:\n \"Total Amount of Milestones do not match with total amount of period\",\n });\n return false;\n }\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n }\n if (this.state.toDate > values.to) {\n this.setState({\n popupalertMessage: true,\n popupMessageContent: \"Enter a date less than \" + values.to,\n });\n return false;\n }\n var _otherDepositDetails = this.state.otherDepositDetails;\n values.odepLogic.period = this.state.period;\n values.odepLogic.fromDate = this.state.fromDate;\n values.odepLogic.toDate = this.state.toDate;\n values.odepLogic.periodTermYY = this.state.periodTermYY;\n values.odepLogic.periodTermMM = this.state.periodTermMM;\n values.odepLogic.periodTermDD = this.state.periodTermDD;\n console.log(this.state.otherDepositDetails);\n if (\n _otherDepositDetails[values.odepLogic.otherDepositName] == undefined\n ) {\n _otherDepositDetails[values.odepLogic.otherDepositName] = [];\n }\n _otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.currentIndex\n ] = { ...values.odepLogic };\n _otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.currentIndex\n ].milestones = this.state.milestones;\n this.setState({\n otherDepositDetails: _otherDepositDetails,\n });\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n }\n };\n\n resetDetails = (values, resetForm) => {\n this.state.periodTermDD = 0;\n this.state.periodTermMM = 0;\n this.state.periodTermYY = 0;\n this.state.fromDate = \"\";\n this.state.toDate = \"\";\n this.state.period = \"\";\n this.state.milestonesCount = 1;\n resetForm();\n this.validator.hideMessages();\n this.state.milestones = [];\n this.state.disableOnEdit = false;\n this.state.currentIndex = null;\n this.state.readOnEdit = false;\n };\n\n calculateDepositAmount(values) {\n if (values.odepLogic.otherDepositName === \"Storage Deposit\") {\n if (values.odepLogic.rateUOM === \"Flat rate\") {\n console.log(\"111\");\n values.odepLogic.amount =\n Number(values.odepLogic.rate) * Number(values.odepLogic.monthsCount);\n this.setState({});\n } else {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n Number(values.odepLogic.area) *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n }\n } else if (values.odepLogic.otherDepositName === \"Fitout Deposit\") {\n console.log(\"111\");\n if (values.odepLogic.onArea === \"Carpet Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalCarpetArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else if (values.odepLogic.onArea === \"Usable Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalUsableArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else if (values.odepLogic.onArea === \"Gross Leasable Area\") {\n values.odepLogic.amount =\n Number(values.odepLogic.rate) *\n values.totalGrossLeasableArea *\n Number(values.odepLogic.monthsCount);\n this.setState({});\n } else {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.monthsCount;\n this.setState({});\n }\n } else if (values.odepLogic.otherDepositName === \"Other\") {\n if (values.odepLogic.rate != \"\" && values.odepLogic.monthsCount != \"\") {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.monthsCount;\n this.setState({});\n }\n } else {\n values.odepLogic.amount =\n values.odepLogic.rate * values.odepLogic.onUnits;\n this.setState({});\n }\n if (this.state.period > 1) {\n this.calculateMilestoneAmount(1, values, 0);\n }\n }\n\n changeFieldName(e, id, values) {\n if (e.target.value == \"Due on Lease Commencement Date\") {\n this.state.milestones[id].dueDate = this.state.leaseCommencementDate;\n values.odepLogic.milestones[id].dueDate =\n this.state.leaseCommencementDate;\n } else {\n this.state.milestones[id].dueDate = \"\";\n values.odepLogic.milestones[id].dueDate = \"\";\n }\n if (e.target.value.includes(\"Escalation\")) {\n this.state.milestones[id].milestoneQuantityType = \"ODEP Milestone %\";\n } else {\n this.state.milestones[id].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n }\n }\n\n calculateMilestoneAmount(e, values, id) {\n if (this.state.period === 1) {\n var previousAmount = 0;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n console.log(previousAmount, currentAmount, balanceAmount);\n this.state.milestones[id].amount =\n (balanceAmount / 100) * this.state.milestones[id].milestonePercent;\n values.odepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n } else {\n var previousAmount =\n this.state.otherDepositDetails[values.odepLogic.otherDepositName][\n this.state.otherDepositDetails[values.odepLogic.otherDepositName]\n .length - 1\n ].amount;\n var currentAmount = values.odepLogic.amount;\n var balanceAmount = currentAmount - previousAmount;\n this.state.milestones[id].amount = (balanceAmount / 100) * 100;\n values.odepLogic.milestones[id].amount = this.state.milestones[id].amount;\n this.setState({});\n }\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n redirectToDelete = () => {\n var _odd = this.state.otherDepositDetails;\n _odd[this.state.keyvalue].splice(this.state.index_val, 1);\n this.setState({\n otherDepositDetails: _odd,\n showForm: true,\n });\n this.state.period--;\n this.setState({\n delete: false,\n index_val: \"\",\n keyvalue: \"\",\n });\n };\n\n redirectToClose = () => {\n this.setState({\n delete: false,\n popupalertMessage: false,\n popupMessageContent: \"\",\n });\n };\n\n milestoneTabs(handleChange, values) {\n var heads = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n heads.push(ODEP Milestone {i + 1});\n }\n\n var body = [];\n for (var i = 0; i < this.state.milestonesCount; i++) {\n if (\n typeof this.state.milestones[i] === \"undefined\" ||\n this.state.milestones[i] === null\n ) {\n this.state.milestones[i] = {};\n this.state.milestones[i].milestoneName = \"\";\n this.state.milestones[i].dueDate = \"\";\n this.state.milestones[i].milestonePercent = \"\";\n this.state.milestones[i].amount = \"\";\n this.state.milestones[i].milestoneQuantityType =\n \"ODEP Milestone # Months\";\n values.odepLogic.milestones[i] = {};\n values.odepLogic.milestones[i].milestoneName = \"\";\n values.odepLogic.milestones[i].dueDate = \"\";\n values.odepLogic.milestones[i].milestonePercent = \"\";\n values.odepLogic.milestones[i].amount = \"\";\n }\n body.push(\n \n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestoneName = e.target.value;\n this.changeFieldName(e, id, values);\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Milestone Name\",\n this.state.milestones[i].milestoneName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].dueDate = e.target.value;\n handleChange(e);\n }}\n >\n {this.validator.message(\n \"Due Date\",\n this.state.milestones[i].dueDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].milestonePercent = e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n var id = e.target.getAttribute(\"param\");\n this.calculateMilestoneAmount(e, values, id);\n }}\n />\n
\n
\n\n
\n \n
\n {\n var id = e.target.getAttribute(\"param\");\n this.state.milestones[id].amount = e.target.value;\n handleChange(e);\n }}\n />\n \n
\n
\n\n
\n
\n );\n }\n\n return (\n
\n \n {heads}\n
{body}
\n
\n
\n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n values.otherDepositApplicable = this.state.applicableValue;\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n // if (this.state.otherDepositDetails.length == 0) {\n // this.mainFormValidator.showMessages(\"countError\");\n // return false;\n // }\n let count = 0;\n for (var key in this.state.otherDepositDetails) {\n count = 1;\n break;\n }\n if (count == 0 && this.state.applicableValue !== \"no\") {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n var otherDepositDetails = { ...this.state.otherDepositDetails };\n values.otherDepositDetails = otherDepositDetails;\n console.log(values, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-deposit-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n setFieldValue,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showForm && (\n <>\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n this.state.applicableValue = e.target.value;\n this.showOdForm(e);\n handleChange(e);\n }}\n >\n
\n
\n\n {this.state.toggleOdForm && (\n <>\n
\n \n
\n {\n if (this.getDepositName(e, values, setFieldValue)) {\n handleChange(e);\n }\n }}\n >\n
\n
\n
\n \n
\n handleChange(e)}\n >\n
\n
\n {values.odepLogic.otherDepositName !== \"\" && (\n <>\n
\n \n
\n {\n this.setState({ period: e.target.value });\n }}\n />\n \n
\n
\n\n
\n \n
\n
\n
\n {\n this.setState({ periodTermYY: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.setState({ periodTermMM: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.setState({ periodTermDD: e.target.value });\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n \n
\n
\n\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"ODEP Rate UOM\",\n values.odepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"Deposit Rate\",\n values.odepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n {this.state.toggleOnUnit === true && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"On Units\",\n values.odepLogic.onUnits,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {this.state.showArea && values.odepLogic.rateUOM === \"Per Sq.ft\" && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"Area\",\n values.odepLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n {values.odepLogic.rateUOM === \"Per Sq.ft\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n >\n
\n
\n )}\n\n {this.state.toggleStorage && (\n
\n \n
\n {\n this.calculateDepositAmount(values);\n }}\n />\n {this.validator.message(\n \"No. of Months\",\n values.odepLogic.monthsCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n )}\n\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n\n {values.odepLogic.otherDepositName === \"Other\" && (\n
\n \n
\n {\n handleChange(e);\n }}\n />\n \n
\n
\n )}\n\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n \n )}\n \n )}\n \n )}\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n
\n Notes/Remarks\n \n
\n
\n {this.mainFormValidator.message(\n \"Other Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.otherDepositDetails).map(\n function (key, index1) {\n return this.state.otherDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToOther Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {/* {dateFormat(\n name.fromDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.fromDate)}\n \n {/* {dateFormat(\n name.toDate,\n \"dd mmm yyyy\"\n )} */}\n {leaseDateFormat(name.toDate)}\n \n {name.otherDepositName}\n {`(`}\n {name.depositNature} {`)`}\n {name.totalAmount || name.amount || \"-\"}\n {/* {\n this.editOd(index, values, key);\n }}\n >\n \n */}\n {this.state.otherDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _odd =\n // this.state\n // .otherDepositDetails;\n // _odd[key].splice(index, 1);\n // this.setState({\n // otherDepositDetails: _odd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showForm && (\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.applicableValue =\n e.target.value;\n this.showOdForm(e);\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n
\n {this.state.toggleOdForm && (\n
\n
\n
\n
\n
\n \n
\n {\n if (\n // this.loadDepositRateUomValues(e);\n this.getDepositName(\n e,\n values,\n setFieldValue\n )\n ) {\n handleChange(e);\n }\n }}\n >\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n \n {this.validator.message(\n \"Deposit Nature\",\n values.odepLogic.depositNature,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n
\n
\n
\n
\n \n
\n {\n this.state.period =\n e.target.value;\n }}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.periodTermYY =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermMM =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n
\n {\n this.state.periodTermDD =\n e.target.value;\n handleChange(e);\n }}\n onBlur={(e) => {\n this.calculateToDate(e);\n }}\n />\n
\n \n
\n
\n
\n
\n\n\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"From\",\n this.state.fromDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"To\",\n this.state.toDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n // this.validator =\n // new SimpleReactValidator({\n // autoForceUpdate: this,\n // });\n handleChange(e);\n }}\n >\n \n {this.state.depositRateUomValues.map(\n (item, i) => (\n \n {item}\n \n )\n )}\n \n {this.validator.message(\n \"ODEP Rate UOM\",\n values.odepLogic.rateUOM,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"Deposit Rate\",\n values.odepLogic.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n {this.state.toggleOnUnit === true && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"On Units\",\n values.odepLogic.onUnits,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.showArea &&\n values.odepLogic.rateUOM ===\n \"Per Sq.ft\" && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"Area\",\n values.odepLogic.area,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {values.odepLogic.rateUOM == \"Per Sq.ft\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.validator.message(\n \"On Area\",\n values.odepLogic.onArea,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n {this.state.toggleStorage && (\n
\n
\n
\n \n
\n {\n this.calculateDepositAmount(\n values\n );\n }}\n />\n {this.validator.message(\n \"No. of Months\",\n values.odepLogic.monthsCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n )}\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n {values.odepLogic.otherDepositName ==\n \"Other\" && (\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n
\n
\n
\n
\n )}\n
\n
\n
\n
\n
\n \n
\n {\n if (!isNaN(e.target.value)) {\n this.setState({\n milestonesCount:\n e.target.value,\n });\n }\n }}\n />\n \n
\n
\n
\n
\n
\n
\n )}\n
\n )}\n
\n
\n )}\n {values.odepLogic.otherDepositName !== \"\" && (\n
\n {this.state.showForm && (\n
\n {this.milestoneTabs(handleChange, values)}\n
\n {\n this.addDetails(values, resetForm);\n }}\n >\n Add\n \n {\n this.resetDetails(values, resetForm);\n }}\n >\n Reset\n \n
\n
\n )}\n
\n )}\n\n
\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Other Deposit Details\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {Object.keys(this.state.otherDepositDetails).map(\n function (key, index1) {\n return this.state.otherDepositDetails[key].map(\n function (name, index) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n },\n this\n );\n },\n this\n )}\n \n
#PeriodPeriod TermFromToOther Deposit DetailsTotal Amount\n Action\n
{index + 1}\n {\n this.state.popupData = name;\n this.openModal();\n }}\n >\n {name.period}\n \n \n {name.periodTermYY == \"\"\n ? \"0\"\n : name.periodTermYY}\n {\"-\"}\n {name.periodTermMM == \"\"\n ? \"0\"\n : name.periodTermMM}\n {\"-\"}\n {name.periodTermDD == \"\"\n ? \"0\"\n : name.periodTermDD}\n \n {leaseDateFormat(name.fromDate)}\n \n {leaseDateFormat(name.toDate)}\n \n {name.otherDepositName}\n {`(`}\n {name.depositNature} {`)`}\n {name.totalAmount || name.amount || \"-\"}\n {this.state.otherDepositDetails[key]\n .length ==\n index + 1 && (\n {\n // if (\n // window.confirm(\n //

\"Are you sure you want to delete this period?\"

\n // )\n // ) {\n // var _odd =\n // this.state\n // .otherDepositDetails;\n // _odd[key].splice(index, 1);\n // this.setState({\n // otherDepositDetails: _odd,\n // showForm: true,\n // });\n // this.state.period--;\n // }\n this.setState({\n delete: true,\n index_val: index,\n keyvalue: key,\n });\n }}\n >\n \n \n )}\n
\n
\n \n \n
\n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Other Deposit Details
  • \n
\n
\n
\n
\n
\n
\n \n {this.state.isOpen &&\n this.otherDepositDetailPopup(this.state.popupData)}\n \n \n
\n
\n
\n \n \n {(close) => (\n
\n

\"Are you sure you want to delete this period?\"

\n \n ×\n \n
\n \n
\n
\n )}\n
\n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n \n );\n }\n otherDepositDetailPopup(rent) {\n return this.otherDetailsPopup(rent);\n }\n otherDetailsPopup(rent) {\n console.log(rent);\n return (\n
\n
\n {/*
\n

Rent Only & Rent Minus Cam

\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n {rent.otherDepositName !== \"Storage Deposit\" &&\n rent.otherDepositName !== \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName === \"Storage Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.rateUOM === \"Per Sq.ft\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n {rent.otherDepositName === \"Fitout Deposit\" && (\n
\n
\n
\n \n \n
\n
\n
\n )}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n {rent.milestones.length > 0 &&\n rent.milestones.map((name, index) => (\n \n \n \n \n \n \n ))}\n \n
Milestone NameDue DateRDEP MilestoneRDEP Milestone Amount (Rs.)
{name.milestoneName}\n {/* {dateFormat(name.dueDate, \"dd mmm yyyy\")}{\" \"} */}\n {leaseDateFormat(name.dueDate)}\n {name.milestonePercent}{name.amount}
\n
\n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default withRouter(OtherDepositDetails);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CommercialClauses extends React.Component {\n countError = \"\";\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n leaseUploadDocumentDate: \"\",\n redirect: false,\n isOpen: false,\n pageNo: \"\",\n documentUrl: \"\",\n commercialClausesDetails: [],\n commercialClauses: [],\n uploadedDocuments: [],\n uploadedDocumentNames: [],\n currentDocument: \"\",\n popupContentType: \"pdf\",\n popupContentTypeDescription: \"\",\n initialValues: {\n commercialDetails: {\n clauseName: \"\",\n details: \"\",\n documentName: \"\",\n pageNo: \"\",\n },\n },\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n constructor(props) {\n super(props);\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/commercial-clause/get-clauses`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n commercialClauses: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-commercial-clauses-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n for (let i = 0; i < data.commercialClausesDetails.length; i++) {\n const index = athis.state.commercialClauses.findIndex(\n (x) => x.clause_name === data.commercialClausesDetails[i].clauseName\n );\n console.log(index);\n if (index > -1) {\n athis.state.commercialClauses.splice(index, 1);\n }\n }\n for (let i = 0; i < data.lease_documents.length; i++) {\n athis.state.uploadedDocumentNames.push(\n data.lease_documents[i].leaseDocumentType\n );\n }\n athis.setState({\n initialValues: data,\n commercialClausesDetails: data.commercialClausesDetails,\n renewalLeaseTermDD: data.renewalLeaseTermDD,\n renewalLeaseTermMM: data.renewalLeaseTermMM,\n renewalLeaseTermYY: data.renewalLeaseTermYY,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_14: data.notes_14,\n documentUrl: data.url,\n pageNo: data.commercialClausesDetails.pageNo,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n uploadedDocuments: data.lease_documents,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.commercialDetails = {\n clauseName: \"\",\n details: \"\",\n documentName: \"\",\n pageNo: \"\",\n };\n\n athis.setState({\n initialValues: _intialValues,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-commercial-clauses-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data);\n // for (let i = 0; i < data.commercialClausesDetails.length; i++) {\n // const index = this.state.commercialClauses.findIndex(\n // (x) => x.clause_name === data.commercialClausesDetails[i].clauseName\n // );\n // console.log(index);\n // if (index > -1) {\n // this.state.commercialClauses.splice(index, 1);\n // }\n // }\n // for (let i = 0; i < data.lease_documents.length; i++) {\n // this.state.uploadedDocumentNames.push(\n // data.lease_documents[i].leaseDocumentType\n // );\n // }\n // this.setState({\n // initialValues: data,\n // commercialClausesDetails: data.commercialClausesDetails,\n // renewalLeaseTermDD: data.renewalLeaseTermDD,\n // renewalLeaseTermMM: data.renewalLeaseTermMM,\n // renewalLeaseTermYY: data.renewalLeaseTermYY,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_14: data.notes_14,\n // documentUrl: data.url,\n // pageNo: data.commercialClausesDetails.pageNo,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // uploadedDocuments: data.lease_documents,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.commercialDetails = {\n // clauseName: \"\",\n // details: \"\",\n // documentName: \"\",\n // pageNo: \"\",\n // };\n\n // this.setState({\n // initialValues: _intialValues,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n showDocumentDate(docType) {\n let obj = this.state.uploadedDocuments.find(\n (o) => o.leaseDocumentUrl === docType\n );\n if (obj !== undefined) {\n return leaseDateFormat(obj.leaseUploadDocumentDate);\n } else {\n return \"\";\n }\n }\n\n formatDate(date) {\n return leaseDateFormat(date);\n }\n\n\n addCommercialDetails = (values) => {\n //resetForm();\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n\n let docSelected = this.state.uploadedDocuments.find((obj) => obj.leaseDocumentUrl === values.commercialDetails.document )\n\n //console.log(docSelected, \"doc selected..\") \n values.commercialDetails.document = docSelected.leaseDocumentType; \n values.commercialDetails.documentUrl = docSelected.leaseDocumentUrl; \n \n\n var _commercialClausesDetails = this.state.commercialClausesDetails;\n _commercialClausesDetails.push(values.commercialDetails);\n console.log(_commercialClausesDetails, \"needed\");\n this.setState({\n commercialClausesDetails: _commercialClausesDetails,\n });\n const index = this.state.commercialClauses.findIndex(\n (x) => x.clause_name === values.commercialDetails.clauseName\n );\n console.log(index);\n if (index > -1) {\n console.log(\"inn\");\n this.state.commercialClauses.splice(index, 1);\n }\n this.setState({});\n\n return true;\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n if (this.state.commercialClausesDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.commercialClausesDetails =\n this.state.commercialClausesDetails;\n console.log(values, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-commercial-clauses-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n {this.state.commercialClauses.map((obj) => (\n \n {obj.clause_name}\n \n ))}\n \n {this.validator.message(\n \"Clause Name\",\n values.commercialDetails.clauseName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Details\",\n values.commercialDetails.details,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n\n \n {this.validator.message(\n \"Document List\",\n values.commercialDetails.document,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.pageNo = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"page No\",\n values.commercialDetails.pageNo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n Notes/Remarks\n \n
\n\n
\n
\n {\n if (this.addCommercialDetails(values)) {\n resetForm();\n this.validator.hideMessages();\n }\n }}\n >\n Add\n \n \n Reset\n \n
\n {this.mainFormValidator.message(\n \"Commercial Clauses\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.commercialClausesDetails.map(function (\n name,\n index\n ) {\n\n return (\n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#Clause NameDocument NameDocument DateDocument Page NumberInformation\n Action\n
{index + 1}\n {\n e.preventDefault();\n this.state.pageNo = name.pageNo;\n let obj =\n this.state.uploadedDocuments.find(\n (o) =>\n o.leaseDocumentType ===\n name.document && o.leaseDocumentUrl === name.documentUrl\n );\n this.state.currentDocument = obj.url;\n this.state.popupContentType = obj.uploadDocType;\n this.state.popupContentTypeDescription = name.details;\n //console.log(obj);\n this.openModal();\n }}\n >\n {name.clauseName}\n \n {name.document}\n {this.showDocumentDate(name.documentUrl)}\n {name.pageNo}{name.pageNo}\n {\n var _docs =\n this.state.commercialClausesDetails;\n _docs.splice(index, 1);\n console.log(_docs, \"new array\");\n this.setState({\n commercialClausesDetails: _docs,\n });\n }}\n >\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n {this.state.popupContentType == 'pdf' ? (\n \n ) : (\n
\n {this.state.popupContentTypeDescription}\n
\n )\n }\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n )}\n \n
\n
\n \n \n );\n }\n}\n\nexport default withRouter(CommercialClauses);\n","import React, { useState } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faAngleUp,\n faArrowDown,\n faSave,\n faTimes,\n faPen,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { PdfReader } from \"../../utils/DocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport dateFormat, { masks } from \"dateformat\";\nimport { leaseDateFormat } from \"../../utils/utils\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass OtherClauses extends React.Component {\n countError = \"\";\n state = {\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n renewalLeaseTermDD: \"\",\n renewalLeaseTermMM: \"\",\n renewalLeaseTermYY: \"\",\n leaseTermDD: \"\",\n leaseTermMM: \"\",\n leaseTermYY: \"\",\n leaseUploadDocumentDate: \"\",\n redirect: false,\n isOpen: false,\n pageNo: 1,\n documentUrl: \"\",\n otherClausesDetails: [],\n otherClauses: [],\n uploadedDocuments: [],\n uploadedDocumentNames: [],\n currentDocument: \"\",\n popupContentType: \"pdf\",\n popupContentTypeDescription: \"\",\n initialValues: {\n otherDetails: {\n clauseName: \"\",\n details: \"\",\n document: \"\",\n pageNo: \"\",\n },\n },\n };\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n constructor(props) {\n super(props);\n\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n messages: {\n countError: \"Validation has failed!\", // will override all messages\n },\n });\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n showDocumentDate(docType) {\n let obj = this.state.uploadedDocuments.find(\n (o) => o.leaseDocumentUrl === docType\n );\n if (obj !== undefined) {\n return leaseDateFormat(obj.leaseUploadDocumentDate);\n } else {\n return \"\";\n }\n }\n\n formatDate(date) {\n return leaseDateFormat(date);\n }\n\n addOtherDetails = (values) => {\n if (!this.validator.allValid()) {\n console.log(this.validator);\n this.validator.showMessages();\n return false;\n }\n\n let docSelected = this.state.uploadedDocuments.find((obj) => obj.leaseDocumentUrl === values.otherDetails.document )\n \n values.otherDetails.document = docSelected.leaseDocumentType; \n values.otherDetails.documentUrl = docSelected.leaseDocumentUrl; \n \n\n var _otherClausesDetails = this.state.otherClausesDetails;\n _otherClausesDetails.push(values.otherDetails);\n this.setState({\n otherClausesDetails: _otherClausesDetails,\n });\n const index = this.state.otherClauses.findIndex(\n (x) => x.clause_name === values.otherDetails.clauseName\n );\n if (index > -1) {\n this.state.otherClauses.splice(index, 1);\n }\n this.setState({});\n console.log(this.state.otherClausesDetails, \"needed\");\n\n return true;\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/legal-clause/get-clauses`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n otherClauses: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n \n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-clauses-details?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n athis.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n athis.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n athis.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n for (let i = 0; i < data.lease_documents.length; i++) {\n athis.state.uploadedDocumentNames.push(\n data.lease_documents[i].leaseDocumentType\n );\n }\n for (let i = 0; i < data.otherClausesDetails.length; i++) {\n const index = athis.state.otherClauses.findIndex(\n (x) => x.clause_name === data.otherClausesDetails[i].clauseName\n );\n if (index > -1) {\n athis.state.otherClauses.splice(index, 1);\n }\n }\n athis.setState({\n initialValues: data,\n otherClausesDetails: data.otherClausesDetails,\n leaseTermDD: data.leaseTermDD,\n leaseTermMM: data.leaseTermMM,\n leaseTermYY: data.leaseTermYY,\n notes_15: data.notes_15,\n pageNo: data.otherClausesDetails.pageNo,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n uploadedDocuments: data.lease_documents,\n });\n var _intialValues = athis.state.initialValues;\n _intialValues.otherDetails = {\n clauseName: \"\",\n details: \"\",\n document: \"\",\n pageNo: \"\",\n };\n athis.setState({\n initialValues: _intialValues,\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-lease-other-clauses-details?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.state.renewalLeaseTermYY = data.renewalLeaseTermYY;\n // this.state.renewalLeaseTermDD = data.renewalLeaseTermDD;\n // this.state.renewalLeaseTermMM = data.renewalLeaseTermMM;\n\n // for (let i = 0; i < data.lease_documents.length; i++) {\n // this.state.uploadedDocumentNames.push(\n // data.lease_documents[i].leaseDocumentType\n // );\n // }\n // for (let i = 0; i < data.otherClausesDetails.length; i++) {\n // const index = this.state.otherClauses.findIndex(\n // (x) => x.clause_name === data.otherClausesDetails[i].clauseName\n // );\n // if (index > -1) {\n // this.state.otherClauses.splice(index, 1);\n // }\n // }\n // this.setState({\n // initialValues: data,\n // otherClausesDetails: data.otherClausesDetails,\n // leaseTermDD: data.leaseTermDD,\n // leaseTermMM: data.leaseTermMM,\n // leaseTermYY: data.leaseTermYY,\n // notes_15: data.notes_15,\n // pageNo: data.otherClausesDetails.pageNo,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // uploadedDocuments: data.lease_documents,\n // });\n // var _intialValues = this.state.initialValues;\n // _intialValues.otherDetails = {\n // clauseName: \"\",\n // details: \"\",\n // document: \"\",\n // pageNo: \"\",\n // };\n // this.setState({\n // initialValues: _intialValues,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match.path;\n let urlPath = url.split(\"/\");\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n if (this.state.otherClausesDetails.length == 0) {\n this.mainFormValidator.showMessages(\"countError\");\n return false;\n }\n values.otherClausesDetails = this.state.otherClausesDetails;\n console.log(values, \"gg\");\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/update-lease-other-clauses-details?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n\n
\n
\n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n \n \n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Clause Name\",\n values.otherDetails.clauseName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n \n {this.validator.message(\n \"Details\",\n values.otherDetails.details,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n ))}\n \n {this.validator.message(\n \"Document List\",\n values.otherDetails.document,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n \n
\n {\n this.state.pageNo = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Page No\",\n values.otherDetails.pageNo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n\n
\n Notes/Remarks\n \n
\n\n
\n
\n {\n if (this.addOtherDetails(values)) {\n resetForm();\n this.validator.hideMessages();\n }\n }}\n >\n Add\n \n \n Reset\n \n
\n {this.mainFormValidator.message(\n \"Other Clauses\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.otherClausesDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#Clause NameDocument NameDocument DateDocument Page NumberInformation\n Action\n
{index + 1}\n {\n e.preventDefault();\n this.state.pageNo = name.pageNo;\n let obj =\n this.state.uploadedDocuments.find(\n (o) =>\n o.leaseDocumentType ===\n name.document && o.leaseDocumentUrl === name.documentUrl\n );\n this.state.currentDocument = obj.url;\n this.state.popupContentType = obj.uploadDocType;\n this.state.popupContentTypeDescription = name.details;\n this.openModal();\n }}\n >\n {name.clauseName}\n \n {name.document}\n {this.showDocumentDate(name.leaseDocumentUrl)}\n {name.pageNo}{name.pageNo}\n {\n var _docs =\n this.state.otherClausesDetails;\n _docs.splice(index, 1);\n console.log(_docs, \"new array\");\n this.setState({\n otherClausesDetails: _docs,\n });\n }}\n >\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n {this.state.popupContentType == 'pdf' ? (\n \n ) : (\n
\n {this.state.popupContentTypeDescription}\n
\n )\n }\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n {/*
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n {this.state.otherClauses.map((obj) => (\n \n {obj.clause_name}\n \n ))}\n \n {this.validator.message(\n \"Clause Name\",\n values.otherDetails.clauseName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n {this.validator.message(\n \"Details\",\n values.otherDetails.details,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n handleChange(e);\n }}\n >\n \n {this.state.uploadedDocumentNames.map(\n (obj) => (\n \n )\n )}\n \n {this.validator.message(\n \"Document List\",\n values.otherDetails.document,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.pageNo = e.target.value;\n handleChange(e);\n }}\n />\n {this.validator.message(\n \"Page No\",\n values.otherDetails.pageNo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n {\n if (this.addOtherDetails(values)) {\n resetForm();\n this.validator.hideMessages();\n }\n }}\n >\n Add\n \n \n Reset\n \n
\n Notes/Remarks\n \n
\n {this.mainFormValidator.message(\n \"Other Clauses\",\n this.countError,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.otherClausesDetails.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n \n \n );\n },\n this)}\n \n
#Clause NameDocument NameDocument DateDocument Page NumberInformation\n Action\n
{index + 1}\n {\n e.preventDefault();\n this.state.pageNo = name.pageNo;\n let obj =\n this.state.uploadedDocuments.find(\n (o) =>\n o.leaseDocumentType ===\n name.document\n );\n this.state.currentDocument = obj.url;\n this.state.popupContentType = obj.uploadDocType;\n this.state.popupContentTypeDescription = name.details;\n this.openModal();\n }}\n >\n {name.clauseName}\n \n {name.document}\n {this.showDocumentDate(name.document)}\n {name.pageNo}{name.pageNo}\n {\n var _docs =\n this.state.otherClausesDetails;\n _docs.splice(index, 1);\n console.log(_docs, \"new array\");\n this.setState({\n otherClausesDetails: _docs,\n });\n }}\n >\n \n \n
\n
\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n {this.state.popupContentType == 'pdf' ? (\n \n ) : (\n
\n {this.state.popupContentTypeDescription}\n
\n )\n }\n
\n
\n
\n \n
\n
\n
\n
*/}\n \n )}\n \n
\n
\n \n \n );\n }\n}\n\nexport default withRouter(OtherClauses);\n","import React from \"react\";\nimport { Formik, Form, Field } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { faChevronRight, faPlus, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport CreatableSelect from \"react-select/creatable\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n// import { PdfReader } from \"../../utils/DocumentViewer\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { leaseDateFormat } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nvar thisContext = {};\nvar formSubmitted = false;\nclass UploadDocument extends React.Component {\n state = {\n showLoader: false,\n redirect: false,\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n popupContent: \"\",\n messsagePopup: false,\n fileSelected: false,\n uploadedDocuments: [],\n currentDocument: \"\",\n initialValues: {\n leaseDocumentType: \"\",\n leaseDocumentUrl: \"\",\n leaseUploadDocumentDate: \"\",\n leaseUploadDocumenURL: \"\",\n uploadDocType: \"pdf\",\n },\n pageNo: 1,\n documentTable: [],\n documentNames: [\n // \"Commercial Approval Note\",\n // \"Expression of Intent\",\n // \"Letter of Intent\",\n // \"Term Sheet\",\n // \"Agreement to Lease\",\n // \"Agreement to License\",\n // \"Lease Deed\",\n // \"Leave and License Agreement\",\n // \"Atonement Deed\"\n ],\n documentNamesAfterAdd: [],\n storageType: 's3',\n showUploadDocumentsError: false,\n fileError:''\n };\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.myInputRef = React.createRef();\n\n this.getInputValue = this.getInputValue.bind(this);\n\n thisContext = this;\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n getInputValue() {\n const inputValue = this.myInputRef.current.value;\n\n console.log(inputValue, \"===\", this.myInputRef);\n }\n componentDidMount() {\n\n let athis = this;\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-document?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n\n athis.setState({ documentNames: data.documentType });\n\n for (let i = 0; i < data.data.length; i++) {\n const index = athis.state.documentNames.indexOf(\n data.data[i].leaseDocumentType\n );\n if (index > -1) {\n athis.state.documentNames.splice(index, 1);\n }\n }\n athis.state.documentTable = data.data;\n console.log(athis.state.documentTable);\n let showFileUpload = false;\n if (data.leaseDocumentType != null) {\n showFileUpload = true;\n }\n athis.setState({\n initialValues: {\n leaseCreationDate: data.leaseCreationDate,\n leaseDocumentType: data.leaseDocumentType,\n leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n leaseUploadDocumenURL: data.leaseUploadDocumenURL,\n },\n showUploadDocument: showFileUpload,\n storageType: data.additionalDetails.fileStorage\n });\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/create-lease/fetch-document?id=${this.props.match.params.id}`,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({ documentNames: data.documentType });\n\n // for (let i = 0; i < data.data.length; i++) {\n // const index = this.state.documentNames.indexOf(\n // data.data[i].leaseDocumentType\n // );\n // if (index > -1) {\n // this.state.documentNames.splice(index, 1);\n // }\n // }\n // this.state.documentTable = data.data;\n // console.log(this.state.documentTable);\n // let showFileUpload = false;\n // if (data.leaseDocumentType != null) {\n // showFileUpload = true;\n // }\n // this.setState({\n // initialValues: {\n // leaseCreationDate: data.leaseCreationDate,\n // leaseDocumentType: data.leaseDocumentType,\n // leaseUploadDocumentDate: data.leaseUploadDocumentDate,\n // leaseUploadDocumenURL: data.leaseUploadDocumenURL,\n // },\n // showUploadDocument: showFileUpload,\n // storageType: data.additionalDetails.fileStorage\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n\n changeDocumentName(e) {\n var val = e.value; //e.target.value\n this.state.documentType = val;\n\n const res = val.replace(/ /g, \"-\").toLowerCase() + \".pdf\";\n this.state.fileName = res;\n console.log(this.state.fileName, \"FN\");\n if (val !== \"\") {\n this.setState({\n showUploadDocument: true,\n });\n } else {\n this.setState({\n showUploadDocument: false,\n });\n }\n }\n\n uploadLocalFile = (e) => {\n e.preventDefault();\n\n // Allowed file extensions\n const allowedExtensions = [\"pdf\", \"xls\", \"xlsx\"];\n let extension = e.target.files[0].name.split('.').pop().toLowerCase();\n\n // Check if the extension is valid\n if (!allowedExtensions.includes(extension)) {\n this.setState({ fileError: \"Invalid file type! Allowed: PDF, XLS, XLSX\" });\n e.target.value = \"\";\n return;\n } else {\n this.setState({ fileError: \"\" });\n }\n\n const formData = new FormData();\n formData.append(\n 'imageFile', e.target.files[0]\n );\n\n formData.append(\n 'file_name', this.props.match.params.id + '_' + this.state.fileName\n );\n\n try {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/upload-document/save`,\n data: formData,\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }).then(function (response) {\n thisContext.setState({\n fileSelected: true,\n showUploadDocumentsError: false\n });\n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n\n } catch (error) {\n console.error('Error uploading file:', error);\n }\n }\n\n handleFileSelect = (event) => {\n \n const file = event.target.files[0];\n const allowedExtensions = [\"pdf\", \"xls\", \"xlsx\"];\n const extension = file.name.split('.').pop().toLowerCase();\n\n if(!allowedExtensions.includes(extension)){\n thisContext.setState({ fileError: \"Invalid file type! Allowed: PDF, XLS, XLSX\" });\n event.target.value = \"\";\n return;\n }\n\n if (event.target.files.length > 0) {\n thisContext.setState({\n fileSelected: true,\n showUploadDocumentsError: false\n });\n }\n };\n\n onUploadStart(file, next) {\n console.log(this, \"on upload start\", file, \" === \", thisContext);\n thisContext.setState({ fileSelected: true, showLoader: true });\n thisContext.setState({});\n next(file);\n }\n\n onUploadError() {\n thisContext.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong!\",\n });\n // alert(\"Something Went Wrong\");\n }\n\n onUploadFinish = (e) => {\n console.log(this.state.initialValues, \"intiali valuess before save\");\n\n var values = {\n leaseDocument: {\n leaseDocumentType: this.state.initialValues.leaseDocumentType,\n leaseUploadDocumenURL: this.state.initialValues.leaseUploadDocumenURL,\n uploadDocType: this.state.initialValues.uploadDocType || \"pdf\",\n leaseUploadDocumentDate: this.state.initialValues.leaseUploadDocumentDate,\n leaseDocumentUrl: this.state.storageType == 's3' ? fileUploadPath() + this.props.match.params.id + \"/\" + this.state.fileName : this.props.match.params.id + '_' + this.state.fileName,\n storageType: this.state.storageType\n },\n };\n\n if (this.state.fileSelected === false) {\n values[\"leaseDocument\"][\"leaseDocumentUrl\"] = \"\";\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/upload-document?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n console.log(response.data.data);\n self.state.fileSelected = false;\n if (!response.data.success) {\n } else {\n self.state.documentTable = response.data.data;\n formSubmitted = false;\n self.setState({});\n }\n });\n this.setState({\n messsagePopup: true,\n popupContent: \"File Successfully Uploaded\",\n showLoader: false,\n });\n // alert(\"File Successfully Uploaded\");\n };\n\n handleUpload(e) {\n if (this.state.storageType == 's3') {\n this.uploader.uploadFile();\n setTimeout(function () {\n if (thisContext.state.fileSelected === false) {\n thisContext.onUploadFinish(e);\n } else {\n const index = thisContext.state.documentNames.indexOf(\n thisContext.state.initialValues.leaseDocumentType\n );\n if (index > -1) {\n thisContext.state.documentNames.splice(index, 1);\n }\n thisContext.state.showUploadDocument = false;\n }\n thisContext.setState({});\n }, 200);\n } else {\n thisContext.onUploadFinish(e);\n thisContext.setState({});\n }\n\n\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, popupContent: \"\" });\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n return (\n \n
\n
\n
\n
\n \n
\n
\n\n\n {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
\n
\n
\n
\n {this.state.showLoader && (\n
\n
\n
\n
\n
\n )}\n
\n \n
\n {\n this.state.initialValues.leaseDocumentType = e.value;\n this.changeDocumentName(e);\n }}\n value={{\n label: this.state.initialValues.leaseDocumentType,\n value: this.state.initialValues.leaseDocumentType,\n }}\n options={this.state.documentNames.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"Lease Document Name\",\n this.state.initialValues.leaseDocumentType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumentDate =\n e.target.value;\n }}\n />\n {this.validator.message(\n \"lease Document Date\",\n this.state.initialValues.leaseUploadDocumentDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n {this.state.showUploadDocument && (\n <>\n
\n \n
\n {\n console.log(e.target.value, \"e checking...\");\n this.state.initialValues.uploadDocType = e.target.value;\n console.log(e.target.value, \"checking xls or pdf\");\n\n var filename = this.state.fileName;\n if (e.target.value === \"pdf\") {\n filename = filename.replace(/.pdf/g, \"\").toLowerCase();\n filename = filename.replace(/.xls/g, \"\").toLowerCase() + \".pdf\";\n } else {\n filename = filename.replace(/.pdf/g, \"\").toLowerCase() + \".xls\";\n }\n console.log(filename, \"file name\");\n this.setState({ fileName: filename });\n handleChange(e);\n }}\n >\n
\n
\n\n
\n \n
\n {this.state.storageType == 's3' ? (\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => {\n this.uploadInput = cmp;\n if (this.uploadInput) {\n this.uploadInput.addEventListener('change', this.handleFileSelect);\n }\n }}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n />\n ) : (\n {\n this.uploadLocalFile(e);\n }}\n />\n )}\n {this.validator.message(\n \"Document\",\n this.state.fileName,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n {this.state.fileError && (\n

{this.state.fileError}

\n )}\n\n
\n
\n\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumenURL = e.target.value;\n this.state.showUploadDocumentsError = false;\n handleChange(e);\n this.setState({});\n }}\n />\n {this.validator.message(\n \"lease Document URL\",\n this.state.initialValues.leaseUploadDocumenURL,\n \"url\",\n { className: \"text-danger\" }\n )}\n
\n
\n \n )}\n {this.state.showUploadDocumentsError && (\n
\n \n
\n )}\n
\n
\n {\n if (\n (typeof this.state.initialValues.leaseUploadDocumenURL === 'undefined' ||\n this.state.initialValues.leaseUploadDocumenURL === '') &&\n this.state.fileSelected === false\n ) {\n this.setState({ showUploadDocumentsError: true });\n return false;\n }\n\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (!formSubmitted) {\n this.handleUpload(e);\n formSubmitted = true;\n }\n }}\n >\n Add\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.documentTable.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n );\n },\n this)}\n \n
S.NoDocument NameDocument DateStorage Link\n Action\n
{index + 1}\n {\n e.preventDefault();\n let obj = this.state.documentTable.find(\n (o) =>\n o.leaseDocumentType ===\n name.leaseDocumentType\n );\n this.state.currentDocument = obj.url;\n console.log(obj.url, \"obj.url\");\n if (\n obj.url != \"\" &&\n obj.uploadDocType != \"xls\"\n ) {\n this.openModal();\n } else {\n window.location.href = obj.url;\n }\n }}\n >\n {name.leaseDocumentType}\n \n \n {leaseDateFormat(\n name.leaseUploadDocumentDate\n )}\n \n {typeof name.leaseUploadDocumenURL !=\n \"undefined\" && (\n \n View\n \n )}\n \n {\n let values = {\n leaseDocumentType:\n name.leaseDocumentType,\n };\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/delete-document?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n console.log(response);\n if (!response.data.success) {\n } else {\n self.state.documentTable =\n response.data.data;\n self.state.documentNames.push(\n name.leaseDocumentType\n );\n self.setState({});\n self.setState({\n messsagePopup: true,\n popupContent:\n \"Data Deleted Successfully!\",\n });\n // alert(\"Data Deleted Successfully\");\n }\n });\n }}\n >\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n {/*
\n
\n
\n {this.state.showLoader && (\n
\n \n
\n
\n
\n )}\n\n
\n
\n
\n
\n \n
\n {\n //handleChange(e);\n this.state.initialValues.leaseDocumentType =\n e.value;\n //handleChange(e);\n this.changeDocumentName(e);\n }}\n value={{\n label:\n this.state.initialValues\n .leaseDocumentType,\n value:\n this.state.initialValues\n .leaseDocumentType,\n }}\n options={this.state.documentNames.map(\n (item) => ({\n label: item,\n value: item,\n })\n )}\n />\n {this.validator.message(\n \"Lease Document Name\",\n this.state.initialValues.leaseDocumentType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumentDate =\n e.target.value;\n }}\n />\n {this.validator.message(\n \"lease Document Date\",\n this.state.initialValues\n .leaseUploadDocumentDate,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n {this.state.showUploadDocument && (\n
\n
\n
\n
\n \n
\n {\n console.log(\n e.target.value,\n \"e checking...\"\n );\n this.state.initialValues.uploadDocType =\n e.target.value;\n console.log(\n e.target.value,\n \"checking xls or pdf\"\n );\n\n var filename = this.state.fileName;\n if (e.target.value === \"pdf\") {\n filename = filename\n .replace(/.pdf/g, \"\")\n .toLowerCase();\n filename =\n filename\n .replace(/.xls/g, \"\")\n .toLowerCase() + \".pdf\";\n } else {\n filename =\n filename\n .replace(/.pdf/g, \"\")\n .toLowerCase() + \".xls\";\n }\n console.log(filename, \"file anem\");\n this.setState({ fileName: filename });\n handleChange(e);\n }}\n >\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n Upload Document\n *\n
\n
\n\n {this.state.storageType == 's3' ?\n\n
\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n //inputRef={(cmp) => (this.uploadInput = cmp)}\n inputRef={(cmp) => {\n this.uploadInput = cmp;\n if (this.uploadInput) {\n this.uploadInput.addEventListener('change', this.handleFileSelect);\n }\n }}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n //ref={this.myInputRef}\n />\n {this.validator.message(\n \"Document\",\n this.state.fileName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n :\n
\n\n\n {\n this.uploadLocalFile(e);\n }} />\n\n {this.validator.message(\n \"Document\",\n this.state.fileName,\n \"required\",\n { className: \"text-danger\" }\n )}\n
\n }\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.state.initialValues.leaseUploadDocumenURL = e.target.value;\n this.state.showUploadDocumentsError = false;\n handleChange(e);\n this.setState({});\n }}\n />\n {this.validator.message(\n \"lease Document URL\",\n this.state.initialValues\n .leaseUploadDocumenURL,\n \"url\",\n { className: \"text-danger\" }\n )}\n
\n
\n
\n
\n
\n )}\n\n {this.state.showUploadDocumentsError && (\n
\n
\n
\n
\n \n\n
\n
\n
\n
\n )}\n\n
\n {\n if (\n (typeof this.state.initialValues.leaseUploadDocumenURL === 'undefined' ||\n this.state.initialValues.leaseUploadDocumenURL === '') &&\n this.state.fileSelected === false\n ) {\n this.setState({ showUploadDocumentsError: true });\n return false;\n }\n\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n if (!formSubmitted) {\n this.handleUpload(e);\n formSubmitted = true;\n }\n }}\n >\n Add\n \n \n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {this.state.documentTable.map(function (\n name,\n index\n ) {\n return (\n \n \n \n \n \n \n \n );\n },\n this)}\n \n
S.NoDocument NameDocument DateStorage Link\n Action\n
{index + 1}\n {\n e.preventDefault();\n let obj = this.state.documentTable.find(\n (o) =>\n o.leaseDocumentType ===\n name.leaseDocumentType\n );\n this.state.currentDocument = obj.url;\n console.log(obj.url, \"obj.url\");\n if (\n obj.url != \"\" &&\n obj.uploadDocType != \"xls\"\n ) {\n this.openModal();\n } else {\n window.location.href = obj.url;\n }\n }}\n >\n {name.leaseDocumentType}\n \n \n {leaseDateFormat(\n name.leaseUploadDocumentDate\n )}\n \n {typeof name.leaseUploadDocumenURL !=\n \"undefined\" && (\n \n View\n \n )}\n \n {\n let values = {\n leaseDocumentType:\n name.leaseDocumentType,\n };\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/delete-document?lease_id=${this.props.match.params.id}`,\n data: values,\n }).then(function (response) {\n console.log(response);\n if (!response.data.success) {\n } else {\n self.state.documentTable =\n response.data.data;\n self.state.documentNames.push(\n name.leaseDocumentType\n );\n self.setState({});\n self.setState({\n messsagePopup: true,\n popupContent:\n \"Data Deleted Successfully!\",\n });\n // alert(\"Data Deleted Successfully\");\n }\n });\n }}\n >\n \n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Document
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n */}\n \n )}\n \n \n
\n \n \n );\n }\n}\n\nexport default withRouter(UploadDocument);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo,\n faMinus,\n faEye,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\n\nfunction removeLease(leaseId) {\n confirmAlert({\n title: \"Confirm to delete\",\n message: \"Are you sure you want to delete this draft lease.\",\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/create-lease/remove-lease`,\n data: { leaseId: leaseId },\n }).then(function (response) {\n console.log(response, \"response\");\n counter = Math.round();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n },\n },\n ],\n });\n}\n\nvar counter = Math.round();\n\nfunction DeleteBtn(props) {\n return (\n props.status == 0 && (\n removeLease(props.leaseId)}\n >\n \n \n )\n );\n}\n\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"BrandName\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"LCD\",\n selector: \"lcd\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Lease Term\",\n selector: \"leaseTerm\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n if (record.status == 2) {\n return (\n
\n \n \n {\" \"}\n \n \n \n
\n );\n } else {\n return (\n
\n \n \n {\" \"}\n \n \n \n \n
\n );\n }\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LeaseListingTable = ({ asset, brand, status }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n
\n \n
\n
\n );\n};\nexport default LeaseListingTable;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo,\n faMinus,\n faEye,\n faTrashAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\n\nfunction removeLease(leaseId) {\n confirmAlert({\n title: \"Confirm to delete\",\n message: \"Are you sure you want to delete this prospect.\",\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/remove-prospect`,\n data: { prospectId: leaseId },\n }).then(function (response) {\n console.log(response, \"response\");\n counter = Math.round();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n //this.loadLeaseCountStatuswise();\n },\n },\n ],\n });\n}\n\nvar counter = Math.round();\n\nfunction DeleteBtn(props) {\n return (\n (props.status == 0 && props.is_dropped == 0) && (\n removeLease(props.leaseId)}\n >\n \n \n )\n );\n}\n\nconst columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Prospect Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"BrandName\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n \n {\n name: \"Action\",\n grow: 1,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n if (record.status == 2) {\n return (\n \n \n {\" \"}\n \n \n \n );\n } else {\n return (\n
\n \n \n {\" \"}\n \n \n \n\n\n\n \n
\n );\n }\n },\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst ProspectListingTable = ({ asset, brand, status, isDropped }) => {\n console.log(isDropped, \"is dropped\");\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-prospects?asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}&isDropped=${isDropped}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n \n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-prospects?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}&isDropped=${isDropped}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n return (\n
\n
\n \n
\n
\n );\n};\nexport default ProspectListingTable;\n","import React from \"react\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faSave,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../../masters/master.css\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\n\nimport * as Yup from \"yup\";\n\nconst prospectFilterForm = Yup.object().shape({\n assetType: Yup.string().required(\"Required\"),\n city: Yup.string().required(\"Required\"),\n //brandCategory: Yup.string().required(\"Required\"),\n assetName: Yup.string().required(\"Required\"),\n //floor: Yup.string().required(\"Required\"),\n //rangeFrom: Yup.string().required(\"Required\"),\n //rangeTo: Yup.string().required(\"Required\"),\n});\n\nconst prospectValidation = Yup.object().shape({\n brand_name: Yup.string().required(\"Required\"),\n fitout_period: Yup.string().required(\"Required\"),\n notice_period: Yup.string().required(\"Required\"),\n lease_period: Yup.string().required(\"Required\"),\n lockin_period: Yup.string().required(\"Required\"),\n renewal_term: Yup.string().required(\"Required\"),\n min_guarantee: Yup.string().required(\"Required\"),\n revenue_share: Yup.string().required(\"Required\"),\n rent_deposit: Yup.string().required(\"Required\"),\n cam_deposit: Yup.string().required(\"Required\"),\n cam_rate: Yup.string().required(\"Required\"),\n marketing_fund: Yup.string().required(\"Required\"),\n property_tax: Yup.string().required(\"Required\"),\n parking: Yup.string().required(\"Required\"),\n signage: Yup.string().required(\"Required\"),\n stamp_duty_by: Yup.string().required(\"Required\"),\n exclusivity: Yup.string().required(\"Required\"),\n remarks: Yup.string().required(\"Required\"),\n});\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass Prospect extends React.Component {\n state = {\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n brandCategories: [],\n brandCategoryName: \"\",\n brandCategory: \"\",\n assetTypeList: [],\n brandCategoryList: [],\n cityList: [],\n assetList: [],\n floorList: [],\n comparativeData: [],\n initialValues: {\n assetType: \"\",\n city: \"\",\n brandCategory: \"\",\n assetName: \"\",\n floor: \"\",\n grossLeaseAreaFrom: \"\",\n grossLeaseAreaTo: \"\",\n rangeFrom: \"\",\n rangeTo: \"\",\n areaType: \"\",\n areaTypeValue: \"\"\n },\n prospectInitialValues: {\n brand_name: \"\",\n fitout_period: \"\",\n lease_period: \"\",\n lockin_period: \"\",\n min_guarantee: \"\",\n revenue_share: \"\",\n rent_deposit: \"\",\n cam_deposit: \"\",\n cam_rate: \"\",\n marketing_fund: \"\",\n property_tax: \"\",\n parking: \"\",\n signage: \"\",\n stamp_duty_by: \"\",\n exclusivity: \"\",\n remarks: \"\",\n notice_period: \"\",\n renewal_term: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-asset-type`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypeList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-cities`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/prospect/fetch-brand-category`,{headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandCategoryList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n changeCity = (newValue) => {\n this.state.initialValues.city = newValue.value;\n this.state.initialValues.city = newValue.label;\n this.setState({});\n this.fetchAsset();\n };\n changeAssetType = (newValue) => {\n this.state.initialValues.assetType = newValue.value;\n this.state.initialValues.assetType = newValue.label;\n this.setState({});\n this.fetchAsset();\n };\n changeBrandCategory = (newValue) => {\n this.state.initialValues.brandCategory = newValue.value;\n this.state.initialValues.brandCategory = newValue.label;\n this.setState({});\n };\n changeAsset = (newValue) => {\n this.state.initialValues.assetName = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n this.fetchFloor();\n };\n changeAreaType = (newValue) => {\n this.state.initialValues.areaTypeValue = newValue.value;\n\n this.state.initialValues.areaType = newValue.label;\n this.setState({});\n //this.fetchFloor();\n };\n changeFloor = (newValue) => {\n console.log(\"cahnge floor\");\n this.state.initialValues.floor = newValue.value;\n this.state.initialValues.floor = newValue.label;\n this.setState({});\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n };\n\n fetchAsset = () => {\n fetch(\n `${apiUrl.apiUrl.url}/prospect/fetch-asset?asset_type=${this.state.initialValues.assetType}&search_term=&city=${this.state.initialValues.city}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fetchFloor = () => {\n fetch(\n `${apiUrl.apiUrl.url}/prospect/fetch-floor?asset=${this.state.initialValues.assetName}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n floorList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n
\n {\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n this.state.initialValues.grossLeaseAreaFrom = values.rangeFrom;\n this.state.initialValues.grossLeaseAreaTo = values.rangeTo;\n this.setState({});\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/fetch-leases?${prm}`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something went wrong\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something went wrong',\n });\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n self.setState({ redirect: true });\n if (typeof response.data.data != \"undefined\") {\n self.state.comparativeData = response.data.data;\n } else {\n // alert(\"No Comparatives found for these criteria.\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'No Comparatives found for these criteria.',\n });\n self.state.comparativeData = [];\n }\n\n self.setState({});\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeAssetType(e);\n }}\n options={this.state.assetTypeList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeBrandCategory(e, values);\n }}\n options={this.state.brandCategoryList.map(\n (item) => ({\n label: item,\n value: item,\n })\n )}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeCity(e, values);\n }}\n options={this.state.cityList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n //this.changeGroup(e);\n handleChange(e);\n }}\n />\n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeAsset(e, values);\n }}\n options={this.state.assetList.map((item) => ({\n label: item.complex,\n value: item.complex,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeAreaType(e, values);\n }}\n options={[{ 'key': 'Carpet', 'value': 'carpet' }, { 'key': 'chargeable', 'value': 'Gross Leasable Area' }].map(\n (item) => ({\n label: item.value,\n value: item.key\n })\n )}\n />\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {\n this.changeFloor(e);\n }}\n options={this.state.floorList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n )}\n \n\n \n \n {(close) => (\n
\n {this.state.popupMessageContent}\n \n ×\n \n
\n )}\n
\n {\n for (const [key, value] of Object.entries(\n this.state.prospectInitialValues\n )) {\n this.state.prospectInitialValues[key] = \"\";\n }\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n values.asset_type = this.state.initialValues.assetType;\n values.city = this.state.initialValues.city;\n values.brand_category = this.state.initialValues.brandCategory;\n values.asset_name = this.state.initialValues.assetName;\n values.floor = this.state.initialValues.floor;\n values.gla_from = this.state.initialValues.grossLeaseAreaFrom;\n values.gla_to = this.state.initialValues.grossLeaseAreaTo;\n values.comparativeData = this.state.comparativeData;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/prospect/save`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something went wrong\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something went wrong',\n });\n actions.setSubmitting(false);\n\n actions.setErrors(response.data);\n } else {\n for (const [key, value] of Object.entries(\n self.state.prospectInitialValues\n )) {\n self.state.prospectInitialValues[key] = \"\";\n self.setState({});\n }\n for (const [key, value] of Object.entries(\n self.state.initialValues\n )) {\n self.state.initialValues[key] = \"\";\n self.setState({});\n }\n //self.state.comparativeData = [];\n self.setState({});\n\n // self.setState({ redirect: true });\n // alert(\"Data Saved successfully.\");\n self.setState({\n messsagePopup: true,\n });\n\n self.props.history.push(\n \"/createlease/prospect/view/\" + response.data.id\n );\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Field NameProspectComparative 001Comparative 002Comparative 003
\n
Brand Name
\n
\n \n \n \n {this.state.comparativeData[0][\"Brand Name\"]}\n \n {this.state.comparativeData[1][\"Brand Name\"]}\n \n {this.state.comparativeData[2][\"Brand Name\"]}\n
\n
\n
\n
\n
\n
\n
\n \n \n LEASE TERMS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Lease TermProspectComparative 001Comparative 002Comparative 003
\n
Fitout Period (Days)
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Fitout Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Fitout Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Fitout Period\"\n ]\n }\n
\n
Lease Period
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Lease Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Lease Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Lease Period\"\n ]\n }\n
\n
Lock In Period
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Lockin Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Lockin Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Lockin Period\"\n ]\n }\n
\n
Notice Period
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Notice Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Notice Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Notice Period\"\n ]\n }\n
\n
Renewal Terms
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Renewal Date\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Renewal Date\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Renewal Date\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n COMMERCIALS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
CommercialsProspectComparative 001Comparative 002Comparative 003
\n
Minimum Guarantee
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Mininum Guarantee\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Mininum Guarantee\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Mininum Guarantee\"\n ]\n }\n
\n
Revenue Share (%)
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Revenue Share\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Revenue Share\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Revenue Share\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n SECURITY DEPOSITS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Security DepositsProspectComparative 001Comparative 002Comparative 003
\n
Rent Deposits (Months)
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Rent Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Rent Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Rent Deposits\"\n ]\n }\n
\n
CAM Deposits (Months)
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n OTHER TERMS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Other TermsProspectComparative 001Comparative 002Comparative 003
\n
CAM Rate
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"CAM Rate\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Rate\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Rate\"\n ]\n }\n
\n
Marketing Fund
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Marketing Fund\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Marketing Fund\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Marketing Fund\"\n ]\n }\n
\n
Property Taxes
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Property Taxes\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Property Taxes\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Property Taxes\"\n ]\n }\n
\n
Parking
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Car Parks\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Car Parks\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Car Parks\"\n ]\n }\n
\n
Signage
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Signage Rights\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Signage Rights\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Signage Rights\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n OTHER CLAUSES\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Other ClausesProspectComparative 001Comparative 002Comparative 003
\n
Stamp Duty By
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"Stamp Duty By\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Stamp Duty By\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Stamp Duty By\"\n ]\n }\n
\n
Exclusivity
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
Remarks
\n
\n \n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n )}\n \n
\n );\n }\n}\n\nexport default withRouter(Prospect); \n","import React from \"react\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faChevronCircleDown,\n faCheck,\n faCheckCircle,\n faExclamationTriangle,\n faTimesCircle,\n faFileSignature,\n faSearchPlus,\n} from \"@fortawesome/free-solid-svg-icons\";\n// import styles from \"../../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link, useHistory } from \"react-router-dom\";\nimport LeaseListingTable from \"./LeaseListingTable\";\nimport ProspectListingTable from './ProspectListingTable';\nimport { DropdownButton, Dropdown } from \"react-bootstrap\";\nimport \"bootstrap\";\n\nimport { hasAccess } from \"../../utils/index\";\nimport Prospect from \"../prospect/Prospect\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseListing extends React.Component {\n state = {\n showProspect: false,\n isDropped: false,\n redirect: false,\n brands: [],\n assets: [],\n statusCount: {},\n selectedBrand: \"\",\n selectedAsset: \"\",\n selectedStatus: 2,\n randomNum: \"\",\n activeIndex: null,\n state: \"\"\n };\n\n constructor(props) {\n super(props);\n this.goToCreateLease = this.goToCreateLease.bind(this);\n this.goToProspect = this.goToProspect.bind(this);\n\n //let match = useRouteMatch();\nconsole.log(props,\"props\")\n if (!hasAccess([\"admin\"])) {\n console.log(\"calingg\");\n let path = `/lease-summary`;\n this.props.history.push(path);\n }\n }\n\n componentDidMount() {\n this.loadBrands();\n this.loadAssets();\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/get-status-count`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n statusCount: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.loadLeaseCountStatuswise();\n }\n\n loadLeaseCountStatuswise = (brand,asset) => {\n console.log(asset, \"asset\");\n // this.setState({});\n var brandId = typeof brand != \"undefined\" ? brand : this.state.selectedBrand;\n var assetId = typeof asset != \"undefined\" ? asset : this.state.selectedAsset;\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-status-count?brand=` +\n brandId +\n `&stateId=${this.state.state}&asset=${assetId}`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n ths.setState({\n statusCount: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.setState({});\n }\n\n\n loadAssets = async () => {\n const response = await axios.get(`${apiUrl.apiUrl.url}/assets`);\n console.log(response);\n this.state.assets = response.data;\n this.setState({});\n };\n\n loadBrands = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=1&per_page=100&delay=1`\n );\n this.state.brands = response.data.data;\n this.setState({});\n };\n goToCreateLease = () => {\n let path = `/${this.props.match.path}/lease-landlord`;\n this.props.history.push(path);\n };\n goToProspect = () => {\n let path = `/${this.props.match.path}/prospect`;\n this.props.history.push(path);\n };\n render() {\n return (\n \n
\n {this.renderForm()}\n
\n \n );\n }\n\n renderForm() {\n return (\n
\n
\n
\n
\n
\n \n Create Lease\n \n
\n
\n \n Prospect\n \n
\n
\n
\n {\n this.setState({\n selectedAsset: e.target.value,\n randomNum: Math.random(),\n });\n this.loadLeaseCountStatuswise( this.state.selectedBrand , e.target.value);\n }}\n >\n \n {this.state.assets.map((x) => (\n \n ))}\n \n
\n
\n
\n
\n {\n this.setState({\n selectedBrand: e.target.value,\n randomNum: Math.random(),\n });\n\n this.loadLeaseCountStatuswise( e.target.value , this.state.selectedAsset)\n\n }}\n >\n \n {this.state.brands.map((x) => (\n \n ))}\n \n
\n
\n
\n
\n
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n\n // this.setState({\n // selectedStatus: 5,\n // randomNum: Math.random(),\n // });\n this.setState({\n selectedStatus: 5,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: false\n })\n \n\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.prospect}

\n
\n
\n

Draft Prospect

\n
\n
\n
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 6,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: true\n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.dropped}

\n
\n
\n

Final Prospect

\n
\n
\n
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random() \n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.draft}

\n
\n
\n

Draft

\n
\n
\n
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.approval}

\n
\n
\n

Approval

\n
\n
\n
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n showProspect: false\n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.active}

\n
\n
\n

Active

\n
\n
\n
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n showProspect: false\n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.expired}

\n
\n
\n

Expired

\n
\n
\n
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 4,\n randomNum: Math.random(),\n showProspect: false\n });\n }}\n >\n
\n
\n
\n \n \n \n
\n
\n

{this.state.statusCount.terminated}

\n
\n
\n

Terminated

\n
\n
\n
\n \n \n \n \n\n { this.state.showProspect ? : \n \n }\n \n );\n }\n}\n\nexport default withRouter(LeaseListing);\n","import React from \"react\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faSave,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../../masters/master.css\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport \"bootstrap\";\nimport Accordion from \"react-bootstrap/Accordion\";\n\nimport * as Yup from \"yup\";\n\nconst prospectFilterForm = Yup.object().shape({\n assetType: Yup.string().required(\"Required\"),\n city: Yup.string().required(\"Required\"),\n brandCategory: Yup.string().required(\"Required\"),\n assetName: Yup.string().required(\"Required\"),\n floor: Yup.string().required(\"Required\"),\n rangeFrom: Yup.string().required(\"Required\"),\n rangeTo: Yup.string().required(\"Required\"),\n});\n\nconst prospectValidation = Yup.object().shape({\n brand_name: Yup.string().required(\"Required\"),\n fitout_period: Yup.string().required(\"Required\"),\n notice_period: Yup.string().required(\"Required\"),\n lease_period: Yup.string().required(\"Required\"),\n lockin_period: Yup.string().required(\"Required\"),\n renewal_term: Yup.string().required(\"Required\"),\n min_guarantee: Yup.string().required(\"Required\"),\n revenue_share: Yup.string().required(\"Required\"),\n rent_deposit: Yup.string().required(\"Required\"),\n cam_deposit: Yup.string().required(\"Required\"),\n cam_rate: Yup.string().required(\"Required\"),\n marketing_fund: Yup.string().required(\"Required\"),\n property_tax: Yup.string().required(\"Required\"),\n parking: Yup.string().required(\"Required\"),\n signage: Yup.string().required(\"Required\"),\n stamp_duty_by: Yup.string().required(\"Required\"),\n exclusivity: Yup.string().required(\"Required\"),\n remarks: Yup.string().required(\"Required\"),\n});\n\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ProspectDetail extends React.Component {\n\n state = {\n redirect: false,\n brandCategories: [],\n brandCategoryName: \"\",\n brandCategory: \"\",\n assetTypeList: [],\n brandCategoryList: [],\n cityList: [],\n assetList: [],\n floorList: [],\n comparativeData: [],\n fiterFormData: [],\n initialValues: {\n assetType: \"asdasd\",\n city: \"\",\n brandCategory: \"\",\n assetName: \"\",\n floor: \"\",\n grossLeaseAreaFrom: \"\",\n grossLeaseAreaTo: \"\",\n rangeFrom: \"\",\n rangeTo: \"\",\n },\n prospectInitialValues: {\n brand_name: \"\",\n fitout_period: \"\",\n lease_period: \"\",\n lockin_period: \"\",\n min_guarantee: \"\",\n revenue_share: \"\",\n rent_deposit: \"\",\n cam_deposit: \"\",\n cam_rate: \"\",\n marketing_fund: \"\",\n property_tax: \"\",\n parking: \"\",\n signage: \"\",\n stamp_duty_by: \"\",\n exclusivity: \"\",\n remarks: \"\",\n notice_period: \"\",\n renewal_term: \"\",\n },\n };\n\n constructor(props) {\n super(props);\n }\n componentDidMount() {\n fetch(\n `${apiUrl.apiUrl.url}/prospect/fetch-prospect-details?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n fiterFormData: data.data,\n comparativeData: data.comparativeData,\n });\n \n })\n .catch((error) => {\n console.log(error);\n });\n\n \n }\n changeCity = (newValue) => {\n this.state.initialValues.city = newValue.value;\n this.state.initialValues.city = newValue.label;\n this.setState({});\n this.fetchAsset();\n };\n changeAssetType = (newValue) => {\n this.state.initialValues.assetType = newValue.value;\n this.state.initialValues.assetType = newValue.label;\n this.setState({});\n };\n changeBrandCategory = (newValue) => {\n this.state.initialValues.brandCategory = newValue.value;\n this.state.initialValues.brandCategory = newValue.label;\n this.setState({});\n };\n changeAsset = (newValue) => {\n this.state.initialValues.assetName = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n this.fetchFloor();\n };\n changeFloor = (newValue) => {\n this.state.initialValues.floor = newValue.value;\n this.state.initialValues.floor = newValue.label;\n this.setState({});\n };\n\n fetchAsset = () => {\n fetch(\n `${apiUrl.apiUrl.url}/prospect/fetch-asset?asset_type=${this.state.initialValues.assetType}&search_term=&city=${this.state.initialValues.city}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fetchFloor = () => {\n fetch(\n `${apiUrl.apiUrl.url}/prospect/fetch-floor?asset=${this.state.initialValues.assetName}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n floorList: data.data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n render() {\n return (\n \n \n {this.renderForm()}\n \n \n );\n }\n\n renderForm() {\n return (\n
\n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n )}\n
\n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n
\n
\n
\n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Field NameProspectComparative 001Comparative 002Comparative 003
\n
Brand Name
\n
\n \n \n {this.state.comparativeData[0][\"Brand Name\"]}\n \n {this.state.comparativeData[1][\"Brand Name\"]}\n \n {this.state.comparativeData[2][\"Brand Name\"]}\n
\n
\n
\n
\n
\n
\n
\n \n \n LEASE TERMS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Lease TermProspectComparative 001Comparative 002Comparative 003
\n
Fitout Period (Days)
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Fitout Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Fitout Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Fitout Period\"\n ]\n }\n
\n
Lease Period
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Lease Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Lease Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Lease Period\"\n ]\n }\n
\n
Lock In Period
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Lockin Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Lockin Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Lockin Period\"\n ]\n }\n
\n
Notice Period
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Notice Period\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Notice Period\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Notice Period\"\n ]\n }\n
\n
Renewal Terms
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Renewal Date\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Renewal Date\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Renewal Date\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n COMMERCIALS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
CommercialsProspectComparative 001Comparative 002Comparative 003
\n
Minimum Guarantee
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Mininum Guarantee\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Mininum Guarantee\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Mininum Guarantee\"\n ]\n }\n
\n
Revenue Share (%)
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Revenue Share\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Revenue Share\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Revenue Share\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n SECURITY DEPOSITS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Security DepositsProspectComparative 001Comparative 002Comparative 003
\n
Rent Deposits (Months)
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Rent Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Rent Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Rent Deposits\"\n ]\n }\n
\n
CAM Deposits (Months)
\n
\n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n OTHER TERMS\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Other TermsProspectComparative 001Comparative 002Comparative 003
\n
CAM Rate
\n
\n \n \n {\n this.state.comparativeData[0][\n \"CAM Rate\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Rate\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Rate\"\n ]\n }\n
\n
Marketing Fund
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Marketing Fund\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Marketing Fund\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Marketing Fund\"\n ]\n }\n
\n
Property Taxes
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Property Taxes\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Property Taxes\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Property Taxes\"\n ]\n }\n
\n
Parking
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Car Parks\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Car Parks\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Car Parks\"\n ]\n }\n
\n
Signage
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Signage Rights\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Signage Rights\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Signage Rights\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n OTHER CLAUSES\n \n
\n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n \n \n {this.state.comparativeData.length >= 1 && (\n \n )}\n {this.state.comparativeData.length >= 2 && (\n \n )}\n {this.state.comparativeData.length >= 3 && (\n \n )}\n \n \n
Other ClausesProspectComparative 001Comparative 002Comparative 003
\n
Stamp Duty By
\n
\n \n \n {\n this.state.comparativeData[0][\n \"Stamp Duty By\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"Stamp Duty By\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"Stamp Duty By\"\n ]\n }\n
\n
Exclusivity
\n
\n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
Remarks
\n
\n \n \n {\n this.state.comparativeData[0][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[1][\n \"CAM Deposits\"\n ]\n }\n \n {\n this.state.comparativeData[2][\n \"CAM Deposits\"\n ]\n }\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n )}\n \n
\n );\n }\n}\n\nexport default withRouter(ProspectDetail);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCheck, faChevronRight, faSave, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport \"react-tabs/style/react-tabs.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport \"bootstrap\";\nimport LeaseDetails from \"../../viewLease/LeaseDetails\";\nimport { hasAccess, getUserType } from \"../../utils/index\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass SubmitLease extends React.Component {\n state = {\n redirect: false,\n leaseStatus: \"\",\n initialValues: {},\n leaseCreationDate: \"\",\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n leaseId: \"\",\n unit: [],\n occupierBrand: [],\n occupier: [],\n leaseTermDetails: [],\n renewalTerms: [],\n lockIn: [],\n lockInOccupier: [],\n rentalDetails: [],\n camDetails: [],\n utilities: [],\n mfDetails: [],\n pTaxDetails: [],\n parkingStorageSignage: [],\n rentDepositDetails: [],\n camDepositDetails: [],\n otherDepositDetails: [],\n uploadedDocs: [],\n commercialClauses: [],\n otherClauses: [],\n universalKey: \"\",\n currentSelection: \"Parties, Landlord & Unit Details\",\n reviewedOptions: [],\n reviewedCheck: false,\n leaseMenus: [],\n history: [],\n nextSelection: \"Parties, Landlord & Unit Details\",\n counter: Math.round(),\n };\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n fetch(\n `${apiUrl.apiUrl.url}/create-lease/get-lease-status?leaseId=` +\n this.props.match.params.id,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseStatus: data.data.status,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/fetch-lease-menus?leaseId=` +this.props.match.params.id,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseMenus: data.data,\n history: data.history,\n nextSelection: data.data[0],\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n leaseChecked = (val) => {\n this.setState({ currentSelection: val });\n };\n\n checkedLease = () => {\n const index = this.state.reviewedOptions.indexOf(\n this.state.currentSelection\n );\n console.log(index);\n if (index != -1) {\n this.state.reviewedOptions.splice(index, 1);\n } else {\n this.state.reviewedOptions.push(this.state.currentSelection);\n }\n\n var nextindex = this.state.leaseMenus.indexOf(this.state.currentSelection);\n if (nextindex >= 0 && nextindex < this.state.leaseMenus.length - 1) {\n var nextItem = this.state.leaseMenus[nextindex + 1];\n //this.setState({ nextSelection: nextItem, counter: Math.round() });\n\n this.setState(\n {\n nextSelection: nextItem,\n },\n () => {\n //console.log(\"new callback\", this.state.nextSelection);\n //this.setState({ counter: Math.round() });\n }\n );\n\n console.log(\"new val\", this.state.nextSelection);\n this.state.nextSelection = nextItem;\n }\n\n this.setState({});\n };\n\n submitForApproval = () => {\n var values = {};\n this.state.leaseStatus = 2;\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n };\n\n submitForReject = () => {\n this.state.leaseStatus = 0;\n var values = {};\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n \n
\n
\n
\n
\n
    \n
  • Create Lease
  • \n
  • \n
  • Submit Lease
  • \n
  • \n
  • \n Submit Lease\n
  • \n
\n
\n
\n\n\n {\n this.state.leaseStatus = 1;\n values.leaseStatus = this.state.leaseStatus;\n values.leaseSummaryReviewed = 1;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/create-lease/update-lease-status?lease_id=` +\n this.props.match.params.id,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n self.setState({ messsagePopup: true });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
\n \n\n {this.state.leaseStatus == 0 && (\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n )}\n\n
\n
\n
\n
\n \n {this.state.reviewedOptions.length ==\n this.state.leaseMenus.length && (\n \n {this.state.leaseStatus == 0 && (\n \n )}\n
\n )}\n\n {(hasAccess([\"admin\", \"checker\"]) && (this.state.leaseStatus == 1)) && ( //|| this.state.leaseStatus == 2\n
\n {\n //this.state.leaseStatus = 2;\n this.submitForApproval();\n }}\n >\n Approve\n \n {\n //this.state.leaseStatus = 2;\n this.submitForReject();\n }}\n >\n Reject\n \n
\n )}\n
\n
\n
\n
\n
\n\n \n
\n
\n \n \n \n \n \n \n \n \n \n
User NameRole\n Action\n TimeStamp
\n
\n
\n \n \n )}\n \n \n \n \n \n );\n }\n}\n\nexport default withRouter(SubmitLease);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faTrash, faUndo, faPen, faMinus, faTimes, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport { clientAccess, clientId } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { Tab, TabList, TabPanel, Tabs } from \"react-tabs\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RentCharge extends React.Component {\n state = {\n popupContent: \"\",\n messsagePopup: false,\n redirect: false,\n id: undefined,\n initialValues: {\n },\n vendorList: [\n {\n id: 1,\n company_name: \"Vendor 1\",\n },\n {\n id: 2,\n company_name: \"Vendor 2\",\n }\n ],\n existingCharges: [{}],\n readOnly: false,\n percentageErr: \"\",\n };\n\n componentDidMount() {\n const { id } = this.props.match.params;\n\n axios.get(`${apiUrl.apiUrl.url}/landlord/lease-wise-list?id=${id}`)\n .then(response => {\n console.log(response);\n let data = response.data.data;\n\n const vendor = data.map(item => ({\n value: item.id,\n label: item.company_name\n }));\n\n this.setState({\n vendorList: vendor\n });\n });\n\n \n\n axios.get(`${apiUrl.apiUrl.url}/create-lease/fetch-landlord-charges?id=` + id)\n .then(response => {\n const list = response.data.list;\n const landlordDetails = [\n Object.keys(list).reduce((acc, key) => {\n acc[key] = list[key].map((item) => ({\n landlord_id: item.landlord_id,\n percent: parseFloat(item.percentage).toString(),\n }));\n return acc;\n }, {}),\n ];\n\n this.setState({\n existingCharges: landlordDetails\n });\n });\n\n };\n \n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n tenant: '',\n contacts: []\n },\n });\n};\n\n componentDidUpdate() {\n }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n \n\n render() {\n const { id } = this.props.match.params;\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n <>\n
\n
\n
    \n
  • \n Masters\n
  • \n
  • \n \n
  • \n
  • \n Create Lease\n
  • \n
  • \n \n
  • \n
  • \n Landlord Charge\n
  • \n
\n
\n
\n
\n {this.renderForm()}\n
\n \n );\n }\n\n\n renderForm() {\n\n const tabList = [\n {\n label: \"CAM\",\n value: \"cam\",\n },\n {\n label: \"RENT\",\n value: \"rent\",\n },\n // {\n // label: \"Other Rent Details\",\n // value: \"other rent details\",\n // },\n {\n label: \"Property Tax\",\n value: \"property tax\",\n },\n {\n label: \"Marketing Fund\",\n value: \"marketing fund\",\n },\n {\n label: \"Parking 2W\",\n value: \"parking 2w\",\n },\n {\n label: \"Parking 4W\",\n value: \"parking 4w\",\n },\n {\n label: \"Parking Other\",\n value: \"parking other\",\n },\n {\n label: \"Storage\",\n value: \"storage\",\n },\n {\n label: \"Signage\",\n value: \"signage\",\n },\n ];\n\n return (\n <>\n
\n {\n this.setState({percentageErr : \"\"});\n const { id } = this.props.match.params;\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url+'/create-lease/add-landlord-charges?id=' + id,\n data: values,\n }).then(function (response) {\n\n if (response.data.status == 'success') {\n \n self.setState({\n messsagePopup: true,\n popupContent: \"Detail Saved Successfully!\",\n url: `${apiUrl.apiUrl.url}/amendlease/submit-lease/${id}`\n });\n\n } else {\n //self.state.percentageErr =response.data.message;\n self.state.percentageErr ='Please select the landlord and provide the respective percentage.';\n self.setState({});\n }\n });\n\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n
\n \n \n {tabList.map((tabItem, index) => (\n this.setState({ percentageErr: '' })}>{tabItem.label}\n ))}\n \n\n {tabList.map((tabItem, index) => {\n return (\n \n
\n (\n
\n {values.landlordDetails[0][tabItem.value] && values.landlordDetails[0][tabItem.value].length > 0 ? (\n values.landlordDetails[0][tabItem.value].map((item, idx) => (\n
\n
\n
\n

Landlord Details

\n
\n
\n
\n option.value === item.landlord_id) || null}\n onChange={(selectedOption) => {\n this.setState({percentageErr : \"\"});\n arrayHelpers.replace(idx, {\n ...item,\n landlord_id: selectedOption?.value || '',\n });\n }}\n />\n {\n // Only allow numbers and a single dot\n e.target.value = e.target.value.replace(/[^0-9.]/g, ''); \n \n // Restrict to valid percentage format (0-100 with up to 2 decimals)\n const validPercentageRegex = /^(\\d{1,2}(\\.\\d{0,2})?|100(\\.0{0,2})?)$/;\n if (!validPercentageRegex.test(e.target.value) && e.target.value !== '') {\n e.target.value = e.target.value.slice(0, -1); // Remove last invalid character\n }\n }}\n onChange={(e) => {\n this.setState({ percentageErr: \"\" }); // Clear error initially\n const newValue = parseFloat(e.target.value) || 0;\n \n // Safely access values.landlordDetails[0][tabItem.value]\n const landlordDetails =\n values.landlordDetails && values.landlordDetails[0]\n ? values.landlordDetails[0][tabItem.value] || []\n : [];\n \n const otherValues = landlordDetails.reduce((sum, val, i) => {\n // Exclude the current index value\n if (i !== idx) {\n return sum + (parseFloat(val.percent) || 0);\n }\n return sum;\n }, 0);\n \n // Check if cumulative value exceeds 100\n if (newValue + otherValues <= 100) {\n handleChange(e); // Update Formik state\n } else {\n this.setState({\n percentageErr: \"Cumulative percentage cannot exceed 100. Please adjust.\"\n });\n }\n }}\n\n />\n
\n
\n
\n
\n {idx > 0 && (\n arrayHelpers.remove(idx)}\n >\n Delete\n \n )}\n {idx < 1 && (\n arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add\n \n )}\n
\n
\n
\n
\n ))\n ) : (\n <>\n
\n
\n

Landlord Details

\n
\n
\n
\n option.value === item.landlord_id) || null}\n onChange={(selectedOption) => {\n arrayHelpers.replace(0, {\n landlord_id: selectedOption?.value || '',\n });\n }}\n />\n {\n // Only allow numbers and a single dot\n e.target.value = e.target.value.replace(/[^0-9.]/g, ''); \n \n // Restrict to valid percentage format (0-100 with up to 2 decimals)\n const validPercentageRegex = /^(\\d{1,2}(\\.\\d{0,2})?|100(\\.0{0,2})?)$/;\n if (!validPercentageRegex.test(e.target.value) && e.target.value !== '') {\n e.target.value = e.target.value.slice(0, -1); // Remove last invalid character\n }\n }}\n onChange={(e) => {\n this.setState({ percentageErr: \"\" }); // Clear error initially\n const newValue = parseFloat(e.target.value) || 0;\n \n // Safely access values.landlordDetails[0][tabItem.value]\n const landlordDetails =\n values.landlordDetails && values.landlordDetails[0]\n ? values.landlordDetails[0][tabItem.value] || []\n : [];\n \n const otherValues = landlordDetails.reduce((sum, val, i) => {\n // Exclude the current index value\n if (i !== 0) {\n return sum + (parseFloat(val.percent) || 0);\n }\n return sum;\n }, 0);\n \n // Check if cumulative value exceeds 100\n if (newValue + otherValues <= 100) {\n handleChange(e); // Update Formik state\n } else {\n this.setState({\n percentageErr: \"Cumulative percentage cannot exceed 100. Please adjust.\"\n });\n }\n }}\n />\n
\n
\n
\n
\n {0 > 0 && (\n arrayHelpers.remove(0)}\n >\n Delete\n \n )}\n {0 < 1 && (\n arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add\n \n )}\n
\n
\n
\n {/* arrayHelpers.push({ landlord_id: '', percent: '' })}\n >\n Add Landlord Info\n */}\n \n )}\n
\n )}\n />\n
\n
\n );\n })}\n\n
\n\n
\n

{this.state.percentageErr}

\n \n
\n\n
\n )}\n \n \n \n\n
\n \n );\n }\n}\n\nexport default withRouter(RentCharge);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams, Redirect\n} from \"react-router-dom\";\nimport LeaseMenu from \"./LeaseMenu\";\n// import UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport styles from \"./createLease.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faKey,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport LeaseLandlord from \"./parties/LeaseLandlord\";\nimport LeaseOccupier from \"./parties/LeaseOccupier\";\nimport LeaseTermDetails from \"./criticaldates/LeaseTermDetails\";\nimport LeaseBrokerDetails from \"./parties/LeaseBrokerDetails\";\nimport LockInNoticePeriod from \"./criticaldates/LockInNoticePeriod\";\nimport RentalDetails from \"./commercialDetails/RentalDetails\";\nimport OtherRentalDetails from \"./commercialDetails/OtherRentalDetails\"\nimport CamDetails from \"./commercialDetails/CamDetails\";\nimport Utilities from \"./otherCharges/Utilities\";\nimport MarketingFund from \"./otherCharges/MarketingFund\";\nimport PropertyMuncipalTax from \"./otherCharges/Property-Muncipal-Tax\";\nimport ParkingStorageSignage from \"./otherCharges/Parking-Storage-Signage\";\nimport RentDepositDetails from \"./securityDepositDetails/RentDepositDetails\";\nimport CAMDepositDetails from \"./securityDepositDetails/CAMDepositDetails\";\nimport OtherDepositDetails from \"./securityDepositDetails/OtherDepositDetails\";\nimport CommercialClauses from \"./criticalClauses/CommercialClauses\";\nimport OtherClauses from \"./criticalClauses/OtherClauses\";\nimport UploadDocument from \"./criticalClauses/UploadDocument\";\nimport ListingForm from \"./leaseList/ListingForm\";\nimport Prospect from \"./prospect/Prospect\";\nimport ProspectDetail from \"./prospect/ProspectDetail\";\nimport TopHeader from \"../layout/TopHeader\";\nimport SubmitLease from \"./submitLease/SubmitLease\";\nimport RentCharge from \"./chargeType/RentCharge\";\n\n\n\n\n\nexport default function CreateLease() {\n let match = useRouteMatch();\n\n return (\n
\n \n
\n
\n {/*

Masters

*/}\n\n {/* The Topics page has its own with more routes\n that build on the /topics URL path. You can think of the\n 2nd here as an \"index\" page for all topics, or\n the page that is shown when no topic is selected */}\n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n\n\n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n\n \n
\n
\n
\n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCommentDots } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport apiUrl from \"../apiUrlConstant\";\nimport Select from \"react-select\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\nconst labels = [];\n\nconst formHeaders = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nexport const chartOneOptions = {\n chart: {\n title: \"Sales View Report\",\n },\n legend: { position: \"right\" },\n};\n\nexport const chartRentOptions = {\n chart: {\n title: \"Lease Rent Trend\",\n },\n legend: { position: \"right\" },\n};\n\nclass LeaseGraphPopup extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n IsModalOpened: this.props.IsModalOpened,\n onCloseModal: this.props.onCloseModal,\n leaseId: this.props.leaseId,\n fySelected: [],\n leaseData: {},\n fianancialYears: [],\n popupHeading: \"\",\n chartOneData: [\n // [\n // \"Months\",\n // \"2022-23\",\n // ],\n // [\"Mon\", 37.8, 80.8, 41.8],\n // [2, 30.9, 69.5, 32.4],\n ],\n\n chartRentData: [],\n };\n }\n componentDidMount() {\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=${this.state.leaseId}`,\n {\n method: \"GET\",\n headers: formHeaders, // Correct way to pass headers\n }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n leaseData: data.data,\n fianancialYears: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.loadLeaseRentData();\n this.fetchSalesData();\n }\n amendNumber(str) {\n return str.split(\"-\").pop();\n }\n\n loadLeaseSalesData(newValue) {\n var ths = this;\n this.state.fySelected = [];\n this.state.fyArr = [];\n console.log(newValue, \"newValue\");\n for (let i = 0; i < newValue.length; i++) {\n this.state.fyArr.push(newValue[i].value);\n this.state.fySelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n this.fetchSalesData();\n }\n\n fetchSalesData() {\n var ths = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/get-lease-sales-data-for-graph?leaseId=${this.state.leaseId}`,\n data: { leaseId: this.state.leaseId, year: this.state.fyArr },\n }).then(function (response) {\n if(typeof response.data.data != \"undefined\") {\n ths.setState({ chartOneData: response.data.data });\n }\n });\n }\n\n loadLeaseRentData(str) {\n var ths = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/get-lease-rent-data-for-graph?leaseId=${this.state.leaseId}`,\n data: { leaseId: this.state.leaseId, year: str },\n }).then(function (response) {\n console.log(response, \"response rent\");\n\n ths.setState({ chartRentData: response.data.data });\n });\n }\n\n setPopupHeading() {\n // if (\n // this.state.leaseData.type == \"\" ||\n // this.state.leaseData.type == \"original\"\n // ) {\n // return \"Create Lease\";\n // } else if (this.state.leaseData.type == \"amend\") {\n // return \"Amend Lease\";\n // } else if (this.state.leaseData.type == \"extend\") {\n // return \"Extend Lease\";\n // } else if (this.state.leaseData.type == \"renew\") {\n // return \"Renew Lease\";\n // } else if (this.state.leaseData.type == \"terminate\") {\n // return \"Terminate Lease\";\n // } else {\n // return \"Create Lease\";\n // }\n }\n render() {\n return (\n
\n
\n
\n \n \n \n
\n
\n
\n
    \n
  • Lease Details: {this.setPopupHeading()}
  • \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n {\n this.loadLeaseRentData(e.target.value);\n }}\n >\n \n {this.state.fianancialYears.map((x) => (\n \n ))}\n \n \n {this.state.chartRentData.length > 0 ? (\n \n ) : (\n \"No Data Available For this Financial Year\"\n )}\n
\n
\n
\n
\n
\n {\n console.log(e, \"e ka value\");\n //this.valueChange(e, \"change_brand\");\n this.loadLeaseSalesData(e);\n }}\n value={this.state.fySelected}\n options={this.state.fianancialYears.map((item) => ({\n label: item.value,\n value: item.value,\n }))}\n />\n \n {this.state.chartOneData.length > 0 ? (\n \n ) : (\n \"No Data Available For this Financial Year\"\n )}\n
\n
\n
\n
\n
\n
\n \n \n
\n \n \n );\n }\n}\n\nexport default withRouter(LeaseGraphPopup);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo,\n faChartBar,\n faEye,\n faInfoCircle,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport LeaseDetailsPopup from \"../LeaseDetailsPopup\";\nimport LeaseGraphPopup from \"../LeaseGraphPopup\";\nimport { getUserRole } from \"../../utils/index\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LeaseListingTable = ({ asset, brand, status, stateId }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [leaseId, setLeaseId] = useState(0);\n const [popupKey, setpopupKey] = useState(0);\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?stateId=${stateId}&asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-view/get-all-leases?stateId=${stateId}&asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [modalGraphOpen, setGraphOpen] = React.useState(false);\n\n function openFromParent() {\n setIsOpen(true);\n }\n\n function modalGraphClose() {\n setGraphOpen(false);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Cost Center\",\n selector: \"cost_center\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Unit Number\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"GLA (Sq.Ft.)\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Brand Name / Occupier Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 2,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Lease Commencement Date\",\n selector: \"lcd\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Lease Term (YY-MM-DD)\",\n selector: \"leaseTerm\",\n sortable: false,\n grow: 2,\n },\n {\n name: \"Lease Expiry Date\",\n selector: \"leaseExpiryData\",\n sortable: false,\n grow: 2,\n wrap: true,\n },\n {\n name: \"Action\",\n grow: 3,\n sortable: false,\n cell: (record) => {\n return (\n
\n \n \n {\" \"}\n \n \n \n {\n setLeaseId(record.leaseId);\n setpopupKey(Math.random());\n openFromParent();\n }}\n >\n \n \n\n {\n setLeaseId(record.leaseId);\n setpopupKey(Math.random());\n setGraphOpen(true);\n }}\n >\n \n \n\n {getUserRole() == \"checker\" && record.status == 1 && (\n \n \n {\" \"}\n \n \n \n )}\n
\n );\n },\n },\n ];\n\n return (\n <>\n
\n \n
\n \n \n \n );\n};\nexport default LeaseListingTable;\n","import React from \"react\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faChevronCircleDown,\n faCheck,\n faCheckCircle,\n faExclamationTriangle,\n faTimesCircle,\n faFileSignature,\n} from \"@fortawesome/free-solid-svg-icons\";\n// import styles from \"../../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport LeaseListingTable from \"./LeaseListingTable\";\nimport ProspectListingTable from \"../../createLease/leaseList/ProspectListingTable\";\nclass LeaseListing extends React.Component {\n state = {\n showProspect: false,\n redirect: false,\n brands: [],\n assets: [],\n statusCount: {},\n selectedBrand: this.props.match.params.brand ?? 0,\n selectedAsset: \"\",\n randomNum: \"\",\n selectedStatus: Number(this.props.match.params.status),\n state: this.props.match.params.state ?? 0,\n };\n\n constructor(props) {\n super(props);\n console.log(this.props.match.params.status);\n }\n\n componentDidMount() {\n //alert(this.props.match.params.state + \" ok \");\n\n this.loadBrands();\n this.loadAssets();\n\n // fetch(`${apiUrl.apiUrl.url}/lease-view/get-status-count?brand=` + this.state.selectedBrand)\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // statusCount: data,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n this.loadLeaseCountStatuswise();\n }\n\n loadLeaseCountStatuswise(brand, asset) {\n // this.setState({});\n var brandId =\n typeof brand != \"undefined\" ? brand : this.state.selectedBrand;\n var assetId =\n typeof asset != \"undefined\" ? asset : this.state.selectedAsset;\n var ths = this;\n\n axios\n .post(\n `${apiUrl.apiUrl.url}/lease-view/get-status-count?brand=` +\n brandId +\n `&stateId=${this.state.state}&asset=${assetId}`\n )\n .then(function (response) {\n console.log(response, \"response\");\n ths.setState({\n statusCount: response.data,\n });\n });\n\n this.setState({});\n }\n\n loadAssets = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/asset/fetch-all-assets`\n );\n console.log(response);\n this.state.assets = response.data;\n this.setState({});\n };\n\n loadBrands = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=1&per_page=100&delay=1`\n );\n this.state.brands = response.data.data;\n this.setState({});\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
\n {this.renderForm()}\n
\n );\n }\n\n renderForm() {\n return (\n\n <>\n
\n
\n {\n this.setState({\n selectedAsset: e.target.value,\n randomNum: Math.random(),\n });\n this.loadLeaseCountStatuswise(\n this.state.selectedBrand,\n e.target.value\n );\n }}\n >\n \n {this.state.assets.map((x) => (\n \n ))}\n \n {\n this.setState({\n selectedBrand: e.target.value,\n });\n\n this.setState({ randomNum: Math.random() });\n\n this.loadLeaseCountStatuswise(\n e.target.value,\n this.state.selectedAsset\n );\n }}\n >\n \n {this.state.brands.map((x) => (\n \n ))}\n \n
\n
\n
\n {/*
\n
\n
\n
\n {\n this.setState({\n selectedAsset: e.target.value,\n randomNum: Math.random(),\n });\n this.loadLeaseCountStatuswise(\n this.state.selectedBrand,\n e.target.value\n );\n }}\n >\n \n {this.state.assets.map((x) => (\n \n ))}\n \n
\n
\n
\n
\n {\n this.setState({\n selectedBrand: e.target.value,\n });\n\n this.setState({ randomNum: Math.random() });\n\n this.loadLeaseCountStatuswise(\n e.target.value,\n this.state.selectedAsset\n );\n }}\n >\n \n {this.state.brands.map((x) => (\n \n ))}\n \n
\n
\n
\n
*/}\n
\n {\n this.setState({\n selectedStatus: 5,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: false,\n });\n }}\n >\n \n \n \n \n\n\n

{this.state.statusCount.prospect ? this.state.statusCount.prospect : \"0\"}

\n
Prospect
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 6,\n randomNum: Math.random(),\n showProspect: true,\n isDropped: true,\n });\n }}\n >\n\n \n \n \n \n\n

{this.state.statusCount.dropped ? this.state.statusCount.dropped : \"0\"}

\n
Dropped
\n
\n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n \n \n \n\n

{this.state.statusCount.draft ? this.state.statusCount.draft : \"0\"}

\n
Draft
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n \n \n \n \n \n\n

{this.state.statusCount.approval ? this.state.statusCount.approval : \"0\"}

\n
Approval
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n\n

{this.state.statusCount.active ? this.state.statusCount.active : \"0\"}

\n
Active
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n \n\n

{this.state.statusCount.expired ? this.state.statusCount.expired : \"0\"}

\n
Expired
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 4,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n \n \n\n\n

{this.state.statusCount.terminated ? this.state.statusCount.terminated : \"0\"}

\n
Terminated
\n \n {\n //this.setState({ selectedAsset: e.target.value });\n this.setState({\n selectedStatus: 8,\n randomNum: Math.random(),\n showProspect: false,\n });\n }}\n >\n\n \n \n \n\n

{this.state.statusCount.fnf ? this.state.statusCount.fnf : \"0\"}

\n
F&F
\n \n \n \n {/* */}\n\n {this.state.showProspect ? (\n \n ) : (\n \n )}\n \n );\n }\n}\n\nexport default withRouter(LeaseListing);\n","import React from \"react\";\nimport LeaseDetails from \"./LeaseDetails\";\nimport { withRouter } from \"react-router-dom\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseDetailsContainer extends React.Component {\n state = {\n leaseMenus: [],\n history: [],\n };\n constructor(props) {\n super(props);\n }\n componentDidMount() {\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/fetch-lease-menus?leaseId=` +\n this.props.match.params.id + `&getAll=true`, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseMenus: data.data,\n history: data.history,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n render() {\n return (\n \n \n
\n
\n \n
\n
\n \n \n \n );\n }\n}\nexport default withRouter(LeaseDetailsContainer);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n} from \"react-router-dom\";\n// import UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faUserCircle, faSignOutAlt } from \"@fortawesome/free-solid-svg-icons\";\nimport ListingForm from \"./leaseList/ListingForm\";\nimport TopHeader from \"../layout/TopHeader\";\nimport LeaseDetails from \"./LeaseDetails\";\nimport LeaseDetailsContainer from \"./LeaseDetailsContainer\";\nexport default function ViewLease() {\n let match = useRouteMatch();\n\n return (\n
\n \n
\n {/*

Masters

*/}\n\n {/* The Topics page has its own with more routes\n that build on the /topics URL path. You can think of the\n 2nd here as an \"index\" page for all topics, or\n the page that is shown when no topic is selected */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n
\n
\n );\n}\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faUser,\n faList,\n faKey,\n faHouseUser,\n faCog,\n faRupeeSign,\n faAtom,\n faCopyright,\n faFileContract,\n faChartLine,\n faFileAlt,\n faShieldAlt,\n faTable,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../SideMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { getUserType } from \"../utils/index\";\n\nvar revenueReportText = \"Revenue Report\";\nif (getUserType() == \"Occupier\" || getUserType() == \"occupier\") {\n revenueReportText = \"Expense Report\";\n}\n\nclass ReportsSideMenu extends React.Component {\n constructor(props) {\n super(props);\n }\n\n state = {\n openMenu: this.props.openMenu ? [this.props.openMenu] : [\"\"],\n activeKey: this.props.activeKey ? this.props.activeKey : \"1-1\",\n };\n render() {\n let url = this.props.match;\n return (\n
\n {\n console.log(openKeys[openKeys.length - 1],\"==================\");\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
\n );\n }\n}\n\nexport default withRouter(ReportsSideMenu);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n// let columns = [\n// {\n// name: \"S.No\",\n// selector: \"srNo\",\n// sortable: false,\n// grow: 1,\n// },\n\n// {\n// name: \"City\",\n// selector: \"city\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Asset Name\",\n// selector: \"assetName\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Brand Name\",\n// selector: \"brandName\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Lease Status\",\n// selector: \"leaseStatus\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Lease Number\",\n// selector: \"leaseCode\",\n// sortable: false,\n// grow: 3,\n// }, \n// {\n// name: \"Gross Leasable Area\",\n// selector: \"gross_leasable_area\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Lease Expiry Date\",\n// selector: \"led\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Renewal Option\",\n// selector: \"renewal_option\",\n// sortable: false,\n// grow: 3,\n// },\n// {\n// name: \"Renewal Notice\",\n// selector: \"renewal_notice\",\n// sortable: false,\n// grow: 3,\n// } \n// ];\n\n//let columns = columns;\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, fetchUrl, DownloadFile }) => (\n <>\n {/* */}\n \n {/* */}\n \n);\n\n\n\nconst LeaseDocumentTable = ({ asset, brand, formConfig, expiry_report, columns, expiry_lockin_report, fetchUrl }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n DownloadFile={DownloadFile}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n //formConfig['export'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n //formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n\n function DownloadFile() {\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n var self = this;\n axios({\n method: \"post\",\n url: fetchUrl + prm + '&export=true&sendLink=true',\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n }\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n \n );\n};\nexport default LeaseDocumentTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport LeaseDocumentTable from \"./LeaseDocumentTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faEye,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ReportsColumnSelectionView extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n gridColumns: [],\n myArray: [],\n checkedItems: new Map(),\n };\n\n componentDidMount() {\n var ths = this;\n if (this.props.loadedColumns.length == 0) {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-report/get-report-columns`,\n data: { reportType: this.props.report },\n }).then(function (response) {\n console.log(response.data, \"response\");\n ths.setState({ gridColumns: response.data });\n ths.props.setLoadedColumns(response.data);\n console.table(response.data)\n });\n } else {\n this.setState({ gridColumns: this.props.loadedColumns });\n }\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.handleChange = this.handleChange.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n setInputState(columns) {\n this.setState({ gridColumns: columns });\n }\n\n handleChange(event) {\n var isChecked = event.target.checked;\n var item = event.target.value;\n var myArray = this.state.gridColumns;\n var objIndex = myArray.findIndex((obj) => obj.name == item);\n myArray[objIndex].visible = isChecked;\n this.setState({ gridColumns: myArray, myArray: myArray });\n }\n handleSubmit(event) {\n console.log(this.state);\n event.preventDefault();\n }\n\n handleOnDragEnd = (e) => {\n console.log(e);\n if (!e.destination) return;\n const items = Array.from(this.state.gridColumns);\n const [reorderedItem] = items.splice(e.source.index, 1);\n items.splice(e.destination.index, 0, reorderedItem);\n this.setState({ gridColumns: items });\n };\n\n setFrmValues(type) {\n //console.log(this.state.gridColumns, \"this.state.gridColumns\");\n var finalColumnList = [];\n this.state.gridColumns.map(\n\n\n\n (item) => {\n if (item.visible) {\n finalColumnList.push(item);\n }\n });\n\n if (typeof type != \"undefined\") {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-report/save-report-columns`,\n data: {\n reportType: this.props.report,\n finalColumnList: finalColumnList,\n },\n }).then(function (response) {\n console.log(response.data, \"response\");\n // ths.setState({ gridColumns: response.data });\n // ths.props.setLoadedColumns(response.data);\n });\n }\n\n // console.log(finalColumnList,'final column list');\n this.props.setColumns(finalColumnList);\n this.props.setLoadedColumns(this.state.gridColumns);\n this.props.handleClose(false);\n }\n\n render() {\n return (\n \n
\n {this.renderForm()}\n
\n \n );\n }\n\n renderForm() {\n // NewData=[{grow: 1,id: 1,name: \"Created at\",selector: \"created at\",sortable: false,visible: true},{grow: 1,id: 2,name: \"Approved date\",selector: \"Approved Date\",sortable: false,visible: true}]\n return (\n\n
\n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n
\n
\n
\n
\n
\n

\n Select Columns\n

\n \n \n {(provided) => (\n \n {this.state.gridColumns.map((item, index) => (\n \n {(provided) => (\n \n \n \n )}\n \n ))}\n\n\n\n \n )}\n \n \n {/* \n {this.state.gridColumns.map((item, index) => (\n \n \n \n \n \n ))}\n */}\n
\n
\n
\n
\n
\n {\n this.setFrmValues();\n }}\n >\n Filter\n \n {\n this.setFrmValues(1);\n }}\n >\n Save & Filter\n \n
\n\n
\n
\n
\n
\n
\n )}\n
\n
\n );\n }\n}\n\nexport default withRouter(ReportsColumnSelectionView);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faCog, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport ReportsColumnSelectionView from \"./ReportsColumnSelectionView\";\nimport { Link } from \"react-router-dom\";\nimport { Modal, Button } from \"react-bootstrap\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\n\n\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, handleGrid, DownloadFile, columnsList }) => (\n <>\n\n \n\n {/* */}\n \n {/* */}\n \n);\n\nconst LeaseListingTable = ({ asset, brand, formConfig, expiry_report, columns, expiry_lockin_report, report_type }) => {\n\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n //columns = columns;\n\n if (typeof expiry_report == \"undefined\") {\n var expiry_report = false;\n }\n\n if (typeof expiry_lockin_report == \"undefined\") {\n var expiry_lockin_report = false;\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n //);\n\n const [columnsList, setColumns] = useState(columns);\n const [loadedColumns, setLoadedColumns] = useState([]);\n\n const [show, setShow] = useState(false);\n //const [handleClose, setHide] = useState(true);\n\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n // key={columnsList}\n columnsList={columnsList}\n filterText={filterText}\n prm={prm}\n handleGrid={handleGrid}\n DownloadFile={DownloadFile}\n />\n );\n }, [filterText, resetPaginationToggle, columnsList]);\n\n const fetchLeaseData = async (page) => {\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n if (typeof formConfig['LeaseStatusName'] != \"undefined\" && formConfig['LeaseStatusName'] == \"All\") {\n formConfig['LeaseStatusName'] = '';\n formConfig['LeaseStatusId'] = 0;\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-report/get-all-leases?` + prm\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/lease-report/get-all-leases?` + prm\n );\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n function handleGrid(e) {\n e.preventDefault();\n console.log('You clicked submit.');\n setShow(true);\n }\n // console.log(columnsList,\"columnsList\");\n // DownloadFile();\n function DownloadFile() {\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url + '/lease-report/generate-summary-report?' + prm + '&sendLink=true'}`,\n data: { columnsList: columnsList }\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n }\n\n const handleClose = () => {\n setShow(false);\n }\n\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n // useEffect(() => {\n // subHeaderComponentMemo;\n // }, [columnsList]);\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
\n \n
\n\n \n \n Filter Columns\n \n \n {/* <>\n
\n {columns.map(function(d, idx){\n return (
  • {d.name}
  • )\n })}\n
    \n \n */}\n\n \n\n
    \n {/* \n \n */}\n
    \n\n \n );\n};\nexport default LeaseListingTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\n\nimport { getUserType } from \"../../utils/index\";\n\nimport ReactMultiSelectCheckboxes from \"react-multiselect-checkboxes\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\nvar headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n reportFilterForm: Yup.object().shape({\n countryId: Yup.string().required(\"Required\"),\n stateId: Yup.string().required(\"Required\"),\n districtId: Yup.string().required(\"Required\"),\n cityId: Yup.string().required(\"Required\"),\n }),\n url: `${apiUrl.apiUrl.url}/lease-report`,\n brandListOptions: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetTypeList: [],\n brandtypeList: [{ brand_type_name: 'Single Brand', id: 1 }, { brand_type_name: 'Multiple Brands', id: 2 }, { brand_type_name: 'Both', id: 0 }],\n leaseStatus: [],\n assetsList: [],\n landloardList: [],\n occupierList: [],\n selectedBrandNameOptions: [],\n brandSelected: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n },\n leaseTypes: [],\n initialValues: {\n assetId: \"\",\n assetTypeId: \"\",\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandtypeId: '',\n brandtypeName: '',\n assetName: \"\",\n LeaseStatusId: 0,\n LeaseStatusName: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n modelValue: 'All',\n modelId: 'All'\n },\n gridColumns: [],\n\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-report-columns?type=lease-report`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n gridColumns: data.gridColumns,\n });\n this.state.counter = Math.random();\n this.setState({})\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n initialiseAllData=() => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n getAssetTypes = () => {\n\n console.log(this.state.initialValues.brandId);\n\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n //console.log(\"response\", response);\n self.setState({\n assetTypeList: response.data\n });\n\n });\n }\n\n setMasterPreValues = (input) => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n var self = this;\n //get-brand-subcategory/?id=\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n self.state.brandListOptions = data.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }));\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n }); \n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n }\n else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n console.log(newValue, \"newValue\");\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n } else if (actionMeta == \"change_asset_type\") {\n //brandName\n console.log(newValue, \"newValue\");\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //brandName\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n this.setMasterPreValues(newValue.value);\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_brand_type\") {\n //brandName\n this.state.initialValues.brandtypeId = newValue.value;\n this.state.initialValues.brandtypeName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=` +\n this.state.initialValues.assetTypeId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n onChangeBrandName = (value, event) => {\n if (event.action === \"select-option\" && event.option.value === \"*\") {\n this.setState(this.options);\n } else if (\n event.action === \"deselect-option\" &&\n event.option.value === \"*\"\n ) {\n this.setState({ selectedBrandNameOptions: [] });\n } else if (event.action === \"deselect-option\") {\n this.setState(value.filter((o) => o.value !== \"*\"));\n this.setState({\n selectedBrandNameOptions: [value.filter((o) => o.value !== \"*\")],\n });\n } else if (value.length === this.state.brandListOptions.length - 1) {\n this.setState({ selectedBrandNameOptions: [] });\n } else {\n this.setState({ selectedBrandNameOptions: [] });\n }\n };\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n var counter = this.state.counter + 1;\n this.setState({ counter: counter });\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n form_config = undefined;\n\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_status\");\n }}\n value={{\n label: this.state.initialValues.LeaseStatusName || 'All',\n value: this.state.initialValues.LeaseStatusId || 'All',\n }}\n options={[\n { label: \"All\", value: \"All\" }, // The \"All\" option\n ...this.state.leaseStatus.map((item) => ({\n label: item.status,\n value: item.id,\n })),\n ]}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n />\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n // value={{\n // label: this.state.initialValues.brandName,\n // value: this.state.initialValues.brandId,\n // }}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_status\");\n }}\n value={{\n label: this.state.initialValues.LeaseStatusName,\n value: this.state.initialValues.LeaseStatusId,\n }}\n options={this.state.leaseStatus.map((item) => ({\n label: item.status,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n // onChange={(e) => {\n // //handleChange(e);\n // this.valueChange(e, \"change_landloard\");\n // }}\n // value={{\n // label: this.state.initialValues.landloardName,\n // value: this.state.initialValues.landloardId\n // }}\n // options={this.state.landloardList.map((item) => ({\n // label: item.text,\n // value: item.id,\n // }))}\n />\n\n
    \n\n
    \n
    \n
    \n\n\n
    \n\n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n \n \n );\n }\n}\n\nexport default withRouter(LeaseReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { Modal, Button } from \"react-bootstrap\";\n\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart as GChart } from \"react-google-charts\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseLockinExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n modalShow: false,\n chartOneData: [],\n chartOneOptions: {\n title: \"Lease Expiring in Next 3 Months (GLA - Sq.ft.)\",\n },\n chartTwoOptions: {\n title: \"Lease Expiring in Next 6 Months (GLA - Sq.ft.)\",\n },\n barChartOnedata: [],\n barChartOneOptions: {},\n barChartTwoOptions: {},\n barChartTwodata: [],\n chartjsdata: {},\n chartjsoptions: {},\n LandlordGroups: [],\n countries: [],\n landloardList: [],\n occupierList: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n leaseStatus: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n brandSelected: [],\n brandtypeList: [{ brand_type_name: 'Single Brand', id: 1 }, { brand_type_name: 'Multiple Brands', id: 2 }, { brand_type_name: 'Both', id: 0 }],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n leaseTypes: [],\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n assetId: \"\",\n assetTypeId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandtypeId: '',\n brandtypeName: '',\n modelValue: 'All',\n modelId: 'All'\n },\n gridColumns: [],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n initialiseAllData=()=>{\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-report-columns?type=lease-lockin-expiry`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n gridColumns: data.gridColumns,\n });\n this.state.counter = Math.random();\n this.setState({})\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n handleModalClose = () => {\n this.setState({ modalShow: false });\n };\n showModal = () => {\n fetch(\n `${apiUrl.apiUrl.url}/lease-report/get-lease-graph-details?type=lockin`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.chartOneData = data.pie_1;\n this.state.chartTwoData = data.pie_2;\n this.state.barChartOnedata = data.bar_1;\n //this.state.barChartTwodata = data.bar_2;\n\n this.state.barChartTwodata = data.bar_2;\n //customeData = data.bar_2;\n this.state.chartjsdata = {\n labels,\n datasets: [\n {\n label: \"GLA\",\n data: this.state.barChartTwodata.value2, //[10, 20, 30, 40, this.state.counter],\n borderColor: \"rgb(255, 99, 132)\",\n backgroundColor: \"rgba(255, 99, 132, 0.5)\",\n yAxisID: \"y\",\n },\n {\n label: \"Lease Count\",\n data: this.state.barChartTwodata.value1, //[1, 3, 3, 4, (this.state.counter + 1)],\n borderColor: \"rgb(53, 162, 235)\",\n backgroundColor: \"rgba(53, 162, 235, 0.5)\",\n yAxisID: \"y1\",\n type: \"line\",\n },\n ],\n };\n\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n\n if (typeof this.state.barChartTwodata != \"undefined\") {\n this.state.chartjsdata = {\n labels,\n datasets: [\n {\n label: \"GLA\",\n data: this.state.barChartTwodata.value2, //[10, 20, 30, 40, this.state.counter],\n borderColor: \"rgb(255, 99, 132)\",\n backgroundColor: \"rgba(255, 99, 132, 0.5)\",\n yAxisID: \"y\",\n },\n {\n label: \"Lease Count\",\n data: this.state.barChartTwodata.value1, //[1, 3, 3, 4, (this.state.counter + 1)],\n borderColor: \"rgb(53, 162, 235)\",\n backgroundColor: \"rgba(53, 162, 235, 0.5)\",\n yAxisID: \"y1\",\n type: \"line\",\n },\n ],\n };\n }\n\n this.state.chartjsoptions = {\n responsive: true,\n interaction: {\n mode: \"index\",\n intersect: false,\n },\n stacked: false,\n plugins: {\n title: {\n display: true,\n text: \"Lease Expiry Trend (GLA & Count of Leases Combination)\",\n },\n },\n scales: {\n y: {\n type: \"linear\",\n display: true,\n position: \"left\",\n },\n y1: {\n type: \"linear\",\n display: true,\n position: \"right\",\n grid: {\n drawOnChartArea: false,\n },\n },\n },\n };\n\n // this.state.barChartOnedata = [[\"Year\", \"Sales\"],\n // [\"2014\", 200],\n // [\"2015\", 250],\n // [\"2016\", 300],\n // [\"2017\", 350]\n // ];\n this.state.barChartOneOptions = {\n chart: {\n title: \"Lease Expiry Trend (GLA - Sq.ft.) \",\n },\n };\n this.state.barChartTwoOptions = {\n chart: {\n title: \"Lease Expiry Trend (GLA & Count of Leases Combination) \",\n vAxis: { title: \"Cups\" },\n hAxis: { title: \"Month\" },\n seriesType: \"bars\",\n series: { 1: { type: \"line\" } },\n },\n };\n\n this.setState({ modalShow: true });\n this.setState({});\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_brand_type\") {\n //brandName\n this.state.initialValues.brandtypeId = newValue.value;\n this.state.initialValues.brandtypeName = newValue.label;\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n \n //brandName\n // this.state.initialValues.brandId = newValue.value;\n // this.state.initialValues.brandName = newValue.label;\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n }else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n \n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n this.setMasterPreValues(newValue.value);\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.state.initialValues.leaseMonthId = e.target.value;\n this.valueChange(e, \"change_lease_month\");\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n
    \n
    \n
    \n
    \n \n \n\n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n\n\n\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.state.initialValues.leaseMonthId =\n e.target.value;\n this.valueChange(e, \"change_lease_month\");\n }}\n // value={{\n // label: this.state.initialValues.leaseMonthId,\n // value: this.state.initialValues.leaseMonthId,\n // }}\n // options={this.state.leaseMonths.map((item) => ({\n // label: item.value,\n // value: item.id,\n // }))}\n >\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n // onChange={(e) => {\n // //handleChange(e);\n // this.valueChange(e, \"change_landloard\");\n // }}\n // value={{\n // label: this.state.initialValues.landloardName,\n // value: this.state.initialValues.landloardId\n // }}\n // options={this.state.landloardList.map((item) => ({\n // label: item.text,\n // value: item.id,\n // }))}\n />\n\n
    \n\n
    \n
    \n
    \n\n
    \n\n
    \n\n
    \n\n\n
    \n
    \n
    \n
    \n \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n Lease Expiry\n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n \n {/* */}\n
    \n
    \n
    \n
    \n \n
    \n \n\n \n \n );\n }\n}\n\nexport default withRouter(LeaseLockinExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n//import axios from \"axios\";\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n modalShow: false,\n chartOneData: [],\n chartOneOptions: {\n title: \"Lease Expiring in Next 3 Months (GLA - Sq.ft.)\",\n },\n chartTwoOptions: {\n title: \"Lease Expiring in Next 6 Months (GLA - Sq.ft.)\",\n },\n barChartOnedata: [],\n barChartTwodata: [],\n barChartOneOptions: {},\n barChartTwoOptions: {},\n chartjsdata: {},\n chartjsoptions: {},\n LandlordGroups: [],\n countries: [],\n districtList: [],\n cityList: [],\n landloardList: [],\n occupierList: [],\n brandCatList: [],\n brandtypeList: [{ brand_type_name: 'Single Brand', id: 1 }, { brand_type_name: 'Multiple Brands', id: 2 }, { brand_type_name: 'Both', id: 0 }],\n brandList: [],\n leaseStatus: [],\n assetsList: [],\n assetTypeList: [],\n brandSelected: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n leaseTypes: [],\n initialValues: {\n brandId: this.props.match.params.brand ?? 0,\n countryId: \"\",\n stateId: this.props.match.params.state ?? \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n assetId: \"\",\n assetTypeId: \"\",\n leaseMonthId: this.props.match.params.leaseMonths ?? \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandtypeId: '',\n brandtypeName: '',\n modelValue: 'All',\n modelId: 'All'\n },\n gridColumns: [],\n // gridColumns: [\n // {\n // name: \"S.No\",\n // selector: \"srNo\",\n // sortable: false,\n // grow: 1,\n // },\n\n // {\n // name: \"City\",\n // selector: \"city\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Asset Name\",\n // selector: \"assetName\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Brand Name\",\n // selector: \"brandName\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Lease Status\",\n // selector: \"leaseStatus\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Lease Id\",\n // selector: \"leaseCode\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Gross Leasable Area\",\n // selector: \"gross_leasable_area\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n\n // {\n // name: \"Cost Center\",\n // selector: \"costCenter\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Lease Expiry Date\",\n // selector: \"led\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Renewal Option\",\n // selector: \"renewal_option\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // {\n // name: \"Renewal Notice\",\n // selector: \"renewal_notice\",\n // sortable: false,\n // grow: 3,\n // wrap: true,\n // },\n // ],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n console.log(this.props, \"this proopsss\");\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-report-columns?type=lease-expiry-report`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"oye hoye\")\n this.setState({\n gridColumns: data.gridColumns,\n });\n this.state.counter = Math.random();\n this.setState({})\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n };\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n handleModalClose = () => {\n this.setState({ modalShow: false });\n };\n showModal = () => {\n var customeData = [];\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-report/get-lease-graph-details?type=expiry`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.state.chartOneData = data.pie_1;\n this.state.chartTwoData = data.pie_2;\n this.state.barChartOnedata = data.bar_1;\n this.state.barChartTwodata = data.bar_2;\n customeData = data.bar_2;\n this.state.chartjsdata = {\n labels,\n datasets: [\n {\n label: \"GLA\",\n data: this.state.barChartTwodata.value2, //[10, 20, 30, 40, this.state.counter],\n borderColor: \"rgb(255, 99, 132)\",\n backgroundColor: \"rgba(255, 99, 132, 0.5)\",\n yAxisID: \"y\",\n },\n {\n label: \"Lease Count\",\n data: this.state.barChartTwodata.value1, //[1, 3, 3, 4, (this.state.counter + 1)],\n borderColor: \"rgb(53, 162, 235)\",\n backgroundColor: \"rgba(53, 162, 235, 0.5)\",\n yAxisID: \"y1\",\n type: \"line\",\n },\n ],\n };\n console.log(data.bar_2, \"data.bar_2\");\n\n this.state.counter = Math.random();\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.state.barChartOneOptions = {\n chart: {\n title: \"Lease Expiry Trend (GLA - Sq.ft.) \",\n },\n };\n this.state.barChartTwoOptions = {\n chart: {\n title: \"Lease Expiry Trend (GLA & Count of Leases Combination) \",\n vAxis: { title: \"Cups\" },\n hAxis: { title: \"Month\" },\n seriesType: \"bars\",\n series: { 1: { type: \"line\" } },\n },\n };\n\n if (typeof this.state.barChartTwodata != \"undefined\") {\n this.state.chartjsdata = {\n labels,\n datasets: [\n {\n label: \"GLA\",\n data: this.state.barChartTwodata.value2, //[10, 20, 30, 40, this.state.counter],\n borderColor: \"rgb(255, 99, 132)\",\n backgroundColor: \"rgba(255, 99, 132, 0.5)\",\n yAxisID: \"y\",\n },\n {\n label: \"Lease Count\",\n data: this.state.barChartTwodata.value1, //[1, 3, 3, 4, (this.state.counter + 1)],\n borderColor: \"rgb(53, 162, 235)\",\n backgroundColor: \"rgba(53, 162, 235, 0.5)\",\n yAxisID: \"y1\",\n type: \"line\",\n },\n ],\n };\n }\n\n this.state.chartjsoptions = {\n responsive: true,\n interaction: {\n mode: \"index\",\n intersect: false,\n },\n stacked: false,\n plugins: {\n title: {\n display: true,\n text: \"Lease Expiry Trend (GLA & Count of Leases Combination)\",\n },\n },\n scales: {\n y: {\n type: \"linear\",\n display: true,\n position: \"left\",\n },\n y1: {\n type: \"linear\",\n display: true,\n position: \"right\",\n grid: {\n drawOnChartArea: false,\n },\n },\n },\n };\n\n this.setState({ modalShow: true });\n this.setState({});\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_brand_type\") {\n //brandName\n this.state.initialValues.brandtypeId = newValue.value;\n this.state.initialValues.brandtypeName = newValue.label;\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n //this.state.initialValues.brandId = newValue.value;\n //this.state.initialValues.brandName = newValue.label;\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n } else if (actionMeta == \"change_asset_type\") {\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n }else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n this.setMasterPreValues(newValue.value);\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n isMulti\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() === \"Landlord\" || getUserType() === \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() === \"Occupier\" || getUserType() === \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.state.initialValues.leaseMonthId = e.target.value;\n this.setState({});\n this.valueChange(e, \"change_lease_month\");\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n
    \n
    \n\n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand_type\");\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.brandtypeName,\n value: this.state.initialValues.brandtypeId,\n }}\n options={this.state.brandtypeList.map((item) => ({\n label: item.brand_type_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n\n\n\n\n\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.state.initialValues.leaseMonthId =\n e.target.value;\n this.valueChange(e, \"change_lease_month\");\n }}\n // value={{\n // label: this.state.initialValues.leaseMonthId,\n // value: this.state.initialValues.leaseMonthId,\n // }}\n // options={this.state.leaseMonths.map((item) => ({\n // label: item.value,\n // value: item.id,\n // }))}\n >\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n />\n
    \n
    \n
    \n
    \n\n
    \n\n
    \n\n
    \n\n\n\n\n\n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n Lease Expiry\n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n \n {/* */}\n
    \n
    \n
    \n
    \n \n
    \n \n\n \n \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport LeaseDocumentTable from \"./LeaseDocumentTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport {\n faPen,\n faPlus,\n faEye,\n faTimes,\n faUndo,\n faDownload,\n faChevronRight\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number()\n // .required(\"Required\")\n // .transform((value) => (isNaN(value) ? undefined : value))\n // .nullable(),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number()\n // .required(\"Required\")\n // .transform((value) => (isNaN(value) ? undefined : value))\n // .nullable(),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number()\n // .required(\"Required\")\n // .transform((value) => (isNaN(value) ? undefined : value))\n // .nullable(),\n });\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseDocumentation extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n LandlordGroups: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n leaseList: [],\n leaseDocumentTypeList: [],\n brandSelected: [],\n\n leaseSelected: [],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n currentDocument: \"\",\n pageNo: 1,\n leaseTypes: [],\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n leaseDocumentTypeId: \"All\",\n leaseId: \"\",\n modelValue: 'All',\n modelId: 'All',\n leaseNumber: \"\",\n assetTypeId: \"\",\n },\n gridColumns: [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Brand Name / Occupier Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n width: 300,\n //grow: 5,\n },\n {\n name: \"Unit No\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n cell: (record) => {\n if (typeof record.unit_no == \"undefined\" || record.unit_no == null) {\n return \"-\";\n } else {\n return (\n
    \n {record.unit_no.map((anObjectMapped, index) => {\n return
    {anObjectMapped}
    ;\n })}\n
    \n );\n }\n },\n },\n {\n name: \"Gross Leasable Area\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Cost Center\",\n selector: \"costCenter\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Model Type\",\n selector: \"modelType\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Document Type\",\n selector: \"leaseDocumentType\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Document Date\",\n selector: \"leaseUploadDocumentDate\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Action\",\n grow: 2,\n // selector: \"info\",\n sortable: false,\n cell: (record) => {\n if (\n typeof record.documentUrl == \"undefined\" ||\n record.documentUrl == null || record.documentUrl === \"\"\n ) {\n return \"-\";\n } else {\n return (\n \n );\n }\n },\n },\n {\n name: \"Storage Link\",\n grow: 2, //leaseUploadDocumenURL\n cell: (record) => {\n if (\n typeof record.leaseUploadDocumenURL == \"undefined\" ||\n record.leaseUploadDocumenURL == null || record.leaseUploadDocumenURL === \"\"\n ) {\n return \"-\";\n } else {\n return (\n
    \n {\n <>\n\n \n {\" \"}\n View\n \n\n {/* href={`${record.documentUrl}`} */}\n \n }\n
    \n );\n }\n },\n }\n ],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/get-lease-document-type`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseDocumentTypeList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-all-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-all-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-all-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n // this.state.initialValues.leaseId = newValue.value;\n // this.state.initialValues.leaseValue = newValue.label;\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n console.log(\"going to set\");\n //this.setState({});\n }\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.initialValues.leaseId = [];\n\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(\n \"\" + this.state.leaseList[i].id\n );\n }\n }\n } else {\n this.state.initialValues.leaseId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(\"\" + newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n this.setState({});\n } else if (actionMeta == \"change_document_type\") {\n //\n this.state.initialValues.leaseDocumentTypeId = newValue.value;\n this.state.initialValues.leaseDocumentTypeId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-all-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n //console.log(values, \"values\", this.state.initialValues);\n //resetForm();\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n console.log(counter, \"counter\");\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_document_type\");\n }}\n value={{\n label: this.state.initialValues.leaseDocumentTypeId,\n value: this.state.initialValues.leaseDocumentTypeId,\n }}\n options={this.state.leaseDocumentTypeList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n isMulti\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {getUserType() == \"Landlord\" || getUserType() == \"\" ? (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n ) : null}\n\n {getUserType() == \"Occupier\" || getUserType() == \"\" ? (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n ) : null}\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n \n
    \n
    \n \n \n \n
    \n
    \n
    \n
      \n
    • Document
    • \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n {/* \n \n Close\n \n */}\n \n
    \n
    \n \n\n );\n }\n}\n\nexport default withRouter(LeaseDocumentation);\n","import React from \"react\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faSearch,\n faChevronCircleDown,\n faCheck,\n faCheckCircle,\n faExclamationTriangle,\n faTimesCircle,\n faFileSignature,\n} from \"@fortawesome/free-solid-svg-icons\";\n// import styles from \"../../master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport LeaseListingTable from \"./LeaseListingTable\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseListing extends React.Component {\n state = {\n redirect: false,\n brands: [],\n assets: [],\n statusCount: {},\n selectedBrand: \"\",\n selectedAsset: \"\",\n };\n\n constructor(props) {\n super(props);\n\n\n }\n componentDidMount() {\n this.loadBrands();\n this.loadAssets();\n \n fetch(`${apiUrl.apiUrl.url}/lease-view/get-status-count`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n statusCount: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n loadAssets = async () => {\n const response = await axios.get(`${apiUrl.apiUrl.url}/assets`);\n console.log(response);\n this.state.assets = response.data;\n this.setState({});\n };\n\n loadBrands = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=1&per_page=100&delay=1`\n );\n this.state.brands = response.data.data;\n this.setState({});\n };\n render() {\n\n return (\n \n
    \n {this.renderForm()}\n
    \n \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n
    \n\n
    \n
    \n {\n this.setState({ selectedAsset: e.target.value });\n }}\n >\n \n {this.state.assets.map((x) => (\n \n ))}\n \n
    \n
    \n
    \n
    \n {\n this.setState({ selectedBrand: e.target.value });\n }}\n >\n \n {this.state.brands.map((x) => (\n \n ))}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Prospect\n

    \n

    {this.state.statusCount.prospect}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Dropped\n

    \n

    {this.state.statusCount.dropped}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Draft\n

    \n

    {this.state.statusCount.draft}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Approval\n

    \n

    {this.state.statusCount.approval}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Active\n

    \n

    {this.state.statusCount.active}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Expired\n

    \n

    {this.state.statusCount.expired}

    \n
    \n
    \n
    \n
    \n

    \n \n \n \n Terminated\n

    \n

    {this.state.statusCount.terminated}

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n );\n }\n}\n\nexport default withRouter(LeaseListing);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nimport ReactMultiSelectCheckboxes from \"react-multiselect-checkboxes\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.string().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n\n// for (; i <= 10; i++) {\n\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nclass LeaseReportSalesForecast extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n redirect: false,\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n leaseCommencementMonth: \"\",\n exportBtn: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n financialYear: financialYear,\n leaseList: [],\n\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: {},\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n\n\n\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n\n\n\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = newValue.value;\n this.state.initialValues.leaseValue = newValue.label;\n\n if (newValue.label != \"ALL\" && newValue.label != \"\") {\n this.state.leaseList.forEach((item) => {\n if (newValue.value == item.id) {\n this.state.initialValues.assetId = item.asset_id;\n this.state.initialValues.assetName = item.asset_name;\n\n this.setMasterPreValues(item.asset_id);\n }\n });\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n leaseCommencementMonth: data.lease_commencement_month,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?sales-report=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?sales-report=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n formData.append(\"leaseId\", this.state.initialForecast.leaseId);\n formData.append(\"type\", \"forecast\");\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/sales-input/import-forecast`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: {},\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.exportBtn = false;\n this.state.formResponseData.forecasteDetails.forecast = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/sales-input/fetch-sales-input?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n this.setState({\n formResponseData: data,\n initialForecast: data.forecasteDetails,\n });\n\n this.state.initialForecast.leaseId = data.lease_id;\n this.state.initialForecast.year = data.year;\n\n this.setState({\n exportBtn: true,\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-input?export=true&reportType=forecast&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n\n\n
    \n \n \n
    \n
    \n
    \n
    \n\n <>\n {/*
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n\n\n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n \n \n )}\n \n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"costCenter\"] = this.state.initialForecast.costCenter;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.forecast;\n\n console.log(formPostData, \":formPostData\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/sales-input/create-input-sales`,\n data: formPostData,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n //self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.forecasteDetails.forecast.map(\n (anObjectMapped, index) => {\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n \n \n \n \n \n \n \n\n \n \n \n );\n }\n )}\n\n {this.state.formResponseData.forecasteDetails\n .forecast.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdCost CenterGross Leasable AreaPeriodGross SaleNet Sale
    Forecast
    {index + 1}\n {this.state.formResponseData.assetName}\n \n {this.state.formResponseData.brandName}\n \n {this.state.formResponseData.leaseName}\n \n {this.state.formResponseData.costCenter}\n \n {\n this.state.formResponseData\n .grossLeasebleArea\n }\n {anObjectMapped.periodFull}\n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n \n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n
    Nothing to show.....
    \n {this.state.formResponseData.forecasteDetails.forecast\n .length > 0 && (\n
    \n \n \n
    \n )}\n
    \n
    \n
    \n )}\n \n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesForecast);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // fbrandId: Yup.number().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.string().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nclass LeaseReportSalesActual extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n exportBtn: false,\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = newValue.value;\n this.state.initialValues.leaseValue = newValue.label;\n\n this.state.leaseList.forEach((item) => {\n if (newValue.value == item.id) {\n this.state.initialValues.assetId = item.asset_id;\n this.state.initialValues.assetName = item.asset_name;\n\n this.setMasterPreValues(item.asset_id);\n }\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n formData.append(\"leaseId\", this.state.initialForecast.leaseId);\n formData.append(\"type\", \"actual\");\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/sales-input/import-forecast`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n {\n console.log(\"hii\");\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData.forecasteDetails.actual = [];\n this.setState({ exportBtn: false });\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/sales-input/fetch-sales-input?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n this.setState({\n formResponseData: data,\n initialForecast: data.forecasteDetails,\n });\n\n this.state.initialForecast.leaseId = data.lease_id;\n this.state.initialForecast.year = data.year;\n\n this.setState({\n exportBtn: true,\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-input?export=true&reportType=actual&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n console.log(e, \"\");\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    */}\n \n )}\n \n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.actual;\n\n console.log(formPostData, \":formPostData\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/sales-input/create-input-sales`,\n data: formPostData,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n //self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.forecasteDetails.actual.map(\n (anObjectMapped, index) => {\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n \n \n \n \n \n \n \n\n \n \n \n );\n }\n )}\n\n {this.state.formResponseData.forecasteDetails.actual\n .length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdCost CenterGross Leasable AreaPeriodGross SaleNet Sale
    Actual
    {index + 1}\n {this.state.formResponseData.assetName}\n \n {this.state.formResponseData.brandName}\n \n {this.state.formResponseData.leaseName}\n \n {this.state.formResponseData.costCenter}\n \n {\n this.state.formResponseData\n .grossLeasebleArea\n }\n {anObjectMapped.periodFull}\n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n \n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n
    Nothing to show.....
    \n {this.state.formResponseData.forecasteDetails.actual\n .length > 0 && (\n
    \n \n \n
    \n )}\n
    \n
    \n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n
    \n )}\n \n\n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n {/* */}\n
    \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesActual);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\n\nimport styled from \"styled-components\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseReportSalesView extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n exportUrl: \"\",\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n count: 0,\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\"\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData=() => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.label;\n this.state.initialValues.modelValue = newValue.value;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n //brandName\n // this.state.leaseSelected = [];\n // this.state.initialValues.leaseId = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n console.log(\"aclliningng\", newValue);\n\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n console.log(\"in else\");\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n //form_config['export'] = 'true';\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data,\n //initialForecast:data.forecasteDetails\n });\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n //this.state.exportUrl = `${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?export=true&` + prm;\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?export=true&` +\n prm,\n });\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Country */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Brand Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* State */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n {/* District */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n {/* City */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Model Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n \n
    \n
    \n\n {/* Lease Number */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Occupier or Landlord Group based on user type */}\n {(getUserType() === \"Landlord\" || getUserType() === \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n {(getUserType() === \"Occupier\" || getUserType() === \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n {/* Cost Center */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n {/* Financial Year Ending On */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Data UOM */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n // value={{\n // label: this.state.initialValues.leaseValue,\n // value: this.state.initialValues.leaseId,\n // }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n // var i=0;\n return anObjectMapped.actual.map(\n (rowData, rowIndex) => {\n tableCounter++;\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n {/* rowIndex+1 */}\n \n {/* */}\n \n \n \n \n \n \n \n\n \n\n \n \n\n \n \n \n );\n }\n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdGross Leasable AreaCost CenterPeriodGross SaleNet SaleGross SaleNet SaleGross SaleNet Sale
    ForecastActualVariance
    {anObjectMapped.leaseName == '-' ? \"-\" : '#'}{rowIndex + index+1}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseName}{anObjectMapped.grossLeasebleArea}{anObjectMapped.costCenter}{rowData.periodFull}\n {\n anObjectMapped.forecast[rowIndex]\n .forecast_gross_sale\n }\n \n {\n anObjectMapped.forecast[rowIndex]\n .forecast_net_sale\n }\n \n {\n anObjectMapped.actual[rowIndex]\n .actual_gross_sale\n }\n \n {\n anObjectMapped.actual[rowIndex]\n .actual_net_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_gross_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_net_sale\n }\n
    Nothing to show.....
    \n
    \n
    \n \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesView);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseReportSalesComparison extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\"\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData=() => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.selectedValue.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n this.state.leaseSelected = [];\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n\n this.state.initialValues.financialYearOne = \"Period 1\";\n this.state.initialValues.financialYearTwo = \"Period 2\";\n this.state.leaseSelected = \"\";\n this.state.formResponseData = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-comparison?` + prm, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data,\n //initialForecast:data.forecasteDetails\n });\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-comparison?export=true&` +\n prm,\n });\n\n //this.state.initialForecast.leaseId = data.lease_id;\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n
    \n {\n this.valueChange(e, \"change_financial_yearone\");\n }}\n value={{\n label: this.state.initialValues.financialYearOne,\n value: this.state.initialValues.financialYearOne,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n {\n this.valueChange(e, \"change_financial_yeartwo\");\n }}\n value={{\n label: this.state.initialValues.financialYearTwo,\n value: this.state.initialValues.financialYearTwo,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_yearone\");\n }}\n value={{\n label:\n this.state.initialValues.financialYearOne,\n value:\n this.state.initialValues.financialYearOne,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n
    \n
    \n \n\n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_yeartwo\");\n }}\n value={{\n label:\n this.state.initialValues.financialYearTwo,\n value:\n this.state.initialValues.financialYearTwo,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return anObjectMapped.periodOne.map(\n (rowData, rowIndex) => {\n tableCounter++;\n return (\n \n \n \n \n \n \n \n \n \n \n\n \n \n\n \n \n \n );\n }\n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdGross Leasable AreaCost CenterPeriodGross SaleNet SaleGross SaleNet SaleGross SaleNet Sale
    \n Period 1 (\n {this.state.initialValues.financialYearIdOne})\n \n Period 2 (\n {this.state.initialValues.financialYearIdTwo})\n Difference (Period 2- Period 1)
    {anObjectMapped.leaseName == '-' ? 'TOtal' : '#'}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseName}{anObjectMapped.grossLeasebleArea}{anObjectMapped.costCenter}{rowData.periodFull}\n {\n anObjectMapped.periodOne[rowIndex]\n .actual_gross_sale\n }\n \n {\n anObjectMapped.periodOne[rowIndex]\n .actual_net_sale\n }\n \n {\n anObjectMapped.periodTwo[rowIndex]\n .actual_gross_sale\n }\n \n {\n anObjectMapped.periodTwo[rowIndex]\n .actual_net_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_gross_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_net_sale\n }\n
    Nothing to show.....
    \n
    \n
    \n \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesComparison);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport LeaseDocumentTable from \"./LeaseDocumentTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faEye,\n faTimes,\n faUndo,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({});\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseSecurityDeposit extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n LandlordGroups: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n leaseList: [],\n leaseDocumentTypeList: [],\n brandSelected: [],\n leaseSelected: [],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n formConfig: {},\n leaseTypes: [],\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n securityDepositName: \"\",\n leaseId: [],\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n gridColumns: [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Brand Name / Occupier Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n width: 300,\n //grow: 5,\n },\n {\n name: \"Unit No\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n cell: (record) => {\n if (typeof record.unit_no == \"undefined\" || record.unit_no == null) {\n return \"-\";\n } else {\n return (\n
    \n {record.unit_no.map((anObjectMapped, index) => {\n return
    {anObjectMapped}
    ;\n })}\n
    \n );\n }\n },\n },\n {\n name: \"Gross Leasable Area\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Landlord\",\n selector: \"landlord_name\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Cost Center\",\n selector: \"costCenter\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n\n {\n name: \"Model Type\",\n selector: \"modelType\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Security Deposit Name\",\n selector: \"securityDepositName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Milestone name\",\n selector: \"milestone_name\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Milestone Amt\",\n selector: \"milestone_amount\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Milestone Due Date\",\n selector: \"milestone_due_date\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n ],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/fetch-deposit-type`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseDocumentTypeList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&all=true&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n } else if (actionMeta == \"change_document_type\") {\n //\n this.state.initialValues.securityDepositName = newValue.value;\n this.state.initialValues.securityDepositName = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n //resetForm();\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n //this.state.formConfig = form_config;\n //form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_document_type\");\n }}\n value={{\n label: this.state.initialValues.securityDepositName,\n value: this.state.initialValues.securityDepositName,\n }}\n options={this.state.leaseDocumentTypeList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_document_type\");\n }}\n value={{\n label:\n this.state.initialValues.securityDepositName,\n value:\n this.state.initialValues.securityDepositName,\n }}\n options={this.state.leaseDocumentTypeList.map(\n (item) => ({\n label: item,\n value: item,\n })\n )}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n // value={{\n // label: this.state.initialValues.leaseValue,\n // value: this.state.initialValues.leaseId,\n // }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n\n\n\n\n\n\n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n \n \n );\n }\n}\n\nexport default withRouter(LeaseSecurityDeposit);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport LeaseDocumentTable from \"./LeaseDocumentTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faTimes,\n faUndo,\n faSave,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({});\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst uploadFromFrm = Yup.object().shape({\n dateAsOn: Yup.string().required(\"Required\"),\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseSecurityDeposit extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n LandlordGroups: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n assetsList: [],\n leaseList: [],\n leaseDocumentTypeList: [],\n brandSelected: [],\n leaseSelected: [],\n securityDepositIds: [],\n documentNames: [],\n exportUrl: \"\",\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n initialDeposit: [],\n exportBtn: false,\n leaseTypes: [],\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n securityDepositName: \"\",\n leaseId: \"\",\n dateAsOn: \"\",\n leaseDocumentType: [],\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n gridColumns: [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n width: 300,\n //grow: 5,\n },\n {\n name: \"Unit No\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Gross Leasable Area\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Security Deposit Name\",\n selector: \"securityDepositName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Security Deposit ( As per book )\",\n selector: \"milestone_amount\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n ],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/fetch-deposit-type`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseDocumentTypeList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleUpload() {\n this.uploader.uploadFile();\n const index = this.state.documentNames.indexOf(\n this.state.initialValues.leaseDocumentType\n );\n if (index > -1) {\n this.state.documentNames.splice(index, 1);\n }\n this.state.showUploadDocument = false;\n this.setState({});\n }\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/security-deposit-input/read-file`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn : false });\n }\n });\n };\n\n handleChangeDeposit = (newValue, actionMeta) => {\n //console.log(newValue);\n this.state.initialValues.securityDepositName = [];\n this.state.securityDepositIds = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.securityDepositName.push(newValue[i].value);\n this.state.securityDepositIds.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n console.groupEnd();\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n //this.state.initialValues.brandName = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_date_as_on\") {\n //change_lease_month\n console.log(newValue.target.value, \"new values date as on\");\n this.state.initialValues.dateAsOn = newValue.target.value;\n //this.state.initialValues.assetName = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n //this.state.initialValues.leaseId = newValue.value;\n //this.state.initialValues.leaseValue = newValue.label;\n\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n } else if (actionMeta == \"change_document_type\") {\n //\n //this.state.initialValues.securityDepositName = newValue.value;\n //this.state.initialValues.securityDepositName = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.initialDeposit = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-security-deposit?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n //tableCounter = 0;\n this.setState({\n //formResponseData: data,\n initialDeposit: data,\n });\n\n if (counter >= 1 && data.length > 0) {\n this.setState({ exportBtn: true });\n }\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n //this.state.exportUrl = `${apiUrl.apiUrl.url}/sales-input/fetch-security-deposit?export=true&` + prm;\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-security-deposit?export=true&` +\n prm,\n });\n console.log(\"export value cahgne\", this.state.exportUrl);\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n ({\n label: item,\n value: item,\n })\n )}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n\n
    \n \n
    \n\n \n )}\n \n\n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.forecast;\n\n console.log(formPostData, \":formPostData\");\n // axios({\n // method: \"post\",\n // url: `${apiUrl.apiUrl.url}/sales-input/create-input-sales`,\n // data: formPostData,\n // }).then(function (response) {\n // if (!response.data.success) {\n // actions.setSubmitting(false);\n // actions.setErrors(response.data);\n // } else {\n // alert(\"Data Saved Successfully\");\n // //self.setState({ redirect: true });\n // }\n // });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialDeposit.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n }\n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdGross Leasable AreaSecurity Deposit NameSecurity Deposit Amount
    Available As Per Book
    {anObjectMapped.srNo}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseCode}\n {anObjectMapped.gross_leasable_area}\n \n {anObjectMapped.securityDepositName}\n {anObjectMapped.amount}
    \n
    \n {this.state.exportBtn && (\n \n )}\n
    \n
    \n {/*
    \n {this.state.exportBtn && (\n \n )}\n
    */}\n
    \n
    \n )}\n \n\n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_date_as_on\");\n //this.state.initialValues.dateAsOn = e\n }}\n />\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n {/* */}\n \n );\n }\n}\n\nexport default withRouter(LeaseSecurityDeposit);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport LeaseDocumentTable from \"./LeaseDocumentTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faEye,\n faTimes,\n faUndo,\n faSave,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n //assetId: Yup.string().required(\"Required\"), \n leaseId: Yup.number().required(\"Required\"),\n dateAsOn: Yup.string().required(\"Required\"),\n });\n\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n //brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n dateAsOn: Yup.string().required(\"Required\"),\n });\n\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n dateAsOn: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// dateAsOn: Yup.string().required(\"Required\"),\n// });\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseSecurityDeposit extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n LandlordGroups: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n leaseList: [],\n leaseDocumentTypeList: [],\n brandSelected: [],\n leaseSelected: [],\n securityDepositIds: [],\n documentNames: [],\n\n exportUrl: \"\",\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseMonths: monthsArr,\n initialDeposit: [],\n exportBtn: false,\n leaseTypes: [],\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n securityDepositName: \"\",\n leaseId: \"\",\n dateAsOn: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n leaseDocumentType: [],\n },\n gridColumns: [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Number\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n width: 300,\n //grow: 5,\n },\n {\n name: \"Unit No\",\n selector: \"unit_no\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Gross Leasable Area\",\n selector: \"gross_leasable_area\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Security Deposit Name\",\n selector: \"securityDepositName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Security Deposit ( As per book )\",\n selector: \"milestone_amount\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n ],\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/fetch-deposit-type`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseDocumentTypeList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (this.state.initialValues.brandId.length == 0 || this.state.initialValues.brandId == \"\") {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleUpload() {\n this.uploader.uploadFile();\n const index = this.state.documentNames.indexOf(\n this.state.initialValues.leaseDocumentType\n );\n if (index > -1) {\n this.state.documentNames.splice(index, 1);\n }\n this.state.showUploadDocument = false;\n this.setState({});\n }\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/security-deposit-input/read-file`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n }\n });\n\n /*\n .then(function (response) {\n // if (!response.data.success) {\n // actions.setSubmitting(false);\n // actions.setErrors(response.data);\n // } else {\n // alert(\"Data Saved Successfully\");\n // //self.setState({ redirect: true });\n // }\n // });\n */\n };\n\n handleChangeDeposit = (newValue, actionMeta) => {\n //console.log(newValue);\n this.state.initialValues.securityDepositName = [];\n this.state.securityDepositIds = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.securityDepositName.push(newValue[i].value);\n this.state.securityDepositIds.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.setState({});\n console.groupEnd();\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = ['0'];\n this.state.brandSelected.push({ \"value\": 0, 'label': 'All' });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n\n console.log(this.state.initialValues.brandId, \"this.state.initialValues.brandId\")\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n \n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n //this.state.initialValues.brandName = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n // this.setState({\n // leaseList: data\n // });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = [];\n this.setState({\n leaseList: data,\n });\n console.log(\":leae list claer\");\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_date_as_on\") {\n //change_lease_month\n console.log(newValue.target.value, \"new values date as on\");\n this.state.initialValues.dateAsOn = newValue.target.value;\n //this.state.initialValues.assetName = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n //this.state.initialValues.leaseId = newValue.value;\n //this.state.initialValues.leaseValue = newValue.label;\n\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n } else if (actionMeta == \"change_document_type\") {\n //\n //this.state.initialValues.securityDepositName = newValue.value;\n //this.state.initialValues.securityDepositName = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n }\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.initialDeposit = [];\n this.state.exportBtn = false;\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n this.state.exportBtn = false;\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-security-deposit?variance=true&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n //tableCounter = 0;\n this.setState({\n //formResponseData: data,\n initialDeposit: data,\n });\n\n if (counter >= 1) {\n this.state.exportBtn = true;\n }\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n this.state.exportUrl =\n `${apiUrl.apiUrl.url}/sales-input/fetch-security-deposit?variance=true&export=true&` +\n prm;\n\n console.log(\"export value cahgne\", this.state.exportUrl);\n\n this.setState({});\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") && (\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_date_as_on\");\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n ({\n label: item,\n value: item,\n })\n )}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_date_as_on\");\n //this.state.initialValues.dateAsOn = e\n }}\n />\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.forecast;\n\n console.log(formPostData, \":formPostData\");\n // axios({\n // method: \"post\",\n // url: `${apiUrl.apiUrl.url}/sales-input/create-input-sales`,\n // data: formPostData,\n // }).then(function (response) {\n // if (!response.data.success) {\n // actions.setSubmitting(false);\n // actions.setErrors(response.data);\n // } else {\n // alert(\"Data Saved Successfully\");\n // //self.setState({ redirect: true });\n // }\n // });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.initialDeposit.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease NumberGross Leasable AreaCost CenterSecurity Deposit Name\n Security Deposit Amount\n
    As Per LeaseAs Per BookVariance
    {anObjectMapped.srNo}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseCode}{anObjectMapped.gross_leasable_area}{anObjectMapped.costCenter}\n {anObjectMapped.securityDepositName}\n {anObjectMapped.milestone_amount}{anObjectMapped.amount}{anObjectMapped.variance}
    \n
    \n {this.state.exportBtn && (\n \n )}\n
    \n
    \n
    \n
    \n )}\n \n\n {/* */}\n \n );\n }\n}\n\nexport default withRouter(LeaseSecurityDeposit);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n showFullHistory: \"No\"\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetTypes();\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n this.setState({ exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm, counter: counter });\n //this.setState({});\n /*\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });*/\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n {/* Section 1: Country */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Section 2: Charge Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n {/* Section 3: State */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Section 4: Brand Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Section 5: District */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n {/* Section 7: City */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Section 6: Asset Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n \n\n {/* Section 9: Landlord Group */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n\n {/* Section 8: Lease Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\"ALL\", \"Active\", \"Expired\", \"Terminated\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard_company\");\n }}\n value={{\n label:\n this.state.initialValues.landloardCompanyName,\n value:\n this.state.initialValues.landloardCompanyId,\n }}\n options={this.state.landloardCompanyList.map(\n (item) => ({\n label: item.company_name,\n value: item.id,\n })\n )}\n />\n
    \n
    \n\n \n\n {/* Section 10: Model Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"leaseId\",\n this.state.leaseSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n\n {/* Section 11: Cost Center */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n }}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.state.initialValues.bifurcase_unit_wise =\n e.value;\n }}\n options={[\"Yes\", \"No\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.showFullHistory =\n e.value;\n this.setState({});\n }}\n options={[\"Yes\", \"No\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n\n \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard_company\");\n }}\n value={{\n label:\n this.state.initialValues.landloardCompanyName,\n value:\n this.state.initialValues.landloardCompanyId,\n }}\n options={this.state.landloardCompanyList.map(\n (item) => ({\n label: item.company_name,\n value: item.id,\n })\n )}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n //this.valueChange(e, \"change_asset_name\");\n this.state.initialValues.bifurcase_unit_wise =\n e.value;\n }}\n // value={{\n // label: this.state.initialValues.assetName,\n // value: this.state.initialValues.assetId,\n // }}\n options={[\"Yes\", \"No\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n\n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    */}\n \n )\n }\n \n\n \n \n );\n }\n}\n\nexport default withRouter(RevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ExpenseReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All'\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/expense-report/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/expense-report/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n {/*
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    */}\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard_company\");\n }}\n value={{\n label:\n this.state.initialValues.landloardCompanyName,\n value:\n this.state.initialValues.landloardCompanyId,\n }}\n options={this.state.landloardCompanyList.map(\n (item) => ({\n label: item.company_name,\n value: item.id,\n })\n )}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n //this.valueChange(e, \"change_asset_name\");\n this.state.initialValues.bifurcase_unit_wise =\n e.value;\n }}\n // value={{\n // label: this.state.initialValues.assetName,\n // value: this.state.initialValues.assetId,\n // }}\n options={[\"Yes\", \"No\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n {/* {\n this.state.initialValues.financialYearTwo = e.target.value;\n handleChange(e);\n }}\n \n />\n */}\n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n\n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n )}\n \n\n \n
    \n );\n }\n}\n\nexport default withRouter(ExpenseReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass MgWithRevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName = \"\";\n this.state.initialValues.assetId = \"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName = \"\";\n this.state.initialValues.assetId = \"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName = \"\";\n this.state.initialValues.assetId = \"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/expense-report/fetch-revenue-details?export=true&` +\n prm,\n });\n /*\n fetch(\n `${apiUrl.apiUrl.url}/expense-report/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/expense-report/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n */\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n this.handleChangeCountry(e, \"changecountry\")}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_brand\")}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_state\")}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_asset_type\")}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_district\")}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_asset_name\")}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_city\")}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"lease_type\")}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_lease_type\")}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.valueChange(e, \"change_lease_number\")}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n this.setState({ financialYearOne: date })}\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n
    \n );\n }\n}\n\nexport default withRouter(MgWithRevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\"\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n form_config.lockin = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n\n\n\n \n
    \n
    \n
    \n
    \n
    \n\n\n\n
    \n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(RevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n form_config.mg_revenue = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Country */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Charge Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n options={[\"RENT\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n {/* State */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Brand Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* District */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n {/* City */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n {/* Model Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {/* Cost Center */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n {/* Lease Number */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Period */}\n
    \n \n
    \n
    \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n //\"ALL\",\n //\"CAM\",\n \"RENT\",\n // \"Property Tax\",\n // \"Marketing Tax\",\n // \"Parking 2W\",\n // \"Parking 4W\",\n // \"Parking Other\",\n // \"Storage\",\n // \"Signage\",\n // \"Utilities\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n\n\n\n
    \n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(RevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n frequencyChange(e) {\n console.log(e, \"eee\");\n this.state.initialValues.freqId = e.value;\n\n this.state.frequencySelected = {\n value: e.value,\n label: e.label,\n };\n\n // for (let i = 0; i < e.length; i++) {\n // this.state.initialValuesAlertSettings.freqId.push(e[i].value);\n // this.state.frequencySelected.push({\n // value: e[i].value,\n // label: e[i].label,\n // });\n // }\n this.setState({});\n }\n\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetTypes();\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n this.state.counter = Math.random();\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n this.setState({});\n return false;\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* First section */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Second section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Third section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n {/* Fifth section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Fourth section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n\n {/* Seventh section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Sixth section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {/* Eighth section */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Ninth section */}\n
    \n \n
    \n {\n this.frequencyChange(e);\n }}\n value={this.state.frequencySelected}\n options={[\n { label: \"6 Months\", value: 6 },\n { label: \"5 Months\", value: 5 },\n { label: \"4 Months\", value: 4 },\n { label: \"3 Months\", value: 3 },\n { label: \"2 Months\", value: 2 },\n { label: \"1 Month\", value: 1 },\n { label: \"15 Days\", value: \"15 Days\" },\n ].map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.frequencySelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n {/* Tenth section */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.frequencyChange(e);\n }}\n value={this.state.frequencySelected}\n options={[\n { label: \"6 Months\", value: 6 },\n { label: \"5 Months\", value: 5 },\n { label: \"4 Months\", value: 4 },\n { label: \"3 Months\", value: 3 },\n { label: \"2 Months\", value: 2 },\n { label: \"1 Months\", value: 1 },\n {\n label: \"15 Days\",\n value: \"15 Days\",\n },\n ].map((item) => ({\n label: item.label,\n value: item.label,\n }))}\n />\n\n {this.validator.message(\n \"chargeType\",\n this.state.frequencySelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(RevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// //dataUomId: Yup.string().required(\"Required\")\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RevenueReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n\n\n\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n landloardCompanyList: [],\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n initialiseAllData=() => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n // this.state.initialValues.leaseId\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // financialYear: data.fianancialYears,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n \n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n if (this.state.initialValues.assetId == \"ALL\") {\n this.setState({});\n return true;\n }\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = [];\n //this.state.leaseSelected= [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n //this.state.selectedValue.push(newValue[i].value);\n //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n form_config.expiry_status = true;\n var counter = this.state.counter + 1;\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n this.setState({ counter: counter });\n return true;\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard_company\");\n }}\n value={{\n label: this.state.initialValues.landloardCompanyName,\n value: this.state.initialValues.landloardCompanyId,\n }}\n options={this.state.landloardCompanyList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.stateId,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard_company\");\n }}\n value={{\n label:\n this.state.initialValues.landloardCompanyName,\n value:\n this.state.initialValues.landloardCompanyId,\n }}\n options={this.state.landloardCompanyList.map(\n (item) => ({\n label: item.company_name,\n value: item.id,\n })\n )}\n />\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n />\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n\n\n
    \n\n\n\n\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(RevenueReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// //dataUomId: Yup.string().required(\"Required\")\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ComplianceTracker extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetTypeList: [],\n assetTypeSelected: [],\n assetsList: [],\n redirect: false,\n states: [],\n\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n this.setState({ leaseSelected: [] });\n if (input == \"ALL\") {\n return false;\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n // this.state.initialValues.leaseId\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // financialYear: data.fianancialYears,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = [];\n //this.state.leaseSelected= [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n //this.state.selectedValue.push(newValue[i].value);\n //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n\n\n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(ComplianceTracker);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// //dataUomId: Yup.string().required(\"Required\")\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass FranchiseeReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetTypeList: [],\n assetTypeSelected: [],\n assetsList: [],\n redirect: false,\n states: [],\n\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData =() => {\n fetch(`${apiUrl.apiUrl.url}/countries`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n this.setState({ leaseSelected: [] });\n if (input == \"ALL\") {\n return false;\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n // this.state.initialValues.leaseId\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // financialYear: data.fianancialYears,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = [];\n //this.state.leaseSelected= [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n //this.state.selectedValue.push(newValue[i].value);\n //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n }else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/lease-report/franchisee-report?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/lease-report/franchisee-report?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n\n\n\n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(FranchiseeReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n // financialYearOne: Yup.string().required(\"Required\"),\n // financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// //dataUomId: Yup.string().required(\"Required\")\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ClausesReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetTypeList: [],\n assetTypeSelected: [],\n assetsList: [],\n redirect: false,\n states: [],\n\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n clauseType: 'Commercial',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n };\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n this.setState({ leaseSelected: [] });\n if (input == \"ALL\") {\n return false;\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n // this.state.initialValues.leaseId\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // financialYear: data.fianancialYears,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = [];\n //this.state.leaseSelected= [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n //this.state.selectedValue.push(newValue[i].value);\n //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else if (actionMeta == \"change_clause_type\") {\n //brandName\n this.state.initialValues.clauseType = newValue.value;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/lease-report/clauses-report?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/lease-report/clauses-report?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_clause_type\");\n }}\n value={{\n label: this.state.initialValues.clauseType,\n value: this.state.initialValues.clauseType,\n }}\n options={[{ label: 'Commercial' }, { label: 'Legal' }].map((item) => ({\n label: item.label,\n value: item.label,\n }))}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n\n\n\n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_clause_type\");\n }}\n value={{\n label: this.state.initialValues.clauseType,\n value: this.state.initialValues.clauseType,\n }}\n options={[{ 'label': 'Commercial' }, { 'label': 'Legal' }].map((item) => ({\n label: item.label,\n value: item.label,\n }))}\n />\n\n \n { }\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(ClausesReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\n\nimport styled from \"styled-components\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseReportSalesView extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n exportUrl: \"\",\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n redirect: false,\n states: [],\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n tableColumns: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-brand-category`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandCatList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData = [];\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n //form_config['export'] = 'true';\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n //FetchSalesDetailView\n fetch(`${apiUrl.apiUrl.url}/sales-input/fetch-sales-detail-view?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n\n console.log(data, \"datata\");\n\n this.setState({\n formResponseData: data.data,\n tableColumns: data.columns,\n colKeys: data.col_keys,\n //initialForecast:data.forecasteDetails\n });\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n //this.state.exportUrl = `${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?export=true&` + prm;\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-detail-view?export=true&` +\n prm,\n });\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n // value={{\n // label: this.state.initialValues.leaseValue,\n // value: this.state.initialValues.leaseId,\n // }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n {/*
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n\n
    \n
    \n
    \n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n\n
    \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.tableColumns.map((i, v) => {\n return (\n \n );\n })\n }\n \n\n \n \n\n {this.state.formResponseData.length > 0 && this.state.formResponseData.map((i, v) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    {i}
    {i['sr_no']}{i['assetName']}{i['brandName']}{i['leaseName']}{i['grossLeasebleArea']}{i['type']}{i['fy']}{i['Apr'] || 0}{i['May'] || 0}{i['Jun'] || 0}{i['Jul'] || 0}{i['Aug'] || 0}{i['Sep'] || 0}{i['Oct'] || 0}{i['Nov'] || 0}{i['Dec'] || 0}{i['Jan'] || 0}{i['Feb'] || 0}{i['Mar'] || 0}{i['total'] || 0}
    Nothing to show.....
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesView);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYearOne: Yup.string().required(\"Required\"),\n// financialYearTwo: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeaseReportSalesComparison extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n tableColumns: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n countryName: \"\",\n stateId: \"\",\n districtId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetTypes();\n\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n this.state.leaseSelected = [];\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n\n this.state.initialValues.financialYearOne = \"Period 1\";\n this.state.initialValues.financialYearTwo = \"Period 2\";\n this.state.leaseSelected = \"\";\n this.state.formResponseData = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-comparison-detail-view?` + prm, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n tableColumns: data.columns\n });\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-sales-comparison-detail-view?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Country */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Brand Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* State */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n \n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n {/* District */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n {/* City */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Model Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n {/* Lease Number */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Occupier or Landlord Group based on user type */}\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n {/* Cost Center */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n {/* Financial Year */}\n
    \n \n
    \n
    \n {\n this.valueChange(e, \"change_financial_yearone\");\n }}\n value={{\n label: this.state.initialValues.financialYearOne,\n value: this.state.initialValues.financialYearOne,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n
    \n
    \n {\n this.valueChange(e, \"change_financial_yeartwo\");\n }}\n value={{\n label: this.state.initialValues.financialYearTwo,\n value: this.state.initialValues.financialYearTwo,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n\n {/* Data UOM */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n
    \n
    \n
    \n
    \n }\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n console.log(e, \"lineno 1076\")\n this.state.initialValues.costCenter = e.target.value;\n this.setState({})\n }}\n\n />\n\n \n { }\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_yearone\");\n }}\n value={{\n label:\n this.state.initialValues.financialYearOne,\n value:\n this.state.initialValues.financialYearOne,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n
    \n
    \n \n\n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_yeartwo\");\n }}\n value={{\n label:\n this.state.initialValues.financialYearTwo,\n value:\n this.state.initialValues.financialYearTwo,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n
    \n {/*
    */}\n
    \n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n
    \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.tableColumns.map((i, v) => {\n return (\n \n );\n })\n }\n \n\n \n \n\n {this.state.formResponseData.length > 0 && this.state.formResponseData.map((i, v) => {\n return (\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    {i}
    {i['sr_no']}{i['assetName']}{i['brandName']}{i['leaseName']}{i['grossLeasebleArea']}{i['costCenter']}{i['type']}{i['fy']}{i['Apr'] || 0}{i['May'] || 0}{i['Jun'] || 0}{i['Jul'] || 0}{i['Aug'] || 0}{i['Sep'] || 0}{i['Oct'] || 0}{i['Nov'] || 0}{i['Dec'] || 0}{i['Jan'] || 0}{i['Feb'] || 0}{i['Mar'] || 0}{i['total'] || 0}
    Nothing to show.....
    \n
    \n\n
    \n
    \n {/*
    */}\n
    \n \n );\n }\n}\n\nexport default withRouter(LeaseReportSalesComparison);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEye, faUndo, faDownload, faFileExcel, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport ReactTooltip from \"react-tooltip\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet colors = [\n \"#b8ebfe\",\n \"#259ebd\",\n \"#4091c8\",\n \"#98cd34\",\n \"#b56ee8\",\n \"#7fd9bf\",\n \"#ffb494\",\n \"#fed794\",\n \"#ca3763\",\n];\n\nclass StackingPlan extends React.Component {\n groupId = { value: \"\" };\n\n state = {\n toggleToActualSize: false,\n tenantNames: [],\n maxGla: \"\",\n stackingPlanData: {},\n selectedTowerId: \"\",\n url: `${apiUrl.apiUrl.url}/lease-report`,\n LandlordGroups: [],\n subAssetNameValues: [],\n tower: [],\n\n landloardList: [],\n occupierList: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n leaseList: [],\n leaseDocumentTypeList: [],\n brandSelected: [],\n leaseSelected: [],\n redirect: false,\n states: [],\n zones: [],\n redirect: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n currentDocument: \"\",\n pageNo: 1,\n initialValues: {\n brandId: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n leaseDocumentTypeId: \"All\",\n leaseId: \"\",\n leaseNumber: \"\",\n subAssetName: \"\",\n tower: \"\",\n assetTypeId: \"\",\n\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData=()=>{\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-view/get-lease-document-type`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseDocumentTypeList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeAsset = (e) => {\n let assetId = e.value;\n //fetch(`${apiUrl.apiUrl.url}/sub-assets/asset-sub-assets/` + assetId,{headers})\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + assetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //let assetFromApi = Object.keys(data);\n\n this.setState({\n subAssetNameValues: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeSubAsset = (e) => {\n let subAssetId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + subAssetId, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n tower: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n\n this.state.initialValues.brandId = \"\";\n this.state.initialValues.brandName = \"\";\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n // this.state.initialValues.leaseId = newValue.value;\n // this.state.initialValues.leaseValue = newValue.label;\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n console.log(\"going to set\");\n //this.setState({});\n }\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({});\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.initialValues.leaseId = [];\n\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(\n \"\" + this.state.leaseList[i].id\n );\n }\n }\n } else {\n this.state.initialValues.leaseId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(\"\" + newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n this.setState({});\n } else if (actionMeta == \"change_document_type\") {\n //\n this.state.initialValues.leaseDocumentTypeId = newValue.value;\n this.state.initialValues.leaseDocumentTypeId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n };\n\n getColour = () => Math.floor(Math.random() * 16777215).toString(16);\n\n toggelToActualSize(e) {\n console.log(e.target.checked, \"val\");\n this.setState({ toggleToActualSize: e.target.checked });\n }\n\n downloadStack = () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url + '/rent-calculation/get-stacking-plan?towerId=' + this.state.selectedTowerId + '&export=true&sendLink=true'}`,\n data: {}\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n }\n\n createLi(k, v, key) {\n let colorCode;\n let _width = (this.state.stackingPlanData[key][k].gla / this.state.maxGla) * 100;\n // if(! this.state.toggleToActualSize){\n // _width = 350;\n // }\n\n if (\n this.state.tenantNames[this.state.stackingPlanData[key][k].tenant_name] ==\n undefined\n ) {\n colorCode = \"#\" + this.getColour();\n let _tenantNames = this.state.tenantNames;\n _tenantNames[this.state.stackingPlanData[key][k].tenant_name] = colorCode;\n this.setState({ tenantNames: _tenantNames });\n } else {\n colorCode =\n this.state.tenantNames[this.state.stackingPlanData[key][k].tenant_name];\n }\n\n let rentString = \"₹: \" + this.state.stackingPlanData[key][k].rent + \" psf\";\n\n if (this.state.stackingPlanData[key][k].unit_status === \"Vacant\") {\n rentString = \"\";\n }\n\n return (\n \" +\n rentString +\n \"
    \" +\n \"\" +\n this.state.stackingPlanData[key][k].gla +\n \" sq.ft\"\n }\n data-iscapture=\"true\"\n className={this.state.toggleToActualSize ? 'unit1' : 'unit1 minWidthLi'}\n style={{\n width: this.state.toggleToActualSize ? _width + \"%\" : \"350px\",\n // minWidth:_width + \"px\",\n backgroundColor:\n this.state.stackingPlanData[key][k].unit_status === \"Vacant\"\n ? \"#dedede\"\n : colorCode,\n }}\n >\n {this.state.stackingPlanData[key][k].unit_status === \"Vacant\" ? \"Vacant\" : this.state.stackingPlanData[key][k].tenant_name\n .split(\" \")\n .slice(0, 2)\n .join(\" \")}{\" \"}\n {\n this.state.stackingPlanData[key][k].unit_status !== \"Vacant\" && ( ₹: {this.state.stackingPlanData[key][k].rent} psf)\n }\n ( {this.state.stackingPlanData[key][k].gla} sft)\n \n );\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.stackingPlanData = [];\n this.state.maxGla = 0;\n this.state.counter = Math.random();\n\n console.log(values, \"values\")\n\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n //resetForm();\n }}\n onSubmit={(values, actions) => {\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n form_config.expiry_status = true;\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var counter = this.state.counter + 1;\n this.setState({ counter: counter });\n form_config = undefined;\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/rent-calculation/get-stacking-plan?towerId=${this.state.selectedTowerId}`,\n }).then(function (response) {\n self.setState({\n stackingPlanData: response.data.data,\n maxGla: response.data.max_gla,\n });\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.changeAsset(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.selectedTowerId = e.target.value;\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
    \n
    \n\n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.changeAsset(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.changeSubAsset(e);\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.selectedTowerId = e.target.value;\n handleChange(e);\n }}\n >\n \n ))}\n \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n {\n resetForm();\n }}\n >\n Reset\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n
    \n \n\n \n\n
    \n\n
    \n\n
    \n
    \n\n
      \n {Object.keys(this.state.stackingPlanData).map(function (key) {\n return
    • {key}
    • ;\n })}\n
    \n
    \n
    \n {Object.keys(this.state.stackingPlanData).map(\n (key, value) => (\n
      \n \n {Object.keys(this.state.stackingPlanData[key]).map(\n (k, v) => this.createLi(k, v, key),\n this\n )}\n
    \n ),\n this\n )}\n
    \n
    \n
    \n \n );\n }\n}\n\nexport default withRouter(StackingPlan);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faDownload, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ChargeReceiptUpload extends React.Component {\n groupId = { value: \"\" };\n state = {\n exportBtn: false,\n selectedFile: '',\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n cancelForm = () => {\n this.setState({ exportBtn: false });\n }\n\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\", this.state.selectedFile);\n\n if (typeof this.state.selectedFile == \"undefined\" || typeof this.state.selectedFile.name == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n //formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/charge-receipt/upload`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn: false });\n }\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n var ths = this;\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/charge-receipt/download?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n ths.setState({ exportBtn: true });\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + data.filename}`;\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Receipt\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n \n );\n }\n}\n\nexport default withRouter(ChargeReceiptUpload);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faDownload, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTableChargeReceipt\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass ChargeReceiptReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n exportBtn: false,\n selectedFile: '',\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\", this.state.selectedFile);\n\n if (typeof this.state.selectedFile == \"undefined\" || typeof this.state.selectedFile.name == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n //formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/charge-receipt/upload`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn: false });\n }\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n var ths = this;\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n this.setState({ counter: counter });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n console.log(e, \"lineno 1076\");\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"financialYear\",\n this.state.initialValues.financialYear,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n\n \n );\n }\n}\n\nexport default withRouter(ChargeReceiptReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faDownload, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass FinanceInput extends React.Component {\n groupId = { value: \"\" };\n state = {\n exportBtn: false,\n selectedFile: '',\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n cancelForm = () => {\n this.setState({ exportBtn: false });\n }\n\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\", this.state.selectedFile);\n\n if (typeof this.state.selectedFile == \"undefined\" || typeof this.state.selectedFile.name == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n //formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/finance-report/yes-first-report-upload?date=${this.state.formConfig.financialYearOne}`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn: false });\n }\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n var ths = this;\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n // fetch(\n // `${apiUrl.apiUrl.url}/finance-report/yes-first-report-download?` + prm,\n // { headers }\n // )\n // .then((response) => {\n // //return response.json();\n // console.log(response, \"response\")\n // ths.setState({ exportBtn: true });\n // // window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response}`;\n // })\n // .catch((error) => {\n // console.log(error,\"response eroor\");\n // });\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/finance-report/yes-first-report-download?` + prm,\n //data: { columnsList: columnsList }\n }).then(function (response) {\n ths.setState({ exportBtn: true });\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Other Rent Details\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Input File\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n \n );\n }\n}\n\nexport default withRouter(FinanceInput);\n","import React, { useState, useEffect } from 'react';\nimport axios from 'axios';\nimport apiUrl from \"../../apiUrlConstant\";\n\nconst DynamicForm = ({initialColumns, initialRows , ths}) => {\n \n const [columns, setColumns] = useState(initialColumns || []);\n const [rows, setRows] = useState(initialRows || []);\n const [loading, setLoading] = useState(true);\n const [popupalertMessage, setpopupalertMessage] = useState(false);\n const [popupMessageContent, setpopupMessageContent] = useState(\"123\");\n\n const [textContent, setTextContent] = useState(\"\");\n\n const redirectToClose = () => {\n setpopupMessageContent(\"\");\n setpopupalertMessage(false);\n ths.setState({ viewModal : false })\n };\n\n // Fetch data on component mount\n useEffect(() => {\n if (initialColumns && initialRows) {\n setColumns(initialColumns);\n setRows(initialRows);\n setLoading(false);\n }\n }, [initialColumns, initialRows]);\n\n // Handle input change for editable fields\n const handleInputChange = (index, key, value) => {\n const updatedRows = [...rows];\n\n if(key=='reimbursementDeduction'){\n if(key=='reimbursementDeduction' && !isNaN(value)){\n let finalNetAmount = updatedRows[index]['month2NetAmt']-value;\n updatedRows[index]['finalNetAmount'] = finalNetAmount;\n }else{\n updatedRows[index]['finalNetAmount']= updatedRows[index]['month2NetAmt'];\n value = 0;\n }\n }\n\n updatedRows[index][key] = value;\n setTextContent(value);\n setRows(updatedRows);\n };\n\n const handleFocus = (rowIndex, key) => {\n setTextContent(rows[rowIndex][key]);\n };\n\n const handleSave = (method) => {\n\n axios\n .post(`${apiUrl.apiUrl.url}/finance-report/payment-update?date=${ths.state.formConfig.financialYearOne}`, { 'formData' : rows })\n .then(function (response) {\n if (response.data.success) {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n var prm = Object.entries(ths.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n\n // fetch(\n // `${apiUrl.apiUrl.url}/finance-report/payment-download?` + prm,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // ths.setState({ exportBtn: true, viewModal: false });\n // window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + data.filename}`;\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/finance-report/payment-download?` + prm,\n //data: { columnsList: columnsList }\n }).then(function (response) {\n if(method == \"save\") {\n ths.setState({ exportBtn: false, viewModal: false });\n }else{\n ths.setState({ exportBtn: true, viewModal: false });\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n }\n });\n }\n });\n };\n\n return (\n
    \n
    \n \n \n \n {columns.map((column, index) => (\n \n ))}\n \n \n \n {rows.map((row, rowIndex) => (\n \n {columns.map((column, index) => (\n \n ))}\n \n ))}\n \n
    \n

    \n {column.label}\n

    \n
    \n {column.editable ? (\n \n handleInputChange(rowIndex, column.key, e.target.value)\n }\n style={{ width: '100%' }}\n onFocus={() => handleFocus(rowIndex, column.key)} // Custom onFocus callback\n />\n ) : (\n

    {row[column.key] || \"\"}

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

    {textContent}

    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n \n
    \n );\n};\n\nexport default DynamicForm;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faDownload, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { Modal } from \"react-bootstrap\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\nimport PaymentUploadForm from \"./PaymentUploadForm\"\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nconst modalStyle = {\n maxHeight: '80vh', // Set a max height for the modal\n overflowY: 'auto', // Enable vertical scrolling\n overflowX: 'hidden', // Hide horizontal scrolling if necessary\n padding: '20px', // Add some padding\n backgroundColor: 'white', // Background color for the modal\n borderRadius: '8px', // Rounded corners for the modal\n boxShadow: '0 4px 8px rgba(0, 0, 0, 0.2)', // Add shadow for depth\n position: 'relative', // Position relative for inner content\n zIndex: 1000, // Ensure it appears above other content\n};\n\nconst overlayStyle = {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)', // Dark overlay\n zIndex: 999, // Under the modal but above other content\n};\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass FinancePayment extends React.Component {\n groupId = { value: \"\" };\n state = {\n exportBtn: false,\n counter : 0,\n viewModal: false,\n columns:[],\n formData :[],\n updalodData: [],\n selectedFile: '',\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n cancelForm = () => {\n this.setState({ exportBtn: false });\n }\n\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\", this.state.selectedFile);\n\n if (typeof this.state.selectedFile == \"undefined\" || typeof this.state.selectedFile.name == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n console.log(this.state.formConfig.financialYearOne,'Year');\n\n //formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/finance-report/payment-upload?date=${this.state.formConfig.financialYearOne}`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn: false });\n }\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n handleModalClose = () => {\n this.setState({ viewModal : false });\n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n var ths = this;\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/finance-report/payment-download?view=true&` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //ths.setState({ exportBtn: true });\n\n console.log(data, \"data====\")\n\n ths.setState({ columns: data.columns, formData: data.data }, () => {\n ths.setState({ viewModal: true });\n });\n \n //window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + data.filename}`;\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Other Rent Details\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n {\n this.state.viewModal && (\n \n \n Payment Upload\n \n \n \n \n \n \n )\n } \n\n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Payment File\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n \n );\n }\n}\n\nexport default withRouter(FinancePayment);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faDownload, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport axios from \"axios\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"./RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass FinanceReconciliation extends React.Component {\n groupId = { value: \"\" };\n state = {\n exportBtn: false,\n selectedFile: '',\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n // console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n\n cancelForm = () => {\n this.setState({ exportBtn: false });\n }\n\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\", this.state.selectedFile);\n\n if (typeof this.state.selectedFile == \"undefined\" || typeof this.state.selectedFile.name == \"undefined\") {\n alert(\"Please upload file to process\");\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n\n //formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/finance-report/reconciliation-upload?date=${this.state.formConfig.financialYearOne}`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n alert(\"Form processed successfully.\");\n ths.setState({ exportBtn: false });\n }\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n \n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n var ths = this;\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n \n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/finance-report/reconciliation-download?` + prm,\n //data: { columnsList: columnsList }\n }).then(function (response) {\n ths.setState({ exportBtn: true });\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"CAM\",\n \"RENT\",\n \"Other Rent Details\",\n \"Property Tax\",\n \"Marketing Fund\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"chargeType\",\n this.state.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"lease_type\");\n }}\n value={this.state.initialValues.leaseType}\n name=\"leaseType\"\n options={[\n \"ALL\",\n \"Active\",\n \"Expired\",\n \"Terminated\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\n \"leaseType\",\n this.state.leaseType,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Input File\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n \n );\n }\n}\n\nexport default withRouter(FinanceReconciliation);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport OutflowTable from \"./OutflowTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // leaseId: Yup.number().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass OutflowReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n chargeTypeSelected: [],\n brandSelected: [],\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n\n redirect: false,\n states: [],\n landloardCompanyList: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseType: \"\",\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n landloardCompanyName: \"\",\n landloardCompanyId: \"\",\n leaseType: \"\",\n\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.bifurcase_unit_wise = \"No\";\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + this.state.leaseType,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n this.state.chargeTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard_company\") {\n this.state.initialValues.landloardCompanyId = newValue.value;\n this.state.initialValues.landloardCompanyName = newValue.label;\n } else if (actionMeta == \"lease_type\") {\n this.state.initialValues.leaseType = newValue;\n this.state.leaseType = newValue.label;\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-revenue-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"&leaseType=\" + newValue.label,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n\n //\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies/?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardCompanyList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/outflow/fetch-outflow-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n monthsArr: data.monthsArr,\n });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/outflow/fetch-outflow-details?outflow-export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n \n
    \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message(\n \"Asset Name\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n\n\n
    \n\n\n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    */}\n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(OutflowReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nimport ReactMultiSelectCheckboxes from \"react-multiselect-checkboxes\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.string().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n\n// for (; i <= 10; i++) {\n\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nclass LeaseVoucherForecast extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n redirect: false,\n assetsList: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n leaseCommencementMonth: \"\",\n exportBtn: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n financialYear: financialYear,\n leaseList: [],\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: {},\n },\n },\n initialForecast: {},\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = newValue.value;\n this.state.initialValues.leaseValue = newValue.label;\n\n if (newValue.label != \"ALL\" && newValue.label != \"\") {\n this.state.leaseList.forEach((item) => {\n if (newValue.value == item.id) {\n this.state.initialValues.assetId = item.asset_id;\n this.state.initialValues.assetName = item.asset_name;\n\n this.setMasterPreValues(item.asset_id);\n }\n });\n }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n leaseCommencementMonth: data.lease_commencement_month,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?sales-report=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?sales-report=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n formData.append(\"leaseId\", this.state.initialForecast.leaseId);\n formData.append(\"type\", \"forecast\");\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/voucher/import-forecast`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: {},\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.exportBtn = false;\n this.state.formResponseData.forecasteDetails.forecast = [];\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/voucher/fetch-voucher-input?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n this.setState({\n formResponseData: data,\n initialForecast: data.forecasteDetails,\n });\n\n this.state.initialForecast.leaseId = data.lease_id;\n this.state.initialForecast.year = data.year;\n\n this.setState({\n exportBtn: true,\n exportUrl:\n `${apiUrl.apiUrl.url}/voucher/fetch-voucher-input?export=true&reportType=forecast&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n {/*
    \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n
    \n )}\n \n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.forecast;\n\n console.log(formPostData, \":formPostData\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/create-input-sales`,\n data: formPostData,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n //self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.forecasteDetails.forecast.map(\n (anObjectMapped, index) => {\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n \n \n \n \n \n \n \n\n \n \n );\n }\n )}\n\n {this.state.formResponseData.forecasteDetails\n .forecast.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdCost CenterGross Leasable AreaPeriodForecast Vouchers
    {index + 1}\n {this.state.formResponseData.assetName}\n \n {this.state.formResponseData.brandName}\n \n {this.state.formResponseData.leaseName}\n \n {this.state.formResponseData.costCenter}\n \n {\n this.state.formResponseData\n .grossLeasebleArea\n }\n {anObjectMapped.periodFull}\n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n
    Nothing to show.....
    \n
    \n
    \n {this.state.formResponseData.forecasteDetails.forecast\n .length > 0 && (\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n )}\n \n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n
    \n );\n }\n}\n\nexport default withRouter(LeaseVoucherForecast);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport DatePicker from \"react-datepicker\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n //financialYear: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n financialYearTwo: Yup.string().required(\"Required\"),\n\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // fbrandId: Yup.number().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n ///financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.string().required(\"Required\"),\n //financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.string().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nclass LeaseGiftVoucherActual extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n exportBtn: false,\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n leaseTypes: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n assetTypeId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All'\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = newValue.value;\n this.state.initialValues.leaseValue = newValue.label;\n\n this.state.leaseList.forEach((item) => {\n if (newValue.value == item.id) {\n this.state.initialValues.assetId = item.asset_id;\n this.state.initialValues.assetName = item.asset_name;\n\n this.setMasterPreValues(item.asset_id);\n }\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n formData.append(\"leaseId\", this.state.initialForecast.leaseId);\n formData.append(\"type\", \"actual\");\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/voucher/import-forecast`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n console.log(\"hii\");\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData.forecasteDetails.actual = [];\n this.setState({ exportBtn: false });\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/voucher/fetch-voucher-input?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n this.setState({\n formResponseData: data,\n initialForecast: data.forecasteDetails,\n });\n\n this.state.initialForecast.leaseId = data.lease_id;\n this.state.initialForecast.year = data.year;\n\n this.setState({\n exportBtn: true,\n exportUrl:\n `${apiUrl.apiUrl.url}/voucher/fetch-voucher-input?export=true&reportType=actual&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n\n {/* Country */}\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n\n {/* Brand Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n\n {/* State */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n {/* District */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n \n
    \n
    \n\n \n\n {/* City */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n\n {/* Model Type */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n\n \n
    \n
    \n\n {/* Lease Number */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Leases\",\n this.state.initialValues.leaseId,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n \n
    \n
    \n\n {/* Period */}\n
    \n \n
    \n
    \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n dateFormat=\"MMMM yyyy\"\n placeholderText=\"Month To\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n {/* Data UOM */}\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n\n {/* Cost Center */}\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.actual;\n\n console.log(formPostData, \":formPostData\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/create-input-sales`,\n data: formPostData,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n //self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.forecasteDetails.actual.map(\n (anObjectMapped, index) => {\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n \n \n \n \n \n \n \n\n \n\n \n );\n }\n )}\n\n {this.state.formResponseData.forecasteDetails.actual\n .length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdCost CenterAs Per LeasePeriodActual
    {index + 1}\n {this.state.formResponseData.assetName}\n \n {this.state.formResponseData.brandName}\n \n {this.state.formResponseData.leaseName}\n \n {this.state.formResponseData.costCenter}\n \n {/* {\n this.state.formResponseData\n .grossLeasebleArea\n } */}\n {\n this.state.formResponseData.forecasteDetails['forecast'][index]['forecast_net_sale']\n }\n {anObjectMapped.periodFull}\n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n
    Nothing to show.....
    \n {this.state.formResponseData.forecasteDetails.actual\n .length > 0 && (\n <>\n
    \n \n \n
    \n \n )}\n
    \n
    \n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n
    \n )}\n \n\n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n {/* */}\n \n );\n }\n}\n\nexport default withRouter(LeaseGiftVoucherActual);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport DatePicker from \"react-datepicker\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport styled from \"styled-components\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseGiftVoucherView extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n exportUrl: \"\",\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n districtList: [],\n\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n count: 0,\n financialYearOne: \"\",\n financialYearTwo: \"\",\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n leaseTypes: [],\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n initialValues: {\n brandId: [],\n countryId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n assetTypeId: \"\",\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All'\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n }\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n }\n else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n //brandName\n // this.state.leaseSelected = [];\n // this.state.initialValues.leaseId = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n console.log(\"aclliningng\", newValue);\n\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n console.log(\"in else\");\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n //form_config['export'] = 'true';\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/voucher/fetch-voucher-view?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data,\n //initialForecast:data.forecasteDetails\n });\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n //this.state.exportUrl = `${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?export=true&` + prm;\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/voucher/fetch-voucher-view?export=true&` +\n prm,\n });\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\n \"Asset\",\n this.state.initialValues.assetId,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n
    \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n \n this.setState({ financialYearTwo: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month To\"\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message(\n \"Period\",\n this.state.financialYearTwo,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n \n \n
    \n\n
    \n
    \n
    \n
    \n \n )}\n \n\n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n\n
    \n \n \n \n {/* */}\n \n \n \n {/* */}\n \n \n {/* */}\n \n {/* */}\n \n {/* */}\n \n \n \n \n \n \n \n \n \n {\n\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n // var i=0;\n return anObjectMapped.actual.map(\n (rowData, rowIndex) => {\n tableCounter++;\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n {/* */}\n {/* */}\n \n \n \n {/* */}\n \n \n \n\n\n \n\n\n \n \n );\n }\n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdGross Leasable AreaCost CenterPeriodGross SaleVoucherGross SaleVoucherGross SaleVoucher
    LeaseActualVariance
    { anObjectMapped.leaseName == '-' ? \"-\" : rowIndex+1}{tableCounter}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseName}{anObjectMapped.grossLeasebleArea}{anObjectMapped.costCenter}{rowData.periodFull}\n {\n anObjectMapped.forecast[rowIndex]\n .forecast_net_sale\n }\n \n {\n anObjectMapped.actual[rowIndex]\n .actual_net_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_net_sale\n }\n
    Nothing to show.....
    \n
    \n
    \n \n );\n }\n}\n\nexport default withRouter(LeaseGiftVoucherView);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faTimes,faEye } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { ChartPopup } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nimport Select from \"react-select\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nvar today = new Date(),\n date =\n today.getDate() + \"/\" + today.getMonth() + 1 + \"/\" + today.getFullYear();\n\nclass VoucherMailConfirmationComponent extends React.Component {\n state = {\n //terminationEffectiveDate: new Date(),\n //effectiveDate: new Date(),\n messageToShow: \"\",\n redirect: false,\n changeLandlord: false,\n delete: false,\n additionalDetails: [],\n leaseId: this.props.leaseId,\n voucherId: this.props.voucherId,\n leaseCode: this.props.leaseCode,\n costCenter:this.props.costCenter,\n fileName: \"Activation-Doc.pdf\",\n date: \"\",\n fileAdded: {},\n activationStatus: '',\n initialValues: {\n landlordId: [],\n },\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n //this.handleTypeChange = this.handleTypeChange.bind(this);\n }\n\n componentDidMount() {\n var date = new Date();\n var formatedDate = `${\n date.getFullYear() + 1\n }-${date.getMonth()}-${date.getDate()}`;\n this.setState({ terminationEffectiveDate: formatedDate }, () => {\n console.log(this.state.terminationEffectiveDate);\n });\n console.log(formatedDate);\n this.setState({ activationStatus: this.props.mailConfirmationStatus });\n }\n\n\n // onUploadError() {\n // this.setState({\n // messsagePopup: true,\n // popupContent: \"Something Went Wrong!\",\n // });\n // console.log(\"uploading error....\");\n // // alert(\"Something Went Wrong\");\n // }\n\n hidePopup() {\n this.props.setMailActivation(false);\n }\n\n changeLandlord = (newValue, existing) => {\n var currentMapping = this.state.currentLandlordMapping; \n currentMapping[existing]['value'] = newValue.value;\n currentMapping[existing]['label'] = newValue.label;\n this.setState({ currentLandlordMapping: currentMapping });\n };\n\n \n redirectAfterSave = () => {\n this.setState({ delete: false });\n };\n\n redirectToTerminate = () => {\n var value = this.state.values;\n\n this.redirectAfterSave();\n\n var self = this;\n if (value.termination_type == \"landlord_termination\") {\n console.log(\"in if\")\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/get-lease-landloard-details?leaseId=${this.state.leaseId}`,\n // url: `${apiUrl.apiUrl.url}/lease-view/get-lease-landloard-details?leaseId=${this.state.costCenter}`,\n }).then(function (response) {\n if (response.data.success) {\n self.state.initialValues.landlordId =\n response.data.additionalDetails.landlordIds;\n self.setState({\n changeLandlord: true,\n additionalDetails: response.data.additionalDetails,\n landloardSelected: response.data.additionalDetails.currentLandlord,\n currentLandlordMapping: response.data.additionalDetails.currentLandlordMapping,\n });\n }\n });\n } else {\n console.log(\"in else\")\n this.uploader.uploadFile();\n }\n };\n\n onUploadStart = (file, next) => {\n console.log(file, \"pre process\");\n this.state.fileAdded = file;\n next(file);\n }\n\n onUploadFinish = (e) => {\n //${this.state.voucherId}\n let fileName =\n fileUploadPath() +\n this.state.voucherId +\n \"/\" +\n this.state.fileName;\n var initialValuesArr = this.state.initialValues;\n initialValuesArr[\"document\"] = fileName;\n console.log(fileName, \"fileName\")\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/mail-activation?voucherId=${this.state.voucherId}`,\n data: initialValuesArr,\n }).then(function (response) {\n console.log(response, \"response\");\n if (!response.data.success) {\n self.props.setpopupMessageContent(\"Something went wrong.\");\n self.props.setpopupalertMessage(true);\n } else {\n self.hidePopup();\n self.props.setpopupMessageContent(\"Details Stored successfully.\");\n self.props.setpopupalertMessage(true);\n //self.props.setkeyCounter(Math.round());\n self.props.ths.setState({ counter : Math.random() });\n //self.props.ths.setState({});\n }\n });\n };\n render() {\n return (\n
    \n {\n console.log(values, \"valuee....\");\n var self = this;\n this.state.initialValues = values;\n\n if(typeof values.activationStatus == \"undefined\" && this.state.activationStatus == '') {\n this.setState({ messageToShow: \"Please select activation status\", delete: true });\n return false;\n }\n\n this.setState({ values: values });\n this.uploader.uploadFile();\n\n if(typeof this.state.fileAdded.name == \"undefined\" ) {\n this.setState({ messageToShow: \"Please select file\", delete: true });\n return false;\n }\n\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n Lease No\n \n \n {this.state.leaseCode}\n \n \n \n \n Cost Center\n \n \n {this.state.costCenter}\n \n \n \n
    \n
    \n
    \n
    \n
    \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    SectionDetails
    Activation Status\n { \n console.log(\"changes\", e.target.value) \n this.setState({ activationStatus: e.target.value });\n handleChange(e);\n }}\n value={this.state.activationStatus == 1 || this.state.activationStatus == 'yes' ? 'yes' : 'no' }\n >\n {/* */}\n \n \n \n \n
    Document\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => (this.uploadInput = cmp)}\n autoUpload={false}\n ref={(uploader) => {\n console.log(\"uploaded click\", uploader, this.state.fileName);\n this.uploader = uploader;\n }}\n />\n
    \n
    \n
    \n\n {(\n
    \n \n
    \n )}\n
    \n
    \n
    \n
    \n )}\n \n\n \n {(close) => (\n
    \n {this.state.messageToShow}\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n
    \n );\n }\n}\n\nexport default withRouter(VoucherMailConfirmationComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faTimes,faEye } from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport Popup from \"reactjs-popup\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { ChartPopup } from \"../../utils/utils\";\nimport { fileUploadPath } from \"../../utils/index\";\nimport Select from \"react-select\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { getToDate } from \"../../utils/utils\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nvar today = new Date(),\n date =\n today.getDate() + \"/\" + today.getMonth() + 1 + \"/\" + today.getFullYear();\n\nclass VoucherGcConfirmationComponent extends React.Component {\n state = {\n //terminationEffectiveDate: new Date(),\n //effectiveDate: new Date(),\n messageToShow: \"\",\n redirect: false,\n changeLandlord: false,\n delete: false,\n additionalDetails: [],\n leaseId: this.props.leaseId,\n voucherId: this.props.voucherId,\n leaseCode: this.props.leaseCode,\n costCenter:this.props.costCenter,\n fileName: \"Activation-Doc.pdf\",\n date: \"\",\n fileAdded: {},\n activationDate: this.props.gcStartDate,\n gcEndDate: this.props.gcEndDate,\n initialValues: {\n landlordId: [],\n },\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n \n //console.log(props, \"props\");\n //this.handleTypeChange = this.handleTypeChange.bind(this);\n }\n\n componentDidMount() {\n var date = new Date();\n var formatedDate = `${\n date.getFullYear() + 1\n }-${date.getMonth()}-${date.getDate()}`;\n this.setState({ terminationEffectiveDate: formatedDate }, () => {\n console.log(this.state.terminationEffectiveDate);\n });\n console.log(this.props, \"props checking\")\n //this.state.activationDate = this.props.gcStartDate;\n //this.state.gcEndDate = this.props.gcEndDate;\n this.setState({});\n console.log(formatedDate);\n }\n\n\n hidePopup() {\n console.log(this.props, \"thisparet\"); \n this.props.setGcActivation(false);\n }\n\n handleTypeChange = (e) => {\n if (e.target.value !== \"landlord_termination\") {\n this.setState({\n changeLandlord: false,\n termination_type: e.target.value,\n });\n }\n this.setState({});\n console.log(this.state.termination_type, \"termination_type\");\n\n //this.setState({ fruit: e.target.value });\n };\n\n redirectAfterSave = () => {\n this.setState({ delete: false });\n };\n\n\n render() {\n return (\n
    \n {\n\n if(typeof this.state.activationDate == \"undefined\" || this.state.activationDate == '' || this.state.activationDate == '0000-00-00') {\n this.setState({ messageToShow: \"Please select activation date\", delete: true });\n return false;\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/gc-activation?voucherId=${this.state.voucherId}`,\n data: { 'start': this.state.activationDate, 'end' : this.state.gcEndDate },\n }).then(function (response) {\n if (!response.data.success) {\n self.props.setpopupMessageContent(\"Something went wrong.\");\n self.props.setpopupalertMessage(true);\n } else {\n //self.props.ths.state.counter = Math.random();\n self.props.setkeyCounter(Math.random());\n self.hidePopup();\n self.props.setpopupMessageContent(\"Details Stored successfully.\");\n self.props.setpopupalertMessage(true);\n \n self.props.ths.setState({ counter : Math.random() }); \n //console.log(self.props.ths.state, \"state heckng\", Math.round())\n //self.props.ths.state({});\n } \n });\n \n\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n resetForm,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n Lease No\n \n \n {this.state.leaseCode}\n \n \n \n \n Cost Center\n \n \n {this.props.costCenter}\n \n \n \n
    \n
    \n
    \n
    \n
    \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    SectionDetails
    Activation Date\n { \n this.state.activationDate = e.target.value;\n if( this.props.uom == \"years\" ) {\n this.state.gcEndDate = getToDate(e.target.value, 0, 0, this.props.validityCount );\n }else if( this.props.uom == \"months\" ) {\n this.state.gcEndDate = getToDate(e.target.value, 0, this.props.validityCount, 0 );\n }else {\n this.state.gcEndDate = getToDate(e.target.value, this.props.validityCount, 0, 0 );\n }\n \n handleChange(e);\n }} /> \n
    GC End Date\n \n
    \n
    \n
    \n\n {(\n
    \n \n
    \n )}\n
    \n
    \n
    \n
    \n )}\n \n\n \n {(close) => (\n
    \n {this.state.messageToShow}\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n
    \n );\n }\n}\n\nexport default withRouter(VoucherGcConfirmationComponent);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Col, Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faEye,\n faEnvelopeOpenText,\n faCheckCircle, faTrashAlt,\n faUndo, faCog, faFileExcel\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport styled1 from \"styled-components\";\nimport VoucherMailConfirmationComponent from \"./VoucherMailConfirmationComponent\";\nimport VoucherGcConfirmationComponent from \"./VoucherGcConfirmationComponent\";\nimport { Modal } from \"react-bootstrap\";\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\nimport { ViewLeasePdfReader } from \"../../utils/ViewLeaseDocumentViewer\";\nimport Popup from \"reactjs-popup\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n\n\nconst StyledCell1 = styled1.div`\n &.low {\n background: green !important;\n }\n &.medium {\n background: orange;\n }\n &.high {\n background: red !important;\n }\n`;\n\nconst StyledCell = ({ }) => (\n \n)\nfunction removeVoucher(id) {\n confirmAlert({\n title: \"Confirm to delete\",\n message: \"Are you sure you want to delete this item ?.\",\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/delete?id=` + id,\n data: { \"id\": id },\n }).then(function (response) {\n window.location.href = window.location.href;\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n\n },\n },\n ],\n });\n}\nfunction DeleteBtn(props) {\n return (\n // (props.status == 0 && props.is_dropped == 0) && (\n removeVoucher(props.record_id)}\n >\n \n \n // )\n // <>\n // removeLease(props.id, props.ths)}\n // >\n // \n // \n // \n );\n}\n\nconst FilterComponent = ({ filterText, onFilter, onClear, prm, handleGrid, DownloadFile, columnsList }) => (\n <>\n\n {/* */}\n\n {/* */}\n \n {/* */}\n \n);\n\n\n\n//const RevenueTable = ({asset, brand, formConfig, expiry_report , expiry_lockin_report, fetchUrl, }) => {\nconst RevenueTable = ({ asset, brand, formConfig, expiry_report, expiry_lockin_report, fetchUrl, showExport, ths }) => {\n\n if (typeof formConfig == \"undefined\") {\n formConfig = {\n 'page': 0, 'per_page': 10\n };\n }\n\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n //const [columns, setColumns] = useState([]);\n const [keyCounter, setkeyCounter] = useState(0);\n const [mailActivation, setMailActivation] = useState(false);\n const [gcActivation, setGcActivation] = useState(false);\n const [validityCount, setValidityCount] = useState(0);\n const [uom, setUOM] = useState('');\n\n\n const [handleMailActivationClose, setHandleMailActivationClose] = useState(false);\n const [handleGcActivationClose, sethandleGcActivationClose] = useState(false);\n\n const [leaseCode, setLeaseCode] = useState(0);\n const [costCenter, setCostCenterNo] = useState(0);\n const [leaseId, setLeaseId] = useState(0);\n const [voucherId, setVoucherId] = useState(0);\n const [mailConfirmationStatus, setMailConfirmationStatus] = useState(0);\n const [popupalertMessage, setpopupalertMessage] = useState(false);\n const [popupMessageContent, setpopupMessageContent] = useState(\"\");\n const [currentDocument, setCurrentDocument] = useState(\"\");\n const [isOpen, setIsOpen] = useState(0);\n const [gcStartDate, setGcStartDate] = useState('');\n const [gcEndDate, setGcEndDate] = useState('');\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const conditionalRowStyles = [\n {\n when: row => row.toggleSelected,\n style: {\n backgroundColor: \"green\",\n userSelect: \"none\"\n }\n }\n ];\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n prm={prm}\n fetchUrl={fetchUrl}\n showExport={showExport}\n DownloadFile={DownloadFile}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n\n\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n\n if (typeof expiry_report != \"undefined\" && expiry_report == \"true\") {\n formConfig['expiry_report'] = 'true';\n }\n\n if (typeof expiry_lockin_report != \"undefined\" && expiry_lockin_report == \"true\") {\n formConfig['expiry_lockin_report'] = 'true';\n }\n\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n\n setLoading(true);\n //asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n if (typeof response.data.data != \"undefined\" && response.data.data.length > 0) {\n\n const updatedData = response.data.data.map(item => {\n if (item.srNo !== item.srNo) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n } else {\n setData(response.data.data);\n }\n\n\n setTotalRows(response.data.total);\n //setColumns(eval(response.data.gridColumns))\n setkeyCounter(Math.round());\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n function DownloadFile() {\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url + '/voucher/fetch-vouchers?' + prm + '&export=true'}`,\n data: {}\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n\n }\n\n const showActivationBox = (id, record_id, mail_confirmation) => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-lease-details?leaseId=${id}`,\n data: { leaseId: id },\n }).then(function (response) {\n setLeaseId(id);\n setLeaseCode(response.data.data.lease_code);\n setCostCenterNo(response.data.data.cost_center);\n setVoucherId(record_id);\n setMailConfirmationStatus(mail_confirmation)\n setMailActivation(true);\n });\n };\n\n const showGcActivationBox = (id, record_id, count, uom, start, end) => {\n setGcStartDate(start)\n setGcEndDate(end);\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/lease-view/fetch-lease-details?leaseId=${id}`,\n data: { leaseId: id },\n }).then(function (response) {\n setLeaseId(id);\n setLeaseCode(response.data.data.lease_code);\n setCostCenterNo(response.data.data.cost_center);\n setVoucherId(record_id)\n setUOM(uom);\n setValidityCount(count)\n setGcActivation(true);\n\n });\n };\n\n\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n let pageCnt = page ? page : 0;\n formConfig[\"page\"] = pageCnt;\n formConfig[\"per_page\"] = perPage;\n if (typeof expiry_report != \"undefined\") {\n formConfig['expiry_report'] = 'true';\n }\n var prm = Object.entries(formConfig).map(([key, val]) => `${key}=${val}`).join('&');\n console.log(prm, \"prm\");\n\n const response = await axios.get(\n `${fetchUrl}` + prm\n );\n\n\n // const response = response.data.data.map(item => {\n // if (row.id !== item.id) {\n // return item;\n // }\n\n // return {\n // ...item,\n // toggleSelected: !item.toggleSelected\n // };\n // });\n\n //setData(updatedData);\n\n //`${apiUrl.apiUrl.url}/lease-report/get-all-leases?asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1`\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n const handleRowClicked = row => {\n console.log(row, \"row\");\n const updatedData = data.map(item => {\n if (row.id !== item.id) {\n return item;\n }\n\n return {\n ...item,\n toggleSelected: !item.toggleSelected\n };\n });\n\n setData(updatedData);\n };\n\n const redirectToClose = () => {\n setpopupMessageContent(\"\");\n setpopupalertMessage(false);\n };\n\n function getCssClass(value) {\n if (value > 5000) return \"high\";\n else if (value > 500) return \"medium\";\n return \"low\";\n }\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Id\",\n selector: \"leaseCode\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Cost Center\",\n selector: \"costCenter\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Issued Month\",\n selector: \"issued_month\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n\n {\n name: \"Total Amt\",\n selector: \"total_value\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"GC Activation Date\",\n selector: \"gc_activation_date_format\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"GC Valid Till\",\n selector: \"gc_valid_till_format\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Mail Confirmation Status\",\n selector: \"mail_confirmation\",\n sortable: false,\n grow: 2,\n wrap: true,\n cell: (record) => {\n return (\n
    \n {record.mail_confirmation == 1 ? 'Yes' : 'No'}\n
    \n )\n }\n },\n\n {\n name: \"Action\",\n grow: 4,\n sortable: false,\n cell: (record) => {\n return (\n
    \n {\n\n (record.mail_confirmation == 1 || record.mail_confirmation == 'Yes') &&\n \n {\n e.preventDefault();\n setCurrentDocument(record.documentUrl);\n setIsOpen(1);\n }} >\n {\" \"}\n \n \n \n }\n {\n showActivationBox(record.lease_id, record.record_id, record.mail_confirmation);\n }} >\n \n \n {\n showGcActivationBox(record.lease_id, record.record_id, record.validity_count, record.validity, record.gc_activation_date, record.gc_valid_till);\n }} >\n {/* */}\n \n \n \n \n
    \n );\n },\n },\n ];\n\n // subHeaderComponent={subHeaderComponentMemo}\n return (\n <>\n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
      \n
    • Document
    • \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n {(close) => (\n
    \n {popupMessageContent}\n \n ×Close\n \n
    \n )}\n
    \n
    \n
    \n
    \n \n \n Mail Activation\n \n \n \n \n \n\n \n \n GC Activation\n \n \n \n \n \n
    \n
    \n
    \n \n\n );\n};\nexport default RevenueTable;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport GiftVoucherTable from \"./GiftVoucherTable\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass GiftVoucherIssueComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n counter: 0,\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n financialYearOne: '',\n initialValues: {\n assetId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n count: 0,\n financialYearOne: '',\n gcEndNumber: '',\n gcStartNumber: '',\n leaseId: '',\n 'rate': '',\n totalAmount: '',\n towerId: '',\n towerName: '',\n validity: '',\n validityCount: '',\n assetTypeId: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n gridColumns: [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"lease_id\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Lease Id\",\n selector: \"lease_id\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Issued Month\",\n selector: \"issued_month\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n\n {\n name: \"Total Amt\",\n selector: \"total_value\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n ]\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=&brand_ids=`,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=&brand_ids=`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChange = (newValue, actionMeta) => {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n \n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n }\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-leases?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.financialYearOne = '';\n this.state.counter = Math.random();\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n\n console.log(values, \"values\");\n values.financialYearOne = this.state.initialValues.financialYearOne;\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/voucher/generate-voucher`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n setTimeout(function () {\n self.setState({});\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.state.initialValues = {\n\n assetId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n count: 0,\n financialYearOne: '',\n gcEndNumber: '',\n gcStartNumber: '',\n leaseId: '',\n 'rate': '',\n totalAmount: '',\n towerId: '',\n towerName: '',\n validity: '',\n validityCount: ''\n\n };\n //self.setState({ financialYearOne: '' });\n self.state.financialYearOne = '';\n setTimeout(function () {\n self.setState({});\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Sub Asset Name */}\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Tower Name */}\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.state.initialValues.towerName = e.label;\n this.valueChangeTower(e);\n }}\n value={{\n label: this.state.initialValues.towerName,\n value: this.state.initialValues.towerId,\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Leases */}\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Leases\",\n this.state.initialValues.leaseId,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* Issued Month */}\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* Validity */}\n
    \n \n
    \n {\n this.state.initialValues.validity = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n
    \n
    \n\n {/* Validity Count */}\n
    \n \n
    \n {\n this.state.initialValues.validityCount = e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.validityCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* Rate */}\n
    \n \n
    \n {\n this.state.initialValues.rate = e.target.value;\n this.state.initialValues.totalAmount = this.state.initialValues.count * e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* Count */}\n
    \n \n
    \n {\n this.state.initialValues.count = e.target.value;\n this.state.initialValues.gcEndNumber = Number(e.target.value) + Number(this.state.initialValues.gcStartNumber);\n this.state.initialValues.totalAmount = this.state.initialValues.rate * e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* Total Amount */}\n
    \n \n
    \n {\n this.state.initialValues.totalAmount = this.state.initialValues.rate * this.state.initialValues.count;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.totalAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* GC Start Numbers */}\n
    \n \n
    \n {\n this.state.initialValues.gcStartNumber = e.target.value;\n this.state.initialValues.gcEndNumber = Number(e.target.value) + Number(this.state.initialValues.count);\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.gcStartNumber,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n {/* GC End Numbers */}\n
    \n \n
    \n {\n this.state.initialValues.gcEndNumber = e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.gcEndNumber,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n\n
    \n \n \n
    \n
    \n\n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.state.initialValues.towerName = e.label;\n this.valueChangeTower(e);\n }}\n //value={this.state.brandSelected}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n //this.valueChangeOccupier(e);\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Leases\",\n this.state.initialValues.leaseId,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n\n />\n {this.applicableValidator.message(\n \"\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n console.log(e, \"eee\");\n this.state.initialValues.validity = e.target.value;\n this.setState({});\n handleChange(e);\n }}\n >\n \n \n \n \n \n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.validity,\n \"required\",\n { className: \"text-danger\" }\n )}\n\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.validityCount = e.target.value;\n this.setState({})\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.validityCount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.rate = e.target.value;\n this.state.initialValues.totalAmount = this.state.initialValues.count * e.target.value;\n this.setState({})\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.rate,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.count = e.target.value;\n\n this.state.initialValues.gcEndNumber = Number(e.target.value) + Number(this.state.initialValues.gcStartNumber);\n\n this.state.initialValues.totalAmount = this.state.initialValues.rate * e.target.value;\n this.setState({});\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.count,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.totalAmount = this.state.initialValues.rate * this.state.initialValues.count;\n this.setState({})\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.totalAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.gcStartNumber = e.target.value;\n this.state.initialValues.gcEndNumber = Number(e.target.value) + Number(this.state.initialValues.count);\n this.setState({})\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.gcStartNumber,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.gcEndNumber = e.target.value;\n this.setState({})\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.gcEndNumber,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n\n\n\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n\n\n \n\n \n );\n }\n}\n\nexport default withRouter(GiftVoucherIssueComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\n//import Select from \"react-select\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType, fileUploadPath } from \"../../utils/index\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // fbrandId: Yup.number().required(\"Required\"),\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.string().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.string().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst uploadFromFrm = Yup.object().shape({\n myfile: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nclass CamActualizationActual extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n countries: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n exportBtn: false,\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n states: [],\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All',\n assetTypeId: \"\",\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n \n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = newValue.value;\n this.state.initialValues.leaseValue = newValue.label;\n\n this.state.leaseList.forEach((item) => {\n if (newValue.value == item.id) {\n this.state.initialValues.assetId = item.asset_id;\n this.state.initialValues.assetName = item.asset_name;\n\n this.setMasterPreValues(item.asset_id);\n }\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n \n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetTypes();\n\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n this.getAssetTypes();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n onFileChange = (event) => {\n // Update the state\n this.setState({ selectedFile: event.target.files[0] });\n };\n // On file upload (click the upload button)\n onFileUpload = () => {\n // Create an object of formData\n const formData = new FormData();\n\n console.log(formData, \"formData\");\n\n if (typeof this.state.selectedFile == \"undefined\") {\n // alert(\"Please upload file to process\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Please upload file to process',\n });\n return true;\n }\n\n var ths = this;\n\n // Update the formData object\n formData.append(\n \"myFile\",\n this.state.selectedFile,\n this.state.selectedFile.name\n );\n formData.append(\"dateAsOn\", this.state.initialValues.dateAsOn);\n formData.append(\"leaseId\", this.state.initialForecast.leaseId);\n formData.append(\"type\", \"actual\");\n\n // Request made to the backend api\n // Send formData object\n axios\n .post(`${apiUrl.apiUrl.url}/cam-actualization/import-forecast`, formData)\n .then(function (response) {\n console.log(response, \"response\");\n if (response.data.success) {\n ths.setState({ redirect: true });\n ths.state.brandSelected = [];\n ths.state.leaseSelected = [];\n\n // alert(\"Form processed successfully.\");\n ths.setState({\n popupalertMessage: true,\n popupMessageContent: 'Form processed successfully.',\n });\n for (const [key, value] of Object.entries(ths.state.initialValues)) {\n ths.state.initialValues[key] = \"\";\n }\n ths.setState({\n formResponseData: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: [],\n exportBtn: false,\n });\n ths.setState({});\n }\n });\n };\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false, });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n console.log(\"hii\");\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData.forecasteDetails.actual = [];\n this.setState({ exportBtn: false });\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n \n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\");\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/cam-actualization/fetch-voucher-input?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n this.setState({\n formResponseData: data,\n initialForecast: data.forecasteDetails,\n });\n\n this.state.initialForecast.leaseId = data.lease_id;\n this.state.initialForecast.year = data.year;\n\n this.setState({\n exportBtn: true,\n exportUrl:\n `${apiUrl.apiUrl.url}/cam-actualization/fetch-voucher-input?export=true&reportType=actual&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={{\n label: this.state.initialValues.leaseValue,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n {\n this.setState({\n //formResponseData: data,\n initialForecast: this.state.formResponseData.forecasteDetails,\n });\n }}\n onSubmit={(values, actions) => {\n console.log(\"form submitting..\", values);\n var self = this;\n var formPostData = {};\n\n formPostData[\"leaseId\"] = this.state.initialForecast.leaseId;\n formPostData[\"year\"] = this.state.initialForecast.year;\n formPostData[\"forecasteDetails\"] = values.actual;\n\n console.log(formPostData, \":formPostData\");\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/cam-actualization/create-input-sales`,\n data: formPostData,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n // alert(\"Data Saved Successfully\");\n //self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.forecasteDetails.actual.map(\n (anObjectMapped, index) => {\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n \n \n \n \n \n \n \n\n \n\n \n );\n }\n )}\n\n {this.state.formResponseData.forecasteDetails.actual\n .length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdCost CenterGross Leasable AreaPeriodActual
    {index + 1}\n {this.state.formResponseData.assetName}\n \n {this.state.formResponseData.brandName}\n \n {this.state.formResponseData.leaseName}\n \n {this.state.formResponseData.costCenter}\n \n {\n this.state.formResponseData\n .grossLeasebleArea\n }\n {anObjectMapped.periodFull}\n {anObjectMapped.inputStatus ? (\n \n ) : (\n \n )}\n
    Nothing to show.....
    \n {this.state.formResponseData.forecasteDetails.actual\n .length > 0 && (\n
    \n \n \n
    \n )}\n
    \n
    \n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n
    \n )}\n \n\n {this.state.exportBtn && (\n {\n values.leaseDocumentUrl =\n fileUploadPath() +\n this.props.match.params.id +\n \"/\" +\n this.state.fileName;\n console.log(values);\n var self = this;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n Upload Document\n *\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n )}\n\n {/* */}\n \n );\n }\n}\n\nexport default withRouter(CamActualizationActual);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"./LeaseListingTable\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\n\nimport styled from \"styled-components\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\nimport CamActualizationActual from \"./CamActualizationActual\";\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\"),\n financialYear: Yup.string().required(\"Required\"),\n dataUomId: Yup.string().required(\"Required\"),\n });\n}\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// leaseId: Yup.array().required(\"Required\"),\n// financialYear: Yup.string().required(\"Required\"),\n// dataUomId: Yup.string().required(\"Required\"),\n// });\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseGiftVoucherView extends React.Component {\n groupId = { value: \"\" };\n state = {\n brandSelected: [],\n exportUrl: \"\",\n landloardList: [],\n occupierList: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n districtList: [],\n\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n assetTypeList: [],\n assetTypeSelected: [],\n redirect: false,\n states: [],\n count: 0,\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n leaseTypes: [],\n initialValues: {\n brandId: [],\n countryId: \"\",\n landloardName: \"\",\n landloardId: \"\",\n OccupierName: \"\",\n occupierId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n assetTypeId: \"\",\n leaseId: \"\",\n financialYear: \"\",\n dataUomId: \"Per Month\",\n dataUOMName: \"Per Month\",\n modelValue: 'All',\n modelId: 'All'\n },\n };\n\n componentDidMount() {\n this.initialiseAllData();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n initialiseAllData = () => {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/fetch-lease-types`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getAssetTypes();\n }\n\n getAssetTypes = () => {\n let self = this;\n axios({\n method: 'GET',\n url: `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-with-filters?city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}\n `,\n headers: headers\n }).then((response) => {\n self.setState({\n assetTypeList: response.data\n });\n });\n }\n\n getAssetsListByAssetType = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-asset-types-asset-lists?asset_type_ids=\n ${this.state.initialValues.assetTypeId}&city_id=${this.state.initialValues.cityId}&brand_ids=${this.state.initialValues.brandId}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_type\") {\n this.state.initialValues.modelId = newValue.value;\n this.state.initialValues.modelValue = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = \"\";\n this.state.initialValues.leaseId = \"\";\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n //brandName\n // this.state.leaseSelected = [];\n // this.state.initialValues.leaseId = [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n console.log(\"aclliningng\", newValue);\n\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n\n if (typeof newValue[0] == \"undefined\") {\n this.state.initialValues.leaseId = \"\";\n this.setState({})\n } else if (newValue.length == 1 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n console.log(\"in else\");\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.leaseSelected.push({\n // value: newValue[i].value,\n // label: newValue[i].label,\n // });\n // }\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n this.state.initialValues.leaseId, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n financialYear: data.fianancialYears,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n // unset asset type and asset name\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n this.getAssetTypes();\n\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n\n // unset asset type and asset name\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.state.assetsList = [];\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n //brandName\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n this.getAssetTypes();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_type\") {\n this.state.initialValues.assetName =\"\";\n this.state.initialValues.assetId =\"\";\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetTypeId.push(newValue[i].value);\n this.state.assetTypeSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByAssetType();\n\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_uom\") {\n //change_lease_month\n this.state.initialValues.dataUomId = newValue.value;\n this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n } else if (actionMeta == \"change_financial_year\") {\n //change_lease_month\n this.state.initialValues.financialYearId = newValue.value;\n this.state.initialValues.financialYear = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else if (actionMeta == \"change_occupier\") {\n //brandName\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n } else if (actionMeta == \"change_landloard\") {\n //brandName\n this.state.initialValues.landloardId = newValue.value;\n this.state.initialValues.landloardName = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId + \"&modelType=\" + this.state.initialValues.modelId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.formResponseData = [];\n this.setState({});\n\n this.state.assetTypeSelected = [];\n this.state.initialValues.assetTypeId = [];\n this.initialiseAllData();\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n //form_config['export'] = 'true';\n console.log(counter, \"counter\", form_config);\n this.setState({ counter: counter });\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n\n fetch(`${apiUrl.apiUrl.url}/cam-actualization/fetch-voucher-view?` + prm, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n tableCounter = 0;\n this.setState({\n formResponseData: data,\n //initialForecast:data.forecasteDetails\n });\n\n //var prm = Object.entries(form_config).map(([key, val]) => `${key}=${val}`).join('&');\n //this.state.exportUrl = `${apiUrl.apiUrl.url}/sales-input/fetch-sales-view?export=true&` + prm;\n\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/cam-actualization/fetch-voucher-view?export=true&` +\n prm,\n });\n\n //this.state.initialForecast.year = data.year\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_type\");\n }}\n value={this.state.assetTypeSelected}\n options={this.state.assetTypeList.map((item) => ({\n label: item.name,\n value: item.id,\n }))}\n />\n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_type\");\n }}\n value={{\n label: this.state.initialValues.modelValue,\n value: this.state.initialValues.modelId,\n }}\n options={this.state.leaseTypes.map((item) => ({\n label: item.value,\n value: item.label,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {(getUserType() == \"Landlord\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_occupier\");\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n {(getUserType() == \"Occupier\" || getUserType() == \"\") &&\n
    \n \n
    \n {\n this.valueChange(e, \"change_landloard\");\n }}\n value={{\n label: this.state.initialValues.landloardName,\n value: this.state.initialValues.landloardId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n
    \n
    \n }\n\n
    \n \n
    \n {\n this.state.initialValues.costCenter = e.target.value;\n this.setState({});\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_financial_year\");\n }}\n value={{\n label: this.state.initialValues.financialYear,\n value: this.state.initialValues.financialYear,\n }}\n options={this.state.financialYear.map((item) => ({\n label: item.value,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_uom\");\n }}\n value={{\n label: this.state.initialValues.dataUOMName,\n value: this.state.initialValues.dataUOMId,\n }}\n name=\"dataUomId\"\n options={[\"Per Month\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n
    \n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n )}\n\n
    \n \n \n \n {/* */}\n \n \n \n \n \n \n {/* */}\n \n {/* */}\n \n {/* */}\n \n \n \n \n \n \n \n \n \n {\n\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n // var i=0;\n return anObjectMapped.actual.map(\n (rowData, rowIndex) => {\n tableCounter++;\n return (\n //
    {anObjectMapped.leaseDocumentType}
    \n \n {/* */}\n {/* */}\n \n \n \n \n \n \n \n\n\n \n\n\n \n \n );\n }\n );\n }\n )}\n\n {this.state.formResponseData.length == 0 && (\n \n \n \n )}\n \n
    S.NoAsset NameBrand Name / Occupier NameLease IdGross Leasable AreaCost CenterPeriodGross SaleCAMGross SaleCAMGross SaleCAM
    LeaseActualVariance
    { anObjectMapped.leaseName == '-' ? \"-\" : rowIndex+1}{tableCounter}{anObjectMapped.assetName}{anObjectMapped.brandName}{anObjectMapped.leaseName}{anObjectMapped.grossLeasebleArea}{anObjectMapped.costCenter}{rowData.periodFull}\n {\n anObjectMapped.forecast[rowIndex]\n .forecast_net_sale\n }\n \n {\n anObjectMapped.actual[rowIndex]\n .actual_net_sale\n }\n \n {\n anObjectMapped.variance[rowIndex]\n .variance_net_sale\n }\n
    Nothing to show.....
    \n
    \n
    \n \n );\n }\n}\n\nexport default withRouter(LeaseGiftVoucherView);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport CreatableSelect from \"react-select/creatable\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport Table from \"./CloseDealTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass AcquisitionReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n assetsList: [],\n asset_type: [],\n redirect: false,\n id: undefined,\n counter: 0,\n initialValues: {\n asset_type: \"\",\n asset_name: \"\",\n },\n gridColumns: [],\n };\n\n componentDidMount() { }\n\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?asset_type=` +\n this.state.initialValues.asset_type +\n `&asset_name=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n asset_name: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n // -----------------------------------\n getAssetsListByAsset = (asset_type) => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/get-asset-list?asset_type=` +\n asset_type,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n // --------------------------------------------\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n if (actionMeta == \"change_type\") {\n this.state.initialValues.asset_type = newValue.target.value;\n\n this.setState({});\n this.getAssetsListByAsset(newValue.target.value);\n\n }\n else if (actionMeta == \"change_asset_name\") {\n\n this.state.initialValues.asset_name = newValue.value;\n this.state.initialValues.asset_name = newValue.label;\n this.setState({});\n }\n }\n\n handleChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetName = newValue.label;\n this.state.initialValues.assetId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.asset = newValue.value;\n if (!isNaN(this.asset)) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.asset,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n console.log(this.asset, \"ddd\");\n\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n\n console.log(\"calll..\")\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n console.log(\"calll.. 123\")\n var form_config = this.state.initialValues;\n var counter = this.state.counter + 1;\n form_config['type'] = 'acquisition'\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n this.setState({ \"counter\": counter });\n // fetch(\n // `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?` + prm,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // //this.setState({ });\n // tableCounter = 0;\n // this.setState({\n // formResponseData: data.data,\n // monthsArr: data.monthsArr,\n // });\n // this.setState({ counter: counter });\n // this.setState({\n // exportUrl:\n // `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?close-deal-export=true&` +\n // prm,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_type\");\n }}\n >\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.asset_name,\n value: this.state.initialValues.asset_name,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n\n \n )}\n \n\n \n \n );\n }\n}\nexport default withRouter(AcquisitionReport);","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport CreatableSelect from \"react-select/creatable\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport Table from \"./CloseDealTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass AcquisitionReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n assetsList: [],\n asset_type: [],\n redirect: false,\n id: undefined,\n counter: 0,\n initialValues: {\n asset_type: \"\",\n asset_name: \"\",\n },\n gridColumns: [],\n };\n\n componentDidMount() { }\n\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?asset_type=` +\n this.state.initialValues.asset_type +\n `&asset_name=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n asset_name: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n // -----------------------------------\n getAssetsListByAsset = (asset_type) => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/get-asset-list?asset_type=` +\n asset_type,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n // --------------------------------------------\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n if (actionMeta == \"change_type\") {\n this.state.initialValues.asset_type = newValue.target.value;\n\n this.setState({});\n this.getAssetsListByAsset(newValue.target.value);\n\n }\n else if (actionMeta == \"change_asset_name\") {\n\n this.state.initialValues.asset_name = newValue.value;\n this.state.initialValues.asset_name = newValue.label;\n this.setState({});\n }\n }\n\n handleChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetName = newValue.label;\n this.state.initialValues.assetId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.asset = newValue.value;\n if (!isNaN(this.asset)) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.asset,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n console.log(this.asset, \"ddd\");\n\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n\n console.log(\"calll..\")\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n console.log(\"calll.. 123\")\n var form_config = this.state.initialValues;\n var counter = this.state.counter + 1;\n form_config['type'] = 'valuation'\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n this.setState({ \"counter\": counter });\n // fetch(\n // `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?` + prm,\n // { headers }\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // //this.setState({ });\n // tableCounter = 0;\n // this.setState({\n // formResponseData: data.data,\n // monthsArr: data.monthsArr,\n // });\n // this.setState({ counter: counter });\n // this.setState({\n // exportUrl:\n // `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?close-deal-export=true&` +\n // prm,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_type\");\n }}\n >\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.asset_name,\n value: this.state.initialValues.asset_name,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n );\n }\n}\nexport default withRouter(AcquisitionReport);","\nimport React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport { faUndo, faEye, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport CreatableSelect from \"react-select/creatable\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport CloseDealTable from \"./CloseDealTable\";\n\nimport * as Yup from \"yup\";\nimport { type } from \"jquery\";\nimport { getUserType } from \"../../utils/index\";\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass AssetManagementReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n assetsList: [],\n asset_type: [],\n redirect: false,\n id: undefined,\n counter: 0,\n initialValues: {\n asset_type: \"\",\n asset_name: \"Select\",\n },\n };\n\n componentDidMount() { }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-deal-details?asset_type=` +\n this.state.initialValues.asset_type +\n `&asset_name=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n asset_name: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n // -----------------------------------\n getAssetsListByAsset = (asset_type) => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/get-asset-list?asset_type=` +\n asset_type,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n // --------------------------------------------\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n if (actionMeta == \"change_type\") {\n this.state.initialValues.asset_type = newValue.target.value;\n\n this.setState({});\n this.getAssetsListByAsset(newValue.target.value);\n\n }\n else if (actionMeta == \"change_asset_name\") {\n\n this.state.initialValues.asset_name = newValue.value;\n this.state.initialValues.asset_name = newValue.label;\n this.setState({});\n }\n }\n\n\n handleChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetName = newValue.label;\n this.state.initialValues.assetId = newValue.value;\n this.setState({});\n console.group(\"Value Changed\");\n this.asset = newValue.value;\n if (!isNaN(this.asset)) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-sub-assets?asset_id=` +\n this.asset,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssets: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n console.log(this.asset, \"ddd\");\n\n console.groupEnd();\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n var counter = this.state.counter + 1;\n form_config['type'] = 'assetManagement'\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n this.setState({ counter: counter });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_type\");\n }}\n >\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.asset_name,\n value: this.state.initialValues.asset_name,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n );\n }\n}\n\nexport default withRouter(AssetManagementReport);","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n useLocation\n} from \"react-router-dom\";\n\nimport SideMenu from \"./ReportsSideMenu\";\nimport LeaseReportSummary from \"./reportlist/LeaseReport\"; // \"../masters/clientDirectory/ClientProfile\";\nimport LeaseLockinExpiryReport from \"./reportlist/LeaseLockinExpiryReport\";\nimport LeaseExpiryReport from \"./reportlist/LeaseExpiryReport\";\nimport LeaseDocumentation from \"./reportlist/LeaseDocumentation\";\n// import UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faFileAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport ListingForm from \"./reportlist/ListingForm\";\nimport LeaseReportSalesForecast from \"./reportlist/LeaseReportSalesForecast\";\n\nimport LeaseReportSalesActual from \"./reportlist/LeaseReportSalesActual\";\nimport LeaseReportSalesView from \"./reportlist/LeaseReportSalesView\";\nimport LeaseReportSalesComparison from \"./reportlist/LeaseReportSalesComparison\";\nimport LeaseSecurityDeposit from \"./reportlist/LeaseSecurityDeposit\";\nimport InputSecurityDeposit from \"./reportlist/InputSecurityDeposit\";\nimport SecurityDepositComparison from \"./reportlist/SecurityDepositComparison\";\nimport RevenueReport from \"./reportlist/RevenueReport\";\nimport ExpenseReport from \"./reportlist/ExpenseReport\";\nimport MgWithRevenueReport from \"./reportlist/MgWithRevenueReport\"\n\nimport RevenueLockinReport from \"./reportlist/RevenueLockinReport\";\nimport MgVsRevenueReport from \"./reportlist/MgVsRevenueReport\"\nimport EscalationReport from \"./reportlist/EscalationReport\";\nimport LeaseTracker from \"./reportlist/LeaseTracker\";\nimport ComplianceTracker from \"./reportlist/ComplianceTracker\";\nimport FranchiseeReport from \"./reportlist/FranchiseeReport\"\nimport ClausesReport from \"./reportlist/ClausesReport\"\nimport LeaseReportSalesViewHorizonal from \"./reportlist/LeaseReportSalesViewHorizonal\";\nimport LeaseReportSalesComparisonHorizontal from \"./reportlist/LeaseReportSalesComparisonHorizontal\";\nimport StackingPlan from \"./reportlist/StackingPlan\"\n\nimport ChargeReceiptUpload from \"./reportlist/ChargeReceiptUpload\";\nimport ChargeReceiptReport from \"./reportlist/ChargeReceiptReport\";\nimport FinanceInput from \"./reportlist/FinanceInput\";\nimport FinancePayment from \"./reportlist/FinancePayment\";\nimport FinanceReconciliation from \"./reportlist/FinanceReconciliation\";\n\nimport Outflow from \"./reportlist/OutflowReport.js\";\n\nimport LeaseGiftVoucherForecast from \"./reportlist/LeaseVoucherForecast\";\nimport LeaseGiftVoucherActual from \"./reportlist/LeaseGiftVoucherActual\";\nimport LeaseGiftVoucherView from \"./reportlist/LeaseGiftVoucherView\";\nimport GiftVoucherIssueComponent from \"./reportlist/GiftVoucherIssueComponent\";\n\nimport CamActualizationActual from \"./reportlist/CamActualizationActual\";\nimport CamActualizationView from \"./reportlist/CamActualizationView\";\n// import CloseDeals from \"./reportlist/CloseDealsReport.js\";\nimport AcquisitionReport from \"./reportlist/AcquisitionReport\";\nimport ValuationReport from \"./reportlist/ValuationReport\";\nimport AssetManagementReport from \"./reportlist/AssetManagementReport\";\n\n\n\n\nimport TopHeader from \"../layout/TopHeader\";\n\nimport { getUserRole } from \"../utils/index\";\n//import CamActualizationView from \"./reportlist/CamActualizationView\";\n\nexport default function ViewLease() {\n let match = useRouteMatch();\n let location = useLocation();\n const parts = location.pathname.split('/');\n\n let urlArray = {\n 'lease-report':{'openMenu':'1', 'activeKey':'1-1'},\n 'lease-expiry-report':{'openMenu':'1', 'activeKey':'1-2'},\n 'lease-lockin-expiry':{'openMenu':'1', 'activeKey':'1-3'},\n 'stacking-plan':{'openMenu':'1', 'activeKey':'1-4'},\n 'lease-tracker':{'openMenu':'1', 'activeKey':'1-5'},\n 'franchisee-report':{'openMenu':'1', 'activeKey':'1-6'},\n 'clauses-report':{'openMenu':'1', 'activeKey':'1-7'},\n 'lease-report-sales-forecast':{'openMenu':'2', 'activeKey':'2-1'},\n 'lease-report-sales-actual':{'openMenu':'2', 'activeKey':'2-2'},\n 'lease-report-sales-view':{'openMenu':'2', 'activeKey':'2-3'},\n 'lease-report-sales-comparison':{'openMenu':'2', 'activeKey':'2-4'},\n 'lease-and-sales-portfolio-view':{'openMenu':'2', 'activeKey':'2-5'},\n 'revenue-report':{'openMenu':'3', 'activeKey':'3-1'},\n 'lockin-revenue-report':{'openMenu':'3', 'activeKey':'3-2'},\n 'escalation-report':{'openMenu':'3', 'activeKey':'3-3'}, \n 'mg-vs-revenue':{'openMenu':'3', 'activeKey':'3-4'},\n 'charge-receipt-upload':{'openMenu':'3', 'activeKey':'3-5'},\n 'charge-receipt-report':{'openMenu':'3', 'activeKey':'3-6'},\n 'mg-revenue-report':{'openMenu':'3', 'activeKey':'3-7'},\n 'lease-security-deposit':{'openMenu':'4', 'activeKey':'4-1'},\n 'input-security-deposit':{'openMenu':'4', 'activeKey':'4-2'},\n 'security-deposit-comparison':{'openMenu':'4', 'activeKey':'4-3'},\n 'lease-documentation':{'openMenu':'5', 'activeKey':'5-1'},\n 'outflow':{'openMenu':'6', 'activeKey':'6-1'},\n 'compliance-tracker':{'openMenu':'7', 'activeKey':'7-1'},\n 'gift-vouchers':{'openMenu':'8', 'activeKey':'8-1'},\n 'gift-vouchers-actual':{'openMenu':'8', 'activeKey':'8-2'},\n 'gift-vouchers-view':{'openMenu':'8', 'activeKey':'8-3'},\n 'cam-actualization-actual':{'openMenu':'9', 'activeKey':'9-1'},\n 'cam-actualization-view':{'openMenu':'9', 'activeKey':'9-2'},\n 'acquisition-report':{'openMenu':'10', 'activeKey':'10-1'},\n 'asset-management-report':{'openMenu':'10', 'activeKey':'10-2'},\n 'valuation-report':{'openMenu':'10', 'activeKey':'10-3'},\n 'finance-input':{'openMenu':'11', 'activeKey':'11-1'},\n 'finance-payment':{'openMenu':'11', 'activeKey':'11-2'},\n 'finance-reconciliation':{'openMenu':'11', 'activeKey':'11-3'},\n };\n \n let openMenu = urlArray[parts[2]]?.openMenu ?? '1';\n let activeKey = urlArray[parts[2]]?.activeKey ?? '1-1';\n //console.log(activeKey, \"activeKey\")\n let reportArr = [\n /* { 'link' : 'report-1', 'name': 'Report 1', 'CustomeParams' : 'value', 'subChild' : [\n { 'link' : 'sub report-1', 'name': 'Sub Report 2', 'CustomeParams' : 'value' }, \n { 'link' : 'suub report-1', 'name': 'Sub Report 3', 'CustomeParams' : 'value' }\n ] },\n { 'link' : 'report-1', 'name': 'Report 2', 'CustomeParams' : 'value' }, \n { 'link' : 'report-1', 'name': 'Report 3', 'CustomeParams' : 'value' },*/\n ];\n\n return (\n
    \n \n
    \n
    \n {(getUserRole() != \"checker\" || true) && (\n <>\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n \n \n \n \n \n \n\n\n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n \n \n \n\n \n \n \n {/* \n \n */}\n\n\n {/* gift vouchers */}\n {/* \n \n */}\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n\n\n \n {/*
    \n
    \n
    \n

    \n \n REPORTS\n

    \n
    \n
    \n
    */}\n \n
    \n\n\n
    \n \n )}\n
    \n
    \n
    \n );\n}\n","import myData from \"./states_india.json\";\nvar statesData = myData;\n \n export default { statesData };","import React, { Component } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faUserCircle,\n faSignOutAlt,\n faFileAlt,\n faCalendarAlt,\n faClock,\n faRupeeSign,\n faChartLine,\n faVectorSquare,\n faBuilding,\n faExpandAlt,\n faMapMarkerAlt,\n faRetweet,\n faTrashRestore,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport CreatableSelect from \"react-select/creatable\";\nimport SearchField from \"react-search-field\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport apiUrl from \"../apiUrlConstant\";\nimport statesData from \"../geojson\";\nimport Masters from \"../masters/Masters\";\nimport \"leaflet/dist/leaflet.css\";\nimport * as L from \"leaflet\";\nimport styles from \"../masters/master.css\";\nimport Select from \"react-select\";\n//import { Map } from 'react-leaflet'\nimport TopHeader from \"../layout/TopHeader\";\nimport { MapContainer, TileLayer, Marker, Popup, GeoJSON } from \"react-leaflet\";\nimport markerIconPng from \"leaflet/dist/images/marker-icon.png\";\nimport { Icon, latLng } from \"leaflet\";\nimport { Header } from \"rsuite\";\nimport Chart from \"react-google-charts\";\nimport { ChartPopup } from \"../utils/utils\";\nclass LeaseSummary extends React.Component {\n state = {\n redirect: false,\n rightSideData: [],\n mapData: [],\n barChartData: [[\"City\", \"Lease Count\"]],\n lineChartData: [],\n center: [20.59, 78.96],\n counter: 0,\n zoomLevel: 4,\n stateName: \"India\",\n stateId: \"\",\n brands: [],\n brandCategoryName: \"Select Brand\",\n brandCategory: \"\",\n pinCode: \"\",\n enlargeChart: false,\n chartData: \"\",\n chartkey: \"\",\n pinCounter: 0\n };\n style = (feature) => {\n return {\n fillColor: \"#ccc\",\n weight: 1,\n opacity: 1,\n color: \"#003970\",\n dashArray: \"2\",\n fillOpacity: 0.5,\n };\n };\n constructor(props) {\n super(props);\n this.onEachFeature = this.onEachFeature.bind(this);\n }\n loadBrands = async () => {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/brand/get-brands?page=1&per_page=100&delay=1`\n );\n this.state.brands = response.data.data;\n this.setState({});\n };\n\n changeCategory = (newValue) => {\n this.state.brandCategory = newValue.value;\n this.state.brandCategoryName = newValue.label;\n\n this.filterPage();\n\n console.groupEnd();\n };\n changePin = (newValue) => {\n this.state.pinCode = newValue.target.value;\n const pincodes = this.state.pinCode.split(\",\");\n let access = true;\n for (let i in pincodes) {\n if (pincodes[i].trim().length != 6 && pincodes[i].trim().length > 0) {\n access = false;\n }\n }\n console.log(this.state.pinCode, \"this.state.pinCode\")\n console.log(access);\n if (access) {\n this.filterPage();\n }\n\n console.groupEnd();\n };\n\n filterPage = () => {\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/lease-report/get-state-wise-summary?state_id=${this.state.stateId}&brandId=${this.state.brandCategory}&pinCode=${this.state.pinCode}`, //\n }).then(function (response) {\n if (response.data.success) {\n var counter = ths.state.counter + 1;\n ths.setState({\n rightSideData: response.data.data,\n mapData: response.data.data.mapData,\n });\n\n console.log(response.data.data, \"response.data.data\");\n ths.renderCharts(ths);\n }\n });\n\n this.setState({});\n };\n\n componentDidMount() {\n this.loadBrands();\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/lease-report/get-state-wise-summary`, //?state_id=${this.state.id}\n }).then(function (response) {\n if (response.data.success) {\n self.setState({\n rightSideData: response.data.data,\n mapData: response.data.data.mapData,\n });\n }\n });\n\n this.renderCharts(self);\n }\n\n resetPage = () => {\n var counter = this.state.counter + 1;\n this.setState(\n {\n stateId: \"\",\n pinCode: \"\",\n brandCategory: \"\",\n brandCategoryName: \"Select Brand\",\n zoomLevel: 4,\n counter: counter,\n center: [20.59, 78.96],\n stateName: \"India\",\n pinCounter: Math.random()\n },\n () => {\n this.filterPage();\n }\n );\n\n var ths = this;\n // axios({\n // method: \"get\",\n // url: `${apiUrl.apiUrl.url}/lease-report/get-state-wise-summary?state_id=&brandId=${ths.state.brandCategory}`,\n // }).then(function (response) {\n // if (response.data.success) {\n // var counter = ths.state.counter + 1;\n // ths.setState({\n // rightSideData: response.data.data,\n // zoomLevel: 4,\n // counter: counter, // Math.round()\n // });\n // }\n // });\n };\n\n renderCharts = (self) => {\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/sales-input/get-state-wise-lease-count?state_id=${self.state.stateId}&brandId=${self.state.brandCategory}&pinCode=${this.state.pinCode}`,\n }).then(function (response) {\n console.log(response.data, \"cahrt data\");\n self.setState({\n barChartData: response.data.barChartData,\n lineChartData: response.data.lineChartData,\n });\n });\n };\n\n onEachFeature(feature, layer) {\n var ths = this;\n layer.on(\"click\", function (e) {\n console.log(e.target.feature, \"e.target.feature.properties\");\n ths.setState({\n stateName: e.target.feature.properties.st_nm,\n stateId: e.target.feature.properties.state_code,\n });\n\n ths.renderCharts(ths);\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/lease-report/get-state-wise-summary?state_id=${e.target.feature.properties.state_code}&brandId=${ths.state.brandCategory}`,\n }).then(function (response) {\n if (response.data.success) {\n var counter = ths.state.counter + 1;\n ths.setState({\n rightSideData: response.data.data,\n mapData: response.data.data.mapData,\n center: [\n response.data.stateData.latitude,\n response.data.stateData.longitude,\n ],\n zoomLevel: response.data.stateData.zoom_level,\n counter: counter, // Math.round()\n });\n }\n });\n });\n }\n\n render() {\n return (\n
    \n \n\n
    \n\n
    \n {\n this.changeCategory(e);\n }}\n options={this.state.brands.map((item) => ({\n label: item.brandName,\n value: item.brandId,\n }))}\n />\n {\n this.changePin(e);\n }}\n //value={this.state.pinCode}\n isSearchable=\"true\"\n name=\"pinCode\"\n classNames=\"basic-single\"\n key={this.state.pinCounter}\n />\n \n
    \n\n
    \n {/*
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n this.changeCategory(e);\n }}\n options={this.state.brands.map((item) => ({\n label: item.brandName,\n value: item.brandId,\n }))}\n />\n
    \n
    \n
    \n
    \n {\n this.changePin(e);\n }}\n isSearchable=\"true\"\n name=\"pinCode\"\n classNames=\"basic-single\"\n value={{\n label: this.state.brandCategoryName,\n value: this.state.brandCategory,\n }}\n />\n
    \n
    \n
    \n
    \n
    \n \n {\" \"}\n Portfolio Analytics{\" \"}\n \n
    \n
    \n
    \n
    */}\n\n
    \n
    \n

    \n Portfolio: {this.state.stateName}\n

    \n
    \n \n \n \n {this.state.mapData.map(function (item) {\n return (\n \n {item.towerName}\n \n );\n })}\n \n {/*

    \n {\n this.resetPage(e);\n }}\n >\n Reset\n \n

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

    \"total_lease\" Total Leases

    \n

    {this.state.rightSideData.total_lease}

    \n\n \n
    \n
    \n

    \"assets\" # of Assets

    \n

    {this.state.rightSideData.total_assets}

    \n
    \n
    \n

    \"gla\" Total GLA (Chargeable) (sq.ft)

    \n

    {this.state.rightSideData.gross_area}

    \n
    \n
    \n

    \"gla\" Total Carpet (sq.ft)

    \n

    {this.state.rightSideData.carpet_area}

    \n
    \n \n
    \n

    \"Wale\" WALE (Months)

    \n

    {this.state.rightSideData.wale_months}

    \n
    \n
    \n

    \"Wale\" WALOE (Months)

    \n

    {this.state.rightSideData.waloe_months}

    \n
    \n
    \n \n

    \"lease_expire\" Lease Expiring In 3 Months

    \n

    {this.state.rightSideData.lease_expire_3_months}

    \n \n
    \n
    \n
    \n
    \n
    Total Leases State Wise
    \n {\n this.setState({\n chartkey: Math.random(),\n enlargeChart: true,\n chartData: (\n Loading Chart
    }\n data={this.state.barChartData}\n options={{\n title: \"\",\n chartArea: { width: \"80%\" },\n legend: {\n position: \"top\",\n alignment: \"center\",\n },\n hAxis: {\n title: \"Total Leases\",\n minValue: 0,\n },\n vAxis: {\n title: \"States\",\n },\n }}\n legendToggle\n />\n ),\n });\n }}\n >\n \n \n
    \n Loading Chart
    }\n data={this.state.barChartData}\n options={{\n title: \"\",\n chartArea: { width: \"80%\" },\n legend: { position: \"top\", alignment: \"center\" },\n hAxis: {\n title: \" States\",\n minValue: 0,\n },\n vAxis: {\n title: \"Total Leases\",\n },\n }}\n legendToggle\n />\n
    \n
    \n
    \n {/*
    */}\n {/*
    \n
    \n
    \n
    \n
    \n {\n this.changeCategory(e);\n }}\n options={this.state.brands.map((item) => ({\n label: item.brandName,\n value: item.brandId,\n }))}\n />\n
    \n
    \n
    \n
    \n {\n this.changePin(e);\n }}\n isSearchable=\"true\"\n name=\"pinCode\"\n classNames=\"basic-single\"\n // value={{\n // label: this.state.brandCategoryName,\n // value: this.state.brandCategory,\n // }}\n />\n
    \n
    \n
    \n
    \n
    \n \n {\" \"}\n Portfolio Analytics{\" \"}\n \n
    \n
    */}\n {/*
    */}\n {/*
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {this.state.rightSideData.total_lease}

    \n

    Total Leases

    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.total_assets}

    \n

    # of Assets

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.gross_area}

    \n

    Total GLA (Chargeable) (sq.ft)

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.carpet_area}

    \n

    Total Carpet (sq.ft)

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.wale_months}

    \n

    WALE (Months)

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.waloe_months}

    \n

    WALOE (Months)

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n \n

    \n {this.state.rightSideData.lease_expire_3_months}\n

    \n Lease Expiring In 3 Months\n \n

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.avg_monthly_sale}

    \n

    Avg Monthly Sales ()

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.avg_monthly_mg}

    \n

    Avg Monthly MG

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {this.state.rightSideData.avg_monthly_mg}

    \n

    Avg Net Sales

    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.setState({\n chartkey: Math.random(),\n enlargeChart: true,\n chartData: (\n Loading Chart
    }\n data={this.state.barChartData}\n options={{\n title: \"Total Leases State Wise\",\n chartArea: { width: \"80%\" },\n legend: {\n position: \"top\",\n alignment: \"center\",\n },\n hAxis: {\n title: \"Total Leases\",\n minValue: 0,\n },\n vAxis: {\n title: \"States\",\n },\n }}\n legendToggle\n />\n ),\n });\n }}\n >\n \n \n
    \n Loading Chart
    }\n data={this.state.barChartData}\n options={{\n title: \"Total Leases State Wise\",\n chartArea: { width: \"80%\" },\n legend: { position: \"top\", alignment: \"center\" },\n hAxis: {\n title: \" States\",\n minValue: 0,\n },\n vAxis: {\n title: \"Total Leases\",\n },\n }}\n legendToggle\n />\n
    \n
    \n {\n this.setState({ enlargeChart: true });\n }}\n width={\"100%\"}\n height={300}\n chartType=\"LineChart\"\n loader={
    Loading Chart
    }\n data={this.state.lineChartData}\n options={{\n hAxis: {\n title: \"Months\",\n },\n vAxis: {\n title: \"Rate / GLA\",\n },\n backgroundColor: \"#005b9b\",\n colors: [\"#fff\", \"#fff\"],\n }}\n />\n {\n this.setState({\n chartkey: Math.random(),\n enlargeChart: true,\n chartData: (\n {\n this.setState({ enlargeChart: true });\n }}\n width={\"100%\"}\n height={300}\n chartType=\"LineChart\"\n loader={
    Loading Chart
    }\n data={this.state.lineChartData}\n options={{\n hAxis: {\n title: \"Months\",\n },\n vAxis: {\n title: \"Rate / GLA\",\n },\n backgroundColor: \"#005b9b\",\n colors: [\"#fff\", \"#fff\"],\n }}\n />\n ),\n });\n }}\n >\n Enlarge Chart\n \n
    \n
    \n */}\n {/*
    \n
    \n \n

    \"total_lease\" Total Leases

    \n

    {this.state.rightSideData.total_lease}

    \n\n \n
    \n
    \n

    \"assets\" # of Assets

    \n

    {this.state.rightSideData.total_assets}

    \n
    \n
    \n

    \"gla\" Total GLA (sq.ft)

    \n

    {this.state.rightSideData.gross_area}

    \n
    \n
    \n

    \"Wale\" WALE (Months)

    \n

    {this.state.rightSideData.wale_months}

    \n
    \n
    \n

    \"Wale\" WALE (Months)

    \n

    {this.state.rightSideData.waloe_months}

    \n
    \n
    \n \n

    \"lease_expire\" Lease Expiring In 3 Months

    \n

    {this.state.rightSideData.lease_expire_3_months}

    \n \n
    \n
    */}\n {/* */}\n {/* */}\n \n \n \n );\n }\n}\n\nexport default withRouter(LeaseSummary);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport axios from \"axios\";\nimport Table from \"../reports/reportlist/LeaseListingTable\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport TopHeader from \"../layout/TopHeader\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport styled from \"styled-components\";\nimport {\n faPen,\n faPlus,\n faSave,\n faTimes,\n faUndo,\n faFileExcel,\n faEye,\n faUpload,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\n//import Select from \"react-select\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport { ViewLeasePdfReader } from \"../utils/ViewLeaseDocumentViewer\";\nimport { PopupMessage } from \"../utils/utils\";\n//import { fileUploadPath } from \"../../utils/index\";\nimport Popup from \"reactjs-popup\";\n\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\n\nimport RevenueTable from \"../reports/reportlist/RevenueTable\";\n\nimport * as Yup from \"yup\";\nimport { getUserType, fileUploadPath } from \"../utils/index\";\nvar ReactS3Uploader = require(\"react-s3-uploader\");\n\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"), \n leaseId: Yup.number().required(\"Required\").transform((value) => (isNaN(value) ? undefined : value)).nullable()\n\n });\n\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n leaseId: Yup.number().required(\"Required\").transform((value) => (isNaN(value) ? undefined : value)).nullable()\n\n });\n\n} else {\n var reportFilterForm = Yup.object().shape({\n leaseId: Yup.number().required(\"Required\").transform((value) => (isNaN(value) ? undefined : value)).nullable(),\n financialYearOne: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n });\n}\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n//const [selectedValue, setSelectedValue] = useState([]);\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nlet financialYear = [];\n// var i = 0; let currentYear = new Date().getFullYear();\n// financialYear.push({ id: (currentYear + 1) , value: (currentYear ) + \"-\" + (currentYear + 1) })\n// for (; i <= 10; i++) {\n// financialYear.push({ id: currentYear , value: (currentYear - 1) + \"-\" + currentYear });\n// --currentYear;\n// }\n\nvar tableCounter = 0;\n\nconst headers = { 'Content-Type': 'application/json', 'Authorization': \"Bearer \" + localStorage.getItem('TOKEN') };\n\nclass InvoiceValidation extends React.Component {\n groupId = { value: \"\" };\n state = {\n totalInvoiceAmount: 0,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n popupalertMessage: false,\n popupMessageContent: '',\n brandSelected: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n redirect: false,\n states: [],\n oldInvoiceData: [],\n invoiceOtherData: [],\n financialYearOne: \"\",\n financialYearTwo: \"\",\n isOpen: false,\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n tableTOShow: \"\",\n tableHeadingText: \"\",\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n showUploadDocument: false,\n fileName: \"\",\n documentType: \"\",\n uploadedDocuments: [],\n currentDocument: \"\",\n submitFormData: {},\n initialValues: {\n leaseDocumentType: \"\",\n leaseDocumentUrl: \"\",\n leaseUploadDocumentDate: \"\",\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: [],\n chargeTypeSelected: \"\",\n chargeType: \"\",\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"\",\n financialYearTwo: \"\",\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n }\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n\n handleUpload() {\n this.uploader.uploadFile();\n const index = this.state.documentNames.indexOf(\n this.state.initialValues.leaseDocumentType\n );\n if (index > -1) {\n this.state.documentNames.splice(index, 1);\n }\n this.state.showUploadDocument = false;\n this.setState({});\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n onUploadFinish = (e) => {\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/sales-input/update-lease-invoice`,\n data: this.state.submitFormData,\n }).then(function (response) {\n if (!response.data.success) {\n // alert(\"Something went wrong!\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'Something went wrong!',\n });\n } else {\n // alert(\"Data Saved Successfully\");\n // self.setState({\n // formResponseData: [],\n // oldInvoiceData: [],\n // invoiceOtherData: [],\n // totalInvoiceAmount: 0,\n // });\n // self.setState({ redirect: true });\n self.setState({\n messsagePopup: true,\n });\n }\n });\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n if (this.state.initialValues.brandId.length == 0 || this.state.initialValues.brandId == \"\") {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n this.state.initialValues.leaseId = [];\n this.state.leaseSelected = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n // fetch(\n // `${apiUrl.apiUrl.url}/lease-view/get-lease-financial-years?leaseId=` +\n // this.state.initialValues.leaseId\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // financialYear: data.fianancialYears,\n // });\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?cat_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = ['0'];\n this.state.brandSelected.push({ \"value\": 0, 'label': 'All' });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n\n console.log(this.state.initialValues.brandId, \"this.state.initialValues.brandId\")\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n\n this.getAssetsListByBrand();\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n //this.state.leaseSelected= [];\n // for (let i = 0; i < newValue.length; i++) {\n // this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n // //this.state.selectedValue.push(newValue[i].value);\n // //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n // }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n }\n\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n redirectAfterSave = () => {\n this.setState({\n formResponseData: [],\n oldInvoiceData: [],\n invoiceOtherData: [],\n totalInvoiceAmount: 0,\n messsagePopup: false,\n });\n this.setState({ redirect: true });\n };\n\n redirectToClose = () => {\n this.setState({\n popupalertMessage: false,\n popupMessageContent: '',\n });\n };\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n
    \n {this.renderForm()}\n
    \n
    \n );\n }\n\n renderForm() {\n return (\n
    \n \n
    \n
    \n \n
    \n
    \n {/*
    */}\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = \"\";\n this.state.chargeTypeSelected = \"\";\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n\n var counter = this.state.counter + 1;\n this.setState({\n formResponseData: [],\n oldInvoiceData: [],\n invoiceOtherData: [],\n tableTOShow: \"\",\n tableHeadingText: \"\"\n });\n\n\n\n this.setState({\n currentDocument: \"\",\n });\n\n this.setState({\n totalInvoiceAmount: \"\",\n });\n this.setState({ fileName: \"\" });\n this.setState({ counter: counter });\n\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var form_config = this.state.initialValues;\n\n form_config.expiry_status = true;\n\n var counter = this.state.counter + 1;\n console.log(counter, \"counter\", form_config);\n\n this.setState({ selectedBrand: brand_id });\n this.setState({ selectedAsset: asset_id });\n this.setState({ formConfig: form_config });\n var prm = Object.entries(form_config)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n this.state.formResponseData = [];\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-details?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n\n var tableHeading = \"\";\n if (\"Marketing Fund Tax\" == this.state.initialValues.chargeTypeSelected) {\n tableHeading = \"MF\";\n } else if (\"Property Tax\" == this.state.initialValues.chargeTypeSelected) {\n tableHeading = \"P TAX\";\n } else if (\"Parking 2W\" == this.state.initialValues.chargeTypeSelected || \"Parking 4W\" == this.state.initialValues.chargeTypeSelected || \"Parking Other\" == this.state.initialValues.chargeTypeSelected) {\n tableHeading = \"Utility\";\n } else if (\"Storage\" == this.state.initialValues.chargeTypeSelected) {\n tableHeading = \"Charge\";\n }\n\n\n\n\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n oldInvoiceData: data.oldInvoiceData,\n invoiceOtherData: data.otherDetails,\n tableTOShow: this.state.initialValues.chargeTypeSelected,\n tableHeadingText: tableHeading\n });\n\n\n\n this.setState({\n currentDocument: data.otherDetails.document_url,\n });\n\n this.setState({\n totalInvoiceAmount: data.otherDetails.total_amt.invoiceAmount,\n });\n this.setState({ fileName: data.otherDetails.fileName });\n this.setState({ counter: counter });\n this.setState({\n exportUrl:\n `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n prm,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n form_config = undefined;\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n resetForm,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map((item) => ({\n label: item.district_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_charge_type\");\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n className=\"w-100\"\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n \n
    \n
    \n
    \n
    \n \n {\n resetForm();\n }}\n className=\"reset_button\"\n >\n Reset\n \n
    \n
    \n
    \n
    \n \n )\n }\n \n {/*
    */}\n < PopupMessage\n open={this.state.messsagePopup}\n content={this.state.popupContent}\n redirectAfterSave={this.redirectAfterSave}\n />\n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n {\n console.log(nextValues, \"asdasdasd\");\n }}\n onReset={(values, actions) => {\n this.setState({\n //formResponseData: data,\n formResponseData: this.state.formResponseData,\n });\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n values[\"leaseId\"] = this.state.invoiceOtherData.leaseId;\n values[\"month\"] = this.state.invoiceOtherData.date;\n\n if (\n this.state.totalInvoiceAmount !=\n this.state.invoiceOtherData.total_amt.net_charge_amount\n ) {\n // alert(\"please settle invoice amount\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'please settle invoice amount',\n });\n return false;\n } else {\n this.uploader.uploadFile();\n values.filename =\n fileUploadPath() +\n this.state.invoiceOtherData.leaseId +\n \"/\" +\n this.state.fileName;\n values.chargeTypeSelected =\n this.state.initialValues.chargeTypeSelected;\n this.setState({ submitFormData: values });\n\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n {this.state.tableTOShow == \"RENT\" &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n
    #PeriodMonthCharge TypeCharge LogicMG RateMG AmountNet SalesRS %RS AmountFitout Rent AmountCAM AmountNet Charge AmountInvoice AmountVariance
    {index + 1}{anObjectMapped.period}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.type}{anObjectMapped.mg_rate}{anObjectMapped.mg_amount}{anObjectMapped.net_sales}{anObjectMapped.revenueShare}{anObjectMapped.revenue_amt}{anObjectMapped.fitoutRate}{anObjectMapped.cam_amt}{anObjectMapped.net_charge_amount}\n {\n this.handleCalculation(\n e,\n index,\n values\n );\n }}\n />\n {anObjectMapped.variance}
    Total----\n {this.state.invoiceOtherData.total_amt.mg_rate}\n \n {this.state.invoiceOtherData.total_amt.mg_amount}\n \n {this.state.invoiceOtherData.total_amt.net_sales}\n \n {\n this.state.invoiceOtherData.total_amt\n .revenueShare\n }\n \n {\n this.state.invoiceOtherData.total_amt\n .revenue_amt\n }\n \n {this.state.invoiceOtherData.total_amt.fitoutRate}\n \n {this.state.invoiceOtherData.total_amt.cam_amt}\n \n {\n this.state.invoiceOtherData.total_amt\n .net_charge_amount\n }\n {this.state.totalInvoiceAmount}
    \n }\n {(this.state.tableTOShow == \"CAM\") &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n
    #PeriodMonthCharge TypeCharge LogicCAM RateCAM AmountNet SalesCAM RS %CAM RS AmountCAM % RENTCAM % RENT AmountNet Charge AmountInvoice AmountVariance
    {index + 1}{anObjectMapped.period}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.type}{anObjectMapped.mg_rate}{anObjectMapped.mg_amount}{anObjectMapped.net_sales}{anObjectMapped.revenueShare}{anObjectMapped.revenue_amt}{anObjectMapped.fitoutRate}{anObjectMapped.cam_amt}{anObjectMapped.net_charge_amount}\n {\n this.handleCalculation(\n e,\n index,\n values\n );\n }}\n />\n {anObjectMapped.variance}
    Total----\n {this.state.invoiceOtherData.total_amt.mg_rate}\n \n {this.state.invoiceOtherData.total_amt.mg_amount}\n \n {this.state.invoiceOtherData.total_amt.net_sales}\n \n {\n this.state.invoiceOtherData.total_amt\n .revenueShare\n }\n \n {\n this.state.invoiceOtherData.total_amt\n .revenue_amt\n }\n \n {this.state.invoiceOtherData.total_amt.fitoutRate}\n \n {this.state.invoiceOtherData.total_amt.cam_amt}\n \n {\n this.state.invoiceOtherData.total_amt\n .net_charge_amount\n }\n {this.state.totalInvoiceAmount}
    \n }\n {(this.state.tableTOShow == \"Property Tax\" || this.state.tableTOShow == \"Marketing Fund Tax\") &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n
    #MonthCharge TypeCharge Logic{this.state.tableHeadingText} Rate{this.state.tableHeadingText} AmountNet Sales{this.state.tableHeadingText} RS %{this.state.tableHeadingText} RS Amount{this.state.tableHeadingText} % RENT{this.state.tableHeadingText} % RENT AmountNet Charge AmountInvoice AmountVariance
    {index + 1}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.type}{anObjectMapped.mg_rate}{anObjectMapped.mg_amount}{anObjectMapped.net_sales}{anObjectMapped.revenueShare}{anObjectMapped.revenue_amt}{anObjectMapped.fitoutRate}{anObjectMapped.cam_amt}{anObjectMapped.net_charge_amount}\n {\n this.handleCalculation(\n e,\n index,\n values\n );\n }}\n />\n {anObjectMapped.variance}
    Total---\n {this.state.invoiceOtherData.total_amt.mg_rate}\n \n {this.state.invoiceOtherData.total_amt.mg_amount}\n \n {this.state.invoiceOtherData.total_amt.net_sales}\n \n {\n this.state.invoiceOtherData.total_amt\n .revenueShare\n }\n \n {\n this.state.invoiceOtherData.total_amt\n .revenue_amt\n }\n \n {this.state.invoiceOtherData.total_amt.fitoutRate}\n \n {this.state.invoiceOtherData.total_amt.cam_amt}\n \n {\n this.state.invoiceOtherData.total_amt\n .net_charge_amount\n }\n {this.state.totalInvoiceAmount}
    \n }\n {(this.state.tableTOShow == \"Parking 2W\" || this.state.tableTOShow == \"Parking 4W\" || this.state.tableTOShow == \"Parking Other\" || this.state.tableTOShow == \"Storage\" || this.state.tableTOShow == \"Signage\") &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n \n \n\n \n \n \n )}\n \n
    #MonthCharge TypeCharge Logic{this.state.tableHeadingText} Rate{this.state.tableHeadingText} AmountNet Charge AmountInvoice AmountVariance
    {index + 1}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.type}{anObjectMapped.mg_rate}{anObjectMapped.mg_amount}{anObjectMapped.net_charge_amount}\n {\n this.handleCalculation(\n e,\n index,\n values\n );\n }}\n />\n {anObjectMapped.variance}
    Total---\n {this.state.invoiceOtherData.total_amt.mg_rate}\n \n {this.state.invoiceOtherData.total_amt.mg_amount}\n \n {\n this.state.invoiceOtherData.total_amt\n .net_charge_amount\n }\n {this.state.totalInvoiceAmount}
    \n }\n {(this.state.tableTOShow == \"Utility\") &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n {this.state.formResponseData.length > 0 && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n
    #MonthCharge TypeCharge Logic{this.state.tableHeadingText} Rate{this.state.tableHeadingText} AmountNet Charge AmountInvoice AmountVariance
    {index + 1}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.type}{anObjectMapped.mg_rate}{anObjectMapped.mg_amount}{anObjectMapped.net_charge_amount}\n {\n this.handleCalculation(\n e,\n index,\n values\n );\n }}\n />\n {anObjectMapped.variance}
    Total---\n {this.state.invoiceOtherData.total_amt.mg_rate}\n \n {this.state.invoiceOtherData.total_amt.mg_amount}\n \n {this.state.invoiceOtherData.total_amt.net_sales}\n \n {\n this.state.invoiceOtherData.total_amt\n .revenueShare\n }\n \n {\n this.state.invoiceOtherData.total_amt\n .revenue_amt\n }\n \n {this.state.invoiceOtherData.total_amt.fitoutRate}\n \n {this.state.invoiceOtherData.total_amt.cam_amt}\n \n {\n this.state.invoiceOtherData.total_amt\n .net_charge_amount\n }\n {this.state.totalInvoiceAmount}
    \n }\n {this.state.formResponseData.length > 0 && (\n
    \n
    \n
    \n {\n e.preventDefault();\n //this.state.currentDocument = this.state.oldInvoiceData.documents.document_url;\n this.setState({});\n this.openModal();\n }}\n >\n {\n this.state.oldInvoiceData.documents\n .document_name\n }\n \n\n this.state.fileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => (this.uploadInput = cmp)}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n />\n \n \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n\n
    \n
    \n \n \n \n
    \n
    \n
    \n
      \n
    • Document
    • \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n
    \n );\n }\n}\n\nexport default withRouter(InvoiceValidation);\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faUser,\n faList,\n faKey,\n faHouseUser,\n faCog,\n faRupeeSign,\n faAtom,\n faCopyright,\n faFileContract,\n faChartLine,\n faFileAlt,\n faShieldAlt,\n faTable,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../SideMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { getUserType } from \"../utils/index\";\n\nvar revenueReportText = \"Revenue Report\";\nif(getUserType() == \"Occupier\") {\n revenueReportText = \"Expense Report\";\n}\n\nclass ReportsSideMenu extends React.Component {\n state = {\n openMenu: [\"\"],\n activeKey: \"1-1\",\n };\n constructor(props) {\n super(props);\n }\n render() {\n let url = this.props.match;\n console.log(this.props.location.pathname);\n return (\n
    \n {\n console.log(openKeys[openKeys.length - 1]);\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
    \n );\n }\n}\n\nexport default withRouter(ReportsSideMenu);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport axios from \"axios\";\nimport {\n faEye,\n faPen,\n faPlus,\n faTimes,\n faFileExcel,\n faUndo,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType, fileUploadPath } from \"../utils/index\";\nimport { PopupMessage } from \"../utils/utils\";\nimport Popup from \"reactjs-popup\";\n//import { Chart } from \"react-google-charts\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({\n id,\n type,\n name,\n handleClick,\n isChecked,\n attr,\n occupierId,\n netAmt,\n invoiceId,\n amtBeforeTax\n}) => {\n return (\n \n );\n};\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n financialYearOne: Yup.string().required(\"Required\"),\n invoiceFrequency: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n towerId: Yup.string().required(\"Required\"),\n companyId: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n invoiceItemList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n towerId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n financialYearOne: \"\",\n invoiceFrequency: \"\",\n chargeType: \"\",\n hsn_sac: \"\"\n },\n countList: {\n generated: 0,\n draftCount: 0,\n approveCount: 0,\n applyCount: 0,\n cancelCount: 0,\n },\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n console.log(this.props, \"this proopsss\");\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n //this.state.initialValues.financialYearOne = date;\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` +\n this.state.initialValues.groupId +\n `&tower=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-debit`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getInvoicesList(self.state.selectedStatus);\n }\n });\n };\n\n downlodFile = () => {\n var self = this;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n prm += \"&requestType=\" + this.state.selectedStatus;\n axios({\n method: \"post\",\n url:\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-data?export=true&sendLink=true&` +\n prm,\n // data: columnsList,\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + \"/lease-report/download-file?path=\" + response.data\n }`;\n });\n };\n\n getInvoicesList = (status) => {\n var self = this;\n //this.state.initialValues.financialYearOne = this.state.financialYearOne;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n prm += \"&requestType=\" + status;\n var tableCounter,\n counter = 0;\n console.log(this.state.initialValues, \"this.state.initialValues\");\n\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-data?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n //invoiceOtherData: data.otherDetails,\n //countList: data.count,\n });\n\n if(status == \"generate\") {\n this.setState({countList: data.count});\n }\n\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n processInvoiceItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceItemList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: {\n list: this.state.invoiceList,\n processType: status,\n period: this.state.initialValues.financialYearOne,\n frequency: this.state.initialValues.frequencySelected,\n },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.state.invoiceItemList = {};\n self.setState({});\n //self.getInvoicesList(self.state.selectedStatus);\n self.getInvoicesList('generate');\n });\n }\n });\n };\n\n approveInvoice = () => {\n this.processInvoiceItems(1);\n };\n\n applyInvoice = () => {\n this.processInvoiceItems(2);\n };\n\n cancelInvoice = () => {\n this.processInvoiceItems(3);\n };\n\n rejectInvoice = () => {\n this.processInvoiceItems(0);\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n var invoiceItemList = this.state.invoiceItemList;\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (typeof invoiceListObj[id][[e.target.dataset.attr]] == \"undefined\") {\n invoiceListObj[id][[e.target.dataset.attr]] = {};\n }\n\n console.log(e.target.dataset, \"e.target.dataset.netAmt\");\n\n var uniqueKey =\n id + \"-\" + e.target.dataset.attr + \"-\" + e.target.dataset.occupierid;\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr][e.target.dataset.occupierid] = {\n amt: e.target.dataset.netamt,\n invoiceId: e.target.dataset.invoiceid,\n amtBeforeTax: e.target.dataset.amtbeforetax\n };\n\n invoiceItemList[uniqueKey] = true;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr][\n e.target.dataset.occupierid\n ];\n delete invoiceItemList[uniqueKey];\n }\n\n this.state.invoiceList = invoiceListObj;\n this.state.invoiceItemList = invoiceItemList;\n\n console.log(this.state.invoiceList, \"final list\", invoiceItemList);\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n generateInvoice = () => {\n console.log(this.state.invoiceList, \"ohh \");\n var self = this;\n\n if (JSON.stringify(this.state.invoiceItemList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-invoice`,\n data: {\n list: this.state.invoiceList,\n companyId: this.state.initialValues.companyId,\n period: this.state.initialValues.financialYearOne,\n frequency: this.state.initialValues.frequencySelected,\n chargeType: this.state.initialValues.chargeTypeSelected,\n hsn_sac: this.state.initialValues.hsn_sac\n },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.getInvoicesList(self.state.selectedStatus);\n self.setState({});\n });\n }\n });\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"lease_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n\n //this.state.chargeTypeSelected = '';\n //this.state.frequencySelected = '';\n //this.state.financialYearOne = '';\n //this.state.initialValues.towerId = '';\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.getInvoicesList(\"generate\");\n this.state.redirect = true;\n this.setState({});\n //return ;\n }}\n onSubmit={(values, actions) => {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n this.setState({ selectedStatus: \"generate\" });\n this.getInvoicesList(\"generate\");\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n {/* */}\n {this.validator.message(\"Tower\", this.state.initialValues.towerId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Landlord company name\", this.state.initialValues.companyName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Charge type\", this.state.initialValues.chargeType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.hsn_sac = e.target.value;\n this.setState({})\n }}\n value={this.state.initialValues.hsn_sac}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.frequencySelected = e.value;\n this.state.initialValues.invoiceFrequency = e.value;\n this.setState({});\n }}\n value={this.state.frequencySelected}\n options={[\"Monthly\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Charge type\", this.state.initialValues.invoiceFrequency, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n this.setState({ financialYearOne: date })}\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.validator.message(\"Charge type\", this.state.financialYearOne, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n {\n this.setState({\n selectedStatus: \"generate\",\n randomNum: Math.random(),\n });\n\n this.getInvoicesList(\"generate\");\n }}\n >\n
    Generated Invoices ({this.state.countList.generated})
    \n
    \n\n {\n this.setState({\n selectedStatus: \"draft\",\n randomNum: Math.random(),\n });\n\n this.getInvoicesList(\"draft\");\n }}\n >\n
    Draft Invoices ({this.state.countList.draftCount})
    \n \n {\n this.setState({\n selectedStatus: \"approve\",\n randomNum: Math.random(),\n });\n this.getInvoicesList(\"approve\");\n }}\n >\n
    Approved Invoices ({this.state.countList.approveCount})
    \n \n\n {\n this.setState({\n selectedStatus: \"apply\",\n randomNum: Math.random(),\n });\n\n this.getInvoicesList(\"apply\");\n }}\n >\n
    Applied Invoices ({this.state.countList.applyCount})
    \n \n\n {\n this.setState({\n selectedStatus: \"cancel\",\n randomNum: Math.random(),\n });\n this.getInvoicesList(\"cancel\");\n }}\n >\n
    Cancelled Invoices ({this.state.countList.cancelCount}){\" \"}
    \n \n \n\n {\n console.log(nextValues, \"asdasdasd\");\n }}\n onReset={(values, actions) => {\n this.setState({\n //formResponseData: data,\n formResponseData: this.state.formResponseData,\n });\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n \n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n <>\n {\n this.downlodFile();\n }}\n >\n Download\n \n \n {this.state.tableTOShow == \"RENT\" && (\n \n \n \n {this.state.selectedStatus != \"cancel\" &&\n this.state.selectedStatus != \"apply\" && (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n {this.state.selectedStatus != \"cancel\" &&\n this.state.selectedStatus != \"apply\" && (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n \n
    SelectSr. No.Lease IdAsset NameSub Asset NameTower\n Floor\n Unit No.GLABrand NameOccupier NameInvoice PeriodCharge LogicCharge RateInvoice NumberCharge Base AmountGST RateGST AmountGross AmountTDS RateTDS AmountNET Amount
    \n {/* */}\n \n {/* */}\n {index + 1}{anObjectMapped.leaseName}{anObjectMapped.assetName}{anObjectMapped.subAssetName}{anObjectMapped.tower}{anObjectMapped.floor}{anObjectMapped.unit}{anObjectMapped.grossLeasebleArea}{anObjectMapped.brandName}{anObjectMapped.occupierName}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.mg_rate}{anObjectMapped.invoice_number}{anObjectMapped.net_charge_amount}{anObjectMapped.gst_rate}{anObjectMapped.gst_amt}{anObjectMapped.gross_amt}{anObjectMapped.tds_rate}{anObjectMapped.tds_amt}\n {anObjectMapped.net_amt}
    \n )}\n
    \n {this.state.formResponseData.length > 0 &&\n this.state.selectedStatus == \"generate\" && (\n
    \n \n
    \n )}\n\n {this.state.formResponseData.length > 0 &&\n this.state.selectedStatus == \"draft\" && (\n
    \n \n \n
    \n )}\n\n {this.state.formResponseData.length > 0 &&\n this.state.selectedStatus == \"approve\" && (\n
    \n \n \n
    \n )}\n
    \n \n {/* */}\n \n \n )}\n \n \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faPrint,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../utils/index\";\nimport { PopupMessage } from \"../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../layout/datatableConstants\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nimport SimpleReactValidator from \"simple-react-validator\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({\n id,\n type,\n name,\n handleClick,\n isChecked,\n attr,\n occupierId,\n netAmt,\n invoiceId,\n}) => {\n return (\n \n );\n};\n\nvar reportFilterForm = Yup.object().shape({\n financialYearOne: Yup.string().required(\"Required\"),\n invoiceFrequency: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n towerId: Yup.string().required(\"Required\"),\n reportType: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n invoiceItemList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n towerId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n financialYearOne: \"\",\n invoiceFrequency: \"\",\n chargeType: \"\",\n reportType: \"\"\n },\n countList: {\n generated: 0,\n draftCount: 0,\n approveCount: 0,\n applyCount: 0,\n cancelCount: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n columns: [],\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.processInvoiceItems(1);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n //this.state.initialValues.financialYearOne = date;\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-debit`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getInvoicesList(self.state.selectedStatus);\n }\n });\n };\n\n getInvoicesList = (status) => {\n var self = this;\n //this.state.initialValues.financialYearOne = this.state.financialYearOne;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n prm += \"&requestType=\" + status;\n var tableCounter,\n counter = 0;\n\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(`${apiUrl.apiUrl.url}/transaction/get-invoice-data?` + prm, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n tableCounter = 0;\n\n self.state.formResponseData = [];\n self.state.invoiceList = data.lists;\n self.state.datatableList = data.lists;\n\n var cols = data.columns;\n\n if (cols.length > 0) {\n cols.push({\n name: \"Action\",\n // selector: \"info\",\n sortable: false,\n width: \"70px\",\n cell: (record) => {\n return (\n
    \n \n \n {\" \"}\n \n \n \n
    \n );\n },\n });\n }\n\n self.state.columns = cols;\n self.tableCounter = Math.round();\n self.state.invoiceItemList = {};\n\n self.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n processInvoiceItems = (status) => {\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/get-invoice-data`,\n data: {\n list: this.state.invoiceList,\n processType: status,\n period: this.state.initialValues.financialYearOne,\n frequency: this.state.initialValues.frequencySelected,\n },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n console.log(\"in else\", response);\n self.state.formResponseData = [];\n self.state.invoiceList = response.data.lists;\n self.state.datatableList = response.data.lists;\n self.tableCounter = Math.round();\n self.state.invoiceItemList = {};\n\n self.setState({});\n }\n });\n };\n\n approveInvoice = () => {\n this.processInvoiceItems(1);\n };\n\n applyInvoice = () => {\n this.processInvoiceItems(2);\n };\n\n cancelInvoice = () => {\n this.processInvoiceItems(3);\n };\n\n rejectInvoice = () => {\n this.processInvoiceItems(0);\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n var invoiceItemList = this.state.invoiceItemList;\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (typeof invoiceListObj[id][[e.target.dataset.attr]] == \"undefined\") {\n invoiceListObj[id][[e.target.dataset.attr]] = {};\n }\n\n console.log(e.target.dataset, \"e.target.dataset.netAmt\");\n\n var uniqueKey =\n id + \"-\" + e.target.dataset.attr + \"-\" + e.target.dataset.occupierid;\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr][e.target.dataset.occupierid] = {\n amt: e.target.dataset.netamt,\n invoiceId: e.target.dataset.invoiceid,\n };\n\n invoiceItemList[uniqueKey] = true;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr][\n e.target.dataset.occupierid\n ];\n delete invoiceItemList[uniqueKey];\n }\n\n this.state.invoiceList = invoiceListObj;\n this.state.invoiceItemList = invoiceItemList;\n\n console.log(this.state.invoiceList, \"final list\", invoiceItemList);\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n sendInvoiceList = () => {\n //console.log(\"send list\", this.state.invoiceList);\n var data = JSON.stringify(this.state.invoiceList);\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/send-invoice`,\n data: { list: data },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true, popupContent: response.data.msg });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.getInvoicesList(self.state.selectedStatus);\n self.setState({});\n });\n }\n });\n };\n\n generateInvoice = () => {\n console.log(this.state.invoiceList, \"ohh \");\n var self = this;\n\n if (JSON.stringify(this.state.invoiceItemList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-invoice`,\n data: {\n list: this.state.invoiceList,\n companyId: this.state.initialValues.companyId,\n period: this.state.initialValues.financialYearOne,\n frequency: this.state.initialValues.frequencySelected,\n chargeType: this.state.initialValues.chargeTypeSelected,\n },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.getInvoicesList(self.state.selectedStatus);\n self.setState({});\n });\n }\n });\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"invoice_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.processInvoiceItems(this.state.selectedStatus);\n });\n };\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"invoice_id\"];\n let pId = items[\"invoice_id\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n <>\n
    \n
    \n
      \n
    • Transactions
    • \n
    • \n
    • Print & Send Invoices
    • \n
    • \n
    • \n Print Invoice\n
    • \n
    \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n this.setState({ selectedStatus: \"generate\" });\n this.getInvoicesList(\"generate\");\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.setState({});\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Tower\", this.state.initialValues.towerId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Charge type\", this.state.initialValues.chargeType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n this.setState({ financialYearOne: date })}\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.validator.message(\"Month\", this.state.financialYearOne, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.frequencySelected = e.value;\n this.state.initialValues.invoiceFrequency = e.value;\n this.setState({});\n }}\n value={this.state.frequencySelected}\n options={[\"Monthly\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Invoice frequency\", this.state.initialValues.invoiceFrequency, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.reportType = e.value;\n this.setState({});\n }}\n value={this.state.frequencySelected}\n options={[\"Invoice\", \"Credit Note\", \"Debit Note\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Report type\", this.state.initialValues.reportType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n\n \n\n {this.state.showStatusOption > 0 && (\n
    \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType, fileUploadPath } from \"../utils/index\";\nimport { PopupMessage } from \"../utils/utils\";\nimport Popup from \"reactjs-popup\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr, occupierId, netAmt, invoiceId }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n financialYearOne: Yup.string().required(\"Required\"),\n invoiceFrequency: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n towerId: Yup.string().required(\"Required\"),\n companyId: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n 'companyPan': ''\n },\n formResponseData: [],\n invoiceList: {},\n invoiceItemList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\", towerId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n financialYearOne: \"\",\n invoiceFrequency: \"\",\n chargeType: \"\"\n },\n countList: {\n 'generated': 0, 'draftCount': 0, 'approveCount': 0, 'applyCount': 0, 'cancelCount': 0\n }\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n console.log(this.props, \"this proopsss\");\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n //this.state.initialValues.financialYearOne = date;\n };\n\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n }\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n }\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n }\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: 'Please Select Item to proceed.'\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-debit`,\n data: { 'list': this.state.invoiceList, 'processType': status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data); \n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({})\n })\n\n self.getInvoicesList(self.state.selectedStatus);\n\n }\n });\n }\n\n getInvoicesList = (status) => {\n var self = this;\n //this.state.initialValues.financialYearOne = this.state.financialYearOne;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n prm += \"&requestType=\" + status;\n var tableCounter, counter = 0;\n console.log(this.state.initialValues, \"this.state.initialValues\");\n\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-data?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n invoiceOtherData: data.otherDetails,\n countList: data.count\n });\n\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n processInvoiceItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceItemList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: 'Please Select Item to proceed.'\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: { 'list': this.state.invoiceList, 'processType': status, 'period': this.state.initialValues.financialYearOne, 'frequency': this.state.initialValues.frequencySelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.state.invoiceItemList = {};\n self.setState({});\n self.getInvoicesList(self.state.selectedStatus);\n })\n }\n });\n }\n\n approveInvoice = () => {\n this.processInvoiceItems(1);\n }\n\n applyInvoice = () => {\n this.processInvoiceItems(2);\n }\n\n cancelInvoice = () => {\n this.processInvoiceItems(3);\n }\n\n rejectInvoice = () => {\n this.processInvoiceItems(0);\n }\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n var invoiceItemList = this.state.invoiceItemList;\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (typeof invoiceListObj[id][[e.target.dataset.attr]] == \"undefined\") {\n invoiceListObj[id][[e.target.dataset.attr]] = {};\n }\n\n console.log(e.target.dataset, \"e.target.dataset.netAmt\");\n\n var uniqueKey = id + \"-\" + e.target.dataset.attr + \"-\" + e.target.dataset.occupierid;\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr][e.target.dataset.occupierid] = { 'amt': e.target.dataset.netamt, 'invoiceId': e.target.dataset.invoiceid };\n\n invoiceItemList[uniqueKey] = true;\n\n } else {\n delete invoiceListObj[id][e.target.dataset.attr][e.target.dataset.occupierid];\n delete invoiceItemList[uniqueKey];\n }\n\n this.state.invoiceList = invoiceListObj;\n this.state.invoiceItemList = invoiceItemList;\n\n console.log(this.state.invoiceList, \"final list\", invoiceItemList);\n\n this.setState({});\n\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: '',\n });\n };\n\n generateInvoice = () => {\n console.log(this.state.invoiceList, \"ohh \");\n var self = this;\n\n if (JSON.stringify(this.state.invoiceItemList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: 'Please Select Item to proceed.'\n });\n return false;\n }\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-invoice`,\n data: { 'list': this.state.invoiceList, 'companyId': this.state.initialValues.companyId, 'period': this.state.initialValues.financialYearOne, 'frequency': this.state.initialValues.frequencySelected, 'chargeType': this.state.initialValues.chargeTypeSelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n\n } else {\n\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.getInvoicesList(self.state.selectedStatus);\n self.setState({})\n })\n }\n });\n\n }\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = isSelected => {\n Object.keys(this.state.formResponseData).forEach(checkbox => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState(prevState => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected\n }\n }));\n\n this.state.formResponseData[checkbox][this.state.formResponseData[checkbox]['lease_id']] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n this.setState({ selectedStatus: \"generate\" });\n this.getInvoicesList(\"generate\")\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {/* \n */}\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n }}\n //value={this.state.brandSelected}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n //\"Utility\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n {/*
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n\n {/* this.setState({ financialYearTwo: date })} \n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n /> */}\n
    \n
    \n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.state.initialValues.frequencySelected = e.value;\n this.state.initialValues.invoiceFrequency = e.value;\n this.setState({})\n //this.valueFrequencyChange(e, \"change_asset_name\");\n }}\n value={this.state.frequencySelected}\n //value={this.state.chargeTypeSelected}\n options={[\n \"Monthly\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n
    \n {\n this.setState({\n selectedStatus: 'generate',\n randomNum: Math.random()\n })\n\n this.getInvoicesList('generate');\n }}\n >\n
    \n
    \n
    \n \n\n \n
    \n
    \n\n
    \n
    \n

    Generated Invoices ({this.state.countList.generated})

    \n
    \n
    \n
    \n
    \n\n {\n this.setState({\n selectedStatus: \"draft\",\n randomNum: Math.random()\n })\n\n this.getInvoicesList('draft');\n }}\n >\n
    \n
    \n
    \n \n\n \n
    \n
    \n\n
    \n
    \n

    Draft Invoices ({this.state.countList.draftCount})

    \n
    \n
    \n
    \n
    \n {\n this.setState({\n selectedStatus: \"approve\",\n randomNum: Math.random()\n })\n this.getInvoicesList('approve');\n }}\n >\n
    \n
    \n
    \n \n\n \n
    \n
    \n\n
    \n
    \n

    Approved Invoices ({this.state.countList.approveCount})

    \n
    \n
    \n
    \n
    \n\n {\n this.setState({\n selectedStatus: \"apply\",\n randomNum: Math.random()\n })\n\n this.getInvoicesList('apply');\n }}\n >\n
    \n
    \n
    \n \n\n \n
    \n
    \n\n
    \n
    \n

    Applied Invoices ({this.state.countList.applyCount})

    \n
    \n
    \n
    \n \n\n {\n this.setState({\n selectedStatus: \"cancel\",\n randomNum: Math.random()\n })\n this.getInvoicesList('cancel');\n\n }}\n >\n
    \n
    \n
    \n \n\n \n
    \n
    \n\n
    \n
    \n

    Cancelled Invoices ({this.state.countList.cancelCount})

    \n
    \n
    \n
    \n \n\n \n \n\n {\n console.log(nextValues, \"asdasdasd\");\n }}\n onReset={(values, actions) => {\n this.setState({\n //formResponseData: data,\n formResponseData: this.state.formResponseData,\n });\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n values[\"leaseId\"] = this.state.invoiceOtherData.leaseId;\n values[\"month\"] = this.state.invoiceOtherData.date;\n\n if (\n this.state.totalInvoiceAmount !=\n this.state.invoiceOtherData.total_amt.net_charge_amount\n ) {\n // alert(\"please settle invoice amount\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'please settle invoice amount',\n });\n return false;\n } else {\n this.uploader.uploadFile();\n values.filename =\n fileUploadPath() +\n this.state.invoiceOtherData.leaseId +\n \"/\" +\n this.state.fileName;\n values.chargeTypeSelected =\n this.state.initialValues.chargeTypeSelected;\n this.setState({ submitFormData: values });\n\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n {this.state.tableTOShow == \"RENT\" &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n {(this.state.selectedStatus != \"cancel\" && this.state.selectedStatus != \"apply\") &&\n \n }\n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n {(this.state.selectedStatus != \"cancel\" && this.state.selectedStatus != \"apply\") &&\n \n }\n \n );\n }\n )}\n\n \n
    Sr. No.Lease IdAsset NameSub Asset NameTowerFloorUnit No.GLABrand NameOccupier NameInvoice PeriodCharge LogicCharge RateInvoice NumberCharge Base AmountGST RateGST AmountGross AmountTDS RateTDS AmountNET AmountSelect
    {index + 1}{anObjectMapped.leaseName}{anObjectMapped.assetName}{anObjectMapped.subAssetName}{anObjectMapped.tower}{anObjectMapped.floor}{anObjectMapped.unit}{anObjectMapped.grossLeasebleArea}{anObjectMapped.brandName}{anObjectMapped.occupierName}{anObjectMapped.month}{anObjectMapped.typeOfData}{anObjectMapped.mg_rate}{`${anObjectMapped.invoice_number}`}{anObjectMapped.net_charge_amount}{anObjectMapped.gst_rate}{anObjectMapped.gst_amt}{anObjectMapped.gross_amt}{anObjectMapped.tds_rate}{anObjectMapped.tds_amt}{anObjectMapped.net_amt}\n {/* */}\n \n {/* */}\n
    \n }\n {this.state.formResponseData.length > 0 && this.state.selectedStatus == \"generate\" &&\n
    \n \n
    \n }\n\n {this.state.formResponseData.length > 0 && this.state.selectedStatus == \"draft\" &&\n
    \n \n \n
    \n }\n\n {this.state.formResponseData.length > 0 && this.state.selectedStatus == \"approve\" &&\n
    \n \n \n
    \n }\n\n\n\n\n\n
    \n
    \n
    \n\n
    \n )}\n \n\n\n\n \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType, fileUploadPath } from \"../utils/index\";\nimport { PopupMessage } from \"../utils/utils\";\nimport Popup from \"reactjs-popup\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n 'companyPan': ''\n },\n formResponseData: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\"\n\n }\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n console.log(this.props, \"this proopsss\");\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n }\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n }\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n }\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: '',\n });\n };\n\n approveInvoice = () => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: 'Please Select Item to proceed.'\n });\n return false;\n }\n\n\n\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: { 'list': this.state.invoiceList, 'processType': 1, 'period': this.state.initialValues.financialYearOne, 'frequency': this.state.initialValues.frequencySelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.setState({})\n })\n }\n });\n }\n\n\n rejectInvoice = () => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: 'Please Select Item to proceed.'\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: { 'list': this.state.invoiceList, 'processType': 0, 'period': this.state.initialValues.financialYearOne, 'frequency': this.state.initialValues.frequencySelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: 'Data Saved Successfully'\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.setState({})\n })\n }\n });\n }\n\n\n\n selectAll = () => this.selectAllCheckboxes(true);\n selectAllCheckboxes = isSelected => {\n Object.keys(this.state.formResponseData).forEach(checkbox => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState(prevState => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected\n }\n }));\n\n this.state.formResponseData[checkbox][this.state.formResponseData[checkbox]['lease_id']] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n //this.state.initialValues.financialYearOne = this.state.financialYearOne;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n\n prm += \"&requestType=approve\";\n\n var tableCounter, counter = 0;\n console.log(this.state.initialValues, \"this.state.initialValues\");\n\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-data?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n console.log(data, \"data\");\n\n // var tableHeading = \"\";\n // if(\"Marketing Fund Tax\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"MF\";\n // }else if(\"Property Tax\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"P TAX\";\n // }else if(\"Parking 2W\" == this.state.initialValues.chargeTypeSelected || \"Parking 4W\" == this.state.initialValues.chargeTypeSelected || \"Parking Other\" == this.state.initialValues.chargeTypeSelected ) {\n // tableHeading = \"Utility\";\n // }else if(\"Storage\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"Charge\";\n // }\n\n\n\n\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n invoiceOtherData: data.otherDetails,\n });\n\n\n\n // this.setState({\n // currentDocument: data.otherDetails.document_url,\n // });\n\n // this.setState({\n // totalInvoiceAmount: data.otherDetails.total_amt.invoiceAmount,\n // });\n // this.setState({ fileName: data.otherDetails.fileName });\n // this.setState({ counter: counter });\n // this.setState({\n // exportUrl:\n // `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n // prm,\n // });\n })\n .catch((error) => {\n console.log(error);\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {/* \n */}\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n }}\n //value={this.state.brandSelected}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n\n\n
    \n\n\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n //\"Utility\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n {/*
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n\n {/* this.setState({ financialYearTwo: date })} \n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n /> */}\n
    \n
    \n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.state.initialValues.frequencySelected = e.value;\n this.setState({})\n //this.valueFrequencyChange(e, \"change_asset_name\");\n }}\n value={this.state.frequencySelected}\n //value={this.state.chargeTypeSelected}\n options={[\n \"Monthly\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n {\n console.log(nextValues, \"asdasdasd\");\n }}\n onReset={(values, actions) => {\n this.setState({\n //formResponseData: data,\n formResponseData: this.state.formResponseData,\n });\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n values[\"leaseId\"] = this.state.invoiceOtherData.leaseId;\n values[\"month\"] = this.state.invoiceOtherData.date;\n\n if (\n this.state.totalInvoiceAmount !=\n this.state.invoiceOtherData.total_amt.net_charge_amount\n ) {\n // alert(\"please settle invoice amount\");\n this.setState({\n popupalertMessage: true,\n popupMessageContent: 'please settle invoice amount',\n });\n return false;\n } else {\n this.uploader.uploadFile();\n values.filename =\n fileUploadPath() +\n this.state.invoiceOtherData.leaseId +\n \"/\" +\n this.state.fileName;\n values.chargeTypeSelected =\n this.state.initialValues.chargeTypeSelected;\n this.setState({ submitFormData: values });\n\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n {this.state.tableTOShow == \"RENT\" &&\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n\n \n
    Sr. No.Lease IdAsset NameSub Asset NameTowerFloorUnit No.GLABrand NameOccupier NameInvoice PeriodCharge LogicCharge RateInvoice NumberCharge Base AmountGST RateGST AmountGross AmountTDS RateTDS AmountNET AmountSelect
    {index + 1}{anObjectMapped.leaseName}{anObjectMapped.assetName}{anObjectMapped.subAssetName}{anObjectMapped.tower}{anObjectMapped.floor}{anObjectMapped.unit}{anObjectMapped.grossLeasebleArea}{anObjectMapped.brandName}{anObjectMapped.occupierName}{anObjectMapped.month}{anObjectMapped.type}{anObjectMapped.mg_rate}{`TEMP/${anObjectMapped.lease_id}`}{anObjectMapped.net_charge_amount}{anObjectMapped.gst_rate}{anObjectMapped.gst_amt}{anObjectMapped.net_charge_amount + anObjectMapped.gst_amt}{anObjectMapped.tds_rate}{anObjectMapped.tds_amt}{anObjectMapped.net_charge_amount + anObjectMapped.gst_amt - anObjectMapped.tds_amt}\n {/* */}\n \n {/* */}\n
    \n }\n {this.state.formResponseData.length > 0 &&\n
    \n \n \n
    \n }\n\n\n\n\n\n
    \n
    \n
    \n\n
    \n )}\n \n\n\n
    \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport {\n faChevronRight,\n faEye,\n faPen,\n faPlus,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType, fileUploadPath } from \"../utils/index\";\nimport { PopupMessage } from \"../utils/utils\";\nimport Popup from \"reactjs-popup\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeaseExpiryReport extends React.Component {\n groupId = { value: \"\" };\n state = {\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails : {\n 'companyPan' : ''\n },\n formResponseData: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType:\"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName:\"\",\n cityId:\"\",\n occupierName:\"\",\n occupierId: \"\",\n companyPan : \"\"\n\n }\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() {}\n\n constructor(props) {\n super(props);\n console.log(this.props, \"this proopsss\");\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n valueFrequencyChange = (newValue, actionMeta) => { \n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n }\n valueChangeChargeType = (newValue, actionMeta) => { \n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n }\n\n valueChangeCompany = (newValue, actionMeta) => { \n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data,\"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n }\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n \n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n \n fetch(`${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked , e.target.dataset, \"str\", e, \"==\"); \n var invoiceListObj = this.state.invoiceList;\n \n if(typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if(checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n }else{\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup:false,\n popupMessageContent:'',\n });\n };\n \n approveInvoice = () => {\n var self = this;\n if(JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({ messsagePopup: true,\n popupContent:'Please Select Item to proceed.' });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: { 'list' : this.state.invoiceList, 'processType' : 2 , 'period' : this.state.initialValues.financialYearOne, 'frequency' : this.state.initialValues.frequencySelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true,\n popupContent:'Data Saved Successfully' });\n setTimeout(function() {\n self.state.formResponseData = [];\n self.setState({})\n })\n }\n });\n }\n\n\n rejectInvoice = () => {\n var self = this;\n if(JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({ messsagePopup: true,\n popupContent:'Please Select Item to proceed.' });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/process-invoice`,\n data: { 'list' : this.state.invoiceList, 'processType' : 3, 'period' : this.state.initialValues.financialYearOne, 'frequency' : this.state.initialValues.frequencySelected },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({ messsagePopup: true,\n popupContent:'Data Saved Successfully' });\n setTimeout(function() {\n self.state.formResponseData = [];\n self.setState({})\n })\n }\n });\n }\n\n\n\n selectAll = () => this.selectAllCheckboxes(true);\n selectAllCheckboxes = isSelected => {\n Object.keys(this.state.formResponseData).forEach(checkbox => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState(prevState => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected\n }\n }));\n \n this.state.formResponseData[checkbox][this.state.formResponseData[checkbox]['lease_id']] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n //this.state.initialValues.financialYearOne = this.state.financialYearOne;\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n\n prm += \"&requestType=apply\";\n\n var tableCounter ,counter = 0;\n console.log(this.state.initialValues,\"this.state.initialValues\");\n \n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n fetch(\n `${apiUrl.apiUrl.url}/sales-input/fetch-invoice-data?` + prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //this.setState({ });\n console.log(data,\"data\");\n\n // var tableHeading = \"\";\n // if(\"Marketing Fund Tax\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"MF\";\n // }else if(\"Property Tax\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"P TAX\";\n // }else if(\"Parking 2W\" == this.state.initialValues.chargeTypeSelected || \"Parking 4W\" == this.state.initialValues.chargeTypeSelected || \"Parking Other\" == this.state.initialValues.chargeTypeSelected ) {\n // tableHeading = \"Utility\";\n // }else if(\"Storage\" == this.state.initialValues.chargeTypeSelected) {\n // tableHeading = \"Charge\";\n // }\n\n\n\n\n tableCounter = 0;\n this.setState({\n formResponseData: data.data,\n invoiceOtherData: data.otherDetails,\n });\n\n\n\n // this.setState({\n // currentDocument: data.otherDetails.document_url,\n // });\n\n // this.setState({\n // totalInvoiceAmount: data.otherDetails.total_amt.invoiceAmount,\n // });\n // this.setState({ fileName: data.otherDetails.fileName });\n // this.setState({ counter: counter });\n // this.setState({\n // exportUrl:\n // `${apiUrl.apiUrl.url}/sales-input/fetch-revenue-details?export=true&` +\n // prm,\n // });\n })\n .catch((error) => {\n console.log(error);\n });\n }} \n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n // value={this.state.brandSelected}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {/* \n */}\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n }}\n //value={this.state.brandSelected}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n \n\n
    \n\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"CAM\",\n \"RENT\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n //\"Utility\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n {/*
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n\n {/* this.setState({ financialYearTwo: date })} \n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n /> */}\n
    \n
    \n \n
    \n
    \n
    \n
    \n \n\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.state.initialValues.frequencySelected = e.value;\n this.setState({})\n //this.valueFrequencyChange(e, \"change_asset_name\");\n }}\n value={this.state.frequencySelected}\n //value={this.state.chargeTypeSelected}\n options={[\n \"Monthly\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n {\n console.log(nextValues, \"asdasdasd\");\n }}\n onReset={(values, actions) => {\n this.setState({\n //formResponseData: data,\n formResponseData: this.state.formResponseData,\n });\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n values[\"leaseId\"] = this.state.invoiceOtherData.leaseId;\n values[\"month\"] = this.state.invoiceOtherData.date;\n\n if (\n this.state.totalInvoiceAmount !=\n this.state.invoiceOtherData.total_amt.net_charge_amount\n ) {\n // alert(\"please settle invoice amount\");\n this.setState({\n popupalertMessage:true,\n popupMessageContent:'please settle invoice amount' ,\n });\n return false;\n } else {\n this.uploader.uploadFile();\n values.filename =\n fileUploadPath() +\n this.state.invoiceOtherData.leaseId +\n \"/\" +\n this.state.fileName;\n values.chargeTypeSelected =\n this.state.initialValues.chargeTypeSelected;\n this.setState({ submitFormData: values });\n\n this.state.brandSelected = [];\n this.state.leaseSelected = [];\n this.state.securityDepositIds = [];\n\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.setState({});\n }\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n handleReset,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n {this.state.tableTOShow == \"RENT\" && \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.formResponseData.length > 0 &&\n this.state.formResponseData.map(\n (anObjectMapped, index) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n )}\n \n \n
    Sr. No.Lease IdAsset NameSub Asset NameTowerFloorUnit No.GLABrand NameOccupier NameInvoice PeriodCharge LogicCharge RateInvoice NumberCharge Base AmountGST RateGST AmountGross AmountTDS RateTDS AmountNET AmountSelect
    {index + 1}{anObjectMapped.leaseName}{anObjectMapped.assetName}{anObjectMapped.subAssetName}{anObjectMapped.tower}{anObjectMapped.floor}{anObjectMapped.unit}{anObjectMapped.grossLeasebleArea}{anObjectMapped.brandName}{anObjectMapped.occupierName}{anObjectMapped.month}{anObjectMapped.type}{anObjectMapped.mg_rate}{`TEMP/${anObjectMapped.lease_id}`}{anObjectMapped.net_charge_amount}{anObjectMapped.gst_rate}{anObjectMapped.gst_amt}{anObjectMapped.net_charge_amount+anObjectMapped.gst_amt}{anObjectMapped.tds_rate}{anObjectMapped.tds_amt}{anObjectMapped.net_charge_amount+anObjectMapped.gst_amt-anObjectMapped.tds_amt}\n {/* */}\n \n {/* */}\n
    \n }\n { this.state.formResponseData.length > 0 && \n
    \n \n \n
    \n }\n \n\n\n\n\n
    \n
    \n
    \n\n
    \n )}\n \n\n\n
    \n );\n }\n}\n\nexport default withRouter(LeaseExpiryReport);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\nconst formValidation = Yup.object().shape({\n occupierId: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n chargeDescription: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n});\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n financialYearOne: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n occupierName: Yup.string().required(\"Required\"),\n chargeDescription: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n companyId: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass DebitComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n initialValues: {\n financialYearOne: \"\",\n chargeType: \"\",\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeDescription: \"\",\n chargeAmount: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/transaction/get-debit-list?status=0`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //console.log(data,\"data\");\n this.setState({\n formResponseData: data.lists,\n notesCount: data.status,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n this.getDebitList(0);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n\n this.setState({});\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getDebitList = (status) => {\n let pgNo = this.state.pageNo;\n let perPage = this.state.perPage;\n //console.log('Page No:'+this.state.pageNo);\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-debit-list?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n //console.log(data,\"data\");\n this.setState({\n formResponseData: cdata.lists,\n notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n showStatusOption: false,\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n //console.log(data,\"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // console.log(newValue, \"ddd\");\n //console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n //console.log(\"okok\", id, checked , e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-debit`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getDebitList(self.state.selectedStatus);\n }\n });\n };\n\n approveDebit = () => {\n this.processDebitItems(1);\n };\n\n applyDebit = () => {\n this.processDebitItems(2);\n };\n\n cancelDebit = () => {\n this.processDebitItems(3);\n };\n\n rejectDebit = () => {\n this.processDebitItems(0);\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"lease_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.getDebitList(this.state.selectedStatus);\n });\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n {\n name: 'HSN/SAC Code',\n selector: (row) => row.hsnCode\n },\n {\n name: \"Debit Number\",\n selector: (row) => row.debitNumber,\n sortable: true,\n wrap: true,\n },\n {\n name: \"Charge Period\",\n selector: (row) => row.debitPeriod,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n },\n {\n name: \"Charge Base Amount\",\n selector: (row) => row.chargeAmount,\n },\n {\n name: \"GST Rate\",\n selector: (row) => row.gst_rate,\n },\n {\n name: \"GST Amount\",\n selector: (row) => row.gross_amt,\n },\n {\n name: \"TDS Rate\",\n selector: (row) => row.tds_rate,\n },\n {\n name: \"TDS Amount\",\n selector: (row) => row.tds_amt,\n },\n {\n name: \"Net Amount\",\n selector: (row) => row.net_amt,\n },\n ];\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"lease_id\"];\n let pId = items[\"debitId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n\n\n var self = this;\n\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n\n\n console.log(values, \"values\");\n values.financialYearOne = this.state.initialValues.financialYearOne;\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-debit`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n setTimeout(function () {\n self.setState({});\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.getDebitList(self.state.selectedStatus);\n self.state.chargeTypeSelected = \"\";\n self.state.financialYearOne = \"\";\n self.state.initialValues = {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeAmount: \"\",\n chargeDescription: \"\",\n };\n\n setTimeout(function () {\n self.setState({});\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Leases\",\n this.state.initialValues.leaseId,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Company Name\",\n this.state.initialValues.companyName,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n // value={{\n // label: this.state.initialValues.chargeType,\n // value: this.state.initialValues.chargeType,\n // }}\n name=\"chargeType\"\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n //\"Utility\"\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.applicableValidator.message(\n \"Charge Type\",\n this.state.initialValues.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.hsn_sac = e.target.value;\n this.setState({});\n }}\n value={this.state.initialValues.hsn_sac}\n >\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.hsn_sac,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.chargeAmount = e.target.value;\n this.setState({});\n }} />\n {this.applicableValidator.message(\n \"\",\n this.state.initialValues.chargeAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.chargeDescription = e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"Charge Description\",\n this.state.initialValues.chargeDescription,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n
    \n
    \n \n \n
    \n\n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n {\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(0);\n }}\n >\n
    \n Draft Debit Note (\n {this.state.notesCount[0] ? this.state.notesCount[0] : 0}\n )\n
    \n
    \n\n {\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(1);\n }}\n >\n
    \n Approved Debit Note (\n {this.state.notesCount[1] ? this.state.notesCount[1] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(2);\n }}\n >\n
    \n Applied Debit Note (\n {this.state.notesCount[2] ? this.state.notesCount[2] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(3);\n }}\n >\n
    \n Cancelled Debit Note (\n {this.state.notesCount[3] ? this.state.notesCount[3] : 0})\n
    \n \n \n\n \n
    \n {this.state.showStatusOption > 0 && this.state.selectedStatus == 0 && (\n
    \n
    \n \n \n
    \n
    \n )}\n\n {this.state.showStatusOption > 0 && this.state.selectedStatus == 1 && (\n
    \n
    \n \n \n
    \n
    \n )}\n
    \n \n\n );\n }\n}\n\nexport default withRouter(DebitComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n financialYearOne: Yup.string().required(\"Required\"),\n chargeType: Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n occupierName: Yup.string().required(\"Required\"),\n chargeDescription: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CreditComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chargeType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeDescription: \"\",\n chargeAmount: \"\",\n financialYearOne: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n // fetch(`${apiUrl.apiUrl.url}/transaction/get-credit-list?status=0`, { headers })\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // //console.log(data,\"data\");\n // this.setState({\n // formResponseData: data.lists,\n // notesCount: data.status,\n // datatableList: data.lists\n // });\n\n // //setdatatableData(data.lists);\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n\n this.getAssetsList(\"\", \"\", true);\n\n this.getDebitList(0);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.applicableValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getDebitList = (status, page) => {\n let pgNo = page ? page : 1;\n let perPage = this.state.perPage;\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-credit-list?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n console.log(cdata.total);\n this.setState({\n formResponseData: cdata.lists,\n notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n showStatusOption: false,\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n valueChangeChargeType = (newValue, actionMeta) => {\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/landlord/get-company?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"ata\");\n this.setState({\n companyDetails: data.data,\n });\n this.state.initialValues.companyPan = data.data.companyPan;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-credit`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.tableCounter = Math.random();\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getDebitList(self.state.selectedStatus, 1);\n }\n });\n };\n\n approveDebit = () => {\n this.processDebitItems(1);\n };\n\n applyDebit = () => {\n this.processDebitItems(2);\n };\n\n cancelDebit = () => {\n this.processDebitItems(3);\n };\n\n rejectDebit = () => {\n this.processDebitItems(0);\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"lease_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n console.log(\"Page: \" + page);\n this.getDebitList(this.state.selectedStatus, page);\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n\n {\n name: 'HSN/SAC Code',\n selector: (row) => row.hsnCode\n },\n {\n name: \"Credit Number\",\n selector: (row) => row.debitNumber,\n wrap: true,\n sortable: true,\n },\n {\n name: \"Charge Period\",\n selector: (row) => row.debitPeriod,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n },\n {\n name: \"Charge Base Amount\",\n selector: (row) => row.chargeAmount,\n wrap: true,\n },\n {\n name: \"GST Rate\",\n selector: (row) => row.gst_rate,\n },\n {\n name: \"GST Amount\",\n selector: (row) => row.gross_amt,\n },\n {\n name: \"TDS Rate\",\n selector: (row) => row.tds_rate,\n },\n {\n name: \"TDS Amount\",\n selector: (row) => row.tds_amt,\n },\n {\n name: \"Net Amount\",\n selector: (row) => row.net_amt,\n },\n ];\n\n const handleRowSelected = (state) => {\n //setSelectedRows(state.selectedRows);\n console.log(state.selectedRows);\n //console.log(state.selectedRows[0]->)\n //this.state.selectedRows=state.selectedRows;\n //this.setState({});\n //console.log(this.state.selectedRows);\n\n console.log(state.selectedRows.length);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n console.log(items[\"debitId\"] + \"...\" + items[\"lease_id\"]);\n let leaseId = items[\"lease_id\"];\n let pId = items[\"debitId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n\n console.log(this.state.invoiceList);\n console.log(this.state.invoiceList.length);\n };\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.applicableValidator.allValid()) {\n this.applicableValidator.showMessages();\n return false;\n }\n\n console.log(values, \"values\");\n values.financialYearOne = this.state.initialValues.financialYearOne;\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-credit`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n setTimeout(function () {\n self.setState({});\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.getDebitList(self.state.selectedStatus);\n self.state.chargeTypeSelected = \"\";\n self.state.financialYearOne = \"\";\n self.state.initialValues = {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeAmount: \"\",\n chargeDescription: \"\",\n };\n\n setTimeout(function () {\n self.setState({});\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Leases\",\n this.state.initialValues.leaseId,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.applicableValidator.message(\n \"Company Name\",\n this.state.initialValues.companyName,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeType}\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.applicableValidator.message(\n \"Charge Type\",\n this.state.initialValues.chargeTypeSelected,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.hsn_sac = e.target.value;\n this.setState({});\n }}\n value={this.state.initialValues.hsn_sac}\n />\n {this.applicableValidator.message(\n \"HSN/SAC No.\",\n this.state.initialValues.hsn_sac,\n \"required\",\n { className: \"text-danger\" }\n )}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.chargeAmount = e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"Charge Amount\",\n this.state.initialValues.chargeAmount,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.chargeDescription = e.target.value;\n this.setState({});\n }}\n />\n {this.applicableValidator.message(\n \"Charge Description\",\n this.state.initialValues.chargeDescription,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.applicableValidator.message(\n \"\",\n this.state.financialYearOne,\n \"required\",\n { className: \"text-danger\" }\n )}\n \n
    \n
    \n\n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n {\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(0, 1);\n }}\n >\n
    \n Draft Credit Note {\"\"}\n ({this.state.notesCount[0] ? this.state.notesCount[0] : 0})\n
    \n
    \n\n {\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(1, 1);\n }}\n >\n
    \n Approved Credit Note {\"\"}\n ({this.state.notesCount[1] ? this.state.notesCount[1] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(2, 1);\n }}\n >\n
    \n Applied Credit Note {\"\"}\n ({this.state.notesCount[2] ? this.state.notesCount[2] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(3, 1);\n }}\n >\n
    \n Cancelled Credit Note {\"\"}\n ({this.state.notesCount[3] ? this.state.notesCount[3] : 0})\n
    \n \n \n\n \n {this.state.showStatusOption && this.state.selectedStatus == 0 && (\n
    \n \n \n
    \n )}\n\n {this.state.showStatusOption && this.state.selectedStatus == 1 && (\n
    \n \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(CreditComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n chargeType: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n //receiptModeSelected: Yup.string().required(\"Required\"),\n //receiptMode: Yup.string().required(\"Required\"),\n paymentInstrumentNo: Yup.string().required(\"Required\"),\n applyOpenInvoiceSelected: Yup.string().required(\"Required\"),\n //applyOpenInvoice:Yup.string().required(\"Required\"),\n //openInvoiceNumberSelected:Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n financialInstitutionName: Yup.string().required(\"Required\"),\n branchName: Yup.string().required(\"Required\"),\n invoiceDescription: Yup.string().required(\"Required\"),\n //financialYearOne: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass GeneralComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n disableInvoiceField: true,\n disableAdjustmentField: true,\n formResponseData: [],\n activeInvoiceList: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chargeType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n financialYearOne: \"\",\n chargeAmount: \"\",\n financialYearOne: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/transaction/get-active-invoices`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data....\");\n this.setState({\n activeInvoiceList: data,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n // fetch(`${apiUrl.apiUrl.url}/transaction/get-credit-list?status=0`, { headers })\n // \t.then((response) => {\n // \t\treturn response.json();\n // \t})\n // \t.then((data) => {\n // \t\t//console.log(data,\"data\");\n // \t\tthis.setState({\n // \t\t\tformResponseData: data.lists,\n // \t\t\tnotesCount: data.status\n // \t\t});\n // \t})\n // \t.catch((error) => {\n // \t\tconsole.log(error);\n // \t});\n\n this.getAssetsList(\"\", \"\", true);\n\n this.getDebitList(0);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` +\n this.state.initialValues.groupId +\n `&tower=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getDebitList = (status) => {\n let pgNo = this.state.pageNo;\n let perPage = this.state.perPage;\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-general-receipt-list?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage +\n `&type=general`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n //console.log(data,\"data\"); return false;\n this.setState({\n formResponseData: cdata.lists,\n notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n showStatusOption: false,\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n\n valueChangeChargeType = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n this.setState({});\n };\n\n valueChangeOpenInvoice = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.applyOpenInvoiceSelected = newValue.value;\n this.state.initialValues.applyOpenInvoice = newValue.value;\n\n if (newValue.value === \"Yes\") {\n this.state.disableInvoiceField = false;\n this.state.disableAdjustmentField = true;\n this.state.initialValues.adjustmentLogic = \"\";\n } else {\n this.state.disableAdjustmentField = false;\n this.state.disableInvoiceField = true;\n this.state.initialValues.openInvoiceNumberSelected = \"\"; // openInvoiceNumberSelected = \"\";\n this.state.initialValues.openInvoiceNumberId = \"\";\n }\n\n this.setState({});\n };\n\n valueChangeOpenInvoiceNumber = (newValue, actionMeta) => {\n console.log(newValue, \"valueChangeOpenInvoiceNumber\");\n this.state.initialValues.openInvoiceNumberSelected = newValue.label;\n this.state.initialValues.openInvoiceNumberId = newValue.value;\n this.state.initialValues.openInvoiceAmt = newValue.amt;\n this.setState({});\n };\n\n valueChangeReceiptMode = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.receiptModeSelected = newValue.value;\n this.state.initialValues.receiptMode = newValue.value;\n this.setState({});\n };\n\n valueChangeAdjustmentLogic = (newValue) => {\n console.log(newValue, \"new values\");\n this.state.initialValues.adjustmentLogic = newValue.value;\n this.setState({});\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n //console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // console.log(newValue, \"ddd\");\n // console.log(`action: ${actionMeta}`);\n // console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-general-receipt`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getDebitList(self.state.selectedStatus);\n }\n });\n };\n\n approveDebit = () => {\n this.processDebitItems(1);\n };\n\n applyDebit = () => {\n this.processDebitItems(2);\n };\n\n cancelDebit = () => {\n this.processDebitItems(3);\n };\n\n rejectDebit = () => {\n this.processDebitItems(0);\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"lease_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.getDebitList(this.state.selectedStatus);\n });\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n sortable: true,\n },\n {\n name: \"Receipt Date\",\n selector: (row) => row.transactionDate,\n },\n {\n name: \"Receipt Mode\",\n selector: (row) => row.receiptMode,\n },\n {\n name: \"Payment Instrument No\",\n selector: (row) => row.paymentInstrumentNo,\n wrap: true,\n },\n {\n name: \"Adjusted Open Invoice\",\n selector: (row) => row.open_invoice,\n },\n {\n name: \"Adjusted Invoice Number\",\n wrap: true,\n selector: (row) => row.invoice_number,\n },\n {\n name: \"Receipt Amount\",\n selector: (row) => row.chargeAmount,\n },\n {\n name: \"Receipt Number\",\n selector: (row) => row.transactionNumber,\n wrap: true,\n },\n ];\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"lease_id\"];\n let pId = items[\"transactionId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n\n console.log(values, \"values\");\n values.financialYearOne = this.state.financialYearOne;\n values.applyOpenInvoice = this.state.initialValues.applyOpenInvoice;\n values.openInvoiceNumber =\n this.state.initialValues.openInvoiceNumberId;\n values.receiptMode = this.state.initialValues.receiptMode;\n values.adjustmentLogic = this.state.initialValues.adjustmentLogic;\n values.transaction_type = \"general\";\n\n if (\n this.state.initialValues.applyOpenInvoiceSelected == \"Yes\" &&\n this.state.initialValues.openInvoiceAmt != values.chargeAmount &&\n values.chargeAmount != 0\n ) {\n self.setState({\n messsagePopup: true,\n popupContent:\n \"Receipt Charge Amount must be same as selected invoice amount\t\t\t\t\t\t\t\t\",\n });\n return false;\n }\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-general-receipt`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n setTimeout(function () {\n self.setState({});\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.getDebitList(self.state.selectedStatus);\n self.state.chargeTypeSelected = \"\";\n self.state.financialYearOne = \"\";\n self.state.initialValues = {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeAmount: \"\",\n chargeDescription: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceAmt: 0,\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n adjustmentLogic: \"\",\n };\n\n setTimeout(function () {\n self.setState({});\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Occupier name\", this.state.initialValues.occupierId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Occupier leases\", this.state.initialValues.leaseId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Receipt charge type\", this.state.initialValues.chargeType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.validator.message(\"Receipt date\", this.state.financialYearOne, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Receipt charge amount\", values.chargeAmount, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeReceiptMode(e);\n }}\n value={{\n label: this.state.initialValues.receiptMode,\n value: this.state.initialValues.receiptMode,\n }}\n name=\"receiptMode\"\n options={[\n \"Cheque\",\n \"Cash\",\n \"DD\",\n \"Online Transfer\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Payment instruction no\", values.paymentInstrumentNo, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Financial Institution Name\", values.financialInstitutionName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Branch Name\", values.branchName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeOpenInvoice(e);\n }}\n name=\"applyOpenInvoiceSelected\"\n options={[\"Yes\", \"No\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Apply to Open Invoice\", this.state.initialValues.applyOpenInvoice, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n \n
    \n {\n this.valueChangeOpenInvoiceNumber(e);\n }}\n value={{\n label: this.state.initialValues.openInvoiceNumberSelected,\n value: this.state.initialValues.openInvoiceNumberId,\n }}\n name=\"openInvoiceNumber\"\n options={this.state.activeInvoiceList.map((item) => ({\n label: item.invoice_number,\n value: item.id,\n amt: item.amt,\n }))}\n />\n \n
    \n
    \n
    \n \n
    \n {\n this.valueChangeAdjustmentLogic(e);\n }}\n isDisabled={this.state.disableAdjustmentField}\n value={{\n label: this.state.initialValues.adjustmentLogic,\n value: this.state.initialValues.adjustmentLogic,\n }}\n name=\"adjustmentLogic\"\n options={[\"FIFO Basis\", \"Adhoc\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n
    \n \n
    \n \n {this.validator.message(\"Invoice Description\", values.invoiceDescription, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n {\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(0);\n }}\n >\n
    \n Draft Receipts (\n {this.state.notesCount[0] ? this.state.notesCount[0] : 0})\n
    \n
    \n\n {\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(1);\n }}\n >\n
    \n Approved Receipts (\n {this.state.notesCount[1] ? this.state.notesCount[1] : 0})\n
    \n
    \n\n {\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(2);\n }}\n >\n
    \n Applied Receipts (\n {this.state.notesCount[2] ? this.state.notesCount[2] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(3);\n }}\n >\n
    \n Cancelled Receipts (\n {this.state.notesCount[3] ? this.state.notesCount[3] : 0})\n
    \n \n \n\n \n\n {this.state.showStatusOption > 0 && this.state.selectedStatus == 0 && (\n
    \n \n \n
    \n )}\n\n {this.state.showStatusOption > 0 && this.state.selectedStatus == 1 && (\n
    \n \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(GeneralComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n chargeTypeSelected: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n //receiptMode: Yup.string().required(\"Required\"),\n paymentInstrumentNo: Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n financialInstitutionName: Yup.string().required(\"Required\"),\n branchName: Yup.string().required(\"Required\"),\n invoiceDescription: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CreditComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n formResponseData: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n chargeAmount: \"\",\n financialYearOne: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`)\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n // fetch(`${apiUrl.apiUrl.url}/transaction/get-credit-list?status=0`, { headers })\n // \t.then((response) => {\n // \t\treturn response.json();\n // \t})\n // \t.then((data) => {\n // \t\t//console.log(data,\"data\");\n // \t\tthis.setState({\n // \t\t\tformResponseData: data.lists,\n // \t\t\tnotesCount: data.status\n // \t\t});\n // \t})\n // \t.catch((error) => {\n // \t\tconsole.log(error);\n // \t});\n\n this.getAssetsList(\"\", \"\", true);\n\n this.getDebitList(0);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` +\n this.state.initialValues.groupId +\n `&tower=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getDebitList = (status) => {\n let pgNo = this.state.pageNo;\n let perPage = this.state.perPage;\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-general-receipt-list?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage +\n `&type=deposit`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n //console.log(data,\"data\"); return false;\n this.setState({\n formResponseData: cdata.lists,\n notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n showStatusOption: false,\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n\n valueChangeChargeType = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n this.setState({});\n };\n\n valueChangeReceiptMode = (newValue, actionMeta) => {\n console.log(newValue, \"change receipt mode\");\n this.state.initialValues.receiptModeSelected = newValue.value;\n this.state.initialValues.receiptMode = newValue.value;\n //this.state.receiptModeSelected = newValue.value;\n this.setState({});\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n //console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // console.log(newValue, \"ddd\");\n // console.log(`action: ${actionMeta}`);\n // console.groupEnd();\n };\n\n // handleSelectAll = e => {\n // setIsCheckAll(!isCheckAll);\n // setIsCheck(list.map(li => li.id));\n // if (isCheckAll) {\n // setIsCheck([]);\n // }\n // };\n\n handleClick = (e) => {\n const { id, checked } = e.target;\n console.log(\"okok\", id, checked, e.target.dataset, \"str\", e, \"==\");\n var invoiceListObj = this.state.invoiceList;\n\n if (typeof invoiceListObj[id] == \"undefined\") {\n invoiceListObj[id] = {};\n }\n\n if (checked) {\n invoiceListObj[id][e.target.dataset.attr] = checked;\n } else {\n delete invoiceListObj[id][e.target.dataset.attr];\n }\n\n this.state.invoiceList = invoiceListObj;\n\n this.setState({});\n\n // this.setIsCheck([...isCheck, id]);\n // if (!checked) {\n // this.setIsCheck(isCheck.filter(item => item !== id));\n // }\n };\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n processDebitItems = (status) => {\n var self = this;\n if (JSON.stringify(this.state.invoiceList) === JSON.stringify({})) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Please Select Item to proceed.\",\n });\n return false;\n }\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/approve-general-receipt`,\n data: { list: this.state.invoiceList, processType: status },\n }).then(function (response) {\n if (!response.data.success) {\n //actions.setSubmitting(false);\n //actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n setTimeout(function () {\n self.state.formResponseData = [];\n self.state.invoiceList = {};\n self.setState({});\n });\n\n self.getDebitList(self.state.selectedStatus);\n }\n });\n };\n\n approveDebit = () => {\n this.processDebitItems(1);\n };\n\n applyDebit = () => {\n this.processDebitItems(2);\n };\n\n cancelDebit = () => {\n this.processDebitItems(3);\n };\n\n rejectDebit = () => {\n this.processDebitItems(0);\n };\n\n selectAll = () => this.selectAllCheckboxes(true);\n\n selectAllCheckboxes = (isSelected) => {\n Object.keys(this.state.formResponseData).forEach((checkbox) => {\n // BONUS: Can you explain why we pass updater function to setState instead of an object?\n this.setState((prevState) => ({\n checkboxes: {\n ...prevState.checkboxes,\n [checkbox]: isSelected,\n },\n }));\n\n this.state.formResponseData[checkbox][\n this.state.formResponseData[checkbox][\"lease_id\"]\n ] = isSelected;\n });\n this.setState({});\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.getDebitList(this.state.selectedStatus);\n });\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n sortable: true,\n },\n {\n name: \"Receipt Date\",\n selector: (row) => row.transactionDate,\n },\n {\n name: \"Receipt Mode\",\n selector: (row) => row.receiptMode,\n wrap: true,\n },\n {\n name: \"Payment Instrument No\",\n selector: (row) => row.paymentInstrumentNo,\n wrap: true,\n },\n {\n name: \"Receipt Amount\",\n selector: (row) => row.chargeAmount,\n wrap: true,\n },\n {\n name: \"Receipt Number\",\n selector: (row) => row.receipt_number,\n wrap: true,\n },\n ];\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"lease_id\"];\n let pId = items[\"transactionId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n\n values.financialYearOne = this.state.financialYearOne;\n values.applyOpenInvoice = this.state.initialValues.applyOpenInvoice;\n values.openInvoiceNumber =\n this.state.initialValues.openInvoiceNumber;\n values.receiptMode = this.state.initialValues.receiptMode;\n values.transaction_type = \"deposit\";\n\n //console.log(values, \"values\");\n //console.log(this.state.financialYearOne);\n //console.log(values); return false;\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/transaction/generate-general-receipt`,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: response.data.msg,\n });\n setTimeout(function () {\n self.setState({});\n });\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.getDebitList(self.state.selectedStatus);\n self.state.chargeTypeSelected = \"\";\n self.state.financialYearOne = \"\";\n self.state.initialValues = {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chartType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n chargeAmount: \"\",\n chargeDescription: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n };\n\n setTimeout(function () {\n self.setState({});\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Occupier name\", this.state.initialValues.occupierId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeTypeSelected\"\n options={[\n \"RENT Deposit - Refundable - Interest Free\",\n \"RENT Deposit - Refundable - Interest Bearing\",\n \"RENT Deposit - Non Refundable - Interest Free\",\n \"RENT Deposit - Non Refundable - Interest Bearing\",\n \"CAM Deposit - Refundable - Interest Free\",\n \"CAM Deposit - Refundable - Interest Bearing\",\n \"CAM Deposit - Non Refundable - Interest Free\",\n \"CAM Deposit - Non Refundable - Interest Bearing\",\n \"OTHER Deposit - Electricity Load Deposit – Refundable\",\n \"OTHER Deposit - Electricity Load Deposit – Non Refundable\",\n \"OTHER Deposit - GAS / PNG Meter\",\n \"OTHER Deposit - GAS / PNG Connection Deposit\",\n \"OTHER Deposit - Electricity Meter Deposit\",\n \"OTHER Deposit - Water Meter Deposit\",\n \"OTHER Deposit - Air Conditioing Load Deposit\",\n \"OTHER Deposit - Air Conditioning Meter Deposit\",\n \"OTHER Deposit - Fitout Deposit\",\n \"OTHER Deposit - Storage Deposit\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Receipt Charge Type\", this.state.initialValues.chargeTypeSelected, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n {this.validator.message(\"Receipt Date\", this.state.financialYearOne, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Receipt charge amount\", values.chargeAmount, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChangeReceiptMode(e);\n }}\n value={this.state.receiptMode}\n name=\"receiptMode\"\n options={[\n \"Cheque\",\n \"Cash\",\n \"DD\",\n \"Online Transfer\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Receipt mode\", this.state.initialValues.receiptModeSelected, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Payment instrument no\", values.paymentInstrumentNo, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Financial Institution Name\", values.financialInstitutionName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Branch name\", values.branchName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Invoice Description\", values.invoiceDescription, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n\n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n
    \n {\n this.setState({\n selectedStatus: 0,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(0);\n }}\n >\n
    \n Draft Receipts (\n {this.state.notesCount[0] ? this.state.notesCount[0] : 0})\n
    \n
    \n\n {\n this.setState({\n selectedStatus: 1,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(1);\n }}\n >\n
    \n Approved Receipts (\n {this.state.notesCount[1] ? this.state.notesCount[1] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 2,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(2);\n }}\n >\n
    \n Applied Receipts (\n {this.state.notesCount[2] ? this.state.notesCount[2] : 0})\n
    \n \n\n {\n this.setState({\n selectedStatus: 3,\n randomNum: Math.random(),\n tableCounter: Math.random(),\n pageNo: 1,\n });\n this.getDebitList(3);\n }}\n >\n
    \n Cancelled Receipts (\n {this.state.notesCount[3] ? this.state.notesCount[3] : 0})\n
    \n \n \n\n\n \n\n {this.state.showStatusOption > 0 && this.state.selectedStatus == 0 && (\n
    \n \n \n
    \n )}\n\n {this.state.showStatusOption > 0 && this.state.selectedStatus == 1 && (\n
    \n \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(CreditComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n chargeType: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n //receiptModeSelected: Yup.string().required(\"Required\"),\n //receiptMode: Yup.string().required(\"Required\"),\n paymentInstrumentNo: Yup.string().required(\"Required\"),\n applyOpenInvoiceSelected: Yup.string().required(\"Required\"),\n //applyOpenInvoice:Yup.string().required(\"Required\"),\n //openInvoiceNumberSelected:Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n financialInstitutionName: Yup.string().required(\"Required\"),\n branchName: Yup.string().required(\"Required\"),\n invoiceDescription: Yup.string().required(\"Required\"),\n //financialYearOne: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass GeneralComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n disableInvoiceField: true,\n disableAdjustmentField: true,\n formResponseData: [],\n activeInvoiceList: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chargeType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n financialYearOne: \"\",\n chargeAmount: \"\",\n financialYearOne: \"\",\n fromData: \"\",\n toDate: \"\",\n customPeriod: \"\",\n entryType: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/transaction/get-active-invoices`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data....\");\n this.setState({\n activeInvoiceList: data,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n // fetch(`${apiUrl.apiUrl.url}/transaction/get-credit-list?status=0`, { headers })\n // \t.then((response) => {\n // \t\treturn response.json();\n // \t})\n // \t.then((data) => {\n // \t\t//console.log(data,\"data\");\n // \t\tthis.setState({\n // \t\t\tformResponseData: data.lists,\n // \t\t\tnotesCount: data.status\n // \t\t});\n // \t})\n // \t.catch((error) => {\n // \t\tconsole.log(error);\n // \t});\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.fromData = this.formatDate(\n this.state.financialYearOne\n );\n };\n\n handleToCalenderOnBlur = () => {\n this.state.initialValues.toDate = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` +\n this.state.initialValues.groupId +\n `&tower=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getGridList = (status) => {\n let pgNo = this.state.pageNo;\n let perPage = this.state.perPage;\n\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-general-ledger?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage +\n `&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n //console.log(data,\"data\"); return false;\n this.setState({\n //formResponseData: cdata.lists,\n // notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n //showStatusOption:false\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n\n valueChangeChargeType = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n this.setState({});\n };\n\n valueChangeOpenInvoice = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.applyOpenInvoiceSelected = newValue.value;\n this.state.initialValues.applyOpenInvoice = newValue.value;\n\n if (newValue.value === \"Yes\") {\n this.state.disableInvoiceField = false;\n this.state.disableAdjustmentField = true;\n this.state.initialValues.adjustmentLogic = \"\";\n } else {\n this.state.disableAdjustmentField = false;\n this.state.disableInvoiceField = true;\n this.state.initialValues.openInvoiceNumberSelected = \"\"; // openInvoiceNumberSelected = \"\";\n this.state.initialValues.openInvoiceNumberId = \"\";\n }\n\n this.setState({});\n };\n\n valueChangeOpenInvoiceNumber = (newValue, actionMeta) => {\n console.log(newValue, \"valueChangeOpenInvoiceNumber\");\n this.state.initialValues.openInvoiceNumberSelected = newValue.label;\n this.state.initialValues.openInvoiceNumberId = newValue.value;\n this.state.initialValues.openInvoiceAmt = newValue.amt;\n this.setState({});\n };\n\n valueChangeReceiptMode = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.receiptModeSelected = newValue.value;\n this.state.initialValues.receiptMode = newValue.value;\n this.setState({});\n };\n\n valueChangeAdjustmentLogic = (newValue) => {\n console.log(newValue, \"new values\");\n this.state.initialValues.adjustmentLogic = newValue.value;\n this.setState({});\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n valuePeriodChange = (e) => {\n //customPeriod\n this.state.initialValues.customPeriod = e.value;\n this.setState({});\n };\n\n valueChangeEntryType = (e) => {\n //customPeriod\n this.state.initialValues.entryType = e.value;\n this.setState({});\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n //console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // console.log(newValue, \"ddd\");\n // console.log(`action: ${actionMeta}`);\n // console.groupEnd();\n };\n\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n exportReport = () => {\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-general-ledger-excel?status=1&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n window.location.href = `${apiUrl.apiUrl.url +\n \"/lease-report/download-file?path=\" +\n cdata.filename\n }`;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n exportReportToPDF = () => {\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-general-ledger-excel?fileType=pdf&status=1&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n window.location.href = `${apiUrl.apiUrl.url +\n \"/lease-report/download-file?path=\" +\n cdata.filename\n }`;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.getDebitList(this.state.selectedStatus);\n });\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Landlord Name\",\n selector: (row) => row.landlordName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Charge Period\",\n selector: (row) => row.chargePeriod,\n wrap: true,\n sortable: true,\n },\n {\n name: \"Document Type\",\n selector: (row) => row.documentType,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Date\",\n selector: (row) => row.documentDate,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Number\",\n selector: (row) => row.documentNumber,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Description\",\n selector: (row) => row.documentDesc,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Amount\",\n selector: (row) => row.amt,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Balance\",\n selector: (row) => row.bal,\n wrap: true,\n sortable: true,\n },\n ];\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"lease_id\"];\n let pId = items[\"transactionId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n\n this.getGridList(0);\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Landlord Group */}\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Landlord Asset Name */}\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Sub Asset Name */}\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Tower Name */}\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Tower name\", this.state.initialValues.towerId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Landlord Company Name */}\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Landlord Company Name\", this.state.initialValues.companyId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Occupier Name */}\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Occupier Name\", this.state.initialValues.occupierName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Occupier Leases */}\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Ledger Charge Type */}\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"ALL\",\n \"RENT(Minimum Guarantee)\",\n \"RENT(Revenue Share)\",\n \"CAM\",\n \"Property Tax\",\n \"Marketing Fund Tax\",\n \"Parking 2W\",\n \"Parking 4W\",\n \"Parking Other\",\n \"Storage\",\n \"Signage\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Ledger Charge Type\", this.state.initialValues.chargeType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* From Date */}\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n \n
    \n
    \n\n {/* To Date */}\n
    \n \n
    \n \n this.setState({ financialYearTwo: date })\n }\n onBlur={this.handleToCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleToCalenderOnBlur}\n />\n \n
    \n
    \n\n {/* Custom Periods */}\n
    \n \n
    \n {\n this.valuePeriodChange(e);\n }}\n value={{\n label: this.state.initialValues.customPeriod,\n value: this.state.initialValues.customPeriod,\n }}\n name=\"customPeriod\"\n options={[\n \"CURRENT CY\",\n \"LAST 3 MONTHS\",\n \"LAST 6 MONTHS\",\n \"LAST 9 MONTHS\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n {/* View Entries */}\n
    \n \n
    \n {\n this.valueChangeEntryType(e);\n }}\n value={{\n label: this.state.initialValues.entryType,\n value: this.state.initialValues.entryType,\n }}\n name=\"entryType\"\n options={[\"ALL\", \"DEBIT\", \"CREDIT\"].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"View Entries\", this.state.initialValues.entryType, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n
    \n \n Submit\n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n \n\n {this.state.datatableList.length > 0 && (\n
    \n \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(GeneralComponent);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport { faChevronRight, faSearch } from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { getUserType } from \"../../utils/index\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Popup from \"reactjs-popup\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport SimpleReactValidator from \"simple-react-validator\";\n//import { Chart } from \"react-google-charts\";\nimport {\n Chart as ChartJS,\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend,\n} from \"chart.js\";\nimport { Line, Bar } from \"react-chartjs-2\";\nimport { Chart } from \"react-google-charts\";\nimport { counter } from \"@fortawesome/fontawesome-svg-core\";\nChartJS.register(\n LineController,\n CategoryScale,\n LinearScale,\n PointElement,\n LineElement,\n BarElement,\n Title,\n Tooltip,\n Legend\n);\n\n// const reportFilterForm = Yup.object().shape({\n// countryId: Yup.string().required(\"Required\"),\n// stateId: Yup.string().required(\"Required\"),\n// districtId: Yup.string().required(\"Required\"),\n// cityId: Yup.string().required(\"Required\"),\n// });\nconst labels = [\n \"Expiring in 3 Months\",\n \"Expiring in 6 Months\",\n \"Expiring in 9 Months\",\n \"Expiring in 12 Months\",\n \"Expiring in over 12 Months\",\n];\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked, attr }) => {\n return (\n \n );\n};\n\n//['January', 'February', 'March', 'April', 'May', 'June', 'July'];\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n // assetId: Yup.string().required(\"Required\"),\n //stateId: Yup.string().required(\"Required\"),\n //districtId: Yup.string().required(\"Required\"),\n //cityId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n // brandId: Yup.number().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({\n // countryId: Yup.string().required(\"Required\"),\n // stateId: Yup.string().required(\"Required\"),\n // districtId: Yup.string().required(\"Required\"),\n // cityId: Yup.string().required(\"Required\"),\n });\n}\n\nvar reportFilterForm = Yup.object().shape({\n chargeType: Yup.string().required(\"Required\"),\n financialYearOne: Yup.string().required(\"Required\"),\n //receiptModeSelected: Yup.string().required(\"Required\"),\n //receiptMode: Yup.string().required(\"Required\"),\n paymentInstrumentNo: Yup.string().required(\"Required\"),\n applyOpenInvoiceSelected: Yup.string().required(\"Required\"),\n //applyOpenInvoice:Yup.string().required(\"Required\"),\n //openInvoiceNumberSelected:Yup.string().required(\"Required\"),\n occupierId: Yup.string().required(\"Required\"),\n financialInstitutionName: Yup.string().required(\"Required\"),\n branchName: Yup.string().required(\"Required\"),\n invoiceDescription: Yup.string().required(\"Required\"),\n //financialYearOne: Yup.string().required(\"Required\"),\n chargeAmount: Yup.string().required(\"Required\"),\n});\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass DepositComponent extends React.Component {\n groupId = { value: \"\" };\n state = {\n selectedStatus: 0,\n landloardArr: [],\n assetArr: [],\n subAssetArr: [],\n towerArr: [],\n companyArr: [],\n cityList: [],\n occupierList: [],\n leaseList: [],\n landloardList: [],\n assetsList: [],\n tableTOShow: \"RENT\",\n companyDetails: {\n companyPan: \"\",\n },\n disableInvoiceField: true,\n disableAdjustmentField: true,\n formResponseData: [],\n activeInvoiceList: [],\n invoiceList: {},\n initialValues: {\n chargeTypeSelected: \"\",\n frequencySelected: \"\",\n chargeType: \"\",\n landloardName: \"\",\n landloardId: \"\",\n subAssetName: \"\",\n subAssetId: \"\",\n companyName: \"\",\n companyId: \"\",\n cityName: \"\",\n cityId: \"\",\n occupierName: \"\",\n occupierId: \"\",\n companyPan: \"\",\n leaseCode: \"\",\n leaseId: \"\",\n receiptModeSelected: \"\",\n receiptMode: \"\",\n paymentInstrumentNo: \"\",\n applyOpenInvoiceSelected: \"\",\n applyOpenInvoice: \"\",\n openInvoiceNumberSelected: \"\",\n openInvoiceNumber: \"\",\n financialInstitutionName: \"\",\n branchName: \"\",\n invoiceDescription: \"\",\n financialYearOne: \"\",\n chargeAmount: \"\",\n financialYearOne: \"\",\n fromData: \"\",\n toDate: \"\",\n customPeriod: \"\",\n entryType: \"\",\n },\n notesCount: {\n 0: 0,\n 1: 0,\n 2: 0,\n 3: 0,\n },\n datatableList: [],\n totalRows: 0,\n loading: false,\n perPage: 10,\n pageNo: 1,\n showStatusOption: false,\n tableCounter: Math.round(),\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n landloardList: data.landloardList,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/transaction/get-active-invoices`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data....\");\n this.setState({\n activeInvoiceList: data,\n //occupierList: data.occupierList,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n // fetch(`${apiUrl.apiUrl.url}/transaction/get-credit-list?status=0`, { headers })\n // \t.then((response) => {\n // \t\treturn response.json();\n // \t})\n // \t.then((data) => {\n // \t\t//console.log(data,\"data\");\n // \t\tthis.setState({\n // \t\t\tformResponseData: data.lists,\n // \t\t\tnotesCount: data.status\n // \t\t});\n // \t})\n // \t.catch((error) => {\n // \t\tconsole.log(error);\n // \t});\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n \n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.fromData = this.formatDate(\n this.state.financialYearOne\n );\n };\n\n handleToCalenderOnBlur = () => {\n this.state.initialValues.toDate = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n handleCalculation = (e, index, values) => {\n var total = 0;\n for (const value in values.amount) {\n total += parseInt(values.amount[value]);\n }\n //console.log(total, \"total\", this.state.formResponseData[index].variance )\n if (typeof index == \"undefined\") {\n this.setState({ totalInvoiceAmount: total });\n } else {\n var formData = this.state.formResponseData;\n formData[index].variance =\n parseFloat(formData[index].net_charge_amount) - e.target.value;\n\n this.setState({ totalInvoiceAmount: total, formResponseData: formData }); //, `formResponseData${}` : totalVariance\n }\n };\n\n valueChangeTower = (newValue, actionMeta) => {\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-tower-occupiers?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n occupierList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` +\n this.state.initialValues.groupId +\n `&tower=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getGridList = (status) => {\n let pgNo = this.state.pageNo;\n let perPage = this.state.perPage;\n\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-deposit-ledger?status=` +\n status +\n `&page=` +\n pgNo +\n `&per_page=` +\n perPage +\n `&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n //console.log(data,\"data\"); return false;\n this.setState({\n //formResponseData: cdata.lists,\n // notesCount: cdata.status,\n datatableList: cdata.lists,\n totalRows: parseInt(cdata.total, 10),\n //showStatusOption:false\n });\n\n if (pgNo == 1) {\n this.setState({ tableCounter: Math.random() });\n this.setState({});\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeSubAsset = (newValue, actionMeta) => {\n this.state.initialValues.subAssetId = newValue.value;\n this.state.initialValues.subAssetName = newValue.label;\n this.setState({});\n fetch(`${apiUrl.apiUrl.url}/asset/sub-asset-towers?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n towerArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n valueFrequencyChange = (newValue, actionMeta) => {\n this.state.initialValues.frequencySelected = newValue.value;\n this.setState({});\n };\n\n valueChangeChargeType = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.chargeTypeSelected = newValue.value;\n this.state.initialValues.chargeType = newValue.value;\n this.setState({});\n };\n\n valueChangeOpenInvoice = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.applyOpenInvoiceSelected = newValue.value;\n this.state.initialValues.applyOpenInvoice = newValue.value;\n\n if (newValue.value === \"Yes\") {\n this.state.disableInvoiceField = false;\n this.state.disableAdjustmentField = true;\n this.state.initialValues.adjustmentLogic = \"\";\n } else {\n this.state.disableAdjustmentField = false;\n this.state.disableInvoiceField = true;\n this.state.initialValues.openInvoiceNumberSelected = \"\"; // openInvoiceNumberSelected = \"\";\n this.state.initialValues.openInvoiceNumberId = \"\";\n }\n\n this.setState({});\n };\n\n valueChangeOpenInvoiceNumber = (newValue, actionMeta) => {\n console.log(newValue, \"valueChangeOpenInvoiceNumber\");\n this.state.initialValues.openInvoiceNumberSelected = newValue.label;\n this.state.initialValues.openInvoiceNumberId = newValue.value;\n this.state.initialValues.openInvoiceAmt = newValue.amt;\n this.setState({});\n };\n\n valueChangeReceiptMode = (newValue, actionMeta) => {\n console.log(newValue);\n this.state.initialValues.receiptModeSelected = newValue.value;\n this.state.initialValues.receiptMode = newValue.value;\n this.setState({});\n };\n\n valueChangeAdjustmentLogic = (newValue) => {\n console.log(newValue, \"new values\");\n this.state.initialValues.adjustmentLogic = newValue.value;\n this.setState({});\n };\n\n valueChangeOccupier = (newValue, actionMeta) => {\n this.state.initialValues.occupierId = newValue.value;\n this.state.initialValues.occupierName = newValue.label;\n this.setState({});\n fetch(\n `${apiUrl.apiUrl.url}/asset/get-occupier-leases?id=` +\n newValue.value +\n `&tower=` +\n this.state.initialValues.towerId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"ata\");\n this.setState({\n leaseList: data,\n });\n // this.state.initialValues.companyPan = data.data.companyPan;\n // this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChangeCompany = (newValue, actionMeta) => {\n this.state.initialValues.companyId = newValue.value;\n this.state.initialValues.companyName = newValue.label;\n this.setState({});\n };\n\n valueChangeAsset = (newValue, actionMeta) => {\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setState({});\n //landlord-group/fetch-landlord-list\n fetch(`${apiUrl.apiUrl.url}/asset/asset-sub-assets?id=` + newValue.value, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n subAssetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeChk = (val) => {\n console.log(val, \"clickec\");\n };\n\n valuePeriodChange = (e) => {\n //customPeriod\n this.state.initialValues.customPeriod = e.value;\n this.setState({});\n };\n\n valueChangeEntryType = (e) => {\n //customPeriod\n this.state.initialValues.entryType = e.value;\n this.setState({});\n };\n\n handleChangeLandlord = (newValue, actionMeta) => {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n\n //landlord-group/fetch-landlord-list\n fetch(\n `${apiUrl.apiUrl.url}/asset/fetch-landlord-all-assets?id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/landlord/get-group-companies?id=` + newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n companyArr: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n //console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n // console.log(newValue, \"ddd\");\n // console.log(`action: ${actionMeta}`);\n // console.groupEnd();\n };\n\n redirectAfterSave = () => {\n this.setState({\n messsagePopup: false,\n popupMessageContent: \"\",\n });\n };\n\n exportReport = () => {\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-deposit-ledger-excel?status=1&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n window.location.href = `${apiUrl.apiUrl.url +\n \"/lease-report/download-file?path=\" +\n cdata.filename\n }`;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n exportReportToPDF = () => {\n var prm = Object.entries(this.state.initialValues)\n .map(([key, val]) => `${key}=${val}`)\n .join(\"&\");\n console.log(prm, \"prm\");\n\n fetch(\n `${apiUrl.apiUrl.url}/transaction/get-deposit-ledger-excel?fileType=pdf&status=1&type=general&` +\n prm,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((cdata) => {\n window.location.href = `${apiUrl.apiUrl.url +\n \"/lease-report/download-file?path=\" +\n cdata.filename\n }`;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n const handlePerRowsChange = async (newPerPage, page) => { };\n\n const handlePageChange = (page) => {\n this.setState({ pageNo: page }, () => {\n this.getDebitList(this.state.selectedStatus);\n });\n };\n\n const columns = [\n {\n name: \"Sr No\",\n //selector: row => row.lease_id,\n cell: (row, index) => index + 1,\n },\n {\n name: \"Lease ID\",\n selector: (row) => row.leaseName,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: (row) => row.assetName,\n wrap: true,\n },\n {\n name: \"Occupier Name\",\n selector: (row) => row.occupierName,\n wrap: true,\n },\n {\n name: \"Landlord Name\",\n selector: (row) => row.landlordName,\n wrap: true,\n },\n {\n name: \"Brand Name\",\n selector: (row) => row.brandName,\n wrap: true,\n },\n {\n name: \"Charge Type\",\n selector: (row) => row.chargeType,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Charge Period\",\n selector: (row) => row.chargeType,\n wrap: true,\n sortable: true,\n },\n {\n name: \"Document Type\",\n selector: (row) => row.documentType,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Date\",\n selector: (row) => row.documentDate,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Number\",\n selector: (row) => row.documentNumber,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Description\",\n selector: (row) => row.documentDesc,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Document Amount\",\n selector: (row) => row.amt,\n wrap: true,\n sortable: true,\n },\n\n {\n name: \"Balance\",\n selector: (row) => row.bal,\n wrap: true,\n sortable: true,\n },\n ];\n\n const handleRowSelected = (state) => {\n console.log(state.selectedRows.length);\n console.log(state.selectedRows);\n\n var invoiceListObj = {};\n if (state.selectedRows.length > 0) {\n state.selectedRows.forEach(function (items) {\n let leaseId = items[\"lease_id\"];\n let pId = items[\"transactionId\"];\n\n if (typeof invoiceListObj[leaseId] == \"undefined\") {\n invoiceListObj[leaseId] = {};\n }\n\n invoiceListObj[leaseId][pId] = true;\n });\n\n this.state.showStatusOption = true;\n } else {\n this.state.showStatusOption = false;\n }\n\n this.state.invoiceList = invoiceListObj;\n this.setState({});\n };\n\n return (\n <>\n
    \n
    \n \n
    \n
    \n\n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n var self = this;\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n\n this.getGridList(0);\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n\n
    \n
    \n
    \n
    \n\n {/* Landlord Group */}\n
    \n \n
    \n {\n this.handleChangeLandlord(e);\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.landloardList.map((item) => ({\n label: item.text,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Landlord Asset Name */}\n
    \n \n
    \n {\n this.valueChangeAsset(e);\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetArr.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Sub Asset Name */}\n
    \n \n
    \n {\n this.valueChangeSubAsset(e);\n }}\n value={{\n label: this.state.initialValues.subAssetName,\n value: this.state.initialValues.subAssetId,\n }}\n options={this.state.subAssetArr.map((item) => ({\n label: item.sub_asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Tower Name */}\n
    \n \n
    \n {\n this.state.initialValues.towerId = e.value;\n this.valueChangeTower(e);\n }}\n options={this.state.towerArr.map((item) => ({\n label: item.tower_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Tower name\", this.state.initialValues.towerId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Landlord Company Name */}\n
    \n \n
    \n {\n this.valueChangeCompany(e);\n }}\n value={{\n label: this.state.initialValues.companyName,\n value: this.state.initialValues.companyId,\n }}\n options={this.state.companyArr.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Landlord Company Name\", this.state.initialValues.companyId, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Occupier Name */}\n
    \n \n
    \n {\n this.valueChangeOccupier(e);\n }}\n value={{\n label: this.state.initialValues.occupierName,\n value: this.state.initialValues.occupierId,\n }}\n options={this.state.occupierList.map((item) => ({\n label: item.company_name,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Occupier Name\", this.state.initialValues.occupierName, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* Occupier Leases */}\n
    \n \n
    \n {\n this.state.initialValues.leaseCode = e.label;\n this.state.initialValues.leaseId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.leaseCode,\n value: this.state.initialValues.leaseId,\n }}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n {/* Ledger Deposit Type */}\n
    \n \n
    \n {\n this.valueChangeChargeType(e);\n }}\n value={this.state.chargeTypeSelected}\n name=\"chargeType\"\n options={[\n \"RENT Deposit - Refundable - Interest Free\",\n \"RENT Deposit - Refundable - Interest Bearing\",\n \"RENT Deposit - Non Refundable - Interest Free\",\n \"RENT Deposit - Non Refundable - Interest Bearing\",\n \"CAM Deposit - Refundable - Interest Free\",\n \"CAM Deposit - Refundable - Interest Bearing\",\n \"CAM Deposit - Non Refundable - Interest Free\",\n \"CAM Deposit - Non Refundable - Interest Bearing\",\n \"OTHER Deposit - Electricity Load Deposit – Refundable\",\n \"OTHER Deposit - Electricity Load Deposit – Non Refundable\",\n \"OTHER Deposit - GAS / PNG Meter\",\n \"OTHER Deposit - GAS / PNG Connection Deposit\",\n \"OTHER Deposit - Electricity Meter Deposit\",\n \"OTHER Deposit - Water Meter Deposit\",\n \"OTHER Deposit - Air Conditioing Load Deposit\",\n \"OTHER Deposit - Air Conditioning Meter Deposit\",\n \"OTHER Deposit - Fitout Deposit\",\n \"OTHER Deposit - Storage Deposit\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n {this.validator.message(\"Ledger Deposit Type\", this.state.initialValues.chargeTypeSelected, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n {/* From Date */}\n
    \n \n
    \n \n this.setState({ financialYearOne: date })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n />\n \n
    \n
    \n\n {/* To Date */}\n
    \n \n
    \n \n this.setState({ financialYearTwo: date })\n }\n onBlur={this.handleToCalenderOnBlur}\n dateFormat=\"dd/MM/yyyy\"\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleToCalenderOnBlur}\n />\n \n
    \n
    \n\n {/* Custom Periods */}\n
    \n \n
    \n {\n this.valuePeriodChange(e);\n }}\n value={{\n label: this.state.initialValues.customPeriod,\n value: this.state.initialValues.customPeriod,\n }}\n name=\"customPeriod\"\n options={[\n \"CURRENT CY\",\n \"LAST 3 MONTHS\",\n \"LAST 6 MONTHS\",\n \"LAST 9 MONTHS\",\n ].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n \n\n \n \n {(close) => (\n
    \n {this.state.popupMessageContent}\n \n ×\n \n
    \n )}\n
    \n\n \n\n {this.state.datatableList.length > 0 && (\n
    \n \n \n
    \n )}\n \n );\n }\n}\n\nexport default withRouter(DepositComponent);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n} from \"react-router-dom\";\n\nimport SideMenu from \"./SideMenu\";\n// import UnitDetailMaster from \"./storeDirectory/UnitDetailMaster\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faFileAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\n\nimport GenerateTransaction from \"./GenerateTransaction\";\nimport InvoicePrint from \"./InvoicePrint\";\nimport InvoiceSend from \"./InvoiceSend\";\nimport ApproveTransaction from \"./ApproveTransaction\";\nimport ApplyTransaction from \"./ApplyTransaction\";\nimport DebitComponent from \"./debit/DebitComponent\";\nimport CreditComponent from \"./credit/CreditComponent\";\nimport GeneralComponent from \"./receipt/General\";\nimport ReceiptDeposit from \"./receipt/Deposit\";\n\n\nimport GeneralLedgerComponent from \"./ledger/General\";\nimport DepositLedgerComponent from \"./ledger/Deposit\";\nimport TopHeader from \"../layout/TopHeader\";\n\nimport { getUserRole } from \"../utils/index\";\n\nexport default function ViewLease() {\n let match = useRouteMatch();\n\n let reportArr = [\n ];\n\n return (\n
    \n \n
    \n
    \n {(getUserRole() != \"checker\") && (\n <>\n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n \n \n \n\n \n \n \n\n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n {/*
    \n
    \n
    \n

    \n \n Transactions\n

    \n
    \n
    \n
    */}\n \n
    \n\n\n
    \n \n )}\n
    \n
    \n
    \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport styles from \"../../masters/master.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nlet columns,\n columnsExpiry = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Brand\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Lease Number\",\n selector: \"leaseCode\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Unit Number\",\n selector: \"unit_no\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Gross Leasable Area (sq.ft)\",\n selector: \"gross_leasable_area\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lease Term\",\n selector: \"leaseTerm\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lease Commencement Date\",\n selector: \"lcd\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lease Expiry Date\",\n selector: \"led\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Renewal Option\",\n selector: \"renewal_option\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Renewal Notice Due On\",\n selector: \"renewal_notice_due\",\n grow: 2,\n sortable: false,\n },\n ];\n\nlet columnsLockIn = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Brand\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Lease Number\",\n selector: \"leaseCode\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Unit Number\",\n selector: \"unit_no\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Gross Leasable Area (sq.ft)\",\n selector: \"gross_leasable_area\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lease Term\",\n selector: \"leaseTerm\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lock-In Start Date\",\n selector: \"llsd\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lock-In End Date\",\n selector: \"lled\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Termination Notice Period\",\n selector: \"lease_expiry_np\",\n grow: 2,\n sortable: false,\n },\n];\n\nlet columnsRent = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Name\",\n selector: \"assetName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Brand\",\n selector: \"brandName\",\n sortable: false,\n grow: 3,\n },\n {\n name: \"Lease Number\",\n selector: \"leaseCode\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Unit Number\",\n selector: \"unit_no\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Gross Leasable Area (sq.ft)\",\n selector: \"gross_leasable_area\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Lease Term\",\n selector: \"leaseTerm\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Current Rent Logic\",\n selector: \"old_logic\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"Current Rent\",\n selector: \"old_rent\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"New Rent Logic\",\n selector: \"new_logic\",\n grow: 2,\n sortable: false,\n },\n {\n name: \"New Rent\",\n selector: \"new_rent\",\n grow: 2,\n sortable: false,\n },\n];\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst AlertsTable = (params) => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n\n var frequency = params.frequency;\n\n var additionalParams = \"expiry_report=true&\"+params.additionParams;\n if (params.leaseData == \"LOCKIN EXPIRY\") {\n additionalParams = \"expiry_lockin_report=true&\"+params.additionParams;\n columns = columnsLockIn;\n }else if (params.leaseData == \"LEASE EXPIRY\") {\n additionalParams = \"expiry_report=true&\"+params.additionParams;\n columns = columnsExpiry;\n } else {\n additionalParams = \"rent_expiry=true&\"+params.additionParams;\n columns = columnsRent;\n }\n\n additionalParams += \"&frequency=\" + frequency;\n\n React.useEffect(() => {\n fetchLeaseData(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchLeaseData = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/user-alert/get-all-leases?page=${page}&per_page=${perPage}&${additionalParams}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchLeaseData(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/user-alert/get-all-leases?page=${page}&per_page=${newPerPage}&${additionalParams}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchLeaseData(1);\n }, []);\n\n return (\n
    \n \n
    \n );\n};\nexport default AlertsTable;\n","import React from \"react\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faEye,\n faPen,\n faTimes,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../../masters/master.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { withRouter, Link } from \"react-router-dom\";\nimport AlertsTable from \"./AlertsTable\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport BottomNav from \"../../layout/BottomNav\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport DatePicker from \"react-datepicker\";\nimport { ReactMultiEmail } from \"react-multi-email\";\nimport axios from \"axios\";\nimport * as Yup from \"yup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport Select, {\n components,\n MultiValueGenericProps,\n MultiValueProps,\n OnChangeValue,\n Props,\n} from \"react-select\";\nimport { getUserType } from \"../../utils/index\";\nconst selectStyles = {\n border: \"0\",\n background: \"#ddd\",\n};\nif (getUserType() == \"Landlord\") {\n var reportFilterForm = Yup.object().shape({\n //assetId: Yup.string().required(\"Required\"),\n });\n} else if (getUserType() == \"Occupier\") {\n var reportFilterForm = Yup.object().shape({\n //brandId: Yup.number().required(\"Required\"),\n });\n} else {\n var reportFilterForm = Yup.object().shape({});\n}\n\nlet monthsArr = [];\nvar i = 0;\nfor (; i <= 12; i++) {\n monthsArr.push({ id: i, value: i });\n}\n\nvar tableCounter = 0;\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass Alerts extends React.Component {\n state = {\n dropdownValue: \"Select Months\",\n isOpen: false,\n frequency: \"\",\n leaseData: \"LEASE EXPIRY\",\n counter: Math.random(),\n brandSelected: [],\n selectedValue: [],\n setSelectedValue: [],\n leaseSelected: [],\n countries: [],\n monthsArr: [],\n districtList: [],\n cityList: [],\n brandCatList: [],\n brandList: [],\n financialYear: [],\n assetsList: [],\n redirect: false,\n messsagePopup: false,\n popupContent: \"Data Saved Successfully!\",\n states: [],\n assetTypes: [],\n assets: [],\n subAssets: [],\n countries: [],\n states: [],\n districts: [],\n cities: [],\n assetType: \"\",\n asset: \"\",\n subAsset: \"\",\n cityId: \"\",\n url: `${apiUrl.apiUrl.url}/user-alert/create-alert`,\n additionParams: \"\",\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n id: undefined,\n selectedBrand: \"\",\n counter: 0,\n selectedAsset: \"\",\n\n leaseList: [],\n formResponseData: [],\n formResponseData1: {\n forecasteDetails: {\n forecast: [],\n actual: [],\n },\n },\n initialForecast: {},\n initialValues: {\n brandId: [],\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n brandCatId: \"\",\n brandName: [],\n leaseId: \"\",\n chargeTypeSelected: [],\n financialYear: \"\",\n chargeType: \"\",\n financialYearOne: \"Period 1\",\n financialYearTwo: \"Period 2\",\n //assetId: \"\",\n },\n initialValuesAlertSettings: {\n assetTypeId: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n frequencySelected: [],\n },\n };\n\n openModal = () => this.setState({ isOpen: true });\n closeModal = () => this.setState({ isOpen: false });\n setValue(e) {\n this.setState({ dropdownValue: e });\n }\n\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n setMasterPreValues = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-select-asset-details?assetId=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data.countries,\n districtList: data.district,\n states: data.state,\n cityList: data.cities,\n });\n this.state.initialValues.stateId = data.data.stateId.stateId;\n this.state.initialValues.state_name = data.data.stateId.state_name;\n this.state.initialValues.cityId = data.data.cityId.cityId;\n this.state.initialValues.cityName = data.data.cityId.cityName;\n this.state.initialValues.districtId = data.data.districtId.districtId;\n this.state.initialValues.districtName =\n data.data.districtId.districtName;\n this.state.initialValues.countryId = data.data.countryId.countryId;\n this.state.initialValues.countryName = data.data.countryId.countryName;\n this.state.initialValues.brandId = [];\n if (\n this.state.initialValues.brandId.length == 0 ||\n this.state.initialValues.brandId == \"\"\n ) {\n this.state.initialValues.brandCatId = data.data.catId;\n this.state.initialValues.brandCatName = data.data.cat_name;\n this.state.brandList = data.brandList;\n this.state.brandSelected = [\n { value: data.data.brandId, label: data.data.brand_name },\n ];\n // this.state.initialValues.brandId = [data.data.brandId];\n }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n valueChange = (newValue, actionMeta) => {\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_district\") {\n this.state.initialValues.districtId = newValue.value;\n this.state.initialValues.districtName = newValue.label;\n\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/cities/district-cities/` + newValue.value, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n cityList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_number\") {\n //change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({\n value: newValue[0].value,\n label: newValue[0].label,\n });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n }\n this.setState({});\n\n //console.log(\"setting new leases\", this.state.leaseSelected);\n } else if (actionMeta == \"brand_category\") {\n this.state.initialValues.brandCatId = newValue.value;\n this.state.initialValues.brandCatName = newValue.label;\n this.state.initialValues.brandId = [];\n this.state.initialValues.brandName = [];\n //get-brand-subcategory/?id=\n fetch(\n `${apiUrl.apiUrl.url}/brand/get-brand-by-category?alert=true&cat_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [\"0\"];\n this.state.brandSelected.push({ value: 0, label: \"All\" });\n\n for (let i = 0; i < data.length; i++) {\n this.state.initialValues.brandId.push(data[i].id);\n }\n\n console.log(\n this.state.initialValues.brandId,\n \"this.state.initialValues.brandId\"\n );\n this.setState({});\n\n this.getAssetsListByBrand();\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_city\") {\n //brandName\n this.state.initialValues.cityId = newValue.value;\n this.state.initialValues.cityName = newValue.label;\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n newValue.value,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_lease_status\") {\n //brandName\n this.state.initialValues.LeaseStatusId = newValue.value;\n this.state.initialValues.LeaseStatusName = newValue.label;\n } else if (actionMeta == \"change_brand\") {\n this.state.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.brandSelected.push({\n value: newValue[i].value,\n label: newValue[i].label,\n });\n }\n this.getAssetsListByBrand();\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") {\n //change_lease_month\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n this.setMasterPreValues(newValue.value);\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n })\n .catch((error) => {\n console.log(error);\n });\n } else if (actionMeta == \"change_charge_type\") {\n //change_lease_month\n //this.state.initialValues.chargeType = newValue.value;\n //this.state.initialValues.dataUOMName = newValue.label;\n\n console.log(this.state.initialValues, \"initial valuyes\");\n this.state.initialValues.chargeTypeSelected = [];\n //this.state.leaseSelected= [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.chargeTypeSelected.push(newValue[i].value);\n //this.state.selectedValue.push(newValue[i].value);\n //this.state.leaseSelected.push({ 'value' : newValue[i].value, 'label': newValue[i].label });\n }\n } else if (actionMeta == \"change_financial_yearone\") {\n //change_lease_month\n this.state.initialValues.financialYearIdOne = newValue.value;\n this.state.initialValues.financialYearOne = newValue.label;\n } else if (actionMeta == \"change_financial_yeartwo\") {\n //change_lease_month\n this.state.initialValues.financialYearIdTwo = newValue.value;\n this.state.initialValues.financialYearTwo = newValue.label;\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_month\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n BrandList() {\n const list = this.state.brandSelected;\n const listItems = list.map((number) => number.label + \",\");\n return ;\n }\n\n getAssetsListByBrand = () => {\n var headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n };\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeCountry = (newValue, actionMeta) => {\n console.log(newValue.value, \"jj\");\n this.countryId = newValue.value;\n newValue.label = newValue.label;\n\n if (newValue.value == \"\") {\n console.log(\"country value empty\");\n this.state.states = [];\n }\n\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n\n this.state.initialValues.stateId = \"\";\n this.state.initialValues.stateName = \"\";\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + this.countryId, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n handleChangeClientGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionmeta\", actionMeta);\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n this.setState({});\n console.log(newValue, \"ddd\");\n console.log(`action: ${actionMeta}`);\n console.groupEnd();\n };\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-asset-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/brand/get-all-brands`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-lease-status`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n leaseStatus: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n this.getAssetsList(\"\", \"\", true);\n }\n\n frequencyChange(e) {\n console.log(e, \"eee\");\n this.state.frequencySelected = [];\n this.state.initialValuesAlertSettings.freqId = [];\n for (let i = 0; i < e.length; i++) {\n this.state.initialValuesAlertSettings.freqId.push(e[i].value);\n this.state.frequencySelected.push({\n value: e[i].value,\n label: e[i].label,\n });\n }\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n }\n\n getLeaseExpiry(e) {\n this.setState({\n leaseData: e.target.outerText,\n counter: Math.random(),\n });\n }\n redirectAfterSave = () => {\n this.setState({ redirect: true, messsagePopup: false });\n };\n\n render() {\n return this.renderForm();\n }\n\n renderForm() {\n return (\n
    \n \n {\n this.state.brandSelected = [];\n for (const [key, value] of Object.entries(\n this.state.initialValues\n )) {\n this.state.initialValues[key] = \"\";\n }\n this.state.leaseSelected = [];\n this.state.initialValues.chargeTypeSelected = [];\n this.state.chargeTypeSelected = [];\n this.state.financialYearOne = \"\";\n this.state.financialYearTwo = \"\";\n this.state.counter = Math.random();\n this.setState({});\n }}\n onSubmit={(values, actions) => {\n values.groupId = this.state.initialValues.groupId;\n\n var brand_id = this.state.initialValues.brandId;\n var asset_id = this.state.initialValues.assetId;\n var lease_id = this.state.initialValues.leaseId;\n\n this.state.additionParams = `brandId=${brand_id}&assetId=${asset_id}&leaseId=${lease_id}`;\n this.setState({});\n\n this.setState({ counter: Math.random() });\n\n console.log(\"lease ids\", lease_id, this.state.additionParams);\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.handleChangeCountry(e, \"changecountry\");\n }}\n value={{\n label: this.state.initialValues.countryName,\n value: this.state.initialValues.countryId,\n }}\n options={this.state.countries.map((item) => ({\n label: item.country_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"brand_category\");\n }}\n value={{\n label: this.state.initialValues.brandCatName,\n value: this.state.initialValues.brandCatId,\n }}\n options={this.state.brandCatList.map((item) => ({\n label: item.category_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    */}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.state_name,\n value: this.state.initialValues.state_id,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_district\");\n }}\n value={{\n label: this.state.initialValues.districtName,\n value: this.state.initialValues.districtId,\n }}\n options={this.state.districtList.map(\n (item) => ({\n label: item.district_name,\n value: item.id,\n })\n )}\n />\n\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_city\");\n }}\n value={{\n label: this.state.initialValues.cityName,\n value: this.state.initialValues.cityId,\n }}\n options={this.state.cityList.map((item) => ({\n label: item.city_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    \n
    \n
    \n\n
    \n {/*
    \n
    \n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n
    \n
    */}\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n )}\n \n
    \n
    \n
    \n
    \n
    \n {\n this.setValue(e);\n }}\n >\n \n {this.state.dropdownValue}\n \n\n \n {\n this.setState({\n frequency: \"15 Days\",\n counter: Math.random(),\n });\n }}\n >\n 15 Days\n \n {\n this.setState({\n frequency: \"1 Months\",\n counter: Math.random(),\n });\n }}\n >\n 1 Months\n \n {\n this.setState({\n frequency: \"2 Months\",\n counter: Math.random(),\n });\n }}\n >\n 2 Months\n \n {\n this.setState({\n frequency: \"3 Months\",\n counter: Math.random(),\n });\n }}\n >\n 3 Months\n \n {\n this.setState({\n frequency: \"4 Months\",\n counter: Math.random(),\n });\n }}\n >\n 4 Months\n \n {\n this.setState({\n frequency: \"5 Months\",\n counter: Math.random(),\n });\n }}\n >\n 5 Months\n \n {\n this.setState({\n frequency: \"6 Months\",\n counter: Math.random(),\n });\n }}\n >\n 6 Months\n \n \n \n {\n this.openModal();\n }}\n className=\"alertsBtn createAlert\"\n >\n Create Alert\n \n
    \n
    \n
    \n
    \n {\n this.getLeaseExpiry(e);\n }}\n >\n LEASE EXPIRY\n \n {\n this.getLeaseExpiry(e);\n }}\n >\n LOCKIN EXPIRY\n \n {\n this.getLeaseExpiry(e);\n }}\n >\n RENT\n \n {/* {\n this.getLeaseExpiry(e);\n }}\n >\n FITOUT SECURITY DEPOSIT\n */}\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n

    Create Alert

    \n {\n values.emails = this.state.emails;\n values.assetId = this.state.initialValues.assetId;\n values.brandId = this.state.initialValues.brandId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n alert(response.data.message);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n self.setState({\n // url: `${apiUrl.apiUrl.url}/asset/create-tower`,\n // self.setState({ redirect: true });\n redirect: true,\n emails: [],\n frequencySelected: [],\n isOpen: false,\n initialValuesAlertSettings: {\n assetTypeId: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n frequencySelected: [],\n },\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.state.initialValuesAlertSettings.reportType =\n e.label;\n this.state.initialValuesAlertSettings.reportId =\n e.value;\n this.setState({});\n }}\n value={{\n label:\n this.state\n .initialValuesAlertSettings\n .reportType,\n value:\n this.state\n .initialValuesAlertSettings\n .reportId,\n }}\n options={[\n {\n value: \"lockin\",\n label: \"Lease Lockin\",\n },\n {\n value: \"expiry\",\n label: \"Lease Expiry\",\n },\n {\n value: \"Rent\",\n label: \"Lease Rent\",\n },\n {\n value: \"security-deposit\",\n label: \"Security Deposit\",\n },\n {\n value: \"fitout-security-deposit\",\n label: \"Fitout Security Deposit\",\n },\n ].map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.state.initialValuesAlertSettings.weekLabel =\n e.label;\n this.state.initialValuesAlertSettings.weekId =\n e.value;\n this.setState({});\n }}\n value={{\n label:\n this.state\n .initialValuesAlertSettings\n .weekLabel,\n value:\n this.state\n .initialValuesAlertSettings\n .weekId,\n }}\n options={[\n { label: \"Mon\", value: 1 },\n { label: \"Tue\", value: 2 },\n { label: \"Wed\", value: 3 },\n { label: \"Thus\", value: 4 },\n { label: \"Fri\", value: 5 },\n { label: \"Sat\", value: 6 },\n { label: \"Sun\", value: 7 },\n ].map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n //e.key === 'Enter' && e.preventDefault();\n console.log(\"callingg....\");\n }}\n onChange={(_emails: string[]) => {\n console.log(\"change event\");\n this.setState({ emails: _emails });\n }}\n getLabel={(\n email: string,\n index: number,\n removeEmail: (index: number) => void\n ) => {\n return (\n
    \n {email}\n \n removeEmail(index)\n }\n >\n ×\n \n
    \n );\n }}\n />\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.frequencyChange(e);\n }}\n value={this.state.frequencySelected}\n options={[\n { label: \"6 Months\", value: 6 },\n { label: \"5 Months\", value: 5 },\n { label: \"4 Months\", value: 4 },\n { label: \"3 Months\", value: 3 },\n { label: \"2 Months\", value: 2 },\n { label: \"1 Months\", value: 1 },\n {\n label: \"15 Days\",\n value: \"15 Days\",\n },\n ].map((item) => ({\n label: item.label,\n value: item.label,\n }))}\n />\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {this.BrandList()}\n
    \n
    \n
    \n
    \n
    \n {this.props.match.params.id !== undefined ? (\n
    \n
    \n
    \n
    \n \n Update\n \n {\n this.checkDelete(e);\n }}\n >\n {\" \"}\n Delete\n \n \n \n {\" \"}\n Reset\n \n \n
    \n
    \n
    \n
    \n ) : (\n
    \n
    \n
    \n
    \n \n Save Alert\n \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n \n
    \n )}\n \n \n
    \n \n
    \n
    \n
    \n \n
    \n );\n }\n}\n\nexport default withRouter(Alerts);\n","import React from \"react\";\nimport { withRouter } from \"react-router-dom\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal } from \"react-bootstrap\";\nimport Select from \"react-select\";\nimport axios from \"axios\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { ReactMultiEmail } from \"react-multi-email\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport {getUserRole} from \"../../utils/index\";\nimport { Redirect, Link } from \"react-router-dom\";\nimport {\n faBell,\n faCheckCircle,\n faPauseCircle,\n faPenSquare,\n faUndo,\n faFileExport,\n faPlus,\n faTrash,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport * as Yup from \"yup\";\n\n\nconst Schema = Yup.object({\n alertName: Yup.string().required(\"This field is required\"),\n alertText: Yup.string().required(\"This field is required\"),\n reportId: Yup.string().required(\"This field is required\"),\n stateName: Yup.string().required(\"This field is required\"),\n brandSelected: Yup.array().required(\"Provide at least one tag\"),\n frequencySelected: Yup.array().required(\"Provide at least one tag\"),\n});\n\n\n\nconst selectStyles = {\n border: \"0\",\n background: \"#ddd\",\n};\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass UserNotification extends React.Component {\n state = {\n isModalOpen: false,\n brandSelected: [],\n brandList: [],\n counter: 0,\n counter1: 0,\n assetsList: [],\n states: [],\n leaseList: [],\n regionList: [],\n activeAlert: \"expiry\",\n currentAlertStatus: \"All\",\n currentFilterStatus: 0,\n alertList: {\n expiry: [],\n lockin: [],\n rent: [],\n security: [],\n 'fitout-security': []\n },\n alertItems: {\n expiry: [],\n lockin: [],\n rent: [],\n security: [],\n 'fitout-security': []\n },\n initialValues: {\n regionName: \"\",\n regiontId: \"\",\n assetName: \"\",\n assetId: \"\",\n stateName: \"\",\n stateId: \"\",\n emails: \"\",\n alertName: \"\",\n alertText: \"\",\n frequencySelected: [],\n emails: [],\n selectedStates: [],\n assetSelected: []\n },\n initialValuesAlertSettings: {\n assetTypeId: \"\",\n assetId: \"\",\n subAssetId: \"\",\n towerName: \"\",\n assetName: \"\",\n subAssetName: \"\",\n assetType: \"\",\n countryId: \"\",\n stateId: \"\",\n districtId: \"\",\n cityId: \"\",\n frequencySelected: [],\n },\n };\n resetForm(values) {\n this.state.initialValues = {};\n values.stateId = \"\";\n values.emails = \"\";\n this.state.leaseSelected = [];\n this.state.initialValues.alertText = \"\";\n this.state.initialValues.alertName = \"\";\n this.state.initialValues.assetSelected = [];\n this.state.initialValues.brandSelected = [];\n this.state.initialValues.frequencySelected = [];\n this.setState({});\n }\n\n componentDidMount() {\n this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/create-alert`;\n this.fetchStates(1);\n this.fetchBrands();\n this.setState({})\n this.loadAlertsData('expiry');\n this.fetchRegion();\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n openModal = () => this.setState({ isModalOpen: true });\n closeModal = () => this.setState({ isModalOpen: false });\n\n frequencyChange(e) {\n this.state.initialValues.frequencySelected = [];\n this.state.initialValuesAlertSettings.freqId = [];\n for (let i = 0; i < e.length; i++) {\n this.state.initialValuesAlertSettings.freqId.push(e[i].value);\n this.state.initialValues.frequencySelected.push({\n value: e[i].value,\n label: e[i].label,\n });\n }\n this.setState({});\n }\n\n fetchRegion = () => {\n\n fetch(`${apiUrl.apiUrl.url}/user-alert/get-region/`, {\n method: 'GET', // Specify the HTTP method (GET, POST, etc.)\n headers\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n regionList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fetchStates = (countryId, region = null) => {\n let url = apiUrl.apiUrl.url + \"/user-alert/get-state\";\n if (region !== null) {\n url = apiUrl.apiUrl.url + \"/user-alert/get-state?region=\" + region;\n }\n\n fetch(`${url}`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fetchBrands = () => {\n let url = apiUrl.apiUrl.url + \"/brand/get-all-brands\";\n if (this.state.initialValues.regionName != '' && this.state.initialValues.regionName != 'ALL') {\n let regionName = this.state.initialValues.regionName != '' && this.state.initialValues.regionName != 'ALL' ? this.state.initialValues.regionName : '';\n url = apiUrl.apiUrl.url + \"/brand/get-region-brands?region=\" + regionName;\n }\n\n fetch(url, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n brandList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getAssetsListByBrand = () => {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-brand-asset-list?brandId=` +\n this.state.initialValues.brandId + `&state_id=` + this.state.initialValues.stateId + `®ion=` + this.state.initialValues.regionName,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/lease-view/get-lease-list?all=true&brand=` +\n this.state.initialValues.brandId +\n \"&asset=\" +\n this.state.initialValues.assetId +\n \"&brandCategory=\" +\n this.state.initialValues.brandCatId +\n \"®ion=\" +\n this.state.initialValues.regionName,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n leaseList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n fetchLeases = () => {\n fetch(`${apiUrl.apiUrl.url\n }/lease-view/get-revenue-lease-list?all=true&brand=` + this.state.initialValues.brandId + \"&asset=\" + this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId + \"&leaseType=\" + this.state.leaseType + \"&stateId=\" + this.state.initialValues.stateId, { headers }).then((response) => {\n return response.json();\n }).then((data) => {\n this.setState({ leaseList: data });\n\n this.state.initialValues.leaseValue = [];\n //this.state.initialValues.leaseId = [];\n }).catch((error) => {\n console.log(error);\n });\n }\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n // newValue.value = newValue.target.value;\n // newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n\n // selectedStates\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.stateName = newValue.label;\n // this.state.initialValues.selectedStates = [];\n // for (let i = 0; i < newValue.length; i++) { // this.state.selectedValue.push(newValue[i].value);\n // this.state.initialValues.selectedStates.push({value: newValue[i].value, label: newValue[i].label});\n // }\n\n //this.fetchBrands(newValue.value)\n this.setState({})\n\n // districtList\n } else if (actionMeta == \"change_brand\") {\n this.state.initialValues.brandSelected = [];\n this.state.initialValues.brandId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.brandId.push(newValue[i].value);\n this.state.initialValues.brandSelected.push({ value: newValue[i].value, label: newValue[i].label });\n }\n this.getAssetsListByBrand();\n fetch(`${apiUrl.apiUrl.url\n }/lease-view/get-lease-list?all=true&brand=` + this.state.initialValues.brandId + \"&asset=\" + this.state.initialValues.assetId + \"&brandCategory=\" + this.state.initialValues.brandCatId, { headers }).then((response) => {\n return response.json();\n }).then((data) => {\n this.setState({ leaseList: data });\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n }).catch((error) => {\n console.log(error);\n });\n\n console.log(this.state.initialValues, \"this.state.initialValues\");\n } else if (actionMeta == \"change_asset_name\") { // change_lease_month\n this.state.initialValues.assetSelected = [];\n this.state.initialValues.assetId = [];\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.assetId.push(newValue[i].value);\n this.state.initialValues.assetSelected.push({ value: newValue[i].value, label: newValue[i].label });\n }\n // this.setMasterPreValues(newValue.value);\n this.fetchLeases();\n\n } else if (actionMeta == \"change_lease_number\") { // change_document_type\n\n this.state.leaseSelected = [];\n if (newValue.length == 0) {\n this.state.initialValues.leaseId = \"\";\n } else {\n this.state.initialValues.leaseId = [];\n }\n if (newValue.length > 0 && newValue[0].value == 0) {\n this.state.leaseSelected.push({ value: newValue[0].value, label: newValue[0].label });\n\n for (let i = 0; i < this.state.leaseList.length; i++) {\n if (this.state.leaseList[i].id != 0) {\n this.state.initialValues.leaseId.push(this.state.leaseList[i].id);\n }\n }\n } else {\n for (let i = 0; i < newValue.length; i++) {\n this.state.initialValues.leaseId.push(newValue[i].value);\n // this.state.selectedValue.push(newValue[i].value);\n this.state.leaseSelected.push({ value: newValue[i].value, label: newValue[i].label });\n }\n }\n } else if (actionMeta == \"change_alert_text\") { // this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.alertText = newValue.target.value;\n } else if (actionMeta == \"change_alert\") { // this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.alertName = newValue.target.value;\n } else if (actionMeta == \"change_region\") {\n this.state.initialValues.regiontId = newValue.value;\n this.state.initialValues.regionName = newValue.label;\n\n this.state.initialValues.stateId = '';\n this.state.initialValues.stateName = '';\n\n this.state.initialValues.brandSelected = [];\n this.state.initialValues.brandId = [];\n\n this.state.initialValues.assetSelected = [];\n this.state.initialValues.assetId = [];\n\n this.state.initialValues.leaseValue = [];\n this.state.initialValues.leaseId = [];\n\n this.fetchStates(1, newValue.value);\n this.fetchBrands();\n this.setState({})\n } else {\n this.state.initialValues.countryId = newValue.value;\n this.state.initialValues.countryName = newValue.label;\n }\n this.setState({});\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n stateName: \"\",\n stateId: \"\",\n emails: \"\",\n alertName: \"\",\n alertText: \"\",\n frequencySelected: [],\n emails: [],\n },\n });\n };\n\n downloadReport = () => {\n // fetch(`${\n // apiUrl.apiUrl.url\n // }/user-alert/export?` , {headers}).then((response) => {\n // return response.json();\n // }).then((data) => {\n // console.log(data, \"export data\");\n // //window.location.href= `${apiUrl.apiUrl.url+'/lease-report/download-file?path='+data.data}`;\n // }).catch((error) => {\n // console.log(error);\n // });\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url + '/user-alert/export'}`,\n data: {}\n }).then(function (response) {\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n }\n\n loadAlertsData = (type) => {\n\n this.state.activeAlert = type;\n fetch(`${apiUrl.apiUrl.url\n }/user-alert/get-alert-list?type=` + type + `&status=` + this.state.currentAlertStatus, { headers }).then((response) => {\n return response.json();\n }).then((data) => {\n this.state.alertList[type] = data.data;\n this.state.counter = Math.round();\n console.log(this.state.alertList[type], \"this.state.alertList[type]\");\n this.setState({});\n }).catch((error) => {\n console.log(error);\n });\n }\n\n //alertItems\n\n loadAlertsList = (type, id) => {\n //this.state.alertItems[type][id] = [];\n fetch(`${apiUrl.apiUrl.url\n }/user-alert/get-alert-details?id=` + id, { headers }).then((response) => {\n return response.json();\n }).then((data) => {\n this.state.alertItems[type][id] = data.data;\n console.log(this.state.alertItems[type][id], \"this.state.alertItems[type]\", type, \"==\", id);\n this.setState({});\n\n }).catch((error) => {\n console.log(error);\n });\n }\n\n openCreateModal = () => {\n this.openModal();\n this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/create-alert`;\n this.setState({});\n }\n\n pauseAlert = (settingId, leaseId = 0, frequency = '', lease_expiry_date = '') => {\n //this.openModal();\n //alert(settingId)\n var self = this;\n // this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/update-alert?id=` + alertId + `&leaseId=` + leaseId;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user-alert/pause-alert`,\n data: { 'id': settingId, 'lease_id': leaseId, 'frequency': frequency, 'lease_expiry_date': lease_expiry_date },\n }).then(function (response) {\n if (!response.data.success) {\n alert(response.data.message);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n self.state.alertItems[self.state.activeAlert][settingId] = response.data.data;\n // console.log(this.state,\"this.state\");\n self.loadAlertsData(self.state.activeAlert);\n self.setState({});\n }\n });\n }\n markAsDone = (settingId, leaseId = 0, frequency = '', lease_expiry_date = '') => {\n //this.openModal();\n //alert(settingId)\n var self = this;\n // this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/update-alert?id=` + alertId + `&leaseId=` + leaseId;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user-alert/mark-as-done`,\n data: { 'id': settingId, 'lease_id': leaseId, 'frequency': frequency, 'lease_expiry_date': lease_expiry_date },\n\n }).then(function (response) {\n if (!response.data.success) {\n alert(response.data.message);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n\n self.state.alertItems[self.state.activeAlert][settingId] = response.data.data;\n self.loadAlertsData(self.state.activeAlert);\n self.setState({});\n\n }\n });\n }\n\n deleteAlert = (settingId) => {\n var self = this;\n // this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/update-alert?id=` + alertId + `&leaseId=` + leaseId;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user-alert/delete-alert`,\n data: { 'id': settingId },\n\n }).then(function (response) {\n if (!response.data.success) {\n alert(response.data.message);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n self.loadAlertsData(self.state.activeAlert);\n }\n });\n }\n\n editAlert = (alertId, leaseId = 0) => {\n this.openModal();\n this.state.formUrl = `${apiUrl.apiUrl.url}/user-alert/update-alert?id=` + alertId + `&leaseId=` + leaseId;\n fetch(`${apiUrl.apiUrl.url\n }/user-alert/fetch-alert?id=` + alertId + `&leaseId=` + leaseId, { headers }).then((response) => {\n return response.json();\n }).then((data) => {\n console.log(data, \"data\");\n this.state.initialValues = {\n assetName: data.data.alert_name,\n assetId: data.data.assets,\n stateName: data.data.state.label,\n stateId: data.data.state.value,\n emails: data.data.emails.split(\",\"),\n alertName: data.data.alert_name,\n alertText: data.data.alert_text,\n frequencySelected: data.data.frequency, // .split(\",\")\n selectedStates: data.data.state,\n brandSelected: data.data.brands,\n assetSelected: data.data.assets,\n assetId: data.assetIdArr,\n brandId: data.brandIdArr,\n leaseId: data.data.leaseId,\n regionName: data.data.region,\n regionId: data.data.region\n };\n this.state.leaseSelected = data.leaseIdArr;\n this.state.initialValues.reportType = data.data.type.label\n this.state.initialValues.reportId = data.data.type.value\n\n console.log(leaseId, \"leaseId\");\n if (leaseId == 0) {\n this.getAssetsListByBrand();\n this.fetchLeases();\n }\n\n\n this.state.initialValues.leaseId = data.leaseId;\n //this.state.initialValues.brandName = data.data.brands.label\n //this.state.initialValues.brandId = data.data.brands.value\n\n this.setState({});\n }).catch((error) => {\n console.log(error);\n });\n };\n\n submitForm = (values) => {\n console.log(this.validator.allValid());\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n\n\n console.log(values, \"asdas\", this.state);\n var self = this;\n this.state.initialValues.leaseSelected = this.state.leaseSelected;\n axios({\n method: \"post\",\n url: this.state.formUrl, //`${apiUrl.apiUrl.url}/user-alert/create-alert`,\n data: this.state.initialValues,\n }).then(function (response) {\n if (!response.data.success) {\n alert(\"Please fill all the fields.\");\n } else {\n self.closeModal();\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully\",\n });\n self.loadAlertsData(self.state.activeAlert);\n self.setState({\n // url: `${apiUrl.apiUrl.url}/asset/create-tower`,\n // self.setState({ redirect: true });\n redirect: true,\n emails: [],\n frequencySelected: [],\n isOpen: false,\n initialValues: {\n assetName: \"\",\n assetId: \"\",\n stateName: \"\",\n stateId: \"\",\n emails: \"\",\n alertName: \"\",\n alertText: \"\",\n frequencySelected: [],\n emails: [],\n },\n });\n }\n });\n };\n\n render() {\n const { isOpen } = this.state;\n\n return this.renderForm();\n }\n renderForm() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n console.log(window.location.pathname)\n return (\n <>\n
    \n \n
    \n
    \n
      \n
    • Alerts
    • \n
    • \n
    • My Alerts
    • \n
    \n
    \n {![\"checker\", \"user\"].includes(getUserRole()) && (\n \n Create Alert\n \n )}\n\n
    \n
    \n \n
    \n
    \n
    \n
    \n {\n this.state.currentAlertStatus = e.target.value;\n this.setState({});\n this.loadAlertsData(this.state.activeAlert);\n }}\n >\n \n \n \n \n \n {\n this.state.currentFilterStatus = e.target.value;\n this.setState({});\n }}\n >\n \n \n \n \n \n
    \n \n
    \n
    \n \n this.loadAlertsData('expiry')} >Lease Expiry \n this.loadAlertsData('lockin')} >Lease Lockin\n this.loadAlertsData('rent')} >Rent\n this.loadAlertsData('security')} >Security Deposit\t\n this.loadAlertsData('fitout-security')} >Fitout Security Deposit\t\n \n
    \n \n
    \n\n
    \n \n {this.state.alertList[\"expiry\"].map((name, index) => (\n \n \n \n
    \n
    \n

    this.loadAlertsList(\"expiry\", name.id)}>{name.alert_name}

    \n
    \n
    \n

    this.loadAlertsList(\"expiry\", name.id)}>\n {name.created_at} (Date Created)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n {typeof this.state.alertItems[\"expiry\"][name.id] != \"undefined\" && this.state.alertItems[\"expiry\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n <>\n
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n ))\n }\n {\n (typeof this.state.alertItems[\"expiry\"][name.id] == \"undefined\" || this.state.alertItems[\"expiry\"][name.id].length == 0) && (\n
    No Data
    \n )\n }\n
    \n
    \n
    \n ), this)\n }\n {this.state.alertList[\"expiry\"].length == 0 &&

    No data

    }\n\n
    \n \n {this.state.alertList[\"lockin\"].map((name, index) => (\n \n \n \n
    \n
    \n

    this.loadAlertsList(\"lockin\", name.id)}>\n {name.alert_name}\n

    \n
    \n\n
    \n

    this.loadAlertsList(\"lockin\", name.id)}>\n {name.created_at} (Date Created)\n

    \n
    \n\n
    \n \n\n \n\n \n\n \n\n \n
    \n
    \n
    \n \n {/* { typeof this.state.alertItems[\"lockin\"][name.id] != \"undefined\" && this.state.alertItems[\"lockin\"][name.id]].filter(filterItem => ( this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1 ) || ( this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1 ) || ( this.state.currentFilterStatus == 3 && filterItem.sent_status == 1 ) ) ).map((leaseDetails, index1) => ( */}\n {/* {typeof this.state.alertItems[\"lockin\"][name.id] != \"undefined\" && this.state.alertItems[\"lockin\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n

     

    \n

     

    \n
    \n
    \n

    this.pauseAlert(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Pause Alert

    \n
    \n
    \n

    this.markAsDone(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Mark as Done

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Change Alert Date

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Edit Alert

    \n
    \n
    \n ))} */}\n {typeof this.state.alertItems[\"lockin\"][name.id] != \"undefined\" && this.state.alertItems[\"lockin\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n <>\n {/* {console.log(this.state.alertItems[\"lockin\"], \"this.state.alertItems[lockin]\"), '\\n', this.state.alertItems[\"lockin\"][name.id], \"this.state.alertItems[lockin][name.id]\", '\\n', this.state.currentFilterStatus, \"this.state.currentFilterStatus\"} */}\n
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n ))}\n {(typeof this.state.alertItems[\"lockin\"][name.id] == \"undefined\" || this.state.alertItems[\"lockin\"][name.id].length == 0) && (\n
    No Data
    \n )}\n
    \n
    \n
    \n ), this)\n }\n {this.state.alertList[\"lockin\"].length == 0 &&

    No data

    }\n\n
    \n \n {this.state.alertList[\"rent\"].map((name, index) => (\n \n \n \n
    \n
    \n

    this.loadAlertsList(\"rent\", name.id)}>\n {name.alert_name}\n

    \n
    \n
    \n

    this.loadAlertsList(\"rent\", name.id)}>\n {name.created_at} (Date Created)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n\n
    \n \n {/* { typeof this.state.alertItems[\"rent\"][name.id] != \"undefined\" && this.state.alertItems[\"rent\"][name.id]].filter(filterItem => ( this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1 ) || ( this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1 ) || ( this.state.currentFilterStatus == 3 && filterItem.sent_status == 1 ) ) ).map((leaseDetails, index1) => ( */}\n\n {typeof this.state.alertItems[\"rent\"][name.id] != \"undefined\" && this.state.alertItems[\"rent\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n <>\n {/*
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n

    Rs.{leaseDetails.rent} / mo Rent

    \n

    {leaseDetails.gross_leasable_area} sqft

    \n
    \n
    \n

    this.pauseAlert(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Pause Alert

    \n
    \n
    \n

    this.markAsDone(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Mark as Done

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Change Alert Date

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Edit Alert

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

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n

    Rs.{leaseDetails.rent} / mo Rent ({leaseDetails.gross_leasable_area} sqft)

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n ))\n\n\n }\n {\n (typeof this.state.alertItems[\"rent\"][name.id] == \"undefined\" || this.state.alertItems[\"rent\"][name.id].length == 0) && (\n
    No Data
    \n )\n }\n
    \n
    \n
    \n ), this)\n }\n {this.state.alertList[\"rent\"].length == 0 &&

    No data

    }\n
    \n \n {this.state.alertList[\"security\"].map((name, index) => (\n \n \n \n
    \n
    \n

    this.loadAlertsList(\"security\", name.id)}>{name.alert_name}

    \n
    \n
    \n

    this.loadAlertsList(\"security\", name.id)}>\n {name.created_at} (Date Created)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n {/* { typeof this.state.alertItems[\"security\"][name.id] != \"undefined\" && this.state.alertItems[\"security\"][name.id]].filter(filterItem => ( this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1 ) || ( this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1 ) || ( this.state.currentFilterStatus == 3 && filterItem.sent_status == 1 ) ) ).map((leaseDetails, index1) => ( */}\n {typeof this.state.alertItems[\"security\"][name.id] != \"undefined\" && this.state.alertItems[\"security\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n <>\n {/*
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n

    Rs.{leaseDetails.rent}

    \n

     

    \n

    Rs.{leaseDetails.rent} / mo Rent

    \n

    {leaseDetails.gross_leasable_area} sqft

    \n
    \n
    \n

    this.pauseAlert(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Pause Alert

    \n
    \n
    \n

    this.markAsDone(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Mark as Done

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Change Alert Date

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Edit Alert

    \n
    \n
    \n

    this.editAlert(name.id,leaseDetails.lease_id)} >\n \n

    \n

    Delete Alert

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

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n

    Rs.{leaseDetails.rent}

    \n
    \n
    \n \n \n \n \n \n
    \n\n {/*
    \n \n \n \n \n
    */}\n
    \n \n ))\n }\n {\n (typeof this.state.alertItems[\"security\"][name.id] == \"undefined\" || this.state.alertItems[\"security\"][name.id].length == 0) && (\n
    No Data
    \n )\n }\n
    \n
    \n
    \n ), this)\n }\n {this.state.alertList[\"security\"].length == 0 &&

    No data

    }\n\n
    \n \n {this.state.alertList[\"fitout-security\"].map((name, index) => (\n \n \n \n
    \n
    \n

    this.loadAlertsList(\"fitout-security\", name.id)}>{name.alert_name}

    \n
    \n
    \n

    this.loadAlertsList(\"fitout-security\", name.id)}>\n {name.created_at} (Date Created)\n

    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n {/* { typeof this.state.alertItems[\"security\"][name.id] != \"undefined\" && this.state.alertItems[\"security\"][name.id]].filter(filterItem => ( this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1 ) || ( this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1 ) || ( this.state.currentFilterStatus == 3 && filterItem.sent_status == 1 ) ) ).map((leaseDetails, index1) => ( */}\n {typeof this.state.alertItems[\"fitout-security\"][name.id] != \"undefined\" && this.state.alertItems[\"fitout-security\"][name.id].filter(filterItem => (this.state.currentFilterStatus == 0 || (filterItem.pause_status == 1 && this.state.currentFilterStatus == 1) || (this.state.currentFilterStatus == 2 && filterItem.mark_as_done == 1) || (this.state.currentFilterStatus == 3 && filterItem.sent_status == 1))).map((leaseDetails, index1) => (\n <>\n {/*
    \n
    \n

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n
    \n
    \n

    Rs.{leaseDetails.rent}

    \n

     

    \n

    Rs.{leaseDetails.rent} / mo Rent

    \n

    {leaseDetails.gross_leasable_area} sqft

    \n
    \n
    \n

    this.pauseAlert(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Pause Alert

    \n
    \n
    \n

    this.markAsDone(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}>\n \n

    \n

    Mark as Done

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Change Alert Date

    \n
    \n
    \n

    this.editAlert(name.id, leaseDetails.lease_id)} >\n \n

    \n

    Edit Alert

    \n
    \n
    \n

    this.editAlert(name.id,leaseDetails.lease_id)} >\n \n

    \n

    Delete Alert

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

    {leaseDetails.lease_code}

    \n

    {leaseDetails.tower}, {leaseDetails.asset}

    \n
    \n
    \n

    \n {leaseDetails.lease_expiry_date} (in {leaseDetails.days_remaining} Days)\n

    \n

    Rs.{leaseDetails.rent}

    \n
    \n
    \n \n \n \n \n \n
    \n {/*
    \n this.pauseAlert(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}\n >\n \n \n this.markAsDone(name.id, leaseDetails.lease_id, leaseDetails.frequency, leaseDetails.lease_expiry_date)}\n >\n \n \n this.editAlert(name.id, leaseDetails.lease_id)}\n >\n \n \n this.editAlert(name.id, leaseDetails.lease_id)}\n >\n \n \n
    */}\n
    \n \n ))\n }\n {\n (typeof this.state.alertItems[\"fitout-security\"][name.id] == \"undefined\" || this.state.alertItems[\"fitout-security\"][name.id].length == 0) && (\n
    No Data
    \n )\n }\n
    \n
    \n
    \n ), this)\n }\n {this.state.alertList[\"fitout-security\"].length == 0 &&

    No data

    }\n\n
    \n
    \n\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
      \n
    • Add Alert
    • \n
    \n
    \n
    \n
    \n
    \n
    \n \n {\n // console.log(\"oye jhjoe\");\n // if (!this.validator.allValid()) {\n // this.validator.showMessages();\n // return false;\n // }\n // values.emails = this.state.emails;\n // values.assetId = this.state.initialValues.assetId;\n // values.brandId = this.state.initialValues.brandId;\n // console.log(values, \"values\");\n\n // var self = this;\n // axios({\n // method: \"post\",\n // url: this.state.url,\n // data: values,\n // }).then(function (response) {\n // if (!response.data.success) {\n // actions.setSubmitting(false);\n // actions.setErrors(response.data);\n // alert(response.data.message);\n // } else {\n // self.setState({\n // messsagePopup: true,\n // popupContent: \"Data Saved Successfully\",\n // });\n // self.setState({\n // // url: `${apiUrl.apiUrl.url}/asset/create-tower`,\n // // self.setState({ redirect: true });\n // redirect: true,\n // emails: [],\n // frequencySelected: [],\n // isOpen: false,\n // initialValuesAlertSettings: {\n // assetTypeId: \"\",\n // assetId: \"\",\n // subAssetId: \"\",\n // towerName: \"\",\n // assetName: \"\",\n // subAssetName: \"\",\n // assetType: \"\",\n // countryId: \"\",\n // stateId: \"\",\n // districtId: \"\",\n // cityId: \"\",\n // frequencySelected: [],\n // },\n // });\n // }\n // });\n // }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.valueChange(e, \"change_alert\");\n }}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.state.initialValues.reportType = e.label;\n this.state.initialValues.reportId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.reportType,\n value: this.state.initialValues.reportId,\n }}\n options={[\n { value: \"expiry\", label: \"Lease Expiry\" },\n { value: \"lockin\", label: \"Lease Lockin\" },\n { value: \"Rent\", label: \"Lease Rent\" },\n { value: \"security\", label: \"Security Deposit\" },\n { value: \"fitout-security\", label: \"Fitout Security Deposit\" },\n ]}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_alert_text\");\n }}\n value={this.state.initialValues.alertText}\n >\n \n
    \n
    \n\n
    \n \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_region\");\n }}\n //\n //this.state.initialValues.selectedStates\n value={{\n label: this.state.initialValues.regionName,\n value: this.state.initialValues.regionId,\n }}\n options={this.state.regionList.map((item) => ({\n label: item.region_name,\n value: item.region_name,\n }))}\n />\n {/* */}\n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_state\");\n }}\n value={{\n label: this.state.initialValues.stateName,\n value: this.state.initialValues.stateId,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={this.state.initialValues.brandSelected}\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_asset_name\");\n }}\n value={this.state.initialValues.assetSelected}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n
    \n\n
    \n \n
    \n { }}\n onChange={(_emails: string[]) => {\n this.state.initialValues.emails = _emails;\n this.setState({});\n }}\n getLabel={(email: string, index: number, removeEmail: (index: number) => void) => {\n return (\n
    \n {email}\n removeEmail(index)}>\n \n \n \n \n
    \n );\n }}\n />\n
    \n
    \n\n
    \n \n
    \n {\n this.frequencyChange(e);\n }}\n value={this.state.initialValues.frequencySelected}\n required\n options={[\n { label: \"6 Months\", value: 6 },\n { label: \"5 Months\", value: 5 },\n { label: \"4 Months\", value: 4 },\n { label: \"3 Months\", value: 3 },\n { label: \"2 Months\", value: 2 },\n { label: \"1 Months\", value: 1 },\n { label: \"15 Days\", value: \"15 Days\" },\n ]}\n />\n \n
    \n
    \n\n\n
    \n
    \n \n Save\n \n {\n this.resetForm(values);\n this.closeModal();\n }}\n >\n Cancel\n \n
    \n
    \n
    \n
    \n\n {/*
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_alert\");\n }}\n />\n \n
    \n
    \n \n
    \n
    \n {\n this.state.initialValues.reportType = e.label;\n this.state.initialValues.reportId = e.value;\n this.setState({});\n }}\n value={{\n label: this.state.initialValues.reportType,\n value: this.state.initialValues.reportId,\n }}\n options={[\n {\n value: \"expiry\",\n label: \"Lease Expiry\",\n }, {\n value: \"lockin\",\n label: \"Lease Lockin\",\n },\n {\n value: \"Rent\",\n label: \"Lease Rent\",\n },\n {\n value: \"security\",\n label: \"Security Deposit\",\n },\n {\n value: \"fitout-security\",\n label: \"Fitout Security Deposit\",\n },\n ].map((item) => ({\n label: item.label,\n value: item.value,\n }))}\n />\n \n
    \n\n\n
    \n

    Alert Text

    \n
    \n
    \n\n {\n //handleChange(e);\n this.valueChange(e, \"change_alert_text\");\n }}\n value={this.state.initialValues.alertText}\n >\n \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_state\");\n }}\n //\n //this.state.initialValues.selectedStates\n value={{\n label: this.state.initialValues.stateName,\n value: this.state.initialValues.stateId,\n }}\n options={this.state.states.map((item) => ({\n label: item.state_name,\n value: item.id,\n }))}\n />\n \n\n
    \n\n\n
    \n \n
    \n
    \n {\n this.valueChange(e, \"change_brand\");\n }}\n value={\n this.state.initialValues.brandSelected\n }\n options={this.state.brandList.map((item) => ({\n label: item.brand_name,\n value: item.id,\n }))}\n />\n \n
    \n\n
    \n \n
    \n
    \n {\n //handleChange(e);\n this.valueChange(e, \"change_asset_name\");\n }}\n value={\n this.state.initialValues.assetSelected\n }\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n \n
    \n\n
    \n \n
    \n
    \n {\n this.valueChange(e, \"change_lease_number\");\n }}\n value={this.state.leaseSelected}\n options={this.state.leaseList.map((item) => ({\n label: item.lease_code,\n value: item.id,\n }))}\n />\n \n
    \n\n
    \n \n
    \n
    \n { }}\n onChange={(_emails: string[]) => {\n this.state.initialValues.emails = _emails;\n this.setState({});\n }}\n getLabel={(\n email: string,\n index: number,\n removeEmail: (index: number) => void\n ) => {\n return (\n
    \n {email}\n removeEmail(index)}\n >\n x\n \n
    \n );\n }}\n />\n
    \n\n
    \n \n
    \n
    \n {\n this.frequencyChange(e);\n }}\n value={this.state.initialValues.frequencySelected}\n required\n options={[\n { label: \"6 Months\", value: 6 },\n { label: \"5 Months\", value: 5 },\n { label: \"4 Months\", value: 4 },\n { label: \"3 Months\", value: 3 },\n { label: \"2 Months\", value: 2 },\n { label: \"1 Months\", value: 1 },\n {\n label: \"15 Days\",\n value: \"15 Days\",\n },\n ].map((item) => ({\n label: item.label,\n value: item.label,\n }))}\n />\n\n
    \n \n
    \n\n \n Save\n \n {\n this.resetForm(values);\n this.closeModal();\n }}\n >\n Cancel\n \n
    \n
    \n
    \n
    \n
    \n */}\n \n )}\n \n \n {/* \n \n Close\n \n */}\n \n \n \n );\n }\n}\nexport default withRouter(UserNotification);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport Popup from \"reactjs-popup\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport \"react-confirm-alert/src/react-confirm-alert.css\"; // Import css\nimport { getUserRole } from \"../utils/index\";\nimport {\n faSearch,\n faTrashAlt,\n faPen,\n faTimes,\n faUndo,\n faChartBar,\n faEye,\n faInfoCircle,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\n\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LeaseListingTable = ({ ths }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [leaseId, setLeaseId] = useState(0);\n const [popupKey, setpopupKey] = useState(0);\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/outflow/get-outflow-details?page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const deleteOutflow = (id) => {\n var del_message = \"Are you sure you want to delete this outflow.\";\n\n\n confirmAlert({\n title: \"Confirm to delete\",\n message: del_message,\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/outflow/delete?id=` + id,\n data: { id: id },\n }).then(function (response) {\n ths.resetCounter();\n //ths.loadLeaseCountStatuswise();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n },\n },\n ],\n });\n };\n\n function DeleteBtn(props) {\n return (\n\n <>\n deleteOutflow(props.outflowId, props.ths)}\n >\n \n \n \n\n );\n }\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/outflow/get-outflow-details?page=${page}&per_page=${newPerPage}&delay=1`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [modalGraphOpen, setGraphOpen] = React.useState(false);\n\n function openFromParent() {\n setIsOpen(true);\n }\n\n function modalGraphClose() {\n setGraphOpen(false);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Outflow Type\",\n selector: \"outflow_type\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: \"asset_name\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"From Period\",\n selector: \"from_period\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"To Period\",\n selector: \"to_period\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Expense\",\n selector: \"total_expense\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Action\",\n grow: 3,\n sortable: false,\n cell: (record) => {\n return (\n
    \n \n \n {\" \"}\n \n \n \n\n \n
    \n );\n },\n },\n ];\n\n return (\n <>\n
    \n
    \n \n {/* \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    */}\n
    \n
    \n\n\n \n );\n};\nexport default LeaseListingTable;\n","import React from \"react\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport LeaseListingTable from \"./LeaseListingTable\";\nimport TopHeader from \"../layout/TopHeader\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { getUserRole } from \"../utils/index\";\nclass LeaseListing extends React.Component {\n state = {\n showProspect: false,\n redirect: false,\n brands: [],\n assets: [],\n statusCount: {},\n selectedBrand: this.props.match.params.brand ?? 0,\n selectedAsset: \"\",\n randomNum: \"\",\n selectedStatus: Number(this.props.match.params.status),\n state: this.props.match.params.state ?? 0,\n };\n\n constructor(props) {\n super(props);\n }\n\n resetCounter = () => {\n this.setState({\n randomNum: Math.random(),\n });\n };\n\n componentDidMount() { }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n
    \n \n
    \n
    \n
      \n
    • \n Outflow\n
    • \n {![\"checker\", \"user\"].includes(getUserRole()) && (\n <>\n
    • \n \n Create\n \n \n )}\n
    \n
    \n
    \n\n \n
    \n );\n }\n}\n\nexport default withRouter(LeaseListing);\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage, InfoPopupMessage } from \"../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../layout/TopHeader\";\nimport SimpleReactValidator from \"simple-react-validator\";\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst YearArr = [];\n\nfor (var i = 2015; i <= 2030; i++) {\n YearArr.push(i)\n}\n\nclass OutflowComponentCreate extends React.Component {\n\n\n\n state = {\n disableFields: false,\n LandlordGroups: [],\n clientList: [],\n redirect: false,\n assetsList: [],\n financialYearOne: '',\n financialYearTwo: '',\n url: `${apiUrl.apiUrl.url}/outflow/save-asset-wise-data`,\n id: undefined,\n formElements: [],\n filterShow: true,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n financialYearOne: '',\n financialYearTwo: '',\n bifurcationStatus: 0,\n outflow_type: \"\",\n sub_total: 0,\n mark_up: 0,\n sinking_fund: 0,\n total_expense: 0\n },\n };\n\n resetForm(values) {\n this.state.initialValues = {};\n values.groupId = \"\";\n\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n this.validator = new SimpleReactValidator({ autoForceUpdate: this });\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-assets-by-filter`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n }\n\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/outflow/save-asset-wise-data`,\n\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n outflow_type: \"\",\n financialYearOne: \"\",\n financialYearTwo: \"\",\n\n },\n });\n } else {\n let self = this;\n axios.get(`${apiUrl.apiUrl.url}/outflow/fetch-outflow-data?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n self.setState({\n url: `${apiUrl.apiUrl.url}/outflow/update-asset-wise-data?id=${self.props.match.params.id}`,\n formElements: data.formElements,\n financialYearOne: new Date(data.postAllData.financialYearOne),\n financialYearTwo: new Date(data.postAllData.financialYearTwo),\n disableFields: true,\n filterShow: false\n });\n\n\n self.state.initialValues = {\n financialYearOne: data.postAllData.financialYearOne,\n financialYearTwo: data.postAllData.financialYearTwo,\n bifurcationStatus: data.postAllData.bifurcationStatus,\n outflow_type: data.postAllData.outflow_type,\n sub_total: data.postAllData.sub_total,\n mark_up: data.postAllData.mark_up,\n sinking_fund: data.postAllData.sinking_fund,\n total_expense: data.postAllData.total_expense,\n assetId: data.postAllData.assetId,\n assetName: data.postAllData.assetName,\n OutflowOpexType: data.otherDetailsArr.OutflowOpexType,\n OutflowSubType: data.otherDetailsArr.OutflowSubType,\n outflow: data.otherDetailsArr.outflow,\n }\n self.setState({});\n });\n\n\n // fetch(\n // `${apiUrl.apiUrl.url}/outflow/fetch-outflow-data?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data, \"data.data\");\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/outflow/update-asset-wise-data?id=${this.props.match.params.id}`,\n // formElements: data.formElements,\n // financialYearOne: new Date(data.postAllData.financialYearOne),\n // financialYearTwo: new Date(data.postAllData.financialYearTwo),\n // disableFields: true,\n // filterShow: false\n // });\n\n\n // this.state.initialValues = {\n // financialYearOne: data.postAllData.financialYearOne,\n // financialYearTwo: data.postAllData.financialYearTwo,\n // bifurcationStatus: data.postAllData.bifurcationStatus,\n // outflow_type: data.postAllData.outflow_type,\n // sub_total: data.postAllData.sub_total,\n // mark_up: data.postAllData.mark_up,\n // sinking_fund: data.postAllData.sinking_fund,\n // total_expense: data.postAllData.total_expense,\n // assetId: data.postAllData.assetId,\n // assetName: data.postAllData.assetName,\n // OutflowOpexType: data.otherDetailsArr.OutflowOpexType,\n // OutflowSubType: data.otherDetailsArr.OutflowSubType,\n // outflow: data.otherDetailsArr.outflow,\n // }\n // this.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n\n valueChange = (newValue, actionMeta) => {\n console.log(\"newVa calling..\", newValue, \"meta\", actionMeta);\n\n //newValue.value = newValue.target.value;\n //newValue.label = newValue.target.value;\n\n if (actionMeta == \"change_state\") {\n this.state.initialValues.stateId = newValue.value;\n this.state.initialValues.state_name = newValue.label;\n\n this.state.initialValues.districtId = \"\";\n this.state.initialValues.districtName = \"\";\n this.state.initialValues.cityId = \"\";\n this.state.initialValues.cityName = \"\";\n\n\n this.state.initialValues.assetId = \"\";\n this.state.initialValues.assetName = \"\";\n\n fetch(\n `${apiUrl.apiUrl.url}/district/state-districts?state_id=` +\n newValue.value,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n districtList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n //districtList\n } else if (actionMeta == \"change_asset_name\") {\n //\n this.state.initialValues.assetId = newValue.value;\n this.state.initialValues.assetName = newValue.label;\n\n } else if (actionMeta == \"change_lease_month\") {\n //change_lease_number\n this.state.initialValues.leaseMonthId = newValue.value;\n this.state.initialValues.leaseMonthId = newValue.label;\n }\n this.setState({});\n };\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/outflow/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this data\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/outflow/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n\n\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n infoClose = () => {\n this.setState({\n redirect: false,\n messsageInfoPopup: false\n });\n }\n\n setTotalExpense = () => {\n let sinking_fund = parseFloat(this.state.initialValues.sinking_fund > 0 ? this.state.initialValues.sinking_fund : 0);\n let total = parseFloat(this.state.initialValues.sub_total > 0 ? this.state.initialValues.sub_total : 0);\n let mark_up = parseFloat(this.state.initialValues.mark_up > 0 ? this.state.initialValues.mark_up : 0);\n\n console.log(total, \"==\", sinking_fund, \"===\", mark_up)\n //var total = this.state.initialValues.sub_total;\n this.state.initialValues.total_expense = (total + ((mark_up * total) / 100) + ((sinking_fund * total) / 100)).toFixed(2)\n this.setState({});\n }\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n outflow_type: \"\",\n financialYearOne: \"\",\n financialYearTwo: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n outflow_type: \"\",\n financialYearOne: \"\",\n financialYearTwo: \"\",\n },\n });\n };\n\n\n year = () => {\n const arr = [];\n\n\n for (let i = 0; i < 10; i++) {\n arr.push();\n }\n return
    year
    \n }\n\n formatDate = (date) => {\n var d = new Date(date),\n month = \"\" + (d.getMonth() + 1),\n day = \"\" + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) month = \"0\" + month;\n if (day.length < 2) day = \"0\" + day;\n\n return [year, month, day].join(\"-\");\n };\n\n handleCalenderOnBlur = () => {\n this.state.initialValues.financialYearOne = this.formatDate(\n this.state.financialYearOne\n );\n this.state.initialValues.financialYearTwo = this.formatDate(\n this.state.financialYearTwo\n );\n };\n getAssetsList = (input, e, cust) => {\n if (\n (typeof e != \"undefined\" && e.action == \"input-change\") ||\n cust === true\n ) {\n fetch(\n `${apiUrl.apiUrl.url}/unit-detail/get-all-assets?city_id=` +\n this.state.initialValues.cityId +\n `&assetName=` +\n input,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"data\", data);\n this.setState({\n assetsList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n <>\n \n
    \n {this.renderForm()}\n
    \n \n );\n }\n\n renderForm() {\n return (\n <>\n\n
    \n
    \n
      \n
    • \n Outflow\n
    • \n
    • \n
    • \n Create Outflow Master\n
    • \n
    \n
    \n
    \n\n\n {\n // values.assetTypeId = this.state.initialValues.assetTypeId;\n // values.assetId = this.state.initialValues.assetId;\n // values.subAssetId = this.state.initialValues.subAssetId;\n if (this.validator.allValid()) {\n this.validator.hideMessages();\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/outflow/get-asset-wise-data`,\n data: this.state.initialValues,\n }).then(function (response) {\n console.log(response.data.count, \"count chekcing\");\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n if (response.data.count == 0) {\n self.state.formElements = response.data.formElements\n self.state.initialValues.OutflowOpexType = response.data.otherDetailsArr.OutflowOpexType;\n self.state.initialValues.OutflowSubType = response.data.otherDetailsArr.OutflowSubType;\n self.state.initialValues.outflow = response.data.otherDetailsArr.outflow;\n self.state.filterShow = false;\n } else {\n self.setState({\n messsageInfoPopup: true,\n popupInfoContent: \"There is already entry exists for this Period \",\n });\n self.state.filterShow = true;\n }\n\n self.setState({});\n }\n });\n } else {\n this.validator.showMessages();\n }\n\n\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n
    \n
    \n
    \n
    \n {clientAccess() && (\n
    \n \n
    \n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n
    \n
    \n )}\n\n {clientAccess() && (\n
    \n \n
    \n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n )}\n\n
    \n \n
    \n {\n this.state.initialValues.outflow_type = e.target.value;\n this.state.filterShow = true;\n handleChange(e);\n this.setState({});\n }}\n >\n
    \n
    \n\n
    \n \n
    \n {\n this.state.filterShow = true;\n if (this.state.disableFields === false) {\n this.valueChange(e, \"change_asset_name\");\n }\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n {this.validator.message('Asset', this.state.initialValues.assetId, 'required')}\n
    \n
    \n\n
    \n \n
    \n this.setState({ financialYearOne: date, filterShow: true })}\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message('Start Date', this.state.financialYearOne, 'required')}\n
    \n
    \n\n
    \n \n
    \n this.setState({ financialYearTwo: date, filterShow: true })}\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month to\"\n selected={this.state.financialYearTwo}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message('To Date', this.state.financialYearTwo, 'required')}\n
    \n
    \n\n
    \n \n
    \n {\n this.state.filterShow = true;\n this.state.initialValues.bifurcationStatus = e.target.checked ? true : false;\n this.setState({});\n }}\n />\n
    \n
    \n
    \n {this.props.match.params.id === undefined && this.state.filterShow && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n\n\n {/*
    \n
    \n
    \n
    \n {clientAccess() && (\n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n\n
    \n
    \n
    \n
    \n )}\n {clientAccess() && (\n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.outflow_type = e.target.value;\n this.state.filterShow = true;\n handleChange(e);\n this.setState({})\n }}\n >\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n {\n //this.changeAsset(e);\n this.state.filterShow = true;\n if (this.state.disableFields == false) {\n this.valueChange(e, \"change_asset_name\");\n }\n\n }}\n value={{\n label: this.state.initialValues.assetName,\n value: this.state.initialValues.assetId,\n }}\n options={this.state.assetsList.map((item) => ({\n label: item.asset_name,\n value: item.id,\n }))}\n />\n\n {this.validator.message('Asset ', this.state.initialValues.assetId, 'required')}\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearOne: date, filterShow: true })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month From\"\n selected={this.state.financialYearOne}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n maxDate={this.state.financialYearTwo}\n />\n {this.validator.message('Start Date ', this.state.financialYearOne, 'required')}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n this.setState({ financialYearTwo: date, filterShow: true })\n }\n onBlur={this.handleCalenderOnBlur}\n dateFormat=\"MMMM yyyy\"\n showMonthYearPicker\n placeholderText=\"Month to\"\n selected={this.state.financialYearTwo}\n //selected={this.state.initialValues.financialYearOne}\n onCalendarClose={this.handleCalenderOnBlur}\n minDate={this.state.financialYearOne}\n />\n {this.validator.message('To Date ', this.state.financialYearTwo, 'required')}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n this.state.filterShow = true;\n this.state.initialValues.bifurcationStatus = e.target.checked ? true : false;\n this.setState({})\n //this.handleChange;\n }}\n />\n
    \n
    \n
    \n
    \n\n\n {this.props.match.params.id === undefined && this.state.filterShow ? (\n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n ) : <>}\n\n
    \n
    \n
    \n
    \n
    */}\n
    \n )}\n \n\n {\n console.log(values);\n var self = this;\n\n //this.state.initialValues.formData = values;\n console.log(this.state.initialValues, \"intialvalues\");\n axios({\n method: \"post\",\n url: this.state.url, //`${apiUrl.apiUrl.url}/outflow/save-asset-wise-data`,\n data: { 'initialValues': this.state.initialValues, 'values': values },\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n //self.state.formElements = response.data.formElements\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n
    \n\n
    \n
    \n
    \n
    \n {\n (!this.state.filterShow && this.state.initialValues.bifurcationStatus == 1 && this.state.initialValues.outflow_type == \"CAM\") && this.state.formElements.map((element, index) => (\n
    \n \n {\n this.state.formElements[index].elements.map((subElement, subIndex) => (\n \n {\n subIndex > 0 &&\n \n }\n \n
    \n {\n subElement['type'].length > 0 ?\n {\n this.state.initialValues[\"OutflowSubType\"][element.label][subElement.label] = e.target.value;\n this.setState({})\n handleChange(e);\n }}\n >\n \n ))}\n \n : '-'\n }\n
    \n
    \n {\n var id = e.target.getAttribute(\"param\");\n console.log(e.target.value, \"target\")\n this.state.initialValues[\"OutflowOpexType\"][element.label][subElement.label] = e.target.value;\n this.setState({})\n handleChange(e);\n }}\n >\n \n ))}\n \n
    \n
    \n {\n let total = 0;\n Object.keys(values.outflow).forEach(function (val, ind) {\n Object.keys(values.outflow[val]).forEach(function (subHead, subInd) {\n if (values.outflow[val][subHead] > 0) {\n total += parseFloat(values.outflow[val][subHead]);\n }\n })\n })\n this.state.initialValues.sub_total = total;\n this.state.initialValues.total_expense = (total + ((this.state.initialValues.mark_up * total) / 100) + ((this.state.initialValues.sinking_fund * total) / 100)).toFixed(2)\n this.setState({});\n handleChange(e);\n }} />\n
    \n
    \n ))\n }\n
    \n ))\n }\n {\n (!this.state.filterShow && ((this.state.initialValues.outflow_type != \"CAM\") || (this.state.initialValues.bifurcationStatus == false && this.state.initialValues.outflow_type == \"CAM\") || (this.state.formElements.length > 0))) &&\n <>\n
    \n \n
    \n {\n this.state.initialValues.sub_total = e.target.value;\n let total = e.target.value;\n this.setTotalExpense();\n handleChange(e);\n }} />\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.mark_up = e.target.value;\n this.setTotalExpense();\n handleChange(e);\n }} />\n
    \n
    \n
    \n \n
    \n {\n this.state.initialValues.sinking_fund = e.target.value;\n this.setTotalExpense();\n handleChange(e);\n }} />\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n }\n
    \n {!this.state.filterShow && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n\n\n {/*
    \n
    \n {\n (!this.state.filterShow &&\n this.state.initialValues.bifurcationStatus == 1\n && this.state.initialValues.outflow_type == \"CAM\")\n && this.state.formElements.map((element, index) => (\n <>\n
    \n
    \n \n
    \n {\n this.state.formElements[index].elements.map((subElement, subIndex) => (\n <>\n {\n subIndex > 0 &&\n
    \n \n
    \n }\n
    \n \n
    \n
    \n\n {\n subElement['type'].length > 0 ?\n\n {\n this.state.initialValues[\"OutflowSubType\"][element.label][subElement.label] = e.target.value;\n this.setState({})\n handleChange(e);\n }}\n >\n \n ))}\n \n : '-'\n }\n\n\n\n\n
    \n
    \n\n {\n var id = e.target.getAttribute(\"param\");\n console.log(e.target.value, \"target\")\n this.state.initialValues[\"OutflowOpexType\"][element.label][subElement.label] = e.target.value;\n this.setState({})\n\n handleChange(e);\n // this.displayUnitDetails(e, )\n }}\n >\n \n ))}\n \n\n\n
    \n
    \n {\n let total = 0;\n Object.keys(values.outflow).forEach(function (val, ind) {\n Object.keys(values.outflow[val]).forEach(function (subHead, subInd) {\n if (values.outflow[val][subHead] > 0) {\n total += parseFloat(values.outflow[val][subHead]);\n }\n })\n })\n this.state.initialValues.sub_total = total;\n\n this.state.initialValues.total_expense = (total + ((this.state.initialValues.mark_up * total) / 100) + ((this.state.initialValues.sinking_fund * total) / 100)).toFixed(2)\n\n this.setState({});\n handleChange(e);\n }} />\n
    \n \n ))\n }\n\n
    \n \n ), this)\n }\n {\n (!this.state.filterShow && ((this.state.initialValues.outflow_type != \"CAM\") || (this.state.initialValues.bifurcationStatus == false && this.state.initialValues.outflow_type == \"CAM\") || (this.state.formElements.length > 0))) &&\n <>\n
    \n
    \n \n
    \n
    \n {\n this.state.initialValues.sub_total = e.target.value;\n let total = e.target.value;\n //this.state.initialValues.total_expense = (total + (( this.state.initialValues.mark_up * total ) / 100) + (( this.state.initialValues.sinking_fund * total ) / 100)).toFixed(2)\n this.setTotalExpense();\n handleChange(e);\n }} />\n
    \n
    \n
    \n
    \n \n
    \n
    \n {\n this.state.initialValues.mark_up = e.target.value;\n this.setTotalExpense();\n // var total = this.state.initialValues.sub_total;\n // this.state.initialValues.total_expense = (total + (( this.state.initialValues.mark_up * total ) / 100) + (( this.state.initialValues.sinking_fund * total ) / 100)).toFixed(2)\n handleChange(e);\n }} />\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n {\n this.state.initialValues.sinking_fund = e.target.value;\n this.setTotalExpense();\n // var total = this.state.initialValues.sub_total;\n // this.state.initialValues.total_expense = (total + (( this.state.initialValues.mark_up * total ) / 100) + (( this.state.initialValues.sinking_fund * total ) / 100)).toFixed(2)\n handleChange(e);\n }} />\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n }\n\n {!this.state.filterShow && (\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n )}\n\n
    \n\n
    */}\n
    \n\n )}\n \n\n\n\n \n\n \n\n \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n \n );\n }\n}\n\nexport default withRouter(OutflowComponentCreate);\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faStore,\n faCalendarDay,\n faBuilding,\n faRupeeSign,\n faLock,\n faKey,\n faFileContract,\n} from \"@fortawesome/free-solid-svg-icons\";\n// import styles from \"./leaseMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { faEllipsisH } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\nclass LeaseMenu extends React.Component {\n state = {\n openMenu: [\"1\"],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsMenu: \",\"\n\n };\n constructor(props) {\n super(props);\n //console.log(this.props.openMenu);\n this.state = {\n openMenu: [this.props.openMenu],\n disableOption: false,\n urlAppend: \"\",\n activeKey: \"1-1\",\n propsActiveKey: \"1-1\",\n propsMenu: \",\",\n\n };\n }\n\n componentDidMount() {\n if (this.props.match.params.id === undefined) {\n this.setState({\n disableOption: true,\n });\n } else {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n } \n }\n\n componentDidUpdate() {\n if (this.props.openMenu != this.state.propsMenu) {\n this.setState({\n propsMenu: this.props.openMenu,\n openMenu: [this.props.openMenu],\n });\n }\n if (this.props.activeKey != this.state.propsActiveKey) {\n this.setState({\n propsActiveKey: this.props.activeKey,\n activeKey: this.props.activeKey,\n });\n }\n if (this.props.match.params.id === undefined) {\n if (this.state.disableOption == false) {\n this.setState({\n disableOption: true,\n });\n }\n } else {\n if (this.state.disableOption == true) {\n this.setState({\n disableOption: false,\n urlAppend: \"/\" + this.props.match.params.id,\n });\n }\n }\n }\n\n render() {\n // let url = this.props.match;\n //console.log(\"rendering menu\");\n return (\n
    \n {\n console.log(openKeys[openKeys.length - 1]);\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
    \n );\n}\n}\n\nexport default withRouter(LeaseMenu);","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage, InfoPopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../../layout/TopHeader\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst YearArr = [];\n\nfor (var i = 2015; i <= 2030; i++) {\n YearArr.push(i)\n}\n\nclass AssetDetails extends React.Component {\n state = {\n recordId: \"\",\n LandlordGroups: [],\n clientList: [],\n redirect: false,\n homeRedirect: false,\n assetTypes: [],\n assets: [],\n subAssets: [],\n countries: [],\n states: [],\n assets: [],\n districts: [],\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n cities: [],\n assetType: \"\",\n asset: \"\",\n subAsset: \"\",\n cityId: \"\",\n value: [],\n disableOnEdit: false,\n delete: false,\n currentIndex: null,\n showFirstAddBtn: true,\n url: `${apiUrl.apiUrl.url}/close-deal/create`,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n assetId: \"\",\n deal_type: \"\",\n value: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n lessor_type: \"\",\n premises_area: \"\",\n land_area: \"\",\n landAreaArr: [0],\n premicesAreaArr: [0],\n building_area: \"\",\n buildingAreaArr: [0],\n carpet_area: \"\",\n carpetAreaArr: [0],\n gross_leaseable_area: \"\",\n grossLeaseableAreaArr: [0]\n },\n };\n\n resetForm(values) {\n this.state.initialValues = {\n landAreaArr: [0],\n premicesAreaArr: [0],\n buildingAreaArr: [0],\n carpetAreaArr: [0],\n grossLeaseableAreaArr: [0]\n };\n\n values.groupId = \"\";\n values.groupName = \"\";\n values.clientId = \"\";\n values.clientName = \"\";\n values.asset_name = \"\";\n values.assetId = \"\";\n values.asset_type = \"\";\n values.deal_type = \"\";\n values.lessor_spv = \"\";\n values.lessor_type = \"\";\n values.location = \"\";\n values.lessee_tenant = \"\";\n values.status = \"\";\n values.land_area = \"\";\n values.premises_area = \"\";\n values.car_parking_no = \"\";\n values.two_wheeler_parking_no = \"\";\n values.building_area = \"\";\n values.carpet_area = \"\";\n values.gross_leaseable_area = \"\";\n\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n\n }\n\n componentDidMount() {\n console.log(this.props.match.params.id, \"abc\");\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n complianceList = (clientId, id) => {\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/compliance/get-list-asset?client_id=${clientId}&id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"compliance data\");\n // this.setState({\n // assetCompliance: data.data,\n // });\n ths.state.initialValues.assetCompliance = data.data;\n ths.state.compliance_count = data.count;\n ths.state.compliance_percent = data.percent_count;\n ths.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsageInfoPopup: true,\n popupInfoContent: \"Sorry you cannot delete this deal\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/asset-details`,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n deal_type: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n landAreaArr: [0],\n premicesAreaArr: [0],\n buildingAreaArr: [0],\n carpetAreaArr: [0],\n grossLeaseableAreaArr: [0]\n },\n });\n } else {\n let self=this;\n axios.get(`${apiUrl.apiUrl.url}/close-deal/fetch-close-deal?id=${this.props.match.params.id}`).then((response) => {\n let data = response.data;\n self.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/update?id=${self.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n });\n self.state.initialValues.groupId = data.other_data.groupId;\n self.state.initialValues.groupName = data.other_data.groupName;\n self.state.initialValues.clientId = data.other_data.clientId;\n self.state.initialValues.clientName = data.other_data.clientName;\n self.state.initialValues.landAreaArr = data.data.land_area.split(\",\");\n self.state.initialValues.premicesAreaArr = data.data.premises_area.split(\",\");\n self.state.initialValues.buildingAreaArr = data.data.building_area.split(\",\");\n self.state.initialValues.carpetAreaArr = data.data.carpet_area.split(\",\");\n self.state.initialValues.grossLeaseableAreaArr = data.data.gross_leaseable_area.split(\",\");\n self.setState({});\n });\n\n // fetch(\n // `${apiUrl.apiUrl.url}/close-deal/fetch-close-deal?id=${this.props.match.params.id}`\n // )\n // .then((response) => {\n // return response.json();\n // })\n // .then((data) => {\n // console.log(data.data, \"data.data\");\n // this.setState({\n // url: `${apiUrl.apiUrl.url}/close-deal/update?id=${this.props.match.params.id}`,\n // initialValues: data.data,\n // LandlordGroups: data.LandlordGroups,\n // clientList: data.clientList,\n // });\n // this.state.initialValues.groupId = data.other_data.groupId;\n // this.state.initialValues.groupName = data.other_data.groupName;\n // this.state.initialValues.clientId = data.other_data.clientId;\n // this.state.initialValues.clientName = data.other_data.clientName;\n // this.state.initialValues.landAreaArr = data.data.land_area.split(\",\");\n // this.state.initialValues.premicesAreaArr = data.data.premises_area.split(\",\");\n // this.state.initialValues.buildingAreaArr = data.data.building_area.split(\",\");\n // this.state.initialValues.carpetAreaArr = data.data.carpet_area.split(\",\");\n // this.state.initialValues.grossLeaseableAreaArr = data.data.gross_leaseable_area.split(\",\");\n // this.setState({});\n // })\n // .catch((error) => {\n // console.log(error);\n // });\n }\n }\n }\n resetCounter = () => {\n this.setState({ counter: Math.random() });\n }\n getalldeals = (id) => {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-close-deal?id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"data.data\");\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/create?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n\n //this.state.year = { 'value' : data.data.year, 'label': data.data.year }\n //this.state.month = { 'value' : data.data.month, 'label': data.data.month }\n this.setState({});\n console.log(this.state.initialValues, \"initial values\");\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsageInfoPopup: true,\n popupInfoContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsageInfoPopup: true,\n popupInfoContent: \"Data Deleted Successfully\",\n homeRedirect: true\n });\n }\n });\n };\n resetCounter = () => {\n this.setState({ counter: Math.random() });\n }\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n infoClose = () => {\n this.setState({\n redirect: false,\n messsageInfoPopup: false\n });\n }\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n assetId: \"\",\n deal_type: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n landAreaArr: [0],\n premicesAreaArr: [0],\n buildingAreaArr: [0],\n carpetAreaArr: [0],\n grossLeaseableAreaArr: [0]\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n deal_type: \"\",\n assetTypeId: \"\",\n assetType: \"\",\n assetTypeId: \"\",\n landAreaArr: [0],\n premicesAreaArr: [0],\n buildingAreaArr: [0],\n carpetAreaArr: [0],\n grossLeaseableAreaArr: [0]\n },\n });\n };\n\n addLandAreaRow = (arr) => {\n if (this.state.initialValues[arr] === undefined) {\n this.state.initialValues[arr] = [0];\n }\n this.state.initialValues[arr].push(0);\n if (this.state.initialValues[arr].length > 0) {\n this.setState({ showFirstAddBtn: false });\n }\n this.setState({});\n };\n\n removeLandAreaRow(element, arr) {\n console.log(element, \"last elemnt\", this.state.initialValues[arr]);\n this.state.initialValues[arr].splice(element, 1);\n if (this.state.initialValues[arr].length == 0) {\n this.state.initialValues[arr] = [0];\n this.setState({ showFirstAddBtn: true });\n }\n this.setState({});\n }\n\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n this.complianceList(newValue.value, this.state.initialValues.assetId);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return (\n \n );\n }\n\n if (this.state.homeRedirect) {\n let url = this.props.match;\n\n this.state.homeRedirect = false;\n return (\n \n );\n }\n\n return (\n
    \n <>\n
    \n
    \n \n
    \n
    \n\n {\n values.assetTypeId = this.state.initialValues.assetTypeId;\n values.assetId = this.state.initialValues.assetId;\n values.subAssetId = this.state.initialValues.subAssetId;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n recordId: response.data.id\n });\n }\n });\n }}\n >\n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n {clientAccess() && (\n
    \n \n
    \n {\n this.handleChangeLandlordGroup(e, \"change_client_group\");\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map((item) => ({\n label: item.group_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n )}\n\n {clientAccess() && (\n
    \n \n
    \n {\n this.handleChangeLandlordGroup(e, \"change_client_name\");\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n )}\n\n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n\n
    \n \n
    \n {this.state.initialValues.landAreaArr !== undefined && (\n
    \n {this.state.initialValues.landAreaArr.map((name, index) => (\n
    \n {\n this.state.initialValues.landAreaArr[index] = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.landAreaArr[index]}\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n\n
    \n \n
    \n {this.state.initialValues.premicesAreaArr !== undefined && (\n
    \n {this.state.initialValues.premicesAreaArr.map((name, index) => (\n
    \n {\n this.state.initialValues.premicesAreaArr[index] = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.premicesAreaArr[index]}\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n\n
    \n \n
    \n {this.state.initialValues.buildingAreaArr !== undefined && (\n
    \n {this.state.initialValues.buildingAreaArr.map((name, index) => (\n
    \n {\n this.state.initialValues.buildingAreaArr[index] = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.buildingAreaArr[index]}\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n\n
    \n \n
    \n {this.state.initialValues.carpetAreaArr !== undefined && (\n
    \n {this.state.initialValues.carpetAreaArr.map((name, index) => (\n
    \n {\n this.state.initialValues.carpetAreaArr[index] = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.carpetAreaArr[index]}\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n\n
    \n \n
    \n {this.state.initialValues.grossLeaseableAreaArr !== undefined && (\n
    \n {this.state.initialValues.grossLeaseableAreaArr.map((name, index) => (\n
    \n {\n this.state.initialValues.grossLeaseableAreaArr[index] = e.target.value;\n handleChange(e);\n }}\n value={this.state.initialValues.grossLeaseableAreaArr[index]}\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n {this.props.match.params.id !== undefined ? (\n
    \n \n\n {\n this.checkDelete(e);\n }}\n >\n Delete\n \n\n \n \n Reset\n \n \n
    \n ) : (\n
    \n \n \n {\n this.resetForm(values);\n }}\n >\n Reset\n \n \n
    \n )}\n
    \n
    \n
    \n\n {/*
    \n
    \n
    \n
    \n {clientAccess() && (\n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_group\"\n );\n }}\n value={{\n label: this.state.initialValues.groupName,\n value: this.state.initialValues.groupId,\n }}\n options={this.state.LandlordGroups.map(\n (item) => ({\n label: item.group_name,\n value: item.id,\n })\n )}\n />\n\n \n
    \n
    \n
    \n
    \n )}\n {clientAccess() && (\n
    \n
    \n
    \n \n
    \n {\n this.handleChangeLandlordGroup(\n e,\n \"change_client_name\"\n );\n }}\n value={{\n label: this.state.initialValues.clientName,\n value: this.state.initialValues.clientId,\n }}\n options={this.state.clientList.map((item) => ({\n label: item.client_name,\n value: item.id,\n }))}\n />\n \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {\n handleChange(e);\n }}\n >\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n\n {this.state.initialValues.landAreaArr !=\n undefined && (\n
    \n {this.state.initialValues.landAreaArr.map(\n (name, index) => (\n
    \n {\n this.state.initialValues.landAreaArr[\n index\n ] = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .landAreaArr[index]\n }\n />\n
    \n ))}\n
    \n )}\n \n
    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n \n
    \n {this.state.initialValues.premicesAreaArr !=\n undefined && (\n
    \n {this.state.initialValues.premicesAreaArr.map(\n (name, index) => (\n
    \n {\n this.state.initialValues.premicesAreaArr[\n index\n ] = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .premicesAreaArr[index]\n }\n />\n\n
    \n ))}\n
    \n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n\n {this.state.initialValues.buildingAreaArr !=\n undefined && (\n
    \n {this.state.initialValues.buildingAreaArr.map(\n (name, index) => (\n
    \n {\n this.state.initialValues.buildingAreaArr[\n index\n ] = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .buildingAreaArr[index]\n }\n />\n\n
    \n ))}\n
    \n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n\n {this.state.initialValues.carpetAreaArr !=\n undefined && (\n
    \n {this.state.initialValues.carpetAreaArr.map(\n (name, index) => (\n
    \n {\n this.state.initialValues.carpetAreaArr[\n index\n ] = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .carpetAreaArr[index]\n }\n />\n\n
    \n ))}\n
    \n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n\n {this.state.initialValues.grossLeaseableAreaArr !=\n undefined && (\n
    \n {this.state.initialValues.grossLeaseableAreaArr.map(\n (name, index) => (\n
    \n {\n this.state.initialValues.grossLeaseableAreaArr[\n index\n ] = e.target.value;\n handleChange(e);\n }}\n value={\n this.state.initialValues\n .grossLeaseableAreaArr[index]\n }\n />\n\n
    \n ))}\n
    \n )}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n\n {this.props.match.params.id !== undefined ? (\n
    \n
    \n
    \n
    \n \n\n {\n this.checkDelete(e);\n }}\n >\n\n Delete\n \n\n \n \n Reset\n \n \n
    \n
    \n
    \n
    \n ) : (\n
    \n
    \n
    \n
    \n \n \n {\n this.resetForm(values);\n }}\n >\n Reset\n \n \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    */}\n \n )}\n \n \n \n \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n \n
    \n\n );\n }\n}\nexport default withRouter(AssetDetails);\n\n\n\n\n\n\n\n\n\n\n\n\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../../layout/TopHeader\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst YearArr = [];\n\nfor (var i = 2015; i <= 2030; i++) {\n YearArr.push(i)\n}\n\nclass AcquisitionDetails extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n value: [],\n redirect: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n disableOnEdit: false,\n delete: false,\n currentIndex: null,\n showFirstAddBtn: true,\n url: `${apiUrl.apiUrl.url}/close-deal/create`,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\", \n value: \"\",\n net_entry_yield: \"\",\n effective_date: \"\",\n gross_entry_yield: \"\",\n },\n };\n\n resetForm(values) {\n this.state.initialValues = {};\n\n values.groupId = \"\";\n values.groupName = \"\";\n values.clientId = \"\";\n values.clientName = \"\";\n values.asset_name = \"\";\n values.asset_type = \"\";\n values.construction_cost = \"\";\n values.net_purchase_price = \"\";\n values.purchase_price = \"\";\n values.gross_purchase_price = \"\";\n values.net_purchase_price = \"\";\n values.net_entry_yield = \"\";\n values.gross_entry_yield = \"\";\n values.acquisition_date = \"\";\n values.effective_date = \"\";\n values.sale_deed_date = \"\";\n\n values.showFirstAddBtn = true;\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n console.log(this.props.match.params.id, \"abc\");\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/unit-detail/get-asset-types`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n assetTypes: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n\n changeCountry = (e) => {\n let countryid = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/states/country-states/` + countryid, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n states: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n changeState = (e) => {\n let stateId = e.target.value;\n fetch(`${apiUrl.apiUrl.url}/districts/state-districts/` + stateId, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data\");\n this.setState({\n districts: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getCityId(e) {\n this.state.cityId = e.target.value;\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this deal\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/create`,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-close-deal?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"data.data\");\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n });\n this.state.initialValues.groupId = data.other_data.groupId;\n this.state.initialValues.groupName = data.other_data.groupName;\n this.state.initialValues.clientId = data.other_data.clientId;\n this.state.initialValues.clientName = data.other_data.clientName;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n };\n\n\n year = () => {\n const arr = [];\n\n\n for (let i = 0; i < 10; i++) {\n arr.push();\n }\n return
    year
    \n }\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n\n }\n return (\n
    \n <>\n
    \n
    \n \n
    \n
    \n\n {\n // values.assetTypeId = this.state.initialValues.assetTypeId;\n // values.assetId = this.state.initialValues.assetId;\n // values.subAssetId = this.state.initialValues.subAssetId;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {\n ({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n\n
    \n \n
    \n \n \n
    \n
    \n
    \n {this.props.match.params.id !== undefined ? (\n
    \n \n \n
    \n ) : (\n
    \n \n \n
    \n )}\n\n
    \n
    \n
    \n \n )}\n \n \n \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n \n
    \n\n );\n }\n}\n\nexport default withRouter(AcquisitionDetails);","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../../layout/TopHeader\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst YearArr = [];\n\nfor (var i = 2015; i <= 2030; i++) {\n YearArr.push(i)\n}\n\nclass AssetManagement extends React.Component {\n state = {\n LandlordGroups: [],\n clientList: [],\n value: [],\n redirect: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n disableOnEdit: false,\n delete: false,\n currentIndex: null,\n showFirstAddBtn: true,\n url: `${apiUrl.apiUrl.url}/close-deal/create/asset-management`,\n id: undefined,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n value: \"\",\n fee_on_basis: \"\",\n fee: \"\",\n expiry_date: \"\",\n asset_status: \"\",\n term: \"\",\n\n },\n };\n\n resetForm(values) {\n this.state.initialValues = {};\n\n values.groupId = \"\";\n values.groupName = \"\";\n values.clientId = \"\";\n values.clientName = \"\";\n values.asset_name = \"\";\n values.asset_type = \"\";\n values.asset_status = \"\";\n values.fee = \"\";\n values.expiry_date = \"\";\n values.fee_on_basis = \"\";\n values.term = \"\";\n values.showFirstAddBtn = true;\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n complianceList = (clientId, id) => {\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/compliance/get-list-asset?client_id=${clientId}&id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"compliance data\");\n // this.setState({\n // assetCompliance: data.data,\n // });\n ths.state.initialValues.assetCompliance = data.data;\n ths.state.compliance_count = data.count;\n ths.state.compliance_percent = data.percent_count;\n ths.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getCityId(e) {\n this.state.cityId = e.target.value;\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this deal\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/create`,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n } else {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-close-deal?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"data.data\");\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/update?id=${this.props.match.params.id}`,\n initialValues: data.data,\n LandlordGroups: data.LandlordGroups,\n clientList: data.clientList,\n });\n this.state.initialValues.groupId = data.other_data.groupId;\n this.state.initialValues.groupName = data.other_data.groupName;\n this.state.initialValues.clientId = data.other_data.clientId;\n this.state.initialValues.clientName = data.other_data.clientName;\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n }\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n asset_type: \"\",\n // deal_type: \"\",\n },\n });\n };\n\n\n year = () => {\n const arr = [];\n\n\n for (let i = 0; i < 10; i++) {\n arr.push();\n }\n return
    year
    \n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n this.complianceList(newValue.value, this.state.initialValues.assetId);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n\n }\n return (\n
    \n <>\n
    \n
    \n \n
    \n
    \n\n {\n // values.assetTypeId = this.state.initialValues.assetTypeId;\n // values.assetId = this.state.initialValues.assetId;\n // values.subAssetId = this.state.initialValues.subAssetId;\n console.log(values);\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.setState({\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n }\n });\n }}\n >\n {\n ({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Asset Type */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Asset Management Status */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Term */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Fee */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Fee on basis */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Expiry Date */}\n
    \n \n
    \n \n \n
    \n
    \n
    \n\n {this.props.match.params.id !== undefined ? (\n
    \n \n \n
    \n ) : (\n
    \n \n \n
    \n )}\n\n
    \n
    \n
    \n \n )}\n \n \n \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n {/* */}\n \n
    \n\n );\n }\n}\n\nexport default withRouter(AssetManagement);","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTrashAlt,\n faTimes,\n faUndo,\n faChartBar,\n faEye,\n faInfoCircle,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { confirmAlert } from \"react-confirm-alert\"; // Import\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\n\nimport datatableOptions from \"../../layout/datatableConstants\";\n\nimport { Link } from \"react-router-dom\";\n\n\nfunction removeLease(id, ths) {\n var del_message = \"Are you sure you want to delete this item.\";\n\n confirmAlert({\n title: \"Confirm to delete\",\n message: del_message,\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/close-deal/valuation-delete?id=` + id,\n data: { \"id\": id },\n }).then(function (response) {\n ths.resetCounter();\n //ths.loadLeaseCountStatuswise();\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n },\n },\n ],\n });\n}\n\nfunction DeleteBtn(props) {\n return (\n <>\n removeLease(props.id, props.ths)}\n >\n \n \n \n\n );\n}\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst ValuationTable = ({ ths, deal_id, asset, brand, status, stateId }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [leaseId, setLeaseId] = useState(0);\n const [popupKey, setpopupKey] = useState(0);\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/close-deal/get-valuation-deals?deal_id=${deal_id}&asset=${asset}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/close-deal/get-valuation-deals?deal_id=${deal_id}&asset=${asset}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [modalGraphOpen, setGraphOpen] = React.useState(false);\n\n function openFromParent() {\n setIsOpen(true);\n }\n\n function modalGraphClose() {\n setGraphOpen(false);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Month\",\n selector: \"month\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Year\",\n selector: \"year\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Asset Value\",\n selector: \"asset_value\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Action\",\n grow: 3,\n sortable: false,\n cell: (record) => {\n return (\n
    \n\n \n {/* */}\n {\" \"}\n ths.getValuationDetails(record.id)} />\n {/* */}\n \n \n\n
    \n );\n },\n },\n ];\n\n return (\n <>\n
    \n \n
    \n\n \n );\n};\nexport default ValuationTable;","import React from \"react\";\nimport { useState } from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage, InfoPopupMessage } from \"../../utils/utils\";\nimport axios from \"axios\";\nimport { clientAccess } from \"../../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../../layout/TopHeader\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport ValuationTable from \"./ValuationTable\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nconst YearArr = [];\nfor (var i = 2000; i <= 2025; i++) {\n YearArr.push(i)\n}\n\nclass Valuation extends React.Component {\n state = {\n counter: Math.random(),\n LandlordGroups: [],\n clientList: [],\n value: [],\n redirect: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n disableOnEdit: false,\n delete: false,\n currentIndex: null,\n assets: [],\n month: \"\",\n year: \"\",\n asset_value: \"\",\n showFirstAddBtn: true,\n // YearArr:[],\n Deals: [],\n url: `${apiUrl.apiUrl.url}/close-deal/create-valuation/`,\n id: undefined,\n month: '',\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n deal_type: \"\",\n month: \"\",\n year: \"\",\n asset_value: \"\",\n value: \"\"\n },\n };\n\n resetForm(values) {\n this.state.initialValues = {};\n\n values.groupId = \"\";\n values.groupName = \"\";\n values.clientId = \"\";\n values.clientName = \"\";\n values.asset_name = \"\";\n values.asset_type = \"\";\n values.asset_value = \"\";\n values.valuationMM = \"\";\n values.valuationYY = \"\";\n values.asset_value = \"\";\n values.month = \"\";\n values.year = \"\";\n values.assetId = \"\";\n values.showFirstAddBtn = true;\n this.setState({});\n }\n\n constructor(props) {\n super(props);\n this.mainFormValidator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n }\n\n\n componentDidMount() {\n fetch(`${apiUrl.apiUrl.url}/client-group/fetch-list`, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n LandlordGroups: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n\n fetch(`${apiUrl.apiUrl.url}/countries`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n countries: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n complianceList = (clientId, id) => {\n var ths = this;\n fetch(\n `${apiUrl.apiUrl.url}/compliance/get-list-asset?client_id=${clientId}&id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"compliance data\");\n // this.setState({\n // assetCompliance: data.data,\n // });\n ths.state.initialValues.assetCompliance = data.data;\n ths.state.compliance_count = data.count;\n ths.state.compliance_percent = data.percent_count;\n ths.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n getValuationDetails = (id) => {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-valuation-details?id=${id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"data.data\");\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/update-valuation?id=${id}`,\n initialValues: data.data,\n });\n\n //this.state.year = { 'value' : data.data.year, 'label': data.data.year }\n //this.state.month = { 'value' : data.data.month, 'label': data.data.month }\n this.setState({});\n console.log(this.state.initialValues, \"initial values\");\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n getCityId(e) {\n this.state.cityId = e.target.value;\n }\n\n checkDelete() {\n var self = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/check-delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n self.setState({\n messsagePopup: true,\n popupContent: \"Sorry you cannot delete this deal\",\n });\n } else {\n self.setState({\n delete: true,\n });\n }\n });\n }\n\n\n componentDidUpdate() {\n if (this.props.match.params.id != this.state.id) {\n this.state.id = this.props.match.params.id;\n if (this.props.match.params.id === undefined) {\n this.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/create-valuation`,\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n month: '',\n year: '',\n deal_type: \"\",\n },\n });\n } else {\n this.loadAssetDetails();\n }\n }\n }\n\n loadAssetDetails = () => {\n fetch(\n `${apiUrl.apiUrl.url}/close-deal/fetch-valuation-details?id=${this.props.match.params.id}`,\n {headers}\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data.data, \"data.data\");\n this.setState({\n //url: `${apiUrl.apiUrl.url}/close-deal/update-valuation?id=${this.props.match.params.id}`,\n url: `${apiUrl.apiUrl.url}/close-deal/create-valuation?id=${this.props.match.params.id}`,\n initialValues: data.data,\n });\n this.initialValues.state.year = { 'value': '', 'label': '' }\n this.initialValues.state.month = { 'value': '', 'label': '' }\n this.setState({});\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n redirectToDelete = () => {\n this.setState({ delete: false });\n var ths = this;\n axios({\n method: \"get\",\n url: `${apiUrl.apiUrl.url}/close-deal/delete?id=${this.state.id}`,\n }).then(function (response) {\n if (!response.data.success) {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Something Went Wrong\",\n });\n } else {\n ths.setState({\n messsagePopup: true,\n popupContent: \"Data Deleted Successfully\",\n });\n }\n });\n };\n redirectToClose = () => {\n this.setState({ delete: false });\n };\n\n resetCounter = () => {\n this.setState({ counter: Math.random() });\n }\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n deal_type: \"\",\n asset_value: \"\",\n month: \"\",\n year: \"\",\n },\n });\n this.loadAssetDetails();\n };\n\n redirectAfterEdit = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n groupId: \"\",\n groupName: \"\",\n clientId: \"\",\n clientName: \"\",\n asset_name: \"\",\n assetId: \"\",\n asset_type: \"\",\n asset_value: \"\",\n month: \"\",\n year: \"\",\n\n\n // deal_type: \"\",\n },\n });\n this.loadAssetDetails();\n };\n\n\n infoClose = () => {\n this.setState({\n redirect: false,\n messsageInfoPopup: false\n });\n }\n\n handleChangeLandlordGroup = (newValue, actionMeta) => {\n console.group(\"Value Changed\", newValue, \"actionMeta\", actionMeta);\n\n if (actionMeta == \"change_client_group\") {\n this.state.initialValues.groupId = newValue.value;\n this.state.initialValues.groupName = newValue.label;\n\n fetch(`${apiUrl.apiUrl.url}/client/client-list?groupId=` + newValue.value, {headers})\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n clientList: data,\n });\n })\n .catch((error) => {\n console.log(error);\n });\n\n console.log(\"inside\", actionMeta);\n } else {\n this.state.initialValues.clientId = newValue.value;\n this.state.initialValues.clientName = newValue.label;\n\n this.complianceList(newValue.value, this.state.initialValues.assetId);\n }\n this.setState({});\n //this.state.initialValues.groupName = newValue.label;\n\n this.groupId = newValue;\n };\n\n render() {\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n return (\n\n
    \n <>\n
    \n
    \n \n
    \n
    \n\n {\n if (!this.mainFormValidator.allValid()) {\n this.mainFormValidator.showMessages();\n return false;\n }\n values.assetTypeId = this.state.initialValues.assetTypeId;\n values.assetId = this.state.initialValues.assetId;\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (!response.data.success) {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n } else {\n self.state.initialValues.asset_type = values.asset_type;\n self.state.initialValues.asset_name = values.asset_name;\n self.setState({\n url: `${apiUrl.apiUrl.url}/close-deal/create-valuation?id=${self.props.match.params.id}`,\n messsagePopup: true,\n popupContent: \"Data Saved Successfully!\",\n });\n self.setState({});\n }\n });\n }}\n >\n {\n ({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n }) => (\n <>\n
    \n
    \n
    \n
    \n\n {/* Asset Type */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Asset Name */}\n
    \n \n
    \n \n \n
    \n
    \n\n {/* Month/Year */}\n
    \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n {YearArr.map(year => (\n \n ))}\n \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n {this.props.match.params.id !== undefined ? (\n
    \n \n {/* Delete button commented out */}\n \n
    \n ) : (\n
    \n \n \n
    \n )}\n\n\n
    \n
    \n
    \n \n )}\n \n \n \n \n {(close) => (\n
    \n \"Delete the item?\"\n \n ×\n \n
    \n \n
    \n
    \n )}\n
    \n \n \n
    \n\n );\n }\n}\n\nexport default withRouter(Valuation);","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { Placeholder } from \"rsuite\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faSearch,\n faPlus,\n faPen,\n faTimes,\n faUndo,\n faChartBar,\n faEye,\n faInfoCircle,\n faTrashAlt,\n faChevronRight,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport DataTable, {\n createTheme,\n defaultThemes,\n} from \"react-data-table-component\";\nimport datatableOptions from \"../layout/datatableConstants\";\nimport { confirmAlert } from \"react-confirm-alert\";\nimport { Link } from \"react-router-dom\";\n\n\n\nfunction removeLease(id, setTableKey) {\n confirmAlert({\n title: \"Confirm to delete\",\n message: \"Are you sure you want to delete this item ?.\",\n buttons: [\n {\n label: \"Yes\",\n onClick: () => {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/close-deal/delete?id=` + id,\n data: { \"id\": id },\n }).then(function (response) {\n //console.log(ths, \"ths\")\n //ths.resetCounter();\n //ths.loadLeaseCountStatuswise();\n console.log(\"setting key\", setTableKey);\n setTableKey(Math.random());\n window.location.href = window.location.href;\n });\n },\n },\n {\n label: \"No\",\n onClick: () => {\n console.log(\"cancel clicked\");\n\n },\n },\n ],\n });\n}\n\nfunction DeleteBtn(props) {\n return (\n // (props.status == 0 && props.is_dropped == 0) && (\n removeLease(props.deal_id, props.setTableKey)}\n >\n \n \n // )\n // <>\n // removeLease(props.id, props.ths)}\n // >\n // \n // \n // \n );\n}\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LeaseListingTable = ({ ths, deal_id, asset, brand, status, stateId }) => {\n //console.log(asset);\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] =\n React.useState(false);\n\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [tableKey, setTableKey] = useState(0)\n const [leaseId, setLeaseId] = useState(0);\n const [popupKey, setpopupKey] = useState(0);\n React.useEffect(() => {\n fetchUsers(1);\n }, [filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n );\n }, [filterText, resetPaginationToggle]);\n\n\n\n const fetchUsers = async (page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/close-deal/get-all-deals?stateId=${stateId}&asset=${asset}&brand=${brand}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}&status=${status}`\n );\n\n setData(response.data.data);\n setTotalRows(response.data.total);\n setLoading(false);\n };\n\n const handlePageChange = (page) => {\n fetchUsers(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/close-deal/get-all-deals?stateId=${stateId}&asset=${asset}&brand=${brand}&page=${page}&per_page=${newPerPage}&delay=1&status=${status}`\n );\n\n setData(response.data.data);\n setPerPage(newPerPage);\n setLoading(false);\n };\n\n useEffect(() => {\n fetchUsers(1);\n }, []);\n\n const [modalIsOpen, setIsOpen] = React.useState(false);\n const [modalGraphOpen, setGraphOpen] = React.useState(false);\n\n function openFromParent() {\n setIsOpen(true);\n }\n\n function modalGraphClose() {\n setGraphOpen(false);\n }\n\n function handleCloseModal() {\n setIsOpen(false);\n }\n\n const columns = [\n {\n name: \"S.No\",\n selector: \"srNo\",\n sortable: false,\n grow: 1,\n },\n {\n name: \"Asset Type\",\n selector: \"asset_type\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Asset Name\",\n selector: \"asset_name\",\n sortable: false,\n grow: 3,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Deal Type\",\n selector: \"deal_type\",\n sortable: false,\n grow: 3,\n wrap: true,\n },\n {\n name: \"Location\",\n selector: \"location\",\n sortable: false,\n grow: 1,\n wrap: true,\n },\n {\n name: \"Status\",\n selector: \"status\",\n sortable: false,\n grow: 2,\n wrap: true,\n style: {\n textAlign: \"center\",\n },\n },\n {\n name: \"Action\",\n grow: 3,\n sortable: false,\n cell: (record) => {\n return (\n
    \n \n \n {\" \"}\n \n \n \n\n \n \n\n\n
    \n );\n },\n },\n ];\n\n return (\n
    \n
    \n
    \n
      \n
    • Outflow
    • \n
    • \n Create \n
    \n
    \n
    \n\n
    \n \n
    \n\n
    \n );\n};\nexport default LeaseListingTable;\n","import React from \"react\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n Redirect,\n} from \"react-router-dom\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\n//import Table from \"./Table\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPlus,\n faUndo,\n faPen,\n faTimes,\n faCoffee,\n faStore,\n faCalendarDay,\n faBuilding,\n faRupeeSign,\n faLock,\n faFileContract,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../utils/utils\";\nimport axios from \"axios\";\nimport { faEllipsisH } from \"@fortawesome/free-solid-svg-icons\";\nimport { clientAccess } from \"../utils/index\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport apiUrl from \"../apiUrlConstant\";\nimport CreatableSelect from \"react-select/creatable\";\nimport DatePicker from \"react-datepicker\";\nimport { withRouter } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport TopHeader from \"../layout/TopHeader\";\nimport LeaseMenu from \"./LeaseMenu\";\nimport { hasAccess, getUserType } from \"../utils/index\";\nimport AssetDetails from \"./assetDetails/AssetDetails\";\nimport AcquisitionDetails from \"./acquisitionDetails/AcquisitionDetails\";\nimport AssetManagement from \"./assetManagement/AssetManagement\";\nimport Valuation from \"./valuation/Valuation\";\nimport LeaseListingTable from \"./LeaseListingTable\";\nexport default function CloseDeals() {\n let match = useRouteMatch();\n\n return (\n\n
    \n \n
    \n\n {hasAccess([\"admin\", \"maker\"]) && (\n
    \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n \n \n \n \n \n\n\n\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n\n \n \n \n\n \n
    \n )}\n {/* */}\n
    \n
    \n );\n}\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass InventoryByCity extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/inventory-by-city?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n {\n headers,\n }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ inventoryByCity: data.datapoints });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y3,\n data: data.datapoints.y3,\n backgroundColor: data.bgcolor.y3,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y2,\n data: data.datapoints.y2,\n backgroundColor: data.bgcolor.y2,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"inventoryByCity\");\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"inventoryByCity.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Inventory by City

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n \n
    \n
    \n \n );\n }\n}\nexport default withRouter(InventoryByCity);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass SummaryInventoryByCity extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/asset-area-analysis?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n {\n headers,\n }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ inventoryByCity: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y3,\n data: data.datapoints.y3,\n backgroundColor: data.bgcolor.y3,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y2,\n data: data.datapoints.y2,\n backgroundColor: data.bgcolor.y2,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"assetAreaAnalysis\");\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"assetAreaAnalysis.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Asset Area Analysis

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(SummaryInventoryByCity);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass SummaryWeightedAvg extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Rent (psf)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/asset-weighted-avg-warmshell?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n {\n headers,\n }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ inventoryByCity: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n downloadPdf = () => {\n const input = document.getElementById(\"summaryWeightAvg\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"summaryWeightAvg.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Weighted Average Warmshell Rent (Psf/m)

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(SummaryWeightedAvg);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { Loader } from 'rsuite'; \nimport { exceldataFormate } from \"../../utils/utils\";\nimport domtoimage from 'dom-to-image';\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeasedAreaYearWise extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/area-leased-year-wise?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n {\n headers,\n }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ inventoryByCity: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n }, \n {\n label: data.legend.y3,\n data: data.datapoints.y3,\n backgroundColor: data.bgcolor.y3,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y2,\n data: data.datapoints.y2,\n backgroundColor: data.bgcolor.y2,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"leaseAreaWise\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"leaseAreaWise.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Leasing Volume

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(LeasedAreaYearWise);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Chart as ChartJS, ArcElement, Tooltip, Legend } from \"chart.js\";\nimport { Doughnut } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { piexceldataFormate } from \"../../utils/utils\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nChartJS.register(ArcElement, Tooltip, Legend);\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass SummaryAreaLeased extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n showPie: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/asset-wise-area-leased?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data 43\");\n this.setState({ inventoryByCity: data });\n const convertedData = piexceldataFormate(\n data,\n \"Assets\",\n \"Total Area (sqft)\"\n );\n const data1 = {\n labels: data.x, // [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n datasets: [\n {\n label: \"# of Votes\",\n data: data.datapoints.y1, // [12, 19, 3, 5, 2, 3],\n backgroundColor: [\n \"rgba(255, 99, 132, 0.2)\",\n \"rgba(54, 162, 235, 0.2)\",\n \"rgba(255, 206, 86, 0.2)\",\n \"rgba(75, 192, 192, 0.2)\",\n \"rgba(153, 102, 255, 0.2)\",\n \"rgba(255, 159, 64, 0.2)\",\n ],\n borderColor: [\n \"rgba(255, 99, 132, 1)\",\n \"rgba(54, 162, 235, 1)\",\n \"rgba(255, 206, 86, 1)\",\n \"rgba(75, 192, 192, 1)\",\n \"rgba(153, 102, 255, 1)\",\n \"rgba(255, 159, 64, 1)\",\n ],\n borderWidth: 1,\n },\n ],\n };\n superClass.setState({\n chartData: data1,\n showPie: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"summaryAreaLeased\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"summaryAreaLeased.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Area Leased

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (! this.state.showPie) && \n \n } \n {this.state.showPie && }\n
    \n \n );\n }\n}\nexport default withRouter(SummaryAreaLeased);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Chart as ChartJS, ArcElement, Tooltip, Legend } from \"chart.js\";\nimport { Doughnut } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { piexceldataFormate } from \"../../utils/utils\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nChartJS.register(ArcElement, Tooltip, Legend);\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass SummaryAreaLeased extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n showPie: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/asset-expiring?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"data 43\");\n this.setState({ inventoryByCity: data });\n const convertedData = piexceldataFormate(\n data,\n \"Assets\",\n \"Total Area (sqft)\"\n );\n const data1 = {\n labels: data.x, // [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n datasets: [\n {\n label: \"# of Votes\",\n data: data.datapoints.y1, // [12, 19, 3, 5, 2, 3],\n backgroundColor: [\n \"rgba(255, 99, 132, 0.2)\",\n \"rgba(54, 162, 235, 0.2)\",\n \"rgba(255, 206, 86, 0.2)\",\n \"rgba(75, 192, 192, 0.2)\",\n \"rgba(153, 102, 255, 0.2)\",\n \"rgba(255, 159, 64, 0.2)\",\n ],\n borderColor: [\n \"rgba(255, 99, 132, 1)\",\n \"rgba(54, 162, 235, 1)\",\n \"rgba(255, 206, 86, 1)\",\n \"rgba(75, 192, 192, 1)\",\n \"rgba(153, 102, 255, 1)\",\n \"rgba(255, 159, 64, 1)\",\n ],\n borderWidth: 1,\n },\n ],\n };\n superClass.setState({\n chartData: data1,\n showPie: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"summaryAssetWiseAreaExpiry\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"summaryAssetWiseAreaExpiry.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Asset Wise Area Expiring - Next 12 Months

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (! this.state.showPie) && \n \n } \n {this.state.showPie && }\n
    \n \n );\n }\n}\nexport default withRouter(SummaryAreaLeased);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport domtoimage from 'dom-to-image';\nimport { Loader } from 'rsuite'; \nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass InventoryByOwners extends React.Component {\n state = {\n inventoryByOwners: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n title: {\n display: true,\n text: \"Owners\",\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Total Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/inventory-by-owners?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({ inventoryByOwners: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"inventoryByOwners\");\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"inventoryByOwners.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Inventory by Owners

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(InventoryByOwners);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Chart as ChartJS, ArcElement, Tooltip, Legend } from \"chart.js\";\nimport { Pie, Doughnut } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { piexceldataFormate } from \"../../utils/utils\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nChartJS.register(ArcElement, Tooltip, Legend);\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass TransactionSizeWiseShare extends React.Component {\n state = {\n inventoryByCity: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n showPie: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/txn-wise-share?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"datata 34 \");\n this.setState({ inventoryByCity: data });\n const convertedData = piexceldataFormate(\n data,\n \"Assets\",\n \"Total Area (sqft)\"\n );\n const data1 = {\n labels: data.x, /// [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n datasets: [\n {\n label: \"# of Votes\",\n data: data.datapoints.y1, // [12, 19, 3, 5, 2, 3],\n backgroundColor: [\n \"rgba(255, 99, 132, 0.2)\",\n \"rgba(54, 162, 235, 0.2)\",\n \"rgba(255, 206, 86, 0.2)\",\n \"rgba(75, 192, 192, 0.2)\",\n \"rgba(153, 102, 255, 0.2)\",\n \"rgba(255, 159, 64, 0.2)\",\n ],\n borderColor: [\n \"rgba(255, 99, 132, 1)\",\n \"rgba(54, 162, 235, 1)\",\n \"rgba(255, 206, 86, 1)\",\n \"rgba(75, 192, 192, 1)\",\n \"rgba(153, 102, 255, 1)\",\n \"rgba(255, 159, 64, 1)\",\n ],\n borderWidth: 1,\n },\n ],\n };\n superClass.setState({\n chartData: data1,\n showPie: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"transactionWiseShare\");\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"transactionWiseShare.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Transaction Size wise Share

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.showPie == false) && \n \n }\n \n {this.state.showPie && }\n
    \n \n );\n }\n}\nexport default withRouter(TransactionSizeWiseShare);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass LeasingInventory extends React.Component {\n state = {\n leasingInventory: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/inventory-by-leasing?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ leasingInventory: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y3,\n data: data.datapoints.y3,\n backgroundColor: data.bgcolor.y3,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y2,\n data: data.datapoints.y2,\n backgroundColor: data.bgcolor.y2,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"leasingInventory\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"leasingInventory.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Leasing - SEZ, Non SEZ Inventory

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(LeasingInventory);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisV } from \"@fortawesome/free-solid-svg-icons\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\nclass RentalYearWiseSummary extends React.Component {\n state = {\n leasingInventory: {},\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Rent\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/rental-type-wise?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ leasingInventory: data });\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y3,\n data: data.datapoints.y3,\n backgroundColor: data.bgcolor.y3,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y2,\n data: data.datapoints.y2,\n backgroundColor: data.bgcolor.y2,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n\n {\n label: data.legend.y4,\n data: data.datapoints.y4,\n backgroundColor: data.bgcolor.y4,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y5,\n data: data.datapoints.y5,\n backgroundColor: data.bgcolor.y5,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y6,\n data: data.datapoints.y6,\n backgroundColor: data.bgcolor.y6,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n\n {\n label: data.legend.y7,\n data: data.datapoints.y7,\n backgroundColor: data.bgcolor.y7,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y8,\n data: data.datapoints.y8,\n backgroundColor: data.bgcolor.y8,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n {\n label: data.legend.y9,\n data: data.datapoints.y9,\n backgroundColor: data.bgcolor.y9,\n borderWidth: 0,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n stack: \"Stack 0\",\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"leasingInventory\");\n html2canvas(input).then((canvas) => {\n const imgData = canvas.toDataURL(\"image/png\");\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(imgData);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(imgData, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"leasingInventory.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Rental Year Wise

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n \n );\n }\n}\nexport default withRouter(RentalYearWiseSummary);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Bar } from \"react-chartjs-2\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass CompanyPerformance extends React.Component {\n state = {\n companyPerformance: {\n x: [],\n datapoints: {\n y1: [\n 74.4, 75, 76.2, 76.5, 77.1, 77.7, 78.6, 79.3, 80.2, 81, 82.1, 82.9,\n 90.4,\n ],\n },\n bgcolor: {\n y1: \"#4D8EEA\",\n },\n legend: {\n y1: \"Passing Rent\",\n },\n axis: {\n x: \"Quarters\",\n },\n },\n\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const ctx = document\n .getElementById(\"rentalsVacancyLineChart\")\n .getContext(\"2d\");\n let gradient = ctx.createLinearGradient(0, 0, 0, 400);\n gradient.addColorStop(0, \"rgba(113,206,250, 1)\");\n gradient.addColorStop(1, \"#cce9ff\");\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/company-performance?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n var convertedData = exceldataFormate(data);\n const data1 = {\n labels: data.x,\n datasets: [\n {\n label: data.legend.y1,\n data: data.datapoints.y1,\n backgroundColor: data.bgcolor.y1,\n borderColor: data.bgcolor.y1,\n barThickness: this.state.barThicknesS,\n borderRadius: 10,\n },\n ],\n };\n\n superClass.setState({\n chartOtions: options,\n chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"companyPerformance\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"companyPerformance.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Company Performance

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n \n \n \n \n \n
    \n
    \n {\n (this.state.chartData.datasets.length == 0) && \n \n }\n \n
    \n
    \n \n );\n }\n}\nexport default withRouter(CompanyPerformance);\n","import React from \"react\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport { Scatter } from \"react-chartjs-2\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport html2canvas from \"html2canvas\";\nimport jsPDF from \"jspdf\";\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport { exceldataFormate } from \"../../utils/utils\";\nimport { Loader } from 'rsuite'; \nimport domtoimage from 'dom-to-image';\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\n\n\nclass OverviewComponent extends React.Component {\n state = {\n data: {\n datasets : [\n {\n label: 'Scatter Chart',\n data: [\n {\n x: '2021-08-08T13:12:23',\n y: 3\n }\n ],\n backgroundColor: 'rgba(75, 192, 192, 0.6)',\n //backgroundColor: ['red','blue','black','green'],\n } \n ]\n },\n options: {\n plugins: {\n tooltip: {\n callbacks: {\n title: function () {\n return \"\";\n },\n label: (tooltipItem, data) => {\n if( tooltipItem.formattedValue != \"\" ){\n return tooltipItem['raw']['dt'] + `, ${tooltipItem['raw']['asset_name']}, ` + \"\\n\" + tooltipItem['raw']['tooltip']; \n }else{\n return \"NA\";\n }\n \n //return tooltipItem[ tooltipItem.dataIndex ]\n }\n }\n },\n legend: { display: false },\n title: {\n display: true,\n text: \"Critical Dates\",\n position: \"top\"\n }\n },\n scales: {\n x: {\n type: 'category',\n position: 'bottom',\n title: {\n //display: true,\n text: 'Year',\n }\n },\n y: {\n type: 'category',\n position: 'left',\n labels: [ 'Invoice Signing Date', 'Commencement Date', 'Expiring Date' ],\n title: {\n display: true,\n text: '',\n },\n },\n },\n },\n companyPerformance: {\n x: [],\n \n datapoints: {\n y1: [\n 74.4, 75, 76.2, 76.5, 77.1, 77.7, 78.6, 79.3, 80.2, 81, 82.1, 82.9,\n 90.4,\n ],\n },\n bgcolor: {\n y1: \"#4D8EEA\",\n },\n legend: {\n y1: \"Passing Rent\",\n },\n axis: {\n x: \"Quarters\",\n },\n },\n\n xAxis: [],\n barThicknesS: 10,\n chartOtions: {},\n chartData: {\n labels: [],\n datasets: [],\n },\n };\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const ctx = document\n .getElementById(\"rentalsVacancyLineChart\")\n .getContext(\"2d\");\n let gradient = ctx.createLinearGradient(0, 0, 0, 400);\n gradient.addColorStop(0, \"rgba(113,206,250, 1)\");\n gradient.addColorStop(1, \"#cce9ff\");\n const superClass = this;\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n ticks: {\n autoSkip: false,\n color: \"black\",\n font: {\n size: 10,\n },\n },\n },\n y: {\n stacked: true,\n grid: {\n display: true,\n drawBorder: true,\n },\n title: {\n display: true,\n text: \"Area (sqft)\",\n },\n },\n },\n plugins: {\n legend: {\n display: true,\n labels: {\n color: \"rgb(0, 0, 0)\",\n boxWidth: 6,\n boxHeight: 6,\n usePointStyle: true,\n },\n },\n title: {\n display: false,\n },\n tooltip: {\n enabled: true,\n y: \"bottom\",\n backgroundColor: \"#000\",\n },\n },\n };\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/overview-details?search=` +\n this.props.searchTerm +\n `&assetVal=${this.props.assetVal}&leaseStatus=${this.props.leaseStatus}&occupierVal=${this.props.occupierVal}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data, \"response of data\");\n var convertedData = exceldataFormate(data);\n superClass.state.data.datasets[0][\"data\"] = data.data;\n superClass.state.data.datasets[0][\"backgroundColor\"] = data.colors;\n superClass.state.options.scales[\"y\"][\"labels\"] = data.labels;\n\n superClass.setState({\n chartOtions: options,\n //chartData: data1,\n isLoad: true,\n convertedData: convertedData,\n });\n\n superClass.setState({});\n\n });\n }\n\n downloadPdf = () => {\n const input = document.getElementById(\"criticalDatesComponent\");\n\n domtoimage.toPng(input).then((canvas) => {\n const pdf = new jsPDF();\n const imgProps = pdf.getImageProperties(canvas);\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHight = (imgProps.height * pdfWidth) / imgProps.width;\n pdf.addImage(canvas, \"JPEG\", 0, 0, pdfWidth, pdfHight);\n pdf.save(\"critical-dates.pdf\");\n });\n };\n\n render() {\n return (\n <>\n
    \n
    \n

    Critical Dates

    \n
    \n
    \n \n \n\n \n {\n this.downloadPdf();\n }}\n >\n Download as PDF\n \n {/* \n \n */}\n \n \n
    \n
    \n {\n (this.state.data.datasets.length == 0) && \n \n }\n \n
    \n
    \n \n );\n }\n}\nexport default withRouter(OverviewComponent);\n","import React from \"react\";\nimport AsyncSelect from \"react-select/async\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faDownload, faFilter, faPlay, faSlidersH, faTimes, faTimesCircle } from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../SideMenu.css\";\nimport { BrowserRouter as Router, withRouter } from \"react-router-dom\";\nimport { getUserType } from \"../utils/index\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport apiUrl from \"../apiUrlConstant\";\nimport InventoryByCity from \"./charts/InventoryByCity\";\n\nimport SummaryInventoryByCity from \"./charts/SummaryInventoryByCity\";\nimport WeightedAvg from \"./charts/SummaryWeightedAvg\";\nimport LeasedAreaYearWise from \"./charts/LeasedAreaYearWise\";\nimport SummaryAreaLeased from \"./charts/SummaryAreaLeased\";\nimport SummaryAssetWiseAreaExpiry from \"./charts/SummaryAssetWiseAreaExpiry\";\nimport Tab from 'react-bootstrap/Tab';\nimport Tabs from 'react-bootstrap/Tabs';\nimport InventoryByOwners from \"./charts/InventoryByOwners\";\nimport TransactionSizeWiseShare from \"./charts/TransactionSizeWiseShare\";\nimport LeasingInventory from \"./charts/LeasingInventory\";\nimport RentalYearWiseSummary from \"./charts/RentalYearWiseSummary\"\nimport CompanyPerformance from \"./charts/CompanyPerformance\";\nimport OverviewComponent from \"./charts/overviewComponent\"\nimport { JsonToExcel } from \"react-json-to-excel\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nvar revenueReportText = \"Revenue Report\";\n\nif (getUserType() == \"Occupier\" || getUserType() == \"occupier\") {\n revenueReportText = \"Expense Report\";\n}\nlet options = [\n { label: 1, value: \"one\" },\n { label: 2, value: \"two\" },\n];\n\nlet LeaseStatus = [\n //{ label: 'ALL', value: 'ALL' },\n { label: \"Active\", value: \"2\" },\n { label: \"Expired\", value: \"3\" },\n { label: \"Terminated\", value: \"4\" },\n];\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass DashboardIndex extends React.Component {\n state = {\n openMenu: [\"\"],\n activeKey: \"1-1\",\n summaryData: {},\n analysisData: {},\n showFilter: false,\n assetList: [],\n occupierList: [],\n searchTerm: \"\",\n counter: Math.random(),\n tableAssetData: [],\n occupierVal: \"\",\n assetVal: \"\",\n leaseStatus: \"\",\n forceReset: Math.random(),\n };\n\n constructor(props) {\n super(props);\n }\n\n handleOccupierChange = (newValue) => {\n this.setState({ occupierVal: newValue.value }, () => {\n this.fetchAssetDetails(\"\");\n this.fetchAssetSummary(\"\");\n this.fetchTableAssetDetails(\"\");\n this.setState({ counter: Math.random() });\n });\n };\n\n handleStatusChange = (newValue) => {\n this.setState({ leaseStatus: newValue.value }, () => {\n this.fetchAssetDetails(\"\");\n this.fetchAssetSummary(\"\");\n this.fetchTableAssetDetails(\"\");\n this.setState({ counter: Math.random() });\n });\n };\n\n handleMainChange = (newValue) => {\n this.setState({ searchTerm: newValue.value }, () => {\n this.fetchAssetDetails(\"\");\n this.fetchAssetSummary(\"\");\n this.fetchTableAssetDetails(\"\");\n this.setState({ counter: Math.random() });\n });\n };\n\n handleInputChange = (newValue) => {\n this.setState({ assetVal: newValue.value }, () => {\n this.fetchAssetDetails(\"\");\n this.fetchAssetSummary(\"\");\n this.fetchTableAssetDetails(\"\");\n this.setState({ counter: Math.random() });\n });\n };\n\n filterColors = (inputValue) => {\n return this.state.assetList.filter((i) =>\n i.label.toLowerCase().includes(inputValue.toLowerCase())\n );\n };\n\n loadOptions = (inputValue, callback) => {\n setTimeout(() => {\n callback(this.filterColors(inputValue));\n }, 1000);\n };\n\n fetchAssetDetails = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/fetch-asset-summary-details?search=` +\n this.state.searchTerm + `&occupier=${this.state.occupierVal}&leaseStatus=${this.state.leaseStatus}&assetVal=${this.state.assetVal}`, { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ summaryData: data });\n });\n };\n\n fetchTableAssetDetails = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/asset-rental-details?search=` +\n this.state.searchTerm +\n `&assetVal=${this.state.assetVal}&occupier=${this.state.occupierVal}&leaseStatus=${this.state.leaseStatus}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(\"fetchTableAssetDetails\", data);\n this.setState({ tableAssetData: data });\n });\n };\n\n fetchAssetSummary = (input) => {\n fetch(\n `${apiUrl.apiUrl.url}/dashboard/fetch-asset-analysis-details?search=` +\n this.state.assetVal +\n `&occupier=${this.state.occupierVal}&leaseStatus=${this.state.leaseStatus}`,\n { headers }\n )\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n console.log(data);\n this.setState({ analysisData: data });\n });\n };\n\n componentDidMount() {\n this.fetchAssetDetails(\"\");\n this.fetchAssetSummary(\"\");\n this.fetchTableAssetDetails(\"\");\n\n fetch(`${apiUrl.apiUrl.url}/asset/fetch-all-assets`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n var assetList = [{ label: \"ALL\", value: \"\" }];\n data.forEach(function (arrayItem) {\n assetList.push({\n label: arrayItem.asset_name,\n value: arrayItem.asset_name,\n });\n });\n this.setState({ assetList: assetList });\n });\n\n fetch(`${apiUrl.apiUrl.url}/lease-report/get-occupier-landloard`, {\n headers,\n })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n var occupierList = [];\n data[\"occupierList\"].forEach(function (arrayItem) {\n occupierList.push({\n label: arrayItem.text,\n value: arrayItem.id,\n });\n });\n this.setState({ occupierList: occupierList });\n });\n }\n\n render() {\n let url = this.props.match;\n console.log(this.props.location.pathname);\n return (\n
    \n
    \n {\n this.setState({ showFilter: !this.state.showFilter });\n }}\n >\n Filter\n \n {this.state.showFilter ? : \"\"}\n {this.state.showFilter && (\n
    \n
    \n
    \n {\n this.handleInputChange(e);\n }}\n placeholder={

    Select Asset

    }\n />\n
    \n
    \n {\n this.handleOccupierChange(e);\n }}\n placeholder={

    Select Occupier

    }\n />\n
    \n
    \n {\n this.handleStatusChange(e);\n }}\n placeholder={

    Select Status

    }\n />\n
    \n
    \n \n {\n this.setState({ showFilter: false });\n }}\n icon={faTimesCircle}\n className=\"closeButton\"\n />\n
    \n
    \n
    \n )}\n \n \n
    \n
    \n

    \"Assets\" Assets

    \n

    {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult.total\n : \"-\"}{\" \"}

    \n
    \n
    \n

    Ready

    \n

    \n {\" \"}\n {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult[\"ready\"]\n : \"-\"}\n

    \n
    \n
    \n

    Under Construction

    \n

    \n {\" \"}\n {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult[\"uc\"]\n : \"-\"}\n

    \n
    \n
    \n
    \n

    \n \"Inventory\"\n \n Inventory\n \n {/* Total Units */}\n

    \n

    {this.state.summaryData.inventoryResult != undefined\n ? this.state.summaryData.inventoryResult.total\n : \"-\"}

    \n
    \n
    \n

    Occupied

    \n

    \n {\" \"}\n {this.state.summaryData.inventoryResult != undefined\n ? this.state.summaryData.inventoryResult.Leased\n : \"-\"}\n

    \n
    \n
    \n

    Owner Occupied

    \n

    \n {\" \"}\n {this.state.summaryData.inventoryResult != undefined\n ? this.state.summaryData.inventoryResult[\n \"Owner Occupied\"\n ]\n : \"-\"}\n

    \n
    \n
    \n

    Vacant

    \n

    \n {\" \"}\n {this.state.summaryData.inventoryResult != undefined\n ? this.state.summaryData.inventoryResult[\"Vacant\"]\n : \"-\"}\n

    \n
    \n
    \n
    \n

    \n \"lease_expire\"\n Lease Expiring In 24 Months\n

    \n

    {this.state.summaryData.leaseResult != undefined\n ? this.state.summaryData.leaseResult.total\n : \"-\"}\n \n sqft\n \n

    \n
    \n
    \n

    Next 6 Month

    \n

    \n {\" \"}\n {this.state.summaryData.leaseResult != undefined\n ? this.state.summaryData.leaseResult[\"6_month\"] +\n \" sqft \"\n : \"-\"}\n

    \n
    \n
    \n

    6 - 12 Month

    \n

    \n {\" \"}\n {this.state.summaryData.leaseResult != undefined\n ? this.state.summaryData.leaseResult[\"12_month\"] +\n \" sqft \"\n : \"-\"}\n

    \n
    \n
    \n

    12 - 24 Month

    \n

    \n {\" \"}\n {this.state.summaryData.leaseResult != undefined\n ? this.state.summaryData.leaseResult[\"24_month\"] +\n \" sqft \"\n : \"-\"}\n

    \n
    \n
    \n
    \n

    \n \"rupee\"\n Monthly Rental

    \n

    \n {this.state.summaryData.rentalResult != undefined\n ? this.state.summaryData.rentalResult.total\n : \"-\"}\n \n Cr\n \n

    \n
    \n
    \n
    \n

    \n \"active\"Active Occupiers

    \n

    {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult.total\n : \"-\"}{\" \"}

    \n
    \n
    \n

    Leased to new Occupiers

    \n

    \n {\" \"}\n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult[\"new\"]\n : \"-\"}\n

    \n
    \n
    \n

    Existing Occupiers

    \n

    \n {\" \"}\n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult[\"existing\"]\n : \"-\"}\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n {/*
    \n
    \n \n
    \n
    */}\n\n
    \n
    \n {/* */}\n \n
    \n
    \n
    \n
    \n {/* */}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    \n \"assets\"\n Assets

    \n

    {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult.total\n : \"-\"}{\" \"}

    \n
    \n
    \n

    Ready

    \n

    \n {\" \"}\n {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult[\"ready\"]\n : \"-\"}\n

    \n
    \n
    \n

    Under Construction

    \n

    \n {\" \"}\n {this.state.summaryData.assetResult != undefined\n ? this.state.summaryData.assetResult[\"uc\"]\n : \"-\"}\n

    \n
    \n
    \n
    \n

    \n \"inventory\"\n Leased Area\n

    \n

    {this.state.analysisData.areaLeased != undefined\n ? this.state.analysisData.areaLeased.total\n : \"-\"}\n \n sqft\n

    \n
    \n
    \n

    5 year CAGR

    \n

    \n {\" \"}\n {this.state.analysisData.areaLeased != undefined\n ? this.state.analysisData.areaLeased.cagr\n : \"-\"}\n

    \n
    \n
    \n

    Avg Annual Leasing

    \n

    \n {\" \"}\n {this.state.analysisData.areaLeased != undefined\n ? this.state.analysisData.areaLeased[\"anual_leasing\"]\n : \"-\"}\n

    \n
    \n
    \n

    Leased to Top 10 Occupiers

    \n

    \n {\" \"}\n {this.state.analysisData.areaLeased != undefined\n ? this.state.analysisData.areaLeased[\"top_occupiers\"]\n : \"-\"}\n

    \n
    \n
    \n
    \n

    \n \"lease_expire\"\n Vacant

    \n

    \n {this.state.analysisData.vacantDetails != undefined\n ? this.state.analysisData.vacantDetails.total\n : \"-\"}\n \n sqft\n \n

    \n
    \n {/*
    \n

    Wt Avg Days Since Vacant

    \n

    \n {\" \"}\n {this.state.analysisData.vacantDetails != undefined\n ? this.state.analysisData.vacantDetails[\n \"weightedAvg\"\n ] + \" Days \"\n : \"-\"}\n

    \n
    */}\n
    \n

    Wt Avg Re-leasing Period

    \n

    \n {\" \"}\n {this.state.analysisData.vacantDetails != undefined\n ? this.state.analysisData.vacantDetails[\"releasing_period\"] +\n \" \"\n : \"\"}\n

    \n
    \n
    \n

    Wt Avg Re-leasing spread

    \n

    \n {\" \"}\n {this.state.analysisData.vacantDetails != undefined\n ? this.state.analysisData.vacantDetails[\"releasing_spread\"] +\n \" \"\n : \"\"}\n

    \n
    \n
    \n {/*
    \n

    \n {this.state.summaryData.rentalResult != undefined\n ? this.state.summaryData.rentalResult.total\n : \"-\"}\n \n \n
    \n Wt Avg psf Rent\n

    \n
    \n

    5 year CAGR

    \n

    \n {\" \"}\n {this.state.summaryData.rentalResult != undefined\n ? this.state.summaryData.rentalResult[\"5_year_cagr\"]\n : \"-\"}\n

    \n
    \n
    \n

    Avg Annual Escalation

    \n

    \n {\" \"}\n {this.state.summaryData.rentalResult != undefined\n ? this.state.summaryData.rentalResult[\n \"annual_escaltion\"\n ]\n : \"-\"}\n

    \n
    \n
    \n

    Income from top 10 occupier

    \n

    \n {\" \"}\n {this.state.summaryData.rentalResult != undefined\n ? this.state.summaryData.rentalResult[\n \"income_from_top_occupier\"\n ]\n : \"-\"}\n

    \n
    \n
    */}\n {/*
    \n

    \n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult.total\n : \"-\"}{\" \"}\n months WALE\n

    \n
    \n

    Avg Portfolio WALE

    \n

    \n {\" \"}\n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult[\"new\"]\n : \"-\"}\n

    \n
    */}\n {/*
    \n

    Y-o-Y Change in WALE -

    \n

    \n {\" \"}\n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult[\"existing\"]\n : \"-\"}\n

    \n
    */}\n {/*
    \n

    AVG 5 year WALE

    \n

    \n {\" \"}\n {this.state.summaryData.occupierResult != undefined\n ? this.state.summaryData.occupierResult[\"existing\"]\n : \"-\"}\n

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

    Asset Details

    \n
    \n
    \n \n \n\n \n \n \n \n \n \n
    \n
    \n\n \n \n \n \n \n \n \n {/* */}\n \n \n \n {this.state.tableAssetData.map((val) => {\n return (\n \n \n \n \n \n {/* */}\n \n );\n })}\n {/* \n \n \n \n \n */}\n \n
    Asset NameGross Leasable Area (Sqft)Rental (Psf/m)WALE (Months)day diff
    {val.asset_name}{val.gla}{val.rental}{val.wale}{val.timeDiff}
    1234
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {/*
    \n
    \n
    \n {\n this.handleMainChange(e);\n }}\n placeholder={

    Select Asset

    }\n // menuIsOpen= {true}\n />\n {\n this.setState({ showFilter: !this.state.showFilter });\n }}\n >\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    */}\n\n
    \n );\n }\n}\n\nexport default withRouter(DashboardIndex);\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faKey,\n faRupeeSign,\n faChartLine,\n faFileAlt,\n faShieldAlt,\n faTable,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"../SideMenu.css\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\nimport { getUserType } from \"../utils/index\";\n\nvar revenueReportText = \"Revenue Report\";\nif (getUserType() == \"Occupier\" || getUserType() == \"occupier\") {\n revenueReportText = \"Expense Report\";\n}\n\nclass DashboardSideMenu extends React.Component {\n state = {\n openMenu: [\"1\"],\n activeKey: \"1-1\",\n };\n constructor(props) {\n super(props);\n }\n render() {\n let url = this.props.match;\n console.log(this.props.location.pathname);\n return (\n
    \n {\n console.log(openKeys[openKeys.length - 1]);\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n //defaultOpenKeys={['1', '2']}\n >\n \n \n \n \n
    \n );\n }\n}\n\nexport default withRouter(DashboardSideMenu);\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n useRouteMatch,\n} from \"react-router-dom\";\nimport DashboardIndex from \"./Index\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faFileAlt,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport TopHeader from \"../layout/TopHeader\";\nimport { getUserRole } from \"../utils/index\";\nimport DashboardSideMenu from \"./DashboardSideMenu\";\nimport BottomNav from \"../layout/BottomNav\";\n\nexport default function Dashboard() {\n let match = useRouteMatch();\n\n return (\n
    \n \n
    \n <>\n {/* */}\n \n \n \n \n \n \n \n
    \n
    \n );\n}\n","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../utils/index\";\nimport apiUrl from \"../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nclass CommentAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n users: [],\n role: getUserRole(),\n initialValues: {\n\n }\n };\n }\n componentDidMount() {\n }\n\n render() {\n return (\n
    \n {/*

    Add Comment

    \n

    {this.props.leadId}

    */}\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n values.lead_id = this.props.leadId;\n\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url + \"/leads/add-comment\",\n data: values,\n }).then(function (response) {\n if (response.data.status == 'success') {\n setTimeout(() => {\n self.props.closeModal(); // Close modal after form submission\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n }\n });\n\n // setTimeout(() => {\n // alert(JSON.stringify(values, null, 2));\n // setSubmitting(false);\n // }, 400\n // );\n\n }\n }\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n\n\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Comment\", values.comment, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )}\n\n \n
    \n );\n }\n};\n\nexport default CommentAdd;","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../utils/index\";\nimport apiUrl from \"../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nclass TaskAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n users: [],\n role: getUserRole(),\n initialValues: {\n\n }\n };\n }\n componentDidMount() {\n if (this.state.role === 'admin') {\n var self = this;\n axios({\n method: \"get\",\n url: apiUrl.apiUrl.url + '/user/get-members',\n }).then(function (response) {\n self.setState({\n users: response.data.data\n });\n });\n }\n }\n\n closeModal =() => {\n this.props.closeModal();\n }\n\n render() {\n return (\n
    \n {/*

    Add Task

    \n

    {this.props.leadId}

    */}\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n values.lead_id = this.props.leadId;\n\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url + \"/leads/create-task\",\n data: values,\n }).then(function (response) {\n if (response.data.status == 'success') {\n setTimeout(() => {\n self.props.closeModal(); // Close modal after form submission\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n }\n });\n }\n }\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n {this.state.role === 'admin' && (\n
    \n \n
    \n \n \n {this.state.users.map(user => (\n \n ))}\n \n {this.validator.message(\"User\", values.user_id, \"required\", { className: \"text-danger\" })}\n
    \n
    \n )}\n\n
    \n \n
    \n \n {this.validator.message(\"Task\", values.task, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Due Date\", values.duedate, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n \n )}\n\n \n
    \n );\n }\n};\n\nexport default TaskAdd;","import React from 'react';\nimport { Formik, Form, Field } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole,getLeadCategories,getLeadSubCategories } from \"../utils/index\";\nimport apiUrl from \"../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport Select from \"react-select\";\n\nclass UpdateLeadStatus extends React.Component {\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n stages: getLeadCategories(),\n subStages: [],\n currentSubStages: [],\n role: getUserRole(),\n stageSelectedLabel: '',\n subStageSelectedLabel: this.props.sub_stage || '',\n initialValues: {\n stage: this.props.stage || '',\n sub_stage: this.props.sub_stage || '',\n sub_stage_id: this.props.sub_stage_id || '',\n comment: ''\n },\n showDropFlags: this.props.stage=='inactive' && this.props.sub_stage=='Drop'?true: false,\n selectedDropReason:'',\n dropLists: [],\n };\n }\n\n async componentDidMount() {\n try {\n const subStages = await getLeadSubCategories();\n console.log(subStages);\n console.log(this.props);\n this.setState({\n subStages: subStages,\n initialValues:{\n stage:this.state.stages[this.props.stage.toLowerCase()],\n sub_stage: this.props.sub_stage || '',\n sub_stage_id: this.props.sub_stage_id || '',\n }\n });\n\n if (this.props.stage) {\n this.setState({\n currentSubStages: this.state.subStages[this.props.stage.toLowerCase()],\n stageSelectedLabel : this.state.stages[this.props.stage.toLowerCase()]\n });\n }\n\n //----------------- fetch Drop reasons ----------------//\n\n axios.get(`${apiUrl.apiUrl.url}/leads/drop-reason-list`, {\n params: {\n per_page: 100,\n page: 1\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.setState({\n dropLists: response.data.data\n });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n\n } catch (error) {\n console.error('Error in update stages:', error);\n }\n\n\n \n }\n\n render() {\n return (\n
    \n {\n\n if (this.state.showDropFlags) {\n if (!values.drop_reason) {\n this.validator.showMessages();\n return false;\n }\n } else {\n this.validator.message(\"Drop Reason\", values.drop_reason,\"\",\"\");\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n }\n\n // if (!this.validator.allValid()) {\n // this.validator.getErrorMessages();\n // this.validator.showMessages();\n // return false;\n // }\n\n values.lead_id = this.props.leadId;\n\n axios.post(`${apiUrl.apiUrl.url}/leads/update-lead-stages`, values)\n .then(response => {\n if (response.data.status === 'success') {\n this.props.closeModal();\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n }\n });\n }}\n >\n {({\n values,\n setFieldValue,\n handleChange,\n handleSubmit,\n isSubmitting\n }) => (\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n
    \n \n
    \n {\n setFieldValue('stage', selectedOption.label);\n setFieldValue('sub_stage', ''); // Reset sub_stage\n setFieldValue('sub_stage_id','');\n this.setState({\n currentSubStages: this.state.subStages? this.state.subStages[selectedOption.value.toLowerCase()]:[],\n stageSelectedLabel: selectedOption.label,\n subStageSelectedLabel:''\n });\n }}\n value={{\n label: this.state.stageSelectedLabel,\n value: values.stage,\n }}\n \n options={Object.entries(this.state.stages).map(([key, value]) => ({ \n label: value,\n value: key,\n }))}\n />\n {this.validator.message(\"Stage\", values.stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('sub_stage', selectedOption.originalLabel);\n setFieldValue('sub_stage_id', selectedOption.value);\n this.setState({\n subStageSelectedLabel: selectedOption.label,\n showDropFlags: values.stage=='Inactive Lead' && selectedOption.label=='Drop'? true:false\n });\n\n }}\n value={{\n label: this.state.subStageSelectedLabel,\n value: values.sub_stage,\n }}\n options={this.state.currentSubStages.map((item) => ({\n originalLabel: item.title,\n label: item.winning_probability ? `${item.title} - Winning Probability: (${item.winning_probability}%)` : item.title,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Sub stage\", values.sub_stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n { this.state.showDropFlags == true ?\n\n
    \n \n
    \n {\n setFieldValue('drop_reason', selectedOption.label);\n this.setState({\n selectedDropReason: selectedOption.label\n });\n }}\n value={{\n label: this.state.selectedDropReason,\n value: this.state.selectedDropReason,\n }}\n options={this.state.dropLists.map((item) => ({\n label: item.title,\n value: item.title,\n }))}\n />\n {this.validator.message(\"Drop Reason\", values.drop_reason, \"required\", { className: \"text-danger\" })}\n
    \n
    \n : null\n }\n\n
    \n \n
    \n \n \n {!this.state.showDropFlags &&\n this.validator.message(\"Comment\", values.comment, \"required\", { className: \"text-danger\" })\n }\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n )}\n \n
    \n );\n }\n}\n\nexport default UpdateLeadStatus;\n","import React from 'react';\nimport { Formik, Form, Field } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole,getLeadCategories,getLeadSubCategories,getLeadStatus } from \"../utils/index\";\nimport apiUrl from \"../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport Select from \"react-select\";\n\nclass LeadStatusUpdate extends React.Component {\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n stages: getLeadStatus(),\n role: getUserRole(),\n statusSelectedLabel: this.props.leadStatus || '',\n initialValues: {\n status: this.props.leadStatus || '',\n comment: ''\n },\n showDropFlags: this.props.leadStatus=='Dropped'?true: false,\n selectedDropReason:'',\n dropLists: [],\n };\n }\n\n async componentDidMount() {\n try {\n //----------------- fetch Drop reasons ----------------//\n\n axios.get(`${apiUrl.apiUrl.url}/leads/drop-reason-list`, {\n params: {\n per_page: 100,\n page: 1\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.setState({\n dropLists: response.data.data\n });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n\n } catch (error) {\n console.error('Error in update stages:', error);\n }\n\n\n \n }\n\n render() {\n return (\n
    \n {\n\n if (this.state.showDropFlags) {\n if (!values.drop_reason) {\n this.validator.showMessages();\n return false;\n }\n } else {\n this.validator.message(\"Drop Reason\", values.drop_reason,\"\",\"\");\n if (!this.validator.allValid()) {\n this.validator.showMessages();\n return false;\n }\n }\n\n // if (!this.validator.allValid()) {\n // this.validator.getErrorMessages();\n // this.validator.showMessages();\n // return false;\n // }\n\n values.lead_id = this.props.leadId;\n\n axios.post(`${apiUrl.apiUrl.url}/leads/update-lead-status`, values)\n .then(response => {\n if (response.data.status === 'success') {\n this.props.closeModal();\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n }\n });\n }}\n >\n {({\n values,\n setFieldValue,\n handleChange,\n handleSubmit,\n isSubmitting\n }) => (\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('status', selectedOption.label);\n this.setState({\n statusSelectedLabel: selectedOption.label,\n showDropFlags: selectedOption.label=='Dropped'? true:false\n });\n }}\n options={this.state.stages.map((item) => ({\n label: item,\n value: item.item,\n }))}\n />\n {this.validator.message(\"Status\", values.status, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n { this.state.showDropFlags == true ?\n\n
    \n \n
    \n {\n setFieldValue('drop_reason', selectedOption.label);\n this.setState({\n selectedDropReason: selectedOption.label\n });\n }}\n value={{\n label: this.state.selectedDropReason,\n value: this.state.selectedDropReason,\n }}\n options={this.state.dropLists.map((item) => ({\n label: item.title,\n value: item.title,\n }))}\n />\n {this.validator.message(\"Drop Reason\", values.drop_reason, \"required\", { className: \"text-danger\" })}\n
    \n
    \n : null\n }\n\n {/*
    \n \n
    \n \n \n {!this.state.showDropFlags &&\n this.validator.message(\"Comment\", values.comment, \"required\", { className: \"text-danger\" })\n }\n
    \n
    */}\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n )}\n \n
    \n );\n }\n}\n\nexport default LeadStatusUpdate;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\nconst LoaderWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n position: absolute;\n background: rgba(255, 255, 255, 0.7);\n z-index: 10;\n`;\n\nconst Loader = () => (\n \n
    \n Loading...\n
    \n
    \n);\n\nexport default Loader;\n","import React from \"react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport axios from \"axios\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faPen,\n faPlus,\n faEye,\n faTimes,\n faUndo,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import axios from \"axios\";\nimport \"bootstrap/dist/css/bootstrap.css\";\n//import styles from \"../../masters/master.css\";\nimport apiUrl from \"../apiUrlConstant\";\n//import CreatableSelect from \"react-select/creatable\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport Select from \"react-select\";\nimport * as Yup from \"yup\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass ReportsColumnSelectionView extends React.Component {\n groupId = { value: \"\" };\n state = {\n url: `${apiUrl.apiUrl.url}/lease-report`,\n gridColumns: [],\n myArray: [],\n checkedItems: new Map(),\n };\n\n componentDidMount() {\n console.log(this.props.report);\n var ths = this;\n if (this.props.loadedColumns.length == 0) {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/leads/get-report-columns`,\n data: { reportType: this.props.report },\n }).then(function (response) {\n console.log(response.data, \"response\");\n ths.setState({ gridColumns: response.data });\n ths.props.setLoadedColumns(response.data);\n console.table(response.data)\n });\n } else {\n this.setState({ gridColumns: this.props.loadedColumns });\n }\n }\n\n componentDidUpdate() { }\n\n constructor(props) {\n super(props);\n this.handleChange = this.handleChange.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n setInputState(columns) {\n this.setState({ gridColumns: columns });\n }\n\n handleChange(event) {\n var isChecked = event.target.checked;\n var item = event.target.value;\n var myArray = this.state.gridColumns;\n var objIndex = myArray.findIndex((obj) => obj.name == item);\n myArray[objIndex].visible = isChecked;\n this.setState({ gridColumns: myArray, myArray: myArray });\n }\n handleSubmit(event) {\n console.log(this.state);\n event.preventDefault();\n }\n\n handleOnDragEnd = (e) => {\n console.log(e);\n if (!e.destination) return;\n const items = Array.from(this.state.gridColumns);\n const [reorderedItem] = items.splice(e.source.index, 1);\n items.splice(e.destination.index, 0, reorderedItem);\n this.setState({ gridColumns: items });\n };\n\n setFrmValues(type) {\n //console.log(this.state.gridColumns, \"this.state.gridColumns\");\n var finalColumnList = [];\n this.state.gridColumns.map(\n (item) => {\n if (item.visible) {\n finalColumnList.push(item);\n }\n });\n\n if (typeof type != \"undefined\") {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/leads/save-report-columns`,\n data: {\n reportType: this.props.report,\n finalColumnList: finalColumnList,\n },\n }).then(function (response) {\n console.log(response.data, \"response\");\n // ths.setState({ gridColumns: response.data });\n // ths.props.setLoadedColumns(response.data);\n });\n }\n\n // console.log(finalColumnList,'final column list');\n this.props.setGridColumns(finalColumnList);\n this.props.handleMergeAction(finalColumnList);\n //this.props.setLoadedColumns(this.state.gridColumns);\n this.props.handleClose(false);\n }\n\n render() {\n return (\n \n
    \n {this.renderForm()}\n
    \n \n );\n }\n\n renderForm() {\n // NewData=[{grow: 1,id: 1,name: \"Created at\",selector: \"created at\",sortable: false,visible: true},{grow: 1,id: 2,name: \"Approved date\",selector: \"Approved Date\",sortable: false,visible: true}]\n return (\n\n
    \n \n {({\n values,\n\n errors,\n\n touched,\n\n handleChange,\n\n handleBlur,\n\n handleSubmit,\n\n isSubmitting,\n\n resetForm,\n }) => (\n
    \n
    \n
    \n
    \n
    \n

    \n Select Columns\n

    \n \n \n {(provided) => (\n \n {this.state.gridColumns.map((item, index) => (\n \n {(provided) => (\n \n \n \n )}\n \n ))}\n\n\n\n \n )}\n \n \n {/* \n {this.state.gridColumns.map((item, index) => (\n \n \n \n \n \n ))}\n */}\n
    \n
    \n
    \n
    \n
    \n {\n this.setFrmValues();\n }}\n >\n Filter\n \n {\n this.setFrmValues(1);\n }}\n >\n Save & Filter\n \n
    \n\n
    \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n );\n }\n}\n\nexport default withRouter(ReportsColumnSelectionView);\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport styled from \"styled-components\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faPlus, faPen, faFileExcel, faComments, faCogs,faCog, faEye, faDownload } from \"@fortawesome/free-solid-svg-icons\";\nimport apiUrl from \"../apiUrlConstant\";\nimport DataTable, { createTheme, defaultThemes } from \"react-data-table-component\";\nimport datatableOptions from \"../layout/datatableConstants\";\nimport { Link } from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport { Modal, Button } from \"react-bootstrap\";\nimport CommentSection from \"./CommentAdd\";\nimport TaskAddComp from \"./TaskAdd\";\nimport UpdateStatus from \"./UpdateLeadStatus\";\nimport LeadStatusUpdate from \"./LeadStatusUpdate\";\nimport moment from \"moment\";\nimport { getUserCategory, numberFormat, capitalizeFirstLetter } from \"../utils/index\";\nimport Loader from \"../Loader\"; // Import the loader component\nimport ReportsColumnSelectionView from \"./ReportColumn\";\nimport Select from 'react-select'\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n columns={columns}\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color:#003970;\n`;\n\nconst DownloadButton = styled(Button)`\n margin-left: 0;\n`;\n\nconst FilterComponent = ({ filterText, onFilter, onClear }) => (\n <>\n \n \n \n \n \n);\n\nconst LeadMasterTable = (props) => {\n const [filterText, setFilterText] = React.useState(\"\");\n const [resetPaginationToggle, setResetPaginationToggle] = React.useState(false);\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(true); // Set initial loading to true\n const [totalRows, setTotalRows] = useState(0);\n const [perPage, setPerPage] = useState(10);\n const [addSection, setAddSection] = useState('');\n const [showTaskModal, setShowTaskModal] = useState(false);\n const [activeLeadId, setActiveLeadId] = useState();\n const [activeLeadStatus, setActiveLeadStatus] = useState('');\n const [activeLeadSubStatus, setActiveLeadSubStatus] = useState('');\n const [activeLeadSubStatusId, setActiveLeadSubStatusId] = useState('');\n const [activeCurrentStatus, setCurrentStatus] = useState('');\n const [gridColumns, setGridColumns] = useState([]);\n const [showColumn,setShowColumn] = useState(false);\n const [loadedColumns, setLoadedColumns] = useState([]);\n const [reportColumns, setReportColumns] = useState([]);\n\n // Define handleDownload function\n const handleDownload = async (stageData) => {\n try {\n var self = this;\n axios({\n method: \"post\",\n //url: `${apiUrl.apiUrl.url + '/leads/download-leads?stage='+stageData.type+'&sub_stage='+stageData.sub_type}`,\n url: `${apiUrl.apiUrl.url + '/leads/download-leads'}`,\n data: {'stage': stageData.type, 'sub_stage': stageData.sub_type, 'columns': reportColumns}\n }).then(function (response) {\n //console.log(response);\n window.location.href = `${apiUrl.apiUrl.url + '/lease-report/download-file?path=' + response.data}`;\n });\n } catch (error) {\n console.error(\"Error downloading file: \", error);\n }\n };\n\n React.useEffect(() => {\n fetchLeads(1);\n }, [props.tablekey, filterText]);\n\n const subHeaderComponentMemo = React.useMemo(() => {\n const handleClear = () => {\n if (filterText) {\n setResetPaginationToggle(!resetPaginationToggle);\n setFilterText(\"\");\n }\n };\n\n return (\n <>\n {(data.length > 0 || filterText) && (\n
    \n {\n setFilterText(e.target.value);\n }}\n onClear={handleClear}\n filterText={filterText}\n />\n {data.length > 0 && (\n <>\n {handleDownload(props, reportColumns)}} className=\"download_button\">\n Download\n \n\n \n \n )}\n
    \n )}\n \n );\n }, [filterText, resetPaginationToggle, props, data, reportColumns]);\n\n const fetchLeads = async (page) => {\n setLoading(true);\n try {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/leads/lists?stage=${props.type}&sub_stage=${props.sub_type}&page=${page}&per_page=${perPage}&delay=1&term=${filterText}`\n );\n \n // Set the data and total rows first\n setData(response.data.data);\n setTotalRows(response.data.total);\n \n // Then fetch the report columns using the same response context\n const reportColumnsResponse = await axios.get(\n `${apiUrl.apiUrl.url}/leads/fetch-report-columns?type=lead-listing`\n );\n\n handleMergeAction(reportColumnsResponse.data.gridColumns);\n \n } catch (error) {\n console.error(\"Error fetching data: \", error);\n } finally {\n setLoading(false);\n }\n };\n\n const handleMergeAction = (column) => {\n console.log(column);\n setReportColumns(column);\n //console.log(reportColumns, 'Report column');\n const actionColumn = {\n name: \"Action\",\n grow: 1,\n sortable: false,\n cell: (record) => {\n return (\n
    \n \n \n Action\n \n\n \n \n \n \n Edit\n \n \n \n \n \n \n View\n \n \n \n {\n handleModal(record.id, 'status', record);\n }}>\n
    \n {\n handleModal(record.id, 'status', record);\n }}\n className=\"tableActionnewEdit\"\n >\n Edit Stages\n \n
    \n
    \n {\n handleModal(record.id, 'lead_status', record);\n }}>\n
    \n {\n handleModal(record.id, 'lead_status', record);\n }}\n className=\"tableActionnewEdit\"\n >\n Edit Status\n \n
    \n
    \n {\n handleModal(record.id, 'task', record);\n }}>\n
    \n {\n handleModal(record.id, 'task', record);\n }}\n className=\"tableActionnewEdit\"\n >\n Add Task\n \n
    \n
    \n
    \n
    \n
    \n );\n },\n };\n\n const updatedColumns = [...column, actionColumn];\n\n //console.log(updatedColumns);\n\n const modifiedColumns = updatedColumns.map(column => {\n if (column.selector === \"lead_temperature\") {\n return {\n ...column,\n sortable: true,\n cell: (record) => {\n if (record.lead_temperature === \"hot\") {\n return (\n \n );\n } else if (record.lead_temperature === \"warm\") {\n return (\n \n );\n } else if (record.lead_temperature === \"cold\") {\n return (\n \n );\n } else {\n return (\n \n );\n }\n }\n };\n }\n\n if (column.selector === \"title\") {\n return {\n ...column,\n sortable: true, // Optional sorting\n cell: (record) => {\n return (\n \n {record.title}\n \n );\n }\n };\n }\n\n if (column.selector === \"user_name\") {\n return {\n ...column,\n sortable: true, // Optional sorting\n cell: (record) => {\n return (\n \n {record.user_name}\n \n );\n }\n };\n }\n\n return column; // Return the column unchanged if not lead_temperature\n });\n \n setGridColumns(modifiedColumns);\n };\n \n\n const handlePageChange = (page) => {\n fetchLeads(page);\n };\n\n const handlePerRowsChange = async (newPerPage, page) => {\n setLoading(true);\n try {\n const response = await axios.get(\n `${apiUrl.apiUrl.url}/leads/lists?stage=${props.type}&sub_stage=${props.sub_type}&page=${page}&per_page=${newPerPage}&delay=1&term=${filterText}`\n );\n setData(response.data.data);\n setPerPage(newPerPage);\n } catch (error) {\n console.error(\"Error fetching data: \", error);\n } finally {\n setLoading(false);\n }\n };\n\n function handleGrid() {\n console.log('You clicked submit.');\n setShowColumn(true);\n }\n\n const handleModal = (id, type, record) => {\n console.log(record);\n setActiveLeadId(id);\n setAddSection(type);\n setShowTaskModal(true);\n if (type === 'status') {\n //const record = data.find(d => d.id === id);\n setActiveLeadStatus(record.main_stage);\n setActiveLeadSubStatus(record.main_sub_stage);\n setActiveLeadSubStatusId(record.lm_lead_sub_stage_id);\n }else if(type === 'lead_status'){\n //const record = data.find(d => d.id === id);\n setCurrentStatus(record.lead_temperature);\n }\n };\n\n const closeTaskModel = () => {\n setShowTaskModal(false);\n fetchLeads(1);\n if (addSection == 'status' || addSection == 'lead_status') {\n props.onDataChange();\n }\n };\n\n const closeReportModel = () => {\n setShowColumn(false);\n // fetchLeads(1);\n // if (addSection == 'status' || addSection == 'lead_status') {\n // props.onDataChange();\n // }\n };\n\n return (\n
    \n {loading && }\n \n\n setShowTaskModal(false)} backdrop=\"static\" >\n \n {addSection === 'task' ? \"Add Task\" : addSection === 'comment' ? \"Add Comment\" : addSection=='lead_status'?'Update Status':\"Update Stage\"}\n \n \n {addSection === 'task' ? (\n \n ) : addSection === 'comment' ? (\n \n ) : addSection === 'lead_status' ? (\n \n ):(\n \n )}\n \n \n\n setShowColumn(false)}>\n \n Filter Columns\n \n \n \n \n \n\n
    \n );\n};\n\n\n\n\nexport default LeadMasterTable;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { faChevronRight } from '@fortawesome/free-solid-svg-icons';\nimport axios from 'axios';\nimport apiUrl from '../apiUrlConstant';\nimport LeadList from './DashbordLead';\nimport Select from 'react-select';\n\nconst statusOption = [\n { value: 'active', label: 'Active Lead' },\n { value: 'inactive', label: 'Inactive Lead' }\n]\n\nclass Dashboard extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n data: [],\n filterData: [],\n leadsDropdown: 'dashboardlead',\n leadType: 'active',\n leadSubtype: '',\n currentStatus: '',\n };\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n fetchData() {\n axios.get(`${apiUrl.apiUrl.url}/leads/dashboard?type=${this.state.leadType}`)\n .then(response => {\n this.setState({\n data: response.data.leads,\n filterData: response.data.leads[this.state.leadType]\n });\n });\n }\n\n handleDataChange = (newData) => {\n this.fetchData();\n }\n\n handleStatusFilterChange = (e) => {\n let status = e.value;\n this.setState({\n leadType: status,\n leadSubtype: '',\n currentStatus: status,\n filterData: this.state.data[status]\n });\n }\n\n render() {\n return (\n <>\n
    \n
    \n
    \n \n
    \n
    \n
    \n { //this.state.filterData && this.state.filterData.length > 0 && (\n
    \n val.label === \"Active Lead\")\n }\n onChange={this.handleStatusFilterChange}\n options={statusOption}\n className=\"basic-single leads-filter-dropdown\"\n classNamePrefix=\"leads-filter-dropdown-inner\"\n // menuIsOpen={true}\n />\n\n \n\n\n
    \n {this.state.filterData && this.state.filterData.length > 0 && (\n this.state.filterData.map(list => (\n {\n if(this.state.leadSubtype != list.id){\n this.setState({\n leadSubtype: list.id\n });\n }else{\n this.setState({\n leadSubtype: ''\n });\n }\n \n }}\n >\n

    {list.sub_stage !== '' ? list.sub_stage : 'Other'}

    \n

    {list.record}

    \n
    \n ))\n )}\n
    \n
    \n //)\n }\n\n \n
    \n \n \n );\n }\n}\n\nexport default Dashboard;\n","import React from \"react\";\nimport { Nav, Sidenav, Dropdown, Icon } from \"rsuite\";\nimport \"rsuite/dist/styles/rsuite-default.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faUser,\n faList,\n faKey,\n faHouseUser,\n faCog,\n faRupeeSign,\n faAtom,\n faCopyright,\n faFileContract,\n} from \"@fortawesome/free-solid-svg-icons\";\n//import styles from \"./SideMenu.css\";\nimport { getUserRole } from \"../utils/index\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n withRouter,\n useParams,\n} from \"react-router-dom\";\n\nclass SideMenu extends React.Component {\n state = {\n openMenu: this.props.openMenu ? [this.props.openMenu] : [\"\"],\n activeKey: this.props.activeKey ? this.props.activeKey : \"1-1\",\n };\n\n render() {\n let url = this.props.match;\n return (\n
    \n {\n console.log(openKeys[openKeys.length - 1]);\n this.setState({ openMenu: [openKeys[openKeys.length - 1]] });\n }}\n >\n \n \n \n \n
    \n );\n }\n}\n\nexport default withRouter(SideMenu);\n","import React, { useState, useEffect } from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faUndo, faPen, faTimes, faChevronRight, faTrashAlt } from \"@fortawesome/free-solid-svg-icons\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport axios from \"axios\";\nimport apiUrl from \"../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../utils/utils\";\nimport { getUserRole, getUserType, getUserCategory, getLeadCategories, getLeadSubCategories, getLeadStatus } from \"../utils/index\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { Alert } from 'react-bootstrap';\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeadAdd extends React.Component {\n state = {\n users: [],\n tenantIndustriesList: [\n 'Accounting',\n 'Acupuncture',\n 'Admin / Support',\n 'Advertising',\n 'Aerospace & Defense',\n 'Agriculture',\n 'Airlines',\n 'Allergy',\n 'Ambulatory Surgery Center',\n 'Apparel & Accessories',\n 'Architecture',\n 'Association / Non Profit',\n 'Automotive',\n 'Bar',\n 'Biotechnology',\n 'Bookstore',\n 'Broker Dealer',\n 'Asset use',\n 'Business Support',\n 'Cancer Center',\n 'Cardiology',\n 'Chemicals',\n 'Childcare / Play',\n 'Children\\'s Apparel',\n 'Chiropractic',\n 'Cinemas / Theaters',\n 'Clean Tech',\n 'Coffee',\n 'Construction',\n 'Consulting',\n 'Consumer Products',\n 'Consumer Services',\n 'Convenience Store',\n 'Dentistry',\n 'Department Store',\n 'Dermatology',\n 'Diagnostic / Medical Device',\n 'Dialysis',\n 'Distributors',\n 'Drug Store',\n 'Education',\n 'Electronics',\n 'Emergency Medicine',\n 'Endocrinology',\n 'Endoscopy',\n 'Energy',\n 'Engineering',\n 'Entertainment & Leisure',\n 'ENT / Ontology',\n 'Executive Search / Staffing',\n 'Eye Center',\n 'Family Medicine',\n 'Financial Services',\n 'Fitness',\n 'Food & Beverage',\n 'Gastroenterology',\n 'Government Agency',\n 'Government Contractor',\n 'Grocery',\n 'Hardware',\n 'Health & Beauty',\n 'Healthcare (General)',\n 'Hearing',\n 'Hedge Fund',\n 'Hematology',\n 'Home Improvement / Furnishings',\n 'Hospitality',\n 'Infectious Disease',\n 'Infusion',\n 'Insurance',\n 'Internal Medicine',\n 'IT Services',\n 'Jewelry',\n 'Legal Services',\n 'Liquor Store',\n 'Manufacturing',\n 'Materials',\n 'Media',\n 'Men\\'s Apparel',\n 'Mining',\n 'Mortgage',\n 'Multi-Specialty',\n 'Nephrology',\n 'Neurology',\n 'Newsstand',\n 'Nutrition',\n 'Obstetrics & Gynecology',\n 'Oil and Gas',\n 'Oncology',\n 'Ophthalmology',\n 'Orthopedics',\n 'Other',\n 'Other Services',\n 'Pain',\n 'Pediatrics',\n 'Personal Services',\n 'Pharmaceuticals',\n 'Pharmacy',\n 'Physical Medicine & Rehabilitation',\n 'Plastic Surgery',\n 'Podiatry',\n 'Private Equity',\n 'Professional & Commercial Services',\n 'Property Management',\n 'Psychiatry',\n 'Publishing',\n 'Pulmonology',\n 'Radiology & Medical Imaging',\n 'Real Estate',\n 'Restaurant (Fast Casual)',\n 'Restaurant (Full Service)',\n 'Restaurant (Other)',\n 'Restaurant (Quick Service)',\n 'Bank',\n 'Retail (General)',\n 'Retail (Specialty)',\n 'Rheumatology',\n 'Salon / Spa',\n 'Serviced Office',\n 'Shoes',\n 'Sleep Center',\n 'Social Services',\n 'Sporting Goods',\n 'Surgery',\n 'Technology',\n 'Technology Hardware',\n 'Technology Software',\n 'Telecommunications',\n 'Therapeutic',\n 'Toy / Gift / Craft',\n 'Transportation',\n 'Unknown',\n 'Urgent Care',\n 'Urology',\n 'Utilities',\n 'Virtual',\n 'Warehousing',\n 'Weight & Bariatrics',\n 'Wholesale',\n 'Women\\'s Apparel',\n 'Women\\'s Center',\n 'Wound Care & Hyperbaric'\n ],\n showAlert: false,\n tenantStatusList: ['Prospect', 'Client'],\n leadSegmentList: getLeadStatus(),\n requirementLists: [],\n stageLists: [],\n phoneNumerTypeLists: [],\n tenantStatus: '',\n tenantIndustries: '',\n isOpen: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n url: apiUrl.apiUrl.url + \"/leads/create\",\n id: undefined,\n initialValues: {\n tenant: '',\n contacts: [\n {\n first_name: '',\n last_name: '',\n email: '',\n title: '',\n phone_no: '',\n phone_no_type: ''\n }\n ]\n },\n isHotProspectFlag: false,\n currentSubStages: [],\n actionType: 'add',\n errorMessages: [],\n selectedStage:'',\n selectedSubStage:'',\n subStageError:false\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n async componentDidMount() {\n\n if (getUserRole() === 'admin') {\n var self = this;\n axios({\n method: \"get\",\n url: apiUrl.apiUrl.url + '/user/get-members',\n }).then(function (response) {\n self.setState({\n users: response.data.data\n });\n });\n }\n\n if (this.props.match.params.id !== undefined) {\n this.state.url = apiUrl.apiUrl.url + \"/leads/update?id=\" + this.props.match.params.id;\n this.state.actionType = \"update\";\n\n fetch(`${apiUrl.apiUrl.url}/leads/get?id=${this.props.match.params.id}`, {headers}).then(\n (response) => {\n return response.json();\n })\n .then((data) => {\n this.setState({\n initialValues: data.data,\n isHotProspectFlag: data.data.is_hot_prospect == '1' ? true : false,\n });\n }\n ).catch((error) => {\n console.log(error);\n });\n\n\n } else {\n this.state.url = apiUrl.apiUrl.url + \"/leads/create\";\n }\n\n this.setState({});\n\n const subStages = await getLeadSubCategories();\n \n this.setState({\n requirementLists: [\n \"Amenities\", \"Education\", \"Flex\", \"Industrial / Warehouse\", \"Lab\",\n \"Leisure\",\n \"Manufacturing\",\n \"Medical office\",\n \"Office\",\n \"Other\",\n \"Parking\",\n \"Residential\",\n \"Restaurant\",\n \"Retail\",\n \"Rooftop\",\n \"Storage\",\n \"Telecom\",\n \"Unspecified\"\n ],\n stageLists: getLeadCategories(),\n subStages: subStages,\n phoneNumerTypeLists: ['Office', 'Mobile', 'Home', 'Other']\n });\n\n //console.log('Sub stages: ', this.state);\n }\n\n componentDidUpdate() {\n\n }\n\n redirectAfterSave = () => {\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n tenant: '',\n contacts: []\n },\n });\n };\n\n render() {\n\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n
      \n
    • \n Lead Module\n
    • \n
    • \n
    • \n Add Lead\n
    • \n
    \n
    \n
    \n\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n //console.log(values);\n\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n if (response.data.status == 'success') {\n self.setState({\n messsagePopup: true,\n popupContent: \"Lead Saved Successfully!\",\n url: `${apiUrl.apiUrl.url}/leads/create-category`\n });\n\n } else {\n actions.setSubmitting(false);\n console.log(response.data);\n\n const errorMessages = Object.values(response.data.errors).flat().map((msg, index) =>
  • {msg}
  • );\n \n self.setState({\n showAlert: true,\n errorMessages: errorMessages\n });\n }\n });\n }}\n >\n {({\n values,\n handleChange,\n setFieldValue,\n handleBlur,\n handleSubmit,\n isSubmitting,\n }) => (\n <>\n {this.state.showAlert == true ? (\n \n
      \n {this.state.errorMessages}\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n\n
    \n {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }}\n >\n
    \n\n
    \n
    \n {/*
    */}\n

    COMPANY

    \n
    \n\n {getUserRole() === 'admin' && this.state.actionType !== 'update' && (\n
    \n \n
    \n \n \n {this.state.users.map(user => (\n \n ))}\n \n {this.validator.message(\"User\", values.user_id, \"required\", { className: \"text-danger\" })}\n
    \n
    \n )}\n\n
    \n \n
    \n \n {this.validator.message(\"Lead Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Tenant\", values.tenant, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('tenant_industry', selectedOption.value);\n }}\n value={{\n label: values.tenant_industry,\n value: values.tenant_industry,\n }}\n options={this.state.tenantIndustriesList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('tenant_status', selectedOption.value);\n }}\n value={{\n label: values.tenant_status,\n value: values.tenant_status,\n }}\n options={this.state.tenantStatusList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('lead_temperature', selectedOption.value);\n }}\n value={{\n label: values.lead_temperature,\n value: values.lead_temperature,\n }}\n options={this.state.leadSegmentList.map((item) => ({\n label: item.charAt(0).toUpperCase() + item.slice(1),\n value: item,\n }))}\n />\n {this.validator.message(\"Lead Segment\", values.lead_temperature, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n
    \n

    DEAL INFORMATION

    \n { this.state.subStageError==true && ( \n \n
      \n
    • Please create a sub stage
    • \n
    \n this.setState({ subStageError: false })}>\n \n \n \n \n
    \n )}\n
    \n {this.state.actionType !== 'update' && (\n <>\n
    \n \n
    \n {\n setFieldValue('stage', selectedOption.value);\n setFieldValue('sub_stage', ''); \n setFieldValue('sub_stage_id', ''); // Reset sub_stage\n \n const subStages = this.state.subStages ? this.state.subStages[selectedOption.value.toLowerCase()] : undefined;\n\n \n this.setState({\n selectedStage: selectedOption.label,\n currentSubStages: subStages !== undefined ? subStages : [],\n subStageError: subStages !== undefined ? false : true\n });\n }}\n value={{\n label: this.state.selectedStage,\n value: values.stage,\n }}\n options={Object.entries(this.state.stageLists).map(([key, value]) => ({\n label: value,\n value: key,\n }))}\n\n />\n {this.validator.message(\"Stage\", values.stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('sub_stage', selectedOption.originalLabel);\n setFieldValue('sub_stage_id', selectedOption.value);\n this.setState({\n selectedSubStage: selectedOption.label\n });\n }}\n value={{\n label: this.state.selectedSubStage,\n value: values.sub_stage,\n }}\n options={this.state.currentSubStages.map((item) => ({\n originalLabel: item.title,\n label: item.winning_probability ? `${item.title} - Winning Probability: (${item.winning_probability}%)` : item.title,\n value: item.id,\n }))}\n />\n {this.validator.message(\"Sub stage\", values.sub_stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n \n )}\n\n
    \n \n
    \n {\n setFieldValue('requirement_type', selectedOption.value);\n }}\n value={{\n label: values.requirement_type,\n value: values.requirement_type,\n }}\n options={this.state.requirementLists.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n
    \n

    CURRENT LOCATION

    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n
    \n
    \n\n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n /> \n {this.validator.message('Current rent', values.current_rent, 'numeric')}\n
    \n
    \n\n
    \n
    \n

    ADD CONTACT

    \n
    \n \n {({ insert, remove, push }) => (\n <>\n {values.contacts.length > 0 &&\n values.contacts.map((contact, index) => (\n <>\n
    \n \n
    \n \n {this.validator.message('First Name', values.contacts[index].first_name, 'alpha_space')}\n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Last Name', values.contacts[index].last_name, 'alpha_space')}\n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Email address', values.contacts[index].email, 'email')}\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Phone Number', values.contacts[index].phone_no, 'phone')}\n
    \n
    \n
    \n \n
    \n {\n setFieldValue(`contacts.${index}.phone_no_type`, option.value);\n values.contacts[index].phone_no_type = option.value;\n }}\n value={{\n label: values.contacts[index].phone_no_type,\n value: values.contacts[index].phone_no_type,\n }}\n options={this.state.phoneNumerTypeLists.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n
    \n {index > 0 &&\n remove(index)}\n >\n Remove Contact\n \n }\n
    \n
    \n
    \n
    \n \n ))}\n \n push({\n first_name: '',\n last_name: '',\n email: '',\n title: '',\n phone_no: '',\n phone_no_type: ''\n })\n }\n >\n Add More Contact\n \n \n )}\n
    \n
    \n
    \n

    ADD Requirements

    \n
    \n
    \n \n
    \n {\n setFieldValue('area_type', selectedOption.value);\n }}\n value={{\n label: values.area_type,\n value: values.area_type,\n }}\n options={['Carpet area', 'Usable area', 'Gross Leaseable area'].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.requested_sqft_from, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.requested_sqft_to, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.target_price_from, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.target_price_to, 'numeric')}\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n

    ADD Commissions

    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n\n \n
    \n\n
    \n \n
    \n \n )\n }\n \n\n \n\n \n );\n }\n}\n\nexport default withRouter(LeadAdd);\n","import React, { Component } from 'react';\nimport DataTable from 'react-data-table-component';\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from 'axios';\nimport apiUrl from '../apiUrlConstant';\nimport styled from 'styled-components';\nimport datatableOptions from '../layout/datatableConstants';\nimport moment from 'moment';\nimport { debounce } from 'lodash';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { faChevronRight, faCogs, faPen, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { Link } from \"react-router-dom\";\nimport Select from 'react-select';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #003970;\n`;\n\nconst statusOptions = [\n { value: '', label: 'All Status' },\n { value: 'completed', label: 'Completed' },\n { value: 'ongoing', label: 'Ongoing' },\n { value: 'overdue', label: 'Overdue' }\n];\n\nclass TaskList extends Component {\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n taskLists: [],\n totalRows: 10,\n loading: false,\n filterText: '',\n statusFilter: '', // Added for status filter\n perPage: 10,\n page: 1,\n editModalFlag: false,\n activeTaskId: null,\n activeTaskData: {},\n editType: ''\n };\n\n this.handlePageChange = this.handlePageChange.bind(this);\n this.handlePerRowsChange = this.handlePerRowsChange.bind(this);\n this.clearFilter = this.clearFilter.bind(this);\n this.fetchTasks = this.fetchTasks.bind(this);\n this.handleFilter = this.handleFilter.bind(this);\n this.openModal = this.openModal.bind(this);\n this.handleStatusFilterChange = this.handleStatusFilterChange.bind(this); // Added for status filter\n }\n\n componentDidMount() {\n this.fetchTasks();\n }\n\n handlePageChange(page) {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n handlePerRowsChange(newPerPage, page) {\n this.setState({ perPage: newPerPage });\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n clearFilter() {\n this.setState({ filterText: '', statusFilter: '' }, () => {\n this.fetchTasks();\n });\n }\n\n handleFilter(event) {\n const filterValue = event.target.value;\n this.setState({ filterText: filterValue }, () => {\n debounce(() => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n }, 300)();\n });\n }\n\n handleStatusFilterChange(event) {\n const statusValue = event.value;\n this.setState({ statusFilter: statusValue }, () => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n });\n }\n\n openModal() {\n this.setState({ editModalFlag: true });\n }\n\n fetchTasks(filterText = '', statusFilter = '', page = 1) {\n this.setState({ loading: true });\n\n axios\n .get(`${apiUrl.apiUrl.url}/leads/task-list`, {\n params: {\n per_page: this.state.perPage,\n page: page,\n filter: filterText,\n status: statusFilter, // Pass the status filter value to the API\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.setState({\n taskLists: response.data.data,\n totalRows: response.data.total,\n loading: false,\n page: page,\n });\n } else {\n this.setState({ loading: false });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n }\n\n render() {\n\n const columns = [\n {\n name: 'Lead Title',\n selector: 'lead_title',\n sortable: true,\n cell: (record) => (\n \n {record.lead_title}\n \n )\n },\n {\n name: 'Task',\n selector: 'title',\n sortable: true,\n cell: (record) => (\n {\n this.setState(\n {\n editModalFlag: true,\n activeTaskId: record.id,\n editType: 'view',\n },\n () => {\n const activeTaskData = this.state.taskLists.find(item => item.id === this.state.activeTaskId);\n activeTaskData.reminder_date_time = activeTaskData.reminder_date_time ? activeTaskData.reminder_date_time : '';\n activeTaskData.due_date = activeTaskData.due_date ? moment(activeTaskData.due_date).format('YYYY-MM-DD') : '';\n this.setState({ activeTaskData });\n }\n );\n }}\n >\n {record.title}\n \n ),\n },\n {\n name: 'Status',\n selector: 'status',\n sortable: true,\n cell: (record) => (\n record.status.replace(/\\b\\w/g, char => char.toUpperCase())\n )\n },\n {\n name: 'Assign To',\n selector: 'user_name',\n sortable: true,\n cell: (record) => (\n record.user_name.replace(/\\b\\w/g, char => char.toUpperCase())\n )\n },\n {\n name: 'Due Date',\n selector: 'due_date',\n sortable: true,\n cell: (record) => moment(record.due_date).format('DD-MMM-YYYY'),\n },\n {\n name: 'Added On',\n selector: 'created_on',\n sortable: true,\n cell: (record) => moment(record.created_on).format('DD-MMM-YYYY'),\n },\n {\n name: 'Action',\n cell: (record) => (\n record.status !== 'completed' && (\n
    \n {\n this.setState(\n {\n editModalFlag: true,\n activeTaskId: record.id,\n editType: 'status',\n },\n () => {\n const activeTaskData = this.state.taskLists.find(item => item.id === this.state.activeTaskId);\n activeTaskData.reminder_date_time = activeTaskData.reminder_date_time ? activeTaskData.reminder_date_time : '';\n this.setState({ activeTaskData });\n }\n );\n }}\n >\n \n \n |\n {\n this.setState(\n {\n editModalFlag: true,\n activeTaskId: record.id,\n editType: 'all',\n },\n () => {\n const activeTaskData = this.state.taskLists.find(item => item.id === this.state.activeTaskId);\n activeTaskData.reminder_date_time = activeTaskData.reminder_date_time ? activeTaskData.reminder_date_time : '';\n activeTaskData.due_date = activeTaskData.due_date ? moment(activeTaskData.due_date).format('YYYY-MM-DD') : '';\n this.setState({ activeTaskData });\n }\n );\n }}\n >\n \n \n
    \n )\n )\n },\n ];\n\n return (\n <>\n
    \n
    \n
    \n
      \n
    • \n Lead\n
    • \n
    • \n
    • \n Task List\n
    • \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {/* */}\n \n \n\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n\n this.setState({ editModalFlag: false })} backdrop=\"static\">\n \n {this.state.editType === \"status\" ? \"Update Status\" : this.state.editType === \"all\" ? \"Edit Task\" : \"\"} \n \n \n {\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n\n values.task_id = this.state.activeTaskId;\n values.update_type = this.state.editType;\n\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/leads/update-task`,\n data: values,\n }).then((response) => {\n if (response.data.status === 'success') {\n setTimeout(() => {\n this.setState({ editModalFlag: false });\n this.fetchTasks();\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n }\n });\n\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n {this.state.editType === 'status' ? (\n <>\n
    \n \n
    \n \n \n \n \n {this.validator.message(\"Status\", values.status, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Comment\", values.comment, \"required\", { className: \"text-danger\" })}\n
    \n
    \n \n ) : this.state.editType === 'view' ? (\n <>\n
    \n \n
    \n {values.lead_title}\n
    \n
    \n\n
    \n \n
    \n {values.title}\n
    \n
    \n\n
    \n \n
    \n {values.user_name}\n
    \n
    \n\n {values.description && (\n
    \n \n
    \n {values.description}\n
    \n
    \n )}\n\n
    \n \n
    \n { values.due_date ? moment(values.due_date).format(\"DD-MMM-YYYY\") : ''}\n
    \n
    \n\n
    \n \n
    \n {values.status}\n
    \n
    \n\n {values.reminder_date_time && (\n
    \n \n
    \n { values.reminder_date_time ? moment(values.reminder_date_time).format(\"DD-MMM-YYYY | hh:mm A\") : '' }\n
    \n
    \n )}\n\n \n ) : (\n <>\n
    \n \n
    \n \n {this.validator.message(\"Task\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Due date\", values.due_date, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n \n )}\n
    \n {this.state.editType !== 'view' && (\n
    \n \n \n\n \n\n \n
    \n )}\n
    \n
    \n
    \n \n )}\n \n
    \n
    \n
    \n
    \n \n );\n }\n}\n\nexport default TaskList;\n","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../utils/index\";\nimport apiUrl from \"../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport ReactS3Uploader from \"react-s3-uploader\";\nimport { fileUploadPath, getUserStorageType } from \"../utils/index\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass AttachmentAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n users: [],\n role: getUserRole(),\n initialValues: {\n title: '',\n file: ''\n },\n storageType: getUserStorageType() !== '' ? getUserStorageType() : 's3',\n attachfileName: '',\n attachfileTitle: ''\n };\n\n this.handleAttachmentSubmit = this.handleAttachmentSubmit.bind(this);\n this.generateRandomFilename = this.generateRandomFilename.bind(this);\n this.onUploadStart = this.onUploadStart.bind(this);\n this.onUploadFinish = this.onUploadFinish.bind(this);\n this.onUploadError = this.onUploadError.bind(this);\n this.onSignedUrl = this.onSignedUrl.bind(this);\n this.uploadLocalFile = this.uploadLocalFile.bind(this);\n }\n\n handleAttachmentSubmit(values, { setSubmitting }) {\n setSubmitting(true);\n this.setState({\n attachfileTitle: values.title,\n }, () => {\n if(this.state.storageType === 's3'){\n this.uploader.uploadFile();\n }else{\n this.onUploadFinish({});\n }\n \n });\n }\n\n generateRandomFilename(filename) {\n const ext = filename.split('.').pop();\n const randomString = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);\n return `${randomString}.${ext}`;\n }\n\n onUploadStart(file, next) {\n const allowedExtensions = [\"pdf\", \"png\", \"jpeg\", \"jpg\", \"gif\", \"xls\", \"xlsx\"];\n let extension = file.name.split('.').pop().toLowerCase();\n\n if (!allowedExtensions.includes(extension)) {\n this.setState({ fileError: \"Invalid file type! Allowed: PDF,GIF, PNG, JPEG, XLS, XLSX\" });\n\n if (this.formikProps) {\n this.formikProps.setSubmitting(false);\n }\n\n return; // Stop upload\n } else {\n this.setState({ fileError: \"\" }); // Clear error if valid\n }\n\n let filename = this.generateRandomFilename(file.name);\n this.setState({ attachfileName: filename }, () => {\n next(file);\n });\n }\n\n onUploadFinish({ signedUrl, file }) {\n\n var attachmentData = {\n title: this.state.attachfileTitle,\n url: this.state.storageType=='s3'?fileUploadPath() + 'lead/' + this.props.leadId + '/' + this.state.attachfileName:this.state.attachfileName,\n lead_id: this.props.leadId,\n storage_type: this.state.storageType\n };\n\n axios.post(`${apiUrl.apiUrl.url}/leads/add-attachment`, attachmentData, { headers })\n .then(response => {\n if (response.data.status === 'success') {\n this.props.closeModal();\n } else {\n console.error('Error:', response.data);\n }\n })\n .catch(error => {\n console.error('Upload error:', error);\n });\n }\n\n onUploadError(error) {\n console.error('Upload error:', error);\n }\n\n onSignedUrl(signingUrl) {\n //console.log('Signing URL:', signingUrl);\n }\n\n uploadLocalFile = (e) => {\n e.preventDefault();\n \n const formData = new FormData();\n formData.append(\n 'imageFile', e.target.files[0]\n );\n\n // Allowed file extensions\n const allowedExtensions = [\"pdf\", \"png\", \"jpeg\", \"jpg\", \"gif\", \"xls\", \"xlsx\"];\n let extension = e.target.files[0].name.split('.').pop().toLowerCase();\n\n // Check if the extension is valid\n if (!allowedExtensions.includes(extension)) {\n this.setState({ fileError: \"Invalid file type! Allowed: PDF,GIF, PNG, JPEG, XLS, XLSX\" });\n e.target.value = \"\"; // Reset file input\n\n if (this.formikProps) {\n this.formikProps.setSubmitting(false);\n }\n\n return;\n } else {\n this.setState({ fileError: \"\" }); // Clear error if valid\n }\n\n //console.log(e.target.files[0]);\n\n let filename = this.generateRandomFilename(e.target.files[0].name);\n \n formData.append(\n 'file_name', 'lead_'+this.props.leadId+'_'+filename\n );\n\n this.setState({ attachfileName: 'lead_'+this.props.leadId+'_'+filename });\n \n try {\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/upload-document/save`,\n data: formData, \n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }).then(function (response) {\n \n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n \n } catch (error) {\n console.error('Error uploading file:', error);\n }\n }\n\n render() {\n return (\n
    \n {\n\n this.formikProps = actions;\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n return false;\n }\n this.handleAttachmentSubmit(values, actions);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n
    \n \n
    \n \n {this.validator.message(\"Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n \n
    \n {this.state.storageType=='s3'?\n <>\n this.state.attachfileName}\n server={`${apiUrl.apiUrl.url}`}\n inputRef={(cmp) => (this.uploadInput = cmp)}\n autoUpload={false}\n ref={(uploader) => {\n this.uploader = uploader;\n }}\n />\n \n\n \n :\n {\n this.uploadLocalFile(e);\n }} /> \n }\n\n {this.state.fileError && (\n

    {this.state.fileError}

    \n )}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n )}\n \n
    \n );\n }\n};\n\nexport default AttachmentAdd;\n","import { faBoxOpen, faChevronRight, faEye, faPen, faPlus, faTrashAlt, faFilePdf, faEdit } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport React, { Component, createRef } from 'react';\nimport axios from \"axios\";\nimport apiUrl from \"../apiUrlConstant\";\nimport { withRouter } from 'react-router-dom';\nimport TaskAddComp from \"./TaskAdd\";\nimport CommentSection from \"./CommentAdd\";\nimport UpdateStatus from \"./UpdateLeadStatus\";\nimport AttachmentFile from \"./AttachmentAdd\";\nimport LeadStatusUpdate from \"./LeadStatusUpdate\";\nimport { Modal } from \"react-bootstrap\";\nimport { fileUploadPath, getUserStorageType, numberFormat, capitalizeFirstLetter } from \"../utils/index\";\nimport { ViewLeasePdfReader } from \"../utils/ViewLeaseDocumentViewer\";\nimport { PopupMessage } from \"../utils/utils\";\nimport { Link } from \"react-router-dom\";\nimport moment from \"moment\";\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\nclass LeadDetails extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n showTaskModal: false,\n addSection: '',\n taskId: '',\n data: {\n tasks: [],\n contacts: [],\n history: [],\n attachments: []\n },\n modalTitle:'',\n documentViewer:false,\n pageNo:1,\n currentDocument:'',\n popupContent: \"\",\n messsagePopup: false,\n };\n\n this.handleModal = this.handleModal.bind(this);\n this.closeTaskModel = this.closeTaskModel.bind(this);\n this.closeDocumentViewer = this.closeDocumentViewer.bind(this);\n this.deleteAttachment = this.deleteAttachment.bind(this);\n this.handleRedirect = this.handleRedirect.bind(this);\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n fetchData() {\n\n const { id } = this.props.match.params;\n this.setState({ taskId: id });\n\n axios.get(`${apiUrl.apiUrl.url}/leads/get?id=${id}`, { headers })\n .then(response => {\n this.setState({ data: response.data.data });\n })\n .catch(error => {\n if (error.response) {\n console.error(\"There was an error fetching the lead details!\", error.response.data);\n } else if (error.request) {\n console.error(\"The request was made but no response was received\", error.request);\n } else {\n console.error(\"Something went wrong in setting up the request\", error.message);\n }\n });\n }\n\n handleModal(type, title) {\n this.setState({ \n addSection: type, \n showTaskModal: true,\n modalTitle: title \n });\n }\n\n closeTaskModel() {\n this.fetchData();\n this.setState({ showTaskModal: false });\n }\n\n closeDocumentViewer(){\n this.setState({ documentViewer: false });\n }\n\n deleteAttachment(id){\n\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/leads/delete-attachment`,\n data: {id:id},\n }).then(function (response) {\n if (response.status='success') {\n self.setState({ \n messsagePopup: true ,\n popupContent: \"Attachment Deleted Successfully!\"\n });\n\n self.fetchData();\n\n } else {\n self.setState({ \n messsagePopup: true ,\n popupContent: response.message\n });\n }\n });\n }\n\n handleRedirect() {\n this.setState({ \n messsagePopup: false,\n popupContent:\"\",\n });\n }\n\n render() {\n // Helper function to get initials\n const getInitials = (name) => {\n if (!name) return '';\n\n const parts = name.split(' ');\n if (parts.length === 1) {\n return parts[0].slice(0, 2); // First two characters if single name\n } else {\n return parts[0].charAt(0) + parts[parts.length - 1].charAt(0); // First characters of first and last name\n }\n };\n\n // Helper function to format date (assuming comment.created_on is a valid date string)\n const formatDate = (dateString) => {\n const date = new Date(dateString);\n //return `${date.getDate()}-${date.getMonth() + 1}-${date.getFullYear()}`;\n return moment(date).format(\"DD-MMM-YYYY\");\n };\n\n // Helper function to format time (assuming comment.created_on is a valid date string)\n const formatTime = (dateString) => {\n const date = new Date(dateString);\n let hours = date.getHours();\n const minutes = date.getMinutes();\n const ampm = hours >= 12 ? 'PM' : 'AM';\n hours = hours % 12;\n hours = hours ? hours : 12; // Handle midnight (0 hours)\n const minutesStr = minutes < 10 ? `0${minutes}` : minutes;\n return `${hours}:${minutesStr} ${ampm}`;\n };\n \n\n return (\n <>\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n {this.state.data.history.length > 0 &&\n
    \n
      \n { this.state.data.history.map((history, index) => (\n
    • \n
      {index+1}
      \n {history.stage} | {history.sub_stage}\n

      {formatDate(history.created_on)} | {formatTime(history.created_on)}

      \n
    • \n ))\n }\n
    \n
    \n }\n\n \n
    \n
    \n
    \n
    Task
    \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n {this.state.data.tasks && this.state.data.tasks.length > 0 ? (\n this.state.data.tasks.reverse().map((task, index) => (\n \n \n \n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
    TaskAssign toStatusDue Date
    {task.title}{task.user ? task.user.name : 'Unassigned'}{task.status}{formatDate(task.due_date)}
    No record found
    \n
    \n
    \n
    \n
    Comments
    \n
    \n
    \n {this.state.data.lead_comments && this.state.data.lead_comments.length > 0 ? (\n this.state.data.lead_comments.reverse().map((comment, index) => (\n
    \n
    \n {getInitials(comment.user.name)}\n
    \n

    {comment.comment}

    \n

    {formatDate(comment.created_on)} | {formatTime(comment.created_on)}

    \n
    \n
    \n {/*

    Comment: {comment.comment}

    */}\n
    \n ))\n ) : (\n
    \n

    No comments found.

    \n
    \n )}\n
    \n
    \n\n
    \n
    \n
    COMPANY
    \n
    \n
    \n
    \n
    \n Tenant\n

    {this.state.data.tenant}

    \n
    \n
    \n Tenant Industry\n

    {this.state.data.tenant_industry}

    \n
    \n
    \n Tenant Status\n

    {this.state.data.tenant_status}

    \n
    \n
    \n Hot Prospect\n

    {this.state.data.is_hot_prospect && this.state.data.is_hot_prospect==1 ?'Yes':'No'}

    \n
    \n
    \n Lead Status\n

    \n {this.state.data.lead_temperature === 'hot' ?: \n this.state.data.lead_temperature === 'warm' ? : \n this.state.data.lead_temperature === 'cold' ? : \n \n }\n

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    DEAL INFORMATION
    \n
    \n
    \n
    \n
    \n Stage\n

    {this.state.data.leadSubStage?capitalizeFirstLetter(this.state.data.leadSubStage.stage):''}

    \n
    \n
    \n Sub Stage\n

    {this.state.data.leadSubStage?capitalizeFirstLetter(this.state.data.leadSubStage.title):''}

    \n
    \n
    \n Winning Probability(%)\n

    {this.state.data.leadSubStage?this.state.data.leadSubStage.winning_probability:''}

    \n
    \n
    \n Requirement Type\n

    {this.state.data.requirement_type}

    \n
    \n
    \n Tags\n

    {this.state.data.tags}

    \n
    \n
    \n Reference Source\n

    {this.state.data.reference_source}

    \n
    \n
    \n Comment\n

    {this.state.data.comment}

    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    CURRENT LOCATION
    \n
    \n
    \n
    \n
    \n Current Address\n

    {this.state.data.current_address}

    \n
    \n
    \n Floor | Space\n

    {this.state.data.floor}

    \n
    \n
    \n Lease Expiration\n

    {this.state.data.lease_expiry ? formatDate(this.state.data.lease_expiry) : ''}

    \n
    \n
    \n Current Area (sqft)\n

    {numberFormat(this.state.data.current_area)}

    \n
    \n
    \n Current Rent (INR / psf)\n

    {numberFormat(this.state.data.current_rent)}

    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    Requirements
    \n
    \n
    \n
    \n
    \n Area Type\n

    {this.state.data.area_type}

    \n
    \n
    \n Requested Sqft (From)\n

    {numberFormat(this.state.data.requested_sqft_from)}

    \n
    \n
    \n Requested Sqft (To)\n

    {numberFormat(this.state.data.requested_sqft_to)}

    \n
    \n
    \n Target Price (From)\n

    {numberFormat(this.state.data.target_price_from)}

    \n
    \n
    \n Target Price (To)\n

    {numberFormat(this.state.data.target_price_to)}

    \n
    \n
    \n Targeted Markets\n

    {this.state.data.targeted_markets}

    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    COMMISSION
    \n
    \n
    \n
    \n
    \n Total Commission\n

    {this.state.data.total_commission}

    \n
    \n
    \n My % Split\n

    {this.state.data.my_split}

    \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n {/*
    */}\n
    History
    \n {/*
    */}\n
    \n {this.state.data.history.length > 0 ? (\n this.state.data.history.reverse().map((history, index) => (\n
    \n {history.stage} | {history.sub_stage}\n

    {history.comment}

    \n
    {history.createdBy.name} | {formatDate(history.created_on)} | {formatTime(history.created_on)}
    \n
    \n ))\n ) : (\n
    \n

    No History Found.

    \n
    \n )}\n\n
    \n
    \n\n
    \n
    \n
    \n
    this.handleModal('attachment','Upload Attachment')} >Attachment {this.state.data.attachments.length > 0 ? `(${this.state.data.attachments.length})` : ''}
    \n
    \n \n
    \n
    \n
    \n
    \n {this.state.data.attachments.length > 0 ? (\n this.state.data.attachments.reverse().map((attachment, index) => (\n
    \n \n {attachment.title}\n \n
    \n \n \n
    \n {attachment.user.name ? \n Added By: {attachment.user.name} \n : \n }\n
    \n {attachment.extension ==='pdf'?\n {this.setState({documentViewer: true, currentDocument: attachment.url});}}>\n : { window.location.href=attachment.url;}}>\n }\n {this.deleteAttachment(attachment.id)}}>\n
    \n
    \n
    \n ))\n ) : (\n
    \n

    No Attachment added.

    \n
    \n )}\n
    \n
    \n\n
    \n
    \n
    Contacts {this.state.data.contacts.length > 0 ? `(${this.state.data.contacts.length})` : ''}
    \n
    \n
    \n {this.state.data.contacts.length > 0 ? (\n this.state.data.contacts.map((contact, index) => (\n
    \n \n {contact.first_name && contact.last_name\n ? `${contact.first_name} ${contact.last_name}`\n : getInitials(contact.first_name)}\n | {contact.title}\n
    \n {contact.email && {contact.email}}\n\n
    \n {contact.phone_no ?\n Mobile ( {contact.phone_no} )\n : \n }\n
    \n \n \n \n {/* */}\n
    \n
    \n
    \n ))\n ) : (\n
    \n

    No contacts added.

    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n\n \n \n {this.state.modalTitle}\n \n \n {this.state.addSection === 'task' ? (\n \n ) : this.state.addSection === 'comment' ? (\n \n ) : this.state.addSection==='status'? (\n \n ) : this.state.addSection === 'lead_status' ? (\n \n ):\n ( \n \n )}\n \n \n\n \n \n \n
    \n
    \n
    \n
      \n
    • Document
    • \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n\n \n\n \n );\n\n }\n}\n\nexport default withRouter(LeadDetails);\n","import React, { useState, useEffect } from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport \"bootstrap/dist/css/bootstrap.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus, faUndo, faPen, faTimes, faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport Select from \"react-select\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport axios from \"axios\";\nimport apiUrl from \"../apiUrlConstant\";\nimport Popup from \"reactjs-popup\";\nimport { PopupMessage } from \"../utils/utils\";\nimport { getUserRole, getUserType, getUserCategory, getLeadCategories, getLeadSubCategories } from \"../utils/index\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { Alert } from 'react-bootstrap';\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\nclass LeadAdd extends React.Component {\n state = {\n users: [],\n tenantIndustriesList: [\n 'Accounting',\n 'Acupuncture',\n 'Admin / Support',\n 'Advertising',\n 'Aerospace & Defense',\n 'Agriculture',\n 'Airlines',\n 'Allergy',\n 'Ambulatory Surgery Center',\n 'Apparel & Accessories',\n 'Architecture',\n 'Association / Non Profit',\n 'Automotive',\n 'Bar',\n 'Biotechnology',\n 'Bookstore',\n 'Broker Dealer',\n 'Asset use',\n 'Business Support',\n 'Cancer Center',\n 'Cardiology',\n 'Chemicals',\n 'Childcare / Play',\n 'Children\\'s Apparel',\n 'Chiropractic',\n 'Cinemas / Theaters',\n 'Clean Tech',\n 'Coffee',\n 'Construction',\n 'Consulting',\n 'Consumer Products',\n 'Consumer Services',\n 'Convenience Store',\n 'Dentistry',\n 'Department Store',\n 'Dermatology',\n 'Diagnostic / Medical Device',\n 'Dialysis',\n 'Distributors',\n 'Drug Store',\n 'Education',\n 'Electronics',\n 'Emergency Medicine',\n 'Endocrinology',\n 'Endoscopy',\n 'Energy',\n 'Engineering',\n 'Entertainment & Leisure',\n 'ENT / Ontology',\n 'Executive Search / Staffing',\n 'Eye Center',\n 'Family Medicine',\n 'Financial Services',\n 'Fitness',\n 'Food & Beverage',\n 'Gastroenterology',\n 'Government Agency',\n 'Government Contractor',\n 'Grocery',\n 'Hardware',\n 'Health & Beauty',\n 'Healthcare (General)',\n 'Hearing',\n 'Hedge Fund',\n 'Hematology',\n 'Home Improvement / Furnishings',\n 'Hospitality',\n 'Infectious Disease',\n 'Infusion',\n 'Insurance',\n 'Internal Medicine',\n 'IT Services',\n 'Jewelry',\n 'Legal Services',\n 'Liquor Store',\n 'Manufacturing',\n 'Materials',\n 'Media',\n 'Men\\'s Apparel',\n 'Mining',\n 'Mortgage',\n 'Multi-Specialty',\n 'Nephrology',\n 'Neurology',\n 'Newsstand',\n 'Nutrition',\n 'Obstetrics & Gynecology',\n 'Oil and Gas',\n 'Oncology',\n 'Ophthalmology',\n 'Orthopedics',\n 'Other',\n 'Other Services',\n 'Pain',\n 'Pediatrics',\n 'Personal Services',\n 'Pharmaceuticals',\n 'Pharmacy',\n 'Physical Medicine & Rehabilitation',\n 'Plastic Surgery',\n 'Podiatry',\n 'Private Equity',\n 'Professional & Commercial Services',\n 'Property Management',\n 'Psychiatry',\n 'Publishing',\n 'Pulmonology',\n 'Radiology & Medical Imaging',\n 'Real Estate',\n 'Restaurant (Fast Casual)',\n 'Restaurant (Full Service)',\n 'Restaurant (Other)',\n 'Restaurant (Quick Service)',\n 'Bank',\n 'Retail (General)',\n 'Retail (Specialty)',\n 'Rheumatology',\n 'Salon / Spa',\n 'Serviced Office',\n 'Shoes',\n 'Sleep Center',\n 'Social Services',\n 'Sporting Goods',\n 'Surgery',\n 'Technology',\n 'Technology Hardware',\n 'Technology Software',\n 'Telecommunications',\n 'Therapeutic',\n 'Toy / Gift / Craft',\n 'Transportation',\n 'Unknown',\n 'Urgent Care',\n 'Urology',\n 'Utilities',\n 'Virtual',\n 'Warehousing',\n 'Weight & Bariatrics',\n 'Wholesale',\n 'Women\\'s Apparel',\n 'Women\\'s Center',\n 'Wound Care & Hyperbaric'\n ],\n tenantStatusList: ['Prospect', 'Client'],\n leadSegmentList: ['hot', 'warm', 'cold'],\n requirementLists: [\n \"Amenities\", \"Education\", \"Flex\", \"Industrial / Warehouse\", \"Lab\",\n \"Leisure\",\n \"Manufacturing\",\n \"Medical office\",\n \"Office\",\n \"Other\",\n \"Parking\",\n \"Residential\",\n \"Restaurant\",\n \"Retail\",\n \"Rooftop\",\n \"Storage\",\n \"Telecom\",\n \"Unspecified\"\n ],\n stageLists: [],\n phoneNumerTypeLists: [],\n tenantStatus: '',\n tenantIndustries: '',\n isOpen: false,\n popupContent: \"\",\n messsagePopup: false,\n delete: false,\n redirect: false,\n isSearchable: true,\n isClearable: true,\n isDisabled: this.props.match.params.id !== undefined ? true : false,\n url: apiUrl.apiUrl.url + \"/leads/create\",\n id: undefined,\n initialValues: {\n tenant: '',\n contacts: [\n {\n first_name: '',\n last_name: '',\n email: '',\n title: '',\n phone_no: '',\n phone_no_type: ''\n }\n ]\n },\n isHotProspectFlag: false,\n currentSubStages: [],\n actionType: 'add',\n redirectAfterSuccess: false,\n showAlert: false,\n errorMessages: [],\n };\n\n constructor(props) {\n super(props);\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n }\n\n componentDidMount() {\n\n if (getUserRole() === 'admin') {\n var self = this;\n axios({\n method: \"get\",\n url: apiUrl.apiUrl.url + '/user/get-members',\n }).then(function (response) {\n self.setState({\n users: response.data.data\n });\n });\n }\n\n this.state.url = apiUrl.apiUrl.url + \"/leads/update?id=\" + this.props.match.params.id;\n this.state.actionType = \"update\";\n\n let athis = this;\n\n axios({\n url:apiUrl.apiUrl.url+'/leads/get?id='+this.props.match.params.id,\n method: 'GET',\n }).then(function (response) {\n console.log(response,'success');\n let data = response.data;\n athis.setState({\n initialValues: data.data,\n isHotProspectFlag: data.data.is_hot_prospect == '1' ? true : false,\n });\n\n });\n\n // fetch(`${apiUrl.apiUrl.url}/leads/get?id=${this.props.match.params.id}`).then(\n // (response) => {\n // return response.json();\n // })\n // .then((data) => {\n // this.setState({\n // initialValues: data.data,\n // isHotProspectFlag: data.data.is_hot_prospect == '1' ? true : false,\n // });\n // }\n // ).catch((error) => {\n // console.log(error);\n // });\n\n this.setState({});\n\n this.setState({\n stageLists: getLeadCategories(),\n subStages: getLeadSubCategories(),\n phoneNumerTypeLists: ['Office', 'Mobile', 'Home', 'Other']\n });\n }\n\n componentDidUpdate() {\n\n }\n\n redirectAfterSave = () => {\n if(this.state.redirectAfterSuccess){\n this.setState({\n redirect: true,\n messsagePopup: false,\n delete: false,\n popupContent: \"\",\n initialValues: {\n tenant: '',\n contacts: []\n },\n });\n }else{\n this.setState({\n redirect: false,\n messsagePopup: false,\n delete: false,\n popupContent: \"\"\n });\n }\n \n };\n\n render() {\n\n if (this.state.redirect == true) {\n let url = this.props.match;\n\n this.state.redirect = false;\n return ;\n }\n\n return (\n
    \n {this.renderForm()}\n
    \n );\n }\n\n renderForm() {\n return (\n <>\n
    \n
    \n
      \n
    • \n Lead Module\n
    • \n
    • \n
    • \n Edit Lead\n
    • \n
    \n
    \n
    \n\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n // console.log(this.state.isHotProspectFlag);\n // console.log(values);\n // return false;\n\n values.is_hot_prospect = this.state.isHotProspectFlag==true?'1':'0';\n\n var self = this;\n axios({\n method: \"post\",\n url: this.state.url,\n data: values,\n }).then(function (response) {\n \n if (response.data.status == 'success') {\n self.setState({\n messsagePopup: true,\n popupContent: \"Lead updated successfully!\",\n url: `${apiUrl.apiUrl.url}/leads`,\n redirectAfterSuccess: true\n });\n\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n\n const errorMessages = Object.values(response.data.errors).flat().map((msg, index) =>
  • {msg}
  • );\n \n self.setState({\n showAlert: true,\n errorMessages: errorMessages\n });\n }\n });\n }}\n >\n {({\n values,\n handleChange,\n setFieldValue,\n handleBlur,\n handleSubmit,\n isSubmitting,\n }) => (\n <>\n {this.state.showAlert == true ? (\n \n
      \n {this.state.errorMessages}\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n\n
    \n {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }}\n >\n
    \n\n
    \n
    \n

    COMPANY

    \n
    \n\n\n\n
    \n \n
    \n \n {this.validator.message(\"Lead Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Tenant\", values.tenant, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('tenant_industry', selectedOption.value);\n }}\n value={{\n label: values.tenant_industry,\n value: values.tenant_industry,\n }}\n options={this.state.tenantIndustriesList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n {\n setFieldValue('tenant_status', selectedOption.value);\n }}\n value={{\n label: values.tenant_status,\n value: values.tenant_status,\n }}\n options={this.state.tenantStatusList.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n\n
    \n
    \n\n {/*
    \n \n
    \n {\n setFieldValue('lead_temperature', selectedOption.value);\n }}\n value={{\n label: values.lead_temperature?values.lead_temperature.charAt(0).toUpperCase()+ values.lead_temperature.slice(1):values.lead_temperature,\n value: values.lead_temperature,\n }}\n options={this.state.leadSegmentList.map((item) => ({\n label: item.charAt(0).toUpperCase() + item.slice(1),\n value: item,\n }))}\n />\n {this.validator.message(\"Lead Segment\", values.lead_temperature, \"required\", { className: \"text-danger\" })}\n
    \n
    */}\n\n
    \n
    \n

    DEAL INFORMATION

    \n
    \n\n\n
    \n \n
    \n {\n setFieldValue('requirement_type', selectedOption.value);\n }}\n value={{\n label: values.requirement_type,\n value: values.requirement_type,\n }}\n options={this.state.requirementLists.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n
    \n

    CURRENT LOCATION

    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n\n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n } \n />\n
    \n
    \n\n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n } />\n {this.validator.message('Current rent', values.current_rent, 'numeric')}\n
    \n
    \n\n
    \n
    \n

    ADD CONTACT

    \n
    \n \n {({ insert, remove, push }) => (\n <>\n {values.contacts.length > 0 ? (\n values.contacts.map((contact, index) => (\n
    \n
    \n
    \n \n
    \n \n {this.validator.message('First Name', values.contacts[index].first_name, 'alpha_space')}\n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Last Name', values.contacts[index].last_name, 'alpha_space')}\n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Email address', values.contacts[index].email, 'email')}\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n {this.validator.message('Phone Number', values.contacts[index].phone_no, 'phone')}\n
    \n
    \n
    \n \n
    \n {\n setFieldValue(`contacts.${index}.phone_no_type`, option.value);\n values.contacts[index].phone_no_type = option.value;\n }}\n value={{\n label: values.contacts[index].phone_no_type,\n value: values.contacts[index].phone_no_type,\n }}\n options={this.state.phoneNumerTypeLists.map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n
    \n remove(index)}\n >\n Remove Contact\n \n
    \n
    \n
    \n
    \n
    \n
    \n ))\n ) : (\n
    \n

    No contact added yet

    \n
    \n )}\n \n push({\n first_name: '',\n last_name: '',\n email: '',\n title: '',\n phone_no: '',\n phone_no_type: ''\n })\n }\n >\n Add More Contact\n \n \n )}\n
    \n \n
    \n
    \n

    ADD Requirements

    \n
    \n
    \n \n
    \n {\n setFieldValue('area_type', selectedOption.value);\n }}\n value={{\n label: values.area_type,\n value: values.area_type,\n }}\n options={['Carpet area','Usable area','Gross Leaseable area'].map((item) => ({\n label: item,\n value: item,\n }))}\n />\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n } \n />\n {this.validator.message('', values.requested_sqft_from, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.requested_sqft_to, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, '');\n }\n }\n />\n {this.validator.message('', values.target_price_from, 'numeric')}\n
    \n
    \n
    \n \n
    \n {\n e.target.value = e.target.value.replace(/[^0-9]/g, ''); // Allow only digits and a dot\n \n }\n }\n />\n {this.validator.message('', values.target_price_to, 'numeric')}\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n

    ADD Commissions

    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n\n
    \n \n
    \n \n )\n }\n \n\n \n\n \n );\n }\n}\n\nexport default withRouter(LeadAdd);\n","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Alert } from 'react-bootstrap';\n\nclass TaskAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n stages: ['active','inactive'],\n status: ['active','inactive'],\n role: getUserRole(),\n initialValues: {\n\n },\n errorMessages: [],\n showAlert : false,\n };\n }\n componentDidMount() {\n }\n\n render() {\n return (\n
    \n {/*

    Add Task

    \n

    {this.props.leadId}

    */}\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url + \"/leads/create-sub-stage\",\n data: values,\n }).then(function (response) {\n \n if (response.data.status == 'success') {\n setTimeout(() => {\n self.props.closeModal(); // Close modal after form submission\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n\n const errorMessages = Object.values(response.data.errors).flat().map((msg, index) =>
  • {msg}
  • );\n \n self.setState({\n showAlert: true,\n errorMessages: errorMessages\n });\n }\n });\n }\n }\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n {this.state.showAlert == true ? (\n \n
      \n {this.state.errorMessages}\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n
    \n \n
    \n \n \n {this.state.stages.map(stage => (\n \n ))}\n \n {this.validator.message(\"Stage\", values.stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"percentage\", values.percentage, \"numeric|min:1,num|numeric|max:100,num\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Sequence\", values.sequence, \"required|numeric\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n \n )}\n\n \n
    \n );\n }\n};\n\nexport default TaskAdd;","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../../utils/index\";\nimport apiUrl from \"../../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Alert } from 'react-bootstrap';\n\nclass TaskAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n stages: ['active','inactive'],\n status: [{'id': '1','title': 'Enable'}, {'id':'0', 'title':'Disable'}],\n role: getUserRole(),\n initialValues: {\n\n },\n errorMessages: [],\n showAlert : false,\n };\n }\n componentDidMount() {\n var self = this;\n axios({\n method: \"get\",\n url: apiUrl.apiUrl.url + \"/leads/get-sub-stage?id=\"+ this.props.id,\n }).then(function (response) {\n console.log(response);\n if (response.data.status == 'success') {\n self.setState({\n initialValues: response.data.data,\n });\n }\n });\n }\n\n render() {\n return (\n
    \n {/*

    Add Task

    \n

    {this.props.leadId}

    */}\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url + \"/leads/update-sub-stage\",\n data: values,\n }).then(function (response) {\n \n if (response.data.status == 'success') {\n setTimeout(() => {\n self.props.closeModal(); // Close modal after form submission\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n\n const errorMessages = Object.values(response.data.errors).flat().map((msg, index) =>
  • {msg}
  • );\n \n self.setState({\n showAlert: true,\n errorMessages: errorMessages\n });\n }\n });\n }\n }\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n {this.state.showAlert == true ? (\n \n
      \n {this.state.errorMessages}\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n
    \n \n
    \n \n \n {this.state.stages.map(stage => (\n \n ))}\n \n {this.validator.message(\"Stage\", values.stage, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Propability\", values.winning_probability, \"numeric|min:1,num|numeric|max:100,num\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n {this.validator.message(\"Sequence\", values.sequence, \"required|numeric\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n \n
    \n \n \n {this.state.status.map(status => (\n \n ))}\n \n {this.validator.message(\"Status\", values.status, \"required\", { className: \"text-danger\" })}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n \n )}\n\n \n
    \n );\n }\n};\n\nexport default TaskAdd;","import React, { Component } from 'react';\nimport DataTable from 'react-data-table-component';\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from 'axios';\nimport apiUrl from '../../apiUrlConstant';\nimport styled from 'styled-components';\nimport datatableOptions from '../../layout/datatableConstants';\nimport moment from 'moment';\nimport { debounce } from 'lodash';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { faChevronRight, faCogs, faPen, faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { Link } from \"react-router-dom\";\nimport Select from 'react-select';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport AddSubStage from './SubStageAdd';\nimport EditSubStage from './SubStageEdit';\nimport { getUserCategory, numberFormat } from \"../../utils/index\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #003970;\n`;\n\nconst statusOptions = [\n { value: '', label: 'All Stage' },\n { value: 'active', label: 'Active' },\n { value: 'inactive', label: 'Inactive' }\n];\n\nclass TaskList extends Component {\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n subStageLists: [],\n totalRows: 10,\n loading: false,\n filterText: '',\n statusFilter: '', // Added for status filter\n perPage: 10,\n page: 1,\n editModalFlag: false,\n actieveId: null,\n activeTaskData: {},\n editType: '',\n addSection:'',\n showModal: false,\n modalForm:''\n };\n\n this.handlePageChange = this.handlePageChange.bind(this);\n this.handlePerRowsChange = this.handlePerRowsChange.bind(this);\n this.clearFilter = this.clearFilter.bind(this);\n this.fetchTasks = this.fetchTasks.bind(this);\n this.handleFilter = this.handleFilter.bind(this);\n this.openModal = this.openModal.bind(this);\n this.handleStatusFilterChange = this.handleStatusFilterChange.bind(this); // Added for status filter\n this.closeTaskModel = this.closeTaskModel.bind(this);\n }\n\n componentDidMount() {\n this.fetchTasks();\n }\n\n handlePageChange(page) {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n closeTaskModel() {\n this.setState({ showModal: false });\n this.fetchTasks();\n }\n\n handlePerRowsChange(newPerPage, page) {\n this.setState({ perPage: newPerPage });\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n clearFilter() {\n this.setState({ filterText: '', statusFilter: '' }, () => {\n this.fetchTasks();\n });\n }\n\n handleFilter(event) {\n const filterValue = event.target.value;\n this.setState({ filterText: filterValue }, () => {\n debounce(() => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n }, 300)();\n });\n }\n\n handleStatusFilterChange(event) {\n const statusValue = event.value;\n this.setState({ statusFilter: statusValue }, () => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n });\n }\n\n openModal() {\n this.setState({ showModal: true });\n }\n\n fetchTasks(filterText = '', statusFilter = '', page = 1) {\n this.setState({ loading: true });\n\n axios\n .get(`${apiUrl.apiUrl.url}/leads/sub-stage-list`, {\n params: {\n per_page: this.state.perPage,\n page: page,\n filter: filterText,\n status: statusFilter, // Pass the status filter value to the API\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.setState({\n subStageLists: response.data.data,\n totalRows: response.data.total,\n loading: false,\n page: page,\n });\n } else {\n this.setState({ loading: false });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n }\n\n render() {\n\n const columns = [\n {\n name: 'Stage',\n selector: 'stage',\n sortable: true,\n cell: (record) => (\n record.stage.charAt(0).toUpperCase() + record.stage.slice(1)\n )\n },\n {\n name: 'Sub Stage',\n selector: 'title',\n sortable: true,\n cell: (record) => (\n record.title.charAt(0).toUpperCase() + record.title.slice(1)\n ),\n },\n {\n name: 'Winning Probability Percentage(%)',\n selector: 'winning_probability',\n sortable: true,\n cell: (record) => (\n record.winning_probability ? numberFormat(record.winning_probability) : ''\n )\n },\n {\n name: 'Status',\n selector: 'status',\n sortable: true,\n cell: (record) => (\n record.status && record.status=='1' ? 'Enable' : 'Disable'\n )\n },\n {\n name: 'Sequence Number',\n selector: 'sequence',\n sortable: true,\n cell: (record) => (\n record.sequence ? numberFormat(record.sequence) : ''\n )\n },\n {\n name: 'Added On',\n selector: 'created_on',\n sortable: true,\n cell: (record) => moment(record.created_on).format('DD-MMM-YYYY'),\n },\n {\n name: 'Updated On',\n selector: 'updated_on',\n sortable: true,\n cell: (record) => record.updated_on?moment(record.updated_on).format('DD-MMM-YYYY'):'',\n },\n {\n name: 'Action',\n cell: (record) => (\n record.status !== 'completed' && (\n
    \n {\n this.setState(\n {\n showModal: true,\n actieveId: record.id,\n modalForm: 'edit',\n },\n // () => {\n // const activeTaskData = this.state.subStageLists.find(item => item.id === this.state.actieveId);\n // activeTaskData.reminder_date_time = activeTaskData.reminder_date_time ? activeTaskData.reminder_date_time : '';\n // activeTaskData.due_date = activeTaskData.due_date ? moment(activeTaskData.due_date).format('YYYY-MM-DD') : '';\n // this.setState({ activeTaskData });\n // }\n );\n }}\n >\n \n \n
    \n )\n )\n },\n ];\n\n return (\n <>\n
    \n
    \n
    \n
      \n
    • \n Lead\n
    • \n
    • \n
    • \n Master\n
    • \n
    • \n Sub Stage\n
    • \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {/* */}\n \n \n\n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n \n
    \n\n this.setState({ showModal: false })} backdrop=\"static\">\n \n {this.state.modalForm === \"add\" ? \"Add sub stage\" : \"Edit sub stage\"} \n \n \n {this.state.modalForm==='add'? (\n \n ):(\n \n )\n }\n \n \n
    \n
    \n \n );\n }\n}\n\nexport default TaskList;\n","import React from 'react';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { getUserRole } from \"../../../utils/index\";\nimport apiUrl from \"../../../apiUrlConstant\";\nimport axios from \"axios\";\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Alert } from 'react-bootstrap';\n\nclass TaskAdd extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n stages: ['active','inactive'],\n status: ['active','inactive'],\n role: getUserRole(),\n initialValues: {\n\n },\n errorMessages: [],\n showAlert : false,\n };\n }\n componentDidMount() {\n }\n\n render() {\n return (\n
    \n {/*

    Add Task

    \n

    {this.props.leadId}

    */}\n {\n\n if (!this.validator.allValid()) {\n this.validator.getErrorMessages();\n this.validator.showMessages();\n //this.forceUpdate();\n return false;\n }\n\n var self = this;\n axios({\n method: \"post\",\n url: apiUrl.apiUrl.url + \"/leads/create-drop-reason\",\n data: values,\n }).then(function (response) {\n \n if (response.data.status == 'success') {\n setTimeout(() => {\n self.props.closeModal(); // Close modal after form submission\n }, 1000);\n } else {\n actions.setSubmitting(false);\n actions.setErrors(response.data);\n\n const errorMessages = Object.values(response.data.errors).flat().map((msg, index) =>
  • {msg}
  • );\n \n self.setState({\n showAlert: true,\n errorMessages: errorMessages\n });\n }\n });\n }\n }\n >\n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting\n }) => (\n <>\n {this.state.showAlert == true ? (\n \n
      \n {this.state.errorMessages}\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n
    \n
    {\n if (e.key === 'Enter') {\n e.preventDefault(); // Prevent form submission on Enter key press\n }\n }} onSubmit={handleSubmit}>\n
    \n
    \n\n \n\n
    \n \n
    \n \n {this.validator.message(\"Title\", values.title, \"required\", { className: \"text-danger\" })}\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n \n )}\n\n \n
    \n );\n }\n};\n\nexport default TaskAdd;","import React, { Component } from 'react';\nimport DataTable from 'react-data-table-component';\nimport { Modal, Button } from \"react-bootstrap\";\nimport axios from 'axios';\nimport apiUrl from '../../../apiUrlConstant';\nimport styled from 'styled-components';\nimport datatableOptions from '../../../layout/datatableConstants';\nimport moment from 'moment';\nimport { debounce } from 'lodash';\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from \"formik\";\nimport SimpleReactValidator from \"simple-react-validator\";\nimport { faChevronRight, faCogs, faPen, faSpinner, faTrash } from '@fortawesome/free-solid-svg-icons';\nimport { Link } from \"react-router-dom\";\nimport Select from 'react-select';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport AddSubStage from './Add';\nimport { getUserCategory, numberFormat } from \"../../../utils/index\";\n\nconst TextField = styled.input`\n height: 32px;\n width: 200px;\n border-radius: 3px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border: 1px solid #e5e5e5;\n padding: 0 32px 0 16px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nconst ClearButton = styled.button`\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 5px;\n border-bottom-right-radius: 5px;\n height: 34px;\n width: 32px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #003970;\n`;\n\nclass TaskList extends Component {\n constructor(props) {\n super(props);\n\n this.validator = new SimpleReactValidator({\n autoForceUpdate: this,\n });\n\n this.state = {\n subStageLists: [],\n totalRows: 10,\n loading: false,\n filterText: '',\n statusFilter: '', // Added for status filter\n perPage: 10,\n page: 1,\n editModalFlag: false,\n actieveId: null,\n activeTaskData: {},\n editType: '',\n addSection: '',\n showModal: false,\n modalForm: ''\n };\n\n this.handlePageChange = this.handlePageChange.bind(this);\n this.handlePerRowsChange = this.handlePerRowsChange.bind(this);\n this.clearFilter = this.clearFilter.bind(this);\n this.fetchTasks = this.fetchTasks.bind(this);\n this.handleFilter = this.handleFilter.bind(this);\n this.openModal = this.openModal.bind(this);\n this.handleStatusFilterChange = this.handleStatusFilterChange.bind(this); // Added for status filter\n this.closeTaskModel = this.closeTaskModel.bind(this);\n this.handleDelete = this.handleDelete.bind(this);\n }\n\n componentDidMount() {\n this.fetchTasks();\n\n // try {\n // const response = axios.get(\n // `${apiUrl.apiUrl.url}/leads/getDropReasons`\n // );\n // //setData(response.data.data);\n // //setTotalRows(response.data.total);\n // } catch (error) {\n // console.error(\"Error fetching data: \", error);\n // }\n }\n\n handlePageChange(page) {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n closeTaskModel() {\n this.setState({ showModal: false });\n this.fetchTasks();\n }\n\n handlePerRowsChange(newPerPage, page) {\n this.setState({ perPage: newPerPage });\n this.fetchTasks(this.state.filterText, this.state.statusFilter, page);\n }\n\n clearFilter() {\n this.setState({ filterText: '', statusFilter: '' }, () => {\n this.fetchTasks();\n });\n }\n\n handleFilter(event) {\n const filterValue = event.target.value;\n this.setState({ filterText: filterValue }, () => {\n debounce(() => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n }, 300)();\n });\n }\n\n handleStatusFilterChange(event) {\n const statusValue = event.value;\n this.setState({ statusFilter: statusValue }, () => {\n this.fetchTasks(this.state.filterText, this.state.statusFilter, this.state.page);\n });\n }\n\n openModal() {\n this.setState({ showModal: true });\n }\n\n handleDelete(id){\n if (window.confirm(\"Are you sure you want to delete this item?\")) {\n this.setState({ loading: true });\n axios.get(`${apiUrl.apiUrl.url}/leads/drop-reason-delete`, {\n params: {\n id: id\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.fetchTasks();\n } else {\n this.setState({ loading: false });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n }\n }\n\n fetchTasks(filterText = '', statusFilter = '', page = 1) {\n this.setState({ loading: true });\n\n axios\n .get(`${apiUrl.apiUrl.url}/leads/drop-reason-list`, {\n params: {\n per_page: this.state.perPage,\n page: page,\n filter: filterText,\n status: statusFilter, // Pass the status filter value to the API\n },\n })\n .then((response) => {\n if (response.data.status === 'success') {\n this.setState({\n subStageLists: response.data.data,\n totalRows: response.data.total,\n loading: false,\n page: page,\n });\n } else {\n this.setState({ loading: false });\n }\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n }\n\n render() {\n\n const columns = [\n {\n name: 'Sr No',\n selector: 'id',\n sortable: true,\n cell: (record, index) => (\n (this.state.page - 1) * this.state.perPage + index + 1\n )\n },\n {\n name: 'Title',\n selector: 'title',\n sortable: true,\n cell: (record) => (\n record.title.charAt(0).toUpperCase() + record.title.slice(1)\n ),\n },\n\n {\n name: 'Added On',\n selector: 'created_on',\n sortable: true,\n cell: (record) => moment(record.created_on).format('DD-MMM-YYYY'),\n },\n {\n name: 'Action',\n cell: (record) => (\n record.status !== 'completed' && (\n
    \n {\n this.handleDelete(record.id);\n }}\n >\n \n \n
    \n )\n )\n },\n ];\n\n return (\n <>\n
    \n
    \n
    \n
      \n
    • \n Lead\n
    • \n
    • \n
    • \n Master\n
    • \n
    • \n
    • \n Drop Reason\n
    • \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n \n
    \n\n this.setState({ showModal: false })} backdrop=\"static\">\n \n {this.state.modalForm === \"add\" ? \"Add Reason\" : \"Edit sub stage\"} \n \n \n {this.state.modalForm === 'add' ? (\n \n ) : (\n <>\n // \n )\n }\n \n \n
    \n
    \n \n );\n }\n}\n\nexport default TaskList;\n","import {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n useRouteMatch,\n useParams,\n useLocation\n} from \"react-router-dom\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faUserCircle,\n faSignOutAlt,\n faSitemap,\n faCog,\n faCogs,\n} from \"@fortawesome/free-solid-svg-icons\";\n\nimport Dashboard from \"./Dashboard\";\nimport SideMenu from \"./SideMenu\";\nimport LeadAdd from \"./LeadAdd\";\nimport TaskList from \"./TaskList\";\nimport TopHeader from \"../layout/TopHeader\";\nimport LeadDetails from \"./LeadDetails\";\nimport LeadEdit from \"./LeadEdit\";\nimport SubStageMaster from \"./master/SubStage\";\nimport DropReason from \"./master/dropReason/Lists\";\n\n\nexport default function Leads() {\n let match = useRouteMatch();\n let location = useLocation();\n const parts = location.pathname.split('/');\n console.log(parts);\n let urlArray = {\n 'add':{'openMenu':'1', 'activeKey':'1-1'},\n 'my-task':{'openMenu':'2', 'activeKey':'2-1'},\n 'master':{'openMenu':'3', 'activeKey':'3-1'},\n };\n\n let openMenu = urlArray[parts[2]]?.openMenu ?? '1';\n let activeKey = urlArray[parts[2]]?.activeKey ?? '1-1';\n\n console.log(openMenu+' '+activeKey);\n\n return (\n
    \n \n
    \n
    \n {window.location.pathname.includes(\"leads/view\") ? null : }\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n );\n}\n","import axios from \"axios\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport React, { Component } from 'react'\nimport apiUrl from \"../apiUrlConstant\";\nimport { Redirect, withRouter, Link } from \"react-router-dom\";\nimport { getUserCategory, generateRandomFilename } from \"../utils/index\";\nimport { Alert } from \"react-bootstrap\";\n\n\nconst headers = {\n \"Content-Type\": \"application/json\",\n Authorization: \"Bearer \" + localStorage.getItem(\"TOKEN\"),\n};\n\n\n\nclass MyProfile extends React.Component {\n state = {\n userDetails: JSON.parse(localStorage.getItem(\"user\")),\n profilePhoto: \"\",\n imageData: \"\",\n showAlert: false,\n initialValues: {\n fullName: '',\n phone: '',\n email: '',\n city: '',\n state: '',\n country: '',\n pincode: '',\n role: '',\n creationDate: ''\n },\n fileError:''\n };\n\n componentDidMount = () => {\n\n \n var ths = this;\n fetch(`${apiUrl.apiUrl.url}/client/fetch-user-details`, { headers })\n .then((response) => {\n return response.json();\n })\n .then((data) => {\n let country = data.form_data.countryId['countryName'] || '';\n let state = data.form_data.stateId.map(item => item.label).join(', ');\n let city = data.form_data.cityId.map(item => item.label).join(', ');\n let name = data.data.name;\n let initialValues = {\n fullName: data.data.name,\n phone: data.data.mobile,\n email: data.data.email,\n city: city,\n state: state,\n country: country,\n role: data.data.roleName,\n creationDate: data.data.creationDate\n };\n\n let profileImageUrl = data.data.profilePic && data.data.profilePic !== '' ? apiUrl.apiUrl.url + '/' + data.data.profilePic : '';\n ths.setState({\n initialValues: initialValues,\n profilePhoto: profileImageUrl\n });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n\n fileBrowseHandler = (event) => {\n const allowedExtensions = [\"png\", \"jpeg\", \"jpg\", \"gif\"];\n let extension = event.target.files[0].name.split('.').pop().toLowerCase();\n\n if (!allowedExtensions.includes(extension)) {\n this.setState({ fileError: \"Invalid file type! Allowed: GIF, PNG, JPEG\" });\n event.target.value = \"\"; \n return;\n } else {\n this.setState({ fileError: \"\" }); // Clear error if valid\n }\n\n\n let value = URL.createObjectURL(event.target.files[0]);\n this.setState({\n profilePhoto: value,\n imageData: event.target.files[0]\n }, () => {\n //console.log(this.state.profilePhoto)\n });\n };\n\n uploadProfilePicture = (e) => {\n this.setState({ showAlert: false });\n if (this.state.imageData) {\n let folderUploadName = getUserCategory() != '' ? getUserCategory() : 'admin';\n const formData = new FormData();\n formData.append(\n 'imageFile', this.state.imageData\n );\n\n let filename = generateRandomFilename(this.state.imageData.name);\n formData.append(\n 'file_name', 'profile_' + filename,\n );\n formData.append(\n 'folder_location', folderUploadName + '/profile_picture',\n );\n\n try {\n let self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/upload-document/save`,\n data: formData,\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n }).then(function (response) {\n //console.log(response);\n let profileData = {\n profile_url: response.data.filePath\n };\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/upload-profile`,\n data: profileData,\n }).then(function (response) {\n if (response.data.status == 'success') {\n self.setState({ showAlert: true });\n\n let userDetails = JSON.parse(localStorage.getItem(\"user\"));\n userDetails.profile_pic = \"upload/\"+folderUploadName.toLowerCase() + '/profile_picture/profile_'+filename; \n localStorage.setItem(\"user\", JSON.stringify(userDetails));\n console.log(userDetails);\n\n setTimeout(() => {\n window.location.reload();\n }, 2000);\n \n }\n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n\n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n\n } catch (error) {\n console.error('Error uploading file:', error);\n }\n } else {\n alert(\"Please select a photo to upload.\");\n }\n }\n\n deleteProfilePicture = (e) => {\n this.setState({ showAlert: false });\n try {\n let profileData = {\n profile_url: ''\n };\n var self = this;\n axios({\n method: \"post\",\n url: `${apiUrl.apiUrl.url}/user/upload-profile`,\n data: profileData,\n }).then(function (response) {\n if (response.data.status == 'success') {\n self.setState({ showAlert: true });\n\n let userDetails = JSON.parse(localStorage.getItem(\"user\"));\n userDetails.profile_pic = \"\"; \n localStorage.setItem(\"user\", JSON.stringify(userDetails));\n\n setTimeout(() => {\n window.location.reload();\n }, 2000);\n }\n self.setState({\n profilePhoto: '',\n imageData: null\n });\n }).catch(function (error) {\n console.error('Error uploading file:', error);\n });\n\n } catch (error) {\n console.error('Error uploading file:', error);\n }\n }\n\n\n render() {\n return (\n <>\n
    \n
    \n
    Profile Details
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n {this.state.fileError && (\n \n )}\n\n
    \n \n {this.state.profilePhoto ? (\n \n ) : null}\n
    \n \n {this.state.initialValues.creationDate!='' ? (\n
    \n Account since\n

    {this.state.initialValues.creationDate}

    \n
    \n ) : null}\n
    \n
    \n
    \n {this.state.showAlert == true ? (\n \n
      \n Profile picture updated successfully\n
    \n this.setState({ showAlert: false })}>\n \n \n \n \n
    \n ) : null}\n {\n //console.log(values)\n }}\n >\n
    \n
    \n
    \n
    \n
    \n \n
    \n \n\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n )\n }\n}\nexport default withRouter(MyProfile);","import React, { useState, useEffect } from \"react\";\nimport PreventClickjacking from \"./PreventClickjacking\";\nimport Masters from \"./masters/Masters\";\nimport Login from \"./login\";\nimport UserResetPassword from \"./user/UserResetPassword\";\nimport UserForgotPassword from \"./user/UserForgotPassword\";\nimport UserChangePassword from \"./user/UserChangePassword\";\n\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport {\n faCoffee,\n faKeyboard,\n faCog,\n faEye,\n faFile,\n faFileAlt,\n faCommentDots,\n} from \"@fortawesome/free-solid-svg-icons\";\nimport {\n BrowserRouter as Router,\n Switch,\n Route,\n Link,\n NavLink,\n useRouteMatch,\n useParams,\n Redirect,\n} from \"react-router-dom\";\nimport CreateLease from \"./createLease/CreateLease\";\nimport AmendLease from \"./amendLease/CreateLease\";\nimport ViewLease from \"./viewLease/ViewLease\";\nimport Reports from \"./reports/Reports\";\nimport LeaseSummary from \"./viewLease/LeaseSummary\";\n\nimport { hasAccess } from \"./utils/index\";\nimport ProtectedRoute from \"./utils/ProtectedRoute\";\n\nimport BottomNav from \"./layout/BottomNav\";\nimport InvoiceValidation from \"./invoiceValidation/InvoiceValidation\";\nimport TransactionComponent from \"./transaction/Transactions\";\n\nimport Alerts from \"./user/alerts/Alerts\";\nimport UserNotification from \"./user/alerts/UserNotification\";\n\nimport OutflowComponent from \"./outflow/listing\";\nimport OutflowCreateComponent from \"./outflow/create\";\n\nimport CloseDeals from \"./closeDeals/create\";\nimport CloseDealsCreate from \"./closeDeals/create\";\nimport Dashboard from \"./dashboard/Dashboard\";\nimport Leads from \"./leads/Leads\";\nimport MyProfile from \"./user/MyProfile\";\nimport TopHeader from \"./layout/TopHeader\";\nfunction bottomNav() {\n return (\n
    \n
      \n
    • \n \n About\n Home / Masters\n Home / Create Lease\n Home / View Lease\n Home / View Summary\n Home / reports\n Home\n Home\n {/* Home */}\n \n
    • \n {hasAccess([\"admin\", \"user\"]) && (\n
    • \n \n \n \n
    • \n )}\n {hasAccess([\"user\", \"admin\"]) && (\n
    • \n \n \n \n
    • \n )}\n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    • \n \n \n \n
    • \n
    \n
    \n );\n}\nfunction showMenu(access) {\n console.log(\"menu\");\n if (access) {\n return (\n
    \n {bottomNav()} \n
    \n );\n } else return ;\n}\nexport default function App() {\n //let match = useRouteMatch();\n return (\n \n \n
    \n \n \n \n \n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n {/* */}\n {/* \n\n \n \n \n\n \n\n \n\n */}\n\n {/* */}\n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n\n \n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n \n {/* {bottomNav()} */}\n \n \n \n {/* {BottomNav()} */}\n \n \n \n \n {/* {BottomNav()} */}\n \n \n \n\n \n {/* {BottomNav()} */}\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* \n \n \n */}\n {/* \n \n \n */}\n {/* \n \n \n */}\n \n \n \n \n\n \n \n \n \n
    \n
    \n );\n}\n\nfunction About() {\n return

    About

    ;\n}\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport './style.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport axios from 'axios';\nimport Cookies from \"js-cookie\";\n\n// const api = axios.create({\n// //baseURL: \"https://your-api.com\", // Replace with your backend URL\n// withCredentials: true, // ✅ Automatically send cookies (JWT/session)\n// });\n\n\nlet csrf = localStorage.getItem(\"csrf_token\");\nlet csrfToken = Cookies.get(\"yii_csrf_token\"); // ✅ Retrieve CSRF token from cookie\nconsole.log(csrf,\"csrf\", )\n\n// axios.interceptors.request.use(function (config) {\n// withCredentials: true,\n// })\n\nconst getCookie = (name) => {\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${name}=`);\n if (parts.length === 2) return parts.pop().split(\";\").shift();\n return null;\n};\n\n// 🔹 Add Request Interceptor\naxios.interceptors.request.use(\n (config) => {\n //config.withCredentials = true; // ✅ Ensure credentials (cookies) are always sent\n\n return config;\n }, function (error) {\n // Do something with request error\n return Promise.reject(error);\n });\n\n// Add a request interceptor\naxios.interceptors.request.use(function (config) {\n\n console.log(document.cookie, \"updated cookie\")\n\n let csrf_temp = Cookies.get(\"yii_csrf_token\");\n\n // Do something before request is sent\n config.withCredentials = true;\n //console.log(config,\"axio interceptor\");\n //config.headers['Access-Control-Allow-Origin'] = \"*\";\n config.headers['Authorization'] = \"Bearer \" + localStorage.getItem('TOKEN');\n config.headers['X-CSRF-TOKEN'] = localStorage.getItem(\"csrf_token\");\n // config.headers['Cookie'] = csrfToken;\n\n return config;\n}, function (error) {\n // Do something with request error\n return Promise.reject(error);\n});\n\n// Add a response interceptor\naxios.interceptors.response.use(function (response) {\n // Any status code that lie within the range of 2xx cause this function to trigger\n // Do something with response data\n \nconsole.log(\"response\", response)\n\n if(response.data?.csrf) {\n // ✅ Store in localStorage\n localStorage.setItem(\"csrf_token\", response.data?.csrf);\n console.log(\"localstorage set\");\n }\n \n return response;\n}, function (error) {\n // if(error.response.status === 403) {\n // localStorage.clear();\n // window.location.pathname = \"/login\";\n // }\n\n if(window.location.pathname != \"/login\" && (typeof error.response=='undefined' || error.response.status === 403)) {\n \n localStorage.clear();\n window.location.pathname = \"/login\";\n }\n // Any status codes that falls outside the range of 2xx cause this function to trigger\n // Do something with response error\n return Promise.reject(error);\n});\n\n// axios.interceptors.response.use(\n// function (res) {\n// console.log(\"in success\",res);\n\n// let csrfToken = Cookies.get(\"yii_csrf_token\"); // ✅ Retrieve CSRF token from cookie\n// Cookies.set(\"yii_csrf_token\", csrfToken ); //, { expires: 1, path: \"/\" }\n\n// //localStorage.setItem('TOKEN', res.data.message);\n// return res;\n// },\n// (err) => {\n// console.log(\"in error\", err);\n\n \n// console.log(\"'==========================\")\n\n// return Promise.reject(err);\n// }\n// );\n\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}