{"version":3,"sources":["queries/profile.js","assets/images/Paymen_Success_Icon.png","assets/images/Processing_Icon.png","services/user.service.js","context/UIContext.js","assets/Image54.svg","ui/Notifications.js","layouts/customer-ui/CustomerNavbar.js","screens/setup/supplier-payment/SupplierDiscount.js","screens/setup/supplier-payment/SupplierDiscountModal.js","utils/Configs.js","ui/DropDownSearchAndSelect.js","services/app.services.js","layouts/organization-ui/PrimaryPrivateNavbar.js","queries/app.js","assets/logo-placeholder.jpg","layouts/Sidebar.js","helpers/Authentication.js","layouts/organization-ui/PrivateLayout.js","graphs/SimpleLineGraph.js","services/order.services.js","mutations/adddiscount.js","ui/ChangeReverse.js","assets/icons.js","hooks/useDebounce.js","ui/table.js","routesURLs.js","assets/Icon-check.svg","screens/setup/Stepper.js","queries/generalSettings.js","services/baseClass.services.js","assets/logo.png","utils/APIv2.js","ui/ToggleButton.js","ui/FilterSupplier.js","screens/setup/supplier-payment/StripeModal.js","screens/setup/supplier-payment/ManageDefault.js","screens/setup/supplier-payment/DummyDate.js","screens/setup/supplier-payment/SupplierListing.js","screens/setup/supplier-payment/index.js","services/operations.service.js","mutations/updateCustomers.js","services/bankSettings.services.js","assets/SimpliCapital-logo.png","context/QuickBookConnectionContext.js","context/UserContext.js","assets/placeholder-image.png","assets/monserrat-fonts/MontserratAlternates-Regular.ttf","assets/monserrat-fonts/MontserratAlternates-Bold.ttf","assets/monserrat-fonts/MontserratAlternates-Medium.ttf","assets/monserrat-fonts/MontserratAlternates-SemiBold.ttf","assets/monserrat-fonts/fonts.js","assets/images/Oracle_NetSuite_Logo.png","assets/images/Intuit_QuickBooks_logo.png","assets/images/quickbook_destop.png","assets/images/logo-business-central.png","services/quickbooks.services.js","screens/setup/Connection.js","mutations/useOrnetSaveSettings.js","mutations/saveQuickBooksSettings.js","mutations/saveQuickBooksDesktopSettings.js","mutations/addGeneralSettings.js","screens/setup/GeneralSettings.js","mutations/addBankSettings.js","queries/sectors.js","ui/FilterUser.js","mutations/updateUser.js","screens/setup/user-management/_UserForm.js","screens/setup/user-management/EditUserModal.js","screens/setup/user-management/UserOtpModal.js","screens/setup/user-management/AddUserModal.js","screens/setup/user-management/UserListing.js","mutations/importUser.js","queries/users.js","screens/setup/user-management/index.js","services/cashClassification.services.js","ui/CashClassificationAccountsTable.js","screens/setup/CashClassification.js","queries/cashClassificationAccounts.js","mutations/addCashClassificationAccounts.js","ui/FilterCustomer.js","ui/table-expander.js","screens/setup/customer-notification/CustomerNotification.js","queries/emailTemplates.js","ui/Tags.js","assets/Icon material-delete.svg","assets/add-icon.svg","screens/setup/dispute-management/ManageDefault.js","services/business.services.js","screens/setup/dispute-management/index.js","queries/business.js","screens/operations/analytics/SelectWithVirtualized.js","screens/operations/analytics/index.js","screens/operations/analytics/performanceTimeCard.js","screens/operations/analytics/performanceCard.js","screens/operations/analytics/Loader.js","screens/operations/analytics/table.js","screens/operations/analytics/userListingPerformance.js","screens/operations/analytics/PerformanceInsightsCard.js","screens/operations/analytics/ReportDownload.js","screens/operations/analytics/eventTable.js","screens/operations/analytics/analytics.js","screens/setup/digital-payments/index.js","screens/customer/BillingAddress.js","screens/customer/TransactionFilter.js","assets/download.gif","screens/customer/Transactions.js","screens/customer/successPaymentPage.js","screens/customer/PaymentProcessing.js","screens/customer/RedirectPage.js","screens/dashboard/customer-dashboard/PaymentPage.js","screens/actuals/popover/ReceivableTransactionPage.js","AppRoutes.js","App.js","reportWebVitals.js","index.js","queries/customers.js","services/customer.services.js","ui/mediaQueries.js","ui/BSCheckbox.js","ui/forms.js","queries/operations.js","ui/cardsPercentage.js","screens/actuals/Styles.js","services/ornet.services.js","services/emailTemplate.services.js","queries/actuals.js","mutations/createUser.js","queries/departments.js","ui/SelectWithVirtualized.js","ui/Checkbox.js","assets/arrow-down-new.svg","utils/pdftemplates/paymentReceipt.js","ui/Buttons.js","services/generalSettings.services.js","assets/icon-cross.svg","context/InsightsContext.js","ui/general.js","layouts/operations-ui/primaryPrivateNavbar.js","layouts/operations-ui/sidebar.js","layouts/operations-ui/privateLayout.js","ui/Card.js","helpers/Authorization.js","ui/Page.js","utils/Bus.js","ui/flash-message/progress-bar.js","ui/flash-message/danger.js","ui/flash-message/warning.js","ui/flash-message/index.js","screens/setup/supplier-payment/SupplierReminder.js","screens/setup/supplier-payment/SupplierForm.js","ui/Modal.js","utils/application-date.js","ui/SelectFilter.js","utils/EventLog.js","filters/search/Styles.js","mutations/emailTemplates.js","queries/user.js","services/userProfile.services.js","services/departments.service.js","components/reminders/CustomerReminder.js","mutations/updateSupplier.js","services/stats.services.js","queries/stats.js","ui/DateRangePicker.js","filters/Style.js","ui/Change.js","filters/search/CustomerSearch.js","assets/images/ach_img.png","assets/images/creditCrad.png","assets/images/debitCard.png","hooks/useQuery.js","queries/bankSettings.js","ui/Loader.js","services/actual.services.js","services/customers.services.js","services/supplier.services.js","ui/Tooltip.js","ui/Popover.js","utils/base-url.js","queries/suppliers.js","services/suppliers.service.js","screens/setup/supplier-payment/ManageSetting.js","layouts/customer-ui/customerSidebar.js","ui/ErrorHandingComponent.js"],"names":["useProfile","useQuery","getProfile","keepPreviousData","staleTime","useRoles","getRoles","updateUser","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","userID","values","wrap","_context","prev","next","axios","put","concat","abrupt","sent","stop","_x","_x2","apply","arguments","getUser","_ref2","_callee2","res","_context2","get","data","_x3","getUsers","_ref3","_callee3","page","filterData","params","_context3","departments","limit","name","username","status","statusArray","role","roleArray","business","businessArray","sortOrder","sortOn","_x4","_x5","addUser","_ref4","_callee4","User","_context4","post","_x6","importCSV","file","downloadSampleImportFile","getUserIntegrations","_ref5","_callee5","_context5","getCustomerDetailsforSingup","_ref6","_callee6","_context6","_x7","updateMfa","_ref7","_callee7","body","_context7","_x8","getAuthVerificationMethod","_ref8","_callee8","_context8","getVerificationMethod","_ref9","_callee9","_context9","UIContext","createContext","NotificationDiv","styled","div","_templateObject","_taggedTemplateLiteral","_templateObject2","Popover","Body","_toConsumableArray","Array","map","i","_jsxs","children","_jsx","IconFlag","className","Link","Route_URLs","notifications","StyledNavBar","nav","StyledRefreshIcon","_templateObject3","ProfileDetails","_templateObject4","ResetPassword","_templateObject5","StyledRadio","_templateObject6","LogoutDiv","_templateObject7","ProfileDetailspopover","onLogout","onLogoutSuperUser","_logData$current","_logData$current$give","tokenData","sessionStorage","getItem","decodedData","useHistory","jwt_decode","_useState","useState","_useState2","_slicedToArray","showResetPassword","setShowResetPassword","_useState3","_useState4","Errors","logData","useContext","UserContext","useRef","userId","_LoginCustomerData","LoginCustomerData","cardData","isLoading","current","id","style","fontSize","color","givenName","familyName","email","onClick","Formik","initialValues","newPassword","_defineProperty","validationSchema","Yup","shape","oldPassword","required","matches","confirmPassword","oneOf","onSubmit","setSubmitting","resetForm","Auth","currentAuthenticatedUser","then","customer","changePassword","window","flash","setTimeout","catch","err","errors","touched","handleSubmit","isSubmitting","Form","ErrorHandlingComponent","Input","type","placeholder","BasicButton","width","float","margin","_Fragment","LogoutIcon","ProfileDetailsDropdown","userContext","signOut","setUser","clear","localStorage","location","pathname","t0","console","error","removeItem","OverlayTrigger","trigger","rootClose","placement","overlay","onError","ev","target","src","SampleImage","alt","LogoDropdown","dataset","bucketUrl","SampleLogomain","withRouter","_LoginCustomerData2","moment","format","Title","span","StyledAccordion","Accordion","RadioDiv","SupplierDiscount","show","onHide","supplierId","addeddiscountData","adddiscounttosuppliers","useAdddiscounttosuppliers","defaultActiveKeyVal","setdefaultActiveKey","disable","selectedaccordion","useEffect","hvd","push","tempval","length","lpp","epd","Set","Page","_objectSpread","setErrors","supplier_id","vendor_id","order_type","order_value","discount_type","discount_value","late_payment_type","lp_penalty_days","lp_penalty_amt","early_payment_discount_type","early_payment_discount_type2","early_payment_discount_val","_id","late_charge_increase_days","late_charge_increase_amt","lp_penalty_type","early_payment_discount_deccrease_day","early_payment_discount_deccrease_percent","early_payment_discount_start","mutateAsync","note","setFieldValue","defaultActiveKey","Card","Header","checked","onChange","e","Row","Col","display","paddingRight","RadioBlue","options","key","value","InputwithLabel","paddingTop","paddingLeft","disabled","DraggableModalDialog","props","Draggable","handle","bounds","top","innerHeight","left","right","innerWidth","bottom","ModalDialog","SupplierDiscountModal","currentSelectedSupplier","_useProfile","userData","permissions","Modal","centered","dialogAs","StyledModal","closeButton","supplier_name","padding","forFutureRelease","StyledSelect","SelectWithCheckbox","handleBusiness","childFunc","_ref$placeholder","setValue","_useDepartments","useQueryClient","useDepartments","handleClear","reformattedArray","label","fullyQualifiedName","ReactMultiSelectCheckboxes","classNamePrefix","placeholderButtonLabel","obj","result","Object","keys","setDepartmentData","isClearable","arForecastModelTrigger","getForecastDate","Iconbackground","isloading","StyledGarphIcon","LockOverlay","_templateObject8","BackStyledButton","button","_templateObject9","Notificationpopover","to","ProfileDetailsPopover","borderBottom","ProfileIcon","profile","marginLeft","NotificationDropdown","BellIcon","isLoadingUserData","_userData$data","setLoading","onBoarding","isQuickbookDataImported","QuickBookConnectionContext","generalSettingsData","useGeneralSettings","showPopup","setShowPopup","_useForecastDate","ForecastDate","isLoadingDate","refetch","textAlign","marginTop","borderRadius","cursor","IconGraph","date","Authorise","showUnAuthorisedComponenet","allowedRoles","response","log","message","RefreshIcon","applicationDate","StyledSidebar","collapsed","disableTransitionEffects","SidebarShadow","StyledLogo","StyledCollapsedLogo","Nav","BSNav","ExpandIcon","SubmenuContent","SubmenuCaption","StyledSubmenu","activeLink","open","_templateObject10","ActiveLink","_templateObject11","StyledIcon","_templateObject12","active","Submenu","sidebarCollapsed","setOpen","JSON","parse","title","setItem","TopArrowSubmenuIcon","icon","event","preventDefault","stopPropagation","Sidebar","_useGeneralSettings","loading","setCollapsed","_useState5","_useState6","setDisableTransitionEffects","userRole","activeRoute","routeUrl","connectionResponse","getOracleDataFetchStatus","href","dashboard","Logo","CollapsedLogo","as","netcash","NetCashIcon","actuals_payables","actuals_receivables","actuals_collections","forecast_receivables","forecast_collections","receivable_transactions_page","ReceivablesIcon","isPaymentEnable","forecast_payables","actuals_payments","Forecast","scenario","ScenarioIcon","setup_customer_notification","setup_supplier_payment","setup_general_settings","SettingIcon","ArrowExpandIcon","Authenticate","_ref$showUnAuthorised","token","PageContainer","ContentContainer","Container","StickyDiv","SidebarContainer","PrivateLayout","scroll","setScroll","useLocation","split","user","QuickbookConnectionContext","operation","undefined","closeable","duration","Bus","emit","quickbookImportInProgress","alerts","addEventListener","scrollY","Redirect","PrimaryPrivateNavbar","firstName","lastName","Flash","GraphStyled","SimpleLineGraph","xaxisData","height","Chart","series","chart","toolbar","colors","stroke","dataLabels","enabled","tooltip","grid","yaxis","lines","xaxis","labels","axisBorder","axisTicks","GraphCaption","OrderService","_BaseService","_inherits","_super","_createSuper","_this","_classCallCheck","_len","args","_key","call","getall","formatedInvoiceStart","formatedInvoiceEnd","formatedDeliveryStart","formatedDeliveryEnd","invoiceDate","deliveryDueDate","field","columnName","sort","order","pageNo","pageNumber","customerName","searchString","minAmount","maxAmount","startOrderDate","endOrderDate","startDueDeliveryDate","endDueDeliveryDate","getgraphdata","cid","filterType","customerId","getInsightsdata","currentLevel","rangetype","getTotal","getOrdersListingData","manualOveride","_args5","mo","saveOrdersData","payload","exportUrlOrderOverview","apiURL","exportUrlOrderInvoice","exportUrlBarGraphOrders","customerid","timeFilter","_createClass","BaseService","queryClient","useMutation","adddiscount","onSuccess","invalidateQueries","GetBasedata","invoiceNo","getbase64","Disputdataadd","disputaddd","Uploader","formData","uploadInBucket","Deletefroms3","deleteinbucket","Remindersend","remindermail","DisputdataaddFromAdmin","disputadddFromAdmin","CustomerDisputAsignUserAdd","asigndUserAdd","CustomerDisputTypeAsignUserAdd","_ref10","asigndUserAddFordisputType","CustomersDisputData","_ref12","invoiceNumber","getCustomersDisputData","Notificationseen","_ref13","seennotification","AdminNotificationseen","_ref14","seennotificationadmin","CustomersDisputDataAdminside","_ref15","getCustomersDisputDataFromAdmin","Getdataformsearch","_ref16","usersearchdata","ManageSettingsData","_ref17","getmanagesettingdaata","ManageSettingsDataAdd","_ref18","managesettingdataadd","FetchDisputeTypeData","_ref19","disputecatagory","ApprovedUsers","_ref20","fetchapproveduser","ManagedefaultAssignedUsers","_ref21","manageedefaultassignedusers","ManagedefaultUsers","_ref22","manageedefaultusers","ManagedefaultUsersAdd","_ref23","manageedefaultusersadd","StrategicAdd","_ref24","supplierStrategicAdd","CashFlowForecastEdit","_ref25","cashflowforecastedit","UpdateBillPaymentDate","_ref26","updateBillPaymentDate","UsePaymentBillData","_ref27","billDownload","GetSupplierDiscount","_ref28","getSupplierDiscount","Up","Down","ChangeReverse","UpIcon","DownIcon","IosTime","viewBox","d","fill","MemoIosTime","React","GreentickIcon","rx","x","y","Greentick","CalendarGraphIcon","transform","flip","cx","cy","r","Calendar","CheckIcon","Check","CrosIcon","Cros","Add","opacity","AddIcon","UploadIcon","Upload","ArrowDownIcon","ArrowDownWhiteIcon","strokeWidth","ArrowLeftIcon","fillColor","IconBellDashboard","IconFileDownload","CalendarIcon","DragIcon","x1","y1","x2","gradientUnits","offset","stopColor","EditIcon","IconAddressCard","IconStripe","IconPencilEdit","ExportIcon","ForecastIcon","IconCross","ImportIcon","InfoIcon","IconEnlargeArrow","xmlns","IconShrinkArrow","LockIcon","WhiteInfoIcon","InsightsIcon","ReportIcon","ry","ManualOverideIcon","IconExpandArrow","SearchIcon","SortIcon","GreenClockIconBank","AmberClockIconBank","RedClockIconBank","IconCheck","IconMoneySvgrepo","IconDelete","PlusIcon","IconCheckCircle","IconMail","IconRefresh","strokeLinecap","strokeLinejoin","SaveSvg","SaveIcon","ZoomInIconSVG","ZoomInIcon","ZoomOutIconSVG","DeleteIcon","CommentIcon","version","LoginIcon","SyncIcon","Tenants","Session","Analytics","DataLoads","class","Subscriptions","points","Switch","DeActivateIcon","ActivateIcon","IconContractArrow","ExportIconWhite","TransactionIcon","ZoomOutIcon","useDebounce","delay","debouncedValue","setDebouncedValue","handler","clearTimeout","StyledSubRows","depth","TableWrapper","StyledCheckboxHeader","StyledLabel","StyledTable","BSTable","TableHead","thead","StyledRow","tr","PaginationWrapper","Pagination","ScrollWindow","IndeterminateCheckbox","forwardRef","ref","indeterminate","rest","_objectWithoutProperties","_excluded","defaultRef","resolvedRef","Table","editId","columns","rowClick","onHeaderClick","totalCount","handlePageChange","initialPage","isEdit","updateData","checkbox","_useTable","useTable","initialState","hiddenColumns","column","accessor","pageSize","manualSortBy","useFilters","useSortBy","useExpanded","usePagination","useRowSelect","hooks","visibleColumns","disableSortBy","getToggleAllRowsSelectedProps","Cell","row","getToggleRowSelectedProps","getTableProps","getTableBodyProps","headerGroups","prepareRow","nextPage","previousPage","gotoPage","Pagecount","state","expanded","Math","ceil","abs","Loader","borderless","headerGroup","getHeaderGroupProps","headers","getHeaderProps","getSortByToggleProps","minWidth","maxWidth","render","Tooltip","place","getRowProps","cells","cell","getCellProps","ReactPaginate","previousLabel","nextLabel","breakLabel","breakClassName","pageCount","marginPagesDisplayed","pageRangeDisplayed","onPageChange","_page","selected","containerClassName","activeClassName","forcePage","signin","createaccount","forgotpassword","accountverify","passwordreset","mfascreen","customer_signup","dashboard_customer","dashboard_customize","dashboard_customer_payment_confirmed","forecast_optimization","credit_monitoring","orders_invoices","orders_overview","actuals_nonTradeReceivables","actuals_nonControllablePayables","actuals_payment_confirmed","customers","suppliers","tearsheet_customer","tearsheet_supplier","setup_connect_integration","setup_cash_classification","setup_user_management","setup_dispute_management","emailTemplateCreation","emailTemplatesList","admin_login","operationDashboard","tenantList","customerList","sessionList","adminUsers","analytics","dataLoads","subscriptions","featureSwitches","setup_digital_payments","billingAddress","transactions_customer","successPaymentPage","paymentProcessing","redirectPage","payment_page","guest_payment_page","guest_payment_success_page","passwordresetcustomer","emailInvoiceDownloadQbd","StyledStepper","StepperComponent","history","stepsToKeepforCollect","stepsToKeepforSimpliPay","stepsToKeepforSimpliPayAndCollect","sections","filter","item","includes","Stepper","steps","activeStep","currentPage","completeBarColor","activeColor","completeColor","defaultColor","titleFontSize","activeTitleColor","defaultTitleColor","completeTitleColor","getAllGeneralSettings","this","axiosInstance","getAccessToken","APIv2","create","baseURL","process","interceptors","request","use","config","t1","t2","t3","Promise","reject","alert","resolve","req","ToggleButtonComponent","setToggle","ToggleButton","activeLabel","inactiveLabel","activeThumb","base","inactiveThumb","hover","inactive","trackStyle","onToggle","popoverPanel","handleResetFilter","company","handleCompanyName","handleSupplierName","SupplierData","supplierName","StyleSelect","SelectFilter","supplier","ClearButton","FilterSupplier","handleFilterData","setSupplierName","setCompany","FilterData","StyledButton","StripeModal","_currentSelectedSuppl","_currentSelectedSuppl2","_currentSelectedSuppl3","supplierUpdate","useUpdateSupplier","errorMessage","setErrorMessage","size","stripeDetails","bankAccountNumber","routingNumber","IBAN","enableReinitialize","handleStripeDetails","ModalSection","marginBottom","background","ManageDefault","enforceFocus","SupplierForm","dummyData","TopSection","FilterSection","DiscountIcon","SupplierListing","showManageSettings","setShowManageSettings","showDefault","setShowDefault","setPage","_useState7","_useState8","setinitialPage","_useState9","_useState10","setaddeddiscountData","_useState11","_useState12","setCurrentSelectSupplier","addsupplierstrategic","_useState13","_useState14","setFilterData","debouncedfilterData","_useState15","_useState16","showStripe","setShowStripe","_useState17","_useState18","showDiscountModal","setDiscountModal","makeid","characters","charactersLength","counter","charAt","floor","random","onDiscountModalHide","toreload","loader","_useSuppliers","useSuppliers","isLoadingSuppliers","tableData","rows","TotalRowsCount","count","SuppliersList","UseGetSupplierDiscount","apicallandopen","val","supplierid","useMemo","canExpand","getToggleRowExpandedProps","isExpanded","address","Line1","City","original","strategic","flterdata","handelCheckBox","discountPrograms","temploader","marginRight","textDecoration","sm","Filter","updatedFilterData","ManageSetting","StyledInputWithLabel","ApprovalReminders","ApprovalRemindersDiv","StyledCard","OuterDiv","NavigationButtons","SupplierPayment","_useContext","setOnBoarding","Operationservice","getTenantsForLogin","getCustomersForLogin","getTenantUsers","tenantName","getInsights","getDailys","getMetrics","getReportData","addTestPoc","_callee10","_context10","loginAsTenant","_ref11","_callee11","_context11","loginAsCustomer","_callee12","_context12","_x9","register","_callee13","_context13","_x10","verify","_callee14","_context14","_x11","verifyOtp","_callee15","_context15","_x12","activateTenant","_callee16","_context16","_x13","deActivateTenant","_callee17","_context17","_x14","deleteSuperUser","_callee18","_context18","_x15","updatePaymentAccess","_callee19","_context19","_x16","updateDataLoad","_callee20","_context20","_x17","reportDownloads","_callee21","tenant","_context21","downloadUrl","_x18","_x19","useUpdateCustomer","updateCustomers","useUpdateCustomerBillingDetails","updateCustomersBilling","GenerateSessionToken","customersServices","GenearteSessionTokenData","GenerateCheckSum","GenearteCheckSumData","SaveTransactionPayment","saveTransactionPaymentPage","GetCustomerInvoice","getCustomerInvoiceData","SaveTransactionPaymentcustomer","transactionStatusData","GeneratePaymentPageReceipt","GetPaymentPageReceiptData","GetGuestPaymentDetails","getGuestPaymentDetails","CreateGuestPageChecksum","createGuestPageChecksum","CreateGuestPageSessionToken","createGuestPageSessionToken","SaveTransactionGuestPage","saveTransactionGuestPage","GenerateGuestPageReceipt","GetGuestPageReceiptData","GetGuestPageInvoice","GetCardTokenCustomer","getCardTokenCustomer","SaveCardTokenCustomer","saveCardTokenCustomer","onSuceess","CardTokenPaymentPage","cardTokenPaymentPage","SaveCardTokenPaymentPage","saveCardTokenPaymentPage","getLinkToken","getAUserAllBankingDetails","getUserCashInBank","getUserCashInBankForForecast","exchangePublicTokenForAccessToken","publicToken","setAllTokensForUserBankAccount","removeABankAccount","updateBankForForecasting","updateBankForReauthorisation","createGlobalStyle","Montserrat","MontserratBold","MontserratSemiBold","MontserratMedium","getQuickBooksDesktopSettings","setQuickBooksSettings","setQboCode","getDataFetchStatus","getQBOUri","Innersection","TickIcon","BackgroundColor","LogoDiv","Connection","string","setInitialValues","selectedLogo","setSelectedLogo","connection","setConnection","developerPortalLink","setDeveloperPortalLink","connectionDetails","setConnectionDetails","reConnect","setReConnect","qbdDownloadUrl","setQbdDownloadUrl","callBackUrl","query","code","realmId","entity","ornetSaveSettings","setOrnetSettings","useOrnetSaveSettings","quickBooksSaveSettings","useQuickBooksSaveSettings","quickBooksDesktopSaveSettings","useQuickBooksDesktopSaveSettings","checkConnection","_connectionResponse$d","_connectionResponse$d10","_connectionResponse$d11","_connectionResponse$d12","_connectionResponse$d2","_connectionResponse$d3","_connectionResponse$d4","_connectionResponse$d5","_connectionResponse$d6","_connectionResponse$d7","_connectionResponse$d8","_connectionResponse$d9","details","accessToken","refreshToken","OracleLogo","QBOLogo","QBODesktopLogo","saveOrnetCode","setOrnetCode","saveQboCode","saveSettings","clientId","clientSecret","companyId","_payload","_payload2","_response","callbackURL","refreshTokenURL","environment","uri","url","BCLogo","appId","appURL","appSupportURL","scheduler","handleRadioChange","indexOf","toUpperCase","slice","alignItems","justifyContent","alignContent","flexWrap","callbackUrl","nullable","appUrl","appSupportUrl","infoicon","useAddGeneralSettings","setAllGeneralSettings","BSModal","CrossIcon","Toggleicon","UpdateForecast","plaidLinkStyles","_templateObject13","_templateObject14","_templateObject15","_templateObject16","_templateObject17","fontFamily","lineHeight","letterSpacing","outline","border","boxShadow","CheckboxWrapper","_templateObject18","StyledList","ul","_templateObject19","_templateObject20","GeneralSettings","_moment$tz$zonesForCo","_generalSettingsData$","_generalSettingsData$2","_generalSettingsData$3","_generalSettingsData$4","_generalSettingsData$5","_generalSettingsData$6","_generalSettingsData$7","_generalSettingsData$8","_generalSettingsData$9","_generalSettingsData$10","_generalSettingsData$11","_generalSettingsData$12","_generalSettingsData$13","_generalSettingsData$14","_generalSettingsData$15","_generalSettingsData$16","_generalSettingsData$17","_generalSettingsData$18","companyEdit","setCompanyEdit","isEdited","setEdited","showPopover","setShowPopover","showBankConnectButton","setShowBankConnectButton","publicLinkToken","setPublicLinkToken","letsGo","setLetsGo","userConsent","setUserConsent","_useState19","_useState20","industrychange","setIndustrychange","createLinkToken","tokenn","link_token","aToken","access_token","AddBankSettings","useAddBankSettings","RemoveBankAccount","useRemoveBankAccount","BankForForecasting","useBankForForecasting","BankForReauthorisation","useBankForReauthorisation","removeAccount","uuid","reauthoriseAccount","toUse","_useSectors","getSectors","sectors","isLoadingSectors","hierarchy","_useGetAUserAllBankin","useGetAUserAllBankingDetails","bankSettingsData","_useState21","isLoadingBankDetails","_useState22","bankAccountsData","setBankAccountsData","_useState23","_useState24","consentStartDate","setConsentStartDate","_useState25","_useState26","consentEndDate","setConsentEndDate","bank","bankDetails","bank_name","useInForecast","totalAmountInBank","accounts","reduce","acc","balances","available","daysLeftToReAuthorise","_useState27","_useState28","currentSector","setCurrentSector","AddGeneralSettings","sectorOptions","sector","startDate","subSectors","sec","sub","industries","handleAddGeneralSettings","newFormData","FormData","homeCurrency","showSalesRep","showJobNumber","showJobType","showCustomerMemo","companyName","trim","industry","capitalCost","costOfCapital","revenueGroup","billPayment","billPayments","timezone","timeZone","autoPaymentsTime","updateForecastModels","cashThresholds","ordersThresholds","collectionsThresholds","receivablesThresholds","payablesThresholds","applicationStartDate","manageDefaults","beforeDueDate","isBeforeDueDate","days","onDueDate","afterDueDate","isAfterDueDate","perodicDaily","periodicWeekly","selectFixedTime","selectFixedDayTime","append","stringify","profileImage","FormattedUpdateFormData","timezonesArray","tz","zonesForCountry","zone","SCLogo","Label","fontWeight","rel","PlaidLink","metadata","day","time","daily","weekly","monthly","min","max","test","of","thresholds","cash","exclusive","from","orders","collections","receivables","payables","_generalSettingsData$19","_values$updateForecas","_generalSettingsData$20","_values$updateForecas2","errorBody","defaultValue","htmlFor","hidden","accept","currentTarget","files","URL","createObjectURL","objectFit","alwaysOpen","Item","eventKey","DatePickerField","dateFormat","SimpleSelect","TimePickerField","Radio","flexDirection","listStyleType","elem","ind","backgroundColor","flex","NumberFormat","thousandSeparator","prefix","round","displayType","isNumericString","decimalScale","Date","todayDate","getDate","endDate","getTime","formattedTodayDate","getMonth","toString","padStart","getFullYear","formattedEndDate","handleUserName","StatusChangedInactive","StatusChangedActive","RoleChangedReadOnly","RoleChangedReadWrite","RoleChangedAdmin","StyledCheckbox","BSCheckbox","inline","admin","readwrite","readonly","FilterUser","setUserName","setRole","setRoleArray","setStatus","setStatusArray","useUpdateUser","UserForm","userRolesData","getDes","k","description","position","mobile","access","isMfaEnabled","first_split","getDomainName","on","isValid","dirty","PhoneInputField","phoneNumber","userPoolId","enableMFA","ReactTooltip","EditUserModal","userUpdate","_useUser","useUser","permission","serverUser","UserOtpModal","setLoader","_email$split","_email$split2","domain","maskedUsername","repeat","_domain$split","_domain$split2","domainName","domainExtension","maskedDomainName","maskEmail","customerDetails","phone","countryCode","remainingNumber","startsWith","splitIndex","search","maskedPart","lastFourDigits","maskPhoneNumber","userAdd","useCreateUser","handleClick","method","close","onRequestClose","Spinner","AddUserModal","isOtpModalOpen","setIsOtpModalOpen","customerSubmitDetails","setCustomerSubmitDetails","verificationMethod","GetVerificationMethod","bysms","Counter","StyledFilterSection","Import","Capitalize","UserListing","showAddUserModal","setShowAddUserModal","showEditUserModal","setShowEditUserModal","currentSelectedUser","setCurrentSelectUser","roleData","importUser","File","useImportUser","_useUsers","useUsers","users","department","allowedOperation","allowedPermission","UserManagement","UsersListing","getReceivablesAccounts","accountName","getPayablesAccounts","getAllSelectedAccounts","getAllIncomeAccounts","getAllExpenseAccounts","getAllrecurringAccounts","postAllSelectedAccounts","postAllSelectedRecurringAccounts","deleteCashClassificationBudgeting","delete","addCashClassificationBudgeting","getCashClassificationBudgetingExpenseList","getCashClassificationBudgetingIncomeList","CashClassificationAccountsTable","updateAccountData","updateAccount","Id","_e$target","accs","forEach","manualPagination","pageIndex","getDaysOptions","frequency","currentDate","lastDayOfMonth","index","setPagecount","temp","pos","rowVals","_cell$row$original","_cell$row$original2","_cell$row$original3","_cell$row$original4","recurring","inputValue","amount","changeAmount","week1","week2","week3","week4","week5","PartionDiv","MainContainer","BottomSection","SearchInput","input","CheckboxSection","CashClassification","showARList","setShowARList","showAPList","setShowAPList","showIncomeAccountsList","setShowIncomeAccountsList","showExpenseAccountsList","setShowExpenseAccountsList","showrecurringPayablesAccountsList","setShowrecurringPayablesAccountsList","receivablesPage","payablesPage","bankPage","receivablesData","setReceivablesData","payablesData","setPayablesData","_useState29","_useState30","setTotalCountReceivables","_useState31","_useState32","setTotalCountPayables","_useState33","_useState34","setRecordsLengthReceivables","_useState35","_useState36","setRecordsLengthPayables","_useState37","_useState38","receivablesSearch","_useState39","_useState40","incomesSearch","setIncomesSearch","_useState41","_useState42","expensesSearch","setExpensesSearch","_useState43","_useState44","payablesSearch","_useState45","_useState46","_useState47","_useState48","bankSearch","_useState49","_useState50","debouncedSearchReceivables","debouncedSearchPayables","debounceBankSearch","_useState51","_useState52","incomeAccounts","setIncomeAccounts","_useState53","_useState54","expenseAccounts","setExpenseAccounts","_useState55","_useState56","recurringPayablesAccounts","setRecurringPayablesAccounts","_useState57","_useState58","tableRerender","setTableRerender","_useState59","_useState60","_useState61","_useState62","_useState63","_useState64","incomeInitialPage","setIncomeInitialPage","_useState65","_useState66","expenseInitialPage","setExpenseInitialPage","_useState67","_useState68","recurringInitialPage","setRecurringInitialPage","AccordionOpenState","InsightsContext","bottomSectionRef","_useState69","_useState70","selectedRowId","setSelectedRowId","_useState71","_useState72","isSubmit","setIsSubmit","_useCashClassificatio","cashClassificationAccounts","_useCashClassificatio2","cashClassificationIncomeAccounts","isLoadingIncomeAccounts","_useCashClassificatio3","cashClassificationExpenseAccounts","isLoadingExpenseAccounts","_useCashClassificatio4","cashClassificationrecurringPayableAccounts","isLoadingrecurringAccounts","_useState73","_useState74","mapCCIncomeAccounts","setMapCCIncomeAccounts","_useState75","_useState76","mapCCExpenseAccounts","setMapCCExpenseAccounts","_useState77","_useState78","mapCCrecurringAccounts","setMapCCrecurringAccounts","getRecurringPayablesData","_getRecurringPayablesData","getIncomeAccountsTableList","_getIncomeAccountsTableList","slection","getExpenseAccountsTableList","_getExpenseAccountsTableList","AddCashClassificationAccounts","useAddCashClassificationAccounts","AddCashClassificationRecurringPayables","useAddCashClassificationRecurringPayables","arAccoutsData","useAddCashClassificationBudgeting","useDeleteCashClassificationBudgeting","arAccounts","apAccoutsData","apAccounts","bankAccountData","bankAccounts","_useState79","_useState80","fillAllForIncomes","setFillAllForIncomes","_useState81","_useState82","fillAllForExpenses","setFillAllForExpenses","updateIncomeAccount","updateExpenseAccount","updaterecurringAccount","deleteAccount","caller","arr","clickRowToUpdate","classList","contains","toLowerCase","handlePageChangeIncome","_handlePageChangeIncome","handlePageChangeExpense","_handlePageChangeExpense","handlePageChangeRecurring","_handlePageChangeRecurring","newValue","AccountType","prevAccounts","FullyQualifiedName","minwidth","RecurringPayablesColumns","parseFloat","toFixed","reformattedAR","reformattedAP","reformattedBank","getReceivables","getPayables","getReceivablesSearch","getPayablesSearch","records","updateIncomeExpenseArrayForSearchFilter","keyword","filteredAccounts","option","updateIncomeExpenseSelectAll","uniqueNames","account","uniqueNewItems","has","performOperationOnArray","array","updateIncomeExpenseAccountsArray","handleTopSectionClick","closest","handleOutsideClick","document","removeEventListener","arAccouts","apAccouts","iAcBool","pageIncomeNumberElement","eAcBool","pageExpenseNumberElement","promises","_values$apAccouts","_values$arAccouts","_values$bankAccounts","eAccs","iAccs","recurringPayablesPayload","all","handleSubmitAccounts","Desktop","FieldArray","remove","listStyle","Tablet","Mobile","CustomerData","emailTemplateId","handleTemplateName","handleCustomerName","handleLocationName","emailTemplates","customersTypes","handleCustomerType","customerType","handleOpenInvoice","isOpenInvoiceCustomers","FilterCustomer","setCustomerName","setLocation","setEmailTemplateId","setCustomerType","setIsOpenInvoiceCustomers","StyledSubRow","img","TableExpander","handleReminderSettings","closeModal","setChildEmailCheck","childEmailCheck","expandedRowId","setExpandedRowId","expandedRowData","setExpandedRowData","parentRecord","prevData","setPrevData","fetchChildRecords","parentId","handleRowClick","_e$target$closest","clickedColumnId","assignTemplateColumnIndex","childRecords","hasValidEmail","cellIndex","findIndex","col","childrensData","some","child","Fragment","childRow","isEven","Number","colSpan","renderRow","ModalText","StyleTimePicker","customStyles","control","borderColor","minHeight","dropdownIndicator","paddingBottom","isFocused","valueContainer","singleValue","menu","popover","_customer$preferences","_customer$preferences2","_customer$preferences3","_customer$preferences4","_customer$preferences5","_customer$preferences6","_customer$preferences7","_customer$preferences8","_customer$preferences9","_customer$preferences10","_customer$preferences11","_customer$preferences12","_customer$preferences13","_customer$preferences14","preferences","manageSettings","CustomerReminder","AssignPopover","handleButtonClick","advancedAssign","_customer$preferences15","isAssignedToAllFlag","assignToAll","setAssignToAll","CustomerNotification","_props","_generalSettingsData$21","_generalSettingsData$22","_generalSettingsData$23","_generalSettingsData$24","_generalSettingsData$25","_generalSettingsData$26","_generalSettingsData$27","_generalSettingsData$28","_generalSettingsData$29","_generalSettingsData$30","_generalSettingsData$31","_generalSettingsData$32","_generalSettingsData$33","_generalSettingsData$34","customerUpdate","setAdvancedAssign","dataAdd","_values$beforeDueDate","_values$afterDueDate","_values$afterDueDate2","_values$afterDueDate3","_values$afterDueDate4","setShow","_useCustomers","useCustomers","isLoadingCustomers","refetchCustomers","_GetallCustomerName","GetallCustomerName","allCustomerName","_useGetAllEmailTempla","EmailTemplateService","getAllEmailTemplates","useGetAllEmailTemplates","emailData","refetchEmailTemplates","ddOptions","setDDOptions","allCustomerNameArr","allCustomerTypes","customerTypes","allEmailTemplatesName","emailTemplateName","reloadTrigger","setReloadTrigger","updateTableData","click","assignATemplateToCustomer","useAssignATemplateToCustomer","templateToAllCustomersOfCustomertype","useAssignATemplateToAllCustomersOfCustomertype","selectedEmailTemplate","customer_id","counterPartyId","customerLevel","isOnSelectedDate","isOnSelectedDayOfWeek","weekdays","monthDate","outstanding","_cell$row$original$pr","Select","find","_cell$row$original2$p","selectedOption","actionMeta","action","styles","onExited","sourceEmailAddress","SearchSection","CustomerSearch","handleReminderDefaults","Checkbox","_disputUsers$users","disputUsers","setdisputUsers","assigntoUsers","setassigntoUsers","assignedusers","allusers","adduser","getassignuser","userres","userdata","user_name","user_id","userDelete","deleteflag","SelectWithVirtualized","v","BusinessService","getallbusiness","_args","addbusiness","TopButtonsSection","RadioButtonDiv","DisputeManagement","activeClass","setActiveClass","iseditableCustomerRowIndex","setEditableCustomerRowIndex","iseditableDisputRowIndex","setEditableDisputRowIndex","setTags","getApprovedUsers","setCustomerLoader","userAsignd","userAsigndFordisputType","_DisputCustomers","DisputCustomers","customertableData","customerTotalRowsCount","rowIndex","columnId","old","customerupdateData","customerRowClick","customercolumns","_props$row","_props$row$original","_props$row$original$d","_props$row2","_props$row2$original","_props$row2$original$","_props$row3","_props$row3$original","_props$row3$original$","approver_id","dispute_approvers","_props$row4","_props$row4$original","_props$row4$original$","disputLoader","setDisputLoader","disputdata","setdisputdata","disputBtnClick","disputcolumns","_props$row5","_props$row5$original","_props$row5$original$","_props$row6","_props$row6$original","_props$row6$original$","_props$row7","_props$row7$original","_props$row7$original$","_props$row8","_props$row8$original","_props$row8$original$","parent_business","filterDataBusiness","setFilterDataBusiness","initialPageBusiness","setinitialPageBusiness","_useAllbusiness","businessServices","useAllbusiness","businessdata","businessListdata","totalcount","userAsigndFrBusiness","BusinessDisputTypeAsignUserAdd","handlePageChangeBusiness","rowClickBusiness","iseditableBusinessRowIndex","setIseditableBusinessRowIndex","_props$row9","_props$row9$original","_props$row9$original$","_props$row10","_props$row10$original","_props$row10$original2","_props$row11","_props$row11$original","_props$row11$original2","disput_approvers","approverdata","_props$row12","_props$row12$original","_props$row12$original2","IndicatorsContainer","components","DropdownIndicator","multiple","clearable","_ref2$placeholder","isMulti","IndicatorSeparator","DashboardWrapper","_useGetTenantsForLogi","useGetTenantsForLogin","tenants","isloadingTenant","performAction","operationsService","testPoc","lastActivity","_props$row$original$p","_props$row$original2","_props$row$original2$","pocDetails","isAnalyticsEnabled","marginBotton","PerformanceTimeCard","_data$value","_data$value2","_data$value3","date2","value2","date3","value3","Footer","LeftBlock","RightBlock","PerformanceCard","StyledLoader","assign","_objectDestructuringEmpty","animation","variant","StyledParagraph","p","UserListingPerformance","_props$row$values","StyledInsightIcon","PerformanceInsightsCard","_data$trainerLastRun","_data$predictorLastRu","trainerLastRun","updatedAt","html","predictorLastRun","optimisedPayments","forcastedInvoices","invoices","ReportDownloadCard","_data$data","_data$data2","_data$data3","_data$data4","_data$data5","_data$data6","_data$data7","_data$data8","_data$data9","vendors","link","usersC","promise2pay","comments","disputes","disputeTypes","EventTable","Performance","_valueData$erpConnect","_valueData$dbstats","_valueData$dbstats2","param","useParams","_useGetTenantCustomer","useGetTenantCustomers","usersData","_useGetInsights","useGetInsights","isloadingInsights","valueData","_useGetDaily","useGetDaily","isloadingDaily","_useGetMetrics","useGetMetrics","metrics","isloadingMetric","_useGetReportData","useGetReportData","report","isloadingReport","logo","onboardedOn","category","autoEmailAddress","appStartDate","erpConnectionDetails","emailTemplateCount","bankConnectionCount","dbstats","fileSize","pow","md","rdailies","dtReceivables","endBalance","pdailies","dtPayables","netcashes","dtNetcash","amtCollections","amtNetcash","mlRunsT","mlRunsP","autoEmailAlerts","adhocEmailAlerts","payments","SurchargeHeader","DigitalPayments","isSurchangeEnable","setIsSurchargeEnable","useSurchargeStatus","UpdateSurchargeStatus","isSurcharge","handleToggle","surchargeRate","BillingAddress","validated","setValidated","setEdit","billingDetailsUpdate","city","zip","setFormData","handleChange","validateGivenName","validateFamilyName","validateAddress","validateCity","validateState","validateZip","validatePhone","givenNameValidationResult","familyNameValidationResult","addressValidationResult","cityValidationResult","stateValidationResult","zipValidationResult","phoneValidationResult","_dataset$address","_updatedata$data$isPa","updatedata","valid","isPaymentLinkEnable","replace","trimmedAddress","regex","backgroundImage","backgroundSize","backgroundRepeat","noValidate","xs","Group","controlId","Control","Text","stateObj","abbreviation","Button","ButtonGroup","TransactionFilter","invoiceno","setInvoiceno","setType","greaterno","setGreaterno","lessno","setLessno","setStartDate","setEndDate","focusedInputDue","setFocusedInputDue","transactionStatus","setTransactionStatus","maxLength","Type","TransactionStatus","DateRangePickerUI","handleDate","TransactionDate","focusedInput","setFocusedInput","transactionId","Transactions","_transactionData$data","pay","EnablePaymentLink","bucket","card","_GetAllTransaction","GetAllTransaction","transactionData","refetchData","transactiondata","transactions","totalRecords","handlePaymentReceiptDownload","CustomerId","doc","asPdf","blobdata","GetCustomerPdfreceiptData","PaymentReceipt","paymentData","pdf","updateContainer","toBlob","createElement","download","revokeObjectURL","_value$invoiceArray","invoiceArray","referenceNumber","TransactionTimeStamp","invoiceAmount","partialPay","partialPaymentDetails","originalAmount","TotalAmount","gap","surcharge","CustomerSidebar","CustomerNavbar","fontStyle","newFilterState","getallcustomersDetails","TableSection","updatedFilter","SuccessPage","SuccessPageContainer","PaymentSections","DiscoverySections","TextSections","LogoSections","SuccessPaymentPage","_receptData$data","_receptData$data2","_receptData$data3","_sanitizedAmount","_receptData$data4","_receptData$data5","_receptData$data6","_receptData$data7","_receptData$data8","_receptData$data9","_receptData$data10","_receptData$data11","_receptData$data12","_receptData$data13","_receptData$data14","_receptData$data15","_receptData$data16","timestamp","transactionType","parseInt","dataSet","receptData","handleDownload","sanitizedAmount","baseAmount","successImg","processingImg","pm","paidOn","partialPaid","balanceDue","surchargeAmount","surcharge_rate","simpliLogo","PaymentProcessing","RedirectPage","eventLogs","eventType","eventId","events","customerEmail","EventLogs","PaymentPage","newAmount","payment","setPayment","currency","userTokenId","setCustomer","edit","isPaid","setIsPaid","closeWindow","setCloseWindow","classicAch","setClassicAch","showModal","setShowModal","success","setSuccess","paymentPermission","setPaymentPermission","setCustomerEmail","editingRow","setEditingRow","editedAmount","setEditedAmount","loaderForPaymentChange","setLoaderForPaymentChange","changes","setChanges","debounceTimeout","getInvoiceDetails","saveTransaction","_CardTokenPaymentPage","saveCardToken","generateSessionToken","generateCheckSum","searchParams","URLSearchParams","invoiceId","script","async","appendChild","removeChild","checkAndHideLineContainers","elements","getElementsByClassName","elementUpm","element","creditToken","debitToken","observer","MutationObserver","mutationsList","mutation","observe","childList","subtree","intervalId","setInterval","disconnect","clearInterval","customerAndInvoiceData","_customerAndInvoiceDa","decrypt","uid","_customerAndInvoiceDa2","paymentOption","GetIpInfo","uuidv4","Surcharge","updatedAmount","handleClose","billingAddr","setBillingAddr","initialErrors","validateEmail","zipError","getCurrentDateTime","now","year","month","padZero","hours","getHours","minutes","getMinutes","seconds","getSeconds","number","partialAmountTotal","handleNuvei","clientRequestId","timeStamp","upo","decryptToken","getInvoiceStatus","checksumResponse","checksum","sessionTokenResponse","sessionToken","cardType","billingDetails","_formData$address","_formData$address2","_customerAndInvoiceDa3","dateSet","InvoiceArray","valueOf","transactionDetails","paidAmount","orginalAmount","userPaymentOptionId","eventData","_eventData","transactionInfo","transacionId","country","checkout","env","merchantId","merchantSiteId","cssUrl","showResponseMessage","renderTo","pmWhitelist","savePM","urlDetails","successUrl","pendingUrl","apmWindowType","prePayment","_prePayment","paymentDetails","_paymentDetails$payme","brand","onResult","_onResult","diclinedMsg","errorDescription","gwErrorReason","querySelector","innerText","onPaymentEvent","_onPaymentEvent","preventACHNewWindow","zIndex","ModalFooter","borderRight","maxHeight","overflowY","autoFocus","isNaN","updatedInvoiceDetails","handleSaveClick","currentAmount","achBankTransfer","credit","debit","borderTop","hasErrors","emailValidationResult","minLength","isInvalid","ReceivableTransactions","_UseTransactionList","UseTransactionList","actualServices","GetTenantPdfreceiptData","totalOriginalAmount","StyledDropDown","align","Dropdown","LoginPage","lazy","ForgotPasswordPage","CreateAccountPage","AccountVerificationPage","SetNewPasswordPage","SetNewPasswordCustomerPage","MfaScreen","EmailInvoiceDownloadPage","DashboardPage","CustomerDashboardPage","ConfirmPaymentCustomerDashboardPage","DashboardCustomisePage","NetCashPage","ForecastReceivablePage","ForecastPayablePage","ForecastCollectionPage","ScenarioPage","OrderInvoicesPage","OrderOverviewPage","ActualsReceivablesPage","ActualsCollectionsPage","ActualsPayablesPage","NonControllablePayablesPage","NonTradeReceivablePage","ConfirmPaymentPage","PaymentsHistoryPage","ProfilePage","CustomersListing","SuppliersListing","TearSheetPageCustomer","TearSheetPageSupplier","CustomerSingUpForm","NotificationsPage","OptimizationPage","ClientEmailTemplateCreation","ClientEmailTemplatesList","AdminLogin","OperationsDashboard","TenantList","CustomerList","SessionList","UserList","FeatureSwitches","GuestPayment","GuestSuccessPaymentPage","AppRoutes","isAuthenticated","isAdminAuthenticated","Router","Suspense","fallback","displayCard","Route","exact","path","TenantAnalytics","GeneralSettingsPage","CashClassificationPage","UserManagementPage","CustomerNotificationPage","DisputeManagementPage","SupplierPaymentPage","App","setUserdata","userNotConfirmed","setUserNotConfirmed","HighlightInsightsBulbs","setHighlightInsightsBulbs","setAccordionOpenState","QueryClient","setQuickbookImportInProgress","setAlerts","authToken","adminAuthToken","windowArray","startsWithAdmin","_response$data","_response$data2","adminString","setshowPopup","handleAutoLogout","loggedinstateinterval","lastActivityTime","currentTime","idleTime","_isQboAuthNeeded","_isQboAuthNeeded2","isQboAuthNeeded","authUri","QueryClientProvider","client","Provider","setUserUnconfirmed","SetBulbs","SetAccordion","GlobalFonts","Helmet","charSet","ReactQueryDevtools","initialIsOpen","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","StrictMode","getElementById","getCustomers","getDisputCustomers","useCustomersListing","getcustomerListing","getallCustomerName","getcustomerTrans","GetCustomerData","signUpData","EnablePaymentLinkData","PaymentMethods","paymentMethod","sortOnValue","customerID","useMediaQuery","FForm","ErrorMessage","ErrorMessageHighThreshold","ErrorMessageLowThreshold","InputWrapper","_useField","useField","_useField2","meta","_excluded2","_useField3","_useField4","infoIcon","ThresholdInputHigh","_excluded3","_useField5","_useField6","ThresholdInputLow","_excluded4","_useField7","_useField8","TextArea","_excluded5","_useField9","_useField10","cols","Field","component","useFormikContext","_useField13","CustomInput","DatePicker","customInput","autoComplete","wrapperClassName","StyledTimePicker","_useField15","_useField16","TimePicker","showSecond","use12Hours","clearIcon","inputIcon","StyleRadio","_excluded7","_useField17","_useField18","StyleRadioBlue","_excluded8","_useField19","_useField20","_excluded9","_useField21","_useField22","StyledPhoneInput","_useField23","_useField24","PhoneInput","defaultCountry","international","useEndCustomers","useGetUsers","Change","StyledPopover","StyledChange","PercentageChange","StyledChangeTotal","DownloadSection","ExportLogo","DropdownButton","Filters","StyledLinks","a","getAllEmailTemplatesUsingPageCountAndSkip","getFilteredRecords","postCreateACutomerTemplate","postUpdateACutomerTemplate","postDeleteACutomerTemplate","postAssignATemplateToCustomer","postAssignATemplateToAllCustomersOfCustomertype","useAllReceviables","ActualService","getallreceviables","useAllCustomers","getallcustomers","getLogCustomerData","CustomerCardDataPayables","getcustomercarddatapayables","useAllCollection","getallcollections","useAllPayables","getallpayables","useNonControllablePayables","getNonControllablePayableData","useNonTradeRecievables","getNonTradeRecievavleData","useGraphDataCollections","getgraphdatacollections","useGraphDataPayables","sid","getgraphdatapayables","useGraphDataReceviables","getgraphdatareceivables","useCardDataReceviables","getcarddatareceivables","useCardDataCollections","getcarddatacollections","useCardDataPayables","getcarddatapayables","useCardDataControllableNonControllable","getCardDataControllableNonControllable","Remindersdata","getreminders","UseAllDisputeType","getAalldisputeType","UseAllPayments","getallpayments","UseCardDataPayments","getcarddatapayments","UseCustomerDetails","getCustomerDetails","UseMerchantDetails","getMerchantDetails","UseSaveTransactionReceivable","saveTransactionReceivable","getCustomerTransaction","GenerateCheckSumReceivable","GenerateCheckSumReceivableData","GenerateSessionTokenReceivable","GenerateSessionTokenData","GetAllCustomerName","GetAllCustomer","toggle","GetcustomerDetails","GetAuthVerificationMethod","getDepartments","overflow","whiteSpace","textOverflow","Font","family","fonts","StyleSheet","container","header","image","invoiceText","receiptDetails","dynamicInvoiceNumbers","invoicetextmessage","lineSeparator","borderBottomColor","borderBottomWidth","marginVertical","endmessage","paidmessage","tenantFullName","invoice","sanitizedSurchargeAmount","sanitizedBaseAmount","Document","View","Image","isArray","join","baseStyles","css","textColor","patch","setIsLoading","isSuperUser","adminToken","Children","displayName","footer","_ref$allowedRoles","_ref$allowedPermissio","_ref$allowedOperation","_ref$onlyforthisrole","onlyforthisrole","userPermissions","StyledPage","EventEmitter","ProgressBar","StatusBar","Danger","Warning","visibility","setVisibility","setMessage","setCloseable","addListener","renderSwitch","ReminderSection","Section","HeadingText","SupplierReminder","nameFieldKey","_scrollRefs$current","conditionValue","setConditionValue","set","scrollRefs","scrollIntoView","behavior","supplierMap","Map","approvalRequired","conditions","reminder","isPerodicDaily","hrs","mins","isPerodicWeekly","approvalReminder","when","is","arrayHelpers","_values$conditions","condition","_values$conditions$in","_values$initialValues","previousValue","add","FilterSelect","_ipInfo","sessionId","ipInfo","platForm","browser","addEventDataSet","navigator","userAgentData","platform","brands","metaData","source","ip","device","responseLPromise","fetch","responseL","dataL","json","StyledDiv","StyledInput","useCreateACustomerTemplate","useUpdateACustomerTemplate","useDeleteACustomerTemplate","updateUserProfile","payloadTransformation","object","mkey","profileDetails","timeRangePreferences","customRangeValue","customrange","cashThreshold","ordersThreshold","receivablesThreshold","payablesThreshold","collectionsThreshold","_res$data","_res$data2","responseTransformation","transformedValues","createdAt","dashboardPreferences","__v","formRef","isEmailTemplateSelected","fetchData","beforeCheckvalue","setBeforeCheckvalue","beforeDueDatedays","setbeforeDueDatedays","onDueDateCheckvalue","setOnDueDateCheckvalue","isAfterDueDateCheckvalue","setIsAfterDueDateCheckvalue","isOnSelectedDateValue","setIsOnSelectedDateValue","isParentOnlyEnable","setIsParentOnlyEnable","isOnSelectedDayOfWeekValue","setIsOnSelectedDayOfWeekValue","afterDueDatedy","setafterDueDatedy","onSelectedDueDate","setOnSelectedDueDate","onSelectedDueDayOfWeek","setOnSelectedDueDayOfWeek","daysArray","reminderRowData","setreminderRowData","setChildren","apiCall","_res$data17","_res$data3","_res$data3$data","_res$data3$data$befor","_res$data4","_res$data4$data","_res$data4$data$befor","_res$data5","_res$data5$data","_res$data5$data$befor","_res$data6","_res$data6$data","_res$data7","_res$data7$data","_res$data7$data$after","_res$data8","_res$data8$data","_res$data8$data$after","_res$data9","_res$data9$data","_res$data9$data$after","_res$data10","_res$data10$data","_res$data10$data$cust","_res$data11","_res$data11$data","_res$data11$data$cust","_res$data12","_res$data12$data","_res$data12$data$cust","_res$data13","_res$data13$data","_res$data13$data$cust","_res$data14","_res$data14$data","_res$data14$data$cust","_res$data15","_res$data15$data","_res$data15$data$cust","_res$data16","_res$data16$data","_res$data18","_res$data19","toLocaleLowerCase","childrens","innerRef","updateSupplier","getCash","getOrders","getCollections","getReceivableForcast","getOrderForcast","getPayableForcast","getCashForcast","getDaysSalesOutstanding","getDaysPayablesOutstanding","getPaymentTermsPayables","getPaymentTermsReceivables","getTopCustomersHighestOutstanding","getTopCustomersHighestOrder","getTopSuppliersHighestOutstanding","getTopSuppliersHighestOrder","getReceivablesAging","getPayablesAging","getCollectionEffectiveness","_callee22","_context22","getPaymentProcessing","_callee23","_context23","useCash","useOrders","usePayables","useReceivables","useCollections","useReceivableForcast","useOrderForcast","usePayableForcast","useCashForcast","useDaysSalesOutstanding","useDaysPayablesOutstanding","usePaymentTermsPayables","usePaymentTermsReceivables","useTopCustomersHighestOutstanding","useTopCustomersHighestOrder","useTopSuppliersHighestOutstanding","useTopSuppliersHighestOrder","useReceivablesAging","usePayablesAging","useInsights","useCollectionEffectiveness","usePaymentProcessing","StyledDateRangePickerUI","DateRangePicker","startDateId","endDateId","onDatesChange","toDate","isOutsideRange","startDatePlaceholderText","endDatePlaceholderText","onFocusChange","displayFormat","showClearDates","customCloseIcon","customInputIcon","inputIconPosition","noBorder","StyleFilter","StyleBusinessFilter","useGetUserCashInBankSystem","startInvoiceDate","endInvoiceDate","startDueDate","endDueDate","bucketFilter","topCustomerLimit","forecast","receivableType","salesRepName","jobType","formatedCollectedStart","formatedCollectedEnd","deliveryCollectedDate","startCollectionDate","endCollectionDate","_args3","strategicsupplier","topSupplierLimit","payableType","expenseType","_args9","_filterData$txn_type","_args12","txn_type","disputstatus","getallcustomersCsv","_args14","_args15","updateReceivableData","updatePayableData","exportUrlReceivable","exportUrlPayable","_x20","exportUrlNonTradeControllables","greaterValue","lessValue","accountId","_x21","_x22","exportUrlCollection","formateddeliveryCollectedEndDate","formateddeliveryCollectedstartDate","_x23","exportUrlBarGraphReceivables","exportUrlBarGraphPayables","exportUrlBarGraphCollections","_filterData$transacti","_filterData$transacti2","formatedPaymentStart","formatedPaymentEnd","_args21","deliveryPaymentDate","startPaymentDate","endPaymentDate","transaction","_x24","_filterData$transacti3","_x25","getDownloadTransaction","_x26","exportUrlPayments","_callee24","_filterData$transacti4","_filterData$transacti5","_filterData$transacti6","_context24","_x27","getEditedData","_callee25","updatedData","_context25","updatedValue","_x28","_callee26","_context26","_x29","_callee27","_context27","_callee28","_context28","_x30","_ref29","_callee29","startTimestamp","endTimestamp","_context29","paidFor","_x31","_ref30","_callee30","_context30","_x32","_ref31","_callee31","_context31","_x33","_callee32","_context32","exportInvoice","_ref33","_callee33","_context33","_x34","GetPdfData","_ref34","_callee34","_context34","_x35","_x36","GetCustomerPdfData","_ref35","_callee35","_context35","_x37","_x38","_ref36","_callee36","_context36","_x39","_ref37","_callee37","_context37","_x40","CustomerService","averageDaysToPay","openInvoicesOnly","getCustomersListExport","downloadPdf","getSuppliers","supplierID","supplierapprovalsetting","getdiscount","GetBasedataWithoutId","CustomTooltip","_ref$left","multiline","effect","overridePosition","BSPopover","REACT_PUBLIC_URL","useSuppliersListing","suppliersService","getsuppliersListing","SuppliersService","getSuppliersListExport","StyledError"],"mappings":"iHAAA,yFAGaA,EAAa,WACxB,OAAOC,mBAAS,CAAC,YAAY,kBAAMC,aAAY,GAAE,CAC/CC,kBAAkB,EAClBC,UAAW,MAEf,EACaC,EAAW,WACtB,OAAOJ,mBAAS,CAAC,UAAU,kBAAMK,aAAU,GAAE,CAC3CH,kBAAkB,EAClBC,UAAW,MAEf,C,oCCde,wyM,oCCAA,wzM,obCCFG,EAAU,eAAAC,EAAAC,YAAAC,cAAAC,MAAG,SAAAC,EAAOC,EAAQC,GAAM,OAAAJ,cAAAK,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EAChCC,IAAMC,IAAI,UAADC,OAAWR,GAAUC,GAAQ,KAAD,SAAAE,EAAAM,OAAA,SAAAN,EAAAO,MAAA,wBAAAP,EAAAQ,OAAA,GAAAZ,EAAA,KACnD,gB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U,EAAYpU,IAAW4wB,wBACtBhxB,cAAC+S,EAAU,CAACd,UAAWA,SAI7BjS,cAACwS,EAAU,CAACtS,UAAU,gBAAeH,SACnCC,cAACoW,IAAe,CAAClW,UAAU,OAAOqD,QAtFpB,WACpB+Q,GAA4B,GAC5BH,GAAclC,EAChB,YAwFF,C,+FCpWMu1F,EAAcroG,IAAOsjE,EAACpjE,MAAAC,YAAA,iGAMb,SAASgG,EAAsBzL,GAAc,IAAXoL,EAAMpL,EAANoL,OAC/C,OAAItF,MAAMuvF,QAAQjqF,IAAWA,EAAOkE,OAAS,EACpClE,EAAOrF,KAAI,SAAC8G,GAAK,OAAK1G,cAACwnG,EAAW,CAAAznG,SAAE2G,GAAoB,IACnD1G,cAACwnG,EAAW,CAAAznG,SAAEkF,GAC9B,C","file":"static/js/main.36a12aaa.chunk.js","sourcesContent":["import { getProfile, getRoles } from \"services/userProfile.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useProfile = () => {\n return useQuery([\"profile\"], () => getProfile(), {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};\nexport const useRoles = () => {\n return useQuery([\"roles\"], () => getRoles(), {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGNGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDIgNzkuYTZhNjM5NiwgMjAyNC8wMy8xMi0wNzo0ODoyMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzI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mF4qBvz1Tfw4OaOxTHwmbLidsvpoipVJFVusYdQfhK4Tj6ibL83W61+0w3skE6S1DXs4O+FKgsiZqIIuXH9CdeDOMYO4RNlUl4GKvDw/ozwFmE8pmUlwElGU2Rl55/XCmBzobnDEwDANlOUjbQUqB8hVCehqQEfQoISBoAACQAmUYqBCEZeJbJv5QAGN4EL8NjL6d5JCYs06WRspCDVlaQNZsZKWGEQyLpe0gXa8BwVdXLo5IoaEEOSlCEDlLD7FzFv7IoG62WsD4gp510qzgNCDbIQtQqSFtFxZqyIU6slpHzFcxPB9RrWswno8IoXhNy62G0YARZgHCjMDQgJ5nDGY1DCtzuQ/DMqnzhT8NqFnBeVm2ozfuNEeL4yJCMK6HqNkaSLju7TR9l8O0eZhNzln4Yc5sMItvBlmCMCoALJM50vOyWqjpRDnb0RnipWAcF+F4GkYIovmBhHClz8zo16bRmHm3ADFPeqJcF2o6c9F29Cw9BGMveV6q1aM6Ydrj8npGkF1uAqHPW0zPXLwKBaeS1mzyUujVR7sDjFBNMBSAr6jmLCqkp5JeQzWd21utkxUCUwgyouncXgWeUrhK4QxkqZOe25tqJUqPGk+YUiAJUwokYUqBJEwpkIQpBZIwpUASphRIwpQCSZhSIAlTCiRhSoEkTCmQhCkFkjClQBKmFEjClAJJmFIgCVMKJGFKgSRM/wdlIj3+JDBpGAAAAABJRU5ErkJggg==\"","import axios from \"utils/APIv2\";\nexport const updateUser = async (userID, values) => {\n return await axios.put(`/users/${userID}`, values);\n};\n\nexport const getUser = async (userID) => {\n const res = await axios.get(`/users/${userID}`);\n return res.data;\n};\n\nexport const getUsers = async (page, filterData) => {\n const params = {\n departments: \"true\",\n page: page,\n limit: \"10\",\n name: filterData.username,\n status: filterData.statusArray,\n role: filterData.roleArray,\n business: filterData.businessArray,\n sortOrder: filterData.sortOrder,\n sortOn: filterData.sortOn,\n };\n const res = await axios.get(`/users`, { params: params });\n return res.data;\n};\n\nexport const addUser = async (User) => {\n return await axios.post(`/users`, User);\n};\nexport const importCSV = (file) => {\n return axios.post(`/users/import`, file);\n};\nexport const downloadSampleImportFile = () => {\n return `https://simplicapital-p2-bucket.s3.amazonaws.com/user_import_sample.csv`;\n};\n\nexport const getUserIntegrations = async () => {\n return await axios.get(\"/integrations\");\n};\n\nexport const getCustomerDetailsforSingup = async (data) => {\n return await axios.post(\"/findCustomer\", data);\n};\n\nexport const updateMfa = async (body) => {\n return await axios.post(\"/updateMfa\", body);\n};\nexport const getAuthVerificationMethod = async()=>{\n return await axios.get('/register/auth-config')\n}\nexport const getVerificationMethod = async()=>{\n return await axios.get('/verfication-method')\n}\n","import { createContext } from \"react\";\nexport const UIContext = createContext({\n // onBoarding: false,\n // setOnBoarding: () => {},\n});\n","export default __webpack_public_path__ + \"static/media/Image54.821e0dde.svg\";","import React, { useEffect, useState, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { OverlayTrigger } from \"react-bootstrap\";\nimport { BellIcon, IconFlag } from \"assets/icons.js\";\nimport { withRouter, useHistory, Link } from \"react-router-dom\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Popover } from \"ui/Popover\";\n\nconst NotificationDiv = styled.div`\n display: flex;\n border-bottom: 2px solid #707070;\n padding: 10px;\n .notifications-text {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n color: #909090;\n display: inline-block;\n }\n .flag {\n margin: 5px;\n }\n`;\nconst Iconbackground = styled.div`\n height: 40px;\n width: 40px;\n background: #ffffff;\n box-shadow: 0px 3px 26px #00000017;\n border: 3px solid #5b5d6e;\n border-radius: 40px;\n display: inline-block;\n text-align: center;\n margin-right: 10px;\n svg {\n font-size: 1.3em;\n margin-top: 8px;\n }\n .notification-icon {\n path {\n fill: #343540;\n }\n }\n`;\nconst Notificationspopover = (\n \n \n {[...Array(3)].map((i) => (\n \n
\n \n
\n
\n \n Dispute 232323 raised by Ramesh with category Dispute Category\n on IN 2323232\n \n 20 min ago \n
\n
\n ))}\n \n View All\n \n
\n
\n);\nexport default function NotificationDropdown() {\n \n return (\n <>\n \n \n \n \n \n \n );\n}\n","import React, { useState, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport {\n RefreshIcon,\n BellIcon,\n LogoutIcon,\n IconFlag,\n SortIcon,\n} from \"assets/icons.js\";\nimport SampleLogo from \"assets/Image54.svg\";\nimport SampleLogomain from \"assets/logo.png\";\nimport SampleImage from \"assets/placeholder-image.png\";\nimport { withRouter, useHistory, Link } from \"react-router-dom\";\nimport { Auth } from \"aws-amplify\";\nimport { Form, Input, Formik } from \"ui/forms\";\nimport { UserContext } from \"context/UserContext\";\nimport { BasicButton } from \"ui/Buttons\";\nimport Notifications from \"ui/Notifications\";\nimport * as Yup from \"yup\";\nimport { applicationDate } from \"utils/application-date\";\nimport moment from \"moment\";\nimport { OverlayTrigger } from \"react-bootstrap\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Popover } from \"ui/Popover\";\nimport jwt_decode from \"jwt-decode\";\nimport { LoginCustomerData, loginCustomerData } from \"queries/actuals\";\nimport { useEffect } from \"react\";\nimport { useRef } from \"react\";\n\nconst StyledNavBar = styled.nav`\n position: relative;\n width: 100%;\n background-color: #3a3b48;\n color: #ffffff;\n text-align: left;\n height: auto;\n overflow: auto;\n padding: 12px;\n margin: 15px 0;\n border-radius: 10px;\n li {\n text-decoration: none;\n list-style: none;\n float: right;\n font-size: 14px;\n }\n .refresh {\n display: flex;\n align-items: center;\n font-size: 15px;\n line-height: 20px;\n font-family: Montserrat Alternates-Medium;\n }\n .profile-image {\n border-radius: 50%;\n height: 38px;\n width: 38px;\n margin-right: 15px;\n }\n .greetings {\n font-size: 18px;\n float: left;\n line-height: 22px;\n font-family: Montserrat Alternates-semiBold;\n }\n .logo-image {\n margin: 5px;\n height: 30px;\n }\n .accounts-data {\n border-left: 1px solid #707070;\n padding: 5px;\n }\n`;\n\nconst StyledRefreshIcon = styled.div`\n display: inline-block;\n margin: 0px 18px 0px 12px;\n`;\n\nconst NotificationDiv = styled.div`\n display: flex;\n border-bottom: 2px solid #707070;\n padding: 10px;\n .notifications-text {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n color: #909090;\n display: inline-block;\n }\n .flag {\n margin: 5px;\n }\n`;\nconst ProfileDetails = styled.div`\n padding: 20px 15px;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n cursor: pointer;\n color: #909090;\n .reset-password {\n font-family: Montserrat Alternates-Bold;\n font-size: 11px;\n line-height: 20px;\n color: #33c2df;\n }\n input {\n border-radius: 0px !important;\n background: #232631 !important ;\n height: 25px !important;\n }\n`;\nconst ResetPassword = styled.div``;\nconst StyledRadio = styled.div`\n img {\n height: 30px;\n margin: 20px 10px;\n }\n input[type=\"radio\"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n border-radius: 50%;\n width: 16px;\n height: 16px;\n background-color: transparent;\n background-clip: content-box;\n padding: 4px;\n border: 2px solid #ffffff;\n &:checked {\n border: 4px solid #4edaf7;\n background-color: white;\n padding: 0px;\n\n &:after {\n background-color: white;\n }\n }\n }\n`;\nconst LogoutDiv = styled.div`\n font-family: Montserrat Alternates-semiBold;\n font-size: 14px;\n line-height: 20px;\n cursor: pointer;\n color: #909090;\n width: 100%;\n\n svg {\n margin-right: 10px;\n path {\n fill: white;\n stroke: white;\n }\n }\n`;\n\nconst Notificationpopover = (\n \n \n {[...Array(3)].map((i) => (\n \n
\n \n
\n
\n \n Dispute 232323 raised by Ramesh with category Dispute Category on\n IN 2323232\n \n 20 min ago \n
\n
\n ))}\n \n View All\n \n
\n
\n);\n\nconst NotificationDropdown = () => {\n return (\n <>\n \n {/* */}\n \n {/* */}\n \n \n );\n};\n\nconst ProfileDetailspopover = (onLogout, onLogoutSuperUser) => {\n let tokenData = sessionStorage.getItem(\"userToken\");\n let history = useHistory();\n let decodedData = jwt_decode(tokenData);\n const [showResetPassword, setShowResetPassword] = useState(false);\n const [Errors, setErrors] = useState(\"\");\n const value = useContext(UserContext);\n\n let logData = useRef({});\n\n let userId = decodedData.username;\n const { data: cardData, isLoading: iscardloading } = LoginCustomerData({\n userId,\n });\n // console.log(\"data---->\",cardData)\n logData.current = cardData ? cardData.data : {};\n\n // useEffect(() => {\n // if (cardData) {\n // if (\n // (cardData && !cardData?.data.billingAddress) ||\n // Object.keys(cardData.data.billingAddress).length <= 0\n // ) {\n // history.push(Route_URLs.billingAddress);\n // }\n // }\n // }, [cardData]);\n\n return (\n \n \n \n

\n {logData.current?.givenName?.concat(\n \" \",\n logData.current.familyName\n )}\n

\n

{logData.current.email}

\n

\n If you’ve lost your password or wish to reset it use the link below\n to get started\n

\n setShowResetPassword(!showResetPassword)}\n className=\"reset-password\"\n >\n Reset Password\n

\n {showResetPassword ? (\n \n {\n // console.log(values);\n setSubmitting(true);\n Auth.currentAuthenticatedUser()\n .then((customer) => {\n return Auth.changePassword(\n customer,\n values.oldPassword,\n values.newPassword\n );\n })\n .then((data) => {\n // console.log(\"success\", data);\n setShowResetPassword(!showResetPassword);\n window.flash(\n \"open\",\n \"primary\",\n \"Password successfully changed !\"\n );\n setTimeout(() => {\n window.flash(\"close\", \"primary\");\n }, 60000);\n })\n .catch((err) => {\n // console.log(\"error\", err);\n //setErrors(err.message);\n setShowResetPassword(!showResetPassword);\n });\n }}\n >\n {({ values, errors, touched, handleSubmit, isSubmitting }) => (\n
\n \n \n \n \n {\n // console.log(\"clicked reset-pass\");\n handleSubmit();\n }}\n //disabled={!(isValid && dirty)}\n >\n Reset Password\n \n \n )}\n \n
\n ) : (\n <>\n {sessionStorage.getItem(\"isSuperUser\") == \"true\" ? (\n \n \n Logout As Customer\n \n ) : (\n \n \n Logout\n \n )}\n \n )}\n
\n
\n
\n );\n};\nconst ProfileDetailsDropdown = () => {\n const userContext = useContext(UserContext);\n\n const onLogout = async () => {\n try {\n await Auth.signOut();\n userContext.setUser(null);\n sessionStorage.clear();\n localStorage.clear();\n window.location.pathname = \"/\";\n } catch (error) {\n console.error(\"error signing out: \", error);\n }\n };\n\n const onLogoutSuperUser = async () => {\n try {\n userContext.setUser(null);\n // localStorage.clear();\n // sessionStorage.clear();\n sessionStorage.removeItem(\"collapsed\");\n sessionStorage.removeItem(\"tenantName\");\n sessionStorage.removeItem(\"userToken\");\n sessionStorage.removeItem(\"username\");\n sessionStorage.removeItem(\"email\");\n sessionStorage.removeItem(\"client_id\");\n sessionStorage.removeItem(\"tokendata\");\n window.location.pathname = \"/admin/login/customers\";\n } catch (error) {\n console.error(\"error signing out: \", error);\n }\n };\n\n const addDefaultSrc = (ev) => {\n ev.target.src = SampleImage;\n };\n return (\n <>\n \n \n \n \n );\n};\n\nconst Logopopover = (\n \n \n \n \n \"logo\"\n \n \n \n \"logo\"\n \n \n \n);\nconst LogoDropdown = (dataset) => {\n return (\n <>\n {/* \n
\n \"logo\"\n \n
\n */}\n\n
\n \n {/* */}\n
\n \n );\n};\nconst Navbar = ({ name }) => {\n let tokenData = sessionStorage.getItem(\"userToken\");\n let history = useHistory();\n let decodedData = jwt_decode(tokenData);\n const userContext = useContext(UserContext);\n\n let userId = decodedData.username;\n const { data: cardData, isLoading: iscardloading } = LoginCustomerData({\n userId,\n });\n\n return (\n \n
  • \n {cardData && }\n
  • \n
  • \n \n {/* Last refreshed on {moment(applicationDate).format(\"MM/DD/YYYY\")} */}\n Last refreshed on {moment().format(\"MM/DD/YYYY\")}\n \n {/* */}\n {/* // */}\n \n
  • \n
    \n );\n};\nexport default withRouter(Navbar);\n","import React, { useContext, useState } from \"react\";\nimport styled from \"styled-components\";\nimport Page from \"ui/Page\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useHistory } from \"react-router-dom\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport { Form, InputwithLabel, Formik, RadioBlue } from \"ui/forms\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { useAccordionButton } from \"react-bootstrap/AccordionButton\";\nimport Card from \"react-bootstrap/Card\";\nimport AccordionContext from \"react-bootstrap/AccordionContext\";\nimport {useAdddiscounttosuppliers} from \"mutations/adddiscount\";\nimport { useProfile } from \"queries/profile\";\nimport { useEffect } from \"react\";\nimport { useRef } from \"react\";\nimport Checkbox from \"ui/Checkbox\";\nimport * as Yup from \"yup\";\nconst Link = styled.div`\n cursor: pointer;\n margin-top: 30px;\n display: flex;\n .icon {\n path {\n fill: #909090;\n }\n }\n`;\n\nconst Text = styled.div`\n text-align: left;\n font-family: Montserrat Alternates-bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #ffffff;\n opacity: 1;\n font-weight: bold;\n margin-top: 37px;\n`;\nconst Title = styled.span`\n text-align: left;\n font-family: Montserrat Alternates-bold;\n font-size: 16px;\n line-height: 19px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n`;\nconst RadioButtonDiv = styled.div`\n .form-field {\n margin-top: 0px;\n }\n margin-top: 10px;\n margin-left: 20px;\n width: 70%;\n`;\nconst StyledAccordion = styled(Accordion)`\n .card {\n background-color: #262734;\n margin-bottom: 8px;\n }\n .card-header {\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #ffffff;\n background: #262734;\n height: 45px;\n border-bottom:0px;\n\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n border: 1px solid #707070;\n display: inline-block;\n width: 14px;\n height: 14px;@\n border-radius: 5px;\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: transparent;\n position: absolute;\n top: -65%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -65%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n }\n .card-body {\n background: #262734;\n label {\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 12px;\n line-height: 25px;\n color: #808186;\n opacity: 1;\n margin-bottom: 0px;\n font-weight: 600;\n }\n }\n`;\nconst RadioDiv = styled.div`\n padding-top: 8px;\n display: flex;\n`;\n\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input {\n background: transparent 0% 0% no-repeat padding-box !important;\n color: #808186 !important;\n }\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n background: transparent 0% 0% no-repeat padding-box;\n &:after {\n color: transparent;\n }\n &:checked {\n &:after {\n color: #33c2df;\n }\n }\n }\n`;\n\nfunction CustomToggle({\n children,\n eventKey,\n callback,\n setFieldValue,\n addeddiscountData,\n defaultActiveKey,\n}) {\n let { activeEventKey } = useContext(AccordionContext);\n const decoratedOnClick = useAccordionButton(eventKey, () => {\n callback && callback(eventKey);\n if (eventKey === \"0\") {\n addeddiscountData.hvd = 1 - addeddiscountData.hvd;\n if (\n document.querySelectorAll(\".accordion-collapse\") !== null &&\n document.querySelector(\".accordion-collapse\") !== null\n )\n document.querySelector(\".accordion-collapse\").classList.remove(\"show\");\n }\n if (eventKey === \"1\") {\n addeddiscountData.lpp = 1 - addeddiscountData.lpp;\n if (\n document.querySelectorAll(\".accordion-collapse\") !== null &&\n document.querySelectorAll(\".accordion-collapse\")[1] !== null\n )\n document\n .querySelectorAll(\".accordion-collapse\")[1]\n .classList.toggle(\"show\");\n\n // if ()\n }\n if (eventKey === \"2\") {\n addeddiscountData.epd = 1 - addeddiscountData.epd;\n }\n\n if (addeddiscountData && addeddiscountData.hvd && eventKey == \"0\") {\n if (Array.isArray(activeEventKey)) {\n if (activeEventKey.includes(eventKey)) activeEventKey.push(\"0\");\n else activeEventKey.splice(activeEventKey.indexOf(eventKey), 1);\n } else activeEventKey = 0;\n }\n if (addeddiscountData && addeddiscountData.lpp && eventKey == \"1\") {\n if (Array.isArray(activeEventKey)) {\n if (activeEventKey.includes(eventKey)) activeEventKey.push(\"1\");\n else activeEventKey.splice(activeEventKey.indexOf(eventKey), 1);\n } else activeEventKey = 1;\n }\n if (addeddiscountData && addeddiscountData.epd && eventKey == \"2\") {\n // activeEventKey = '2'\n if (Array.isArray(activeEventKey)) {\n if (activeEventKey.includes(eventKey)) activeEventKey.push(\"2\");\n else activeEventKey.splice(activeEventKey.indexOf(eventKey), 1);\n } else activeEventKey = 2;\n }\n if (Array.isArray(activeEventKey))\n activeEventKey = [...new Set(activeEventKey)];\n });\n useEffect(() => {}, [eventKey]);\n\n if (defaultActiveKey !== undefined) {\n }\n\n return (\n <>\n \n {children}\n \n );\n}\n\nexport default function SupplierDiscount({\n show,\n onHide,\n supplierId,\n userId,\n addeddiscountData,\n}) {\n const adddiscounttosuppliers = useAdddiscounttosuppliers();\n let [defaultActiveKeyVal, setdefaultActiveKey] = useState([]);\n let [disable, setdisable] = useState(false);\n let selectedaccordion = useRef([]);\n\n useEffect(() => {\n \n if (addeddiscountData?.hvd === 1) {\n setdefaultActiveKey(defaultActiveKeyVal.push(\"0\"));\n let tempval = selectedaccordion.current;\n if (tempval.length > 0) selectedaccordion.current = tempval.push(\"0\");\n else selectedaccordion.current = [\"0\"];\n \n }\n\n if (addeddiscountData?.lpp === 1) {\n setdefaultActiveKey(defaultActiveKeyVal.push(\"1\"));\n let tempval = selectedaccordion.current;\n tempval.push(\"1\");\n selectedaccordion.current = tempval;\n\n \n }\n\n if (addeddiscountData?.epd === 1) {\n setdefaultActiveKey(defaultActiveKeyVal.push(\"2\"));\n let tempval = selectedaccordion.current;\n tempval.push(\"2\");\n selectedaccordion.current = tempval;\n\n \n }\n setdefaultActiveKey([...new Set(defaultActiveKeyVal)]);\n \n\n return () => {\n\n };\n }, []);\n\n\n\n return (\n \n \n {\n // return\n values = { ...values, supplier_id: supplierId, vendor_id: userId };\n if (values.hvd) {\n if (!values.order_type) {\n setErrors({ order_type: \"Order Quantity is required\" });\n // setSubmitting(false)\n return;\n }\n if (!values.order_value) {\n setErrors({ order_value: \"Order Value is required\" });\n return;\n }\n if (!values.discount_type) {\n setErrors({ discount_type: \"Select Discount is required\" });\n return;\n }\n if (!values.discount_value) {\n setErrors({ discount_value: \"Discount Value is required\" });\n return;\n }\n // if (!values.discount_type) {\n // setErrors({ discount_type: \"Select Discount is required\" })\n // }\n // if (!values.discount_type) {\n // setErrors({ discount_type: \"Select Discount is required\" })\n // }\n // if (!values.discount_type) {\n // setErrors({ discount_type: \"Select Discount is required\" })\n // }\n // return\n }\n\n if (values.lpp) {\n if (!values.late_payment_type) {\n setErrors({\n late_payment_type: \"Late Payment Type days is required\",\n });\n return;\n }\n if (!values.lp_penalty_days) {\n setErrors({ lp_penalty_days: \"penalty days is required\" });\n return;\n }\n if (!values.lp_penalty_amt) {\n setErrors({ lp_penalty_amt: \"penalty amount is required\" });\n return;\n }\n }\n\n if (values.epd) {\n if (!values.early_payment_discount_type) {\n setErrors({\n early_payment_discount_type:\n \"Early payment type start is required\",\n });\n return;\n }\n if (!values.early_payment_discount_type2) {\n setErrors({\n early_payment_discount_type2:\n \"Early payment discount type is required\",\n });\n return;\n }\n\n if (!values.early_payment_discount_val) {\n setErrors({\n early_payment_discount_val:\n \"Early payment discount value is required\",\n });\n return;\n }\n }\n\n // if (values.discount_type)\n // values.discount_type = parseInt(values.discount_type);\n // if (values.order_type)\n // values.order_type = parseInt(values.order_type);\n // if (values.late_payment_type)\n // values.late_payment_type = parseInt(values.late_payment_type);\n // if (values.lp_discount_type)\n // values.lp_discount_type = parseInt(values.lp_discount_type);\n // if (values.early_payment_discount_type)\n // values.early_payment_discount_type = parseInt(\n // values.early_payment_discount_type\n // );\n // if (values.early_payment_discount_type2)\n // values.early_payment_discount_type2 = parseInt(\n // values.early_payment_discount_type2\n // );\n\n if (addeddiscountData && addeddiscountData._id) {\n values = { ...values, _id: addeddiscountData._id };\n }\n\n if (values.hvd == 0) {\n delete values.order_value;\n delete values.order_type;\n delete values.discount_type;\n delete values.discount_value;\n }\n\n if (values.lpp == 0) {\n delete values.late_charge_increase_days;\n delete values.late_charge_increase_amt;\n delete values.late_payment_type;\n delete values.lp_penalty_type;\n delete values.lp_penalty_amt;\n delete values.lp_penalty_days;\n }\n\n if(values.late_payment_type == 1){\n delete values.late_charge_increase_amt;\n delete values.late_charge_increase_days\n }\n\n if (values.epd == 0) {\n delete values.early_payment_discount_deccrease_day;\n delete values.early_payment_discount_deccrease_percent;\n delete values.early_payment_discount_start;\n delete values.early_payment_discount_type;\n delete values.early_payment_discount_type2;\n delete values.early_payment_discount_val;\n }\n if(values.early_payment_discount_type == 1){\n delete values.early_payment_discount_deccrease_day;\n delete values.early_payment_discount_deccrease_percent\n }\n\n setSubmitting(true);\n adddiscounttosuppliers\n .mutateAsync({ values })\n .then((note) => {\n onHide();\n })\n .catch(function (error) {});\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n }) => (\n
    \n \n \n \n
    \n {\n if (e.target.checked === true)\n setFieldValue(\"hvd\", 1);\n else {\n setFieldValue(\"hvd\", 0);\n }\n }}\n />\n High Volume Discount{\" \"}\n
    \n
    \n\n {values.hvd === 1 && (\n
    \n \n \n \n \n \n \n \n\n {values.order_type == 1 ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n {values.discount_type == 1 ? (\n \n ) : (\n \n )}\n \n \n \n
    \n )}\n
    \n\n \n \n
    \n {\n if (e.target.checked === true)\n setFieldValue(\"lpp\", 1);\n else {\n setFieldValue(\"lpp\", 0);\n }\n }}\n />\n {\" \"} Late Payment Penalties\n
    \n
    \n {values.lpp === 1 && (\n
    \n \n \n \n \n \n \n\n {values.late_payment_type == 1 && (\n \n \n \n \n \n \n \n {values.lp_penalty_type == 1 ? (\n \n ) : (\n \n )}\n
    \n\n
    \n \n \n
    \n \n {errors.lp_penalty_amt ? (\n
    \n

    \n {errors.lp_penalty_amt}\n

    \n
    \n ) : null}\n {errors.lp_penalty_days ? (\n
    \n

    \n {errors.lp_penalty_days}\n

    \n
    \n ) : null}\n \n )}\n\n {values.late_payment_type == 2 && (\n <>\n \n \n \n \n \n \n \n {values.lp_penalty_type == 1 ? (\n \n ) : (\n \n )}\n \n\n
    \n \n \n
    \n \n {errors.lp_penalty_amt ? (\n
    \n

    \n {errors.lp_penalty_amt}\n

    \n
    \n ) : null}\n {errors.lp_penalty_days ? (\n
    \n

    \n {errors.lp_penalty_days}\n

    \n
    \n ) : null}\n
    \n \n \n \n Late charge increases every\n \n \n \n days by {\" \"}\n \n \n \n \n \n )}\n \n \n )}\n
    \n\n \n \n {/* */}\n\n
    \n {/* setFieldValue('hvdppp', e.target.value)} /> */}\n {\n if (e.target.checked === true)\n setFieldValue(\"epd\", 1);\n else {\n setFieldValue(\"epd\", 0);\n }\n }}\n />\n {\" \"} Early Payment Discount\n
    \n {/*
    */}\n
    \n {/* */}\n\n {values.epd === 1 && (\n
    \n \n \n \n \n \n \n {values.early_payment_discount_type == 1 && (\n <>\n \n \n \n \n \n \n {values.early_payment_discount_type2 == 1 ? (\n \n ) : (\n \n )}\n \n \n\n \n \n \n Discount Starts\n \n \n \n Days before due date\n \n \n \n \n )}\n {values.early_payment_discount_type == 2 && (\n <>\n <>\n \n \n \n \n \n \n {values.early_payment_discount_type2 == 1 ? (\n \n ) : (\n \n )}\n \n \n {errors.early_payment_discount_val ? (\n
    \n

    \n {errors.early_payment_discount_val}\n

    \n
    \n ) : null}\n \n \n \n Discount decrease every\n \n \n\n \n days by\n \n \n \n \n\n \n \n \n Discount Starts\n \n \n \n Days before due date\n \n \n \n \n \n )}\n
    \n
    \n )}\n
    \n
    \n \n \n \n Save\n \n \n \n
    \n )}\n \n
    \n
    \n );\n}\n","import { Modal,StyledModal } from \"ui/Modal\";\nimport SupplierDiscount from \"./SupplierDiscount\";\nimport { useProfile } from \"queries/profile\";\nimport ModalDialog from \"react-bootstrap/ModalDialog\";\nimport Draggable from \"react-draggable\";\n\n\nconst DraggableModalDialog = props => {\n return (\n \n \n \n );\n};\n\nexport default function SupplierDiscountModal({ show, onHide ,currentSelectedSupplier,addeddiscountData}) {\n const { data: userData, isLoading } = useProfile();\nconst userRole = userData?.role;\nconst userPermissions = userData?.permissions;\nconst userId = userData?._id;\n const supplierId = currentSelectedSupplier?.supplierId;\n return (\n \n \n \n
    \n\n \n

    Add Discount Programs For : {currentSelectedSupplier?.supplier_name}

    \n
    \n
    \n \n \n \n
    \n \n
    \n );\n}\n","\nexport const forFutureRelease = process.env.REACT_APP_FUTURE_CODE === \"true\"\n? process.env.REACT_APP_FUTURE_CODE\n: false;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport Multiselect from \"multiselect-react-dropdown\";\nimport ReactMultiSelectCheckboxes from \"react-multiselect-checkboxes\";\nimport { useQuery, useQueryClient } from \"react-query\";\nimport axios from \"axios\";\nimport { values } from \"lodash\";\nimport { useDepartments } from \"queries/departments\";\n\nconst StyledSelect = styled.div`\n .react-select-container .react-select__menu-list {\n max-height: 150px;\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .react-select-container {\n position: absolute;\n background: #232631;\n border: 1px solid #707070;\n z-index: 99;\n color: #ffffff69;\n }\n .react-select-container .react-select__control {\n height: 25px;\n border: 1px solid #707070;\n background: #232631;\n color: #ffffff69;\n outline: none;\n box-shadow: none;\n font-size: 10px;\n line-height: 13px;\n &:hover {\n outline: none;\n box-shadow: none;\n }\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n .css-1g6gooi {\n color: #ffffff69;\n }\n .react-select-container .react-select__menu {\n background: #232631;\n }\n .react-select-container .react-select__control--menu-is-open {\n background: #232631;\n }\n button {\n width: 240px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n }\n .react-select-container .react-select__option {\n background: #232631;\n font-size: 10px;\n line-height: 13px;\n color: #ffffff69;\n display: flex;\n align-items: center;\n padding-top:2px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #232631;\n border: 1px solid #707070;\n display: inline-block;\n width: 14px;\n height: 14px;\n\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: #232631;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\n// const getDepartments = async () => {\n// const res = await axios.get(\n// `https://dev2-api.simplicapital.ai/api/departments`,\n// {\n// headers: {\n// organisation: \"kilowott\",\n// },\n// }\n// );\n// return res.data;\n// };\nfunction SelectWithCheckbox({ handleBusiness, childFunc,placeholder=\"Business (Search and select)\" }) {\n const [value, setValue] = useState(null);\n const queryClient = useQueryClient();\n\n // const { data: departments, isLoading } = useQuery(\n // \"departments\",\n // getDepartments\n // );\n const { data: departments, isLoading } = useDepartments();\n \n useEffect(() => {\n if (childFunc) {\n childFunc.current = handleClear;\n }\n }, []);\n\n const setDepartmentData = (obj) => {\n let result = Object.keys(obj).map((key) => obj[key].value);\n handleBusiness(result);\n setValue(obj);\n };\n const handleClear = () => {\n setValue([]);\n };\n // const object = departments.map((department) => ({\n // label: department.fullyQualifiedName,\n // value: department.id,\n // }));\n\n const reformattedArray = departments?.map(({ fullyQualifiedName, id }) => ({\n label: fullyQualifiedName,\n value: id,\n }));\n\n const options = [\n { label: \"Thing 1\", value: 1 },\n { label: \"Thing 2\", value: 2 },\n { label: \"Thing 3\", value: 3 },\n { label: \"Thing 4\", value: 4 },\n { label: \"Thing 5\", value: 5 },\n { label: \"Thing 6\", value: 6 },\n { label: \"Thing 7\", value: 7 },\n { label: \"Thing 8\", value: 8 },\n { label: \"Thing 9\", value: 9 },\n { label: \"Thing 10\", value: 10 },\n { label: \"Thing 11\", value: 11 },\n { label: \"Thing 12\", value: 12 },\n ];\n\n return (\n <>\n \n setDepartmentData(value)}\n isClearable={true}\n />\n \n \n );\n}\nexport default SelectWithCheckbox;\n","import axios from \"utils/APIv2\";\n\nexport const arForecastModelTrigger = async () => {\n return await axios.post(`/model-trigger/AR-Forecast`);\n};\nexport const getForecastDate = async () => {\n const res = await axios.get(`/app`);\n return res.data;\n};\n","import React, { useContext, useState } from \"react\";\nimport styled from \"styled-components\";\nimport {\n RefreshIcon,\n ProfileIcon,\n BellIcon,\n LogoutIcon,\n IconGraph,\n IconFlag,\n} from \"assets/icons.js\";\nimport SampleLogo from \"assets/logo-placeholder.jpg\";\nimport SampleImage from \"assets/placeholder-image.png\";\nimport { withRouter, Link } from \"react-router-dom\";\nimport { UserContext } from \"context/UserContext\";\nimport { applicationDate } from \"utils/application-date\";\nimport moment from \"moment\";\nimport { OverlayTrigger } from \"react-bootstrap\";\nimport { Auth } from \"aws-amplify\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { arForecastModelTrigger } from \"services/app.services\";\nimport { useUser } from \"queries/user\";\nimport { useProfile } from \"queries/profile\";\nimport { useForecastDate } from \"queries/app\";\nimport { UIContext } from \"context/UIContext\";\nimport { QuickBookConnectionContext } from \"context/QuickBookConnectionContext\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Popover } from \"ui/Popover\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport Spinner from \"react-bootstrap/Spinner\";\nimport Loader from \"ui/Loader\";\nimport ReactTooltip from \"react-tooltip\";\nimport { Modal, StyledModal } from \"ui/Modal\";\n\nconst StyledNavBar = styled.nav`\n position: relative;\n width: 100%;\n background-color: #3a3b48;\n color: #ffffff;\n text-align: left;\n height: auto;\n overflow: auto;\n padding: 12px;\n margin: 15px 0;\n border-radius: 10px;\n\n li {\n text-decoration: none;\n list-style: none;\n float: right;\n font-size: 14px;\n }\n .refresh {\n display: flex;\n align-items: center;\n font-size: 15px;\n line-height: 20px;\n font-family: Montserrat Alternates-Medium;\n }\n\n .profile-image {\n border-radius: 50%;\n height: 38px;\n width: 38px;\n margin-right: 15px;\n }\n\n .greetings {\n font-size: 18px;\n float: left;\n line-height: 22px;\n font-family: Montserrat Alternates-semiBold;\n }\n .logo-image {\n margin: 5px;\n height: 30px;\n width: 110px;\n border-radius: 5px;\n object-fit: contain;\n\n @media (min-width: 768px) and (max-width: 1024px) {\n width: 90px;\n }\n }\n .accounts-data {\n border-left: 1px solid #707070;\n padding: 5px 10px;\n }\n`;\nconst Iconbackground = styled.div`\n height: 40px;\n width: 40px;\n background: #ffffff;\n box-shadow: 0px 3px 26px #00000017;\n border: 3px solid #5b5d6e;\n border-radius: 40px;\n display: inline-block;\n text-align: center;\n margin-right: 10px;\n svg {\n font-size: 1.3em;\n margin-top: 8px;\n }\n .notification-icon {\n path {\n fill: #343540;\n }\n }\n`;\nconst StyledRefreshIcon = styled.div`\n content: \"${(props) => props.isloading}\";\n display: inline-block;\n margin: 0px 10px;\n cursor: pointer;\n animation: ${(props) => props.isloading && \"rotation 1s infinite linear\"};\n @keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n }\n`;\nconst StyledGarphIcon = styled.div`\n margin: 0px 10px;\n`;\n\nconst DropdownContent = styled.div`\n display: block;\n color: white;\n text-align: left;\n background-color: #000000;\n box-shadow: 0px 3px 6px #00000029;\n border: 1px solid #707070;\n border-radius: 10px;\n position: absolute;\n top: 20px;\n right: 0;\n\n a {\n font-family: Montserrat Alternates-semiBold;\n font-weight: bold;\n font-size: 14px;\n line-height: 44px;\n font-style: normal;\n letter-spacing: 0px;\n color: #ffffff;\n text-align: none;\n text-decoration: none;\n padding: 0 40px;\n }\n`;\n\nconst NotificationDiv = styled.div`\n display: flex;\n border-bottom: 2px solid #707070;\n padding: 10px;\n .notifications-text {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n color: #909090;\n display: inline-block;\n }\n .flag {\n margin: 5px;\n }\n`;\nconst ProfileDetails = styled.div`\n padding: 20px 15px;\n font-family: Montserrat Alternates-semiBold;\n font-size: 14px;\n line-height: 20px;\n cursor: pointer;\n color: #909090;\n\n svg {\n margin-right: 10px;\n path {\n fill: white;\n stroke: white;\n }\n }\n a {\n text-decoration: none;\n color: #909090;\n }\n`;\n\nconst LockOverlay = styled.div`\n top: 0;\n left: 0;\n background: transparent;\n cursor: not-allowed;\n width: 95%;\n display: block;\n position: absolute;\n height: 63px;\n z-index: 9999999;\n`;\n\nconst BackStyledButton = styled.button`\n background: transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%);\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n`;\n\n// const ProfileDropdown = () => {\n// let history = useHistory();\n\n// const onLogout = () => {\n// window.location.pathname = \"/\";\n// };\n\n// return (\n// <>\n// \n// \n// \n\n// \n// \n// \n// \n// );\n// };\nconst Notificationpopover = (\n \n \n {[...Array(3)].map((i) => (\n \n
    \n \n
    \n
    \n \n Dispute 232323 raised by Ramesh with category Dispute Category on\n IN 2323232\n \n 20 min ago \n
    \n
    \n ))}\n \n View All\n \n
    \n
    \n);\nconst ProfileDetailsPopover = (onLogout, onLogoutSuperUser) => (\n \n \n \n \n\n \n Profile Settings\n \n \n {sessionStorage.getItem(\"isSuperUser\") == \"true\" ? (\n \n \n \n Logout as {sessionStorage.getItem(\"tenantName\")}\n \n \n ) : (\n \n \n\n Logout\n \n )}\n \n \n);\nconst NotificationDropdown = () => {\n return (\n <>\n \n \n \n \n \n \n );\n};\n\nconst ProfileDetailsDropdown = ({ bucketUrl, isLoadingUserData }) => {\n const userContext = useContext(UserContext);\n\n const onLogout = async () => {\n try {\n await Auth.signOut();\n userContext.setUser(null);\n localStorage.clear();\n sessionStorage.clear();\n window.location.pathname = \"/\";\n } catch (error) {\n console.error(\"error signing out: \", error);\n }\n };\n\n const onLogoutSuperUser = async () => {\n try {\n userContext.setUser(null);\n // localStorage.clear();\n // sessionStorage.clear();\n sessionStorage.removeItem(\"collapsed\");\n sessionStorage.removeItem(\"tenantName\");\n sessionStorage.removeItem(\"userToken\");\n sessionStorage.removeItem(\"username\");\n sessionStorage.removeItem(\"email\");\n sessionStorage.removeItem(\"client_id\");\n sessionStorage.removeItem(\"tokendata\");\n window.location.pathname = \"/admin/login\";\n } catch (error) {\n console.error(\"error signing out: \", error);\n }\n };\n return (\n <>\n \n \n \n \n );\n};\n\nconst PrimaryPrivateNavbar = ({ name }) => {\n const [isloading, setLoading] = useState(false);\n const { onBoarding } = useContext(UIContext);\n const { isQuickbookDataImported } = useContext(QuickBookConnectionContext);\n\n const { data: generalSettingsData } = useGeneralSettings();\n const { data: userData, isLoadingUserData } = useProfile();\n const [showPopup, setShowPopup] = useState(false);\n\n const {\n data: ForecastDate,\n isLoading: isLoadingDate,\n refetch,\n } = useForecastDate();\n\n const handleForecastModelTrigger = () => {\n setLoading(true);\n arForecastModelTrigger()\n .then(() => {\n setLoading(false);\n setShowPopup(true);\n refetch();\n })\n .catch(function (error) {\n if (error.response) {\n console.log(error.response.data.message);\n }\n });\n };\n return (\n \n {showPopup && (\n setShowPopup(false)}\n centered\n style={{}}\n >\n \n
    \n \n
    \n \n
    \n

    \n Prediction In Progress\n
    \n This might take upto 15 minutes. Results will be available on\n actuals screen.\n

    \n
    \n setShowPopup(false)}\n >\n {\" \"}\n Close\n \n
    \n
    \n
    \n
    \n \n )}\n {isQuickbookDataImported && }\n
  • \n \n
  • \n\n
  • \n {!onBoarding && (\n <>\n \n \n \n\n \n Forecast last run on {!isLoadingDate && ForecastDate.date}\n \n }\n allowedRoles={[\"admin\"]}\n >\n \n \n \n \n \n Accounts data last read on{\" \"}\n {moment(applicationDate).format(\"MM/DD/YYYY\")}\n \n\n \n {forFutureRelease && }\n \n \n )}\n\n {forFutureRelease && }\n \n
  • \n
    \n );\n};\nexport default withRouter(PrimaryPrivateNavbar);\n","import { getForecastDate } from \"services/app.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useForecastDate = () => {\n return useQuery([\"forecastDate\"], () => getForecastDate(), {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};\n","export default \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgMFAwMDBQUEAwMEBQYFBQUFBQYIBgcHBwcGCAgJCgoKCQgMDAwMDAwODg4ODhAQEBAQEBAQEBD/2wBDAQMEBAYGBgwICAwSDgwOEhQQEBAQFBEQEBAQEBEREBAQEBAQERAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wgARCAFeAfQDAREAAhEBAxEB/8QAHAABAQEBAQEBAQEAAAAAAAAAAAYFBAMBAgcI/8QAFgEBAQEAAAAAAAAAAAAAAAAAAAEC/9oADAMBAAIQAxAAAAH/AEuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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EzHoE6QSUBAJjAs9MH3QL3ocjTpiilMWQmgY7VshnJuZirIsPgVg2GufQyZDGog0Ol2FzxLuQ1OzCwXhBs2QaMU0tFDolFrHnisgZrQTQkdgOwBRVdKcgUnmB+RL7jhCXkTcSpFR3gwW+ft4pEaiEIRNfWdYiAJVcgKlnPeCQ+HfxQKIadK7u6+j7HX1ROkpTFTA3G9KziVA5g/JlR5t0pRwlP2Ky6G4vRkiArBws5PekEhuOJSNkKBK3J+D1cFJqYo7CbvUATtSOJXtsy18UiNRCEImTRSDOIS8yKCiOC3ymmdNBZVpFBAHcIwLofP5SxEhFkd8+81gSr2wW+ftSIESyNkTqCNRAEqulYiu8GS2y9/FG47Yunvl2j1Sy0GD2ThaVuqO6o7qjuqO6oxM1ErAWcUudP8VxiTqaNOJhgQ/Bfeht6aBPy0PdyCBHgHkUAABAYFMRiJAE2LsFLEMP2zpR6HDgusRPNEQlhH+Qe1FeQJALBAG50RpYfgek6CLM8yY95pAk5DfkKAk83P2o5GkXOVI9vzVw0LWjlz7zTQY8IWm989pp0M+iWbZe8UMRYRdHfLtH4jQwvThMe4Uk9CNCFkaAYAJegZLiTTZh34fFCwSiWT44yq60lkAW+bsZ07sgvyHdv+6USYoI5Ywg2+W9ItAy8BE96EYT3aijm8HuAe9LpyRCWaGQbH/AE//9k=\"","import React, { useState, useEffect, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { Nav as BSNav } from \"react-bootstrap\";\nimport Logo from \"assets/SimpliCapital-logo.png\";\nimport CollapsedLogo from \"assets/logo.png\";\nimport {\n Forecast,\n NetCashIcon,\n OrdersIcon,\n ScenarioIcon,\n SettingIcon,\n ReceivablesIcon,\n ArrowExpandIcon,\n TopArrowSubmenuIcon,\n DollarIcon,\n} from \"assets/icons.js\";\nimport { Link } from \"react-router-dom\";\nimport { QuickBookConnectionContext } from \"context/QuickBookConnectionContext\";\nimport { Route_URLs } from \"routesURLs\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { getUserIntegrations } from \"../services/user.service\";\nimport { getOracleDataFetchStatus } from \"../services/ornet.services\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { useProfile } from \"queries/profile\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\n\nconst StyledSidebar = styled.div`\n background: #3a3b48;\n box-shadow: 0px 3px 16px #0000001d;\n position: fixed;\n display: block;\n padding: 0;\n z-index: 5;\n height: 100%;\n padding: 20px;\n /* overflow: auto; */\n width: ${(props) => (props.collapsed ? \"85px\" : \"211px\")};\n transition: all 0.2s ease-in;\n z-index: 55555;\n top: 0;\n\n ${({ disableTransitionEffects }) =>\n disableTransitionEffects &&\n `\n transition: none !important;\n `}\n\n .nav-link.active svg {\n fill: #33c2df;\n }\n\n .nav-text {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n display: ${(props) => (props.collapsed ? \"none\" : \"inline-block\")};\n width: ${(props) => (props.collapsed ? \"0\" : \"63%\")};\n transition: opacity 0.7s ease-in;\n }\n\n .toggle-button {\n transform: ${(props) =>\n props.collapsed ? \"rotate(0deg)\" : \"rotate(180deg)\"};\n transition: transform 0s;\n\n svg {\n width: 41px;\n height: 41px;\n }\n }\n\n .indicator-icon,\n .submenu > div {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n\n .sub-menu {\n .nav-link {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n }\n .logo {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n .collapsed-logo {\n display: ${(props) => (props.collapsed ? \"block\" : \"none\")};\n }\n\n .indicator-icon {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n }\n`;\n\nconst SidebarShadow = styled(StyledSidebar)`\n position: relative;\n height: 1px;\n z-index: 555;\n top: 0;\n left: 0px;\n background: #3a3b48;\n`;\n\nconst StyledLogo = styled.div`\n img {\n width: 100%;\n }\n margin-bottom: 36px;\n`;\nconst StyledCollapsedLogo = styled.div`\n img {\n width: auto;\n }\n margin-bottom: 36px;\n`;\n\nconst Nav = styled(BSNav)`\n flex-direction: column;\n\n svg {\n margin-right: 10px;\n font-size: 13px;\n }\n\n a.nav-link {\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n letter-spacing: 0px;\n color: #ffffff;\n margin-bottom: 1.3rem;\n padding: 0.4rem 1rem;\n margin-left: 10x;\n z-index: 1;\n }\n`;\n\nconst ExpandIcon = styled.div`\n position: absolute;\n //right: 0;\n //left: 0;\n bottom: 0;\n //text-align: center;\n width: 77%;\n padding: 0;\n margin: 0 auto;\n margin-bottom: 50px;\n z-index: 2;\n\n .icon {\n cursor: pointer;\n z-index: 2;\n position: absolute;\n }\n`;\n\nconst SubmenuContent = styled.div`\n padding-left: 8px;\n overflow: hidden;\n`;\n\nconst SubmenuCaption = styled.div`\n color: #fff;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n cursor: pointer;\n`;\n\nconst StyledSubmenu = styled.div`\n margin-bottom: 0;\n padding: 0.5rem 1rem;\n margin-bottom: 1.5rem;\n\n .indicator-icon {\n float: right;\n font-size: 1em;\n margin-top: ${(props) => (props.activeLink ? \"11px\" : \"2px\")};\n transform: ${(props) => (props.open ? \"rotateZ(0deg)\" : \"rotateZ(90deg)\")};\n transition: all 0.2s ease-in-out;\n }\n\n a.nav-link {\n margin: 0;\n margin-bottom: 0.4rem;\n }\n\n ${SubmenuContent} {\n transition: all 0.5s ease-in-out;\n margin-top: ${(props) => (props.open ? \"12px\" : \"0\")};\n height: ${(props) => (props.open ? \"auto\" : \"0\")};\n }\n`;\n\nconst LockOverlay = styled.div`\n background: transparent;\n cursor: not-allowed;\n width: 100%;\n display: block;\n position: absolute;\n height: 380px;\n z-index: 9999999;\n`;\nconst ActiveLink = styled.span`\n width: 4px;\n height: 20px;\n display: inline-block;\n background-color: #33c2df;\n position: relative;\n left: ${(props) => (props.collapsed ? \"65%\" : \"45%\")};\n top: 7px;\n`;\nconst StyledIcon = styled.div`\n display: inline-block;\n svg {\n path {\n fill: ${(props) => (props.active ? \"#33C2DF\" : \"#A5A4BF\")};\n }\n }\n`;\n\nconst Submenu = (props) => {\n const sidebarCollapsed = props.sidebarCollapsed;\n const [open, setOpen] = useState(!sidebarCollapsed);\n const { isQuickbookDataImported } = useContext(QuickBookConnectionContext);\n\n // useEffect(()=>{\n // console.log(\"general--->\",generalSettingsData)\n // },[isLoading])\n const toggleMenuOpen = (event) => {\n setOpen(!open);\n event.preventDefault();\n event.stopPropagation();\n };\n\n const shouldBeOpen = () => {\n if (sidebarCollapsed) {\n return false;\n } else {\n return open;\n }\n };\n\n useEffect(() => {\n if (isQuickbookDataImported) {\n setOpen(false);\n } else {\n setOpen(JSON.parse(window.sessionStorage.getItem(\"open\" + props.title)));\n }\n }, []);\n\n useEffect(() => {\n window.sessionStorage.setItem(\"open\" + props.title, open);\n }, [open]);\n\n return (\n \n \n \n {props.icon}\n \n {props.title}\n \n {props.activeLink}\n \n {props.children}\n \n );\n};\n\nfunction Sidebar(props) {\n const { data: generalSettingsData, isLoading: loading } =\n useGeneralSettings();\n const [collapsed, setCollapsed] = useState(true);\n const [disableTransitionEffects, setDisableTransitionEffects] =\n useState(true);\n // useEffect(()=>{\n\n // },[loading])\n const toggleSidebar = () => {\n setDisableTransitionEffects(false);\n setCollapsed(!collapsed);\n };\n\n const { isQuickbookDataImported } = useContext(QuickBookConnectionContext);\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n\n const activeRoute = (routeUrl) => {\n if (routeUrl === window.location.pathname) return true;\n return false;\n };\n\n useEffect(() => {\n if (isQuickbookDataImported) {\n setCollapsed(true);\n } else {\n setCollapsed(JSON.parse(window.sessionStorage.getItem(\"collapsed\")));\n }\n }, []);\n\n useEffect(() => {\n window.sessionStorage.setItem(\"collapsed\", collapsed);\n }, [collapsed]);\n\n /* adding custom logic for disabling all pages if oracle tenant has not integrated oracle connection */\n\n useEffect(async () => {\n const connectionResponse = await getUserIntegrations();\n if (connectionResponse.data.name == \"oracle\") {\n let response = await getOracleDataFetchStatus();\n if (response.data.status) {\n setCollapsed(false);\n } else {\n setCollapsed(true);\n }\n } else if (\n connectionResponse.data.name == \"qbo\" ||\n connectionResponse.data.name == \"qbd\"\n ) {\n setCollapsed(false);\n } else {\n setCollapsed(true);\n }\n }, []);\n\n return (\n <>\n {isQuickbookDataImported && }\n\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \n \n \n \n );\n}\nexport default Sidebar;\n","import React from \"react\";\n\nexport const Authenticate = ({\n // authorisedRoles = [\"admin\", \"read-write\", \"read-only\"],\n showUnAuthorisedComponenet = null,\n children,\n}) => {\n //To DO: roles and permissions\n const token = sessionStorage.getItem(\"userToken\");\n if (token && token !== \"\") return <>{children};\n\n if (showUnAuthorisedComponenet) return <>{showUnAuthorisedComponenet};\n\n return (\n

    \n {\" \"}\n 401- You are not Authorized !\n

    \n );\n};\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { useLocation, Redirect } from \"react-router-dom\";\nimport PrimaryPrivateNavbar from \"./PrimaryPrivateNavbar\";\nimport Sidebar from \"../Sidebar\";\nimport { Container, Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport { UIContext } from \"context/UIContext\";\nimport { UserContext } from \"context/UserContext\";\nimport Bus from \"utils/Bus\";\nimport Flash from \"ui/flash-message\";\nimport { QuickBookConnectionContext } from \"context/QuickBookConnectionContext\";\n\nimport { Authenticate } from \"helpers/Authentication\";\n\nconst PageStyles = styled.div``;\n\nconst PageContainer = styled.div`\n padding: 0;\n width: 100%;\n display: flex;\n flex-direction: row;\n .scroll-div {\n position: sticky;\n top: 0;\n z-index: 100;\n width: 100%;\n height: auto;\n background-color: #232631;\n }\n`;\n\nconst ContentContainer = styled(Container)`\n /* overflow: auto; */\n max-width: 100%;\n flex: 1;\n`;\nconst StickyDiv = styled.div`\n position: relative;\n`;\n\nconst SidebarContainer = styled.div`\n position: relative;\n height: 100%;\n /* width: auto;\n overflow: auto; */\n display: block;\n /* border: 5px solid green; */\n z-index: 50000;\n`;\n\nconst PrivateLayout = (props) => {\n const [scroll, setScroll] = useState(false);\n const location = useLocation();\n const page = location.pathname.split(\"/\")[1];\n const { user } = useContext(UserContext);\n const QuickbookConnectionContext = useContext(QuickBookConnectionContext);\n\n window.flash = (\n operation = \"close\",\n type = \"success\",\n message,\n closeable,\n duration\n ) => Bus.emit(\"flash\", { operation, type, message, closeable, duration });\n\n useEffect(() => {\n if (QuickbookConnectionContext.quickbookImportInProgress) {\n window.flash(\n \"open\",\n \"progress\",\n \"SimpliCapital is retrieving your data\",\n false\n );\n } else {\n window.flash(\"close\", \"progress\");\n }\n\n if (\n QuickbookConnectionContext?.alerts &&\n QuickbookConnectionContext?.alerts != \"\"\n ) {\n window.flash(\n \"open\",\n \"warning\",\n `${QuickbookConnectionContext?.alerts}`,\n false\n );\n } else {\n window.flash(\"close\", \"warning\");\n }\n }, [\n QuickbookConnectionContext.alerts,\n QuickbookConnectionContext.quickbookImportInProgress,\n ]);\n\n useEffect(() => {\n window.addEventListener(\"scroll\", () => {\n setScroll(window.scrollY > 0);\n });\n }, []);\n\n // if (!user) {\n // return ;\n // }\n\n return (\n }>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <>{props.children}\n \n \n \n \n \n );\n};\n\nexport default PrivateLayout;\n","import { height } from \"dom-helpers\";\nimport React from \"react\";\nimport Chart from \"react-apexcharts\";\nimport styled from \"styled-components\";\n\nconst GraphStyled = styled.div`\n height: 92px;\n\n .apexcharts-canvas {\n margin-top: -83px;\n\n svg {\n transform: scale(1.3);\n right: 0;\n position: relative;\n bottom: -26px;\n }\n }\n @media (min-width: 768px) and (max-width: 1024px) {\n .apexcharts-canvas {\n margin-top: -54px;\n svg {\n right: 10px;\n }\n }\n }\n`;\n\nfunction SimpleLineGraph({ data, xaxisData, height, width }) {\n return (\n \n \n \n );\n}\n\nexport default SimpleLineGraph;\n\nexport const GraphCaption = styled.nav`\n line-height: 13px;\n text-align: center;\n font-size: 11px;\n font-style: normal;\n letter-spacing: 0px;\n color: #ffffff;\n margin-top: 6px;\n`;\n","import BaseService from \"./baseClass.services\";\nimport moment from \"moment\";\nimport { apiURL } from \"utils/base-url\";\nclass OrderService extends BaseService {\n getall = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerName: filterData.searchString,\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startOrderDate: formatedInvoiceStart,\n endOrderDate: formatedInvoiceEnd,\n startDueDeliveryDate: formatedDeliveryStart,\n endDueDeliveryDate: formatedDeliveryEnd,\n };\n const res = await this.axios.get(`/order/invoices`, { params });\n return res.data;\n };\n\n getgraphdata = async (cid, filterType) => {\n const params = {\n customerId: cid,\n filterType,\n };\n const res = await this.axios.get(`/order/invoices/graph`, { params });\n return res.data;\n };\n getInsightsdata = async (currentLevel) => {\n const params = {\n rangetype: currentLevel,\n };\n const res = await this.axios.get(`/order/insights`, { params });\n return res.data;\n };\n getTotal = async () => {\n const res = await this.axios.get(`/order/total`);\n return res.data;\n };\n\n getOrdersListingData = async (currentLevel, manualOveride = false) => {\n const params = {\n rangetype: currentLevel,\n mo: manualOveride,\n };\n const res = await this.axios.get(`/order/listing`, { params });\n return res.data;\n };\n\n saveOrdersData = (payload) => {\n return this.axios.post(`/order/manual_override`, payload);\n };\n\n //export urls\n exportUrlOrderOverview = (currentLevel) => {\n return `${apiURL}/order/export?rangetype=${currentLevel}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n exportUrlOrderInvoice = (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n return `${apiURL}/order/invoices/export?field=${\n filterData.columnName\n }&sort=${filterData.order}&pageNo=${\n filterData.pageNumber\n }&limit=10&customerName=${filterData.searchString}&minAmount=${\n filterData.minAmount\n }&maxAmount=${\n filterData.maxAmount\n }&startOrderDate=${formatedInvoiceStart}&endOrderDate=${formatedInvoiceEnd}&startDueDeliveryDate=${formatedDeliveryStart}&endDueDeliveryDate=${formatedDeliveryEnd}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n exportUrlBarGraphOrders = (customerid, timeFilter) => {\n return `${apiURL}/orders/graph/export?customerId=${customerid}&filterType=${timeFilter}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n}\nexport default new OrderService();\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { deleteinbucket, uploadInBucket } from \"services/customer.services\";\n\nimport { adddiscount, asigndUserAdd, asigndUserAddFordisputType, billDownload, cashflowforecastedit, disputaddd, disputadddFromAdmin, disputecatagory, fetchapproveduser, getCustomersDisputData, \n getCustomersDisputDataFromAdmin, getSupplierDiscount, getbase64, getdiscount, getmanagesettingdaata, manageedefaultassignedusers, manageedefaultusers, \n manageedefaultusersadd, managesettingdataadd, remindermail, seennotification, seennotificationadmin, supplierStrategicAdd, supplierapprovalsetting, \n updateBillPaymentDate, updateSupplier, usersearchdata } from \"services/supplier.services\";\n\n\n\n\nexport const useAdddiscounttosuppliers = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({values }) => adddiscount(values),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"suppliers\");\n },\n }\n );\n};\nexport const GetBasedata = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({invoiceNo,userId }) => getbase64(invoiceNo,userId),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"pdf\");\n },\n }\n );\n};\n\n\nexport const useGetdiscount = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({values }) => getdiscount(values),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"suppliers\");\n },\n }\n );\n };\n\n\n export const Disputdataadd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n disputaddd(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"discunadd\");\n },\n }\n );\n };\n\n export const Uploader = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({formData }) =>\n uploadInBucket(formData),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"upload\");\n },\n }\n );\n };\n\n\n export const Deletefroms3 = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({formData }) =>\n deleteinbucket(formData),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"delete\");\n },\n }\n );\n };\n\n\n export const Remindersend = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n remindermail(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"remindersend\");\n },\n }\n );\n };\n\n\n\n\n\n\n export const DisputdataaddFromAdmin = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n disputadddFromAdmin(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"discunadd\");\n },\n }\n );\n };\n\n\n export const CustomerDisputAsignUserAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n asigndUserAdd(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"assignduser\");\n },\n }\n );\n };\n\n export const CustomerDisputTypeAsignUserAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n asigndUserAddFordisputType(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"assignduser-disputtype\");\n },\n }\n );\n };\n\n\n\n export const Supplierapprovalsettingaddupdate = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n supplierapprovalsetting(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"approvalsetting\");\n },\n }\n );\n };\n\n\n\n\n\n export const CustomersDisputData = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({invoiceNumber,userId }) => getCustomersDisputData(invoiceNumber,userId),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CustomersDisputData\");\n },\n }\n );\n };\n\n\n export const Notificationseen = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => seennotification(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CustomersNotificationseen\");\n },\n }\n );\n };\n\n export const AdminNotificationseen = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => seennotificationadmin(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"AdminNotificationseen\");\n },\n }\n );\n };\n\n export const CustomersDisputDataAdminside = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({invoiceNumber }) => getCustomersDisputDataFromAdmin(invoiceNumber),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CustomersDisputDataAdminside\");\n },\n }\n );\n };\n\n\n export const Getdataformsearch = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => usersearchdata(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Getdataformsearch\");\n },\n }\n );\n };\n\n\n export const ManageSettingsData = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => getmanagesettingdaata(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ManageSettingsData\");\n },\n }\n );\n };\n\n\n export const ManageSettingsDataAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => managesettingdataadd(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ManageSettingsDataAdd\");\n },\n }\n );\n };\n\n\n export const FetchDisputeTypeData = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => disputecatagory(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"FetchDisputeTypeData\");\n },\n }\n );\n };\n\n\n export const ApprovedUsers = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => fetchapproveduser(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ApprovedUsers\");\n },\n }\n );\n };\n\n\n export const ManagedefaultAssignedUsers = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => manageedefaultassignedusers(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ApprovedUsers\");\n },\n }\n );\n };\n\n\n export const ManagedefaultUsers = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => manageedefaultusers(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ApprovedUsers\");\n },\n }\n );\n };\n\n\n export const ManagedefaultUsersAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => manageedefaultusersadd(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ApprovedUsers\");\n },\n }\n );\n };\n\n\n export const StrategicAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => supplierStrategicAdd(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"StrategicAdd\");\n },\n }\n );\n };\n\n\n\n\n\n export const CashFlowForecastEdit = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => cashflowforecastedit(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CashFlowForecastEdit\");\n },\n }\n );\n };\n\n export const UpdateBillPaymentDate = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => updateBillPaymentDate(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"UpdateBillPaymentDate\");\n },\n }\n );\n };\n\n\n export const UsePaymentBillData = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => billDownload(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"billDownload\");\n },\n }\n );\n };\n\n\n\n\n export const GetSupplierDiscount = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) => getSupplierDiscount(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"getSupplierDiscount\");\n },\n }\n );\n };\n\n \n\n\n\n\n\n\n\n\n \n","import styled from \"styled-components\";\nimport { UpIcon, DownIcon } from \"assets/icons\";\n\nconst Up = styled.span`\n color: #ff0505;\n font-weight: bold;\n\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\n\nconst Down = styled.span`\n color: #07ba00;\n font-weight: bold;\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\nfunction ChangeReverse(props) {\n if (props.value > 0) {\n return (\n \n + {props.value} %\n \n );\n } else {\n return (\n \n {props.value} %\n \n \n );\n }\n}\nexport default ChangeReverse;\n","import * as React from \"react\";\n\nexport function IosTime(props) {\n return (\n \n \n \n );\n}\n\nexport const MemoIosTime = React.memo(IosTime);\n\nfunction Setting(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport const SettingIconNew = React.memo(Setting);\n\nfunction GreentickIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport const Greentick = React.memo(GreentickIcon);\n\nexport function ClockIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport const Clock = React.memo(ClockIcon);\n\nfunction CalendarGraphIcon(props) {\n return (\n \n \n \n \n \n \n );\n}\nexport const Calendar = React.memo(CalendarGraphIcon);\n\nfunction ArrowIcon(props) {\n return (\n \n \n \n \n \n \n );\n}\nexport const Arrow = React.memo(ArrowIcon);\n\nfunction CheckIcon(props) {\n return (\n \n \n \n \n \n \n );\n}\nexport const Check = React.memo(CheckIcon);\n\nfunction CrosIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport const Cros = React.memo(CrosIcon);\n\nfunction Add(props) {\n return (\n \n \n \n );\n}\nexport const AddIcon = React.memo(Add);\n\nfunction UploadIcon(props) {\n return (\n \n \n \n );\n}\nexport const Upload = React.memo(UploadIcon);\n\nexport function ArrowDownIcon(props) {\n return (\n \n \n \n );\n}\nexport function ArrowDownWhiteIcon(props) {\n return (\n \n \n \n );\n}\nexport function ArrowExpandIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport function ArrowLeftIcon(props) {\n return (\n \n \n \n );\n}\nexport function ArrowRightIcon(props) {\n return (\n \n \n \n );\n}\nexport function BellIcon(props) {\n let fillColor = \"#343540\";\n if (props.color === \"red\") {\n fillColor = \"#F13F3F\";\n } else {\n fillColor = \"#07ba00\";\n }\n return (\n \n \n \n );\n}\nexport function IconBellDashboard(props) {\n return (\n \n \n \n );\n}\nexport function IconFileDownload(props) {\n return (\n \n \n \n );\n}\nexport function CalendarIcon(props) {\n return (\n \n \n \n );\n}\nexport function DashboardIcon(props) {\n return (\n \n \n \n );\n}\nexport function DownIcon(props) {\n return (\n \n \n \n );\n}\nexport function DragIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\nexport function EditIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function IconAddressCard(props) {\n return (\n \n \n \n );\n}\n\nexport function IconStripe(props) {\n return (\n \n \n \n );\n}\n\nexport function IconPencilEdit(props) {\n return (\n \n \n \n );\n}\nexport function IconFlag(props) {\n return (\n \n \n \n );\n}\nexport function ExportIcon(props) {\n return (\n \n \n \n );\n}\nexport function Forecast(props) {\n return (\n \n \n \n );\n}\nexport function ForecastIcon(props) {\n return (\n \n \n \n );\n}\nexport function IconCross(props) {\n return (\n \n \n \n );\n}\nexport function IconLeft(props) {\n return (\n \n \n \n );\n}\nexport function ImportIcon(props) {\n return (\n \n \n \n );\n}\nexport function InfoIcon(props) {\n return (\n \n \n \n );\n}\nexport function IconEnlargeArrow(props) {\n return (\n \n \n \n );\n}\nexport function IconShrinkArrow(props) {\n return (\n \n \n \n );\n}\nexport function LockIcon(props) {\n return (\n \n \n \n );\n}\nexport function WhiteInfoIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function InsightsIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function ReportIcon(props) {\n return (\n \n \n \n \n \n );\n}\n\nexport function ManualOverideIcon(props) {\n return (\n \n \n \n );\n}\nexport function NetCashIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n}\nexport function OrdersIcon(props) {\n return (\n \n \n \n );\n}\nexport function ProfileIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport function ReceivablesIcon(props) {\n return (\n \n \n \n );\n}\nexport function RedIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n}\nexport function RefreshIcon(props) {\n return (\n \n \n \n );\n}\nexport function IconGraph(props) {\n return (\n \n \n \n );\n}\nexport function IconExpandArrow(props) {\n return (\n \n \n \n );\n}\nexport function ScenarioIcon(props) {\n return (\n \n \n \n );\n}\nexport function DollarIcon(props) {\n return (\n \n \n \n );\n}\nexport function SearchIcon(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport function SettingIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function SmallEditIcon(props) {\n return (\n \n \n \n );\n}\nexport function SortIcon(props) {\n return (\n \n \n \n );\n}\nexport function TopArrowSubmenuIcon(props) {\n return (\n \n \n \n );\n}\nexport function UpIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function LogoutIcon(props) {\n return (\n \n \n \n \n \n \n );\n}\n\nexport function GreenClockIconBank(props) {\n return (\n \n \n \n );\n}\n\nexport function AmberClockIconBank(props) {\n return (\n \n \n \n );\n}\n\nexport function RedClockIconBank(props) {\n return (\n \n \n \n );\n}\n\nexport function UpRedIcon(props) {\n return (\n \n \n \n );\n}\n\nexport function DownGreenIcon(props) {\n return (\n \n \n \n );\n}\nexport function IconCheck(props) {\n return (\n \n \n \n );\n}\nexport function IconMoneySvgrepo(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\nexport function IconDelete(props) {\n return (\n \n \n \n );\n}\nexport function PlusIcon(props) {\n return (\n \n \n \n );\n}\nexport function IconCheckCircle(props) {\n return (\n \n \n \n );\n}\nexport function IconArrowDropdownCircle(props) {\n return (\n \n \n \n );\n}\nexport function IconMail(props) {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\nexport function IconRefresh(props) {\n return (\n \n \n \n \n \n \n \n );\n}\nfunction SaveSvg(props) {\n return (\n \n \n \n );\n}\nconst SaveIcon = React.memo(SaveSvg);\n\nfunction ZoomInIconSVG(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nconst ZoomInIcon = React.memo(ZoomInIconSVG);\n\nfunction ZoomOutIconSVG(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport function DeleteIcon(props) {\n return (\n
    \n {\" \"}\n \n \n \n
    \n );\n}\n\nexport function CommentIcon(props) {\n return (\n \n \n \n \n \n \n );\n}\n\nexport function LoginIcon(props) {\n return (\n \n \n \n \n \n );\n}\n\nexport function SyncIcon(props) {\n return (\n \n \n \n \n \n \n \n \n );\n}\n\nexport function Tenants(props) {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport function User(props) {\n return (\n \n \n \n );\n}\n\nexport function Session(props) {\n return (\n \n \n \n );\n}\n\nexport function Analytics(props) {\n return (\n \n \n \n \n );\n}\n\nexport function DataLoads(props) {\n return (\n \n \n \n );\n}\n\nexport function Subscriptions(props) {\n return (\n \n {\" \"}\n Cards{\" \"}\n {\" \"}\n {\" \"}\n \n );\n}\n\nexport function Switch(props) {\n return (\n \n \n \n \n );\n}\n\nexport function DeActivateIcon(props) {\n return (\n \n \n \n \n );\n}\n\nexport function ActivateIcon(props) {\n return (\n \n \n \n \n );\n}\n\nexport function CronClock(props) {\n return (\n \n \n \n \n \n );\n}\n\n\nexport function IconContractArrow(props) {\n return (\n \n \n \n );\n}\n\nexport function ExportIconWhite(props) {\n return (\n \n \n \n );\n}\n\nexport function TransactionIcon(props) {\n return (\n // \n // \"transactionIcon\"\n\n // \n \n \n \n\n );\n}\nconst ZoomOutIcon = React.memo(ZoomOutIconSVG);\nexport { SaveIcon, ZoomInIcon, ZoomOutIcon };\n","import { useEffect, useState } from \"react\";\n\nexport default function useDebounce(value, delay) {\n const [debouncedValue, setDebouncedValue] = useState(value);\n\n useEffect(() => {\n const handler = setTimeout(() => {\n setDebouncedValue(value);\n }, delay);\n\n return () => {\n clearTimeout(handler);\n };\n }, [value, delay]);\n\n return debouncedValue;\n}\n","import {\n useTable,\n useSortBy,\n usePagination,\n useFilters,\n useExpanded,\n useRowSelect,\n} from \"react-table\";\nimport React, { useState, useMemo, useEffect } from \"react\";\nimport styled from \"styled-components\";\nimport { SortIcon } from \"assets/icons.js\";\nimport { Table as BSTable } from \"react-bootstrap\";\nimport ReactPaginate from \"react-paginate\";\nimport Loader from \"./Loader\";\nimport CustomScrollbars from \"ui/scrollbar\";\nimport Checkbox from \"ui/Checkbox\";\nimport Tooltip from \"ui/Tooltip\";\nimport { EditIcon, InfoIcon } from \"assets/icons\";\n\nexport const StyledSubRows = styled.span`\n content: \"${(props) => props.depth}\";\n padding-left: ${(props) =>\n (props.depth == 0 && \"13px\") ||\n (props.depth == 1 && \"23px\") ||\n `${props.depth * 11}px`};\n`;\nexport const TableWrapper = styled.div`\n position: relative;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 2px 6px #0000000a;\n padding: 15px 25px;\n border-radius: 5px;\n min-height: 470px;\n .spinner-border.text-secondary {\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n }\n .styledNoRecord {\n color: white;\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n display: inline-table;\n top: 251px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n border: 2px solid #707070;\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 3px;\n margin-top: 3px;\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: transparent;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\nconst StyledCheckboxHeader = styled.div`\n margin-top: 3px;\n input {\n background-color: transparent !important;\n border: 2px solid #ffffff !important;\n }\n`;\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n display: inline-block;\n`;\n\nexport const StyledTable = styled(BSTable)`\n td {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n border-bottom: 1px solid gray;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n th {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #ffffff;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n td:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n th:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n /* td:last-child {\n text-align: right;\n }\n th:last-child {\n text-align: right;\n } */\n`;\nexport const TableHead = styled.thead`\n tr {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%) 0%\n 0%;\n border-bottom: underline;\n @media (min-width: 768px) and (max-width: 1024px) {\n th {\n background: #0081c5;\n }\n }\n &:hover {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%)\n 0% 0% no-repeat padding-box;\n color: #ffffff;\n }\n }\n svg {\n font-size: 8px;\n margin-left: 2px;\n }\n\n /* th:first-child {\n position: sticky;\n left: 0;\n } */\n`;\nexport const StyledRow = styled.tr`\n color: #b5b5b5;\n cursor: pointer;\n &:hover {\n background-color: #636471;\n color: #ffffff;\n }\n`;\n\nexport const PaginationWrapper = styled.div`\n position: relative;\n width: 100%;\n`;\n\nexport const Pagination = styled.div`\n color: white;\n display: flex;\n justify-content: center;\n margin: 0 auto;\n\n ul {\n margin: 10px;\n }\n\n & li {\n padding: 0.2rem;\n border-radius: 7px;\n padding-bottom: 0px !important;\n\n a {\n padding: 0.5rem;\n }\n }\n\n & .active {\n background-color: #33c2df;\n }\n .previous,\n .next {\n background-color: #373743;\n }\n`;\nconst StyledNoRecord = styled.span`\n color: white;\n`;\nconst StyledLoader = styled.div`\n /* font-size:1em; */\n`;\nconst ScrollWindow = styled.div`\n overflow: auto;\n ::-webkit-scrollbar {\n height: 7px;\n }\n ::-webkit-scrollbar-track {\n background: #3a3b48;\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n`;\nconst IndeterminateCheckbox = React.forwardRef(\n ({ indeterminate, ...rest }, ref) => {\n const defaultRef = React.useRef();\n const resolvedRef = ref || defaultRef;\n\n React.useEffect(() => {\n resolvedRef.current.indeterminate = indeterminate;\n }, [resolvedRef, indeterminate]);\n\n return (\n <>\n \n \n );\n }\n);\nfunction Table({\n isloading,\n editId,\n columns,\n data,\n rowClick,\n onHeaderClick,\n totalCount,\n handlePageChange,\n initialPage,\n isEdit,\n updateData,\n checkbox,\n}) {\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n page,\n nextPage,\n previousPage,\n gotoPage,\n prepareRow,\n state: { expanded },\n } = useTable(\n {\n initialState: {\n hiddenColumns: columns.map((column) => {\n if (column.show === false) return column.accessor || column.id;\n }),\n pageSize: 1000,\n },\n columns,\n data,\n manualSortBy: true,\n editId,\n isEdit,\n updateData,\n },\n useFilters,\n useSortBy,\n useExpanded,\n usePagination,\n useRowSelect,\n (hooks) => {\n checkbox &&\n hooks.visibleColumns.push((columns) => [\n {\n id: \"selection\",\n width: 3,\n disableSortBy: true,\n Header: ({ getToggleAllRowsSelectedProps }) => (\n \n \n \n ),\n Cell: ({ row }) => (\n
    e.stopPropagation()}>\n e.stopPropagation()}\n />\n
    \n ),\n },\n ...columns,\n ]);\n }\n );\n\n const Pagecount = Math.ceil(Math.abs(totalCount / 10));\n return (\n <>\n \n {isloading ? (\n \n ) : (\n <>\n {/* */}\n \n \n \n {headerGroups.map((headerGroup) => (\n \n {headerGroup.headers.map((column) => (\n \n !column.disableSortBy && onHeaderClick(column)\n }\n >\n {column.render(\"Header\")}\n {column?.Tooltip && (\n \n \n \n \n )}\n {/* {column.isSorted?(column.isSortedDesc ?:):\" \"} */}\n {!column.disableSortBy && {}}\n {/* {{}} */}\n \n ))}\n \n ))}\n \n\n \n {!isloading && data.length > 0 ? (\n <>\n {page.map((row) => {\n prepareRow(row);\n return (\n // rowClick(row)}>\n rowClick(e, row, editId)}\n >\n {row.cells.map((cell) => {\n return (\n \n {cell.render(\"Cell\")}\n \n );\n })}\n \n );\n })}\n \n ) : (\n No Records Found\n )}\n \n \n \n {/* */}\n {!isloading && data.length > 0 ? (\n \n \n \"}\n breakLabel={\"...\"}\n breakClassName={\"break-me\"}\n pageCount={Math.ceil(Pagecount)}\n marginPagesDisplayed={1}\n pageRangeDisplayed={6}\n // onPageChange={(_page) => gotoPage(_page.selected)}\n onPageChange={(_page) => handlePageChange(_page.selected)}\n containerClassName={\"pagination\"}\n activeClassName={\"active\"}\n forcePage={initialPage}\n />\n \n \n ) : (\n <>\n )}\n \n )}\n \n \n );\n}\nexport default Table;\n","export const Route_URLs = {\n /* Public Routes */\n signin: \"/sign-in\",\n createaccount: \"/sign-up/create-account\",\n forgotpassword: \"/forgot-password\",\n accountverify: \"/account/verify\",\n passwordreset: \"/account/password-reset\",\n mfascreen: \"/account/mfa\",\n customer_signup: \"/sign-up/create-customer-account\",\n /* Private Routes */\n dashboard: \"/dashboard\",\n dashboard_customer: \"/dashboard/customer\",\n dashboard_customize: \"/dashboard/customize\",\n dashboard_customer_payment_confirmed: \"/dashboard/customer/payment-confirmed\",\n netcash: \"/simplicash\",\n forecast_receivables: \"/simplicollect/receivables-forecast\",\n forecast_payables: \"/simplipay/paymentOptimization\",\n forecast_collections: \"/simplicollect/collections-forecast\",\n forecast_optimization: \"/simplipay/optimization\",\n scenario: \"/simpliplan\",\n credit_monitoring: \"/creditMonitoring\",\n orders_invoices: \"/orders/invoices\",\n orders_overview: \"/orders/overview\",\n actuals_receivables: \"/simplicollect/receivables\",\n actuals_nonTradeReceivables: \"/simplicollect/receivables/nonTrade\",\n actuals_collections: \"/simplicollect/collections\",\n actuals_payables: \"/simplipay/payables\",\n actuals_nonControllablePayables: \"/simplipay/payables/nonControllable\",\n actuals_payments: \"/simplipay/payments\",\n actuals_payment_confirmed: \"/simplipay/payment-confirmed\",\n profile: \"/profile\",\n customers: \"/customers\",\n suppliers: \"/suppliers\",\n tearsheet_customer: \"/tearsheet/customer\",\n tearsheet_supplier: \"/tearsheet/supplier\",\n setup_connect_integration: \"/setup/connect-integration\",\n setup_general_settings: \"/setup/general-settings\",\n setup_cash_classification: \"/setup/cash-classification\",\n setup_user_management: \"/setup/user-management\",\n setup_customer_notification: \"/setup/customer-notification\",\n setup_dispute_management: \"/setup/dispute-management\",\n setup_supplier_payment: \"/setup/supplier-payment\",\n notifications: \"/notifications\",\n // nontrade: \"/nontrade\",\n emailTemplateCreation: \"/setup/emailTemplateGenerator\",\n emailTemplatesList: \"/setup/emailTemplatesList\",\n\n /*operations routes */\n admin_login: \"/admin/login\",\n operationDashboard: \"/admin/dashboard\",\n tenantList: \"/admin/login/tenant\",\n customerList: \"/admin/login/customers\",\n sessionList: \"/admin/login/audit\",\n adminUsers: \"/admin/users\",\n analytics: \"/admin/analytics\",\n dataLoads: \"/admin/loads\",\n subscriptions: \"/admin/subscriptions\",\n featureSwitches: \"/admin/switches\",\n setup_digital_payments: \"/setup/digital-payments\",\n billingAddress: \"/customer/billingAddress\",\n transactions_customer: \"/customer/transactions\",\n successPaymentPage: \"/customer/successPayment\",\n paymentProcessing: \"/customer/paymentProcessing\",\n redirectPage: \"/customer/redirectPage\",\n payment_page: \"/customer/paymentPage\",\n receivable_transactions_page: \"/simplicollect/receivables/transactions\",\n guest_payment_page: \"/pay/:tenantidentifier\",\n guest_payment_success_page: \"/guest-pay/success-page\",\n passwordresetcustomer: \"/account/password-reset-customer\",\n emailInvoiceDownloadQbd: \"/EmailInvoiceDownload/:invoiceId/:tenant\"\n};\n","export default __webpack_public_path__ + \"static/media/Icon-check.5798994c.svg\";","import React from \"react\";\nimport styled from \"styled-components\";\nimport CheckIcon from \"assets/Icon-check.svg\";\nimport Stepper from \"react-stepper-horizontal\";\nimport { useHistory } from \"react-router-dom\";\nimport { Route_URLs } from \"routesURLs\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { useProfile } from \"queries/profile\";\n\nconst StyledStepper = styled.div`\n margin: 30px 0px;\n a {\n font-family: Montserrat Alternates-Bold;\n color: #909090 !important;\n cursor: pointer;\n line-height: 30px !important;\n }\n`;\n\nfunction StepperComponent(props) {\n let history = useHistory();\n\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n\n\n const stepsToKeepforCollect = ['Customer Settings', 'Dispute Management'];\n const stepsToKeepforSimpliPay = ['Supplier Settings'];\n const stepsToKeepforSimpliPayAndCollect = ['Customer Settings', 'Dispute Management', 'Supplier Settings'];\n\n let sections = [\n {\n title: \"Let’s connect to your System\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_connect_integration);\n },\n },\n {\n title: \"General Settings\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_general_settings);\n },\n },\n {\n title: \"Digital Payments\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_digital_payments);\n },\n },\n {\n title: \"Cash Classification\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_cash_classification);\n },\n },\n\n {\n title: \"User Management\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_user_management);\n },\n },\n\n {\n title: \"Customer Settings\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_customer_notification);\n },\n },\n {\n title: \"Dispute Management\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_dispute_management);\n },\n },\n {\n title: \"Supplier Settings\",\n icon: CheckIcon,\n onClick: (e) => {\n e.preventDefault();\n history.push(Route_URLs.setup_supplier_payment);\n },\n },\n ];\n\n if (userRole == 'simplicollect') {\n sections = sections.filter(item => stepsToKeepforCollect.includes(item.title));\n }\n if (userRole == 'simplipay') {\n sections = sections.filter(item => stepsToKeepforSimpliPay.includes(item.title));\n }\n\n if (userRole == 'SimpliCollect&Simplipay') {\n sections = sections.filter(item => stepsToKeepforSimpliPayAndCollect.includes(item.title));\n }\n\n\n\n return (\n <>\n \n {userRole && }\n \n \n );\n}\nexport default StepperComponent;\n","import { getAllGeneralSettings } from \"services/generalSettings.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useGeneralSettings = () => {\n return useQuery(\"generalSettings\", getAllGeneralSettings);\n};\n","import axiosInstance from \"utils/APIv2\";\n\nclass BaseService {\n constructor() {\n this.axios = axiosInstance;\n }\n}\n\nexport default BaseService;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAtCAYAAADRLVmZAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAALqADAAQAAAABAAAALQAAAAA2+nzuAAAHQ0lEQVRoBe2YeWwUVRjAv/dmtvagtLRAkKMHWMESWlrxQGixHHJFjqhESYAQIyQElX/4RzxWQOORgIlBg0eAEEBE0HAEAaG7hKAGaK1AibjbFsrRltK73e4x7/m9aXfb3Z3Znd32L9Mv2Z153/ve9/3mm/e+eTMAAzKQgf93Bkh/X97EM/a0mEdoJgB9UFqYdgOA8P6OIfz1K3i+5XYBocpp9BvLgXs4kDdLCzJ2AtGA32LNAkVaAR7lAGydgRcYmfQbeN75W7MosOMC2ofAQeEENpYUZm736cSJuXgCEFMJ5i0OODSgZgaYp13zswnToGH6DXXnW6tmUuAH0bgHWowkIGFmPs4/X7FebQnd5ot5QGJ+U6FFm0AK/o7Du9YnRNOo9DnjedaKRYSQ79DRML2gOMld+NtQeq76ChBJXGBGkC2HCrw/i2DL9OtBfRqKvoCTvAtV8whjPxIggzR8+1Sc44x/0KrYL95vaUlKTMYOvbh1wJU5YC782zdY50TPgY55jzrXYiuSKD2F0KYebfCZCt3SCc4dVmBtLl6dn8XbU5NEXL3Y9eCmhbB1asgFqzc4mKCXJsdqmykT+ms4aDGEtTvBue0sQLtL9cAo5dVPPs7aUwZLvVwGnj4ENzwDW6fZAzu87YgXZ66laqlMpMOGoJs6wLXzgg9aBKWMkdEl/9LEB01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rTQNUakPt2cPupw859mjmZFEmsvECtC9Qz2u3Xsx5mjUcWG0LvnO2hbHu6uaEKO6UhE13flr1RagB2uBihMXCEf7IiLF5Y5A6P5STUH0CXpo0CtidJuAP20OZiqcNo8nxb/9zfE1IaOFEH1z0Irw8f9mZ+EGJKQj/lFBFI2LBSpNGhoTHaqZAUvyH5Sfvb8PAQXM6MK7f4gzsFO07y55z3HO0bMQ95d4+lUpZwlKZizugmOAwBDw0IeaTGyfvf4SfuQwVhbDgIkrt3Nz20hsNr2OdOdSXakNTE0DKHuEHrmY63vTZ9dMP3jcKLRwYAlcjrZ3iLinesxzBj+Ev7K30o+vVoJk9r6zCD0mI2V5+pv69SKCFO+PgwtpsZljnX8X5flQ0oxGC759CVOik+F3lD+V3IoUW4yMDxwFVq4s6G51sFT7ZDgsHkQrvcKnVgyTG7nKBcx1cWSu+r0QsEYOLCBVzxjW7CXkDs3ZKZC6SqOxuEyNxMfvLnbVrbSffckYytrdtVODCwdWC9MYGBZbgs+mcUXjW4eK8pnVPeUH2arCYo96JivhRg4vBVUWZnSVK5TzccuLOjeiCdF0YdzNb/e5rsW1rcXuqayv8GpE+gasBioo8zlrHy1jnV+DH5NuBQQU0Luab+NXthbJ61xr4Jro5HegXffaf5JTVJNAGRxbhbByXpFjOlGbgrLKZyHZxd/ov0oCngQwYzsB/FYmcclN/p/MAAAAASUVORK5CYII=\"","import axios from \"axios\";\nimport { Header } from \"./auth-header\";\nimport { history } from \"react-router\";\n\nconst getAccessToken = async () => {\n const token =\n sessionStorage.getItem(\"isSuperUser\") &&\n sessionStorage.getItem(\"tenantName\") == null\n ? sessionStorage.getItem(\"adminToken\")\n : sessionStorage.getItem(\"userToken\");\n\n return token;\n};\n\nconst APIv2 = axios.create({\n baseURL: process.env.REACT_APP_API_URL_v2\n ? process.env.REACT_APP_API_URL_v2\n : \"https://api.simplicapital.ai/api/\",\n \n\n});\n\nAPIv2.interceptors.request.use(\n async (config) => {\n config.headers[\"Authorization\"] = `${\n \"Bearer\" + \" \" + (await getAccessToken())\n }`;\n return config;\n },\n (error) => {\n Promise.reject(error);\n }\n);\n\nAPIv2.interceptors.response.use(\n (res) => {\n if (res.status === 500) {\n alert(\"something went wrong\");\n }\n\n if (res.status === 401) {\n alert(\"something went wrong\");\n }\n\n return Promise.resolve(res);\n },\n (e) => {\n // alert(\"something went wrong\");\n return Promise.reject(e);\n }\n);\n\n//Log API calls\naxios.interceptors.request.use((req) => {\n // you must return the request object after you are done\n return req;\n});\n\naxios.interceptors.response.use((res) => {\n // you must return the response object after you are done\n return res;\n});\n\nexport default APIv2;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport ToggleButton from \"react-toggle-button\";\n\nexport default function ToggleButtonComponent({ value, setToggle, ...props }) {\n // const [toggle, setToggle] = useState(false);\n return (\n {\n setToggle(!value);\n }}\n />\n );\n}\n","import React from \"react\";\nimport styled, { css } from \"styled-components\";\nimport { OverlayTrigger, Button, Row, Col, Form } from \"react-bootstrap\";\nimport DateRangePicker from \"@wojtekmaj/react-daterange-picker\";\nimport moment from \"moment\";\nimport { useState, useRef, useEffect, useCallback } from \"react\";\nimport { CalendarIcon, ArrowDownIcon, IconCross } from \"assets/icons.js\";\nimport SelectFilter from \"ui/SelectFilter\";\nimport {\n StyledCheckbox,\n StyledButton,\n ClearButton,\n StyleSelect,\n Popover,\n} from \"filters/Style\";\nimport BSCheckbox from \"ui/BSCheckbox\";\n\nconst popoverPanel = (\n handleResetFilter,\n company,\n handleCompanyName,\n handleSupplierName,\n SupplierData,\n supplierName\n) => (\n \n \n Supplier\n \n {\n return {\n label: supplier,\n value: supplier,\n };\n })}\n onChange={handleSupplierName}\n />\n \n\n Company Name\n \n \n Clear\n \n \n \n);\nconst FilterSupplier = ({ handleFilterData, SupplierData }) => {\n const [supplierName, setSupplierName] = useState(\"\");\n const [company, setCompany] = useState(\"\");\n\n const handleSupplierName = (e) => {\n setSupplierName(e);\n const FilterData = { supplierName: e.value };\n handleFilterData(FilterData);\n };\n\n const handleCompanyName = (e) => {\n setCompany(e.target.value);\n const FilterData = { company: e.target.value };\n handleFilterData(FilterData);\n };\n\n const handleResetFilter = () => {\n setSupplierName(\"\");\n setCompany(\"\");\n const FilterData = {\n supplierName: \"\",\n company: \"\",\n };\n handleFilterData(FilterData);\n };\n\n return (\n <>\n \n \n Filter\n \n \n \n \n );\n};\nexport default FilterSupplier;\n","import React, { useState } from \"react\";\nimport { Modal } from \"ui/Modal\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { Form, InputwithLabel, Formik } from \"ui/forms\";\nimport * as Yup from \"yup\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { ModalSection, StyledModal } from \".\";\nimport { EditIcon, IconCheckCircle } from \"assets/icons\";\nimport { useUpdateSupplier } from \"mutations/updateSupplier\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\n\nexport default function StripeModal({ show, onHide, currentSelectedSupplier }) {\n const supplierUpdate = useUpdateSupplier();\n const [errorMessage, setErrorMessage] = useState(\"\");\n const supplierId = currentSelectedSupplier?.supplierId;\n const handleStripeDetails = (values) => {\n supplierUpdate\n .mutateAsync({ supplierId, values })\n .then(() => {\n setErrorMessage(null);\n onHide();\n // setShowStripe(false)\n })\n .catch(function (error) {\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n };\n return (\n \n \n \n

    Setup a connection with stripe

    \n
    \n \n Account Verified\n \n Edit Account\n
    \n
    \n \n {\n setSubmitting(true);\n handleStripeDetails(values);\n setSubmitting(false);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\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 Verify\n \n \n \n \n \n \n \n Save\n \n {\n onHide();\n // setShowStripe(false)\n }}\n >\n Cancel\n \n \n \n \n )}\n \n
    \n
    \n
    \n );\n}\n","import React from \"react\";\nimport { Modal } from \"ui/Modal\";\nimport { StyledModal } from \".\";\nimport SupplierForm from \"./SupplierForm\";\n\n\nexport default function ManageDefault({ show, onHide }) {\n return (\n \n \n \n

    Settings

    \n
    \n \n \n \n
    \n
    \n );\n}\n","export const dummyData = [\n {\n \"_id\": \"62d68fb3d2401d208cc98d89\",\n \"address\": \"\",\n \"supplier\": \"Bob's Burger Joint\",\n \"company\": \"\",\n \"email\": \"\",\n \"supplierId\": \"56\",\n \"metaData\": {\n \"createdTime\": \"2021-11-06T14:28:52-07:00\",\n \"lastUpdatedTime\": \"2022-04-13T04:14:30-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"Bob's Burger Joint\",\n \"balance\": 190,\n \"active\": true,\n \"accoutNumber\": \"12345678\",\n \"primaryPhone\": \"\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8a\",\n \"address\": {\n \"Id\": \"31\",\n \"Line1\": \"15 Main St.\",\n \"City\": \"Palo Alto\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94303\",\n \"Lat\": \"37.445013\",\n \"Long\": \"-122.1391443\"\n },\n \"supplier\": \"Books by Bessie\",\n \"company\": \"Books by Bessie\",\n \"email\": \"Books@Intuit.com\",\n \"supplierId\": \"30\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:07:56-07:00\",\n \"lastUpdatedTime\": \"2022-02-20T22:06:24-08:00\"\n },\n \"givenName\": \"Bessie\",\n \"familyName\": \"Williams\",\n \"printOnCheckName\": \"Books by Bessie\",\n \"balance\": 500,\n \"active\": true,\n \"accoutNumber\": \"1345\",\n \"primaryPhone\": \"(650) 555-7745\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8b\",\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"supplierId\": \"31\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:12:02-07:00\",\n \"lastUpdatedTime\": \"2022-01-27T07:23:29-08:00\"\n },\n \"givenName\": \"Nick\",\n \"familyName\": \"Brosnahan\",\n \"printOnCheckName\": \"Brosnahan Insurance Agency\",\n \"balance\": 6241.23,\n \"active\": true,\n \"accoutNumber\": \"7653412\",\n \"primaryPhone\": \"(650) 555-9912\",\n \"mobile\": \"(650) 555-9874\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8c\",\n \"address\": {\n \"Id\": \"33\",\n \"Line1\": \"10 Main St.\",\n \"City\": \"Palo Alto\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94303\",\n \"Lat\": \"37.445013\",\n \"Long\": \"-122.1391443\"\n },\n \"supplier\": \"Cal Telephone\",\n \"company\": \"Cal Telephone\",\n \"email\": \"\",\n \"supplierId\": \"32\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:13:24-07:00\",\n \"lastUpdatedTime\": \"2021-10-23T12:55:23-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"Cal Telephone\",\n \"balance\": 0,\n \"active\": true,\n \"primaryPhone\": \"(650) 555-1616\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8d\",\n \"address\": \"\",\n \"supplier\": \"Chin's Gas and Oil\",\n \"company\": \"Chin's Gas and Oil\",\n \"email\": \"\",\n \"supplierId\": \"33\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:13:52-07:00\",\n \"lastUpdatedTime\": \"2021-10-16T10:13:52-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"Chin's Gas and Oil\",\n \"balance\": 0,\n \"active\": true,\n \"primaryPhone\": \"\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8e\",\n \"address\": \"\",\n \"supplier\": \"Cigna Health Care\",\n \"company\": \"Cigna Health Care\",\n \"email\": \"\",\n \"supplierId\": \"34\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:14:48-07:00\",\n \"lastUpdatedTime\": \"2021-10-16T10:14:48-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"Cigna Health Care\",\n \"balance\": 0,\n \"active\": true,\n \"accoutNumber\": \"123456789\",\n \"primaryPhone\": \"(520) 555-9874\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\",\n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\", \n \"subRows\": [\n {\n \"address\": {\n \"Id\": \"32\",\n \"Line1\": \"P.O. Box 5\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"43.8249453\",\n \"Long\": \"-79.2639122\"\n },\n \"supplier\": \"Brosnahan Insurance Agency\",\n \"company\": \"Brosnahan Insurance Agency\",\n \"email\": \"\",\n \"subRows\":[]\n }\n ]\n }\n ]\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d8f\",\n \"address\": {\n \"Id\": \"34\",\n \"Line1\": \"1515 Main St.\",\n \"City\": \"Middlefield\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94482\",\n \"Lat\": \"37.3787808\",\n \"Long\": \"-122.1158227\"\n },\n \"supplier\": \"Computers by Jenni\",\n \"company\": \"Computers by Jenni\",\n \"email\": \"Msfixit@Intuit.com\",\n \"supplierId\": \"35\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:16:29-07:00\",\n \"lastUpdatedTime\": \"2021-10-16T10:16:29-07:00\"\n },\n \"givenName\": \"Jenni\",\n \"familyName\": \"Winslow\",\n \"printOnCheckName\": \"Computers by Jenni\",\n \"balance\": 0,\n \"active\": true,\n \"primaryPhone\": \"(650) 555-8721\",\n \"mobile\": \"(650) 111-5648\",\n \"stripeDetails\": \"\"\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d90\",\n \"address\": \"\",\n \"supplier\": \"Diego's Road Warrior Bodyshop\",\n \"company\": \"Diego's Road Warrior Bodyshop\",\n \"email\": \"\",\n \"supplierId\": \"36\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:16:54-07:00\",\n \"lastUpdatedTime\": \"2021-10-21T11:31:42-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"Diego's Road Warrior Bodyshop\",\n \"balance\": 755,\n \"active\": true,\n \"primaryPhone\": \"\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\"\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d91\",\n \"address\": \"\",\n \"supplier\": \"EDD\",\n \"company\": \"EDD\",\n \"email\": \"\",\n \"supplierId\": \"37\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:17:10-07:00\",\n \"lastUpdatedTime\": \"2021-10-16T10:17:10-07:00\"\n },\n \"givenName\": \"\",\n \"familyName\": \"\",\n \"printOnCheckName\": \"EDD\",\n \"balance\": 0,\n \"active\": true,\n \"primaryPhone\": \"\",\n \"mobile\": \"\",\n \"stripeDetails\": \"\"\n },\n {\n \"_id\": \"62d68fb3d2401d208cc98d92\",\n \"address\": {\n \"Id\": \"35\",\n \"Line1\": \"45896 Main St.\",\n \"City\": \"Middlefield\",\n \"Country\": \"USA\",\n \"CountrySubDivisionCode\": \"CA\",\n \"PostalCode\": \"94303\",\n \"Lat\": \"37.445013\",\n \"Long\": \"-122.1391443\"\n },\n \"supplier\": \"Ellis Equipment Rental\",\n \"company\": \"Ellis Equipment Rental\",\n \"email\": \"Rental@intuit.com\",\n \"supplierId\": \"38\",\n \"metaData\": {\n \"createdTime\": \"2021-10-16T10:19:42-07:00\",\n \"lastUpdatedTime\": \"2021-10-16T10:19:42-07:00\"\n },\n \"givenName\": \"Julie\",\n \"familyName\": \"Ellis\",\n \"printOnCheckName\": \"Ellis Equipment Rental\",\n \"balance\": 0,\n \"active\": true,\n \"accoutNumber\": \"39765\",\n \"primaryPhone\": \"(650) 555-3333\",\n \"mobile\": \"(650) 445-3333\",\n \"stripeDetails\": \"\"\n }\n]","import React, { useState} from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport {\n IconStripe,\n UpIcon,\n ArrowDownIcon,\n IconPencilEdit,\n EditIcon,\n} from \"assets/icons\";\nimport { BasicButton } from \"ui/Buttons\";\nimport Filter from \"ui/FilterSupplier\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table, { StyledSubRows } from \"ui/table\";\nimport { useSuppliers } from \"queries/suppliers\";\nimport StripeModal from \"./StripeModal\";\nimport ManageDefault from \"./ManageDefault\";\nimport ManageSetting from \"./ManageSetting\";\nimport useDebounce from \"hooks/useDebounce\";\nimport { dummyData } from \"./DummyDate\";\nimport { Authorise } from \"helpers/Authorization\";\nimport SupplierDiscountModal from \"./SupplierDiscountModal\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { GetSupplierDiscount,StrategicAdd } from \"mutations/adddiscount\";\nimport { useRef } from \"react\";\n\nconst ExpandIcon = styled.div`\n display: flex;\n cursor: pointer;\n .icon {\n width: 8px;\n height: 6px;\n align-items: center;\n justify-content: center;\n path {\n fill: #33c2df;\n }\n }\n`;\nconst TopSection = styled.div``;\nconst FilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\n\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n .skip-button {\n float: right;\n background: none;\n border: 2px solid #909090;\n }\n padding: 20px;\n`;\nconst DiscountIcon = styled.div`\n path {\n fill: #33c2df;\n }\n`;\nexport default function SupplierListing(props) {\n const [showManageSettings, setShowManageSettings] = useState(false);\n const hideModalManageSettings = () => setShowManageSettings(false);\n const [showDefault, setShowDefault] = useState(false);\n const hideModalDefault = () => setShowDefault(false);\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n const [addeddiscountData, setaddeddiscountData] = useState(null);\n const [currentSelectedSupplier, setCurrentSelectSupplier] = useState(null);\n const addsupplierstrategic = StrategicAdd();\n const [filterData, setFilterData] = useState({\n supplierName: \"\",\n company: \"\",\n sortOn: \"supplier\",\n sortOrder: \"asc\",\n });\n const debouncedfilterData = useDebounce(filterData, 500);\n const [showStripe, setShowStripe] = useState(false);\n const hideModalStripe = () => setShowStripe(false);\n //discount modal\n const [showDiscountModal, setDiscountModal] = useState(false);\n\n const makeid = (length) => {\n let result = \"\";\n const characters =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n const charactersLength = characters.length;\n let counter = 0;\n while (counter < length) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n counter += 1;\n }\n return result;\n };\n const onDiscountModalHide = async () => {\n setaddeddiscountData(null);\n setDiscountModal(false);\n handlePageChange(null);\n let value = makeid(3);\n filterData.toreload = value\n setFilterData({ ...filterData, ...filterData });\n setinitialPage(page);\n\n };\n let loader = useRef({});\n\n const { data: suppliers, isLoading: isLoadingSuppliers } = useSuppliers(\n page,\n debouncedfilterData\n );\n const tableData = suppliers ? suppliers.rows : [];\n const TotalRowsCount = suppliers ? suppliers.count : \"\";\n const SuppliersList = suppliers ? suppliers.suppliers : [];\n const rowClick = (row) => {\n return (null); \n };\n const onHeaderClick = (column) => {\n filterData.sortOn = column.id;\n filterData.sortOrder = filterData.sortOrder === \"desc\" ? \"asc\" : \"desc\";\n setFilterData({ ...filterData, ...filterData });\n };\n\n const handlePageChange = (page) => {\n setPage(page);\n setinitialPage(page);\n };\n\n const updateTableData = (updatedFilterData) => {\n setPage(0);\n setinitialPage(0);\n setFilterData({ ...filterData, ...updatedFilterData });\n };\n\n const UseGetSupplierDiscount = GetSupplierDiscount();\n\n const apicallandopen = async (val) => {\n let body = {\n supplierid: val.supplierId\n }\n UseGetSupplierDiscount\n .mutateAsync({ body })\n .then((response) => {\n loader.current = {};\n if (response && response?.data) {\n setaddeddiscountData(response.data);\n }\n setDiscountModal(true);\n\n })\n .catch(function (error) {\n setDiscountModal(true);\n });\n\n };\n\n const handelCheckBox = (props, val) => {\n \n let value = makeid(3);\n\n let body = {\n supplierId: props.supplierId,\n strategic: val\n };\n\n addsupplierstrategic\n .mutateAsync({ body })\n .then((note) => {\n \n\n let flterdata = { ...filterData, toreload: value };\n \n\n setFilterData(flterdata);\n })\n .catch(function (error) { });\n };\n \n const data = React.useMemo(() => dummyData, []);\n const columns = React.useMemo(\n () => [\n {\n Header: \"Supplier\",\n accessor: \"supplier\",\n id: \"supplier\",\n Cell: ({ row, cell }) =>\n row.canExpand ? (\n \n {row.isExpanded ? (\n \n
    \n \n
    \n {\" \"}\n {cell.value}\n
    \n ) : (\n \n
    \n \n
    \n {\" \"}\n {cell.value}\n
    \n )}\n \n ) : (\n {cell.value}\n ),\n },\n\n {\n Header: \"Email\",\n accessor: \"email\",\n id: \"email\",\n width: 300,\n },\n {\n Header: \"City/State/Country\",\n accessor: \"address\",\n id: \"address\",\n width: 300,\n\n Cell: (props) => (\n <>\n
    \n {props.row.values.address.Line1},{props.row.values.address.City}\n
    \n \n ),\n },\n {\n Header: \"Company\",\n accessor: \"company\",\n id: \"company\",\n width: 300,\n },\n {\n Header: \"Strategic\",\n accessor: \"strategic\",\n id: \"strategic\",\n width: 100,\n Cell: (props) => (\n {\n handelCheckBox(props.row.original, e.target.checked);\n }}\n />\n ),\n },\n {\n Header: \"Discount Programs\",\n id: \"discountPrograms\",\n // show:forFutureRelease,\n accessor: \"discountPrograms\",\n width: 100,\n\n disableSortBy: true,\n Cell: (props) => (\n <>\n \n
    \n {props.row.values.discountPrograms && {props.row.values.discountPrograms}}\n\n \n {\n apicallandopen(props.row.original);\n setCurrentSelectSupplier(props.row.original);\n let temploader = {};\n temploader[props.row.original.supplierId] = true;\n loader.current = temploader;\n }}\n font-size=\"14px\"\n />\n \n
    \n
    \n {loader?.current !== null &&\n Object.keys(loader.current).length > 0 &&\n loader?.current[props.row.original.supplierId] === true && (\n
    \n
    \n
    \n
    \n
    \n )}\n \n ),\n },\n {\n id: \"action\",\n Header: \"Action\",\n show:forFutureRelease,\n width: 300,\n disableSortBy: true,\n Cell: (props) => (\n <>\n }\n >\n {\n setCurrentSelectSupplier(props.row.original);\n setShowStripe(true);\n }}\n style={{ marginRight: \"2px\" }}\n font-size=\"16px\"\n />\n \n setShowManageSettings(true)}\n >\n Manage Settings\n \n \n \n ),\n },\n ],\n [filterData,UseGetSupplierDiscount]\n );\n\n return (\n <>\n \n \n \n

    \n Here are your Suppliers. In this section, you can choose to add\n approvers for outgoing payments. If you know your Supplier bank\n details, you can also set them up to receive digital payments\n

    \n \n \n \n \n\n {forFutureRelease && }\n >\n setShowDefault(true)}\n type=\"button\"\n width=\"150px\"\n >\n Manage defaults\n \n }\n \n \n
    \n
    \n \n \n \n \n \n \n \n {currentSelectedSupplier && (\n \n )}\n \n \n \n \n );\n}\n","import React, { useState, useContext, useRef } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport { useHistory } from \"react-router-dom\";\nimport StepperComponent from \"../Stepper\";\n//import StatusBarComponent from \"ui/StatusBar\";\nimport { UIContext } from \"context/UIContext\";\nimport SupplierListing from \"./SupplierListing\";\nimport { Route_URLs } from \"routesURLs\";\nimport { useProfile } from \"queries/profile\";\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\nexport const StyledInputWithLabel = styled.div`\n .error-message {\n display: block !important;\n }\n`;\n\nexport const StyledModal = styled.div`\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n margin: 0 10px;\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n .account-verification {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n color: #909090;\n margin-right: 30px;\n margin-left: 5px;\n }\n svg {\n path {\n fill: #33c2df;\n }\n }\n }\n`;\nexport const ModalSection = styled.div`\n border-bottom: 1px solid #707070;\n padding: 10px;\n .range {\n font-family: Montserrat Alternates;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n .labels {\n font-family: Montserrat Alternates;\n font-size: 10px;\n line-height: 25px;\n color: rgba(255, 255, 255, 0.55);\n }\n .inner-div {\n display: flex;\n align-items: baseline;\n .form-field {\n margin-bottom: 0px;\n }\n }\n\n .modal-input {\n height: 25px !important;\n border-radius: 0px !important;\n margin: 0px 5px !important;\n font-size: 9px !important;\n }\n .align-right {\n text-align: right;\n }\n`;\n\nexport const ApprovalReminders = styled.div`\n background-color: rgba(255, 255, 255, 0.18);\n padding: 5px;\n`;\nexport const ApprovalRemindersDiv = styled.div`\n background-color: rgba(255, 255, 255, 0.08);\n padding: 5px;\n margin: 5px 0px;\n`;\n\nconst StyledCard = styled.div``;\nconst OuterDiv = styled.div`\n padding: 0px 20px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 14px;\n line-height: 18px;\n }\n`;\n\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n .skip-button {\n float: right;\n background: none;\n border: 2px solid #909090;\n }\n padding: 20px;\n`;\n\nfunction SupplierPayment(props) {\n let history = useHistory();\n const { onBoarding, setOnBoarding } = useContext(UIContext);\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n return (\n <>\n \n \n \n \n \n {/* */}\n

    Supplier Payment Approvals

    \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n\n \n {userRole != 'simplipay' && \n history.push(Route_URLs.setup_dispute_management)\n }\n >\n Back\n }\n\n {\n onBoarding\n ? history.push(Route_URLs.profile)\n : history.push(Route_URLs.dashboard);\n }}\n >\n {onBoarding ? \"Go to Profile\" : \"Go to Dashboard\"}\n \n \n \n
    \n
    \n \n );\n}\nexport default SupplierPayment;\n","import { apiURL, awsExportUrl } from \"utils/base-url\";\nimport axios from \"utils/APIv2\";\nimport BaseService from \"./baseClass.services\";\n\nclass Operationservice extends BaseService {\n getTenantsForLogin = async () => {\n const res = await axios.get(`/operations/list/tenant`);\n return res.data;\n };\n\n getCustomersForLogin = async () => {\n const res = await axios.get(`/operations/list/customer`);\n return res.data;\n };\n\n getUsers = async () => {\n const res = await axios.get(`/operations/users`);\n return res.data;\n };\n\n getTenantUsers = async (tenantName) => {\n const res = await axios.get(`/operations/${tenantName}/users`);\n return res.data;\n };\n\n getInsights = async (tenantName) => {\n const res = await axios.get(`/operations/${tenantName}/insights`);\n return res.data;\n };\n\n getDailys = async (tenantName) => {\n const res = await axios.get(`/operations/${tenantName}/dailydetails`);\n return res.data;\n };\n\n getMetrics = async (tenantName) => {\n const res = await axios.get(`/operations/${tenantName}/metrics`);\n return res.data;\n };\n\n getReportData = async (tenantName) => {\n const res = await axios.get(`/operations/${tenantName}/reportData`);\n return res.data;\n };\n\n addTestPoc = async (tenantName, body) => {\n const res = await axios.post(\n `/operations/${tenantName}/updateTestPoc`,\n body\n );\n return res.data;\n };\n\n getCustomersForLogin = async () => {\n const res = await axios.get(`/operations/list/customer`);\n return res.data;\n };\n\n loginAsTenant = async (body) => {\n const res = await axios.post(`/operations/login/tenant`, body);\n return res.data;\n };\n\n loginAsCustomer = async (body) => {\n const res = await axios.post(`/operations/login/customer`, body);\n return res.data;\n };\n\n register = async (body) => {\n const res = await axios.post(`/operations/register`, body);\n return res.data;\n };\n\n verify = async (body) => {\n const res = await axios.post(`/operations/verify`, body);\n return res.data;\n };\n\n verifyOtp = async (body) => {\n const res = await axios.post(`/operations/verifyOtp`, body);\n return res.data;\n };\n\n activateTenant = async (body) => {\n const res = await axios.post(`/operations/activateTenant`, body);\n return res.data;\n };\n\n deActivateTenant = async (body) => {\n const res = await axios.post(`/operations/deActivateTenant`, body);\n return res.data;\n };\n\n deleteSuperUser = async (body) => {\n const res = await axios.post(`/operations/delete`, body);\n return res.data;\n };\n updatePaymentAccess = async (body) => {\n const res = await axios.post(`/operations/payment-access`, body);\n return res.data;\n };\n updateDataLoad = async (body) => {\n const res = await axios.post(`/operations/load`, body);\n return res.data;\n };\n\n reportDownloads = async (tenant, file) => {\n const res = await axios.get(\n `${apiURL}/operations/export?tenant=${tenant}&file=${file}`\n );\n return res.data.downloadUrl;\n };\n}\nexport default new Operationservice();\n","import React from \"react\";\nimport { useQueryClient, useMutation, useQuery } from \"react-query\";\nimport { updateCustomers,updateCustomersBilling } from \"services/customer.services\";\nimport customersServices from \"services/customers.services\";\n\nexport const useUpdateCustomer = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({ customerId, values }) => updateCustomers(customerId, values),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"customers\");\n },\n }\n );\n};\nexport const useUpdateCustomerBillingDetails = () => {\n const queryClient = useQueryClient();\n return useMutation(\n (body) => updateCustomersBilling(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"customers\");\n },\n }\n );\n};\n\nexport const GenerateSessionToken = (data) => {\n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.GenearteSessionTokenData(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"sessiontoken\");\n },\n }\n );\n};\n\nexport const GenerateCheckSum = (data) => {\n\n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.GenearteCheckSumData(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"checksum\");\n },\n }\n );\n};\n\n\nexport const SaveTransactionPayment = (data) => {\n\n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.saveTransactionPaymentPage(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"saveTransactionPayment\");\n },\n }\n );\n\n};\n\nexport const GetCustomerInvoice = (data) => {\n\n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.getCustomerInvoiceData(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"getCustomerInvoiceData\");\n },\n }\n );\n\n};\n\nexport const SaveTransactionPaymentcustomer = (data) => {\n\n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.transactionStatusData(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"saveTransactionPayment\");\n },\n }\n );\n\n};\nexport const GeneratePaymentPageReceipt = (filterData) => {\n // const queryClient = useQueryClient();\n return useQuery(\n [\"payment_page_receipt\", { filterData }],\n () => customersServices.GetPaymentPageReceiptData(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );}\n\n export const GetGuestPaymentDetails = (filterData)=>{\n return useQuery(\n ['guestDetails',{filterData}],\n ()=> customersServices.getGuestPaymentDetails(filterData)\n )\n }\n export const CreateGuestPageChecksum = (filterData)=>{\n \n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.createGuestPageChecksum(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"guest_checksum\");\n },\n }\n );\n }\n \n export const CreateGuestPageSessionToken = (filterData)=>{\n \n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.createGuestPageSessionToken(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"guest_sessionToken\");\n },\n }\n );\n }\n \n export const SaveTransactionGuestPage = (filterData)=>{\n \n const queryClient = useQueryClient();\n return useMutation(\n (data) => customersServices.saveTransactionGuestPage(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"saveTransactionGuestPage\");\n },\n }\n );\n }\n export const GenerateGuestPageReceipt = (filterData) => {\n // const queryClient = useQueryClient();\n return useQuery(\n [\"payment_page_receipt\", { filterData }],\n () => customersServices.GetGuestPageReceiptData(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n };\n \n export const GetGuestPageInvoice = () => {\n const queryClient = useQueryClient();\n return useMutation((data)=> customersServices.GetGuestPageInvoice(data),{\n onSuccess:(res)=>{\n queryClient.invalidateQueries('guestPageInvoice');\n \n }\n }\n );\n };\n export const GetCardTokenCustomer = (token)=>{\n // const queryClient = useQueryClient()\n return useQuery([\"getCardTokenCustomer\",{token}],()=>customersServices.getCardTokenCustomer(token)\n ,{\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n })\n }\n \n export const SaveCardTokenCustomer = ()=>{\n const queryClient = useQueryClient();\n return useMutation((data)=>customersServices.saveCardTokenCustomer(data),{\n onSuceess:(res)=>{\n queryClient.invalidateQueries(\"storePaymentLogsCustomer\")\n \n }})\n }\n\n export const CardTokenPaymentPage = (token)=>{\n // const queryClient = useQueryClient()\n console.log(\"token--->\",token)\n return useQuery([\"cardTokenPaymentPage\",{token}],()=>customersServices.cardTokenPaymentPage(token)\n ,{\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n })\n }\n \n \n export const SaveCardTokenPaymentPage = ()=>{\n const queryClient = useQueryClient();\n return useMutation((data)=>customersServices.saveCardTokenPaymentPage(data),{\n onSuceess:(res)=>{\n queryClient.invalidateQueries(\"SaveCardTokenPaymentPage\")\n \n }})\n }","import axios from \"utils/APIv2\";\n\nexport const getLinkToken = async () => {\n return await axios.get(`/bank-settings/create_link_token`);\n};\n\nexport const getAUserAllBankingDetails = async () => {\n const res = await axios.get(`/bank-settings`);\n return res.data;\n};\n\nexport const getUserCashInBank = async () => {\n const res = await axios.get(`/bank-settings/get-cash-in-bank`);\n return res.data;\n};\n\nexport const getUserCashInBankForForecast = async () => {\n const res = await axios.get(`/bank-settings/get-cash-in-bank-forecast`);\n return res.data;\n};\n\nexport const exchangePublicTokenForAccessToken = async (publicToken) => {\n return await axios.post(`/bank-settings/set_access_token`,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n },\n body: publicToken,\n }\n );\n};\n\nexport const setAllTokensForUserBankAccount = async (data) => {\n return await axios.post(`/bank-settings/save_bank_details`,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n },\n body: data,\n }\n );\n};\n\nexport const removeABankAccount = async (data) => {\n return await axios.post(`/bank-settings/remove_bank_details`,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n },\n body: data,\n }\n );\n};\n\nexport const updateBankForForecasting = async (data) => {\n return await axios.post(`/bank-settings/add-bank-to-forecast`,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n },\n body: data,\n }\n );\n};\n\nexport const updateBankForReauthorisation = async (data) => {\n return await axios.post(`/bank-settings/reauthorise-bank`,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n },\n body: data,\n }\n );\n};","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASoAAAAnCAYAAAC40wVFAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAABKqADAAQAAAABAAAAJwAAAADgEPVhAAAh8ElEQVR4Ae1dCWBVxdU+c+9972UP+xIQElBAwhZIZU8Im1tpqxVaWmvVWmn/altra4sbz+La2mL/Wn+Xtq60Ci6/VakbxJAEUCFsBhAxCUsCSECWkOQt987/zXt5yd3elgR+oG/g5c5y5szcMzNnzpw5M5dRJ7jc4uo+SRL9jRhdxjkVq37v9zbPGFpri9rtlogKByDtALmLmm1hEpEJCiQokKCAjgJgGh1zQ8t2pLtk9oJgUgITY1QkOxwv5r5d2c2C2V2sEM26nZhjF5HjCbp5hcsCk4hIUCBBgQQFTBToGKMq5kqqlvQaEZ9uxMsmu1KSV5y/4rM2RiQkKeZYSIy7wc5kcLSrqUfmUmO+RChBgQQFEhSwUoBZo2KLERKTKyV1GRhPEeNkYXgc3AuulGvs65tKnj1ObNZdwHwnfpCqWp1KnP5Bx2oX0JJ5Ta2xZ5in/7K9yftorZfmzVPPsKqdldURE9iuBi+nebnes/IFzrRKu7lEx9a6aMmkM3YMdZRk7WJUucWVfZxSyotY5hUAQVgcglmRphV/snr/Oi9nt6GyeibVUnemAepJIuet5M5v7OgLdVr+J9Y7xuZ2u4JU9nO8YRZe5RiR9ILnwMk/VSYGWLvInFdaNZpx6TeM+EXoGyr0mZjImhdvKrqwpl0I/9MzXVucRDmOHxNn16CPdsU4qiWmPUq1yS/Tk/m+c4k8YZlMuJccU1zdRZLoFTAp03LPmoNrnPwf11D9hgPq/iEDJC4jV3j3J/qk9jZaPu+MmGXHllR/C7V9UV/dAOMlerZi1bM/ILdb06f9p/l7LqtMy+qdPAlLeEObql6+6ZOZgw6a6XHh6pq+y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{ createContext } from \"react\";\nexport const QuickBookConnectionContext = createContext(null);\n","import { createContext } from \"react\";\nexport const UserContext = createContext(null);\n","export default __webpack_public_path__ + \"static/media/placeholder-image.e03a35db.png\";","export default __webpack_public_path__ + \"static/media/MontserratAlternates-Regular.a14e717f.ttf\";","export default __webpack_public_path__ + \"static/media/MontserratAlternates-Bold.bf8eb3e8.ttf\";","export default __webpack_public_path__ + \"static/media/MontserratAlternates-Medium.9da60aa1.ttf\";","export default __webpack_public_path__ + \"static/media/MontserratAlternates-SemiBold.7dbc88eb.ttf\";","import { createGlobalStyle } from \"styled-components\";\n\nimport Montserrat from \"./MontserratAlternates-Regular.ttf\";\nimport MontserratBold from \"./MontserratAlternates-Bold.ttf\";\nimport MontserratMedium from \"./MontserratAlternates-Medium.ttf\";\nimport MontserratSemiBold from \"./MontserratAlternates-SemiBold.ttf\";\n\nexport default createGlobalStyle`\n @font-face {\n font-family: 'Montserrat Alternates';\n src: local('Montserrat Alternates'),\n url(${Montserrat}) format('truetype');\n \n }\n @font-face {\n font-family: 'Montserrat Alternates-Bold';\n src: local('Montserrat Alternates'),\n url(${MontserratBold}) format('truetype');\n \n }\n @font-face {\n font-family: 'Montserrat Alternates-semiBold';\n src: local('Montserrat Alternates'),\n url(${MontserratSemiBold}) format('truetype');\n \n }\n @font-face {\n font-family: 'Montserrat Alternates-Medium';\n src: local('Montserrat Alternates'),\n url(${MontserratMedium}) format('truetype');\n \n }\n \n`;\n","export default __webpack_public_path__ + \"static/media/Oracle_NetSuite_Logo.a52e9867.png\";","export default __webpack_public_path__ + \"static/media/Intuit_QuickBooks_logo.daaf6478.png\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgUAAADQCAMAAACgLuKKAAAC0FBMVEUAAAAAAADy8vJ5enrr6+vq6ure3t6goaGdnp5MTk5eYGCAgYGDhIRzc3O2t7fS09PV1tVaW1t8fX3i4+L09fViZGSio6N1dnbHx8c5OjqRkpKtrq6QkZHu7u7v8vBYWlqKi4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02hECkqg9lvXa63f5qlPBnKC1Aoccdl9gYLj0cA46CWFjg6d8CSooHUcU+n3x7d1RS3a5TdxgUFH1LG3vDJEg4hlGJUFcBCgveVj61FzgbSAdquCrxMERRdlBAymD/EEgUKDf2OIBZUAmEJhJnqsoXhc68cKhQqtjDkTh1FjG5iT5ZdA1wNhLbVe8r6O3ZaQkGQIcrOq9alNuqNisEhOC25vDGHVMZxBdpfyNAyHCLj093QZj8FrlN/UEglGcOL8vbeiypoLZgFwR3FIn/LtYMhICzsZhUgDHxh9vswfIhUOFyBO32lC1R+8uIemymD3x2e4G6t9k+USDuoQoIqpFiVYE96OCZ481JxALOpoZbwOEWcLgFHG4BR1V57gTOpsZb/f7p6l3A2dzk5eXxunMOh8PhcDgcDofD4XA4HA6Hw+FwOBwOh8PhcDgcDofD4XA4HA6HEwv+BcofjRW2gkm8AAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/logo-business-central.8639cc0d.png\";","import axios from \"utils/APIv2\";\n\nexport const getQuickBooksSettings = async () => {\n const res = await axios.get(`/qbo-settings`);\n return res.data;\n};\n\nexport const getQuickBooksDesktopSettings = async (payload) => {\n const res = await axios.post(`/qbo-settings/desktop`, payload);\n return res.data;\n};\n\nexport const setQuickBooksSettings = async (payload) => {\n return await axios.post(`/qbo-settings`, payload);\n};\n\nexport const setQboCode = async (payload) => {\n return await axios.post(`/qbo-settings/generate-tokens`, payload);\n};\n\nexport const getDataFetchStatus = async () => {\n return await axios.get(`/qbo-settings/cronStatus`);\n};\n\nexport const getQBOUri = async () => {\n const res = await axios.get(`/qbo-settings/authUri`);\n return res.data;\n};\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport { Form, Formik, InputwithLabel } from \"ui/forms\";\nimport OracleLogo from \"assets/images/Oracle_NetSuite_Logo.png\";\nimport QBOLogo from \"assets/images/Intuit_QuickBooks_logo.png\";\nimport QBODesktopLogo from \"assets/images/quickbook_destop.png\";\nimport BCLogo from \"assets/images/logo-business-central.png\";\nimport { IconCheck } from \"assets/icons\";\nimport * as Yup from \"yup\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport Card from \"ui/Card\";\nimport StepperComponent from \"./Stepper\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { useHistory } from \"react-router-dom\";\nimport useQuery from \"hooks/useQuery\";\nimport { InfoIcon } from \"assets/icons.js\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { UIContext } from \"context/UIContext\";\nimport { useOrnetSaveSettings } from \"../../mutations/useOrnetSaveSettings\";\nimport { useQuickBooksSaveSettings } from \"mutations/saveQuickBooksSettings\";\nimport { useQuickBooksDesktopSaveSettings } from \"mutations/saveQuickBooksDesktopSettings\";\nimport { setOrnetCode } from \"services/ornet.services\";\nimport { getUserIntegrations } from \"services/user.service\";\nimport { setQboCode } from \"services/quickbooks.services\";\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\nconst StyledCard = styled.div`\n .card {\n background: #444551;\n }\n`;\nconst OuterDiv = styled.div`\n padding: 50px 100px 50px 100px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 20px;\n line-height: 24px;\n }\n`;\n\nconst Innersection = styled.div`\n width: 60%;\n`;\n\nconst TickIcon = styled.div`\n padding: 5px 6px;\n height: 28px;\n width: 28px;\n background-color: ${(props) => props.BackgroundColor};\n border-radius: 50%;\n margin-right: 10px;\n`;\nconst LogoDiv = styled.div`\n width: 150px;\n height: 67px;\n background: #ffffff;\n border: 1px solid #707070;\n border-radius: 20px;\n padding: 20px 10px;\n margin: 10px 0px;\n display: flex;\n flex-direction: column;\n align-content: center;\n justify-content: center;\n align-items: flex-start;\n`;\n\nconst NavigationButtons = styled.div`\n padding: 20px;\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n`;\n\nfunction Connection(props) {\n const { onBoarding } = useContext(UIContext);\n const [initialValues, setInitialValues] = useState({});\n const [selectedLogo, setSelectedLogo] = useState();\n const [connection, setConnection] = useState(\"\");\n const [developerPortalLink, setDeveloperPortalLink] = useState(\"\");\n const [connectionDetails, setConnectionDetails] = useState({});\n const [reConnect, setReConnect] = useState(true);\n const [qbdDownloadUrl, setQbdDownloadUrl] = useState(\"\");\n\n const callBackUrl =\n process.env.REACT_APP_PUBLIC_URL +\n Route_URLs.setup_connect_integration +\n `/${connection}`;\n\n let history = useHistory();\n let query = useQuery();\n\n const code = query.get(\"code\");\n const state = query.get(\"state\");\n const realmId = query.get(\"realmId\");\n const entity = query.get(\"entity\");\n\n const ornetSaveSettings = useOrnetSaveSettings();\n const quickBooksSaveSettings = useQuickBooksSaveSettings();\n const quickBooksDesktopSaveSettings = useQuickBooksDesktopSaveSettings();\n\n const checkConnection = async () => {\n const connectionResponse = await getUserIntegrations();\n if (\n connectionResponse.data != null ||\n connectionResponse.data?.name != \"\"\n ) {\n setConnectionDetails(connectionResponse.data);\n if (\n connectionResponse.data.name != \"qbd\" &&\n connectionResponse.data?.details?.accessToken &&\n connectionResponse.data?.details?.refreshToken\n ) {\n setReConnect(false);\n } else if (connectionResponse.data?.name == \"qbd\") {\n setReConnect(false);\n } else {\n }\n if (connectionResponse.data?.name == \"oracle\") {\n setConnection(\"oracle\");\n setSelectedLogo(OracleLogo);\n } else if (connectionResponse.data?.name == \"qbo\") {\n setConnection(\"qbo\");\n setSelectedLogo(QBOLogo);\n } else if (connectionResponse.data?.name == \"qbd\") {\n setConnection(\"qbd\");\n setSelectedLogo(QBODesktopLogo);\n }\n }\n setInitialValues(connectionResponse?.data?.details);\n setQbdDownloadUrl(connectionResponse?.data?.details?.downloadUrl);\n };\n\n const saveOrnetCode = async (code, state, realmId) => {\n let payload = {\n code: code,\n state: state,\n realmId: realmId,\n };\n try {\n await setOrnetCode(payload).then((res) => {\n checkConnection();\n });\n } catch (e) {\n console.log(e);\n }\n };\n\n const saveQboCode = async (code, state, realmId) => {\n let payload = {\n code: code,\n state: state,\n realmId: realmId,\n };\n try {\n await setQboCode(payload).then((res) => {\n checkConnection();\n });\n } catch (e) {\n console.log(e);\n }\n };\n\n const saveSettings = async (clientId, clientSecret, companyId) => {\n if (selectedLogo == OracleLogo) {\n let payload = {\n clientId: clientId,\n clientSecret: clientSecret,\n callbackURL: callBackUrl,\n baseURL: `https://${companyId}.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token`,\n refreshTokenURL: `https://${companyId}.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token`,\n companyId: companyId,\n state: \"token_security\",\n environment: \"production\",\n };\n ornetSaveSettings.mutateAsync(payload).then((res) => {\n window.location = res.data.uri;\n });\n } else if (selectedLogo == QBOLogo) {\n let payload = {\n clientId: clientId,\n clientSecret: clientSecret,\n callbackURL: callBackUrl,\n baseURL: \"quickbooks.api.intuit.com\",\n refreshTokenURL:\n \"https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer\",\n companyId: companyId,\n state: \"token_security\",\n environment: \"production\",\n };\n const response = await quickBooksSaveSettings.mutateAsync(payload);\n window.location.href = response.data.url;\n } else if (selectedLogo == BCLogo) {\n } else if (selectedLogo == QBODesktopLogo) {\n let payload = {\n environment: \"production\",\n appId: \"345123\",\n appURL: \"https://sc-qbd-api.simplicapital.ai/wsdl\",\n appSupportURL: \"https://sc-qbd-api.simplicapital.ai/wsdl\",\n scheduler: \"86400\",\n user: \"sc-user\",\n };\n const response = await quickBooksDesktopSaveSettings.mutateAsync(payload);\n //window.location.href = response.data.url;\n setQbdDownloadUrl(response?.downloadUrl);\n }\n };\n\n const handleRadioChange = (event) => {\n setSelectedLogo(event.target.value);\n };\n\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n\n useEffect(async () => {\n checkConnection();\n }, []);\n\n useEffect(() => {\n if (selectedLogo == OracleLogo) {\n setConnection(\"oracle\");\n setDeveloperPortalLink(\n \"https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4393879073.html\"\n );\n } else if (selectedLogo == QBOLogo) {\n setConnection(\"qbo\");\n setDeveloperPortalLink(\n \"https://developer.intuit.com/app/developer/qbo/docs/get-started/get-client-id-and-client-secret\"\n );\n } else if (selectedLogo == BCLogo) {\n setConnection(\"bc\");\n setDeveloperPortalLink(\"businesscentrallink\");\n } else if (selectedLogo == QBODesktopLogo) {\n setConnection(\"qbd\");\n setDeveloperPortalLink(\n \"https://developer.intuit.com/app/developer/qbdesktop/docs/get-started\"\n );\n }\n }, [selectedLogo]);\n\n useEffect(() => {\n if (code && code.length > 0) {\n if (window.location.href.indexOf(\"/oracle\") > -1) {\n saveOrnetCode(code, state, entity);\n } else if (window.location.href.indexOf(\"/qbo\") > -1) {\n saveQboCode(code, state, realmId);\n }\n }\n }, []);\n\n return (\n <>\n \n \n \n \n \n

    \n Let’s configure SimpliCapital for you!\n

    \n \n \n
    \n
    \n \n \n \n \n \n \n {connectionDetails && !reConnect ? (\n \n \n \n \n
    \n

    \n Connection to{\" \"}\n {capitalizeFirstLetter(connectionDetails.name)}{\" \"}\n has been successfully established.\n

    \n {connectionDetails &&\n connectionDetails?.name == \"qbd\" ? (\n

    \n Download your app connection file from here{\" \"}\n \n {\"sc-qbd.qwc\"}\n {\" \"}\n

    \n ) : null}\n
    \n
    \n ) : (\n <>\n

    Hi!

    \n

    Select your integration

    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n {/*
    \n \n
    */}\n
    \n {connection ? (\n <>\n

    \n You can get these details inside your{\" \"}\n \n {connection} Integration\n {\" \"}\n

    \n \n ) : null}\n {\n saveSettings(\n values.clientId,\n values.clientSecret,\n values.companyId\n );\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n }) => (\n
    \n {selectedLogo == QBODesktopLogo ? (\n <>\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\n \n \n ) : (\n <>\n {\" \"}\n \n \n \n \n \n \n \n \n \n \n \n \n \n You are required to copy this URL into your ${connection} integration portal redirect URIs list\n

    `}\n />\n }\n />\n \n
    \n
    \n \n Save\n \n \n )}\n \n )}\n \n \n )}\n \n \n \n \n \n \n history.push(Route_URLs.setup_general_settings)}\n className=\"next-button\"\n type=\"button\"\n width=\"110px\"\n >\n Next\n \n \n \n \n \n \n );\n}\nexport default Connection;\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { setOrnetSettings } from \"services/ornet.services\";\n\nexport const useOrnetSaveSettings = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => setOrnetSettings(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"ornetSettings\");\n },\n });\n};\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { setQuickBooksSettings } from \"services/quickbooks.services\";\n\nexport const useQuickBooksSaveSettings = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => setQuickBooksSettings(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"quickBooksSettings\");\n },\n });\n};\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { getQuickBooksDesktopSettings } from \"services/quickbooks.services\";\n\nexport const useQuickBooksDesktopSaveSettings = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => getQuickBooksDesktopSettings(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"quickBooksDesktopSettings\");\n },\n });\n};\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { setAllGeneralSettings } from \"services/generalSettings.services\";\n\nexport const useAddGeneralSettings = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => setAllGeneralSettings(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"generalSettings\");\n },\n });\n};\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n SimpleSelect,\n DatePickerField,\n TimePickerField,\n Radio,\n} from \"ui/forms\";\nimport { EditIcon, InfoIcon } from \"assets/icons\";\nimport * as Yup from \"yup\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport Toggleicon from \"assets/arrow-down-new.svg\";\nimport { useHistory } from \"react-router-dom\";\nimport StepperComponent from \"./Stepper\";\nimport { useSectors } from \"queries/sectors\";\nimport { useDepartments } from \"queries/departments\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { useGetAUserAllBankingDetails } from \"queries/bankSettings\";\nimport { useAddGeneralSettings } from \"mutations/addGeneralSettings\";\nimport {\n useAddBankSettings,\n useRemoveBankAccount,\n useBankForForecasting,\n useBankForReauthorisation,\n} from \"mutations/addBankSettings\";\nimport { Field, FieldArray, ErrorMessage } from \"formik\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport Loader from \"ui/Loader\";\nimport \"react-json-pretty/themes/monikai.css\";\nimport { updateDepartments } from \"services/departments.service\";\nimport { UIContext } from \"context/UIContext\";\nimport { Route_URLs } from \"routesURLs\";\nimport Tooltip from \"ui/Tooltip\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport moment from \"moment-timezone\";\nimport ToggleButtonComponent from \"ui/ToggleButton\";\nimport { PlaidLink, usePlaidLink } from \"react-plaid-link\";\nimport {\n getLinkToken,\n exchangePublicTokenForAccessToken,\n} from \"services/bankSettings.services\";\nimport { useQueryClient } from \"react-query\";\nimport NumberFormat from \"react-number-format\";\nimport { Label } from \"filters/Style\";\nimport SCLogo from \"assets/logo.png\";\nimport { LockIcon } from \"assets/icons\";\nimport { Modal as BSModal } from \"react-bootstrap\";\nimport CrossIcon from \"assets/icon-cross.svg\";\nimport { DEFAULT_MIN_VERSION } from \"tls\";\nimport {\n GreenClockIconBank,\n AmberClockIconBank,\n RedClockIconBank,\n} from \"assets/icons.js\";\nimport ModalDialog from \"react-bootstrap/ModalDialog\";\nimport Draggable from \"react-draggable\";\n\nconst StyledModal = styled.div`\n .modal-text {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 0px;\n }\n .name {\n height: 29px;\n background-color: rgba(255, 255, 255, 0.18);\n border: 1px solid #707070;\n }\n .data {\n height: 29px;\n border-bottom: 1px solid #707070;\n }\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070 !important;\n margin: 10px;\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\nconst Modal = styled(BSModal)`\n /* z-index: 77788; */\n .modal-dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .modal-content {\n background-color: #3a3b48;\n opacity: 1;\n width: fit-content;\n height: fit-content;\n }\n .modal-header {\n border-bottom: none;\n padding-bottom: 0;\n .btn-close {\n font-size: 20px;\n color: white !important;\n background-image: url(${CrossIcon});\n }\n h3 {\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #ffffff;\n margin-top: 5px;\n }\n .exportdiv {\n width: 557px;\n height: 340px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n margin: 0px 15px;\n text-align: center;\n padding: 5px;\n // cursor: pointer;\n svg {\n path {\n fill: #33c2df;\n }\n }\n }\n }\n .modal-body {\n .upper-section {\n border-top: 1px solid #d0d0d0;\n border-bottom: 1px solid #d0d0d0;\n p {\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #909090;\n margin-bottom: 5px;\n }\n .total-value {\n text-align: left;\n font-size: 22px;\n line-height: 27px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #ffffff;\n }\n label {\n display: block;\n text-align: left;\n font-size: 13px;\n line-height: 14px;\n font-family: Montserrat Alternates-Medium;\n letter-spacing: 0px;\n color: #33c2df;\n opacity: 1;\n }\n span {\n left: 200px;\n }\n }\n .graph-section {\n .graph-filters {\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 14px;\n letter-spacing: 0px;\n color: #909090;\n margin-top: 15px;\n }\n }\n }\n`;\n\nconst Innersection = styled.div`\n width: 60%;\n`;\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\nconst StyledCard = styled.div``;\nconst OuterDiv = styled.div`\n padding: 30px;\n .custom-error {\n position: absolute;\n color: red;\n font-size: 12px;\n margin-top: 5px;\n }\n .company-name {\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n color: #909090;\n }\n .company-edit {\n cursor: pointer;\n margin-bottom: 5px;\n path {\n fill: #33c2df;\n }\n }\n`;\nconst Logo = styled.div`\n padding: 10px;\n height: 148px;\n background: #2b2b34 0% 0% no-repeat padding-box;\n border-radius: 6px;\n .logo-heading {\n font-size: 11px;\n line-height: 14px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #909090;\n }\n .logo-edit {\n float: right;\n font-size: 11px;\n line-height: 14px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #909090;\n svg {\n margin-right: 5px;\n margin-bottom: 3px;\n path {\n fill: #33c2df;\n }\n }\n }\n img {\n margin: 10%;\n width: 80%;\n height: 50%;\n border-radius: 5%;\n }\n`;\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n padding: 20px 38px;\n`;\nconst StyledAccordion = styled(Accordion)`\n margin-top: 20px;\n .button-border {\n border: 1px solid #707070;\n }\n .accordion-item {\n background-color: #3a3b48;\n border-top: none;\n border-left: none;\n border-right: none;\n border-bottom: 1px solid #707070;\n .accordion-button:not(.collapsed) {\n box-shadow: none;\n }\n }\n .accordion-header {\n button {\n text-align: left;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #909090;\n background-color: #3a3b48;\n padding-left: 0;\n padding-right: 0;\n }\n .accordion-button::after {\n background-image: url(${Toggleicon});\n }\n }\n .accordion-body {\n padding: 1rem 0rem;\n }\n`;\nconst BusinessSection = styled.div`\n font-size: 11px;\n line-height: 25px;\n color: #b5b5b5;\n border-top: 1px solid #707070;\n padding: 8px;\n input {\n height: 22px !important;\n width: 55px !important;\n border-radius: 0px !important;\n margin-right: 10px;\n }\n`;\nconst UpdateForecast = styled.div`\n .form-field {\n display: inline-block;\n width: 47%;\n margin-right: 5px;\n }\n input {\n font-size: 11px !important;\n }\n`;\nconst CashButton = styled(BasicButton)`\n background: ${(props) =>\n props.active\n ? \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"\n : \"#232631\"};\n`;\nconst OrderButton = styled(BasicButton)`\n background: ${(props) =>\n props.active\n ? \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"\n : \"#232631\"};\n`;\nconst CollectionButton = styled(BasicButton)`\n background: ${(props) =>\n props.active\n ? \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"\n : \"#232631\"};\n`;\nconst ReceivablesButton = styled(BasicButton)`\n background: ${(props) =>\n props.active\n ? \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"\n : \"#232631\"};\n`;\nconst PayablesButton = styled(BasicButton)`\n background: ${(props) =>\n props.active\n ? \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"\n : \"#232631\"};\n`;\nconst BackStyledButton = styled.button`\n background: transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%);\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n`;\nconst plaidLinkStyles = {\n color: \"#FFFFFF\",\n width: \"fit-content\",\n paddingLeft: \"1.4rem\",\n paddingRight: \"1.4rem\",\n height: \"40px\",\n textAlign: \"center\",\n fontFamily: \"Montserrat Alternates-Bold\",\n fontSize: \"14px\",\n lineHeight: \"18px\",\n letterSpacing: \"0px\",\n borderRadius: \"5px\",\n outline: \"none\",\n border: \"none\",\n boxShadow: \"none\",\n background: \"linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\",\n};\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input {\n background: transparent 0% 0% no-repeat padding-box !important;\n color: #808186 !important;\n }\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n background: transparent 0% 0% no-repeat padding-box;\n &:after {\n color: transparent;\n }\n &:checked {\n &:after {\n color: #33c2df;\n }\n }\n }\n`;\n\nconst DraggableModalDialog = (props) => {\n return (\n \n \n \n );\n};\n\nconst StyledList = styled.ul``;\n\nconst ThresholdSection = styled.div``;\n\nfunction GeneralSettings(props) {\n const { onBoarding } = useContext(UIContext);\n const [companyEdit, setCompanyEdit] = useState(false);\n const [thresholds, setThresholds] = useState(\"cash\");\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [isEdited, setEdited] = useState(false);\n const [showPopover, setShowPopover] = useState(false);\n const [showBankConnectButton, setShowBankConnectButton] = useState(false);\n const [publicLinkToken, setPublicLinkToken] = useState(null);\n const queryClient = useQueryClient();\n const [letsGo, setLetsGo] = useState(false);\n const [userConsent, setUserConsent] = useState(false);\n const [industrychange, setIndustrychange] = useState(false);\n\n const createLinkToken = async () => {\n let tokenn = await getLinkToken();\n setPublicLinkToken(tokenn.data.link_token);\n setShowBankConnectButton(true);\n };\n const getAccessToken = async (publicToken) => {\n try {\n setShowPopover(!showPopover);\n setLetsGo(!letsGo);\n setUserConsent(!userConsent);\n let accessToken = await exchangePublicTokenForAccessToken(publicToken);\n let aToken = accessToken.data.access_token;\n if (aToken !== \"\") {\n await AddBankSettings.mutateAsync({\n publicToken: publicLinkToken,\n accessToken: aToken,\n })\n .then(async (res) => {})\n .catch(function (error) {\n console.log(error.response);\n // if (error.response) {\n // setErrorMessage(error.response.data.message);\n // }\n });\n }\n } catch (error) {\n console.log(error);\n }\n };\n\n const AddBankSettings = useAddBankSettings();\n const RemoveBankAccount = useRemoveBankAccount();\n const BankForForecasting = useBankForForecasting();\n const BankForReauthorisation = useBankForReauthorisation();\n\n const removeAccount = async (uuid) => {\n try {\n let res = await RemoveBankAccount.mutateAsync({ uuid });\n if (res) {\n queryClient.invalidateQueries(\"bankSettings\");\n }\n } catch (e) {\n console.log(e);\n }\n };\n\n const reauthoriseAccount = async (uuid) => {\n try {\n let res = await BankForReauthorisation.mutateAsync({ uuid });\n if (res) {\n queryClient.invalidateQueries(\"bankSettings\");\n }\n } catch (e) {\n console.log(e);\n }\n };\n\n const updateBankForForecasting = async (toUse, uuid) => {\n try {\n let res = await BankForForecasting.mutateAsync({ toUse, uuid });\n if (res) {\n queryClient.invalidateQueries(\"bankSettings\");\n }\n } catch (e) {\n console.log(e);\n }\n };\n\n let history = useHistory();\n\n const { data: sectors, isLoading: isLoadingSectors } = useSectors();\n\n const { data: departments, isLoading: isLoadingDepartments } = useDepartments(\n { hierarchy: true }\n );\n\n const { data: generalSettingsData, isLoading } = useGeneralSettings();\n\n const { data: bankSettingsData, isLoadingBankDetails } =\n useGetAUserAllBankingDetails();\n\n const [bankAccountsData, setBankAccountsData] = useState([]);\n\n const [consentStartDate, setConsentStartDate] = useState();\n const [consentEndDate, setConsentEndDate] = useState();\n\n useEffect(async () => {\n if (bankSettingsData && bankSettingsData?.length > 0) {\n setBankAccountsData([\n ...bankSettingsData.map((e) => {\n return {\n id: e._id,\n bank: e.bankDetails.bank_name,\n useInForecast: e.useInForecast,\n totalAmountInBank: e.bankDetails.accounts.reduce((acc, base) => {\n acc = acc + base.balances.available;\n return acc;\n }, 0),\n daysLeftToReAuthorise: e.daysLeftToReAuthorise,\n };\n }),\n ]);\n setShowBankConnectButton(true);\n }\n createLinkToken();\n }, [bankSettingsData]);\n\n const [currentSector, setCurrentSector] = useState();\n\n const AddGeneralSettings = useAddGeneralSettings();\n\n const sectorOptions = sectors?.map(({ name }) => ({\n label: name,\n value: name,\n }));\n\n useEffect(() => {\n setCurrentSector(generalSettingsData?.sector);\n if (generalSettingsData?.startDate) {\n setEdited(true);\n }\n }, [generalSettingsData?.sector]);\n\n const subSectors = sectors\n ?.filter((sec) => sec.name === currentSector)\n .map((sub) =>\n sub.industries.map(({ name }) => ({ label: name, value: name }))\n );\n\n const handleSector = (value) => {\n setCurrentSector(value);\n };\n\n const HandleThresholds = (value) => {\n setThresholds(value);\n };\n const FormattedUpdateFormData = (values) => {\n let formData = new FormData();\n let payload = {\n homeCurrency: values.homeCurrency,\n showSalesRep: values.showSalesRep,\n showJobNumber: values.showJobNumber,\n showJobType: values.showJobType,\n showCustomerMemo: values.showCustomerMemo,\n company: values.companyName.trim(),\n sector: values.sector,\n industry: values.industry,\n capitalCost: values.costOfCapital,\n revenueGroup: values.revenueGroup,\n billPayment: values.billPayments,\n timezone: values.timeZone,\n autoPaymentsTime: values.autoPaymentsTime,\n updateForecastModels: values.updateForecastModels,\n cashThresholds: values.cashThresholds,\n ordersThresholds: values.ordersThresholds,\n collectionsThresholds: values.collectionsThresholds,\n receivablesThresholds: values.receivablesThresholds,\n payablesThresholds: values.payablesThresholds,\n startDate: moment(values.applicationStartDate).format(\"YYYY-MM-DD\"),\n manageDefaults: {\n beforeDueDate: {\n isBeforeDueDate: false,\n days: 0,\n },\n onDueDate: false,\n afterDueDate: {\n isAfterDueDate: false,\n days: 0,\n perodicDaily: false,\n periodicWeekly: false,\n selectFixedTime: \"\",\n selectFixedDayTime: \"\",\n },\n },\n };\n\n formData.append(\"data\", JSON.stringify(payload));\n formData.append(\"file\", values.profileImage);\n return formData;\n };\n const handleAddGeneralSettings = (values) => {\n console.log(values);\n const newFormData = FormattedUpdateFormData(values);\n AddGeneralSettings.mutateAsync(newFormData)\n .then(() => {\n setErrorMessage(null);\n history.push(Route_URLs.setup_digital_payments);\n })\n .catch(function (error) {\n console.log(error);\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n };\n const timezonesArray = moment.tz.zonesForCountry(\"US\")?.map((zone) => ({\n label: zone,\n }));\n\n useEffect(() => {\n setIndustrychange(true);\n setTimeout(() => {\n setIndustrychange(false);\n }, [100]);\n }, [generalSettingsData]);\n\n return (\n <>\n {isLoading ? (\n \n ) : (\n \n \n \n \n \n {/* */}\n\n

    General Settings

    \n \n \n
    \n
    \n \n {showPopover && (\n {\n setShowPopover(false);\n setLetsGo(false);\n setUserConsent(false);\n }}\n centered\n style={{}}\n dialogAs={DraggableModalDialog}\n >\n
    \n \n
    \n \n {!letsGo && (\n <>\n
    \n \"SimpliCapital\"\n \n 3 quick steps to connect to your account\n \n
    \n \n \n

    \n We need your consent to keep bringing in\n your bank data.\n

    \n

    \n - We'll ask for your consent to share your\n bank transactions.\n

    \n

    \n - You'll sign in to your bank account to\n authorize the connection.\n

    \n
    \n
    \n \n setShowPopover(false)}\n className=\"card-button-grey\"\n style={{ background: \"#3a3b48\" }}\n >\n Back\n \n setLetsGo(!letsGo)}\n className=\"card-button-blue\"\n >\n Let's Go\n \n
    \n
    \n \n \n \n At SimpliCapital, privacy and security of your\n information are top priorities.\n \n \n \n )}\n {letsGo && !userConsent && (\n <>\n
    \n \"SimpliCapital\"\n \n Consent to share your data\n \n
    \n \n \n

    \n Important things to know\n

    \n

    \n You won't need to give consent through your\n bank every 90 days for SimpliCapital to\n access your account data, instead you'll\n need to provide this consent direct to\n SimpliCapital every 90 days.\n

    \n \n
  • \n - Why and when we collect this data\n
  • \n
  • \n

    \n Collecting this data allows\n SimpliCapital to generate your financial\n reports and other consolidated\n information in your SimpliCapital\n products. This collection will occur on\n an ongoing basis only while we have your\n active consent.\n

    \n
  • \n
  • \n - You'll need to reconfirm your consent\n every 90 days\n
  • \n
  • \n

    \n Consent starts:{\" \"}\n \n {consentStartDate}\n \n

    \n

    \n Reconfirm by:{\" \"}\n \n {consentEndDate}\n \n

    \n
  • \n
  • \n - You can withdraw your consent at any\n time\n
  • \n
  • \n

    \n You own your data, and can withdraw\n consent to let us collect it at any\n time. You may remove your bank account\n from bank connections.\n

    \n
  • \n
  • \n - We never sell or share your data unless\n you specify otherwise.\n
  • \n
  • \n

    \n To learn more about SimpliCapital\n handles your data, see our SimpliCapital{\" \"}\n \n Privacy Policy\n \n .\n

    \n
  • \n
    \n
    \n
    \n \n \n

    \n Allow SimpliCapital to collect and use data\n from your bank\n

    \n

    \n SimpliCapital requires your consent to\n access the following from your bank account\n for the next 90 days.\n

    \n \n Data we'll collect\n

    \n
  • \n - Contact and party details\n
  • \n \n The full legal name of account holder\n \n \n {\" \"}\n Address\n \n \n {\" \"}\n Telephone number\n \n \n {\" \"}\n Email address\n \n
    \n
  • \n - Your account details\n
  • \n \n Account names\n \n \n Currency\n \n \n Types\n \n \n Numbers\n \n \n Sort codes\n \n \n Balances\n \n \n Credit limits\n \n
    \n
  • \n - Your account transactions\n
  • \n \n Historical and current transactions\n \n \n Transaction types\n \n \n Amounts\n \n \n Dates and descriptions\n \n
    \n
  • \n - Your statements\n
  • \n \n Periodic account statements\n \n
    \n

    \n How we'll use the data we collect\n

    \n

    \n Your deposits, account details, and\n transactions will be automatically imported\n into QuickBooks.\n

    \n
    \n
    \n \n setLetsGo(!letsGo)}\n className=\"card-button-grey\"\n style={{ background: \"#3a3b48\" }}\n >\n Back\n \n setUserConsent(!userConsent)}\n className=\"card-button-blue\"\n >\n Agree\n \n
    \n
    \n \n \n \n At SimpliCapital, privacy and security of your\n information are top priorities.\n \n \n \n )}\n {letsGo && userConsent && (\n <>\n
    \n \"SimpliCapital\"\n \n Log into your bank\n \n
    \n \n \n \n Let's sign in to your account to share your\n transactions with SimpliCapital. Then we'll\n bring you back here to finalise your\n settings.\n \n \n \n \n setUserConsent(!userConsent)}\n className=\"card-button-grey\"\n style={{ background: \"#3a3b48\" }}\n >\n Back\n \n {\n getAccessToken(publicToken);\n }}\n // Add other props as needed\n >\n Log in\n \n \n
    \n \n \n \n At SimpliCapital, privacy and security of your\n information are top priorities.\n \n \n \n )}\n \n \n \n \n \n )}\n \n value === null || (value && value.size <= 5242880)\n ),\n showSalesRep: Yup.boolean(),\n showCustomerMemo: Yup.boolean(),\n showJobType: Yup.boolean(),\n showJobNumber: Yup.boolean(),\n departments: Yup.array().of(\n Yup.object().shape({\n thresholds: Yup.object().shape({\n cash: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number().nullable(),\n weekly: Yup.number().nullable(),\n monthly: Yup.number().nullable(),\n })\n ),\n }),\n children: Yup.array().of(\n Yup.object().shape({\n thresholds: Yup.object().shape({\n cash: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.cash[0]\n .daily)\n );\n },\n })\n .nullable(),\n\n weekly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.cash[0]\n .weekly)\n );\n },\n })\n .nullable(),\n\n monthly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.cash[0]\n .monthly)\n );\n },\n })\n .nullable(),\n })\n ),\n orders: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.orders[0]\n .daily)\n );\n },\n })\n .nullable(),\n\n weekly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.orders[0]\n .weekly)\n );\n },\n })\n .nullable(),\n\n monthly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.orders[0]\n .monthly)\n );\n },\n })\n .nullable(),\n })\n ),\n collections: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .collections[0].daily)\n );\n },\n })\n .nullable(),\n\n weekly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .collections[0].weekly)\n );\n },\n })\n .nullable(),\n\n monthly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .collections[0].monthly)\n );\n },\n })\n .nullable(),\n })\n ),\n receivables: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .receivables[0].daily)\n );\n },\n })\n .nullable(),\n\n weekly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .receivables[0].weekly)\n );\n },\n })\n .nullable(),\n\n monthly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds\n .receivables[0].monthly)\n );\n },\n })\n .nullable(),\n })\n ),\n payables: Yup.array().of(\n Yup.object().shape({\n daily: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.payables[0]\n .daily)\n );\n },\n })\n .nullable(),\n\n weekly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.payables[0]\n .weekly)\n );\n },\n })\n .nullable(),\n\n monthly: Yup.number()\n .test({\n name: \"max\",\n exclusive: false,\n params: {},\n message: \"value cant be more than parent\",\n test: function (value) {\n const { from } = this;\n\n return (\n value === undefined ||\n value === null ||\n value === 0 ||\n (value &&\n value <=\n from[3].value.thresholds.payables[0]\n .monthly)\n );\n },\n })\n .nullable(),\n })\n ),\n }),\n })\n ),\n })\n ),\n })}\n onSubmit={(values, { setSubmitting }) => {\n try {\n console.log(\"submiting\");\n setSubmitting(true);\n // check if daily is selected and time is not selected\n if (values.updateForecastModels.type === \"daily\") {\n if (values.updateForecastModels.time === \" 00:00\")\n values.updateForecastModels.time = \"\";\n }\n // check if weekly is selected and time or day is not selected\n if (values.updateForecastModels.type === \"weekly\") {\n if (values.updateForecastModels.time == \"\") {\n values.updateForecastModels.time = \"00:00\";\n }\n if (values.updateForecastModels.day === \"\") {\n values.updateForecastModels.day = \"1\";\n }\n handleAddGeneralSettings(values);\n }\n setSubmitting(false);\n } catch (e) {\n console.log(e);\n }\n }}\n >\n {({ values, errors, touched, handleSubmit, setFieldValue }) => (\n
    \n {/* */}\n\n \n \n \n \n \n {Object.values(errors).length > 0\n ? Object.values(errors).map((errorBody) => {\n ;\n })\n : null}\n \n }\n allowedRoles={[\"admin\"]}\n >\n \n {companyEdit ? (\n \n ) : (\n <>\n \n Company Name\n \n \n {values.companyName}{\" \"}\n \n \n setCompanyEdit(!companyEdit)\n }\n />\n \n )}\n \n \n \n \n \n Your Logo\n {\" \"}\n \n \n \n Edit Logo\n \n {\n setFieldValue(\n \"profileImage\",\n event.currentTarget.files[0]\n );\n }}\n >\n \n \n \n {errors.profileImage &&\n touched.profileImage ? (\n

    \n {errors.profileImage}\n

    \n ) : null}\n \n \n
    \n \n }\n allowedRoles={[\"admin\"]}\n >\n \n \n Product Settings\n \n We’ll use this to benchmark your KPIs with\n your industry peers\n \n \n \n \n \n \n \n \n \n \n \n \n \n Home Currency\n \n \n \n \n }\n name=\"homeCurrency\"\n defaultValue={values.homeCurrency}\n disabled={true}\n options={[\n {\n label: \"USD\",\n value: \"USD\",\n id: \"1\",\n },\n {\n label: \"EUR\",\n value: \"EUR\",\n id: \"2\",\n },\n {\n label: \"INR\",\n value: \"INR\",\n id: \"3\",\n },\n ]}\n />\n \n {/* \n \n */}\n \n \n \n \n \n {isLoadingSectors ? (\n \n ) : (\n <>\n \n {\n handleSector(e.target.value);\n setFieldValue(\n \"sector\",\n e.target.value\n );\n setFieldValue(\"industry\", \"\");\n }}\n />\n \n {!industrychange && (\n \n {\n setFieldValue(\n \"industry\",\n e.target.value\n );\n }}\n onClick={(e) => {\n setFieldValue(\n \"industry\",\n e.target.value\n );\n }}\n />\n \n )}\n \n )}\n \n \n \n \n \n \n \n Show Sales Representative details\n \n \n \n \n setFieldValue(\"showSalesRep\", e)\n }\n />\n \n \n \n Filter Receivable By Job Type\n \n \n \n \n setFieldValue(\"showJobType\", e)\n }\n />\n \n \n \n Show Customer Memo\n \n \n \n \n setFieldValue(\"showCustomerMemo\", e)\n }\n />\n \n \n \n Show Job Number\n \n \n \n \n setFieldValue(\"showJobNumber\", e)\n }\n />\n \n \n \n \n \n {/* \n }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_GS\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n \n Do you want to define thresholds for alerts\n and notifications?\n \n \n \n \n }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_GS\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n \n
    \n Thresholds\n
    \n {\n HandleThresholds(\"cash\");\n }}\n >\n Cash\n \n {\n HandleThresholds(\"orders\");\n }}\n >\n Orders\n \n \n HandleThresholds(\"collections\")\n }\n >\n Collections\n \n \n HandleThresholds(\"receivables\")\n }\n >\n Receivables\n \n \n HandleThresholds(\"payables\")\n }\n >\n Payables\n \n \n \n
    \n \n \n }\n allowedRoles={[\"admin\"]}\n >\n \n
    \n Overall\n
    \n \n \n {\n e.target.blur();\n }}\n />\n \n \n {\n e.target.blur();\n }}\n />\n \n \n {\n e.target.blur();\n }}\n />\n \n \n
    \n {forFutureRelease && \n }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_GS\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n \n \n \n Daily\n \n \n Weekly\n \n \n Monthly\n \n \n \n }\n {forFutureRelease && }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_GS\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n {isLoadingDepartments ? (\n \n ) : (\n (\n <>\n {departments?.map(\n (department, index) => {\n return (\n <>\n \n \n \n {\n department.fullyQualifiedName\n }\n \n\n \n <>\n {department\n .thresholds[\n thresholds\n ] ? (\n <>\n {\n e.target.blur();\n }}\n />\n\n {\n e.target.blur();\n }}\n />\n\n {\n e.target.blur();\n }}\n />\n \n ) : (\n

    \n {thresholds}{\" \"}\n key missing in\n API data\n

    \n )}\n \n \n
    \n \n
    \n {department.children.map(\n (\n childDepartment,\n childIndex\n ) => (\n \n \n \n {\n childDepartment.fullyQualifiedName\n }\n \n\n \n <>\n {childDepartment\n .thresholds[\n thresholds\n ] ? (\n <>\n {\n e.target.blur();\n }}\n />\n\n {\n e.target.blur();\n }}\n />\n\n {\n e.target.blur();\n }}\n />\n
    \n \n \n

    \n \n \n

    \n \n \n

    \n
    \n \n ) : (\n

    \n {\n thresholds\n }{\" \"}\n key\n missing\n in API\n data\n

    \n )}\n \n \n
    \n \n )\n )}\n
    \n \n );\n }\n )}\n \n )}\n />\n )}\n }\n
    \n
    \n
    */}\n }\n allowedRoles={[\"admin\"]}\n >\n \n \n Set your preferred frequency to train and\n run models.\n {/*Set your preferred frequency to make auto payments and train and run\n models.\n Set your preferred frequency to receive\n reminders, make auto payments and read your\n data. */}\n \n \n \n \n \n \n \n {forFutureRelease && (\n \n )}\n \n \n {forFutureRelease && (\n \n \n {values.autoPaymentsTime ? (\n \n ) : (\n <>\n )}\n \n \n )}\n \n \n \n Update Forecast Models\n \n \n \n \n \n \n Bank Connections\n {/*Set your preferred frequency to make auto payments and train and run\n models.\n Set your preferred frequency to receive\n reminders, make auto payments and read your\n data. */}\n \n \n \n {showBankConnectButton && (\n <>\n \n Your connected bank accounts are\n listed below.\n \n \n {bankAccountsData.map(\n (elem, ind) => {\n return (\n \n \n {elem.bank}\n

    \n \n \n

    \n \n \n Use for forecast?\n \n \n \n 0\n ? false\n : true\n }\n type=\"checkbox\"\n label=\"Use in forecasting?\"\n checked={\n elem.useInForecast\n }\n onChange={(e) =>\n updateBankForForecasting(\n elem.useInForecast,\n elem.id\n )\n }\n />\n \n \n {elem.daysLeftToReAuthorise >\n 0 ? (\n \n \n {elem.daysLeftToReAuthorise >=\n 46 ? (\n \n ) : elem.daysLeftToReAuthorise <=\n 46 &&\n elem.daysLeftToReAuthorise >=\n 16 ? (\n \n ) : (\n \n )}\n \n {\n elem.daysLeftToReAuthorise\n }{\" \"}\n days\n

    \n ) : (\n \n reauthoriseAccount(\n elem.id\n )\n }\n >\n Re-Authorise\n

    \n )}\n \n removeAccount(elem.id)\n }\n >\n Remove\n

    \n \n );\n }\n )}\n \n \n )}\n \n {\n e.preventDefault();\n const date = new Date();\n let todayDate = date.getDate();\n let endDate = new Date(\n date.getTime() +\n 90 * 24 * 60 * 60 * 1000\n );\n // Format today's date in mm-dd-yyyy format\n const formattedTodayDate = `${(\n date.getMonth() + 1\n )\n .toString()\n .padStart(2, \"0\")}-${todayDate\n .toString()\n .padStart(\n 2,\n \"0\"\n )}-${date.getFullYear()}`;\n // Format end date in mm-dd-yyyy format\n const formattedEndDate = `${(\n endDate.getMonth() + 1\n )\n .toString()\n .padStart(2, \"0\")}-${endDate\n .getDate()\n .toString()\n .padStart(\n 2,\n \"0\"\n )}-${endDate.getFullYear()}`;\n setConsentStartDate(\n formattedTodayDate\n );\n setConsentEndDate(formattedEndDate);\n setShowPopover(!showPopover);\n }}\n >\n Add Bank Account\n \n \n
    \n
    \n
    \n \n {/* }\n allowedRoles={[\"admin\"]}\n >\n \n \n Do you want to setup a payment gateway for\n receiving and sending payments?\n \n \n <>\n {\n setSubmitting(true);\n }}\n >\n {({ handleSubmit }) => (\n \n \n \n \n \n\n \n \n \n \n\n \n Verify\n \n \n )}\n \n \n \n \n */}\n
    \n
    \n
    \n
    \n
    \n\n \n \n history.push(Route_URLs.setup_connect_integration)\n }\n >\n Back\n \n \n Next\n \n \n \n )}\n \n
    \n
    \n
    \n )}\n \n );\n}\nexport default GeneralSettings;\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { setAllTokensForUserBankAccount, removeABankAccount, updateBankForForecasting, updateBankForReauthorisation } from \"services/bankSettings.services\";\n\nexport const useAddBankSettings = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => setAllTokensForUserBankAccount(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"bankSettings\");\n },\n });\n};\n\nexport const useRemoveBankAccount = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => removeABankAccount(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"remove-bankSettings\");\n },\n });\n};\n\nexport const useBankForForecasting = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => updateBankForForecasting(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"add-bank-for-forecasting\");\n },\n });\n};\n\nexport const useBankForReauthorisation = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => updateBankForReauthorisation(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"add-bank-for-reauthorisation\");\n },\n });\n};","import { getSectors } from \"services/generalSettings.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useSectors = () => {\n return useQuery(\"sectors\", getSectors);\n};\n","import React from \"react\";\nimport styled, { css } from \"styled-components\";\nimport { OverlayTrigger, Button, Row, Col, Form } from \"react-bootstrap\";\nimport DateRangePicker from \"@wojtekmaj/react-daterange-picker\";\nimport moment from \"moment\";\nimport { useState, useRef, useEffect, useCallback } from \"react\";\nimport OrderService from \"services/order.services\";\nimport axios from \"axios\";\nimport { CalendarIcon, ArrowDownIcon, IconCross } from \"assets/icons.js\";\nimport DropDownSearchAndSelect from \"ui/DropDownSearchAndSelect\";\nimport { StyledCheckbox, StyledButton, ClearButton,Popover } from \"filters/Style\";\nimport BSCheckbox from \"ui/BSCheckbox\";\n// import OrderService from \"services/order.services\";\n\nconst StyledSelect = styled.div`\n .react-select-container .react-select__menu-list {\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .react-select-container {\n position: absolute;\n background: #232631;\n border: 1px solid #707070;\n z-index: 99;\n color: #ffffff69;\n width: 300px;\n }\n .react-select-container .react-select__control {\n height: 25px;\n border: 1px solid #707070;\n background: #232631;\n color: #ffffff69;\n outline: none;\n box-shadow: none;\n font-size: 10px;\n line-height: 13px;\n &:hover {\n outline: none;\n box-shadow: none;\n }\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n .react-select-container .react-select__menu {\n background: #232631;\n }\n .react-select-container .react-select__control--menu-is-open {\n background: #232631;\n }\n button {\n font-family: Montserrat Alternates;\n border: 1px solid #707070;\n background-color: #232631;\n border-radius: 0px;\n width: 100%;\n height: 25px;\n color: #ffffff69;\n margin-bottom: 10px;\n &:focus {\n outline: none;\n border: 1px solid #707070;\n background-color: #232631;\n }\n }\n .react-select-container .react-select__option {\n background: #232631;\n font-size: 10px;\n line-height: 13px;\n color: #ffffff69;\n display: flex;\n align-items: center;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #232631;\n border: 1px solid #707070;\n display: inline-block;\n width: 14px;\n height: 14px;\n margin-bottom: 3px;\n\n background-repeat: no-repeat;\n &:after {\n content: \"\\u2713\";\n color: #232631;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"\\u2713\";\n color: #33c2df;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\nconst popoverPanel =(\n handleResetFilter,\n username,\n handleUserName,\n StatusChangedInactive,\n StatusChangedActive,\n RoleChangedReadOnly,\n RoleChangedReadWrite,\n RoleChangedAdmin,\n role,\n status\n) => (\n \n \n Type Of Access\n \n \n \n {\n RoleChangedAdmin(\"admin\", e);\n }}\n />\n \n \n {\n RoleChangedReadWrite(\"readwrite\", e);\n }}\n />\n \n \n {\n RoleChangedReadOnly(\"readonly\", e);\n }}\n />\n \n \n \n Status\n \n \n \n {\n StatusChangedActive(\"active\", e);\n }}\n />\n \n \n {\n StatusChangedInactive(\"inactive\", e);\n }}\n />\n \n \n \n Name\n \n {/* Business\n\n \n \n */}\n Clear\n \n \n);\nconst FilterUser = ({ handleFilterData }) => {\n const childFunc = useRef(null);\n const [username, setUserName] = useState(\"\");\n const [businessArray, setBusinessArray] = useState([]);\n const [role, setRole] = useState({\n admin: false,\n readwrite: false,\n readonly: false,\n });\n const [roleArray, setRoleArray] = useState([]);\n const [status, setStatus] = useState({\n active: false,\n inactive: false,\n });\n const [statusArray, setStatusArray] = useState([]);\n\n const handleUserName = (e) => {\n setUserName(e.target.value);\n };\n const RoleChangedAdmin = (value, e) => {\n setRole((prev) => ({ ...prev, admin: !prev[value] }));\n if (e.target.checked) {\n setRoleArray([...roleArray, \"admin\"]);\n } else {\n setRoleArray(roleArray.filter((val) => val !== \"admin\"));\n }\n };\n const RoleChangedReadWrite = (value, e) => {\n setRole((prev) => ({ ...prev, readwrite: !prev[value] }));\n\n if (e.target.checked) {\n setRoleArray([...roleArray, \"read-write\"]);\n } else {\n setRoleArray(roleArray.filter((val) => val !== \"read-write\"));\n }\n };\n const RoleChangedReadOnly = (value, e) => {\n setRole((prev) => ({ ...prev, readonly: !prev[value] }));\n if (e.target.checked) {\n setRoleArray([...roleArray, \"read-only\"]);\n } else {\n setRoleArray(roleArray.filter((val) => val !== \"read-only\"));\n }\n };\n const StatusChangedActive = (value, e) => {\n setStatus((prev) => ({ ...prev, active: !prev[value] }));\n if (e.target.checked) {\n setStatusArray([...statusArray, \"active\"]);\n } else {\n setStatusArray(statusArray.filter((val) => val !== \"active\"));\n }\n };\n const StatusChangedInactive = (value, e) => {\n setStatus((prev) => ({ ...prev, inactive: !prev[value] }));\n if (e.target.checked) {\n setStatusArray([...statusArray, \"inactive\"]);\n } else {\n setStatusArray(statusArray.filter((val) => val !== \"inactive\"));\n }\n };\n // const handleBusiness = (data) => {\n // setBusinessArray(data);\n // };\n const handleResetFilter = () => {\n setUserName(\"\");\n //setBusinessArray([]);\n setRoleArray([]);\n setStatusArray([]);\n setRole((prev) => ({\n ...prev,\n admin: false,\n readwrite: false,\n readonly: false,\n }));\n setStatus((prev) => ({ ...prev, active: false, inactive: false }));\n //childFunc.current();\n };\n useEffect(() => {\n const FilterData = {\n username,\n roleArray,\n statusArray,\n //businessArray,\n };\n\n handleFilterData(FilterData);\n }, [username, roleArray, statusArray, businessArray]);\n\n \n return (\n <>\n \n \n Filter\n \n \n \n \n );\n};\nexport default FilterUser;\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { updateUser } from \"services/user.service\";\n\nexport const useUpdateUser = () => {\n const queryClient = useQueryClient();\n return useMutation(({ userId, values }) => updateUser(userId, values), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"users\");\n queryClient.invalidateQueries(\"user\");\n },\n // onError: (error) => {\n // if (error.response && error.response.data.message) {\n // alert(error.response.data.message);\n // }\n // },\n });\n};\n","import React, { useState, useEffect } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n RadioBlue,\n ErrorMessage,\n Checkbox,\n PhoneInputField,\n} from \"ui/forms\";\n\nimport \"react-phone-number-input/style.css\";\nimport * as Yup from \"yup\";\nimport { BasicButton } from \"ui/Buttons\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport ToggleButtonComponent from \"ui/ToggleButton\";\nimport { withRouter, useHistory } from \"react-router-dom\";\nimport { useQuery, useQueryClient, useMutation } from \"react-query\";\nimport Loader from \"ui/Loader\";\nimport ReactTooltip from \"react-tooltip\";\nimport { useDepartments } from \"queries/departments\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport { useProfile } from \"queries/profile\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { updateMfa } from \"services/user.service\";\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\n\nconst AccessOptionsDiv = styled.div`\n span {\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 26px;\n color: #ffffff69;\n display: inline-block;\n }\n .checkbox {\n margin-left: 75%;\n margin-top: 2%;\n }\n`;\nconst BusinessHierarchyDiv = styled.div`\n .scroll {\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n height: 350px;\n overflow-y: scroll;\n overflow-x: hidden;\n }\n\n margin-bottom: 20px;\n .business {\n border-bottom: 1px solid #707070;\n padding: 3px;\n margin: 5px;\n }\n\n span {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n color: #b5b5b5;\n display: inline-block;\n }\n .checkbox {\n margin-left: 80%;\n margin-top: 2%;\n }\n\n .child-business {\n margin-left: 9px;\n }\n`;\n\nexport default function UserForm({\n user,\n onSuccess,\n errorMessage,\n userRolesData,\n}) {\n let defaultUser = {\n firstName: \"\",\n lastName: \"\",\n mobile: \"\",\n email: \"\",\n access: \"\",\n status: \"active\",\n permissions: [],\n isMfaEnabled: false,\n };\n\n const [isEdit] = useState(user?._id ? true : false);\n // const [userStatus, setUserStatus] = useState(\"active\");\n\n const { data: userData } = useProfile();\n const userRole = userData?.role;\n\n // useEffect(() => {\n // setUserStatus(user?.status);\n // }, [user]);\n\n const getDomainName = (email) => {\n const first_split = email ? email.split(\"@\")[1] : \"\";\n const second_split = first_split ? first_split.split(\".\") : \"\";\n return second_split[0];\n };\n const getDes = (value) => {\n if (userRolesData && userRolesData.length > 0) {\n for (let k in userRolesData) {\n if (userRolesData[k].name == value) {\n return `${userRolesData[k].description}`;\n }\n }\n }\n };\n return (\n
    \n \n getDomainName(value) === sessionStorage.getItem(\"tenantName\")\n ),\n })}\n onSubmit={(values, { setSubmitting, resetForm }) => {\n setSubmitting(true);\n onSuccess(values).then(() => {\n setSubmitting(false);\n });\n resetForm();\n }}\n on\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n dirty,\n isValid,\n }) => (\n
    \n {Object.values(errors).length > 0\n ? Object.values(errors).map((errorBody) => {\n ;\n })\n : null}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Type of Access *\n {userRole === \"admin\" && (\n {\n return {\n key: data.label,\n value: data.name,\n id: data.name,\n };\n })}\n >\n )}\n
    \n

    \n {getDes(values.access)}\n

    \n
    \n \n \n \n \n Disable User Access\n {\n if (e == false) setFieldValue(\"status\", \"active\");\n else setFieldValue(\"status\", \"inactive\");\n }}\n />\n \n {user?._id && user?.phoneNumber !== \"\" ? (\n \n \n Enable MFA\n \n {\n console.log(e);\n try {\n let body = {\n userPoolId: sessionStorage.getItem(\"userPoolId\"),\n username: user._id,\n enableMFA: e,\n };\n let response = await updateMfa(body);\n if (response.status === 200) {\n if (e == true)\n setFieldValue(\"isMfaEnabled\", true);\n else setFieldValue(\"isMfaEnabled\", false);\n }\n } catch (ex) {\n console.log(ex);\n }\n }}\n />\n \n \n ) : null}\n \n \n
    \n\n {/* \n \n {values.access === \"read-write\" ? (\n <>\n \n \n \n Settings : General settings\n \n \n
    \n \n
    \n \n
    \n \n \n Settings : User Management\n \n \n
    \n \n
    \n \n
    \n \n \n Settings : Dispute Management.\n \n \n
    \n \n
    \n \n
    \n \n \n Manual Override Data.\n \n \n
    \n \n
    \n \n
    \n \n \n Payment Approval.\n \n \n
    \n \n
    \n \n
    \n \n \n Dispute Follow up.\n \n \n
    \n \n
    \n \n
    \n \n \n Send Customer Reminders.\n \n \n
    \n \n
    \n \n
    \n
    \n \n ) : (\n <>\n )}\n {values.access === \"read-write\" ||\n values.access === \"read-only\" ? (\n <>\n \n {forFutureRelease && (\n \n
    \n \n \n Business Hierarchy\n \n \n
    \n \n
    \n
    \n
    \n {isLoading ? (\n \n ) : (\n departments?.map((department, index) => {\n return (\n \n \n \n {department.fullyQualifiedName}\n \n \n \n
    \n {\n const set = new Set(values.business);\n if (set.has(department.id)) {\n set.delete(department.id);\n department?.children?.forEach(\n (child) => {\n set.delete(child.id);\n }\n );\n } else {\n set.add(department.id);\n department?.children?.forEach(\n (child) => {\n set.add(child.id);\n }\n );\n }\n setFieldValue(\n \"business\",\n Array.from(set)\n );\n }}\n />\n
    \n \n\n {department.children.map((childDepartment) => (\n \n \n \n {childDepartment.fullyQualifiedName}\n \n \n \n
    \n \n
    \n \n
    \n ))}\n
    \n );\n })\n )}\n
    \n
    \n )}\n \n ) : (\n <>\n )}\n \n
    */}\n setShow(false)}\n //onClick={handleSubmit}\n >\n {isEdit ? \"Update\" : \"Save\"}\n \n \n )}\n \n
    \n );\n}\n","import styled from \"styled-components\";\nimport { Modal } from \"ui/Modal\";\nimport UserForm from \"./_UserForm\";\nimport { useUpdateUser } from \"mutations/updateUser\";\nimport { ErrorMessage } from \"formik\";\nimport { useState } from \"react\";\nimport { useUser } from \"queries/user\";\n\nconst StyledModal = styled.div`\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n margin: 10px;\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\n\nexport default function EditUserModal({\n show,\n user,\n onHide,\n refetch,\n userRolesData,\n}) {\n const userUpdate = useUpdateUser();\n const [errorMessage, setErrorMessage] = useState(\"\");\n const { data: permissions, isLoading } = useUser(user._id);\n\n const onSuccess = (values) => {\n const userId = user._id;\n\n let serverUser = {\n givenName: values.firstName,\n familyName: values.lastName,\n phoneNumber: values.mobile,\n email: values.email,\n role: values.access,\n status: values.status,\n permissions:\n values.access === \"admin\" || values.access === \"read-only\"\n ? []\n : values.permissions,\n isMfaEnabled: values?.isMfaEnabled === true ? true : false,\n };\n\n userUpdate\n .mutateAsync({ userId, values: serverUser })\n .then(() => {\n refetch();\n onHide();\n setErrorMessage(null);\n })\n .catch(function (error) {\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n };\n\n return (\n \n \n \n

    Edit User

    \n
    \n \n {\n return permission;\n }),\n // business: user.business?.map((department) => department.id),\n }}\n onSuccess={onSuccess}\n errorMessage={errorMessage}\n userRolesData={userRolesData}\n />\n \n
    \n
    \n );\n}\n","import React from 'react'\nimport { Modal, StyledModal } from \"ui/Modal\";\nimport Logo from \"assets/SimpliCapital-logo.png\";\nimport { useState } from 'react';\nimport { Spinner } from \"react-bootstrap\";\nimport { useCreateUser } from 'mutations/createUser';\n\nfunction maskEmail(email) {\n const [username, domain] = email.split('@');\n const visibleUsernameCount = 3;\n const maskedUsername = username.slice(0, visibleUsernameCount) + '*'.repeat(Math.max(username.length - visibleUsernameCount, 0));\n const [domainName, domainExtension] = domain.split('.');\n const visibleDomainCount = 2;\n const maskedDomainName = domainName.slice(0, visibleDomainCount) + '*'.repeat(Math.max(domainName.length - visibleDomainCount, 0));\n\n return `${maskedUsername}@${maskedDomainName}.${domainExtension}`;\n}\n\nfunction maskPhoneNumber(phone) {\n \n let countryCode = '';\n let remainingNumber = phone;\n\n if (phone?.startsWith('+')) {\n const splitIndex = phone.slice(1).search(/\\D/) + 1;\n countryCode = phone.slice(0, splitIndex + 1);\n remainingNumber = phone.slice(splitIndex + 1);\n }\n\n const maskedPart = '*'.repeat(Math.max(remainingNumber.length - 4, 0));\n const lastFourDigits = remainingNumber.slice(-4);\n\n\n return `${countryCode}${maskedPart}${lastFourDigits}`;\n}\n\n\nconst UserOtpModal = (props) => {\n\n const [errors, setErrors] = useState(\"\")\n const [loader,setLoader] = useState(false)\n const email = maskEmail(props.customerDetails.email)\n const phone = maskPhoneNumber(props.customerDetails.phoneNumber)\n const userAdd = useCreateUser();\n const handleClick = (e) => {\n \n setLoader(true)\n \n userAdd.mutateAsync({...props.customerDetails,method: e.method})\n .then((res) => {\n const poolDetails = res.data;\n setLoader(false)\n setErrors(`A temporary password has been sent to ${e.method === 'email' ? \"email\" : \"phone\"}. Please log in with it and set a new password.`);\n \n setTimeout(() => {\n props.close()\n }, [6000]);\n })\n .catch((err) => {\n setLoader(false)\n \n if (err.response.status == 400) {\n if (err.response.data.message) {\n setErrors(err.response.data.message);\n } else {\n setErrors(\"Technical error\");\n }\n \n }\n }); \n }\n return (\n \n \n {loader && }\n \n
    \n \"SimpliCapital\"\n
    \n
    \n \n Choose how you want to verify your identity\n \n
    \n\n
    \n {errors}\n
    \n\n
    \n
    handleClick({ method: \"sms\" })}>\n
    \n \n \n \n \n \n \n \n \n Text a code\n \n \n {phone}\n \n \n
    \n\n\n\n
    \n\n
    handleClick({ method: \"email\" })}\n >\n
    \n \n \n \n \n \n \n \n Email a code\n \n \n {email}\n \n \n
    \n\n\n\n
    \n \n \n
    \n \n
    \n\n\n \n )\n}\n\nexport default UserOtpModal","import styled from \"styled-components\";\nimport { Modal } from \"ui/Modal\";\nimport UserForm from \"./_UserForm\";\nimport { GetVerificationMethod, useCreateUser } from \"mutations/createUser\";\nimport { useState } from \"react\";\nimport UserOtpModal from \"./UserOtpModal\";\nimport ModalDialog from \"react-bootstrap/ModalDialog\";\nimport Draggable from \"react-draggable\";\n\nconst StyledModal = styled.div`\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n margin: 10px;\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\nconst DraggableModalDialog = props => {\n return (\n \n \n \n );\n};\n\nexport default function AddUserModal({\n show,\n user,\n onHide,\n refetch,\n userRolesData,\n}) {\n const [errorMessage, setErrorMessage] = useState(\"\");\n const userAdd = useCreateUser();\n const [isOtpModalOpen,setIsOtpModalOpen] = useState(false)\n const [customerSubmitDetails,setCustomerSubmitDetails] = useState({})\n const verificationMethod = GetVerificationMethod()\n \n const onSuccess = (values) => {\n if(!verificationMethod.data.data.bysms){\n let serverUser = {\n givenName: values.firstName,\n familyName: values.lastName,\n phoneNumber: values.mobile,\n email: values.email,\n role: values.access,\n status: values.status,\n permissions: values.permissions,\n isMfaEnabled: false,\n method: \"email\"\n // business: values.business?.map((department) =>{return(parseInt(department))}),\n };\n userAdd\n .mutateAsync(serverUser)\n .then(() => {\n refetch();\n onHide();\n setErrorMessage(null);\n })\n .catch(function (error) {\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n }else{\n setCustomerSubmitDetails({\n givenName: values.firstName,\n familyName: values.lastName,\n phoneNumber: values.mobile,\n email: values.email,\n role: values.access,\n status: values.status,\n permissions: values.permissions,\n isMfaEnabled: false,\n // business: values.business?.map((department) =>{return(parseInt(department))}),\n })\n setIsOtpModalOpen(true)\n }\n }\n\n const onCloseOtpModal = ()=>{\n\n setIsOtpModalOpen(false)\n onHide();\n }\n\n return (\n \n \n
    \n \n

    Add User

    \n
    \n
    \n \n \n {isOtpModalOpen &&(\n onCloseOtpModal()} customerDetails={customerSubmitDetails} /> \n )} \n \n
    \n \n
    \n );\n}\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport {\n ImportIcon,\n EditIcon,\n IconExpandArrow,\n AddIcon,\n IconFileDownload,\n} from \"assets/icons\";\nimport Filter from \"ui/FilterUser\";\nimport { BasicButton } from \"ui/Buttons\";\n\nimport FormCheck from \"react-bootstrap/FormCheck\";\nimport styled from \"styled-components\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n SimpleSelect,\n DatePickerField,\n TimePickerField,\n Radio,\n RadioBlue,\n ErrorMessage,\n} from \"ui/forms\";\nimport Checkbox from \"ui/Checkbox\";\nimport \"react-phone-number-input/style.css\";\nimport PhoneInput from \"react-phone-number-input\";\nimport * as Yup from \"yup\";\nimport Card from \"ui/Card\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport ReactTooltip from \"react-tooltip\";\n\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table from \"ui/table\";\n\nimport ToggleButtonComponent from \"ui/ToggleButton\";\nimport { withRouter, useHistory } from \"react-router-dom\";\nimport { useQuery, useQueryClient, useMutation } from \"react-query\";\nimport axios from \"axios\";\nimport Loader from \"ui/Loader\";\n//import { resolve } from \"core-js/fn/promise\";\nimport { useDepartments } from \"queries/departments\";\nimport { useUsers } from \"queries/users\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport { useCreateUser } from \"mutations/createUser\";\nimport { useUpdateUser } from \"mutations/updateUser\";\nimport { useImportUser } from \"mutations/importUser\";\nimport EditUserModal from \"./EditUserModal\";\nimport AddUserModal from \"./AddUserModal\";\nimport { importCSV, downloadSampleImportFile } from \"services/user.service\";\nimport Tooltip from \"ui/Tooltip\";\nimport useDebounce from \"hooks/useDebounce\";\nimport { duration } from \"moment\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { useRoles } from \"queries/profile\";\n\nconst TopSection = styled.div`\n .download {\n text-decoration: underline;\n font-family: Montserrat Alternates;\n font-size: 12px;\n line-height: 15px;\n color: #909090;\n cursor: pointer;\n }\n`;\n\nconst Counter = styled.div`\n background-color: #33c2df;\n height: 17px;\n width: 17px;\n border-radius: 50%;\n display: inline-block;\n color: white;\n position: relative;\n top: 5px;\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\n\nconst StyledFilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst Import = styled.div`\n width: 100px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n /* margin: 0px 10px; */\n`;\n\nconst Capitalize = styled.span`\n text-transform: capitalize;\n`;\n\nexport default function UserListing() {\n let history = useHistory();\n\n const [showAddUserModal, setShowAddUserModal] = useState(false);\n const [showEditUserModal, setShowEditUserModal] = useState(false);\n const [currentSelectedUser, setCurrentSelectUser] = useState(null);\n\n const { data: roleData } = useRoles();\n const userRolesData = roleData?.data;\n\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n const [filterData, setFilterData] = useState({\n username: \"\",\n statusArray: [],\n roleArray: [],\n businessArray: [],\n sortOn: \"createdAt\",\n sortOrder: \"desc\",\n });\n\n const debouncedfilterData = useDebounce(filterData, 500);\n\n const [errorMessage, setErrorMessage] = useState(\"\");\n const userAdd = useCreateUser();\n const userUpdate = useUpdateUser();\n const queryClient = useQueryClient();\n const importUser = useImportUser();\n\n const {\n data: users,\n isLoading,\n refetch,\n } = useUsers(page, debouncedfilterData);\n const { data: departments } = useDepartments();\n\n const tableData = users ? users.rows : [];\n const TotalRowsCount = users ? users.count : \"\";\n\n const updateTableData = (updatedFilterData) => {\n setPage(0);\n setinitialPage(0);\n setFilterData({ ...filterData, ...updatedFilterData });\n };\n const handleImport = (event) => {\n let file = new FormData();\n file.append(\"file\", event.currentTarget.files[0]);\n importUser\n .mutateAsync(file)\n .then(() => {\n window.flash(\n \"open\",\n \"primary\",\n \"User imported successfully\",\n true,\n 3000\n );\n refetch();\n //setErrorMessage(\"User imported successfully\");\n })\n .catch(function (error) {\n if (error.response) {\n window.flash(\n \"open\",\n \"danger\",\n `${error.response.data.message}`,\n true,\n 3000\n );\n //setErrorMessage(error.response.data.message);\n }\n });\n };\n const onAddUserModalHide = () => {\n setShowAddUserModal(false);\n };\n\n const onEditUserModalHide = () => {\n setShowEditUserModal(false);\n };\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Name\",\n accessor: \"givenName\",\n id: \"givenName\",\n maxWidth: 100,\n Cell: (props) => {\n return (\n
    \n \n {props.row.original.givenName +\n \" \" +\n props.row.original.familyName}\n \n
    \n );\n },\n },\n {\n Header: \"Mobile\",\n accessor: \"phoneNumber\",\n id: \"phoneNumber\",\n },\n {\n Header: \"Email\",\n accessor: \"email\",\n id: \"email\",\n maxWidth: 150,\n },\n {\n Header: \"User Permission\",\n accessor: \"role\",\n id: \"role\",\n Cell: (props) => (\n <>\n \n {props.row.values.role == \"simplicollect\"\n ? \"SimpliCollect\"\n : props.row.values.role == \"simplipay\"\n ? \"SimpliPay\"\n : props.row.values.role == \"SimpliCollect&Simplipay\"\n ? \"SimpliCollect and SimpliPay\"\n : props.row.values.role}\n \n \n ),\n },\n\n /* businesses are hidden for current development */\n {\n Header: \"Businesses\",\n accessor: \"business\",\n id: \"business\",\n show: forFutureRelease,\n // disableSortBy: true,\n Cell: (props) => (\n <>\n {props.row.values.business.map((department) => (\n <>\n
    \n {department.name}\n \n \n \n {department.fullyQualifiedName.split(\":\").length - 1 > 0\n ? `+${\n department.fullyQualifiedName.split(\":\").length - 1\n }`\n : department.fullyQualifiedName.split(\":\").length}\n \n \n
    \n \n \n ))}\n \n ),\n },\n {\n Header: \"MFA\",\n accessor: \"isMfaEnabled\",\n id: \"isMfaEnabled\",\n maxWidth: 100,\n Cell: (props) => {\n return (\n
    \n {props.row.original.isMfaEnabled === true ? (\n \n \n \n ) : (\n \n \n \n )}\n \n
    \n );\n },\n },\n {\n Header: \"Status\",\n accessor: \"status\",\n id: \"status\",\n Cell: (props) =>\n props.row.values.status === \"active\" ? (\n \n {props.row.values.status}\n \n ) : (\n In Active\n ),\n },\n {\n Header: \"Action\",\n id: \"action\",\n disableSortBy: true,\n Cell: (props) => (\n <>\n }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_UM\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n {\n setCurrentSelectUser(props.row.original);\n setShowEditUserModal(true);\n }}\n font-size=\"18px\"\n />\n \n \n ),\n },\n ],\n []\n );\n\n const rowClick = (row) => {\n return null;\n };\n const onHeaderClick = (column) => {\n filterData.sortOn = column.id;\n filterData.sortOrder = filterData.sortOrder === \"desc\" ? \"asc\" : \"desc\";\n setFilterData({ ...filterData, ...filterData });\n };\n\n const handlePageChange = (page) => {\n setPage(page);\n setinitialPage(page);\n };\n\n return (\n <>\n \n \n \n \n {\" \"}\n

    Add Users and assign Roles to them

    \n \n \n \n }\n allowedRoles={[\"admin\"]}\n >\n <>\n \n \n \n Download sample
    Import File\n
    \n \n\n \n \n \n Import\n \n \n \n \n \n \n }\n allowedOperation=\"read-write\"\n allowedPermission=\"SETTINGS_UM\"\n allowedRoles={[\"admin\", \"read-write\"]}\n >\n {\n setShowAddUserModal(true);\n }}\n >\n Add User\n \n \n
    \n \n
    \n
    \n \n \n \n \n \n \n \n \n {currentSelectedUser && (\n \n )}\n \n );\n}\n","import { useQueryClient, useMutation } from \"react-query\";\nimport { importCSV } from \"services/user.service\";\n\nexport const useImportUser = () => {\n const queryClient = useQueryClient();\n return useMutation((File) => importCSV(File), {\n onSuccess: () => {\n queryClient.invalidateQueries(\"users\");\n },\n });\n};\n","import { getUsers } from \"services/user.service\";\nimport { useQuery } from \"react-query\";\n\nexport const useUsers = (page, filterData) => {\n return useQuery(\n [\"users\", { page, filterData }],\n () => getUsers(page, filterData),\n { keepPreviousData: true, staleTime: 60 * 60 * 1000 }\n );\n};\n","import React, { useEffect, useState, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { Row, Col } from \"react-bootstrap\";\nimport Card from \"ui/Card\";\nimport StepperComponent from \"../Stepper\";\n// import StatusBarComponent from \"ui/StatusBar\";\nimport { withRouter, useHistory } from \"react-router-dom\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport { BasicButton } from \"ui/Buttons\";\nimport UsersListing from \"screens/setup/user-management/UserListing\";\nimport { UIContext } from \"context/UIContext\";\nimport { Route_URLs } from \"routesURLs\";\n\nconst OuterDiv = styled.div`\n padding: 0px 20px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n }\n`;\n\nconst StyledCard = styled.div`\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\n\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n .skip-button {\n float: right;\n background: none;\n border: 2px solid #909090;\n }\n padding: 20px;\n`;\n\nfunction UserManagement(props) {\n const { onBoarding } = useContext(UIContext);\n let history = useHistory();\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n\n const handlePageChange = (page) => {\n setPage(page);\n setinitialPage(page);\n };\n\n return (\n \n \n \n \n \n {/* */}\n

    User Management

    \n \n \n
    \n
    \n \n \n \n \n \n {/* User Listing */}\n \n \n \n \n \n\n {/* */}\n \n history.push(Route_URLs.setup_cash_classification)}\n >\n Back\n \n\n \n history.push(Route_URLs.setup_customer_notification)\n }\n >\n Next\n \n \n \n \n
    \n
    \n );\n}\nexport default UserManagement;\n","import axios from \"utils/APIv2\";\n\nexport const getReceivablesAccounts = async (page, limit, accountName) => {\n const params = {\n pageNo: page,\n limit: \"100\",\n accountName: accountName,\n };\n const res = await axios.get(`/cashClassification/non-trade-receivables`, {\n params: params,\n });\n return res.data;\n};\n\nexport const getPayablesAccounts = async (page, limit, accountName) => {\n const params = {\n pageNo: page,\n limit: \"100\",\n accountName: accountName,\n };\n const res = await axios.get(`/cashClassification/non-controllable-payables`, {\n params: params,\n });\n return res.data;\n};\n\nexport const getBanks = async (page, limit, accountName) => {\n const params = {\n pageNo: page,\n limit: \"100\",\n accountName: accountName,\n };\n const res = await axios.get(`/cashClassification/bank`, {\n params: params,\n });\n return res.data;\n};\n\nexport const getAllSelectedAccounts = async () => {\n const res = await axios.get(\n `/cashClassification/nonTradeAndNonControllables`\n );\n return res.data;\n};\nexport const getAllIncomeAccounts = async () => {\n console.log('cash-classification-income')\n const res = await axios.get(\n `/cashClassification/cash-classification-income`\n );\n return res.data;\n};\nexport const getAllExpenseAccounts = async () => {\n console.log('cash-classification-expense')\n const res = await axios.get(\n `/cashClassification/cash-classification-expense`\n );\n return res.data;\n};\nexport const getAllrecurringAccounts = async (payload) => {\n console.log('cash-classification-recuring')\n const res = await axios.get(\n `/cashClassification/cash-classification-recuring`\n );\n return res.data;\n};\nexport const postAllSelectedAccounts = async (payload) => {\n return await axios.post(\n `/cashClassification/nonTradeAndNonControllables`,\n payload\n );\n};\nexport const postAllSelectedRecurringAccounts = async (payload) => {\n return await axios.post(\n `/cashClassification/nonTradeAndNonControllables/recuring`,\n payload\n );\n};\n\nexport const deleteCashClassificationBudgeting = async (payload) => {\n return await axios.delete(\n `/cashClassification/cash-budgeting-delete`, {\n params: payload, // Send payload as query parameters\n }\n );\n};\n\nexport const addCashClassificationBudgeting = async (payload) => {\n return await axios.post(\n `/cashClassification/cash-budgeting-add`,\n payload\n );\n};\n\nexport const getCashClassificationBudgetingExpenseList = async (payload) => {\n return await axios.get(\n `/cashClassification/cash-budgeting-expense-list`,\n payload\n );\n};\n\nexport const getCashClassificationBudgetingIncomeList = async (payload) => {\n return await axios.get(\n `/cashClassification/cash-budgeting-income-list`,\n payload\n );\n};","import {\n useTable,\n useSortBy,\n usePagination,\n useFilters,\n useExpanded,\n useRowSelect,\n} from \"react-table\";\nimport React, { useEffect, useState } from \"react\";\nimport styled from \"styled-components\";\nimport { SortIcon } from \"assets/icons.js\";\nimport { Table as BSTable } from \"react-bootstrap\";\nimport ReactPaginate from \"react-paginate\";\nimport Loader from \"./Loader\";\nimport Tooltip from \"ui/Tooltip\";\nimport { InfoIcon } from \"assets/icons\";\n\nexport const StyledSubRows = styled.span`\n content: \"${(props) => props.depth}\";\n padding-left: ${(props) =>\n (props.depth == 0 && \"13px\") ||\n (props.depth == 1 && \"23px\") ||\n `${props.depth * 11}px`};\n`;\n\nexport const TableWrapper = styled.div`\n position: relative;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 2px 6px #0000000a;\n padding: 15px 25px;\n border-radius: 5px;\n min-height: 470px;\n .spinner-border.text-secondary {\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n }\n .styledNoRecord {\n color: white;\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n display: inline-table;\n top: 151px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n border: 2px solid #707070;\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 3px;\n margin-top: 3px;\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: transparent;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\nconst StyledCheckboxHeader = styled.div`\n margin-top: 3px;\n input {\n background-color: transparent !important;\n border: 2px solid #ffffff !important;\n }\n`;\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n display: inline-block;\n`;\n\nexport const StyledTable = styled(BSTable)`\n td {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n border-bottom: 1px solid gray;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n th {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #ffffff;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n td:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n th:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n /* td:last-child {\n text-align: right;\n }\n th:last-child {\n text-align: right;\n } */\n`;\nexport const TableHead = styled.thead`\n tr {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%) 0%\n 0%;\n border-bottom: underline;\n @media (min-width: 768px) and (max-width: 1024px) {\n th {\n background: #0081c5;\n }\n }\n &:hover {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%)\n 0% 0% no-repeat padding-box;\n color: #ffffff;\n }\n }\n svg {\n font-size: 8px;\n margin-left: 2px;\n }\n\n /* th:first-child {\n position: sticky;\n left: 0;\n } */\n`;\nexport const StyledRow = styled.tr`\n color: #b5b5b5;\n cursor: pointer;\n &:hover {\n background-color: #636471;\n color: #ffffff;\n }\n`;\n\nexport const PaginationWrapper = styled.div`\n position: relative;\n width: 100%;\n`;\n\nexport const Pagination = styled.div`\n color: white;\n display: flex;\n justify-content: center;\n margin: 0 auto;\n\n ul {\n margin: 10px;\n }\n\n & li {\n padding: 0.2rem;\n border-radius: 7px;\n padding-bottom: 0px !important;\n\n a {\n padding: 0.5rem;\n }\n }\n\n & .active {\n background-color: #33c2df; \n }\n .previous,\n .next {\n background-color: #373743;\n }\n`;\nconst StyledNoRecord = styled.span`\n color: white;\n`;\nconst StyledLoader = styled.div`\n /* font-size:1em; */\n`;\nconst ScrollWindow = styled.div`\n overflow: auto;\n ::-webkit-scrollbar {\n height: 7px;\n }\n ::-webkit-scrollbar-track {\n background: #3a3b48;\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n`;\nconst IndeterminateCheckbox = React.forwardRef(\n ({ indeterminate, ...rest }, ref) => {\n const defaultRef = React.useRef();\n const resolvedRef = ref || defaultRef;\n\n React.useEffect(() => {\n resolvedRef.current.indeterminate = indeterminate;\n }, [resolvedRef, indeterminate]);\n\n return (\n <>\n \n \n );\n }\n);\nfunction CashClassificationAccountsTable({\n isloading,\n editId,\n columns,\n data,\n onHeaderClick,\n totalCount,\n handlePageChange,\n initialPage,\n isEdit,\n updateData,\n checkbox,\n updateAccountData\n}) {\n function updateAccount(e, Id) {\n let { name, value } = e.target;\n let accs = data;\n accs.forEach((elem) => {\n if (elem.Id === Id) {\n elem[name] = name === 'days' || name === 'amount' ? +value : value;\n }\n });\n updateAccountData(accs);\n }\n\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n page,\n nextPage,\n previousPage,\n gotoPage,\n prepareRow,\n state: { expanded },\n } = useTable(\n {\n manualPagination: true,\n initialState: { pageIndex: 0, pageSize: 10 },\n columns,\n data,\n manualSortBy: true,\n editId,\n isEdit,\n updateData,\n },\n useFilters,\n useSortBy,\n useExpanded,\n usePagination,\n useRowSelect,\n (hooks) => {\n checkbox &&\n hooks.visibleColumns.push((columns) => [\n {\n id: \"selection\",\n width: 3,\n disableSortBy: true,\n Header: ({ getToggleAllRowsSelectedProps }) => (\n \n \n \n ),\n Cell: ({ row }) => (\n
    e.stopPropagation()}>\n e.stopPropagation()}\n />\n
    \n ),\n },\n ...columns,\n ]);\n }\n );\n\n function getDaysOptions(frequency) {\n if (frequency === 'monthly') {\n // Generate options for month days\n const options = [];\n for (let i = 1; i <= 29; i++) {\n options.push();\n }\n const currentDate = new Date();\n const lastDayOfMonth = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0).getDate();\n options.push()\n return options;\n } else if (frequency === 'weekly') {\n // Generate options for weekdays as numeric starting from 0\n const weekdays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];\n return weekdays.map((day, index) => (\n \n ));\n } else if (frequency === 'bi-weekly') {\n // Generate options for 14 days\n const options = [];\n for (let i = 1; i <= 14; i++) {\n options.push();\n }\n return options;\n } else {\n return null;\n }\n }\n\n\n const [Pagecount, setPagecount] = useState();\n useEffect(() => {\n let temp = Math.ceil(Math.abs(totalCount / 10));\n setPagecount(temp > 1 ? temp : 1);\n // handlePageChange(0);\n // if (totalCount % 10 === 0) {\n // const lastPageIndex = temp === 0 ? 0 : temp - 1;\n // handlePageChange(lastPageIndex);\n // }\n }, [totalCount]);\n\n return (\n <>\n \n {isloading ? (\n \n ) : (\n <>\n {/* */}\n \n \n {headerGroups.map((headerGroup) => (\n \n {headerGroup.headers.map((column, pos) => (\n \n !column.disableSortBy && onHeaderClick(column)\n }\n >\n {column.render(\"Header\")}\n {column?.Tooltip && (\n \n \n \n \n )}\n {/* {column.isSorted?(column.isSortedDesc ?:):\" \"} */}\n {!column.disableSortBy && {}}\n {/* {{}} */}\n \n ))}\n \n ))}\n \n \n {!isloading && data.length > 0 ? (\n <>\n {page.slice(initialPage * 10, (initialPage + 1) * 10).map((row, index) => {\n prepareRow(row);\n let rowVals = row.cells;\n \n return (\n { e.preventDefault() }\n }\n >\n {\n rowVals.map((cell, pos) => {\n\n return (\n \n
    \n {\n (cell.column.id === 'frequency' && cell.row.original.recurring) ?\n updateAccount(e, cell.row.original.Id)}\n value={cell.row.original.frequency}\n name=\"frequency\"\n className=\"frequency-selector\"\n style={{ cursor: 'pointer', textAlign: \"center\", height: \"30px\" }}\n >\n \n \n \n \n \n :\n (cell.column.id === 'amount' && cell.row.original.recurring) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"Amount\"\n value={cell.row.original.amount}\n name=\"amount\"\n />\n :\n (cell.column.id === 'week1' && cell.row.original.recurring && cell.row.original.changeAmount) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"Week1\"\n value={cell.row.original.week1}\n name=\"week1\"\n />\n :\n (cell.column.id === 'week2' && cell.row.original.recurring && cell.row.original?.changeAmount) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"Week2\"\n value={cell.row.original.week2}\n name=\"week2\"\n />\n :\n (cell.column.id === 'week3' && cell.row.original.recurring && cell.row.original?.changeAmount) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"Week3\"\n value={cell.row.original.week3}\n name=\"week3\"\n />\n :\n (cell.column.id === 'week4' && cell.row.original.recurring && cell.row.original?.changeAmount) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"Week4\"\n value={cell.row.original.week4}\n name=\"week4\"\n />\n :\n (cell.column.id === 'week5' && cell.row.original.recurring && cell.row.original?.changeAmount) ?\n {\n const inputValue = e.target.value;\n if (/^\\d*\\.?\\d*$/.test(inputValue)) {\n updateAccount(e, cell.row.original.Id)\n }\n }}\n id=\"accounts-incomes-expense-inputs\"\n type=\"text\"\n placeholder=\"week5\"\n value={cell.row.original.week5}\n name=\"week5\"\n />\n :\n (cell.column.id === 'day' && cell.row.original.recurring) ?\n updateAccount(e, cell.row.original.Id)}\n name=\"days\"\n className=\"frequency-selector\"\n style={{ textAlign: \"center\", height: \"30px\", cursor: cell.row.original.frequency === 'daily' ? 'not-allowed' : 'pointer' }}\n disabled={cell.row.original.frequency === 'daily' ? true : false}\n >\n {getDaysOptions(cell.row.original.frequency)}\n \n :\n cell.render(\"Cell\") === \"\" ? \"-\" : cell.render(\"Cell\")\n }\n
    \n \n );\n })\n }\n \n \n );\n })}\n\n \n ) : (\n \n No Records Found\n )}\n \n
    \n {/*
    */}\n {!isloading && data.length > 0 ? (\n \n \n \"}\n breakLabel={\"...\"}\n breakClassName={\"break-me\"}\n pageCount={Pagecount}\n marginPagesDisplayed={1}\n pageRangeDisplayed={6}\n // onPageChange={(_page) => gotoPage(_page.selected)}\n onPageChange={(_page) => handlePageChange(_page.selected)}\n containerClassName={\"pagination\"}\n activeClassName={\"active\"}\n forcePage={initialPage}\n />\n \n \n ) : (\n <>\n )}\n \n )}\n
    \n \n );\n}\nexport default CashClassificationAccountsTable;\n","import React, { useState, useContext, useEffect, useRef } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport { Form, Formik, Checkbox } from \"ui/forms\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { TopArrowSubmenuIcon, SearchIcon } from \"assets/icons.js\";\nimport { useHistory } from \"react-router-dom\";\nimport StepperComponent from \"./Stepper\";\nimport { UIContext } from \"context/UIContext\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport Loader from \"ui/Loader\";\nimport useDebounce from \"hooks/useDebounce\";\nimport {\n getReceivablesAccounts,\n getPayablesAccounts,\n getCashClassificationBudgetingExpenseList,\n getCashClassificationBudgetingIncomeList,\n getAllrecurringAccounts,\n // getBanks,\n} from \"services/cashClassification.services\";\nimport { Desktop, Tablet, Mobile } from \"ui/mediaQueries\";\nimport Accordion from \"react-bootstrap/Accordion\";\nimport {\n useCashClassificationAccounts,\n useCashClassificationIncomeAccounts,\n useCashClassificationExpenseAccounts,\n useCashClassificationrecurringAccounts,\n useCashClassificationRecurringAccounts,\n} from \"queries/cashClassificationAccounts\";\nimport {\n useAddCashClassificationAccounts,\n useAddCashClassificationRecurringPayables,\n useAddCashClassificationBudgeting,\n useDeleteCashClassificationBudgeting,\n} from \"mutations/addCashClassificationAccounts\";\nimport { FieldArray } from \"formik\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport Table, { StyledSubRows } from \"ui/table\";\nimport CashClassificationAccountsTable from \"ui/CashClassificationAccountsTable\";\nimport { ArrowDownIcon, UpIcon } from \"assets/icons\";\nimport { useQueryClient } from \"react-query\";\nimport Toggleicon from \"assets/arrow-down-new.svg\";\nimport InsightsContext from \"context/InsightsContext\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\n\nconst StyledSelect = styled.div`\n .react-select-container .react-select__menu-list {\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .react-select-container {\n position: absolute;\n background: #3a3b48;\n border: 1px solid #707070;\n z-index: 99;\n color: #ffffff69;\n }\n .react-select-container .react-select__control {\n /* height: 25px; */\n border: 1px solid #707070;\n background: #3a3b48;\n color: #ffffff69;\n outline: none;\n box-shadow: none;\n font-size: 12px;\n line-height: 13px;\n min-width: 228px;\n\n &:hover {\n outline: none;\n box-shadow: none;\n }\n &:focus {\n outline: none;\n box-shadow: none;\n }\n }\n .react-select-container .react-select__menu {\n background: #3a3b48;\n }\n .react-select-container .react-select__control--menu-is-open {\n background: #3a3b48;\n }\n .css-11unzgr {\n max-height: 100px;\n }\n .css-1g6gooi {\n color: #ffffff69;\n }\n .css-151xaom-placeholder {\n top: 80%;\n }\n .react-select-container .react-select__value-container {\n height: 25px;\n }\n\n button {\n width: 240px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff69;\n padding: 12px;\n }\n .react-select-container .react-select__option {\n background: #3a3b48;\n font-size: 10px;\n line-height: 13px;\n color: #ffffff69;\n display: flex;\n align-items: center;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #3a3b48;\n border: 1px solid #707070;\n display: inline-block;\n width: 14px;\n height: 14px;\n\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: #3a3b48;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\n\nconst StyledCard = styled.div``;\nconst OuterDiv = styled.div`\n padding: 30px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n }\n`;\nconst PartionDiv = styled.div`\n padding: 20px 10px;\n min-height: 250px;\n`;\n\nconst AccountsDiv = styled.div`\n padding: 10px;\n p {\n display: inline-block;\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 13px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n }\n`;\n\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n padding: 20px;\n`;\nconst MainContainer = styled.div`\n position: relative;\n`;\nconst TopSection = styled.div`\n width: 240px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff69;\n padding: 12px;\n cursor: pointer;\n svg {\n margin-top: 5px;\n transform: rotateZ(180deg);\n transition: all 0.2s ease-in-out;\n float: right;\n path {\n fill: #ffffff69;\n }\n }\n`;\nconst BottomSection = styled.div`\n /* width: 240px; */\n\n padding: 10px;\n margin-top: 10px;\n height: 200px;\n /* position: absolute; */\n background: #3a3b48;\n border: 1px solid #707070;\n z-index: 99;\n color: #ffffff69;\n .search-icon {\n position: absolute;\n top: 30%;\n right: 10%;\n }\n`;\nconst SearchInput = styled.input`\n border: 1px solid #707070;\n background: #3a3b48;\n color: #ffffff69;\n font-size: 12px !important;\n /* min-width: 228px; */\n border-radius: 0px !important;\n &:focus {\n background-color: #3a3b48 !important;\n color: #ffffff69 !important;\n }\n`;\nconst CheckboxSection = styled.div`\n ::-webkit-scrollbar {\n width: 8px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n overflow-y: scroll;\n height: 135px;\n margin-top: 10px;\n input {\n margin-right: 5px;\n }\n label {\n display: flex;\n align-items: center;\n }\n li {\n padding-bottom: 8px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #3a3b48;\n border: 1px solid #707070;\n display: inline-block;\n width: 14px;\n height: 14px;\n\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: #3a3b48;\n position: absolute;\n top: -45%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -45%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\nconst ExpandIcon = styled.div`\n display: flex;\n cursor: pointer;\n .icon {\n width: 8px;\n height: 6px;\n align-items: center;\n justify-content: center;\n path {\n fill: #33c2df;\n }\n }\n`;\n\nconst StyledAccordion = styled(Accordion)`\n margin-top: 20px;\n .accordion-item:first-of-type {\n border-bottom-left-radius: 0.25rem;\n border-bottom-right-radius: 0.25rem;\n }\n .accordion-item:last-of-type {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n }\n .accordion-item {\n background-color: #3a3b48;\n margin-bottom: 12px;\n .accordion-button:not(.collapsed) {\n box-shadow: none;\n }\n p {\n text-align: left;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-top: 20px;\n margin-bottom: 24px;\n }\n img {\n width: 100%;\n /* height: 336px; */\n }\n }\n .accordion-header {\n button {\n text-align: left;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #909090;\n background-color: #3a3b48;\n }\n .accordion-button::after {\n background-image: url(${Toggleicon});\n }\n }\n`;\n\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input {\n background: transparent 0% 0% no-repeat padding-box !important;\n color: #808186 !important;\n }\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n background: transparent 0% 0% no-repeat padding-box;\n &:after {\n color: transparent;\n }\n &:checked {\n &:after {\n color: #33c2df;\n }\n }\n }\n`;\n\nfunction CashClassification() {\n let history = useHistory();\n const { onBoarding } = useContext(UIContext);\n const [showARList, setShowARList] = useState(false);\n const [showAPList, setShowAPList] = useState(false);\n const [showIncomeAccountsList, setShowIncomeAccountsList] = useState(false);\n const [showExpenseAccountsList, setShowExpenseAccountsList] = useState(false);\n const [\n showrecurringPayablesAccountsList,\n setShowrecurringPayablesAccountsList,\n ] = useState(false);\n const [showBankList, setShowBankList] = useState(false);\n const [receivablesPage, setReceivablesPage] = useState(0);\n const [payablesPage, setPayablesPage] = useState(0);\n const [bankPage, setBankPage] = useState(0);\n const [receivablesData, setReceivablesData] = useState([]);\n const [payablesData, setPayablesData] = useState([]);\n const [bankData, setBankData] = useState([]);\n const [totalCountBanks, setTotalCountBanks] = useState(0);\n const [limit, setLimit] = useState(10);\n const [totalCountReceivables, setTotalCountReceivables] = useState();\n const [totalCountPayables, setTotalCountPayables] = useState();\n const [RecordsLengthReceivables, setRecordsLengthReceivables] = useState();\n const [RecordsLengthPayables, setRecordsLengthPayables] = useState();\n const [receivablesSearch, setReceivablesSearch] = useState(\"\");\n const [incomesSearch, setIncomesSearch] = useState(\"\");\n const [expensesSearch, setExpensesSearch] = useState(\"\");\n const [payablesSearch, setPayablesSearch] = useState(\"\");\n const [recurringPayablesSearch, setrecurringPayablesSearch] = useState(\"\");\n const [bankSearch, setBankSearch] = useState(\"\");\n const [errorMessage, setErrorMessage] = useState(\"\");\n\n const debouncedSearchReceivables = useDebounce(receivablesSearch, 500);\n const debouncedSearchPayables = useDebounce(payablesSearch, 500);\n const debounceBankSearch = useDebounce(bankSearch, 500);\n\n const [incomeAccounts, setIncomeAccounts] = useState([]);\n const [expenseAccounts, setExpenseAccounts] = useState([]);\n const [recurringPayablesAccounts, setRecurringPayablesAccounts] = useState(\n []\n );\n const [tableRerender, setTableRerender] = useState(false);\n const [showIncomeInfoMessage, setShowIncomeInfoMessage] = useState(false);\n const [showExpenseInfoMessage, setShowExpenseInfoMessage] = useState(false);\n const [incomeInitialPage, setIncomeInitialPage] = useState(0);\n const [expenseInitialPage, setExpenseInitialPage] = useState(0);\n const [recurringInitialPage, setRecurringInitialPage] = useState(0);\n const queryClient = useQueryClient();\n const { AccordionOpenState } = useContext(InsightsContext);\n const bottomSectionRef = useRef(null);\n const showRecurringColumn = false;\n const [selectedRowId, setSelectedRowId] = useState(null);\n const [isSubmit, setIsSubmit] = useState(false);\n\n const { data: cashClassificationAccounts, isLoading } =\n useCashClassificationAccounts();\n\n const { data: cashClassificationIncomeAccounts, isLoadingIncomeAccounts } =\n useCashClassificationIncomeAccounts();\n\n const { data: cashClassificationExpenseAccounts, isLoadingExpenseAccounts } =\n useCashClassificationExpenseAccounts();\n\n const {\n data: cashClassificationrecurringPayableAccounts,\n isLoadingrecurringAccounts,\n } = useCashClassificationRecurringAccounts();\n const { data: generalSettingsData } = useGeneralSettings();\n\n const [mapCCIncomeAccounts, setMapCCIncomeAccounts] = useState([]);\n const [mapCCExpenseAccounts, setMapCCExpenseAccounts] = useState([]);\n const [mapCCrecurringAccounts, setMapCCrecurringAccounts] = useState([]);\n\n async function getRecurringPayablesData() {\n try {\n let res = await getAllrecurringAccounts({\n pageNumber: recurringInitialPage,\n limit,\n });\n setRecurringPayablesAccounts(\n res.data.map((e) => {\n if (!e.recurring) {\n let amount = \"-\";\n let frequency = \"-\";\n let days = \"-\";\n return {\n ...e,\n // amount,\n frequency,\n days,\n };\n } else {\n return e;\n }\n })\n );\n } catch (e) {\n console.log(e);\n }\n }\n\n async function getIncomeAccountsTableList(slection) {\n try {\n if(slection && slection==\"deselct\"){\n setIncomeAccounts([])\n }else{\n let res = await getCashClassificationBudgetingIncomeList({\n pageNumber: incomeInitialPage,\n limit,\n });\n setIncomeAccounts(\n res.data.data.map((e) => {\n if (!e.recurring) {\n let amount = \"-\";\n let frequency = \"-\";\n let days = \"-\";\n return {\n ...e,\n amount,\n frequency,\n days,\n };\n } else {\n return e;\n }\n })\n );\n }\n // setIncomeAccounts(res.data.data);\n } catch (e) {\n console.log(e);\n }\n }\n\n async function getExpenseAccountsTableList(slection) {\n try {\n if(slection && slection==\"deselct\"){\n setExpenseAccounts([])\n }else{\n let res = await getCashClassificationBudgetingExpenseList({\n pageNumber: expenseInitialPage,\n limit,\n });\n setExpenseAccounts(\n res.data.data.map((e) => {\n if (!e.recurring) {\n let amount = \"-\";\n let frequency = \"-\";\n let days = \"-\";\n return {\n ...e,\n amount,\n frequency,\n days,\n };\n } else {\n return e;\n }\n })\n );\n }\n } catch (e) {\n console.log(e);\n }\n }\n useEffect(async () => {\n await getIncomeAccountsTableList();\n await getExpenseAccountsTableList();\n await getRecurringPayablesData();\n }, []);\n\n const AddCashClassificationAccounts = useAddCashClassificationAccounts();\n const AddCashClassificationRecurringPayables =\n useAddCashClassificationRecurringPayables();\n const AddCashClassificationBudgeting = useAddCashClassificationBudgeting();\n const DeleteCashClassificationBudgeting =\n useDeleteCashClassificationBudgeting();\n\n const arAccoutsData = cashClassificationAccounts?.arAccounts;\n const apAccoutsData = cashClassificationAccounts?.apAccounts;\n const bankAccountData = cashClassificationAccounts?.bankAccounts;\n\n const [fillAllForIncomes, setFillAllForIncomes] = useState(false);\n const [fillAllForExpenses, setFillAllForExpenses] = useState(false);\n\n function updateIncomeAccount(accs) {\n setIncomeAccounts(accs);\n setTableRerender(!tableRerender);\n }\n function updateExpenseAccount(accs) {\n setExpenseAccounts(accs);\n setTableRerender(!tableRerender);\n }\n function updaterecurringAccount(accs) {\n setRecurringPayablesAccounts(accs);\n setTableRerender(!tableRerender);\n }\n\n function deleteAccount(caller, arr) {\n try {\n let finalArray = arr.filter((e) => e.Id != caller.Id);\n return finalArray;\n } catch (e) {\n console.log(e);\n }\n }\n\n const clickRowToUpdate = (row, obj, caller) => {\n try {\n if (caller === \"remove\") {\n // Check if the clicked element is within the \"remove\" column\n if (\n row &&\n row.target &&\n row.target.classList.contains(\"remove-column\")\n ) {\n // Perform your action here (e.g., delete the row)\n if (\n [ 'INCOME',\n 'Income',\n 'OthIncome',\n 'OtherIncome',\n 'OTHERINCOME',\n 'Other Income',\n 'Other Current Asset',\n 'OthCurrAsset',\n 'Fixed Asset',\n 'FixedAsset',\n 'OTHERCURRENTASSET',\n 'FIXEDASSET',\n 'Bank',\n 'BANK',\n ].includes(\n obj[\"AccountType\"]\n )\n ) {\n setIncomeAccounts(deleteAccount(obj, incomeAccounts));\n } else if ([\"recurring\"].includes(obj[\"AccountType\"].toLowerCase())) {\n setRecurringPayablesAccounts(\n deleteAccount(obj, recurringPayablesAccounts)\n );\n } else {\n setExpenseAccounts(deleteAccount(obj, expenseAccounts));\n }\n }\n } else if (caller === \"change-column\") {\n if (\n row &&\n row.target &&\n row.target.classList.contains(\"change-column\")\n ) {\n obj.changeAmount = !obj.changeAmount;\n\n console.log(obj);\n }\n }\n } catch (e) {\n console.log(e);\n }\n };\n\n async function handlePageChangeIncome(pageNumber) {\n setIncomeInitialPage(pageNumber);\n }\n async function handlePageChangeExpense(pageNumber) {\n setExpenseInitialPage(pageNumber);\n }\n async function handlePageChangeRecurring(pageNumber) {\n setRecurringInitialPage(pageNumber);\n }\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Account Name\",\n accessor: \"FullyQualifiedName\",\n id: \"fullyQualifiedName\",\n Cell: ({ row, cell }) =>\n row.canExpand ? (\n \n {row.isExpanded ? (\n \n
    \n \n
    \n {\" \"}\n {cell.value}\n
    \n ) : (\n \n
    \n \n
    \n {\" \"}\n {cell.value}\n
    \n )}\n \n ) : (\n {cell.value}\n ),\n },\n {\n Header: \"Account Type\",\n accessor: \"AccountType\",\n id: \"AccountType\",\n disableSortBy: true,\n },\n {\n Header: \"Recurring\",\n accessor: \"recurring\",\n id: \"accountType\",\n Cell: ({ row, cell }) => {\n return (\n \n {\n const newValue = e.target.checked; // Get the new value of the checkbox\n // Update the state based on the checkbox value and unique identifier\n if (\n [\n 'INCOME',\n 'Income',\n 'OthIncome',\n 'OtherIncome',\n 'OTHERINCOME',\n 'Other Income',\n 'Other Current Asset',\n 'OthCurrAsset',\n 'Fixed Asset',\n 'FixedAsset',\n 'OTHERCURRENTASSET',\n 'FIXEDASSET',\n 'Bank',\n 'BANK',\n ].includes(row.original.AccountType)\n ) {\n setIncomeAccounts((prevAccounts) =>\n prevAccounts.map((elem) => {\n if (elem.Id === row.original.Id) {\n return {\n AccountType: elem.AccountType,\n frequency: newValue ? \"daily\" : \"-\",\n days: newValue ? 1 : \"-\",\n amount: newValue ? \"\" : \"-\",\n FullyQualifiedName: elem.FullyQualifiedName,\n recurring: newValue,\n Id: elem.Id,\n };\n } else {\n return elem;\n }\n })\n );\n } else {\n setExpenseAccounts((prevAccounts) =>\n prevAccounts.map((elem) => {\n if (elem.Id === row.original.Id) {\n return {\n AccountType: elem.AccountType,\n frequency: newValue ? \"daily\" : \"-\",\n days: newValue ? 1 : \"-\",\n amount: newValue ? \"\" : \"-\",\n FullyQualifiedName: elem.FullyQualifiedName,\n recurring: newValue,\n Id: elem.Id,\n };\n } else {\n return elem;\n }\n })\n );\n }\n }}\n />\n \n );\n },\n },\n {\n Header: \"Frequency\",\n accessor: \"frequency\",\n id: \"frequency\",\n },\n {\n Header: \"Day\",\n accessor: \"days\",\n id: \"day\",\n },\n {\n Header: \"Amount\",\n accessor: \"amount\",\n id: \"amount\",\n },\n {\n Header: \"Remove\",\n accessor: \"removeAccount\",\n id: \"removeAccount\",\n width: 180,\n minwidth: 180,\n disableSortBy: true,\n Cell: ({ row, cell }) => (\n <>\n {\n e.stopPropagation();\n clickRowToUpdate(e, cell.row.original, \"remove\");\n }}\n >\n Remove\n \n \n ),\n },\n ],\n [\n expenseAccounts,\n incomeAccounts,\n recurringPayablesAccounts,\n mapCCExpenseAccounts,\n mapCCIncomeAccounts,\n mapCCrecurringAccounts,\n ]\n );\n\n const RecurringPayablesColumns = React.useMemo(\n () => [\n {\n Header: \"Supplier Name\",\n accessor: \"supplierName\",\n id: \"supplierName\",\n },\n {\n Header: \"Payment Type\",\n accessor: \"PaymentType\",\n id: \"PaymentType\",\n },\n {\n Header: \"Confidence\",\n accessor: \"Confidence\",\n id: \"Confidence\",\n },\n\n {\n Header: \"Week 1\",\n accessor: \"week1\",\n id: \"week1\",\n },\n {\n Header: \"Week 2\",\n accessor: \"week2\",\n id: \"week2\",\n },\n {\n Header: \"Week 3\",\n accessor: \"week3\",\n id: \"week3\",\n },\n {\n Header: \"Week 4\",\n accessor: \"week4\",\n id: \"week4\",\n },\n {\n Header: \"Week 5\",\n accessor: \"week5\",\n id: \"week5\",\n },\n // {\n // Header: \"Accept\",\n // accessor: \"acceptAccount\",\n // id: \"acceptAccount\",\n // width: 180,\n // minWidth: 180,\n // disableSortBy: true,\n // Cell: ({ row, cell }) => (\n // <>\n // {\n // e.stopPropagation();\n // clickRowToUpdate(e, cell.row.original, \"accept\");\n // }}\n // >\n // Accept\n // \n // \n // ),\n // },\n\n {\n Header: \"Edit\",\n accessor: \"changeAmount\",\n id: \"changeAmount\",\n width: 180,\n minWidth: 180,\n disableSortBy: true,\n Cell: ({ row, cell }) => (\n <>\n {\n clickRowToUpdate(e, cell.row.original, \"change-column\");\n\n setSelectedRowId(row.original.Id);\n setRecurringPayablesAccounts((prevAccounts) =>\n prevAccounts.map((elem) => {\n if (elem.Id === row.original.Id) {\n return {\n ...elem,\n week1:\n elem.week1 === \"\"\n ? \"0.00\"\n : parseFloat(elem.week1).toFixed(2),\n week2:\n elem.week2 === \"\"\n ? \"0.00\"\n : parseFloat(elem.week2).toFixed(2),\n week3:\n elem.week3 === \"\"\n ? \"0.00\"\n : parseFloat(elem.week3).toFixed(2),\n week4:\n elem.week4 === \"\"\n ? \"0.00\"\n : parseFloat(elem.week4).toFixed(2),\n week5:\n elem.week5 === \"\"\n ? \"0.00\"\n : parseFloat(elem.week5).toFixed(2),\n };\n } else {\n return elem;\n }\n })\n );\n }}\n >\n {row.original.changeAmount ? \"Accept\" : \"Change\"}\n \n \n ),\n },\n ],\n [\n expenseAccounts,\n incomeAccounts,\n recurringPayablesAccounts,\n mapCCExpenseAccounts,\n mapCCIncomeAccounts,\n mapCCrecurringAccounts,\n ]\n );\n\n useEffect(() => {}, [incomeAccounts, expenseAccounts]);\n const reformattedAR = arAccoutsData?.map(\n ({ AccountType, FullyQualifiedName, _id, Id }) => ({\n AccountType: AccountType,\n FullyQualifiedName: FullyQualifiedName,\n _id: _id,\n Id: Id,\n })\n );\n\n const reformattedAP = apAccoutsData?.map(\n ({ AccountType, FullyQualifiedName, _id, Id }) => ({\n AccountType: AccountType,\n FullyQualifiedName: FullyQualifiedName,\n _id: _id,\n Id: Id,\n })\n );\n\n const reformattedBank = bankAccountData?.map(\n ({ AccountType, FullyQualifiedName, _id, Id }) => ({\n AccountType: AccountType,\n FullyQualifiedName: FullyQualifiedName,\n _id: _id,\n Id: Id,\n })\n );\n\n useEffect(() => {\n getReceivables(receivablesPage, limit, debouncedSearchReceivables);\n getPayables(payablesPage, limit, debouncedSearchPayables);\n // getBanksData(bankPage, limit, debounceBankSearch);\n }, [receivablesPage, payablesPage, bankPage]);\n\n useEffect(() => {\n getReceivablesSearch(receivablesPage, limit, debouncedSearchReceivables);\n getPayablesSearch(payablesPage, limit, debouncedSearchPayables);\n // getBankSearch(bankPage, limit, debounceBankSearch);\n }, [debouncedSearchReceivables, debouncedSearchPayables, debounceBankSearch]);\n\n const getReceivables = (\n receivablesPage,\n limit,\n debouncedSearchReceivables\n ) => {\n getReceivablesAccounts(receivablesPage, limit, debouncedSearchReceivables)\n .then((res) => {\n let result = res.data;\n let records = [...receivablesData, ...result];\n setRecordsLengthReceivables(records.length);\n setReceivablesData(records);\n setTotalCountReceivables(res.totalCount);\n })\n .catch((err) => {\n console.error(err);\n });\n };\n const getReceivablesSearch = (\n receivablesPage,\n limit,\n debouncedSearchReceivables\n ) => {\n getReceivablesAccounts(receivablesPage, limit, debouncedSearchReceivables)\n .then((res) => {\n let result = res.data;\n setReceivablesData(result);\n })\n .catch((err) => {\n console.error(err);\n });\n };\n const getPayablesSearch = (payablesPage, limit, debouncedSearchPayables) => {\n getPayablesAccounts(payablesPage, limit, debouncedSearchPayables)\n .then((res) => {\n let result = res.data;\n setPayablesData(result);\n })\n .catch((err) => {\n console.error(err);\n });\n };\n const getPayables = (payablesPage, limit, debouncedSearchPayables) => {\n getPayablesAccounts(payablesPage, limit, debouncedSearchPayables)\n .then((res) => {\n let result = res.data;\n let records = [...payablesData, ...result];\n setRecordsLengthPayables(records.length);\n setPayablesData(records);\n setTotalCountPayables(res.totalCount);\n })\n .catch((err) => {\n console.error(err);\n });\n };\n\n // const getBankSearch = (banksPage, limit, debounceBankSearch) => {\n // getBanks(banksPage, limit, debounceBankSearch)\n // .then((res) => {\n // let result = res.data;\n // setBankData(result);\n // })\n // .catch((err) => {\n // console.error(err);\n // });\n // };\n // const getBanksData = (banksPage, limit, debounceBankSearch) => {\n // getBanks(banksPage, limit, debounceBankSearch)\n // .then((res) => {\n // let result = res.data;\n // let records = [...bankData, ...result];\n // setTotalCountBanks(records.length);\n // setBankData(records);\n // })\n // .catch((err) => {\n // console.error(err);\n // });\n // };\n\n const handleSubmitAccounts = (values) => {\n let index = 0; // Assuming index is set somewhere in your code\n let iAcBool = false;\n let pageIncomeNumberElement = 0;\n for (let i = 0; i < incomeAccounts.length; i++) {\n let e = incomeAccounts[i];\n if (e.recurring && (e.frequency === \"\" || e.amount == 0)) {\n iAcBool = true;\n pageIncomeNumberElement = index + i + 1; // Calculate position using index + i + 1\n break;\n }\n if (!e.recurring && e.amount === 0) {\n iAcBool = true;\n pageIncomeNumberElement = index + i + 1; // Calculate position using index + i + 1\n break;\n }\n }\n\n let eAcBool = false;\n let pageExpenseNumberElement = 0;\n for (let i = 0; i < expenseAccounts.length; i++) {\n let e = expenseAccounts[i];\n if (e.recurring && (e.frequency === \"\" || e.amount == 0)) {\n eAcBool = true;\n pageExpenseNumberElement = index + i + 1; // Calculate position using index + i + 1\n break;\n }\n if (!e.recurring && e.amount === 0) {\n eAcBool = true;\n pageExpenseNumberElement = index + i + 1; // Calculate position using index + i + 1\n break;\n }\n }\n\n setIncomeInitialPage(Math.floor(pageIncomeNumberElement / 10));\n setExpenseInitialPage(Math.floor(pageExpenseNumberElement / 10));\n setRecurringInitialPage(Math.floor(pageExpenseNumberElement / 10));\n\n setFillAllForIncomes(iAcBool);\n setFillAllForExpenses(eAcBool);\n\n let promises = [];\n if (!eAcBool && !iAcBool) {\n const eAccs = expenseAccounts.map((e) => {\n if (!e.recurring) {\n return {\n FullyQualifiedName: e.FullyQualifiedName,\n recurring: e.recurring,\n Id: e.Id,\n AccountType: e.AccountType,\n };\n } else {\n return {\n AccountType: e.AccountType,\n FullyQualifiedName: e.FullyQualifiedName,\n recurring: e.recurring,\n Id: e.Id,\n amount: +e.amount,\n frequency: e.frequency,\n days: `${e.days}`,\n };\n }\n });\n const iAccs = incomeAccounts.map((e) => {\n if (!e.recurring) {\n return {\n FullyQualifiedName: e.FullyQualifiedName,\n recurring: e.recurring,\n Id: e.Id,\n AccountType: e.AccountType,\n };\n } else {\n return {\n AccountType: e.AccountType,\n FullyQualifiedName: e.FullyQualifiedName,\n recurring: e.recurring,\n Id: e.Id,\n amount: +e.amount,\n frequency: e.frequency,\n days: `${e.days}`,\n };\n }\n });\n let payload = {\n apAccounts: values.apAccouts?.map((obj) => obj._id),\n arAccounts: values.arAccouts?.map((obj) => obj._id),\n bankAccounts: values.bankAccounts?.map((obj) => obj._id),\n expenseAccounts: eAccs,\n incomeAccounts: iAccs,\n };\n promises.push(AddCashClassificationAccounts.mutateAsync(payload));\n }\n\n let recurringPayablesPayload = recurringPayablesAccounts.map((e) => {\n if (!e.recurring) {\n return {\n supplierName: e.supplierName,\n recurring: e.recurring,\n Id: e.Id,\n };\n } else {\n return {\n supplierName: e.supplierName,\n recurring: e.recurring,\n Id: e.Id,\n amount: +e.week1 + +e.week2 + +e.week3 + +e.week4 + +e.week5,\n week1: +e.week1,\n week2: +e.week2,\n week3: +e.week3,\n week4: +e.week4,\n week5: +e.week5,\n frequency: e.frequency,\n days: `${e.days}`,\n };\n }\n });\n\n promises.push(\n AddCashClassificationRecurringPayables.mutateAsync(\n recurringPayablesPayload\n )\n );\n setIsSubmit(true);\n Promise.all(promises)\n .then(([accountsRes, payablesRes]) => {\n setIsSubmit(false);\n history.push(Route_URLs.setup_user_management);\n })\n .catch((error) => {\n setIsSubmit(false);\n if (error.response) {\n console.error(\"Error response:\", error.response);\n } else {\n console.error(\"Error:\", error);\n }\n });\n };\n\n const updateIncomeExpenseArrayForSearchFilter = (caller, keyword) => {\n try {\n if (caller.toLowerCase() === \"income\") {\n let filteredAccounts = cashClassificationIncomeAccounts.data.filter(\n (option) =>\n keyword.trim() === \"\" ||\n option.FullyQualifiedName.toLowerCase().includes(\n keyword.toLowerCase()\n )\n );\n setMapCCIncomeAccounts(filteredAccounts);\n } else if (caller.toLowerCase() === \"recurring\") {\n let filteredAccounts =\n cashClassificationrecurringPayableAccounts.data.filter(\n (option) =>\n keyword.trim() === \"\" ||\n option.FullyQualifiedName.toLowerCase().includes(\n keyword.toLowerCase()\n )\n );\n setMapCCrecurringAccounts(filteredAccounts);\n } else {\n let filteredAccounts = cashClassificationExpenseAccounts.data.filter(\n (option) =>\n keyword.trim() === \"\" ||\n option.FullyQualifiedName.toLowerCase().includes(\n keyword.toLowerCase()\n )\n );\n setMapCCExpenseAccounts(filteredAccounts);\n }\n } catch (error) {\n console.log(\"error\", error);\n }\n };\n\n const updateIncomeExpenseSelectAll = (caller) => {\n try {\n if (caller.toLowerCase() === \"income\") {\n // Create a Set to keep track of unique FullyQualifiedNames\n const uniqueNames = new Set(\n incomeAccounts.map((account) => account.FullyQualifiedName)\n );\n\n // Filter out items from mapCCIncomeAccounts that are not already in incomeAccounts\n const uniqueNewItems = mapCCIncomeAccounts.filter(\n (option) => !uniqueNames.has(option.FullyQualifiedName)\n );\n\n // Update the expenseAccounts array with the unique new items\n setIncomeAccounts((prevAccounts) => [\n ...prevAccounts,\n ...uniqueNewItems.map((option) => ({\n frequency: \"\",\n days: \"\",\n amount: \"\",\n Id: option.Id,\n AccountType: option.AccountType,\n FullyQualifiedName: option.FullyQualifiedName,\n recurring: false,\n })),\n ]);\n } else if (caller.toLowerCase() === \"recurring\") {\n // Create a Set to keep track of unique FullyQualifiedNames\n const uniqueNames = new Set(\n recurringPayablesAccounts.map((account) => account.FullyQualifiedName)\n );\n\n // Filter out items from mapCCIncomeAccounts that are not already in incomeAccounts\n const uniqueNewItems = mapCCrecurringAccounts.filter(\n (option) => !uniqueNames.has(option.FullyQualifiedName)\n );\n\n // Update the expenseAccounts array with the unique new items\n setRecurringPayablesAccounts((prevAccounts) => [\n ...prevAccounts,\n ...uniqueNewItems.map((option) => ({\n frequency: \"\",\n days: \"\",\n amount: \"\",\n Id: option.Id,\n supplierName: option.supplierName,\n recurring: false,\n })),\n ]);\n } else {\n // Create a Set to keep track of unique FullyQualifiedNames\n const uniqueNames = new Set(\n expenseAccounts.map((account) => account.FullyQualifiedName)\n );\n\n // Filter out items from mapCCExpenseAccounts that are not already in expenseAccounts\n const uniqueNewItems = mapCCExpenseAccounts.filter(\n (option) => !uniqueNames.has(option.FullyQualifiedName)\n );\n\n // Update the expenseAccounts array with the unique new items\n setExpenseAccounts((prevAccounts) => [\n ...prevAccounts,\n ...uniqueNewItems.map((option) => ({\n frequency: \"\",\n days: \"\",\n amount: \"\",\n Id: option.Id,\n AccountType: option.AccountType,\n FullyQualifiedName: option.FullyQualifiedName,\n recurring: false,\n })),\n ]);\n }\n } catch (error) {\n console.log(\"error\", error);\n }\n };\n\n function performOperationOnArray(operation, array, data) {\n if (operation === \"add\") {\n return [...array, data];\n } else {\n let updatedArray = array.filter((e) => {\n if (e.Id !== data.Id) return e;\n });\n return updatedArray;\n }\n }\n\n const updateIncomeExpenseAccountsArray = (caller, operation, data) => {\n if (caller.toLowerCase() === \"income\") {\n setIncomeAccounts([\n ...performOperationOnArray(operation, incomeAccounts, data),\n ]);\n } else if (caller.toLowerCase() === \"recurring\") {\n setRecurringPayablesAccounts([\n ...performOperationOnArray(operation, recurringPayablesAccounts, data),\n ]);\n } else {\n setExpenseAccounts([\n ...performOperationOnArray(operation, expenseAccounts, data),\n ]);\n }\n };\n\n useEffect(async () => {\n setMapCCIncomeAccounts(cashClassificationIncomeAccounts?.data);\n setMapCCExpenseAccounts(cashClassificationExpenseAccounts?.data);\n setMapCCrecurringAccounts(cashClassificationrecurringPayableAccounts?.data);\n }, [incomeAccounts, expenseAccounts, tableRerender]);\n\n function handleTopSectionClick(event, caller) {\n // Check if the click target is within the TopSection or its children\n if (\n event.target.closest(\".top-section\") ||\n event.target.closest(\".top-arrow-submenu-icon\")\n ) {\n // Don't toggle the showAPList state\n return;\n }\n if (caller.toLowerCase() == \"ap\") {\n // Toggle the showAPList state\n setShowAPList(!showAPList);\n } else if (caller.toLowerCase() == \"ar\") {\n setShowARList(!showARList);\n } else if (caller.toLowerCase() == \"income\") {\n setShowIncomeAccountsList(!showIncomeAccountsList);\n } else if (caller.toLowerCase() == \"expense\") {\n setShowExpenseAccountsList(!showExpenseAccountsList);\n } else if (caller.toLowerCase() == \"recurring\") {\n setShowrecurringPayablesAccountsList(!showrecurringPayablesAccountsList);\n }\n }\n useEffect(() => {\n const handleOutsideClick = (event) => {\n if (\n bottomSectionRef.current &&\n !bottomSectionRef.current.contains(event.target)\n ) {\n setShowARList(false);\n setShowAPList(false);\n setShowIncomeAccountsList(false);\n setShowExpenseAccountsList(false);\n setShowrecurringPayablesAccountsList(false);\n }\n };\n\n document.addEventListener(\"mousedown\", handleOutsideClick);\n\n return () => {\n document.removeEventListener(\"mousedown\", handleOutsideClick);\n };\n }, [bottomSectionRef]);\n\n return (\n <>\n {isLoading ? (\n \n ) : !isSubmit ? (\n \n \n \n \n \n

    Cash Classification

    \n \n \n
    \n
    \n \n {\n setSubmitting(true);\n handleSubmitAccounts(values);\n setSubmitting(false);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n }) => (\n
    \n \n {/* */}\n \n \n

    \n Help us understand how your accounts are set up?\n

    \n \n {/* \n Accounts Receivables\n \n \n \n \n \n \n Specify All The Non Trade AR accounts\n \n \n handleTopSectionClick(e, 'ar')}>\n \n {values.arAccouts?.length > 0\n ? `${values.arAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showARList && (\n \n \n setReceivablesSearch(\n e.target.value\n )\n }\n placeholder=\"Search...\"\n >\n \n \n {\n return (\n
      \n {receivablesData.length >\n 2 ? (\n
    • \n \n
    • \n ) : null}\n {receivablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )\n }}\n />\n\n {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.arAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n Specify All The Non Trade AR accounts\n \n \n handleTopSectionClick(e, 'ar')}>\n \n {values.arAccouts?.length > 0\n ? `${values.arAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showARList && (\n \n \n setReceivablesSearch(\n e.target.value\n )\n }\n placeholder=\"Search...\"\n >\n \n \n {\n return (\n
      \n {receivablesData.length >\n 2 ? (\n
    • \n \n
    • \n ) : null}\n {receivablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )\n }}\n />\n\n {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.arAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n Specify All The Non Trade AR accounts\n \n \n handleTopSectionClick(e, 'ar')}>\n \n {values.arAccouts?.length > 0\n ? `${values.arAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showARList && (\n \n \n setReceivablesSearch(\n e.target.value\n )\n }\n placeholder=\"Search...\"\n >\n \n \n {\n return (\n
      \n {receivablesData.length >\n 2 ? (\n
    • \n \n
    • \n ) : null}\n {receivablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )\n }}\n />\n\n {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.arAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n Accounts Payables\n \n \n \n \n \n \n Specify All the Non Controllable AP\n accounts\n \n \n handleTopSectionClick(e, 'ap')}>\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.apAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n Specify All the Non Controllable AP\n accounts\n \n \n handleTopSectionClick(e, 'ap')}>\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.apAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n Specify All the Non Controllable AP\n accounts\n \n \n handleTopSectionClick(e, 'ap')}>\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n {values.apAccouts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n \n
    \n
    \n
    */}\n \n \n Cash Inflow Accounts\n \n \n \n \n \n \n \n \n \n handleTopSectionClick(e, \"income\")\n }\n >\n \n {incomeAccounts?.length > 0\n ? `${incomeAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForIncomes && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showIncomeAccountsList && (\n \n {\n setIncomesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"income\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCIncomeAccounts?.length >\n 0 && (\n (\n \n {mapCCIncomeAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCIncomeAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n
    \n
    \n )}\n
    \n \n
    \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n handleTopSectionClick(e, \"income\")\n }\n >\n \n {incomeAccounts?.length > 0\n ? `${incomeAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForIncomes && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showIncomeAccountsList && (\n \n {\n setIncomesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"income\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCIncomeAccounts?.length >\n 0 && (\n (\n \n {mapCCIncomeAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCIncomeAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n
    \n
    \n )}\n
    \n \n
    \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n handleTopSectionClick(e, \"income\")\n }\n >\n \n {incomeAccounts?.length > 0\n ? `${incomeAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForIncomes && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showIncomeAccountsList && (\n \n {\n setIncomesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"income\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCIncomeAccounts?.length >\n 0 && (\n (\n \n {mapCCIncomeAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCIncomeAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n
    \n
    \n )}\n
    \n \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n \n \n Cash Outflow Accounts\n \n \n \n \n \n \n \n \n \n handleTopSectionClick(\n e,\n \"expense\"\n )\n }\n >\n \n {expenseAccounts?.length > 0\n ? `${expenseAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForExpenses && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showExpenseAccountsList && (\n \n {\n setExpensesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"expense\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCExpenseAccounts?.length >\n 0 && (\n (\n \n {mapCCExpenseAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCExpenseAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n\n {/* {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )} */}\n
    \n
    \n )}\n
    \n \n \n \n \n \n \n \n \n
    \n \n
    \n \n \n \n \n \n \n {\" \"}\n \n handleTopSectionClick(\n e,\n \"expense\"\n )\n }\n >\n \n {expenseAccounts?.length > 0\n ? `${expenseAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForExpenses && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showExpenseAccountsList && (\n \n {\n setExpensesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"expense\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCExpenseAccounts?.length >\n 0 && (\n (\n \n {mapCCExpenseAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCExpenseAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n\n {/* {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )} */}\n
    \n
    \n )}\n
    \n \n \n \n \n \n \n \n \n
    \n \n
    \n \n \n \n \n \n \n \n handleTopSectionClick(\n e,\n \"expense\"\n )\n }\n >\n \n {expenseAccounts?.length > 0\n ? `${expenseAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {fillAllForExpenses && (\n \n Please fill all the required\n fields.\n \n )}\n \n {showExpenseAccountsList && (\n \n {\n setExpensesSearch(\n e.target.value\n );\n updateIncomeExpenseArrayForSearchFilter(\n \"expense\",\n e.target.value\n );\n }}\n placeholder=\"Search...\"\n >\n \n \n {mapCCExpenseAccounts?.length >\n 0 && (\n (\n \n {mapCCExpenseAccounts.length >\n 2 ? (\n \n \n \n ) : null}\n {mapCCExpenseAccounts.map(\n (option) => (\n
  • \n \n
  • \n )\n )}\n \n )}\n />\n )}\n\n {/* {totalCountReceivables >\n RecordsLengthReceivables && (\n {\n setReceivablesPage(\n (receivablesPage) =>\n receivablesPage + 1\n );\n }}\n >\n load more...\n \n )} */}\n
    \n
    \n )}\n
    \n \n \n \n \n \n \n \n \n
    \n \n
    \n
    \n
    \n \n \n Recurring Payables\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n {/* \n \n \n Expenses\n \n \n \n \n \n \n setShowAPList(!showAPList)\n }\n >\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Select your Payroll Accounts\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n \n \n \n setShowAPList(!showAPList)\n }\n >\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Select your Recurring Expense Accounts\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n
    \n
    \n
    \n Frequency\n { }} />\n
    \n
    \n Day\n { }} />\n
    \n
    \n Amount\n { }} />\n
    \n
    \n
    \n \n \n \n \n setShowAPList(!showAPList)\n }\n >\n \n {values.apAccouts?.length > 0\n ? `${values.apAccouts?.length} selected`\n : \"Select your Remaining Expense Accounts\"}\n \n \n \n {showAPList && (\n \n \n setPayablesSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {payablesData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {payablesData?.map(\n (option) => (\n
    • \n \n
    • \n )\n )}\n
    \n )}\n />\n\n {totalCountPayables >\n RecordsLengthPayables && (\n {\n setPayablesPage(\n (payablesPage) =>\n payablesPage + 1\n );\n }}\n >\n load more...\n \n )}\n
    \n
    \n )}\n
    \n \n
    \n */}\n\n {/* \n \n \n \n Specify All the Bank accounts\n \n \n \n setShowBankList(!showBankList)\n }\n >\n \n {values.bankAccounts?.length > 0\n ? `${values.bankAccounts?.length} selected`\n : \"Choose Account\"}\n \n \n \n {showBankList && (\n \n \n setBankSearch(e.target.value)\n }\n placeholder=\"Search...\"\n >\n \n \n (\n
      \n {bankData.length > 2 ? (\n
    • \n \n
    • \n ) : null}\n {bankData?.map((option) => (\n
    • \n \n
    • \n ))}\n
    \n )}\n />\n
    \n
    \n )}\n
    \n \n \n \n \n {values.bankAccounts?.map((option) => (\n \n

    {option.FullyQualifiedName}

    \n \n ))}\n
    \n
    \n \n
    \n
    */}\n
    \n
    \n\n \n \n Next\n \n {\n // if (generalSettingsData?.isPaymentEnable) {\n\n history.push(Route_URLs.setup_digital_payments);\n // } else {\n // history.push(Route_URLs.setup_general_settings)\n\n // }\n }}\n >\n Back\n \n \n \n )}\n \n
    \n
    \n
    \n ) : (\n \n )}\n \n );\n}\nexport default CashClassification;\n","import { getAllSelectedAccounts, getAllIncomeAccounts, getAllExpenseAccounts, getCashClassificationBudgetingExpenseList, getCashClassificationBudgetingIncomeList, getAllrecurringAccounts } from \"services/cashClassification.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useCashClassificationAccounts = () => {\n return useQuery(\"CashClassificationAccounts\", getAllSelectedAccounts);\n};\nexport const useCashClassificationIncomeAccounts = () => {\n return useQuery([\"cashClassificationIncomeAccounts\"], getAllIncomeAccounts);\n};\nexport const useCashClassificationExpenseAccounts = () => {\n return useQuery([\"cashClassificationExpenseAccounts\"], getAllExpenseAccounts);\n};\nexport const useCashClassificationRecurringAccounts = () => {\n return useQuery([\"useCashClassificationRecuringAccounts\"], getAllrecurringAccounts);\n};\nexport const useCashClassificationExpenseAccountsList = (payload) => {\n return useQuery([\"cashClassificationExpenseAccountsList\"], getCashClassificationBudgetingExpenseList(payload));\n};\nexport const useCashClassificationIncomeAccountsList = (payload) => {\n return useQuery([\"cashClassificationExpenseAccountsList\"], getCashClassificationBudgetingIncomeList(payload));\n};","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { postAllSelectedAccounts, addCashClassificationBudgeting, deleteCashClassificationBudgeting, postAllSelectedRecurringAccounts } from \"services/cashClassification.services\";\n\nexport const useAddCashClassificationAccounts = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => postAllSelectedAccounts(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CashClassificationAccounts\");\n },\n });\n};\n\nexport const useAddCashClassificationRecurringPayables = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => postAllSelectedRecurringAccounts(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"CashClassificationAccounts\");\n },\n });\n};\n\nexport const useAddCashClassificationBudgeting = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => addCashClassificationBudgeting(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"cash-clssification-budgeting\");\n },\n });\n};\nexport const useDeleteCashClassificationBudgeting = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => deleteCashClassificationBudgeting(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"cash-clssification-budgeting\");\n },\n });\n};\n","import React from \"react\";\nimport styled, { css } from \"styled-components\";\nimport { OverlayTrigger, Button, Row, Col, Form } from \"react-bootstrap\";\nimport moment from \"moment\";\nimport { useState, useRef, useEffect, useCallback } from \"react\";\nimport { CalendarIcon, ArrowDownIcon, IconCross } from \"assets/icons.js\";\nimport SelectFilter from \"ui/SelectFilter\";\nimport {\n StyledCheckbox,\n StyledButton,\n ClearButton,\n StyleSelect,\n Popover,\n} from \"filters/Style\";\nimport BSCheckbox from \"ui/BSCheckbox\";\n\nconst popoverPanel = (\n CustomerData,\n emailTemplateId,\n handleTemplateName,\n handleCustomerName,\n handleCompanyName,\n handleResetFilter,\n location,\n handleLocationName,\n company,\n customerName,\n emailTemplates,\n customersTypes,\n handleCustomerType,\n customerType,\n handleOpenInvoice,\n isOpenInvoiceCustomers\n) => (\n \n \n {/* Customer\n \n {\n return {\n label: customer,\n value: customer,\n };\n })}\n onChange={handleCustomerName}\n />\n */}\n {/* Company Name\n */}\n Billing Location\n \n Email Template\n {\n handleTemplateName(e);\n }}\n >\n \n {emailTemplates.map((elem) => (\n \n ))}\n \n Customer Type\n {\n handleCustomerType(e);\n }}\n >\n \n {customersTypes?.map((elem) => (\n \n ))}\n \n {\n handleOpenInvoice(e.target.checked);\n }}\n />\n \n Clear\n \n \n \n);\nconst FilterCustomer = ({\n handleFilterData,\n CustomerData,\n emailTemplates,\n customersTypes,\n}) => {\n const [customerName, setCustomerName] = useState(\"\");\n const [company, setCompany] = useState(\"\");\n const [location, setLocation] = useState(\"\");\n const [emailTemplateId, setEmailTemplateId] = useState(\"\");\n const [customerType, setCustomerType] = useState(\"\");\n const [isOpenInvoiceCustomers, setIsOpenInvoiceCustomers] = useState(false);\n const handleCustomerName = (e) => {\n setCustomerName(e);\n const FilterData = { customerName: e.value };\n handleFilterData(FilterData);\n };\n\n const handleCompanyName = (e) => {\n setCompany(e.target.value);\n const FilterData = { company: e.target.value };\n handleFilterData(FilterData);\n };\n\n const handleLocationName = (e) => {\n setLocation(e.target.value);\n const FilterData = { location: e.target.value };\n handleFilterData(FilterData);\n };\n\n const handleTemplateName = (e) => {\n setEmailTemplateId(e.target.value);\n const FilterData = { emailTemplateId: e.target.value };\n handleFilterData(FilterData);\n };\n\n const handleCustomerType = (e) => {\n setCustomerType(e.target.value);\n const FilterData = { customerType: e.target.value };\n handleFilterData(FilterData);\n };\n const handleOpenInvoice = (value) => {\n setIsOpenInvoiceCustomers(value);\n const FilterData =\n value === true\n ? {\n isOpenInvoiceCustomers: value,\n sortOn: \"outstanding\",\n sortOrder: \"desc\",\n }\n : {\n isOpenInvoiceCustomers: value,\n sortOn: \"customer\",\n sortOrder: \"asc\",\n };\n\n handleFilterData(FilterData);\n };\n\n const handleResetFilter = () => {\n setCustomerName(\"\");\n setCompany(\"\");\n setLocation(\"\");\n setEmailTemplateId(\"\");\n setCustomerType(\"\");\n setIsOpenInvoiceCustomers(false);\n const FilterData = {\n customerName: \"\",\n company: \"\",\n location: \"\",\n emailTemplateId: \"\",\n customerType: \"\",\n isOpenInvoiceCustomers: false,\n };\n handleFilterData(FilterData);\n };\n\n return (\n <>\n \n \n Filter\n \n \n \n \n );\n};\nexport default FilterCustomer;\n","import React, { useState, useMemo, useEffect } from \"react\";\nimport {\n useTable,\n useSortBy,\n usePagination,\n useFilters,\n useExpanded,\n useRowSelect,\n} from \"react-table\";\nimport styled from \"styled-components\";\nimport { SortIcon } from \"assets/icons.js\";\nimport Toggleicon from \"assets/arrow-down-new.svg\";\nimport { Table as BSTable, OverlayTrigger } from \"react-bootstrap\";\nimport ReactPaginate from \"react-paginate\";\nimport Loader from \"./Loader\";\nimport CustomScrollbars from \"ui/scrollbar\";\nimport Checkbox from \"ui/Checkbox\";\nimport Tooltip from \"ui/Tooltip\";\nimport { EditIcon, InfoIcon } from \"assets/icons\";\nimport { CustomerChildren } from \"queries/customers\";\nimport { useCallback } from \"react\";\nimport axios from \"utils/APIv2\";\nimport { Authorise } from \"helpers/Authorization\";\nimport NumberFormat from \"react-number-format\";\n\nexport const StyledSubRow = styled.tr`\n background-color: #636471;\n padding-left: ${(props) => props.depth * 20}px;\n color: #ffffff;\n // cursor: pointer;\n`;\n\nexport const TableWrapper = styled.div`\n position: relative;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 2px 6px #0000000a;\n padding: 15px 25px;\n border-radius: 5px;\n min-height: 470px;\n .spinner-border.text-secondary {\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n }\n .styledNoRecord {\n color: white;\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n display: inline-table;\n top: 251px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n border: 2px solid #707070;\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 3px;\n margin-top: 3px;\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: transparent;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\n\nconst StyledCheckboxHeader = styled.div`\n margin-top: 3px;\n input {\n background-color: transparent !important;\n border: 2px solid #ffffff !important;\n }\n`;\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n display: inline-block;\n`;\n\nconst ExpandIcon = styled.img`\n margin-right: 8px;\n transition: transform 0.3s ease;\n transform: ${(props) =>\n props.isExpanded ? \"rotate(0deg)\" : \"rotate(-90deg)\"};\n`;\n\nexport const StyledTable = styled(BSTable)`\n td {\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n border-bottom: 1px solid gray;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n th {\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #ffffff;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n td:first-child,\n th:first-child {\n width: 5%;\n text-align: left;\n }\n td:nth-child(2) {\n text-align: left;\n }\n`;\n\nexport const TableHead = styled.thead`\n tr {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%) 0%\n 0%;\n border-bottom: underline;\n @media (min-width: 768px) and (max-width: 1024px) {\n th {\n background: #0081c5;\n }\n }\n &:hover {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%)\n 0% 0% no-repeat padding-box;\n color: #ffffff;\n }\n }\n svg {\n font-size: 8px;\n margin-left: 2px;\n }\n`;\n\nexport const StyledRow = styled.tr`\n color: #ffffff;\n cursor: pointer;\n &:hover {\n background-color: #636471;\n color: #ffffff;\n }\n`;\n\nexport const PaginationWrapper = styled.div`\n position: relative;\n width: 100%;\n`;\n\nexport const Pagination = styled.div`\n color: white;\n display: flex;\n justify-content: center;\n margin: 0 auto;\n\n ul {\n margin: 10px;\n }\n\n & li {\n padding: 0.2rem;\n border-radius: 7px;\n padding-bottom: 0px !important;\n\n a {\n padding: 0.5rem;\n }\n }\n\n & .active {\n background-color: #33c2df;\n }\n .previous,\n .next {\n background-color: #373743;\n }\n`;\n\nconst StyledNoRecord = styled.span`\n color: white;\n`;\n\nconst StyledLoader = styled.div`\n /* font-size:1em; */\n`;\n\nconst ScrollWindow = styled.div`\n overflow: auto;\n ::-webkit-scrollbar {\n height: 7px;\n }\n ::-webkit-scrollbar-track {\n background: #3a3b48;\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n`;\n\nfunction TableExpander({\n isloading,\n editId,\n columns,\n data,\n rowClick,\n onHeaderClick,\n totalCount,\n handlePageChange,\n initialPage,\n isEdit,\n updateData,\n checkbox,\n handleReminderSettings,\n Popover,\n closeModal,\n filterData,\n setChildEmailCheck,\n\n childEmailCheck,\n}) {\n const [expandedRowId, setExpandedRowId] = useState(null);\n const [expandedRowData, setExpandedRowData] = useState(null);\n const [parentRecord, setParentRecord] = useState(false);\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n page,\n prepareRow,\n state: { expanded },\n } = useTable(\n {\n initialState: {\n pageSize: 1000,\n expanded: {},\n },\n columns,\n data,\n manualSortBy: true,\n editId,\n isEdit,\n updateData,\n },\n useFilters,\n useSortBy,\n useExpanded,\n usePagination,\n useRowSelect,\n (hooks) => {\n hooks.visibleColumns.push((columns) => [...columns]);\n }\n );\n const [prevData, setPrevData] = useState(data);\n\n useEffect(() => {\n if (data !== prevData) {\n setExpandedRowId(null);\n setExpandedRowData(null);\n setPrevData(data);\n }\n }, [data, prevData]);\n\n const fetchChildRecords = useMemo(\n () => async (parentId) => {\n try {\n const response = await axios.post(`/customers/childrenData`, {\n parentId: parentId,\n isOpenInvoiceCustomers: filterData.isOpenInvoiceCustomers,\n });\n return response.data;\n } catch (error) {\n console.error(\"Error fetching child records:\", error);\n return [];\n }\n },\n [filterData]\n );\n\n useEffect(() => {\n setExpandedRowId(null);\n setExpandedRowData(null);\n }, [filterData]);\n\n const Pagecount = Math.ceil(Math.abs(totalCount / 10));\n\n const handleRowClick = async (e, row, editId) => {\n const clickedColumnId = e.target.closest(\"td\")?.cellIndex;\n const assignTemplateColumnIndex = columns.findIndex(\n (col) => col.id === \"Assign Template\"\n );\n if (\n clickedColumnId !== undefined &&\n clickedColumnId !== assignTemplateColumnIndex &&\n clickedColumnId !== assignTemplateColumnIndex + 1\n ) {\n if (expandedRowId === row.id) {\n setExpandedRowId(null);\n setExpandedRowData(null);\n } else {\n const childRecords = await fetchChildRecords(row.original.Id);\n setExpandedRowId(row.id);\n setExpandedRowData(childRecords.childrensData);\n const hasValidEmail = childRecords.childrensData.some(\n (child) => child.email !== null && child.email !== \"\"\n );\n\n setChildEmailCheck(hasValidEmail);\n }\n }\n\n rowClick(e, row, editId);\n };\n\n const renderRow = (row, depth = 0) => {\n prepareRow(row);\n const isExpanded = row.id === expandedRowId;\n\n return (\n \n handleRowClick(e, row, editId)}\n >\n {row.cells.map((cell, index) => (\n \n {index === 0 && (\n \n )}\n {cell.render(\"Cell\")}\n \n ))}\n \n {isExpanded && (\n <>\n {expandedRowData && expandedRowData.length > 0 ? (\n expandedRowData.map((childRow, index) => (\n \n {columns.map((column) => (\n \n {column.id === \"action\" ? (\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n {}, // Placeholder for childFunc\n handleReminderSettings,\n closeModal,\n childEmailCheck,\n parentRecord\n )}\n >\n \n Manage Settings\n \n \n \n ) : column.id === \"outstanding\" ? (\n \n ) : (\n childRow[column.id]\n )}\n \n ))}\n \n ))\n ) : (\n \n \n No child records\n \n \n )}\n \n )}\n \n );\n };\n\n return (\n <>\n \n {isloading ? (\n \n ) : (\n <>\n \n \n \n {headerGroups.map((headerGroup) => (\n \n {headerGroup.headers.map((column) => (\n \n !column.disableSortBy && onHeaderClick(column)\n }\n >\n {column.render(\"Header\")}\n {column?.Tooltip && (\n \n \n \n \n )}\n {!column.disableSortBy && {}}\n \n ))}\n \n ))}\n \n\n \n {!isloading && data.length > 0 ? (\n <>{page.map((row) => renderRow(row))}\n ) : (\n No Records Found\n )}\n \n \n \n\n {!isloading && data.length > 0 && (\n \n \n \"}\n breakLabel={\"...\"}\n breakClassName={\"break-me\"}\n pageCount={Math.ceil(Pagecount)}\n marginPagesDisplayed={1}\n pageRangeDisplayed={6}\n onPageChange={(_page) => handlePageChange(_page.selected)}\n containerClassName={\"pagination\"}\n activeClassName={\"active\"}\n forcePage={initialPage}\n />\n \n \n )}\n \n )}\n \n \n );\n}\nexport default TableExpander;\n","import React, { useState, useContext, useRef, useMemo } from \"react\";\nimport { Row, Col, OverlayTrigger } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n TimePickerField,\n Checkbox,\n} from \"ui/forms\";\nimport { IconMail, InfoIcon, ArrowDownIcon, UpIcon } from \"assets/icons\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table, { StyledSubRows } from \"ui/table\";\nimport { Modal } from \"ui/Modal\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport { useHistory } from \"react-router-dom\";\nimport StepperComponent from \"../Stepper\";\nimport { useCustomers, GetallCustomerName } from \"queries/customers\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { useAddGeneralSettings } from \"mutations/addGeneralSettings\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport moment from \"moment\";\nimport { Route_URLs } from \"routesURLs\";\nimport { UIContext } from \"context/UIContext\";\nimport { useUpdateCustomer } from \"mutations/updateCustomers\";\nimport CustomerReminder from \"components/reminders/CustomerReminder\";\nimport useDebounce from \"hooks/useDebounce\";\nimport { Authorise } from \"helpers/Authorization\";\nimport Filter from \"ui/FilterCustomer\";\nimport { Popover } from \"ui/Popover\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { useEffect } from \"react\";\nimport { ManageSettingsDataAdd } from \"mutations/adddiscount\";\nimport { useGetAllEmailTemplates } from \"queries/emailTemplates\";\nimport {\n useAssignATemplateToCustomer,\n useAssignATemplateToAllCustomersOfCustomertype,\n} from \"mutations/emailTemplates\";\nimport Select from \"react-select\";\nimport { getAllCustomerWithSameTempalteIdBoolean } from \"services/customer.services\";\nimport { SearchSection } from \"screens/actuals/Styles\";\nimport CustomerSearch from \"filters/search/CustomerSearch\";\nimport NumberFormat from \"react-number-format\";\nimport { useProfile } from \"queries/profile\";\nimport TableExpander from \"ui/table-expander\";\n\nconst StyledButton = styled.button`\n background-color: transparent;\n border: 1px solid #909090;\n border-radius: 5px;\n //width: 110px;\n height: 33px;\n opacity: 1;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #ffffff;\n`;\nconst StyledModal = styled.div`\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n margin: 10px;\n .modal-body {\n padding: 0rem 1rem;\n padding-top: 0;\n }\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n /* input:not([type=\"checkbox\"]) {\n height: 13px;\n width: 28px;\n margin: 0px 5px;\n background: #3a3b48;\n border: 1px solid #707070;\n font-family: Montserrat Alternates;\n color: #909090;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n } */\n input:not([type=\"checkbox\"]) {\n height: 13px !important;\n padding: 8px !important;\n border-radius: 0px !important;\n margin: 0px 5px !important;\n font-size: 9px !important;\n }\n`;\nconst ModalText = styled.div`\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #808186;\n`;\nconst ModalSection = styled.div`\n border-bottom: 1px solid #707070;\n padding: 10px;\n`;\n\nconst StyledCard = styled.div``;\nconst OuterDiv = styled.div`\n padding: 0px 20px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 14px;\n line-height: 18px;\n }\n`;\nconst TopSection = styled.div``;\nconst FilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\nconst ExpandIcon = styled.div`\n display: flex;\n cursor: pointer;\n .icon {\n width: 8px;\n height: 6px;\n align-items: center;\n justify-content: center;\n path {\n fill: #33c2df;\n }\n }\n`;\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\n\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n }\n`;\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n .skip-button {\n float: right;\n background: none;\n border: 2px solid #909090;\n }\n padding: 20px;\n`;\nconst StyleTimePicker = styled.div`\n .form-field {\n margin-bottom: 0px;\n }\n label {\n display: none;\n }\n input {\n width: 90px !important;\n }\n`;\n\nconst StyledSelect = styled.div`\n .react-select-container .react-select__control {\n background: transparent;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #ffffff;\n border-radius: 0px;\n color: #909091;\n height: 29px;\n padding: 1px;\n width: 100%;\n }\n .react-select-container .react-select__menu-list {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n .react-select-container .react-select__option {\n color: #b5b5b5;\n border: 1px solid #ffffff;\n height: 13px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n }\n .react-select-container .react-select__multi-value {\n background: #484a58 0% 0% no-repeat padding-box;\n border-radius: 10px;\n width: 69px;\n height: 19px;\n }\n .react-select-container .react-select__multi-value__label {\n color: #b5b5b5;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n align-items: center;\n border-radius: 8px;\n display: flex;\n padding-left: 8px;\n padding-right: 4px;\n }\n .react-select-container .react-select__input-container {\n color: #b5b5b5;\n }\n .react-select-container .react-select__multi-value__remove {\n background: #484a58 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n color: #b5b5b5;\n }\n }\n .react-select-container .react-select__indicators {\n display: none;\n }\n .react-select-container .react-select__placeholder {\n display: none;\n }\n .react-select-container .react-select__value-container {\n padding: 0px;\n position: absolute;\n }\n`;\n\nconst customStyles = {\n control: (base) => ({\n ...base,\n background: \"#232631 0% 0% no-repeat padding-box\",\n borderRadius: 0,\n borderColor: \"#ffffff69\",\n boxShadow: null,\n minHeight: \"40px\",\n minWidth: \"120px\",\n height: \"40px\",\n \"&:hover\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"&:focus\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"::-webkit-scrollbar\": {\n width: \"3px\",\n },\n }),\n\n dropdownIndicator: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n paddingRight: \"8px\",\n paddingLeft: 0,\n }),\n option: (base, { isFocused }) => ({\n ...base,\n color: \"#ffffff69\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"0px solid #FFFFFF\",\n borderRadius: \"0px\",\n //color:\"#FFFFFF\",\n height: \"40px\",\n background: isFocused ? \"#3a3b48\" : \"#232631 0% 0% no-repeat padding-box\",\n display: \"flex\",\n alignItems: \"center\",\n fontSize: \"11px !important\",\n lineHeight: \"15px\",\n }),\n valueContainer: (base) => ({\n ...base,\n color: \"#ffffff69\",\n paddingTop: 0,\n }),\n placeholder: (base) => ({\n ...base,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n input: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n margin: 0,\n color: \"#ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n singleValue: (base) => ({\n ...base,\n color: \"#ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n menu: (base) => ({\n ...base,\n borderRadius: 0,\n margin: 0,\n padding: 0,\n background: \"#232631 0% 0% no-repeat padding-box\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"1px solid #ffffff69\",\n color: \"#ffffff69\",\n fontSize: \"11px\",\n lineHeight: \"15px\",\n }),\n};\n\nconst popover = (\n customer,\n childFunc,\n handleReminderSettings,\n closeModal,\n childEmailCheck,\n parentRecord\n) => {\n const initialValues = {\n onDueDate: customer?.preferences\n ? customer?.preferences?.manageSettings?.onDueDate\n : false,\n beforeDueDate: {\n isBeforeDueDate: customer?.preferences\n ? customer?.preferences?.manageSettings?.beforeDueDate?.isBeforeDueDate\n : false,\n days: customer?.preferences\n ? customer?.preferences?.manageSettings?.beforeDueDate?.days\n : 0,\n },\n afterDueDate: {\n isAfterDueDate: customer?.preferences\n ? customer?.preferences?.manageSettings?.afterDueDate?.isAfterDueDate\n : false,\n days: customer?.preferences\n ? customer?.preferences?.manageSettings?.afterDueDate?.days\n : 0,\n },\n };\n return (\n \n \n \n \n \n );\n};\n\nconst AssignPopover = (\n customers,\n customer,\n childFunc,\n handleButtonClick,\n closeModal,\n advancedAssign\n) => {\n const [assignToAll, setAssignToAll] = useState(customer.isAssignedToAllFlag);\n return (\n \n \n {!customer.customerType ? (\n
    \n

    Customer type is missing.

    \n
    \n ) : customer?.preferences?.emailTemplateId ? (\n
    \n

    Actions :

    \n
    \n \n Assign to all {customer.customerType.toLowerCase()} types?\n \n {\n if (e.target.checked === true) {\n setAssignToAll(true);\n handleButtonClick(\n \"assign\",\n customer.customerType,\n customer?.preferences.emailTemplateId\n );\n } else {\n setAssignToAll(false);\n handleButtonClick(\n \"remove\",\n customer.customerType,\n customer?.preferences.emailTemplateId,\n customer.Id\n );\n }\n }}\n />\n
    \n
    \n ) : (\n
    \n

    Select a template first

    \n
    \n )}\n
    \n
    \n );\n};\n\nfunction CustomerNotification(_props) {\n const { onBoarding } = useContext(UIContext);\n const childFunc = useRef(null);\n\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n let history = useHistory();\n const customerUpdate = useUpdateCustomer();\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [advancedAssign, setAdvancedAssign] = useState(true);\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n const [childEmailCheck, setChildEmailCheck] = useState(false);\n const [parentRecord, setParentRecord] = useState(true);\n const [filterData, setFilterData] = useState({\n customerName: \"\",\n company: \"\",\n location: \"\",\n sortOn: \"customer\",\n sortOrder: \"asc\",\n emailTemplateId: \"\",\n customerType: \"\",\n isOpenInvoiceCustomers: false,\n });\n\n const [showCustomerType, setShowCustomerType] = useState(true);\n const debouncedfilterData = useDebounce(filterData, 500);\n const { data: generalSettingsData } = useGeneralSettings();\n\n const AddGeneralSettings = useAddGeneralSettings();\n const dataAdd = ManageSettingsDataAdd();\n\n const FormattedUpdateFormData = (values) => {\n let formData = new FormData();\n const object = {\n onDueDate: values?.onDueDate,\n beforeDueDate: {\n isBeforeDueDate: values?.beforeDueDate?.isBeforeDueDate,\n days: values.beforeDueDate.days,\n },\n afterDueDate: {\n isAfterDueDate: values?.afterDueDate?.isAfterDueDate,\n days: values?.afterDueDate?.days,\n perodicDaily: values?.afterDueDate?.perodicDaily,\n periodicWeekly: values?.afterDueDate?.periodicWeekly,\n\n // selectFixedTime: values.afterDueDate.selectFixedTime,\n // selectFixedDayTime: values.afterDueDate.selectFixedDayTime,\n },\n };\n\n let payload = {\n manageDefaults: object,\n };\n\n formData.append(\"data\", JSON.stringify(payload));\n\n return formData;\n };\n const handleAddGeneralSettings = (values) => {\n const newFormData = FormattedUpdateFormData(values);\n AddGeneralSettings.mutateAsync(newFormData)\n .then((res) => {\n setErrorMessage(null);\n setShow(false);\n })\n .catch(function (error) {\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n };\n\n let {\n data: customers,\n isLoading: isLoadingCustomers,\n refetch: refetchCustomers,\n } = useCustomers(page, debouncedfilterData);\n const { data: allCustomerName, isLoading: isLoadingallCustomerName } =\n GetallCustomerName();\n\n const {\n data: emailData,\n isLoading: isLoadingTemplates,\n refetch: refetchEmailTemplates,\n } = useGetAllEmailTemplates();\n const [ddOptions, setDDOptions] = useState([]);\n\n const allCustomerNameArr = allCustomerName ? allCustomerName.customers : [];\n const allCustomerTypes = customers ? customers.customerTypes : [];\n\n let allEmailTemplatesName = emailData\n ? emailData.map((temp) => {\n return { name: temp.emailTemplateName, id: temp._id };\n })\n : [];\n\n // const data = React.useMemo(() => dummyData, [])\n const tableData = customers ? customers.customers : [];\n const TotalRowsCount = customers ? customers.length : 0;\n\n const [show, setShow] = useState(false);\n const hideModal = () => setShow(false);\n const [reloadTrigger, setReloadTrigger] = useState(0);\n\n const rowClick = (row) => {\n return null;\n };\n\n const onHeaderClick = (column) => {\n filterData.sortOn = column.id;\n filterData.sortOrder = filterData.sortOrder === \"desc\" ? \"asc\" : \"desc\";\n setFilterData({ ...filterData, ...filterData });\n };\n\n const updateTableData = (updatedFilterData) => {\n let customerName = \"\";\n if (updatedFilterData) {\n customerName = updatedFilterData.searchString;\n updatedFilterData[\"customerName\"] = customerName;\n delete updatedFilterData.searchString;\n }\n setPage(0);\n setinitialPage(0);\n setFilterData({ ...filterData, ...updatedFilterData });\n };\n\n const handlePageChange = (_page) => {\n setPage(_page);\n setinitialPage(_page);\n };\n\n const handleReminderSettings = (customerId, values) => {\n customerUpdate\n .mutateAsync({ customerId, values })\n .then(() => {\n setErrorMessage(null);\n })\n .catch(function (error) {\n if (error.response) {\n setErrorMessage(error.response.data.message);\n }\n });\n };\n\n const closeModal = () => {\n document.body.click();\n };\n\n const assignATemplateToCustomer = useAssignATemplateToCustomer();\n const templateToAllCustomersOfCustomertype =\n useAssignATemplateToAllCustomersOfCustomertype();\n\n const selectedEmailTemplate = async (_id, Id) => {\n setAdvancedAssign(false);\n assignATemplateToCustomer\n .mutateAsync({ Id, _id })\n .then(async (res) => {\n const body = {\n _id: undefined,\n customer_id: Id,\n counterPartyId: Id,\n\n manageSettings: {\n onDueDate: false,\n beforeDueDate: {\n isBeforeDueDate: false,\n days: 1,\n },\n afterDueDate: {\n days: 1,\n isAfterDueDate: false,\n },\n customerLevel: {\n isOnSelectedDate: false,\n isOnSelectedDayOfWeek: false,\n weekdays: \"monday\",\n monthDate: 1,\n },\n },\n };\n // setReloadTrigger((prev) => prev + 1);\n await dataAdd\n .mutateAsync({ body })\n .then(async (res) => {\n if (res) {\n setReloadTrigger((prev) => prev + 1);\n setTimeout(() => {\n setAdvancedAssign(true);\n }, [2000]);\n }\n })\n .catch(function (error) {\n console.log(error);\n });\n })\n .catch(function (error) {\n // if (error.response) {\n // setErrorMessage(error.response.data.message);\n // }\n console.log(error);\n });\n };\n\n useEffect(() => {\n if (emailData?.length) {\n setDDOptions([\n ...emailData.map((temp, pos) => {\n return {\n label: temp.emailTemplateName,\n val: temp._id,\n id: temp._id,\n };\n }),\n ]);\n }\n }, [emailData]);\n\n const handleButtonClick = async (type, customerType, emailTemplateId) => {\n setAdvancedAssign(false);\n // setReloadTrigger((prev) => prev + 1);\n templateToAllCustomersOfCustomertype\n .mutateAsync({ type, customerType, emailTemplateId })\n .then(async (res) => {\n setReloadTrigger((prev) => prev + 1);\n setTimeout(() => {\n setAdvancedAssign(true);\n }, [2000]);\n })\n .catch(function (error) {\n console.log(error);\n });\n };\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"\",\n accessor: \"toggle-icon\",\n id: \"toggle-icon\",\n disableSortBy: true,\n },\n {\n Header: \"Customer\",\n accessor: \"customer\",\n id: \"customer\",\n },\n {\n Header: \"Email\",\n accessor: \"email\",\n id: \"email\",\n },\n {\n Header: \"OutStanding\",\n id: \"outstanding\",\n accessor: (d) => {\n return (\n \n );\n },\n },\n {\n Header: \"City/State/Country\",\n accessor: \"location\",\n id: \"location\",\n },\n {\n Header: \"Type\",\n accessor: \"customerType\",\n id: \"customerType\",\n },\n {\n id: \"Assign Template\",\n Header: \"Assign Template\",\n width: 180,\n minwidth: 180,\n disableSortBy: true,\n Cell: ({ row, cell }) => {\n // Only render for parent rows\n if (row.depth === 0) {\n return (\n \n
    \n
    \n
    \n \n cell.row.original?.preferences\n ?.emailTemplateId === elem.id && elem.val\n )\n : null\n }\n options={ddOptions}\n onChange={(selectedOption, actionMeta) => {\n if (actionMeta.action !== \"clear\") {\n selectedEmailTemplate(\n selectedOption.id,\n cell.row.original.Id\n );\n } else {\n selectedEmailTemplate(\"\", cell.row.original.Id);\n }\n }}\n isClearable\n styles={customStyles}\n />\n
    \n {advancedAssign ? (\n closeModal()}\n overlay={AssignPopover(\n customers,\n cell.row.original,\n childFunc,\n handleButtonClick,\n closeModal,\n advancedAssign\n )}\n >\n \n More\n

    \n \n ) : (\n \n Loading ...\n

    \n )}\n
    \n
    \n
    \n );\n }\n // Return null for child rows\n return null;\n },\n },\n {\n id: \"action\",\n Header: \"Action\",\n width: 180,\n minwidth: 180,\n disableSortBy: true,\n Cell: (props) => (\n <>\n {forFutureRelease && (\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n \n \n Resend Invitation\n \n \n )}\n\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n closeModal()}\n overlay={popover(\n props.row.original,\n childFunc,\n handleReminderSettings,\n closeModal,\n childEmailCheck,\n parentRecord\n )}\n >\n \n Manage Settings\n \n \n \n \n ),\n },\n ],\n [ddOptions, customers, emailData, advancedAssign]\n );\n useEffect(() => {\n refetchCustomers();\n refetchEmailTemplates();\n }, [reloadTrigger]);\n\n return (\n <>\n \n \n \n \n \n {/* */}\n

    \n Customer Notifications and Reminders\n

    \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n {\" \"}\n

    \n Here are your Customers. Out here, you can setup\n payment reminders that will be automatically sent\n out by us. Just make sure your Customer contact\n details are accurate and up-to-date!\n

    \n {generalSettingsData?.sourceEmailAddress && (\n

    \n Emails will be sent from{\" \"}\n {generalSettingsData?.sourceEmailAddress}. If you\n need to change this email address, please contact\n the SimpliCapital team.\n

    \n )}\n \n \n {\n history.push(Route_URLs.emailTemplatesList);\n }}\n >\n Templates\n \n \n \n \n \n {forFutureRelease && (\n }\n allowedRoles={[\"admin\"]}\n >\n {/* setShow(true)}\n type=\"button\"\n width=\"150px\"\n >\n Manage defaults\n */}\n \n )}\n \n \n
    \n \n \n {\"\"}\n \n \n \n \n \n
    \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n

    Manage defaults

    \n
    \n \n \n {\n setSubmitting(true);\n handleAddGeneralSettings(values);\n setSubmitting(false);\n }}\n >\n {({ values, handleSubmit }) => (\n
    \n \n \n Automatic Approval Reminders\n \n \n \n\n Days\n \n \n \n \n After Due Date\n \n \n \n \n Days\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n If None Checked No Reminder\n \n \n \n Save\n \n \n )}\n \n
    \n
    \n \n \n {userRole !== \"simplicollect\" &&\n userRole !== \"SimpliCollect&Simplipay\" && (\n \n history.push(Route_URLs.setup_user_management)\n }\n >\n Back\n \n )}\n\n \n history.push(Route_URLs.setup_dispute_management)\n }\n >\n Next\n \n \n
    \n
    \n
    \n \n );\n}\nexport default CustomerNotification;\n\n
    \n
    \n \n CS Upcoming Payments Due\n
    \n \n CS Payments Due Today\n
    \n \n SimpliCapital Default\n \n \n CS Payments Past Due\n \n \n;\n","import { useQuery } from \"react-query\";\nimport EmailTemplateService from \"services/emailTemplate.services\";\n\nexport const useGetAllEmailTemplates = (filterData, mo = false) => {\n return useQuery(\n [\"email-templates\", { filterData }],\n () => EmailTemplateService.getAllEmailTemplates(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n","import React, { useEffect, useState, useRef } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport styled from \"styled-components\";\nimport { default as ReactSelect } from \"react-select\";\nimport { components } from \"react-select\";\n\nconst Input = (props) => {\n return (\n
    \n {props.options.length != props.selectProps.value?.length ?\n Enter user name\n :\"\"}\n
    \n );\n};\nconst styles = {\n placeholder(base, state) {\n return {\n ...base,\n display: state.isFocused && 'none',\n };\n }\n}\nconst StyledSelect = styled.div`\n .react-select-container .react-select__control {\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #FFFFFF;\n border-radius: 0px;\n color: #909091;\n height: 29px;\n padding: 1px;\n width: 100%;\n }\n .react-select-container .react-select__menu-list {\n background: #3a3b48 0% 0% no-repeat padding-box;\n }\n .react-select-container .react-select__option {\n color: #b5b5b5;\n background: #3a3b48 0% 0% no-repeat padding-box;\n &:hover {\n background: #484A58 0% 0% no-repeat padding-box;\n }\n }\n .react-select-container .react-select__multi-value {\n background: #484A58 0% 0% no-repeat padding-box; \n border-radius: 10px;\n width: 69px;\n height: 19px;\n }\n .react-select-container .react-select__multi-value__label {\n color: #B5B5B5;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n align-items: center;\n border-radius: 8px;\n display: flex;\n padding-left: 8px;\n padding-right: 4px;\n }\n .react-select-container .react-select__input-container {\n color: #B5B5B5;\n }\n .react-select-container .react-select__multi-value__remove {\n background: #484A58 0% 0% no-repeat padding-box;\n &:hover {\n background: #484A58 0% 0% no-repeat padding-box;\n color: #B5B5B5;\n }\n }\n .react-select-container .react-select__indicators {\n display: none;\n }\n .react-select-container .react-select__placeholder {\n display: none;\n }\n`;\n\nconst Options = [\n { value: \"User1\", label: \"User1\" },\n { value: \"User2\", label: \"User2\" },\n { value: \"User3\", label: \"User3\" },\n { value: \"User4\", label: \"User4\" },\n\n];\n\n\nexport default function Tags({options,placeholder,onchange,value, defaultValue}) {\n return (\n <>\n \n null,\n DropdownIndicator:() => null,\n }}\n classNamePrefix=\"react-select\"\n className=\"react-select-container\"\n onChange={onchange}\n value={value}\n />\n \n \n );\n}\n","export default __webpack_public_path__ + \"static/media/Icon material-delete.b78d30bf.svg\";","export default __webpack_public_path__ + \"static/media/add-icon.257ae4e2.svg\";","import React from \"react\";\nimport { Button } from \"ui/Buttons\";\nimport { Modal } from \"ui/Modal\";\nimport Tags from \"ui/Tags\";\nimport { StyledModal } from \"../supplier-payment\";\nimport Checkbox from \"ui/Checkbox\";\nimport ToggleButtonComponent from \"ui/ToggleButton\";\nimport deleteicon from \"../../../assets/Icon material-delete.svg\";\nimport addicon from \"../../../assets/add-icon.svg\";\nimport { useRef } from \"react\";\n\nimport axios from \"utils/APIv2\";\nimport { useEffect } from \"react\";\nimport SelectWithVirtualized from \"ui/SelectWithVirtualized\";\nimport { useState } from \"react\";\nimport { ManagedefaultAssignedUsers, ManagedefaultUsers, ManagedefaultUsersAdd } from \"mutations/adddiscount\";\nimport ModalDialog from \"react-bootstrap/ModalDialog\";\nimport Draggable from \"react-draggable\";\n\n\nconst DraggableModalDialog = props => {\n return (\n \n \n \n );\n};\n\nexport default function ManageDefault({ show, onHide }) {\n const [disputUsers, setdisputUsers] = useState([]);\n const [assigntoUsers, setassigntoUsers] = useState([]);\n\n const assignedusers = ManagedefaultAssignedUsers();\n const allusers = ManagedefaultUsers();\n const adduser = ManagedefaultUsersAdd();\n useEffect(() => {\n if (show === true) {\n getUser();\n getassignuser();\n }\n }, [show]);\n\n const getassignuser = async () => {\n\n let userres = await assignedusers.mutateAsync({});\n if (userres.data) {\n setdisputUsers(userres.data.data)\n }\n };\n\n const getUser = async () => {\n\n let response = await allusers.mutateAsync({});\n if (response.data) {\n setassigntoUsers(response.data.data)\n }\n };\n\n const onChange = async (e) => {\n let body = {\n userdata: {\n user_name: e.label,\n user_id: e._id,\n },\n _id: disputUsers?._id ? disputUsers._id : undefined,\n };\n let response = await adduser.mutateAsync({body});\n let b = await getassignuser();\n };\n\n const userDelete = async (e) => {\n let body = {\n userdata: {\n user_name: e.user_name,\n user_id: e.user_id,\n },\n\n _id: disputUsers?._id ? disputUsers._id : undefined,\n deleteflag: true,\n };\n let response = await adduser.mutateAsync({body});\n let assignuserdata = await getassignuser();\n };\n\n\n return (\n \n \n
    \n \n

    Manage defaults

    \n
    \n
    \n\n \n
    \n 0 ? assigntoUsers : []\n }\n onChange={(e) => onChange(e)}\n />\n
    \n\n
    \n {disputUsers?.users?.map((v) => (\n <>\n userDelete(v)}\n className=\"chipcls\"\n >\n {v.user_name}\n \n x\n \n
    \n \n ))}\n \n
    \n
    \n \n );\n}\n","import BaseService from \"./baseClass.services\";\nimport moment from \"moment\";\nimport { apiURL } from \"utils/base-url\";\nimport axios from \"utils/APIv2\";\n\n\nclass BusinessService extends BaseService {\n getallbusiness = async (filterData, mo = false) => {\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n // name: filterData.name,\n // description: filterData.description,\n // parent_business: filterData.parent_business,\n };\n const res = await axios.get(`/business/list`, { params });\n return res.data;\n };\n\n\n addbusiness = async (values) => {\n return await axios.post(`/business/add`, values);\n};\n\n\n\n asigndUserAddFordisputType = async (values) => {\n return await axios.post(`/add/approvers/business`,values);\n };\n\n\n\n\n\n\n}\nexport default new BusinessService();\n\n\n","import React, { useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport { Form, Formik, RadioBlue } from \"ui/forms\";\nimport { EditIcon } from \"assets/icons\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table from \"ui/table\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport { useHistory } from \"react-router-dom\";\nimport StepperComponent from \"../Stepper\";\nimport { UIContext } from \"context/UIContext\";\nimport ManageDefault from \"./ManageDefault\";\nimport { Route_URLs } from \"routesURLs\";\nimport Tags from \"ui/Tags\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { DisputCustomers } from \"queries/customers\";\nimport useDebounce from \"hooks/useDebounce\";\nimport SelectWithVirtualized from \"ui/SelectWithVirtualized\";\nimport {\n ApprovedUsers,\n CustomerDisputAsignUserAdd,\n CustomerDisputTypeAsignUserAdd,\n FetchDisputeTypeData,\n} from \"mutations/adddiscount\";\nimport CrossIcon from \"assets/icon-cross.svg\";\nimport axios from \"utils/APIv2\";\nimport { useRef } from \"react\";\nimport { useEffect } from \"react\";\nimport Loader from \"ui/Loader\";\nimport {\n BusinessDisputTypeAsignUserAdd,\n useAllbusiness,\n} from \"queries/business\";\nimport { useProfile } from \"queries/profile\";\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\n\nconst StyledCard = styled.div``;\nconst OuterDiv = styled.div`\n padding: 0px 20px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n margin: 20px;\n }\n`;\nconst TopSection = styled.div``;\nconst FilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\nconst TopButtonsSection = styled.div`\n .black-background {\n background: #232631;\n border: 2px solid #909090;\n }\n`;\n\nconst NavigationButtons = styled.div`\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n .skip-button {\n float: right;\n background: none;\n border: 2px solid #909090;\n }\n padding: 20px;\n`;\nconst RadioButtonDiv = styled.div`\n .form-field {\n margin-top: 10px;\n }\n margin-top: 10px;\n border-bottom: 1px solid gray;\n`;\nconst StyledSelect = styled.div`\n .react-select-container .react-select__control {\n background: transparent;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #ffffff;\n border-radius: 0px;\n color: #909091;\n height: 29px;\n padding: 1px;\n width: 100%;\n }\n .react-select-container .react-select__menu-list {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n .react-select-container .react-select__option {\n color: #b5b5b5;\n border: 1px solid #ffffff;\n height: 13px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n }\n .react-select-container .react-select__multi-value {\n background: #484a58 0% 0% no-repeat padding-box;\n border-radius: 10px;\n width: 69px;\n height: 19px;\n }\n .react-select-container .react-select__multi-value__label {\n color: #b5b5b5;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n align-items: center;\n border-radius: 8px;\n display: flex;\n padding-left: 8px;\n padding-right: 4px;\n }\n .react-select-container .react-select__input-container {\n color: #b5b5b5;\n }\n .react-select-container .react-select__multi-value__remove {\n background: #484a58 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n color: #b5b5b5;\n }\n }\n .react-select-container .react-select__indicators {\n display: none;\n }\n .react-select-container .react-select__placeholder {\n display: none;\n }\n .react-select-container .react-select__value-container {\n padding: 0px;\n position: absolute;\n }\n`;\nfunction DisputeManagement(props) {\n const { onBoarding } = useContext(UIContext);\n const [showDefault, setShowDefault] = useState(false);\n const [activeClass, setActiveClass] = useState(2);\n const hideModalDefault = () => setShowDefault(false);\n let history = useHistory();\n const [iseditableCustomerRowIndex, setEditableCustomerRowIndex] =\n useState(null);\n const [iseditableDisputRowIndex, setEditableDisputRowIndex] = useState(null);\n const [tags, setTags] = useState([]);\n const disputecatagory = FetchDisputeTypeData();\n const getApprovedUsers = ApprovedUsers();\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n\n const [filterData, setFilterData] = useState({\n customerName: \"\",\n company: \"\",\n location: \"\",\n sortOn: \"customer\",\n sortOrder: \"asc\",\n });\n const [customerLoader, setCustomerLoader] = useState(false);\n const makeid = (length) => {\n let result = \"\";\n const characters =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n const charactersLength = characters.length;\n let counter = 0;\n while (counter < length) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n counter += 1;\n }\n return result;\n };\n\n useEffect(() => {\n setCustomerLoader(true);\n let value = makeid(3);\n let flterdata = { ...filterData, toreload: value };\n setFilterData(flterdata);\n\n setTimeout(() => setCustomerLoader(false), 600);\n }, []);\n\n const userAsignd = CustomerDisputAsignUserAdd();\n const userAsigndFordisputType = CustomerDisputTypeAsignUserAdd();\n\n const debouncedfilterData = useDebounce(filterData, 500);\n\n const { data: customers, isLoading: isLoadingCustomers } = DisputCustomers(\n page,\n debouncedfilterData\n );\n let customertableData =\n customers && customers?.customers ? customers.customers : [];\n\n const customerTotalRowsCount = customers ? customers.length : \"\";\n\n const handlePageChange = (_page) => {\n setPage(_page);\n setinitialPage(_page);\n };\n\n const updateData = (rowIndex, columnId, value) => {\n setTags((old) =>\n old.map((row, index) => {\n if (index === rowIndex) {\n return {\n ...old[rowIndex],\n [columnId]: value,\n };\n }\n return row;\n })\n );\n };\n\n const customerupdateData = (rowIndex, columnId, value) => {\n setTags((old) =>\n old.map((row, index) => {\n if (index === rowIndex) {\n return {\n ...old[rowIndex],\n [columnId]: value,\n };\n }\n return row;\n })\n );\n };\n\n const customerRowClick = (e, row, editId) => {\n return null;\n };\n\n const rowClick = (e, row, editId) => {\n return null;\n };\n const data = React.useMemo(\n () => [\n {\n business: \"Business1\",\n assigntoUsers: [\n { value: \"User1\", label: \"User1\" },\n { value: \"User2\", label: \"User2\" },\n { value: \"User3\", label: \"User3\" },\n { value: \"User4\", label: \"User4\" },\n ],\n },\n {\n business: \"Business1\",\n assigntoUsers: [\n { value: \"User1\", label: \"User1\" },\n { value: \"User2\", label: \"User2\" },\n { value: \"User3\", label: \"User3\" },\n ],\n },\n {\n business: \"Business1\",\n assigntoUsers: [\n { value: \"User1\", label: \"User1\" },\n { value: \"User2\", label: \"User2\" },\n ],\n },\n // {\n // business: \"Business1\",\n // assigntoUsers: \"User 1, User 2, User 3, User 4\",\n // },\n // {\n // business: \"Business1\",\n // assigntoUsers: \"User 1, User 2, User 3, User 4\",\n // },\n // {\n // business: \"Business1\",\n // assigntoUsers: \"User 1, User 2, User 3, User 4\",\n // },\n // {\n // business: \"Business1\",\n // assigntoUsers: \"User 1, User 2, User 3, User 4\",\n // },\n ],\n []\n );\n\n const customercolumns = React.useMemo(\n () => [\n {\n Header: \"Customers\",\n accessor: \"customer\",\n id: \"customer\",\n },\n\n {\n Header: \"Assign to Users\",\n accessor: \"dispute_approvers\",\n id: \"AssigntoUsers\",\n width: 425,\n minWidth: 250,\n Cell: (props) => {\n const onChange = async (e) => {\n let body = {\n customer_id: props.row.original.Id,\n approver_id: {\n user_id: e.value,\n user_name: e.label,\n },\n };\n\n userAsignd\n .mutateAsync({ body })\n .then((note) => {\n let value = makeid(3);\n let flterdata = { ...filterData, toreload: value };\n setFilterData(flterdata);\n })\n .catch(function (error) {});\n };\n\n const userDelete = (e) => {\n let body = {\n customer_id: props.row.original.Id,\n approver_id: {\n user_id: e.user_id,\n user_name: e.user_name,\n },\n deleteflag: 1,\n };\n\n userAsignd\n .mutateAsync({ body })\n .then((note) => {\n let value = makeid(3);\n let flterdata = { ...filterData, toreload: value };\n setFilterData(flterdata);\n })\n .catch(function (error) {});\n setFilterData({ ...filterData, dispute_approvers: \"\" });\n };\n\n return (\n <>\n {\n // iseditableCustomerUser ?\n props.row.index == iseditableCustomerRowIndex ? (\n \n
    \n {props?.row?.original?.dispute_approvers?.length > 0 && (\n
    \n {props?.row?.original?.dispute_approvers?.map(\n (user) => (\n <>\n userDelete(user)}\n className=\"chipcls\"\n >\n {user.user_name}\n \n x\n \n
    \n \n )\n )}\n
    \n )}\n
    \n
    \n onChange(e)}\n />\n
    \n
    \n \n
    \n ) : (\n <>\n {props?.row?.original?.dispute_approvers?.map((user) => (\n <>\n {props?.row?.original?.dispute_approvers?.length > 1\n ? `${user.user_name}, `\n : user.user_name}\n \n ))}\n \n )\n }\n \n );\n },\n },\n {\n id: \"action\",\n Header: \"Action\",\n // width: 200,\n disableSortBy: true,\n Cell: (props) => (\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n {\n setEditableCustomerRowIndex(props.row.index);\n if (props.row.index == iseditableCustomerRowIndex) {\n setEditableCustomerRowIndex(null);\n }\n }}\n />\n \n ),\n },\n ],\n [JSON.stringify(customertableData), iseditableCustomerRowIndex]\n );\n const [disputLoader, setDisputLoader] = useState(false);\n const [disputdata, setdisputdata] = useState([]);\n const disputBtnClick = async () => {\n setDisputLoader(true);\n setActiveClass(3);\n let response = await disputecatagory.mutateAsync({});\n if (response.data) {\n setdisputdata(response.data.data);\n }\n setDisputLoader(false);\n };\n\n let assigntoUsers = useRef([]);\n useEffect(() => {\n getUser();\n }, []);\n\n const getUser = async () => {\n let response = await getApprovedUsers.mutateAsync({});\n\n if (response.data) {\n assigntoUsers.current = response.data.data;\n }\n };\n\n const disputcolumns = React.useMemo(\n () => [\n {\n Header: \"Type of Disputs\",\n accessor: \"type\",\n id: \"type\",\n },\n\n {\n Header: \"Assign to Users\",\n accessor: \"users\",\n id: \"users\",\n width: 425,\n minWidth: 250,\n Cell: (props) => {\n const onChange = (e) => {\n let body = {\n _id: props.row.original._id,\n users: {\n user_id: e.value,\n user_name: e.label,\n },\n };\n\n userAsigndFordisputType\n .mutateAsync({ body })\n .then((note) => {\n try {\n disputecatagory\n .mutateAsync({})\n .then((response) => {\n if (response.data) {\n setdisputdata(response.data.data);\n }\n })\n .catch(() => {});\n } catch (error) {}\n })\n .catch(function (error) {\n console.log(error);\n });\n };\n\n const userDelete = (e) => {\n let body = {\n _id: props.row.original._id,\n users: {\n user_id: e.user_id,\n user_name: e.user_name,\n },\n deleteflag: 1,\n };\n\n userAsigndFordisputType\n .mutateAsync({ body })\n .then((note) => {\n try {\n disputecatagory\n .mutateAsync({})\n .then((response) => {\n if (response.data) {\n setdisputdata(response.data.data);\n }\n })\n .catch(() => {});\n } catch (error) {}\n })\n .catch(function (error) {});\n };\n\n return (\n <>\n {props.row.index == iseditableDisputRowIndex ? (\n \n
    \n {props?.row?.original?.users?.length > 0 && (\n
    \n {props?.row?.original?.users?.map((user) => (\n <>\n userDelete(user)}\n className=\"chipcls\"\n >\n {user.user_name}\n \n x\n \n
    \n \n ))}\n
    \n )}\n
    \n
    \n onChange(e)}\n />\n
    \n
    \n \n
    \n ) : (\n <>\n {props?.row?.original?.users?.map((user) => (\n <>\n {props?.row?.original?.users?.length > 1\n ? `${user.user_name}, `\n : user.user_name}\n \n ))}\n \n )}\n \n );\n },\n },\n {\n id: \"action\",\n Header: \"Action\",\n // width: 300,\n disableSortBy: true,\n Cell: (props) => (\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n {\n setEditableDisputRowIndex(props.row.index);\n if (props.row.index == iseditableDisputRowIndex) {\n setEditableDisputRowIndex(null);\n }\n }}\n />\n \n ),\n },\n ],\n [JSON.stringify(disputdata), iseditableDisputRowIndex]\n );\n\n {\n /********************************Business section***************************** */\n }\n\n const [filterDataBusiness, setFilterDataBusiness] = useState({\n name: \"\",\n description: \"\",\n parent_business: \"\",\n pageNumber: 0,\n limit: \"\",\n order: \"desc\",\n columnName: \"name\",\n });\n const [initialPageBusiness, setinitialPageBusiness] = useState(0);\n\n const debouncedfilterDataBusiness = useDebounce(filterDataBusiness, 1000);\n\n const { data: businessdata, isLoading: isloadingBusiness } = useAllbusiness(\n debouncedfilterDataBusiness\n );\n let businessListdata = businessdata ? businessdata.data : [];\n const totalcount = businessdata ? businessdata.count : \"\";\n\n const userAsigndFrBusiness = BusinessDisputTypeAsignUserAdd();\n\n const handlePageChangeBusiness = (page) => {\n filterDataBusiness.pageNumber = page;\n\n setFilterDataBusiness({ ...filterDataBusiness, ...filterDataBusiness });\n setinitialPageBusiness(page);\n };\n\n const rowClickBusiness = (e, row, editId) => {\n return null;\n };\n\n const [iseditableBusinessRowIndex, setIseditableBusinessRowIndex] =\n useState(null);\n\n const onHeaderClick = (column) => {\n filterData.sortOn = column.id;\n filterData.sortOrder = filterData.sortOrder === \"desc\" ? \"asc\" : \"desc\";\n setFilterData({ ...filterData, ...filterData });\n };\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Business\",\n accessor: \"name\",\n id: \"name\",\n },\n\n {\n Header: \"Assign to Users\",\n accessor: \"disput_approvers\",\n id: \"disput_approvers\",\n width: 315,\n minWidth: 250,\n Cell: (props) => {\n const onChange = (e) => {\n let body = {\n _id: props.row.original._id,\n approver_id: {\n user_id: e.value,\n user_name: e.label,\n },\n };\n\n userAsigndFrBusiness\n .mutateAsync({ body })\n .then((note) => {\n let value = makeid(3);\n let flterdata = { ...filterDataBusiness, toreload: value };\n setFilterDataBusiness(flterdata);\n })\n .catch(function (error) {});\n };\n\n const userDelete = (e) => {\n let body = {\n _id: props.row.original._id,\n approver_id: {\n user_id: e.user_id,\n user_name: e.user_name,\n },\n deleteflag: 1,\n };\n\n userAsigndFrBusiness\n .mutateAsync({ body })\n .then((note) => {\n let value = makeid(3);\n let flterdata = { ...filterDataBusiness, toreload: value };\n setFilterDataBusiness(flterdata);\n })\n .catch(function (error) {});\n };\n\n return (\n <>\n {props.row.index == iseditableBusinessRowIndex ? (\n \n
    \n {props?.row?.original?.disput_approvers?.length > 0 && (\n
    \n {props?.row?.original?.disput_approvers?.map(\n (approverdata) => (\n <>\n userDelete(approverdata)}\n className=\"chipcls\"\n >\n {approverdata.user_name}\n \n x\n \n
    \n \n )\n )}\n
    \n )}\n
    \n
    \n onChange(e)}\n />\n
    \n
    \n \n
    \n ) : (\n <>\n {props?.row?.original?.disput_approvers?.map(\n (approverdata) => (\n <>\n {props?.row?.original?.disput_approvers?.length > 1\n ? `${approverdata.user_name}, `\n : approverdata.user_name}\n \n )\n )}\n \n )}\n \n );\n },\n },\n {\n id: \"action\",\n Header: \"Action\",\n width: 300,\n disableSortBy: true,\n Cell: (props) => (\n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n {\n setIseditableBusinessRowIndex(props.row.index);\n if (props.row.index == iseditableBusinessRowIndex) {\n setIseditableBusinessRowIndex(null);\n }\n }}\n />\n \n ),\n },\n ],\n [JSON.stringify(businessListdata), iseditableBusinessRowIndex]\n );\n\n return (\n <>\n \n \n \n \n \n

    Dispute Management

    \n \n \n
    \n
    \n \n \n \n \n \n {\n setSubmitting(true);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n }) => (\n <>\n
    \n \n \n \n \n \n \n \n }\n allowedRoles={[\n \"admin\",\n \"SimpliCollect&Simplipay\",\n \"simplicollect\",\n \"read-only\",\n ]}\n >\n \n setShowDefault(true)}\n >\n Manage defaults\n \n \n \n \n \n \n \n \n

    \n In this section, tell us how you want\n Customer Disputes to be assigned and to\n whom?\n

    \n \n
    \n \n \n \n {/* setActiveClass(1)}\n >\n Business Hierarchy\n */}\n setActiveClass(2)}\n >\n Customer\n \n setActiveClass(3)}\n onClick={() => disputBtnClick()}\n >\n Dispute Type\n \n \n \n \n
    \n \n
    \n \n \n {activeClass === 1 && (\n <>\n \n \n )}\n {activeClass === 2 && (\n \n )}\n\n {activeClass === 3 && (\n \n )}\n {disputLoader === true &&\n disputdata.length === 0 && }\n \n \n
    \n
    \n
    \n \n )}\n \n
    \n
    \n
    \n
    \n \n \n history.push(Route_URLs.setup_customer_notification)\n }\n >\n Back\n \n\n {userRole == \"simplicollect\" ? (\n {\n onBoarding\n ? history.push(Route_URLs.profile)\n : history.push(Route_URLs.dashboard);\n }}\n >\n {onBoarding ? \"Go to Profile\" : \"Go to Dashboard\"}\n \n ) : (\n <>\n \n history.push(Route_URLs.setup_supplier_payment)\n }\n >\n Next\n \n \n )}\n \n
    \n
    \n
    \n \n \n );\n}\nexport default DisputeManagement;\n","import { useMutation, useQuery, useQueryClient } from \"react-query\";\nimport businessServices from \"services/business.services\";\n// import { addbusiness,getallbusiness } from \"services/business.services\";\n\n\nexport const Businessadd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n businessServices.addbusiness(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"businessadd\");\n },\n }\n );\n };\n\n\n export const useAllbusiness = (filterData, mo = false) => {\n return useQuery(\n [\"business\", { filterData }],\n () => businessServices.getallbusiness(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n };\n\n\n\n export const BusinessDisputTypeAsignUserAdd = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({body }) =>\n businessServices.asigndUserAddFordisputType(body),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"assignduser-disputtype\");\n },\n }\n );\n };","import React from \"react\";\nimport { ArrowDownWhiteIcon } from \"assets/icons.js\";\nimport { components } from \"react-select\";\nimport Select from \"react-select-virtualized\";\nimport styled from \"styled-components\";\n\nconst StyleSelect = styled.div`\n .react-select-container .react-select__menu {\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .css-b62m3t-container .fast-option {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-family: Montserrat Alternates;\n }\n .css-b62m3t-container .fast-option-focused {\n background-color: #222;\n font-family: Montserrat Alternates;\n }\n`;\n\nconst IndicatorsContainer = (props) => {\n return (\n \n \n \n );\n};\n\nconst customStyles = {\n control: (base) => ({\n ...base,\n background: \"#232631 0% 0% no-repeat padding-box\",\n borderRadius: 0,\n borderColor: \"#ffffff69\",\n boxShadow: null,\n minHeight: \"25px\",\n height: \"25px\",\n \"&:hover\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"&:focus\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"::-webkit-scrollbar\": {\n width: \"3px\",\n },\n // ::-webkit-scrollbar-track {\n // background: #000;\n // }\n // ::-webkit-scrollbar-thumb {\n // background: #888;\n // }\n // ::-webkit-scrollbar-thumb:hover {\n // background: #555;\n // }\n }),\n\n dropdownIndicator: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n paddingRight: \"8px\",\n paddingLeft: 0,\n }),\n option: (base, { isFocused }) => ({\n ...base,\n color: \"#ffffff69\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"0px solid #FFFFFF\",\n borderRadius: \"0px\",\n //color:\"#FFFFFF\",\n height: \"25px\",\n background: isFocused ? \"#3a3b48\" : \"#232631 0% 0% no-repeat padding-box\",\n display: \"flex\",\n alignItems: \"center\",\n }),\n valueContainer: (base) => ({\n ...base,\n color: \"#ffffff69\",\n paddingTop: 0,\n }),\n placeholder: (base) => ({\n ...base,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n input: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n margin: 0,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n singleValue: (base) => ({\n ...base,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n menu: (base) => ({\n ...base,\n borderRadius: 0,\n margin: 0,\n padding: 0,\n background: \"#232631 0% 0% no-repeat padding-box\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"1px solid #ffffff69\",\n color: \"#ffffff69\",\n }),\n};\n\nexport default function SelectWithVirtualized({\n options,\n value,\n onChange,\n multiple,\n clearable,\n disabled,\n placeholder = \"Search & Select\",\n}) {\n return (\n \n null,\n }}\n options={options}\n />\n \n );\n}\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { DeActivateIcon, DeleteIcon, LoginIcon } from \"assets/icons\";\nimport styled from \"styled-components\";\nimport \"react-phone-number-input/style.css\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table from \"ui/table\";\nimport { useHistory } from \"react-router-dom\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport Page from \"ui/Page\";\nimport PrivateLayout from \"layouts/operations-ui/privateLayout\";\nimport { useGetTenantsForLogin } from \"queries/operations\";\nimport operationsService from \"services/operations.service\";\nimport SelectWithVirtualized from \"./SelectWithVirtualized\";\nimport { useGetUsers } from \"queries/operations\";\nimport { useQueryClient } from \"react-query\";\nimport moment from \"moment\";\n\nconst DashboardWrapper = styled.div`\n .link-to-pages {\n text-decoration: none;\n }\n`;\n\nconst TopSection = styled.div`\n .download {\n text-decoration: underline;\n font-family: Montserrat Alternates;\n font-size: 12px;\n line-height: 15px;\n color: #909090;\n cursor: pointer;\n }\n`;\n\nconst Counter = styled.div`\n background-color: #33c2df;\n height: 17px;\n width: 17px;\n border-radius: 50%;\n display: inline-block;\n color: white;\n position: relative;\n top: 5px;\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 0px 0px;\n min-height: 0px;\n }\n`;\n\nconst StyledFilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst Import = styled.div`\n width: 100px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n /* margin: 0px 10px; */\n`;\n\nconst Capitalize = styled.span`\n text-transform: capitalize;\n`;\nconst StyledCard = styled.div``;\n\nconst StyledSelect = styled.div`\n .react-select-container .react-select__control {\n background: transparent;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #ffffff;\n border-radius: 0px;\n color: #909091;\n height: 29px;\n padding: 1px;\n width: 100%;\n }\n .react-select-container .react-select__menu-list {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n .react-select-container .react-select__option {\n color: #b5b5b5;\n border: 1px solid #ffffff;\n height: 13px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n }\n }\n .react-select-container .react-select__multi-value {\n background: #484a58 0% 0% no-repeat padding-box;\n border-radius: 10px;\n width: 69px;\n height: 19px;\n }\n .react-select-container .react-select__multi-value__label {\n color: #b5b5b5;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n align-items: center;\n border-radius: 8px;\n display: flex;\n padding-left: 8px;\n padding-right: 4px;\n }\n .react-select-container .react-select__input-container {\n color: #b5b5b5;\n }\n .react-select-container .react-select__multi-value__remove {\n background: #484a58 0% 0% no-repeat padding-box;\n &:hover {\n background: #484a58 0% 0% no-repeat padding-box;\n color: #b5b5b5;\n }\n }\n .react-select-container .react-select__indicators {\n display: none;\n }\n .react-select-container .react-select__placeholder {\n display: none;\n }\n .react-select-container .react-select__value-container {\n padding: 0px;\n position: absolute;\n }\n`;\n\nexport default function UserListing() {\n const queryClient = useQueryClient();\n const history = useHistory();\n const [errorMessage, setErrorMessage] = useState(\"\");\n const { data: tenants, isLoading: isloadingTenant } = useGetTenantsForLogin(\n {}\n );\n const tableData = tenants?.length > 0 ? tenants : [];\n\n const performAction = async (e, tenantName) => {\n console.log(e.value);\n if (e.value === \"clear\") e.value = \"\";\n let response = await operationsService.addTestPoc(tenantName, {\n testPoc: e.value,\n });\n queryClient.invalidateQueries(\"loginTenants\");\n };\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Tenant\",\n accessor: \"tenantFullName\",\n id: \"tenant\",\n maxWidth: 140,\n },\n {\n Header: \"Last Activity\",\n accessor: \"lastActivity\",\n id: \"isActive\",\n maxWidth: 100,\n Cell: (props) => (\n \n {moment(props.row.original.lastActivity).format(\"YYYY/MM/DD HH:ss\")}\n \n ),\n },\n {\n Header: \"Test POC\",\n accessor: \"testPoc\",\n id: \"testPoc\",\n maxWidth: 100,\n Cell: (props) => (\n {\n performAction(e, props.row.original.tenantName);\n }}\n multiple={false}\n clearable={true}\n disabled={false}\n />\n ),\n },\n {\n Header: \"Action\",\n id: \"action\",\n disableSortBy: true,\n Cell: (props) =>\n props.row.original.isAnalyticsEnabled === true ? (\n <>\n {\n history.push(\n `/admin/analytics/${props.row.original.tenantName}`\n );\n }}\n >\n \n View Analytics\n \n {\n history.push(`/admin/analytics?=${props.row.original}`);\n }}\n >\n \n Disable\n \n \n ) : (\n <>\n \n Enable Analytics\n \n \n ),\n },\n ],\n []\n );\n\n return (\n <>\n \n \n \n \n \n \n

    Analytics Dashboard

    \n \n
    \n
    \n \n \n \n
    \n {\" \"}\n \n \n \n {\" \"}\n \n Track tenant activities\n

    \n \n
    \n
    \n
    \n
    \n \n \n \n {}}\n handlePageChange={() => {}}\n initialPage={1}\n onHeaderClick={() => {}}\n />\n \n \n \n
    \n \n
    \n
    \n
    \n
    \n \n );\n}\n","import Card from \"ui/Card\";\nimport NumberFormat from \"react-number-format\";\nimport ChangeReverse from \"ui/ChangeReverse\";\nimport { LeftBlock, RightBlock } from \"ui/general\";\nimport SimpleLineGraph, { GraphCaption } from \"graphs/SimpleLineGraph\";\nimport { Link } from \"react-router-dom\";\nimport Loader from \"ui/Loader\";\nimport { useState } from \"react\";\nimport moment from \"moment\";\n\nfunction PerformanceTimeCard(props) {\n // react query\n const data = props;\n return (\n \n \n \n {props?.isLoading ? <> : <>{data.title}}\n \n \n {props?.isLoading ? (\n \n ) : (\n
    \n \n \n {data?.date}\n
    \n {data?.value?.toFixed(2)}\n \n \n \n {data?.date2}\n \n {data?.value2?.toFixed(2)}\n \n \n \n {data?.date3}\n \n {data?.value3?.toFixed(2)}\n \n \n )}\n
    \n \n {props?.isLoading ? (\n <>\n ) : (\n <>\n \n \n {/* actual)}\n seriesData={graphData.map(({ date }) => date)}\n /> */}\n \n
    \n {data?.value === data?.value2 && data?.value2 === data?.value3\n ? \"No change\"\n : \"Change detected\"}\n
    \n
    \n \n )}\n
    \n
    \n \n );\n}\nexport default PerformanceTimeCard;\n","import Card from \"ui/Card\";\nimport { LeftBlock, RightBlock } from \"ui/general\";\nimport { Link } from \"react-router-dom\";\nimport Loader from \"ui/Loader\";\nimport { useState } from \"react\";\nfunction PerformanceCard(props) {\n const data = props;\n return (\n \n \n {data?.isLoading ? <> : <>{data.title}}\n \n {data?.isLoading ? (\n \n ) : (\n
    \n {data?.value ? data?.value : 0}\n
    \n )}\n
    \n
    \n \n );\n}\nexport default PerformanceCard;\n","import Spinner from \"react-bootstrap/Spinner\";\nimport styled from \"styled-components\";\n\nconst StyledLoader = styled.div`\n .spinner-border {\n font-weight: 500;\n width: 1.5rem;\n height: 1.5rem;\n display: block;\n left: 0;\n right: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n margin-left: auto;\n margin-right: auto;\n margin-top: auto;\n margin-bottom: auto;\n z-index: 50000;\n }\n`;\n\nexport default function Loader({ ...props }) {\n return (\n \n \n Loading...\n \n );\n}\n","import {\n useTable,\n useSortBy,\n usePagination,\n useFilters,\n useExpanded,\n useRowSelect,\n} from \"react-table\";\nimport React, { useState, useMemo, useEffect } from \"react\";\nimport styled from \"styled-components\";\nimport { SortIcon } from \"assets/icons.js\";\nimport { Table as BSTable } from \"react-bootstrap\";\nimport ReactPaginate from \"react-paginate\";\nimport Loader from \"./Loader\";\nimport CustomScrollbars from \"ui/scrollbar\";\nimport Checkbox from \"ui/Checkbox\";\nimport Tooltip from \"ui/Tooltip\";\nimport { EditIcon, InfoIcon } from \"assets/icons\";\n\nexport const StyledSubRows = styled.span`\n content: \"${(props) => props.depth}\";\n padding-left: ${(props) =>\n (props.depth == 0 && \"13px\") ||\n (props.depth == 1 && \"23px\") ||\n `${props.depth * 11}px`};\n`;\nexport const TableWrapper = styled.div`\n position: relative;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 2px 6px #0000000a;\n padding: 15px 25px;\n border-radius: 5px;\n min-height: 200px;\n .spinner-border.text-secondary {\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n }\n .styledNoRecord {\n color: white;\n position: absolute;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n display: inline-table;\n top: 101px;\n }\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: transparent;\n border: 2px solid #707070;\n display: inline-block;\n width: 18px;\n height: 18px;\n border-radius: 3px;\n margin-top: 3px;\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: transparent;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -35%;\n right: 0%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\nconst StyledCheckboxHeader = styled.div`\n margin-top: 3px;\n input {\n background-color: transparent !important;\n border: 2px solid #ffffff !important;\n }\n`;\n\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n display: inline-block;\n`;\n\nexport const StyledTable = styled(BSTable)`\n td {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n border-bottom: 1px solid gray;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n th {\n /* width: 72px; */\n height: 42px;\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #ffffff;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 9px;\n }\n }\n td:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n th:first-child {\n text-align: left;\n /* position: sticky;\n left: 0; */\n }\n /* td:last-child {\n text-align: right;\n }\n th:last-child {\n text-align: right;\n } */\n`;\nexport const TableHead = styled.thead`\n tr {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%) 0%\n 0%;\n border-bottom: underline;\n @media (min-width: 768px) and (max-width: 1024px) {\n th {\n background: #0081c5;\n }\n }\n &:hover {\n background: transparent linear-gradient(90deg, #0081c5 0%, #31c0de 100%)\n 0% 0% no-repeat padding-box;\n color: #ffffff;\n }\n }\n svg {\n font-size: 8px;\n margin-left: 2px;\n }\n\n /* th:first-child {\n position: sticky;\n left: 0;\n } */\n`;\nexport const StyledRow = styled.tr`\n color: #b5b5b5;\n cursor: pointer;\n &:hover {\n background-color: #636471;\n color: #ffffff;\n }\n`;\n\nexport const PaginationWrapper = styled.div`\n position: relative;\n width: 100%;\n`;\n\nexport const Pagination = styled.div`\n color: white;\n display: flex;\n justify-content: center;\n margin: 0 auto;\n\n ul {\n margin: 10px;\n }\n\n & li {\n padding: 0.2rem;\n border-radius: 7px;\n padding-bottom: 0px !important;\n\n a {\n padding: 0.5rem;\n }\n }\n\n & .active {\n background-color: #33c2df;\n }\n .previous,\n .next {\n background-color: #373743;\n }\n`;\nconst StyledNoRecord = styled.span`\n color: white;\n`;\nconst StyledLoader = styled.div`\n /* font-size:1em; */\n`;\nconst ScrollWindow = styled.div`\n overflow: auto;\n ::-webkit-scrollbar {\n height: 7px;\n }\n ::-webkit-scrollbar-track {\n background: #3a3b48;\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: rgba(0, 0, 0, 0.2);\n border-radius: 20px;\n }\n`;\nconst IndeterminateCheckbox = React.forwardRef(\n ({ indeterminate, ...rest }, ref) => {\n const defaultRef = React.useRef();\n const resolvedRef = ref || defaultRef;\n\n React.useEffect(() => {\n resolvedRef.current.indeterminate = indeterminate;\n }, [resolvedRef, indeterminate]);\n\n return (\n <>\n \n \n );\n }\n);\nfunction Table({\n isloading,\n editId,\n columns,\n data,\n rowClick,\n onHeaderClick,\n totalCount,\n handlePageChange,\n initialPage,\n isEdit,\n updateData,\n checkbox,\n}) {\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n page,\n nextPage,\n previousPage,\n gotoPage,\n prepareRow,\n state: { expanded },\n } = useTable(\n {\n initialState: {\n hiddenColumns: columns.map((column) => {\n if (column.show === false) return column.accessor || column.id;\n }),\n pageSize: 1000,\n },\n columns,\n data,\n manualSortBy: true,\n editId,\n isEdit,\n updateData,\n },\n useFilters,\n useSortBy,\n useExpanded,\n usePagination,\n useRowSelect,\n (hooks) => {\n checkbox &&\n hooks.visibleColumns.push((columns) => [\n {\n id: \"selection\",\n width: 3,\n disableSortBy: true,\n Header: ({ getToggleAllRowsSelectedProps }) => (\n \n \n \n ),\n Cell: ({ row }) => (\n
    e.stopPropagation()}>\n e.stopPropagation()}\n />\n
    \n ),\n },\n ...columns,\n ]);\n }\n );\n\n const Pagecount = Math.ceil(Math.abs(totalCount / 10));\n return (\n <>\n \n {isloading ? (\n \n ) : (\n <>\n {/* */}\n \n \n \n {headerGroups.map((headerGroup) => (\n \n {headerGroup.headers.map((column) => (\n \n !column.disableSortBy && onHeaderClick(column)\n }\n >\n {column.render(\"Header\")}\n {column?.Tooltip && (\n \n \n \n \n )}\n {/* {column.isSorted?(column.isSortedDesc ?:):\" \"} */}\n {!column.disableSortBy && {}}\n {/* {{}} */}\n \n ))}\n \n ))}\n \n\n \n {!isloading && data.length > 0 ? (\n <>\n {page.map((row) => {\n prepareRow(row);\n return (\n // rowClick(row)}>\n rowClick(e, row, editId)}\n >\n {row.cells.map((cell) => {\n return (\n \n {cell.render(\"Cell\")}\n \n );\n })}\n \n );\n })}\n \n ) : (\n No Records Found\n )}\n \n \n \n {/* */}\n {!isloading && data.length > 0 ? (\n \n \n \"}\n breakLabel={\"...\"}\n breakClassName={\"break-me\"}\n pageCount={Math.ceil(Pagecount)}\n marginPagesDisplayed={1}\n pageRangeDisplayed={6}\n // onPageChange={(_page) => gotoPage(_page.selected)}\n onPageChange={(_page) => handlePageChange(_page.selected)}\n containerClassName={\"pagination\"}\n activeClassName={\"active\"}\n forcePage={initialPage}\n />\n \n \n ) : (\n <>\n )}\n \n )}\n \n \n );\n}\nexport default Table;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { DeActivateIcon, EditIcon } from \"assets/icons\";\nimport Filter from \"ui/FilterUser\";\nimport styled from \"styled-components\";\nimport \"react-phone-number-input/style.css\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table from \"./table\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport moment from \"moment\";\nimport ReactTooltip from \"react-tooltip\";\n\nconst TopSection = styled.div`\n .download {\n text-decoration: underline;\n font-family: Montserrat Alternates;\n font-size: 12px;\n line-height: 15px;\n color: #909090;\n cursor: pointer;\n margin: \"10px\";\n padding: \"10px\";\n }\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\n\nconst StyledFilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst Capitalize = styled.span`\n text-transform: capitalize;\n`;\nconst StyledParagraph = styled.p`\n letter-spacing: 0px;\n color: rgb(144, 144, 144);\n font-family: \"Montserrat Alternates-Bold\";\n font-size: 24px;\n line-height: 22px;\n`;\n\nexport default function UserListingPerformance(props) {\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n const [filterData, setFilterData] = useState({\n username: \"\",\n statusArray: [],\n roleArray: [],\n businessArray: [],\n sortOn: \"createdAt\",\n sortOrder: \"desc\",\n });\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"First name\",\n accessor: \"givenName\",\n id: \"givenName\",\n maxWidth: 100,\n disableSortBy: true,\n Cell: (props) => {props.row.values.givenName},\n },\n {\n Header: \"Mobile\",\n accessor: \"phoneNumber\",\n id: \"phoneNumber\",\n maxWidth: 100,\n disableSortBy: true,\n },\n {\n Header: \"Email\",\n accessor: \"email\",\n id: \"email\",\n maxWidth: 150,\n disableSortBy: true,\n },\n {\n Header: \"User Permission\",\n accessor: \"role\",\n id: \"role\",\n maxWidth: 80,\n disableSortBy: true,\n Cell: (props) => (\n <>\n \n {props.row.values.role == \"simplicollect\"\n ? \"SimpliCollect\"\n : props.row.values.role == \"simplipay\"\n ? \"SimpliPay\"\n : props.row.values.role == \"SimpliCollect&Simplipay\"\n ? \"SimpliCollect and SimpliPay\"\n : props.row.values.role}\n \n \n ),\n },\n {\n Header: \"Status\",\n accessor: \"status\",\n id: \"status\",\n maxWidth: 80,\n disableSortBy: true,\n Cell: (props) =>\n props.row.values.status === \"active\" ? (\n \n {props.row.values.status}\n \n ) : (\n In Active\n ),\n },\n {\n Header: \"MFA\",\n accessor: \"isMfaEnabled\",\n id: \"isMfaEnabled\",\n maxWidth: 100,\n Cell: (props) => {\n return (\n
    \n {props.row.original.isMfaEnabled === true ? (\n \n \n \n ) : (\n \n \n \n )}\n \n
    \n );\n },\n },\n {\n Header: \"Last Activity\",\n accessor: \"lastActivity\",\n id: \"lastActivity\",\n disableSortBy: true,\n maxWidth: 100,\n Cell: (props) => (\n \n {moment(props.row.values?.lastActivity).format(\"YYYY-MM-DD HH:ss\")}\n \n ),\n },\n {\n Header: \"Action\",\n id: \"action\",\n disableSortBy: true,\n maxWidth: 100,\n Cell: (props) => (\n <>\n {}}\n />\n Delete\n \n ),\n },\n ],\n []\n );\n\n return (\n <>\n \n \n \n \n Tenant Users\n \n \n \n\n \n \n \n {}}\n handlePageChange={() => {}}\n initialPage={0}\n onHeaderClick={() => {}}\n />\n \n \n \n \n );\n}\n","import Card from \"ui/Card\";\nimport styled from \"styled-components\";\nimport { InsightsIcon } from \"assets/icons.js\";\nimport Loader from \"ui/Loader\";\nimport { useInsights } from \"queries/stats\";\nimport moment from \"moment\";\nimport ReactTooltip from \"react-tooltip\";\n\nconst StyledInsightIcon = styled.div`\n margin-right: 10px;\n svg {\n font-size: 15px;\n }\n @media (min-width: 768px) and (max-width: 991px) {\n margin-right: 5px;\n }\n`;\nconst StyledList = styled.ul`\n li {\n word-break: break-word;\n }\n`;\nfunction PerformanceInsightsCard(props) {\n const data = props?.data;\n\n return (\n \n {props.title}\n \n {props?.isLoading ? (\n \n ) : (\n <>\n \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Last tainer :{\" \"}\n {moment(data?.trainerLastRun?.updatedAt).format(\"YYYY-MM-DD\")}\n \n {Object.keys(\n data?.trainerLastRun ? data?.trainerLastRun : {}\n ).map((key) => (\n
    \n {key} : {data?.trainerLastRun[key]}\n
    \n ))}\n \n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Last forecast :{\" \"}\n {moment(data?.predictorLastRun?.updatedAt).format(\"YYYY-MM-DD\")}\n \n {Object.keys(\n data?.predictorLastRun ? data?.predictorLastRun : {}\n ).map((key) => (\n
    \n {key} : {data?.predictorLastRun[key]}\n
    \n ))}\n \n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Payments optimized : {data?.optimisedPayments}\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Forcasted Invoices :{\" \"}\n {data?.forcastedInvoices + \" / \" + data?.invoices}\n
  • \n
    \n \n )}\n
    \n
    \n );\n}\n\nexport default PerformanceInsightsCard;\n","import Card from \"ui/Card\";\nimport styled from \"styled-components\";\nimport { InsightsIcon, ReportIcon } from \"assets/icons.js\";\nimport Loader from \"ui/Loader\";\nimport { useInsights } from \"queries/stats\";\nimport operationsService from \"services/operations.service\";\n\nconst StyledInsightIcon = styled.div`\n margin-right: 10px;\n svg {\n font-size: 15px;\n }\n @media (min-width: 768px) and (max-width: 991px) {\n margin-right: 5px;\n }\n`;\nconst StyledList = styled.ul`\n li {\n word-break: break-word;\n }\n`;\nfunction ReportDownloadCard(props) {\n // react query\n // const { data, isLoading } = useInsights();\n const data = props;\n return (\n \n {data.title}\n \n {props?.isLoading ? (\n \n ) : (\n <>\n \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Customers ({data?.data?.customers})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Vendors ({data?.data?.vendors})\n
  • \n {\n let link = await operationsService.reportDownloads(\n data.tenant,\n \"end_customers\"\n );\n\n window.open(link, \"_blank\");\n }}\n >\n \n \n \n {/* {data.receivableForecast?.text} */}\n Customers using sc ({data?.data?.usersC})\n \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Receivable Predictions ({data?.data?.promise2pay})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Invoice Forecast ({data?.data?.promise2pay})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Comments ({data?.data?.comments})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Users ({data?.data?.users})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Disputes ({data?.data?.disputes})\n
  • \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Dispute Types ({data?.data?.disputeTypes})\n
  • \n
    \n \n )}\n
    \n
    \n );\n}\n\nexport default ReportDownloadCard;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { EditIcon } from \"assets/icons\";\nimport Filter from \"ui/FilterUser\";\nimport styled from \"styled-components\";\nimport \"react-phone-number-input/style.css\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Table from \"./table\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport useDebounce from \"hooks/useDebounce\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { useRoles } from \"queries/profile\";\n\nconst TopSection = styled.div`\n .download {\n text-decoration: underline;\n font-family: Montserrat Alternates;\n font-size: 12px;\n line-height: 15px;\n color: #909090;\n cursor: pointer;\n margin: \"10px\";\n padding: \"10px\";\n }\n`;\n\nconst StyledTable = styled.div`\n .table-wrapper {\n padding: 25px 0px;\n }\n`;\n\nconst StyledFilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nconst Capitalize = styled.span`\n text-transform: capitalize;\n`;\nconst StyledParagraph = styled.p`\n letter-spacing: 0px;\n color: rgb(144, 144, 144);\n font-family: \"Montserrat Alternates-Bold\";\n font-size: 24px;\n line-height: 22px;\n`;\n\nexport default function EventTable() {\n const [page, setPage] = useState(0);\n const [initialPage, setinitialPage] = useState(0);\n const [filterData, setFilterData] = useState({\n username: \"\",\n statusArray: [],\n roleArray: [],\n businessArray: [],\n sortOn: \"createdAt\",\n sortOrder: \"desc\",\n });\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Id\",\n accessor: \"id\",\n id: \"id\",\n maxWidth: 100,\n },\n {\n Header: \"Name\",\n accessor: \"name\",\n id: \"name\",\n maxWidth: 100,\n },\n {\n Header: \"Source\",\n accessor: \"source\",\n id: \"source\",\n maxWidth: 100,\n },\n {\n Header: \"IP\",\n accessor: \"ip\",\n id: \"ip\",\n maxWidth: 100,\n },\n {\n Header: \"Browser\",\n accessor: \"browser\",\n id: \"browser\",\n maxWidth: 100,\n },\n {\n Header: \"Device\",\n accessor: \"device\",\n id: \"device\",\n maxWidth: 100,\n },\n ],\n []\n );\n return (\n <>\n \n \n \n \n Events\n \n \n \n {}} userRolesData={() => {}} />\n \n \n \n \n\n \n \n \n {}}\n handlePageChange={() => {}}\n initialPage={0}\n onHeaderClick={() => {}}\n />\n \n \n \n \n );\n}\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport \"react-phone-number-input/style.css\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport Page from \"ui/Page\";\nimport PrivateLayout from \"layouts/operations-ui/privateLayout\";\nimport PerformanceTimeCard from \"./performanceTimeCard\";\nimport PerformanceCard from \"./performanceCard\";\nimport UserListingPerformance from \"./userListingPerformance\";\nimport PerformanceInsightsCard from \"./PerformanceInsightsCard\";\nimport ReportDownloadCard from \"./ReportDownload\";\nimport EventTable from \"./eventTable\";\nimport { InsightsIcon } from \"assets/icons\";\nimport SampleImage from \"assets/placeholder-image.png\";\nimport {\n useGetDaily,\n useGetInsights,\n useGetMetrics,\n useGetReportData,\n useGetTenantCustomers,\n} from \"queries/operations\";\nimport moment from \"moment\";\nimport { useParams } from \"react-router-dom\";\nimport ReactTooltip from \"react-tooltip\";\nimport Loader from \"ui/Loader\";\nimport Card from \"ui/Card\";\n\nconst DashboardWrapper = styled.div`\n .link-to-pages {\n text-decoration: none;\n }\n`;\nconst Logo = styled.div`\n margin-top: 10px;\n margin-bottom: 10px;\n padding: 10px;\n height: 148px;\n background: #2b2b34 0% 0% no-repeat padding-box;\n border-radius: 6px;\n display: flex;\n align-items: center;\n .logo-heading {\n font-size: 11px;\n line-height: 14px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #909090;\n }\n img {\n margin: 10%;\n width: 80%;\n height: 50%;\n border-radius: 5%;\n }\n`;\n\nconst StyledList = styled.ul`\n li {\n word-break: break-word;\n font-style: normal;\n font-style: inherit;\n color: #ffffff;\n font-weight: 600;\n font-size: 11px;\n line-height: 15px;\n padding-bottom: 15px;\n list-style: none;\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n }\n`;\nconst StyledInsightIcon = styled.div`\n margin-right: 10px;\n svg {\n font-size: 15px;\n }\n @media (min-width: 768px) and (max-width: 991px) {\n margin-right: 5px;\n }\n`;\n\nexport default function Performance() {\n const [errorMessage, setErrorMessage] = useState(\"\");\n const { param } = useParams();\n const { data: users, isLoading: isloading } = useGetTenantCustomers(param);\n let usersData = users ? users : [];\n\n const { data: value, isLoading: isloadingInsights } = useGetInsights(param);\n let valueData = value ? value : null;\n\n const { data: daily, isLoading: isloadingDaily } = useGetDaily(param);\n\n const { data: metrics, isLoading: isloadingMetric } = useGetMetrics(param);\n\n const { data: report, isLoading: isloadingReport } = useGetReportData(param);\n\n return (\n <>\n \n \n \n \n \n \n

    Analytics

    \n \n
    \n
    \n \n \n \n \n {isloadingInsights ? (\n \n ) : (\n \n \n \n \n \n \n \n \n
  • \n \n \n \n {/* {data.receivableForecast?.text} */}\n Onboarded on :{\" \"}\n {moment(valueData?.onboardedOn).format(\n \"YYYY-MM-DD\"\n )}\n
  • \n
  • \n \n \n \n {/* {data.payable?.text} */}\n Category : {valueData?.category}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Timezone : {valueData?.timezone}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Email address : {valueData?.autoEmailAddress}\n
  • \n
    \n \n \n \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n App Start Date :{\" \"}\n {moment(valueData?.appStartDate).format(\n \"YYYY-MM-DD\"\n )}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n ERP Details :{\" \"}\n {valueData?.erpConnectionDetails?.name}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Email Templates : {valueData?.emailTemplateCount}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Bank Connects : {valueData?.bankConnectionCount}\n
  • \n
    \n \n \n \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Database size :{\" \"}\n {(\n Number(valueData?.dbstats?.fileSize) /\n 1024 ** 3\n ).toFixed(2)}{\" \"}\n GB\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Db Collections : {valueData?.dbstats?.collections}\n
  • \n
  • \n \n \n \n {/* {data.netcash?.text} */}\n Business Owner : Deepak Ansari\n
  • \n
    \n \n
    \n )}\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \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, { useContext } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\nimport Card from \"ui/Card\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { useHistory } from \"react-router-dom\";\nimport { ExportIcon } from \"assets/icons.js\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { UIContext } from \"context/UIContext\";\n\nimport StepperComponent from \"../Stepper\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { UpdateSurchargeStatus } from \"queries/actuals\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport ToggleButtonComponent from \"ui/ToggleButton\";\n\nconst StyledCard = styled.div`\n .card {\n background: #444551;\n }\n`;\n\nconst SurchargeHeader = styled.div`\n\ndisplay: flex;\njustify-content: space-between;\npadding: 30px;\ncolor: rgb(143, 143, 143);\nfont-size: 15px;\n\n`\nconst OuterDiv = styled.div`\n padding: 50px 100px 50px 100px;\n .HeadingText {\n letter-spacing: 0px;\n color: #909090;\n font-family: Montserrat Alternates-Bold;\n font-size: 20px;\n line-height: 24px;\n }\n`;\n\nconst NavigationButtons = styled.div`\n padding: 20px;\n .back-button {\n float: left;\n background: none;\n border: 2px solid #909090;\n }\n .next-button {\n float: right;\n }\n`;\n\nfunction DigitalPayments(props) {\n const { data: generalSettingsData, isLoading } = useGeneralSettings()\n const { onBoarding } = useContext(UIContext);\n const [isSurchangeEnable,setIsSurchargeEnable] = useState(false)\n const useSurchargeStatus = UpdateSurchargeStatus()\n useEffect(() => {\n if (generalSettingsData?.isSurcharge) {\n setIsSurchargeEnable(generalSettingsData.isSurcharge);\n }\n\n }, [generalSettingsData]);\n const handleToggle = async(e)=>{\n console.log(\"gitttt\")\n let res = await useSurchargeStatus.mutateAsync(e)\n console.log(res)\n setIsSurchargeEnable(e)\n }\n let history = useHistory();\n\n return (\n <>\n \n \n \n \n \n

    Digital Payments

    \n \n \n
    \n
    \n \n \n \n \n \n \n <>\n \n
    \n
    \n New Account for Charge Cards and ACH\n
    \n If this is a new application and you’re applying for\n ACH processing also, download, fill and sign this\n document. This should then be uploaded as a\n supporting document in your online application form\n by clicking the link below.\n
    \n
    \n \n \n \n \n window.open(\n \"https://webapp.nuvei.com/app/Xm4qjelVFg\",\n \"_blank\"\n )\n }\n >\n Apply\n \n
    \n \n \n \n
    \n Add ACH to an existing Charge Card Account\n
    \n If you have an existing account with us and want to\n add ACH processing, download, fill and sign this\n document. Once completed, please email this document\n to ACHApplications@Nuvei.com\n \n
    \n \n \n \n
    \n \n \n \n
    New ACH Account Only
    \n If this is a new application and you want to enable\n ACH processing ONLY, download, fill and sign this\n document. Once completed, please email this document\n to ACHApplications@Nuvei.com\n \n
    \n \n \n \n
    \n \n \n
    \n\n \n <>\n \n \n Click here to download a guide of our ACH\n underwriting guidelines.\n \n \n \n \n \n \n \n \n \n Click here to download our ACH pricing schedule.\n \n \n \n \n \n \n \n \n \n { generalSettingsData?.surchargeRate && \n <>\n \n\n
    \n\n\n \n\n Enable a {generalSettingsData?.surchargeRate}% surcharge on credit card transactions?\n \n \n \n \n await handleToggle(e)\n \n }\n \n />\n \n \n \n \n\n
    \n \n
    }\n
    \n
    \n
    \n
    \n \n \n history.push(Route_URLs.setup_cash_classification)\n }\n className=\"next-button\"\n type=\"button\"\n width=\"110px\"\n >\n Next\n \n history.push(Route_URLs.setup_general_settings)}\n >\n Back\n \n \n
    \n
    \n
    \n \n );\n}\nexport default DigitalPayments;\n","import React from 'react';\nimport { useState } from 'react';\nimport {\n Button, Col, Form, Row,\n} from \"react-bootstrap\";\nimport state from \"assets/state.json\";\nimport { useUpdateCustomerBillingDetails } from 'mutations/updateCustomers';\nimport { Route_URLs } from 'routesURLs';\nimport { useHistory } from \"react-router-dom\";\n\nconst BillingAddress = () => {\n const [validated, setValidated] = useState(false);\n const [loader, setLoader] = useState(false);\n const [edit, setEdit] = useState(false);\n const billingDetailsUpdate = useUpdateCustomerBillingDetails();\n let customerid = sessionStorage.getItem(\"username\");\n const [formData, setFormData] = useState({\n givenName: \"\",\n familyName: \"\",\n address: \"\",\n city: \"\",\n zip: \"\",\n state: \"\",\n phone: \"\"\n });\n const [errors, setErrors] = useState({\n givenName: '',\n familyName: '',\n address: '',\n city: '',\n state: '',\n zip: '',\n phone: ''\n });\n\n const handleChange = (e) => {\n const { id, value } = e.target;\n\n setFormData({\n ...formData,\n [id]: value\n });\n\n switch (id) {\n case 'givenName':\n setErrors({\n ...errors,\n givenName: validateGivenName(value).message\n });\n break;\n case 'familyName':\n setErrors({\n ...errors,\n familyName: validateFamilyName(value).message\n });\n break;\n case 'address':\n setErrors({\n ...errors,\n address: validateAddress(value).message\n });\n break;\n case 'city':\n setErrors({\n ...errors,\n city: validateCity(value).message\n });\n break;\n case 'state':\n setErrors({\n ...errors,\n state: validateState(value).message\n });\n break;\n case 'zip':\n setErrors({\n ...errors,\n zip: validateZip(value).message\n });\n break;\n case 'phone':\n setErrors({\n ...errors,\n phone: validatePhone(value).message\n });\n break;\n default:\n break;\n }\n };\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n\n const {\n givenName,\n familyName,\n address,\n city,\n state,\n zip,\n phone\n } = formData;\n\n const givenNameValidationResult = validateGivenName(givenName);\n const familyNameValidationResult = validateFamilyName(familyName);\n const addressValidationResult = validateAddress(address);\n const cityValidationResult = validateCity(city);\n const stateValidationResult = validateState(state);\n const zipValidationResult = validateZip(zip);\n const phoneValidationResult = validatePhone(phone);\n\n setErrors({\n givenName: givenNameValidationResult.message,\n familyName: familyNameValidationResult.message,\n address: addressValidationResult.message,\n city: cityValidationResult.message,\n state: stateValidationResult.message,\n zip: zipValidationResult.message,\n phone: phoneValidationResult.message\n });\n\n const isValid =\n givenNameValidationResult.valid &&\n familyNameValidationResult.valid &&\n addressValidationResult.valid &&\n cityValidationResult.valid &&\n stateValidationResult.valid &&\n zipValidationResult.valid &&\n phoneValidationResult.valid;\n\n setValidated(isValid);\n\n if (isValid) {\n setLoader(true);\n let dataset = { ...formData, customerid: customerid };\n dataset.address =dataset.address?.slice(0,50)\n try {\n let updatedata = await billingDetailsUpdate\n .mutateAsync(dataset)\n \n\n\n if (updatedata.data.isPaymentLinkEnable?.message == \"Success\") {\n \n \n window.location.replace(Route_URLs.dashboard_customer);\n }\n\n setLoader(false);\n setEdit(false);\n } catch (e) {\n\n\n }\n\n } else {\n setEdit(true);\n\n }\n };\n\n const validateGivenName = (name) => {\n return {\n valid: name.trim().length > 0,\n message: name.trim().length > 0 ? '' : 'Given name is required'\n };\n };\n\n const validateFamilyName = (name) => {\n return {\n valid: name.trim().length > 0,\n message: name.trim().length > 0 ? '' : 'Family name is required'\n };\n };\n\n const validateAddress = (address) => {\n const trimmedAddress = address.trim();\n \n if (trimmedAddress.length === 0) {\n return {\n valid: false,\n message: \"Address is required\",\n };\n } else if (trimmedAddress.length > 50) {\n return {\n valid: false,\n message: `Address must be less than ${50} characters`,\n };\n }\n\n return {\n valid: true,\n message: \"\",\n }\n };\n const validateCity = (city) => {\n return {\n valid: city.trim().length > 0,\n message: city.trim().length > 0 ? '' : 'City is required'\n };\n };\n\n const validateState = (state) => {\n return {\n valid: state.trim().length > 0,\n message: state.trim().length > 0 ? '' : 'State is required'\n };\n };\n\n const validateZip = (zip) => {\n if (!zip) {\n return {\n valid: false,\n message: 'Zip code is required'\n };\n } else {\n return {\n valid: true,\n message: ''\n };\n }\n\n\n };\n\n const validatePhone = (phone) => {\n if (!phone) {\n return {\n valid: false,\n message: 'Phone is required'\n };\n }\n const regex = /^[0-9]{10}$/;\n return {\n valid: regex.test(phone),\n message: regex.test(phone) ? '' : 'Invalid phone number'\n };\n };\n\n\n\n return (\n
    \n
    \n

    Billing Address

    \n \n\n \n \n \n \n {errors.givenName && {errors.givenName}}\n \n \n\n \n \n \n {errors.familyName && {errors.familyName}}\n \n \n \n\n \n \n \n \n {errors.city && {errors.city}}\n \n \n\n \n \n \n {errors.address && {errors.address}}\n \n \n \n\n \n \n \n \n {errors.phone && {errors.phone}}\n \n \n\n \n \n \n {errors.zip && {errors.zip}}\n \n \n \n\n \n \n \n \n \n {state.data.map((stateObj) => (\n \n ))}\n \n {errors.state && {errors.state}}\n \n \n \n\n \n \n
    \n
    \n );\n}\n\nexport default BillingAddress;\n\n","import React, { useState } from \"react\";\nimport styled from \"styled-components\";\nimport { OverlayTrigger, Row, Col } from \"react-bootstrap\";\nimport { ArrowDownIcon } from \"assets/icons.js\";\nimport { ClearButton, Label, Popover, StyledButton } from \"filters/Style\";\nimport Button from \"react-bootstrap/Button\";\nimport ButtonGroup from \"react-bootstrap/ButtonGroup\";\nimport DateRangePickerUI from \"ui/DateRangePicker\";\n\nconst StyleButtonGroup = styled(ButtonGroup)`\n padding: 0;\n width: 53%;\n //height: 25px;\n`;\nconst StyleButton = styled(Button)`\n padding: 0;\n height: 25px;\n border: 1px solid #707070;\n opacity: 1;\n background-color: #232631;\n border-radius: 0;\n &:hover {\n background-color: black !important;\n border: 0;\n }\n`;\n\nconst ButtonLabel = styled.div`\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 10px;\n line-height: 13px;\n -webkit-letter-spacing: 0px;\n -moz-letter-spacing: 0px;\n -ms-letter-spacing: 0px;\n letter-spacing: 0px;\n color: #ffffff69;\n opacity: 1;\n padding-left: 10px;\n`;\nexport default function TransactionFilter({ handleFilterData }) {\n const [invoiceno, setInvoiceno] = useState(\"\");\n const [type, setType] = useState(\"\");\n\n const [greaterno, setGreaterno] = useState(\"\");\n const [lessno, setLessno] = useState(\"\");\n const [value, setValue] = useState(\"\");\n const [startDate, setStartDate] = useState(null);\n const [endDate, setEndDate] = useState(null);\n const [focusedInputDue, setFocusedInputDue] = useState(null);\n const [transactionStatus, setTransactionStatus] = useState(\"\");\n\n const handleResetFilter = () => {\n setInvoiceno(\"\");\n setType(\"\");\n setGreaterno(\"\");\n setLessno(\"\");\n setValue(\"\");\n setStartDate(null);\n setEndDate(null);\n setTransactionStatus(\"\")\n const FilterData = {\n invoiceNumber: \"\",\n transactionId: \"\",\n maxAmount: \"\",\n minAmount: \"\",\n TransactionDate: \"\",\n Type: \"\",\n TransactionStatus: \"\"\n };\n handleFilterData(FilterData);\n };\n\n\n const searchInvoice = (val) => {\n setInvoiceno(val)\n const FilterData = { invoiceNumber: val, pageNumber: 0 };\n handleFilterData(FilterData);\n };\n const searchType = (val) => {\n setType(val)\n const FilterData = { Type: val, pageNumber: 0 };\n handleFilterData(FilterData);\n }\n\n const searchTransactionStatus = (val) => {\n setTransactionStatus(val)\n const FilterData = { TransactionStatus: val, pageNumber: 0 };\n handleFilterData(FilterData);\n };\n\n\n const searchBygreaterthan = (val) => {\n setGreaterno(val)\n const FilterData = { minAmount: val, pageNumber: 0 };\n handleFilterData(FilterData);\n };\n\n\n const searchByLessthan = (val) => {\n setLessno(val)\n const FilterData = { maxAmount: val, pageNumber: 0 };\n handleFilterData(FilterData);\n };\n\n const handleDue = (startDate, endDate) => {\n if (startDate && endDate === \"Invalid Date\") {\n handleFilterData({ TransactionDate: \"\" });\n } else {\n handleFilterData({ TransactionDate: [startDate, endDate] });\n }\n };\n\n\n\n const popover = (\n \n \n \n \n \n \n searchInvoice(e.target.value)}\n type=\"text\"\n placeholder=\"Invoice No.\"\n maxLength=\"20\"\n />\n \n \n \n \n \n searchType(e.target.value)}\n type=\"text\"\n placeholder=\"Type\"\n maxLength=\"20\"\n />\n \n \n \n \n \n searchTransactionStatus(e.target.value)}\n type=\"text\"\n placeholder=\"status\"\n maxLength=\"20\"\n />\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n \n\n \n \n\n \n \n\n \n \n searchBygreaterthan(e.target.value)}\n maxLength=\"10\"\n />\n \n \n \n {\" \"}\n OR{\" \"}\n \n \n \n searchByLessthan(e.target.value)}\n maxLength=\"10\"\n />\n \n \n \n Clear\n \n \n \n );\n return (\n <>\n \n \n Filter\n \n \n \n \n );\n}\n","export default __webpack_public_path__ + \"static/media/download.b178ae95.gif\";","import CustomerSidebar from 'layouts/customer-ui/customerSidebar';\nimport React from 'react'\nimport styled from \"styled-components\";\nimport { Container, Row, Col, Spinner } from \"react-bootstrap\";\nimport CustomerNavbar from 'layouts/customer-ui/CustomerNavbar';\n\nimport { useState } from 'react';\nimport Table from 'ui/table';\nimport useDebounce from 'hooks/useDebounce';\nimport { DownloadPdf, EnablePaymentLink, GetAllTransaction } from 'queries/customers';\nimport Tooltip from \"ui/Tooltip\";\nimport moment from \"moment\";\nimport NumberFormat from \"react-number-format\";\nimport { ImportIcon, Greentick, IconExpandArrow, ExportIcon, ReceivablesIcon } from \"assets/icons.js\";\nimport {\n Counter, TableSection,\n} from 'screens/actuals/Styles';\nimport jwt_decode from \"jwt-decode\";\nimport { useEffect } from 'react';\n\nimport TransactionFilter from './TransactionFilter';\nimport { filter } from 'lodash';\nimport ReactTooltip from 'react-tooltip';\nimport downloadPdf from \"assets/download.gif\"\nimport { pdf } from '@react-pdf/renderer';\nimport PaymentReceipt from 'utils/pdftemplates/paymentReceipt';\nimport customersServices from \"services/customers.services\";\n\nconst PageStyles = styled.div``;\n\nconst StyledLoaderCustom = styled.div`\n .spinner-border{\n font-weight: 500;\n width: 1.5rem;\n height: 1.5rem;\n display: block;\n margin-left: auto;\n margin-right: auto;\n margin-top: auto;\n margin-bottom: auto;\n z-index: 50000;\n }\n`;\nconst StyledTable = styled.div`\n table {\n th:nth-child(2) {\n text-align: center;\n padding-left: 0px;\n }\n th:first-child {\n padding-bottom: 8px;\n }\n th {\n padding-bottom: 13px;\n }\n /* th:first-child{\n text-align: left;\n padding-right:0px;\n }\n td:first-child{\n text-align: left;\n padding-right:0px;\n } */\n td:nth-child(2) {\n text-align: center;\n padding-left: 0px;\n }\n tr {\n &:hover {\n input {\n border: 1px solid #ffffff !important;\n }\n }\n }\n input {\n background: transparent;\n border: 0;\n color: #b5b5b5;\n text-align: center;\n width: 79px;\n }\n /* DatePicker{ */\n /* input{\n background: transparent;\n border:0;\n color:#B5B5B5;\n } */\n /* } */\n }\n`;\n\nconst PageContainer = styled.div`\n padding: 0;\n width: 100%;\n display: flex;\n flex-direction: row;\n .scroll-div {\n position: sticky;\n top: 0;\n z-index: 100;\n width: 100%;\n height: auto;\n background-color: #232631;\n }\n`;\nconst ContentContainer = styled(Container)`\n/* overflow: auto; */\nmax-width: 100%;\nflex: 1;\n`;\n\n\n\nconst StickyDiv = styled.div`\n position: relative;\n`;\n\nconst SidebarContainer = styled.div`\n position: relative;\n height: 100%;\n /* width: auto;\n overflow: auto; */\n display: block;\n /* border: 5px solid green; */\n z-index: 50000;\n`;\nconst FilterSection = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n .icon-div {\n width: 51px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n display: inline-block;\n margin-left: 10px;\n padding: 5px;\n svg {\n margin-left: 10px;\n path {\n fill: #33c2df;\n }\n }\n }\n`;\n\nexport default function Transactions({ param }) {\n\n const [radioFilter, setRadioFilter] = useState(\"1\");\n const [paramval, setparamval] = useState({});\n const [initialPage, setinitialPage] = useState(0);\n const [transactionId, setTransactionId] = useState(\"\")\n let tokenData = sessionStorage.getItem(\"userToken\");\n let decodedData = jwt_decode(tokenData);\n let id = sessionStorage.getItem(\"username\");\n const pay = EnablePaymentLink(id);\n const rowClick = (e, row, editId) => {\n return null;\n };\n\n const [filterData, setFilterData] = useState({\n limit: \"\",\n searchString: \"\",\n deliveryDueDate: \"\",\n minAmount: \"\",\n maxAmount: \"\",\n bucket: \"\",\n pageNumber: 0,\n order: \"desc\",\n columnName: \"TransactionTimeStamp\",\n customerId: decodedData.username,\n invoiceNumber: \"\",\n Type: \"\"\n\n });\n const user = {\n firstName: \"Richard\",\n lastName: \"\",\n };\n const handlePageChange = (page) => {\n filterData.pageNumber = page;\n setFilterData({ ...filterData, ...filterData });\n setinitialPage(page);\n };\n\n\n\n useEffect(() => {\n setFilterData({ ...filterData, card: param?.card });\n }, [JSON.stringify(param)]);\n\n const updateFilters = (updatedFilterData) => {\n\n\n if (updatedFilterData.searchString == \"\") {\n\n handlePageChange(0);\n }\n if (filterData.searchString == \"\" && updatedFilterData.searchString != \"\") {\n handlePageChange(0);\n }\n let newFilterState = { ...filterData, ...updatedFilterData };\n setFilterData(newFilterState);\n };\n const onHeaderClick = (column) => {\n filterData.columnName = column.id;\n filterData.order = filterData.order === \"desc\" ? \"asc\" : \"desc\";\n let updatedFilter = { ...filterData, ...filterData };\n\n setFilterData(updatedFilter);\n };\n\n\n const debouncedfilterData = useDebounce(filterData, 1000);\n const { data: transactionData, isLoading: isloading, refetch: refetchData } =\n GetAllTransaction(debouncedfilterData);\n useEffect(() => {\n refetchData()\n }, [refetchData])\n\n\n\n\n\n\n let transactiondata = transactionData\n ? transactionData.data.transactions\n : [];\n\n\n useEffect(() => {\n\n }, [transactionData, isloading])\n const totalcount = transactionData ? transactionData?.data?.totalRecords : \"\";\n const business = [\n {\n name: \"Industry\",\n fullyQualifiedName:\n \"Business1:Business 2:Business 3:Business 4:Business 5\",\n },\n ];\n\n const handlePaymentReceiptDownload = async (transactionId, CustomerId) => {\n const res = await customersServices.GetCustomerPdfreceiptData(transactionId);\n \n const doc = ;\n\n \n const asPdf = pdf(); \n asPdf.updateContainer(doc); \n\n \n const blobdata = await asPdf.toBlob();\n console.log('blog: ', blobdata);\n \n\n const url = URL.createObjectURL(blobdata);\n const link = document.createElement(\"a\");\n link.href = url;\n link.download = `Transaction_${transactionId}.pdf`; \n link.click();\n \n URL.revokeObjectURL(url);\n \n };\n\n // const handleDownload = async (transactionId, CustomerId) => {\n\n\n // const url = await customersServices.downloadPdf(transactionId, CustomerId);\n\n\n // const link = document.createElement(\"a\");\n // link.href = url;\n // link.target = \"_blank\";\n // document.body.appendChild(link);\n\n // link.click();\n\n // document.body.removeChild(link);\n\n\n // };\n\n useEffect(()=>{\n\n },[pay])\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Transaction Id\",\n accessor: \"transactionId\",\n id: \"transactionId\",\n width: 150,\n minWidth: 130,\n Cell: (props) => (\n <>\n <>\n
    \n {\n \n handlePaymentReceiptDownload(props.row.original.transactionId, props.row.original.CustomerId);\n \n }}\n >\n {props.row.original.TransactionStatus === \"APPROVED\" ||\n props.row.original.TransactionStatus === \"PENDING\" ||\n props.row.original.TransactionStatus === \"SUCCESS\" ||\n props.row.original.TransactionStatus === \"UPDATE\" ? \n (\n <>\n \n \n \n \n ) : (\n \"\"\n )}\n \n {props.row.original.transactionId}\n
    \n \n \n ),\n },\n {\n Header: \"Invoice Id / Reference No.\",\n accessor: (d) => {\n console.log(\"value--->\", d);\n return d; // Return the data object for proper rendering\n },\n id: \"invoiceArray\",\n width: 100,\n minWidth: 80,\n Cell: ({ value }) => {\n // Check if invoiceArray is present and has items\n if (value?.invoiceArray && value?.invoiceArray?.length > 0) {\n return (\n
    \n {value.invoiceArray.map((id, index) => (\n
    {id}
    \n ))}\n
    \n );\n } else {\n // If invoiceArray is not present, show referenceNumber\n return
    {value?.referenceNumber}
    ;\n }\n },\n disableSortBy: true,\n },\n {\n Header: \"Payment Method\",\n accessor: \"Type\",\n id: \"Type\",\n width: 110,\n minWidth: 80,\n },\n\n {\n Header: \"Date\",\n accessor: \"TransactionTimeStamp\", \n id: \"TransactionTimeStamp\",\n width: 100,\n minWidth: 80,\n accessor: (d) => {\n return moment(d.TransactionTimeStamp).format(\"MM/DD/YYYY\")\n },\n },\n {\n Header: \"Amount\",\n id: \"totalOriginalAmount\",\n width: 150,\n minWidth: 100,\n \n Cell:(props)=>{\n // transactiondata.map((value)=>{\n let invoiceAmount = 0\n if(props?.row?.original?.partialPay ){\n props?.row?.original?.partialPaymentDetails.map((amount)=>invoiceAmount+=amount.originalAmount )\n // props?.row?.original?.[\"totalOriginalAmount\"] = invoiceAmount\n }\n // })\n \n let amount = props?.row?.original?.invoiceAmount ?props?.row?.original?.partialPay?invoiceAmount: props.row.original.invoiceAmount : props.row.original.TotalAmount\n return (\n
    \n \n \n \n
    \n );\n \n }\n },\n {\n Header: \"Amount Paid\",\n id: \"TotalAmount\",\n width: 150,\n minWidth: 100,\n \n Cell:(props)=>{\n \n let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return (\n
    \n \n \n \n
    \n );\n \n }\n },\n {\n Header: \"Processing Fees\",\n accessor: \"surcharge\",\n id: \"surcharge\",\n width: 100,\n minWidth: 80,\n disableSortBy: true,\n Cell:(props)=>{\n // let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return(\n \n )\n }\n },\n {\n Header: \"Charged\",\n accessor: \"invoiceAmount\",\n id: \"invoiceAmount\",\n width: 100,\n minWidth: 80,\n disableSortBy: true,\n Cell:(props)=>{\n // let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return(\n \n )\n }\n },\n\n {\n Header: \"Status\",\n accessor: \"TransactionStatus\",\n id: \"TransactionStatus\",\n width: 100,\n minWidth: 80,\n\n },\n\n\n\n ]);\n\n return (\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 {transactiondata?.length >= 0 && }\n\n \n \n \n
    \n
    \n
    \n )\n}\n\n","import React from \"react\";\nimport { useEffect } from \"react\";\nimport moment from \"moment\";\n\nimport { BasicButton } from \"ui/Buttons\";\nimport customersServices from \"services/customers.services\";\nimport { useState } from \"react\";\nimport Spinner from \"react-bootstrap/Spinner\";\nimport { useHistory } from \"react-router-dom\";\nimport { Route_URLs } from \"routesURLs\";\nimport { GeneratePaymentPageReceipt } from \"mutations/updateCustomers\";\nimport NumberFormat from \"react-number-format\";\nimport PaymentReceipt from \"utils/pdftemplates/paymentReceipt\";\nimport { pdf } from \"@react-pdf/renderer\";\nimport styled from \"styled-components\";\nimport successImg from '../../assets/images/Paymen_Success_Icon.png'\nimport processingImg from '../../assets/images/Processing_Icon.png'\nimport simpliLogo from '../../assets/SimpliCapital-logo.png'\n\nconst SuccessPage = styled.div`\n display: flex;\n text-align: center;\n align-items: center;\n min-height: 100vh;\n justify-content: center;\n margin: 20px;`\n \n\nconst SuccessPageContainer = styled.div`\nbackground:rgb(31, 31, 33);\n padding: 60px 30px;\n border-radius: 10px;\n `\nconst PaymentSections = styled.div`\n \n background: #303440;\n padding: 20px;\n border-radius: 8px;\n margin-bottom:20px\n `\n\nconst DiscoverySections = styled.div`\nmargin-top: 20px\n`\nconst TextSections = styled.p`\ncolor: #DEEAF3;\nfont-weight:600;\nmargin-bottom: 20px;\nfont-size: 14px\n`\nconst LogoSections = styled.div`\nmargin-bottom:20px`\n\nconst SuccessPaymentPage = () => {\n const transactionId = sessionStorage.getItem(\"transactionId\");\n const email = sessionStorage.getItem(\"email\");\n const name = sessionStorage.getItem(\"name\");\n const amount = sessionStorage.getItem(\"amount\");\n let timestamp = sessionStorage.getItem(\"timestamp\");\n const status = sessionStorage.getItem(\"status\");\n const transactionType = sessionStorage.getItem(\"transactionType\");\n const customerId = sessionStorage.getItem(\"customerId\");\n const tenant = sessionStorage.getItem('tenant')\n const [loading, setLoading] = useState(true);\n let type;\n timestamp = parseInt(timestamp);\n const history = useHistory();\n\n\n let dataSet = {\n transactionId: transactionId,\n tenant: tenant\n }\n const receptData = GeneratePaymentPageReceipt(dataSet)\n useEffect(()=>{\n \n },[receptData])\n if (transactionType == \"ach\") {\n type = \"ACH\";\n } else if (transactionType == \"Credit\") {\n type = \"Credit Card\";\n } else if (transactionType == \"Debit\") {\n type = \"Debit Card\";\n } else if (transactionType == \"classic_ach\") {\n type = \"Classic ACH\";\n }\n const handleDownload = async () => {\n // const url = await customersServices.downloadPdf(transactionId, customerId);\n\n // console.log('transaction data ', res);\n const doc = ;\n\n // const link = document.createElement(\"a\");\n\n // Generate a blob from the PDF document\n const asPdf = pdf(); // Initialize the pdf() generator\n asPdf.updateContainer(doc); // Load the document into the pdf container\n\n // Convert the document to a blob\n const blobdata = await asPdf.toBlob();\n // link.href = url;\n const url = URL.createObjectURL(blobdata);\n const link = document.createElement(\"a\");\n link.href = url;\n link.download = `Transaction_${receptData.data.transactionId}.pdf`; // Specify the filename for the downloaded file\n link.click();\n // Clean up the URL object\n URL.revokeObjectURL(url);\n };\n // useEffect(() => {\n // setTimeout(() => {\n // setLoading(false);\n // }, 5000);\n // }, []);\n\n useEffect(() => {\n return () => {\n if (history.action === \"POP\") {\n history.replace(Route_URLs.signin);\n }\n };\n }, [history]);\n let sanitizedAmount = receptData?.data?.baseAmount ? receptData?.data?.baseAmount : receptData?.data?.amount\n console.log(\"typeof\", typeof sanitizedAmount)\n sanitizedAmount = /^(\\d{1,3})(,\\d{3})*(\\.\\d+)?$/?.test(sanitizedAmount) && typeof sanitizedAmount !== \"number\" ? sanitizedAmount?.replace(/,/g, \"\") : sanitizedAmount\n return (\n \n {receptData?.isLoading ? \n <>\n \n :\n \n \n \n \n {status === \"APPROVED\" ? (\n \n \n
    \n
    \n \"\"\n
    \n \n Payment Success!\n \n
    \n ) : (\n \n
    \n
    \n \"\"\n
    \n \n Processing!\n \n
    \n \n // \n \n \n // \n \n \n )}\n \n \n \n \n \n \n \n {receptData?.data?.pm}\n \n \n \n \n \n {receptData?.data?.transactionId}\n \n \n \n \n \n {receptData?.data?.paidOn}\n \n \n {receptData?.data?.partialPaid ? \n \n \n :\"\"}\n \n { receptData?.data?.surcharge === true || receptData?.data?.partialPaid ?\n <>\n \n {receptData?.data?.partialPaid ? :\n }\n \n \n \n \n \n \n {receptData?.data?.surchargeAmount &&\n \n \n \n \n }\n \n \n \n \n \n \n \n \n \n \n :\n \n \n \n ${receptData?.data?.amount}\n \n }\n \n \n
    \n Payment Method\n
    \n TransactionId\n
    \n Transaction Date\n
    \n Balance Due\n \n \n \n
    \n Amount Paid\n \n Amount\n
    \n Processing Fees ({receptData?.data?.surcharge_rate}%) \n
    \n Total \n
    \n Total \n
    \n \n Generate Receipt\n \n {\n transactionType === \"ach\" ? (\n \n *Transactions done through Plaid will be processed within 2 business days.\n \n ) : transactionType === \"classic_ach\" ? (\n \n \n *Transactions will be processed within 7 business days.\n \n ) : \"\"\n }\n \n \n

    \n Copyright ©{new Date().getFullYear()} SimpliCapital. All rights Reserved{\" \"}\n

    \n \n
    \n
    \n \n \n \"simplicapital-logo\"\n \n \n Liked your payment experience?
    \n To learn how SimpliCapital can streamline
    \n payments for your customers, click below:\n
    \n \n \n \n Book a Discovery Call\n \n \n \n
    \n
    }\n \n
    \n );\n};\n\nexport default SuccessPaymentPage;\n","import React from 'react'\nimport { useEffect } from 'react'\nimport { Route_URLs } from 'routesURLs'\nimport Spinner from 'react-bootstrap/Spinner';\nimport { useHistory } from \"react-router-dom\";\n\nconst PaymentProcessing = () => {\n let history = useHistory();\n useEffect(() => {\n\n let transaction = sessionStorage.getItem('transactionId')\n if (transaction) {\n\n \n history.push(Route_URLs.successPaymentPage)\n \n\n } else {\n\n history.push(Route_URLs.transactions_customer)\n }\n\n\n }, [])\n return (\n
    \n Please wait while we process your payment \n \n \n
    \n )\n}\n\nexport default PaymentProcessing","import React from \"react\";\nimport { useEffect } from \"react\";\nimport { Spinner } from \"react-bootstrap\";\nimport { BasicButton } from \"ui/Buttons\";\n\nconst RedirectPage = () => {\n useEffect(() => {\n setTimeout(() => {\n window.close();\n }, 1000);\n }, []);\n return (\n
    \n \n
    \n \n Redirecting \n \n \n \n
    \n
    \n \n );\n};\n\nexport default RedirectPage;\n","import { Route_URLs } from \"routesURLs\";\nimport CollapsedLogo from \"assets/logo.png\";\nimport styled from \"styled-components\";\nimport achBankTransfer from \"../../../assets/images/ach_img.png\";\nimport credit from \"../../../assets/images/creditCrad.png\";\nimport debit from \"../../../assets/images/debitCard.png\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport moment from \"moment\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport jwtDecode from \"jwt-decode\";\nimport {\n Button, Col, Form, Row, Spinner, ModalFooter,\n} from \"react-bootstrap\";\nimport state from \"assets/state.json\"\nimport { useHistory } from \"react-router-dom\";\nimport { GetCustomerInvoiceData } from \"queries/customers\";\nimport Modal from \"react-bootstrap/Modal\";\nimport { BasicButton } from \"ui/Buttons\";\nimport Logo from \"assets/SimpliCapital-logo.png\";\nimport { StyledModal } from \"ui/Modal\";\nimport { CardTokenPaymentPage, GenerateCheckSum, GenerateSessionToken, GetCustomerInvoice, SaveCardTokenPaymentPage, SaveTransactionPayment } from \"mutations/updateCustomers\";\nimport {verify} from \"jsonwebtoken\"\nimport NumberFormat from \"react-number-format\";\nimport { EditIcon } from \"assets/icons\";\nimport { useRef } from \"react\";\nimport { EventLogs, GetIpInfo } from \"utils/EventLog\";\nimport { v4 as uuidv4 } from 'uuid';\n// import { jwtVerify } from \"jose\";\n\n\n\nconst StyledCollapsedLogo = styled.div`\n img {\n width: auto;\n }\n`;\nconst BackStyledButton = styled.button`\n background: transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%);\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n`;\n\nconst eventLogs = async (event) => {\n\n let logData = {\n eventType: \"customer-email-pay-link\",\n eventId: event.id,\n tenant: event.tenant,\n events: event?.events,\n customerEmail: event.email\n }\n await EventLogs(logData)\n}\n\nexport default function PaymentPage() {\n const [payment, setPayment] = useState(\"\");\n const [currency, setCurrency] = useState(\"USD\");\n const [userTokenId, setUserTokenId] = useState(\"\");\n const [customer, setCustomer] = useState(null);\n const [edit, setEdit] = useState(false);\n const [isPaid, setIsPaid] = useState(false)\n const [closeWindow, setCloseWindow] = useState(false)\n const [classicAch, setClassicAch] = useState(false)\n const [showModal, setShowModal] = useState(true);\n const [success, setSuccess] = useState(false)\n const [paymentPermission, setPaymentPermission] = useState(\"\")\n const [customerEmail,setCustomerEmail] = useState(\"\")\n\n const [editingRow, setEditingRow] = useState(null); \n const [editedAmount, setEditedAmount] = useState(\"\");\n const [actualAmt,setActualAmt] = useState(0)\n const [loaderForPaymentChange,setLoaderForPaymentChange] = useState(false)\n const [changes,setChanges]=useState()\n const debounceTimeout = useRef(null);\n\n\n const getInvoiceDetails= GetCustomerInvoice()\n const saveTransaction= SaveTransactionPayment()\n const {\n data: cardTokenPaymentPage,\n isLoading: isloading,\n refetch: refetchData,\n } = CardTokenPaymentPage({tenant:customer?.tenant})\n const saveCardToken = SaveCardTokenPaymentPage()\n const generateSessionToken = GenerateSessionToken()\n const generateCheckSum = GenerateCheckSum()\n\n const location = useLocation();\n const searchParams = new URLSearchParams(location.search);\n let history = useHistory();\n let token = searchParams.get(\"token\")\n let invoiceId = searchParams.get(\"invoiceId\")\n let dataSet = {\n token,\n invoiceId\n }\n\n\n\n\n useEffect(() => {\n const script = document.createElement('script');\n script.src = process.env.REACT_APP_NUVEI_CHECKOUT_JS; // Replace with your script URL\n script.async = true;\n\n document.body.appendChild(script);\n\n return () => {\n document.body.removeChild(script); // Cleanup on unmount\n };\n }, []);\n\n useEffect(() => {\n // Early exit if the elements are already hidden\n // if (isHidden) {\n // return;\n // }\n \n const checkAndHideLineContainers = () => {\n const elements = document.getElementsByClassName('line-container');\n const elementUpm = document.getElementsByClassName('upm-list')\n if (elements.length > 0) {\n Array.from(elements).forEach((element) => {\n if(payment === 'credit_card' && customer?.creditToken && elementUpm.length > 0){\n \n element.style.display = 'block'\n }else if(payment === 'card' && customer?.debitToken && elementUpm.length > 0){\n element.style.display = 'block'\n }\n else{\n \n element.style.display = 'none'\n } \n });\n \n \n \n }\n };\n \n \n const observer = new MutationObserver((mutationsList) => {\n mutationsList.forEach((mutation) => {\n \n if (mutation.type === 'childList') {\n checkAndHideLineContainers();\n }\n });\n });\n \n \n observer.observe(document.body, {\n childList: true, \n subtree: true, \n });\n \n \n checkAndHideLineContainers();\n \n \n const intervalId = setInterval(checkAndHideLineContainers, 500); \n return () => {\n observer.disconnect();\n clearInterval(intervalId);\n };\n }, [changes]);\n\n \n useEffect(async () => {\n\n \n\n let customerAndInvoiceData = await getInvoiceDetails.mutateAsync(dataSet)\n\n if (customerAndInvoiceData?.response) {\n if (!customerAndInvoiceData?.response?.isPaid) {\n \n let decrypt = verify(customerAndInvoiceData?.response,process.env.REACT_APP_DPI_TOKEN) \n decrypt[\"originalAmount\"] = decrypt.amount\n setCustomerEmail(decrypt.email)\n setCustomer(decrypt)\n setPaymentPermission(decrypt.paymentOption)\n\n if (!sessionStorage.getItem('ipInfo')) {\n GetIpInfo()\n }\n if (!sessionStorage.getItem(\"logId\")) {\n\n let uid = uuidv4();\n sessionStorage.setItem('logId', uid)\n\n }\n await eventLogs({ id: \"SC13\", tenant: decrypt.tenant, email: decrypt.email })\n } else {\n setIsPaid(customerAndInvoiceData?.response?.isPaid)\n }\n\n }\n\n\n\n }, [])\n \n\n let amount\n let newAmount\n let surchargeRate = 0\n if (customer?.amount) {\n amount = customer?.amount\n if(customer.surcharge){\n surchargeRate = customer.surcharge_rate\n }\n var Surcharge = amount * (surchargeRate / 100);\n Surcharge = Surcharge.toFixed(2);\n\n var updatedAmount = parseFloat(amount) + parseFloat(Surcharge);\n // var updatedAmount =parseFloat(amount)\n\n newAmount = amount\n\n }\n\n // useEffect(() => {\n // if (amount > 5000 && paymentPermission?.includes('classic_ach')) {\n // setClassicAch(true)\n // setPayment(\"classic_ach\")\n // } else {\n // if(paymentPermission?.includes('ach')){\n // setClassicAch(false)\n // setPayment(\"ach\")\n // }\n \n // }\n\n // }, [amount,customer])\n \n\n\n\n\n const handleClose = () => setShowModal(false);\n\n const handleClassicAch = () => {\n\n setPayment(\"classic_ach\")\n setShowModal(false)\n setClassicAch(true)\n }\n\n const handleEdit = () => {\n const hasErrors = Object.values(errors).some(error => error !== '');\n\n if (edit) {\n if (hasErrors) {\n setEdit(true);\n\n } else {\n setEdit(false);\n }\n } else\n setEdit(true)\n }\n\n const [formData, setFormData] = useState({\n givenName: \"\",\n familyName: \"\",\n email: \"\",\n phone: \"\",\n address: \"\",\n city: \"\",\n zip: \"\",\n state: \"\",\n });\n\n const [billingAddr, setBillingAddr] = useState({\n givenName: \"\",\n familyName: \"\",\n email: \"\",\n phone: \"\",\n address: \"\",\n city: \"\",\n zip: \"\",\n state: \"\",\n });\n\n let isMissingData\n\n useEffect(() => {\n if (customer) {\n \n setBillingAddr({\n givenName: customer.givenName || \"\",\n familyName: customer.familyName || \"\",\n email: customer.email || \"\",\n phone: customer.phoneNumber || \"\",\n address: customer.address || \"\",\n city: customer.city || \"\",\n state: customer.state || \"\",\n zip: customer.zip || \"\",\n });\n\n setFormData({\n givenName: customer.givenName || \"\",\n familyName: customer.familyName || \"\",\n email: customer.email || \"\",\n phone: customer.phoneNumber || \"\",\n address: customer.address || \"\",\n city: customer.city || \"\",\n state: customer.state || \"\",\n zip: customer.zip || \"\",\n });\n \n const initialErrors = {\n email: validateEmail(customer.email || \"\").message,\n givenName: validateGivenName(customer.givenName || \"\").message,\n familyName: validateFamilyName(customer.familyName || \"\").message,\n address: validateAddress(customer.address || \"\").message,\n city: validateCity(customer.city || \"\").message,\n state: validateState(customer.state || \"\").message,\n zip: validateZip(customer.zip || \"\").message,\n phone: validatePhone(customer.phoneNumber || \"\").message\n };\n\n // setErrors(initialErrors);\n \n \n isMissingData = Object.values(initialErrors).some(error => error !== \"\");\n \n\n\n if (isMissingData) {\n setEdit(true);\n }\n }\n\n\n\n }, [customer]);\n\n\n\n\n\n\n\n const [validated, setValidated] = useState(false);\n\n const [zipError, setZipError] = useState('');\n \n const [errors, setErrors] = useState({\n email: '',\n givenName: '',\n familyName: '',\n address: '',\n city: '',\n state: '',\n zip: '',\n phone: ''\n });\n\n\n\n\n\n const handleChange = (e) => {\n const { id, value } = e.target;\n\n\n\n setBillingAddr({\n ...billingAddr,\n [id]: value\n });\n\n\n\n // Perform validation for the field\n switch (id) {\n case 'email':\n setErrors({\n ...errors,\n email: validateEmail(value).message\n });\n break;\n case 'givenName':\n setErrors({\n ...errors,\n givenName: validateGivenName(value).message\n });\n break;\n case 'familyName':\n setErrors({\n ...errors,\n familyName: validateFamilyName(value).message\n });\n break;\n case 'address':\n setErrors({\n ...errors,\n address: validateAddress(value).message\n });\n break;\n case 'city':\n setErrors({\n ...errors,\n city: validateCity(value).message\n });\n break;\n case 'state':\n setErrors({\n ...errors,\n state: validateState(value).message\n });\n break;\n case 'zip':\n setErrors({\n ...errors,\n zip: validateZip(value).message\n });\n break;\n case 'phone':\n setErrors({\n ...errors,\n phone: validatePhone(value).message\n });\n break;\n default:\n break;\n }\n };\n\n const handleSubmit = (e) => {\n e.preventDefault();\n\n // Validate all fields before submission\n const {\n email,\n givenName,\n familyName,\n address,\n city,\n state,\n zip,\n phone\n } = billingAddr;\n\n const emailValidationResult = validateEmail(email);\n const givenNameValidationResult = validateGivenName(givenName);\n const familyNameValidationResult = validateFamilyName(familyName);\n const addressValidationResult = validateAddress(address);\n const cityValidationResult = validateCity(city);\n const stateValidationResult = validateState(state);\n const zipValidationResult = validateZip(zip);\n const phoneValidationResult = validatePhone(phone);\n\n setErrors({\n email: emailValidationResult.message,\n givenName: givenNameValidationResult.message,\n familyName: familyNameValidationResult.message,\n address: addressValidationResult.message,\n city: cityValidationResult.message,\n state: stateValidationResult.message,\n zip: zipValidationResult.message,\n phone: phoneValidationResult.message\n });\n\n // Check overall form validity\n const isValid =\n emailValidationResult.valid &&\n givenNameValidationResult.valid &&\n familyNameValidationResult.valid &&\n addressValidationResult.valid &&\n cityValidationResult.valid &&\n stateValidationResult.valid &&\n zipValidationResult.valid &&\n phoneValidationResult.valid;\n\n setValidated(isValid);\n\n\n\n if (isValid) {\n setFormData({\n givenName: givenName,\n familyName: familyName,\n address: address,\n city: city,\n email: email,\n state: state,\n zip: zip,\n phone: phone\n\n })\n // handleNuvei()\n let dataSet = {...customer,givenName: givenName,\n\n familyName: familyName,\n\n address: address,\n\n city: city,\n\n email: email,\n\n state: state,\n\n zip: zip,\n\n phoneNumber: phone}\n\n setCustomer(dataSet)\n\n setEdit(false)\n\n } else {\n setEdit(true)\n\n\n }\n };\n\n\n // Validation functions (example implementations)\n const validateEmail = (email) => {\n\n if (!email) {\n return {\n valid: false,\n message: 'Email is required'\n };\n }\n\n const regex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return {\n valid: regex.test(email),\n message: regex.test(email) ? '' : 'Invalid email address'\n };\n };\n\n const validateGivenName = (name) => {\n return {\n valid: name.trim().length > 0,\n message: name.trim().length > 0 ? '' : 'Given name is required'\n };\n };\n\n const validateFamilyName = (name) => {\n return {\n valid: name.trim().length > 0,\n message: name.trim().length > 0 ? '' : 'Family name is required'\n };\n };\n\n const validateAddress = (address) => {\n const trimmedAddress = address.trim();\n \n if (trimmedAddress.length === 0) {\n return {\n valid: false,\n message: \"Address is required\",\n };\n }\n else if (trimmedAddress.length > 50) {\n return {\n valid: false,\n message: `Address must be less than ${50} characters`,\n };\n }\n \n return {\n valid: true,\n message: \"\",\n };\n };\n \n\n const validateCity = (city) => {\n return {\n valid: city.trim().length > 0,\n message: city.trim().length > 0 ? '' : 'City is required'\n };\n };\n\n const validateState = (state) => {\n return {\n valid: state.trim().length > 0,\n message: state.trim().length > 0 ? '' : 'State is required'\n };\n };\n\n const validateZip = (zip) => {\n if (!zip) {\n return {\n valid: false,\n message: 'Zip code is required'\n };\n }\n\n const regex = /^\\d*-?\\d*$/;\n return {\n valid: regex.test(zip),\n message: regex.test(zip) ? '' : 'Invalid ZIP code'\n };\n };\n\n const validatePhone = (phone) => {\n\n if (!phone) {\n return {\n valid: false,\n message: 'Phone is required'\n };\n }\n const regex = /^[0-9]{10}$/;\n return {\n valid: regex.test(phone),\n message: regex.test(phone) ? '' : 'Invalid phone number'\n };\n };\n\n useEffect(() => {\n\n if(paymentPermission){\n if (paymentPermission?.includes('classic_ach') && !paymentPermission?.includes('ach')) {\n setPayment(\"classic_ach\");\n setClassicAch(true)\n } else if (paymentPermission?.includes('ach')) {\n setPayment(\"ach\")\n }else if(!paymentPermission?.includes('classic_ach') && !paymentPermission?.includes('ach')){\n setPayment(\"credit_card\")\n }\n if (amount > 5000 && paymentPermission?.includes('classic_ach')) {\n setClassicAch(true)\n setPayment(\"classic_ach\")\n } else {\n if(paymentPermission?.includes('ach')){\n setClassicAch(false)\n setPayment(\"ach\")\n }\n \n }\n }\n \n \n }, [paymentPermission,amount])\n\n\n\n\n\n\n // --------------------nuvei implementation-----------\n function getCurrentDateTime() {\n let now = new Date();\n let year = now.getFullYear();\n let month = padZero(now.getMonth() + 1);\n let day = padZero(now.getDate());\n let hours = padZero(now.getHours());\n let minutes = padZero(now.getMinutes());\n let seconds = padZero(now.getSeconds());\n\n return `${year}${month}${day}${hours}${minutes}${seconds}`;\n }\n\n function padZero(number) {\n return number < 10 ? \"0\" + number : number;\n }\n let partialAmountTotal = customer?.amount\n useEffect(()=>{\n clearTimeout(debounceTimeout.current);\n debounceTimeout.current = setTimeout(() => {\n setChanges(`${payment}-${formData}-${amount}-${edit}`);\n }, 200);\n },[payment,formData,amount,edit])\n useEffect(() => {\n \n setTimeout(() => {\n \n handleNuvei()\n }, 100);\n }, [changes])\n // useEffect(() => {\n\n // // handleNuvei()\n // setTimeout(() => {\n // if(payment)\n // handleNuvei()\n // }, 500);\n // }, [payment, formData])\n\n const handleEditClick = (index, currentAmount) => {\n setEditingRow(index); // Set the current row as editable\n setEditedAmount(currentAmount); // Set the initial value of the amount in input\n };\n const [errorMessage,setErrorMessage] = useState(\"\")\n\n\n const handleSaveClick = (index) => {\n \n // Validation: Check if the editedAmount is valid\n if (isNaN(editedAmount) || parseFloat(editedAmount) <= 0) {\n setErrorMessage(\"Please enter a valid amount greater than 0\");\n return; // Stop execution if validation fails\n }\n // console.log(\"index---->\",invoiceDetails[index].orginalAmount ,editedAmount)\n if (parseFloat(editedAmount) > customer.orginalAmount) {\n setErrorMessage(\"Amount should be equal to or less than the balance due.\");\n return; // Stop execution if validation fails\n }\n \n // Clear error message if the validation passes\n setErrorMessage(\"\");\n \n // Update the amount for the specific invoice\n const updatedInvoiceDetails = editedAmount !== \"\"\n ? { ...customer, amount: editedAmount }\n : customer\n \n \n // Update the invoice details state\n setCustomer(updatedInvoiceDetails);\n \n // Clear the editing state\n setEditingRow(null);\n };\n \n\n const handleNuvei = async (event) => {\n if (customer != null) {\n event?.preventDefault();\n const clientRequestId = Date.now().toString();\n const timeStamp = getCurrentDateTime();\n let upo \n let decryptToken = verify(cardTokenPaymentPage?.token,process.env.REACT_APP_DPI_TOKEN) \n if(customer?.creditToken && payment === \"credit_card\"){\n upo = customer?.creditToken\n }else if (!customer?.creditToken && payment === \"credit_card\") {\n upo = decryptToken\n }else if(customer?.debitToken && payment === \"card\"){\n upo = customer?.debitToken\n }else if(!customer?.debitToken && payment === \"card\"){\n upo = decryptToken}\n try {\n \n if (!edit) {\n\n setLoaderForPaymentChange(true)\n \n\n const checksumResponse = await generateCheckSum.mutateAsync({\n clientRequestId,\n amount:\n payment === \"credit_card\"\n ? (parseFloat(amount) + parseFloat(Surcharge)).toFixed(2)\n : parseFloat(amount).toFixed(2),\n currency,\n timeStamp,\n email: customer.email,\n tenant: customer.tenant\n })\n \n const { checksum } = checksumResponse;\n \n\n\n\n const sessionTokenResponse = await generateSessionToken.mutateAsync({\n clientRequestId,\n amount:\n payment === \"credit_card\"\n ? (parseFloat(amount) + parseFloat(Surcharge)).toFixed(2)\n : parseFloat(amount).toFixed(2),\n currency,\n timeStamp,\n checksum,\n email: customer.email,\n tenant: customer.tenant,\n upo\n })\n\n\n const { sessionToken } = sessionTokenResponse;\n\n let cardType;\n var billingDetails;\n if (payment === \"credit_card\") {\n cardType = \"Credit\";\n } else if (payment === \"card\") {\n cardType = \"Debit\";\n } else if (payment === \"ach\") {\n cardType = \"ach\";\n } else if (payment === \"classic_ach\") {\n cardType = \"classic_ach\";\n }\n if (formData) {\n if (payment === \"ach\") {\n billingDetails = {\n firstName: formData?.givenName,\n lastName: formData?.familyName,\n\n email: formData.email,\n phone: formData.phone,\n address: formData.address?.slice(0,50),\n city: formData.city,\n zip: formData.zip,\n state: formData.state,\n country: \"US\",\n };\n } else {\n\n billingDetails = {\n firstName: formData.givenName,\n lastName: formData.familyName,\n email: formData.email,\n phone: formData.phone,\n address: formData.address?.slice(0,50),\n city: formData.city,\n zip: formData.zip,\n state: formData.state,\n country: \"US\",\n };\n }\n }\n\n async function getInvoiceStatus(result) {\n \n\n \n let customerAndInvoiceData = await getInvoiceDetails.mutateAsync(dataSet)\n if (customerAndInvoiceData?.response) {\n return new Promise((resolve, reject) => {\n if (customerAndInvoiceData?.response?.isPaid) {\n\n reject(\"Invoice is already paid\")\n } else {\n\n\n resolve()\n }\n })\n\n\n }\n }\n\n async function transactionStatus(result) {\n let partialPay = false\n let dataSet = {\n InvoiceArray: customer.invoiceId,\n Type: cardType,\n TransactionTimeStamp: moment().valueOf(),\n TotalAmount: payment === \"credit_card\"\n ? parseFloat(amount) + parseFloat(Surcharge)\n : amount,\n transactionDetails: [result],\n transactionId: result?.transactionId,\n email: customerEmail,\n billingAddress: billingDetails,\n token:token,\n invoiceAmount: amount,\n\n };\n if(customer.originalAmount !== customer.amount){\n \n partialPay = true\n dataSet[\"partialPay\"]= true\n }\n if(partialPay == true){\n let dateSet = {\n invoiceNumber: customer.invoiceId,\n originalAmount: customer.originalAmount,\n paidAmount: parseFloat(customer.amount)\n }\n if(customer.orginalAmount !== customer.amount){\n dateSet[\"partialPaid\"]= true\n }\n dataSet[\"partialPaymentDetails\"] = [dateSet]\n }\n if(customer.surcharge && payment === \"credit_card\"){\n dataSet[\"surcharge\"] = Surcharge\n dataSet[\"surcharge_rate\"] = customer.surcharge_rate\n }\n if(result.userPaymentOptionId !== \"\"&& cardType=== \"Credit\" && result.result === \"APPROVED\" && !customer?.creditToken){\n \n await saveCardToken.mutateAsync({customer_id: customer.customerId,creditToken: upo,tenant:customer.tenant,accessToken:cardTokenPaymentPage.token})\n \n }\n if(result.userPaymentOptionId !== \"\"&& cardType=== \"Debit\" && result.result === \"APPROVED\" && !customer?.debitToken){\n \n await saveCardToken.mutateAsync({customer_id: customer.customerId,debitToken: upo,tenant:customer.tenant,accessToken:cardTokenPaymentPage.token})\n \n }\n \n\n await saveTransaction.mutateAsync(dataSet)\n \n return new Promise(async (resolve, reject) => {\n \n \n if (result.result === \"APPROVED\" || result.result === \"PENDING\") {\n\n sessionStorage.setItem(\"transactionId\", result?.transactionId)\n sessionStorage.setItem(\"email\", billingDetails.email)\n sessionStorage.setItem(\"name\", billingDetails.firstName + \" \" + billingDetails.lastName)\n sessionStorage.setItem(\"amount\", dataSet.TotalAmount)\n\n sessionStorage.setItem('status', result.result)\n sessionStorage.setItem('timestamp', moment().valueOf())\n sessionStorage.setItem('transactionType', cardType)\n sessionStorage.setItem('customerId', customer.customerId)\n history.push(Route_URLs.paymentProcessing);\n sessionStorage.setItem('tenant',customer.tenant)\n\n const eventData = {\n // eventName: \"Payment-successfull\",\n id: \"SC15\",\n email: customerEmail,\n tenant: customer.tenant,\n events: {\n transactionInfo: {\n transacionId: result?.transactionId,\n ...billingDetails\n },\n\n }\n\n }\n await eventLogs(eventData)\n } else {\n const eventData = {\n \n id: \"SC16\",\n email: customerEmail,\n tenant: customer.tenant,\n events: {\n transactionInfo: {\n ...result,\n ...billingDetails\n },\n\n }\n }\n await eventLogs(eventData)\n }\n\n resolve();\n });\n\n\n }\n setLoaderForPaymentChange(false)\n\n if (billingDetails) {\n await window.checkout({\n env: process.env.REACT_APP_NUVEI_STAGE,\n merchantId: customer.merchantId,\n merchantSiteId: customer.merchantSiteId,\n clientRequestId,\n timeStamp,\n checksum,\n currency,\n amount: \n payment === \"credit_card\"\n ? parseFloat(amount) + parseFloat(Surcharge)\n : amount,\n\n sessionToken,\n userTokenId,\n cssUrl: \"styles.css\",\n showResponseMessage: true,\n\n renderTo: \"#nuveiCheckout\",\n country: \"US\",\n transactionType: \"SALE\",\n pmWhitelist: [\n payment === \"card\" || payment === \"credit_card\"\n ? \"cc_card\"\n : payment === \"ach\"\n ? \"apmgw_Secure_Bank_Transfer\"\n : payment === \"classic_ach\" ? \"apmgw_ACH\" : \"\"\n ],\n savePM: payment === \"ach\"|| payment === \"classic_ach\" ?false: true,\n\n billingAddress: billingDetails,\n urlDetails: {\n successUrl:\n `${process.env.REACT_APP_SIMPLI_WEB_URL}customer/successPage`,\n pendingUrl:\n `${process.env.REACT_APP_SIMPLI_WEB_URL}customer/successPage`,\n },\n apmWindowType: \"popup\",\n prePayment: async (paymentDetails) => {\n\n await getInvoiceStatus()\n return new Promise(async (resolve, reject) => {\n if (paymentDetails?.paymentOption?.card) {\n if (paymentDetails.paymentOption.card.cardType === cardType || (paymentDetails.paymentOption.card.brand === \"AMEX\" && cardType !== \"Debit\")) {\n resolve();\n } else {\n reject(`Please enter ${cardType} card details only.`);\n }\n } else {\n resolve();\n }\n });\n },\n onResult: async (res) => {\n\n if (res.result === \"APPROVED\" || res.result === \"PENDING\") {\n setSuccess(true)\n\n }\n if (res.transactionStatus == \"DECLINED\") {\n setTimeout(() => {\n let diclinedMsg = \"system error\";\n if (res.errorDescription) {\n diclinedMsg = res.errorDescription;\n }\n if (res.gwErrorReason) {\n diclinedMsg = res.gwErrorReason;\n }\n\n if (document.getElementsByClassName(\"sfc-dialog-message\")) {\n \n\n document.querySelector(\".sfc-dialog-message\").innerText =\n document.querySelector(\".sfc-dialog-message\").innerText +\n \" Because of \" +\n diclinedMsg;\n }\n }, 100);\n }\n if(res.error!='no payment options to display'){\n\n await transactionStatus(res);\n }\n },\n\n onPaymentEvent: async (paymentDetails) => {\n\n if (paymentDetails.eventType === \"paymentStarted\") {\n await eventLogs({\n id: \"SC14\", email: customerEmail, tenant: customer.tenant\n })\n\n }\n if (paymentDetails.eventType === \"redirectionEnded\"&& paymentPermission.includes(\"classic_ach\")) {\n setTimeout(() => {\n setCloseWindow(true)\n }, 1000)\n\n\n\n }\n },\n preventACHNewWindow: true,\n\n\n });\n }\n }\n\n } catch (error) {\n\n }\n }\n };\n\n return (\n\n <>\n {closeWindow && !success ?\n \n \n\n
    \n Didn't find your bank?
    \n Let's enter your bank details manually.\n
    \n \n \n OK\n \n \n \n\n
    : \"\"}\n
    \n {customer !== null && paymentPermission.length > 0\n // && expire == false\n ? \n \n
    \n \n \n Selected Invoices\n \n
    \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n
    #Invoice Number Balance DueAmount to Pay
    1{customer.invoiceId}\n \n \n {editingRow === 1 ? (\n <>\n \n setEditedAmount(e.target.value)}\n style={{ width: \"80px\" }}\n // onBlur={() => handleSaveClick(index)}\n // onChange={(e) => handleSaveClick(index)}\n autoFocus\n disabled ={loaderForPaymentChange}\n />\n handleSaveClick(1)}>✓\n
    {setEditingRow(null); setEditedAmount('')}}>❌
    \n\n
    \n \n {errorMessage &&

    {errorMessage}

    }\n \n ) : (\n \n \n\n \n handleEditClick(1, customer.amount)\n \n }\n />\n \n \n )}\n
    \n\n
    \n\n
    Total
    \n {/*
    */}\n
    \n \n
    \n \n \n \"SimpliCapital\"\n\n \n \n
    \n
    \n \n Secure Payment\n \n \n Choose Your Preferred Payment method\n \n
    \n
    \n
    \n \n\n\n {(paymentPermission?.includes('ach') || paymentPermission?.includes('classic_ach') ) && (\n
    \n {\n classicAch ? setPayment(\"classic_ach\") :\n setPayment(\"ach\");\n }}\n className={\n payment === \"ach\" || payment === \"classic_ach\" ? \"active_Bankcards\" : \"Bankcards\"\n }\n >\n \n \n {classicAch ? \n ACH\n

    \n : \n Bank Transfer\n\n

    }\n\n
    \n )}\n {paymentPermission?.includes('credit_card') ? (\n
    \n {\n setPayment(\"credit_card\");\n }}\n className={\n payment === \"credit_card\"\n ? \"active_Bankcards\"\n : \"Bankcards\"\n }\n >\n \"creditCard\"\n \n \n Credit\n

    \n
    \n ) : \"\"}\n {paymentPermission?.includes('debit_card') ? (\n
    \n {\n setPayment(\"card\");\n }}\n className={\n payment === \"card\" ? \"active_Bankcards\" : \"Bankcards\"\n }\n >\n \"debitCard\"\n \n \n Debit\n

    \n
    \n ) : \"\"}\n\n\n\n
    \n\n { loaderForPaymentChange &&
    \n \n
    }\n
    \n \n © {new Date().getFullYear()} SimpliCapital ®.All Rights Reserved\n

    \n \n \n\n \n {(edit === false) ?
    \n\n\n \n Payment Amount\n \n\n \n \n \n \n \n \n\n {payment === \"credit_card\" && customer?.surcharge ? (\n \n \n Processing Fees ({surchargeRate}%) :\n \n \n \n ) : (\n \n )}\n \n \n Total\n \n\n {payment === \"credit_card\" ? (\n \n ) : (\n \n )}\n \n
    \n Invoice Amount :\n
    \n $\n {updatedAmount\n .toFixed(2)\n .toString()\n .replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}\n
    \n
    \n : \"\"}\n\n
    \n
    \n

    Billing Address

    \n \n \n \n \n
    \n {\n (edit === false) ?
    \n\n\n

    \n\n {billingAddr.address}{billingAddr.city} {billingAddr.address || billingAddr.city ? \",\" : \"\"} {billingAddr.state} {billingAddr.state ? \",\" : \"\"} {billingAddr.zip}\n\n

    \n\n
    \n :\n
    \n \n \n \n \n FirstName\n\n \n\n {errors.givenName && {errors.givenName}}\n\n \n \n\n \n \n \n \n LastName\n\n \n\n {errors.familyName && {errors.familyName}}\n\n \n \n \n\n \n \n \n Email\n\n \n\n {errors.email && {errors.email}}\n\n \n \n\n \n \n \n \n Phone\n\n \n\n {errors.phone && {errors.phone}}\n\n \n \n \n\n \n \n \n Address\n\n \n\n {errors.address && {errors.address}}\n\n \n \n\n \n \n \n \n City\n\n \n\n {errors.city && {errors.city}}\n\n \n \n \n\n \n \n \n Zip\n\n 0}\n\n />\n\n {errors.zip && {errors.zip}}\n\n \n \n\n \n \n \n \n State\n\n \n \n\n {state.data.map((stateObj) => (\n \n ))}\n \n\n {errors.state && {errors.state}}\n\n \n \n \n\n \n\n\n\n \n
    \n\n }\n\n\n\n
    \n {(customer.surcharge && !edit) &&

    \n We add a {surchargeRate}% Processing Fee on all credit card payments. There is no Processing Fee for ACH or debit card payments.\n

    }\n\n \n \n : isPaid ?\n\n
    \n \"simplicapital\"\n \n \n This Invoice Is Already Paid.\n\n \n
    \n // : expire == true? \n // This token has expired. Please return to your email and click the 'Pay Now' button again to proceed.\n // \n : }\n\n\n\n \n\n {/* setBeforeExpire(false)}\n centered\n style={{}}\n >\n \n
    \n \n
    \n \n
    \n

    \n Session Expire Alert!\n
    \n This token will expire soon. Please close this tab, return to your email, and click the 'Pay Now' button again to proceed.\n

    \n
    \n {\n setBeforeExpire(false);\n \n }}\n >\n {\" \"}\n OK\n \n
    \n
    \n
    \n
    \n */}\n \n\n\n\n )\n}","import React from \"react\";\nimport styled from \"styled-components\";\nimport { Row, Col, Dropdown } from \"react-bootstrap\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { useState } from \"react\";\nimport Table from \"ui/table\";\nimport useDebounce from \"hooks/useDebounce\";\n\nimport moment from \"moment\";\nimport NumberFormat from \"react-number-format\";\nimport { ExportIcon, ReceivablesIcon } from \"assets/icons.js\";\nimport jwt_decode from \"jwt-decode\";\nimport { useEffect } from \"react\";\nimport ReactTooltip from \"react-tooltip\";\nimport downloadPdf from \"assets/download.gif\";\nimport { UseTransactionList } from \"queries/actuals\";\nimport PrivateLayout from \"layouts/organization-ui/PrivateLayout\";\nimport Page from \"ui/Page\";\n\n// import { StyledDropDown, TableSection } from \"./Styles\";\nimport customersServices from \"services/customers.services\";\nimport { FilterSection, StyledDropDown, TableSection } from \"../Styles\";\nimport actualServices from \"services/actual.services\";\nimport TransactionFilter from \"screens/customer/TransactionFilter\";\nimport Tooltip from \"ui/Tooltip\";\nimport PaymentReceipt from \"utils/pdftemplates/paymentReceipt\";\nimport { useGeneralSettings } from \"queries/generalSettings\";\nimport { pdf } from \"@react-pdf/renderer\";\n\nconst StyledTable = styled.div`\n table {\n tr {\n &:hover {\n input {\n border: 1px solid #ffffff !important;\n }\n }\n }\n input {\n background: transparent;\n border: 0;\n color: #b5b5b5;\n text-align: center;\n width: 79px;\n }\n }\n`;\n\nexport default function ReceivableTransactions() {\n const pay = useGeneralSettings();\n const [initialPage, setinitialPage] = useState(0);\n\n let tokenData = sessionStorage.getItem(\"userToken\");\n let decodedData = jwt_decode(tokenData);\n\n const rowClick = (e, row, editId) => {\n return null;\n };\n\n const [filterData, setFilterData] = useState({\n limit: \"\",\n searchString: \"\",\n deliveryDueDate: \"\",\n minAmount: \"\",\n maxAmount: \"\",\n bucket: \"\",\n pageNumber: 0,\n order: \"desc\",\n columnName: \"TransactionTimeStamp\",\n customerId: decodedData.username,\n invoiceNumber: \"\",\n Type: \"\",\n });\n const user = {\n firstName: \"\",\n lastName: \"\",\n };\n const handlePageChange = (page) => {\n filterData.pageNumber = page;\n setFilterData({ ...filterData, ...filterData });\n setinitialPage(page);\n };\n\n const updateFilters = (updatedFilterData) => {\n if (updatedFilterData.searchString == \"\") {\n handlePageChange(0);\n }\n if (filterData.searchString == \"\" && updatedFilterData.searchString != \"\") {\n handlePageChange(0);\n }\n let newFilterState = { ...filterData, ...updatedFilterData };\n setFilterData(newFilterState);\n };\n const onHeaderClick = (column) => {\n filterData.columnName = column.id;\n filterData.order = filterData.order === \"desc\" ? \"asc\" : \"desc\";\n let updatedFilter = { ...filterData, ...filterData };\n\n setFilterData(updatedFilter);\n };\n\n const debouncedfilterData = useDebounce(filterData, 1000);\n const {\n data: transactionData,\n isLoading: isloading,\n refetch: refetchData,\n } = UseTransactionList(debouncedfilterData);\n useEffect(() => {\n\n\n transactiondata.map((value)=>{\n let invoiceAmount = 0\n if(value?.partialPay ){\n value.partialPaymentDetails.map((amount)=>invoiceAmount+=amount.originalAmount )\n value[\"totalOriginalAmount\"] = invoiceAmount\n }\n })\n }, [transactionData, isloading]);\n\n let transactiondata = transactionData\n ? transactionData.data.transactions\n : [];\n\n useEffect(() => {}, [transactionData, isloading]);\n const totalcount = transactionData ? transactionData?.data?.totalRecords : \"\";\n\n const handleDownload = async (transactionId) => {\n const url = await actualServices.exportInvoice(transactionId);\n\n const link = document.createElement(\"a\");\n link.href = url;\n link.target = \"_blank\";\n document.body.appendChild(link);\n\n link.click();\n\n document.body.removeChild(link);\n };\n\n const handlePaymentReceiptDownload = async (transactionId) => {\n const res = await actualServices.GetTenantPdfreceiptData(transactionId);\n // console.log('transaction data ', res);\n const doc = ;\n\n // Generate a blob from the PDF document\n const asPdf = pdf(); // Initialize the pdf() generator\n asPdf.updateContainer(doc); // Load the document into the pdf container\n\n // Convert the document to a blob\n const blobdata = await asPdf.toBlob();\n console.log('blog: ', blobdata);\n \n // Trigger the file download using file-saver\n // const blob = new Blob(byteArrays, { type: \"application/pdf\" });\n const url = URL.createObjectURL(blobdata);\n const link = document.createElement(\"a\");\n link.href = url;\n link.download = `Transaction_${transactionId}.pdf`; // Specify the filename for the downloaded file\n link.click();\n // Clean up the URL object\n URL.revokeObjectURL(url);\n // document.body.removeChild(link);\n };\n // const [time, setTime] = useState(Date.now());\n\n // useEffect(() => {\n // const interval = setInterval(() => setTime(Date.now()), 1000);\n // return () => {\n // clearInterval(interval);\n // };\n // }, []);\n // function isWithin30Seconds(time) {\n // const inputTime = moment(time);\n\n // const now = moment();\n\n // const durationInSeconds = now.diff(inputTime, \"seconds\");\n\n // return Math.abs(durationInSeconds) <= 30;\n // }\n\n const columns = React.useMemo(\n () => [\n {\n Header: \"Transaction Id\",\n accessor: \"transactionId\",\n id: \"transactionId\",\n width: 150,\n minWidth: 130,\n Cell: (props) => (\n <>\n <>\n
    \n {\n handlePaymentReceiptDownload(\n props.row.original.transactionId,\n );\n }}\n >\n {props.row.original.TransactionStatus === \"APPROVED\" ||\n props.row.original.TransactionStatus === \"PENDING\" ||\n props.row.original.TransactionStatus === \"SUCCESS\" ||\n props.row.original.TransactionStatus === \"UPDATE\" ? (\n <>\n \n \n \n \n ) : (\n \"\"\n )}\n \n {props.row.original.transactionId}\n
    \n \n \n ),\n },\n {\n Header: \"Invoice No. / Reference No.\",\n accessor: (d) => {\n return d;\n },\n id: \"invoiceArray\",\n width: 100,\n minWidth: 80,\n Cell: ({ value }) => {\n if (value?.invoiceArray && value?.invoiceArray?.length > 0) {\n return (\n
    \n {value.invoiceArray.map((id, index) => (\n
    {id}
    \n ))}\n
    \n );\n } else {\n return
    {value?.referenceNumber}
    ;\n }\n },\n disableSortBy: true,\n },\n {\n Header: \"Payment Method\",\n accessor: \"Type\",\n id: \"Type\",\n width: 110,\n minWidth: 80,\n },\n\n {\n Header: \"Date\",\n accessor: \"TransactionTimeStamp\",\n id: \"TransactionTimeStamp\",\n width: 100,\n minWidth: 80,\n accessor: (d) => {\n return moment(d.TransactionTimeStamp).format(\"MM/DD/YYYY\");\n },\n },\n {\n Header: \"Amount\",\n id: \"totalOriginalAmount\",\n width: 150,\n minWidth: 100,\n disableSortBy: true,\n\n\n Cell:(props)=>{\n\n let amount = props?.row?.original?.invoiceAmount ?props?.row?.original?.partialPay?props?.row?.original?.totalOriginalAmount: props.row.original.invoiceAmount : props.row.original.TotalAmount\n return (\n
    \n \n \n\n
    \n );\n \n }\n },\n {\n Header: \"Amount Paid\",\n id: \"TotalAmount\",\n width: 150,\n minWidth: 100,\n Cell:(props)=>{\n \n let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return (\n
    \n \n \n \n
    \n );\n \n }\n },\n {\n Header: \"Processing Fees\",\n accessor: \"surcharge\",\n id: \"surcharge\",\n width: 100,\n minWidth: 80,\n disableSortBy: true,\n Cell:(props)=>{\n // let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return(\n \n )\n }\n },\n {\n Header: \"Charged\",\n accessor: \"invoiceAmount\",\n id: \"invoiceAmount\",\n disableSortBy: true,\n width: 100,\n minWidth: 80,\n Cell:(props)=>{\n // let amount = props?.row?.original?.invoiceAmount ? props.row.original.invoiceAmount : props.row.original.TotalAmount\n return(\n \n )\n }\n },\n\n {\n Header: \"Status\",\n accessor: \"TransactionStatus\",\n id: \"TransactionStatus\",\n width: 100,\n minWidth: 80,\n },\n ],\n [pay]\n );\n\n return (\n <>\n \n \n \n \n \n \n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n \n Receivables\n \n \n }\n allowedRoles={[\n \"admin\",\n \"simplipay\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n \n Payables\n \n \n }\n allowedRoles={[\n \"admin\",\n \"simplicollect\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n \n Collections\n \n \n\n }\n allowedRoles={[\n \"admin\",\n \"simplipay\",\n \"SimpliCollect&Simplipay\",\n \"read-only\",\n ]}\n >\n \n Payments\n \n \n \n \n \n \n \n \n \n \n \n\n {/*
    \n {\n let link = await customersServices.getallcustomersDetails(\n filterData\n );\n window.open(link, \"_blank\");\n }}\n >\n \n \n \n
    */}\n \n
    \n \n \n \n {transactiondata?.length >= 0 && (\n \n )}\n \n \n \n
    \n
    \n
    \n \n );\n}\n","import React, { Suspense, lazy } from \"react\";\nimport {\n BrowserRouter as Router,\n Redirect,\n Switch,\n Route,\n} from \"react-router-dom\";\nimport Loader from \"ui/Loader\";\n// import QuickbooksConnection from \"screens/setup/QuickbooksConnection\";\nimport Connection from \"screens/setup/Connection\";\nimport GeneralSettingsPage from \"screens/setup/GeneralSettings\";\nimport UserManagementPage from \"screens/setup/user-management\";\nimport CashClassificationPage from \"screens/setup/CashClassification\";\nimport CustomerNotificationPage from \"screens/setup/customer-notification/CustomerNotification\";\nimport DisputeManagementPage from \"screens/setup/dispute-management\";\nimport SupplierPaymentPage from \"screens/setup/supplier-payment\";\nimport { Route_URLs } from \"./routesURLs\";\nimport Analytics from \"screens/operations/analytics\";\nimport TenantAnalytics from \"screens/operations/analytics/analytics\";\nimport DigitalPayments from \"screens/setup/digital-payments\";\nimport BillingAddress from \"screens/customer/BillingAddress\";\nimport Transactions from \"screens/customer/Transactions\";\nimport SuccessPaymentPage from \"screens/customer/successPaymentPage\";\nimport PaymentProcessing from \"screens/customer/PaymentProcessing\";\nimport RedirectPage from \"screens/customer/RedirectPage\";\nimport PaymentPage from \"screens/dashboard/customer-dashboard/PaymentPage\";\nimport ReceivableTransactions from \"screens/actuals/popover/ReceivableTransactionPage\";\n\nconst LoginPage = lazy(() => import(\"screens/account/LoginPage\"));\nconst ForgotPasswordPage = lazy(() =>\n import(\"screens/account/ForgotPasswordPage\")\n);\nconst CreateAccountPage = lazy(() =>\n import(\"screens/account/CreateAccountPage\")\n);\nconst AccountVerificationPage = lazy(() =>\n import(\"screens/account/AccountVerificationPage\")\n);\n\nconst SetNewPasswordPage = lazy(() =>\n import(\"screens/account/SetNewPasswordPage\")\n);\nconst SetNewPasswordCustomerPage = lazy(() =>\n import(\"screens/account/SetNewPasswordCustomerPage\")\n);\nconst MfaScreen = lazy(() => import(\"screens/account/MfaScreen\"));\n\nconst EmailInvoiceDownloadPage = lazy(() => import(\"screens/setup/EmailInvoiceDownloadPage\"));\n\nconst DashboardPage = lazy(() => import(\"screens/dashboard/DashboardPage\"));\nconst CustomerDashboardPage = lazy(() =>\n import(\"screens/dashboard/customer-dashboard\")\n);\nconst ConfirmPaymentCustomerDashboardPage = lazy(() =>\n import(\"screens/dashboard/customer-dashboard/ConfirmPaymentPage\")\n);\nconst DashboardCustomisePage = lazy(() =>\n import(\"screens/dashboard/DashboardCustomisePage\")\n);\nconst NetCashPage = lazy(() => import(\"screens/NetCashPage\"));\nconst ForecastReceivablePage = lazy(() =>\n import(\"screens/forecast/ForecastReceivablePage\")\n);\nconst ForecastPayablePage = lazy(() =>\n import(\"screens/forecast/ForecastPayablePage\")\n);\nconst ForecastCollectionPage = lazy(() =>\n import(\"screens/forecast/ForecastCollectionPage\")\n);\nconst ScenarioPage = lazy(() => import(\"screens/scenario/ScenarioPage\"));\nconst OrderInvoicesPage = lazy(() =>\n import(\"screens/orders/OrderInvoicesPage\")\n);\nconst OrderOverviewPage = lazy(() =>\n import(\"screens/orders/OrderOverviewPage\")\n);\nconst ActualsReceivablesPage = lazy(() =>\n import(\"screens/actuals/ActualsReceivablesPage\")\n);\nconst ActualsCollectionsPage = lazy(() =>\n import(\"screens/actuals/ActualsCollectionsPage\")\n);\nconst ActualsPayablesPage = lazy(() =>\n import(\"screens/actuals/ActualsPayablesPage\")\n);\n// const NonTradePayablesPage = lazy(() =>\n// import(\"screens/actuals/NonTradePayablesPage\")\n// );\nconst NonControllablePayablesPage = lazy(() =>\n import(\"screens/actuals/NonControllablePayablesPage\")\n);\nconst NonTradeReceivablePage = lazy(() =>\n import(\"screens/actuals/NonTradeReceivablePage\")\n);\nconst ConfirmPaymentPage = lazy(() =>\n import(\"screens/actuals/ConfirmPaymentPage\")\n);\nconst PaymentsHistoryPage = lazy(() =>\n import(\"screens/actuals/PaymentsHistoryPage\")\n);\n\nconst ProfilePage = lazy(() => import(\"screens/account/ProfilePage\"));\n\nconst CustomersListing = lazy(() =>\n import(\"screens/customer/CustomersListingPage\")\n);\n\nconst SuppliersListing = lazy(() =>\n import(\"screens/supplier/SuppliersListing\")\n);\n\nconst TearSheetPageCustomer = lazy(() =>\n import(\"screens/TearSheetPageCustomer\")\n);\n\nconst TearSheetPageSupplier = lazy(() =>\n import(\"screens/TearSheetPageSupplier\")\n);\nconst CustomerSingUpForm = lazy(() =>\n import(\"screens/account/CustomerSingUpForm\")\n);\n\nconst NotificationsPage = lazy(() => import(\"screens/NotificationsPage\"));\nconst OptimizationPage = lazy(() => import(\"screens/PayablesOptimizationPage\"));\nconst NontradePage = lazy(() => import(\"screens/NonTradeReceivables\"));\n\nconst ClientEmailTemplateCreation = lazy(() =>\n import(\"screens/setup/customer-email-template\")\n);\nconst ClientEmailTemplatesList = lazy(() =>\n import(\"screens/setup/customer-email-template/listEmailTemplates\")\n);\n\n/* operations dashboard */\nconst AdminLogin = lazy(() =>\n import(\"screens/operations/login/AdminUserLoginPage\")\n);\nconst OperationsDashboard = lazy(() => import(\"screens/operations/dashboard\"));\nconst TenantList = lazy(() => import(\"screens/operations/login/tenantList\"));\nconst CustomerList = lazy(() =>\n import(\"screens/operations/login/customerList\")\n);\nconst SessionList = lazy(() => import(\"screens/operations/login/sessionList\"));\n\nconst UserList = lazy(() => import(\"screens/operations/users\"));\nconst DataLoads = lazy(() => import(\"screens/operations/dataLoads\"));\nconst Subscriptions = lazy(() => import(\"screens/operations/subscriptions\"));\nconst FeatureSwitches = lazy(() => import(\"screens/operations/featureSwitch\"));\n\nconst GuestPayment = lazy(() => import(\"screens/customer/GuestPayment\"));\nconst GuestSuccessPaymentPage = lazy(()=> import('screens/customer/GuestPaymentSuceesPage'))\nconst AppRoutes = ({ isAuthenticated, isAdminAuthenticated }) => {\n return (\n \n }>\n \n {/* Public Routes */}\n \n {isAuthenticated ? (\n \n ) : (\n \n )}\n \n \n {isAdminAuthenticated ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {/* Private Routes */}\n \n \n \n \n {isAuthenticated ? : }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* \n \n */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n {/* \n \n */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \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 AppRoutes;\n","import { Helmet } from \"react-helmet\";\nimport \"bootstrap/dist/css/bootstrap.min.css\";\nimport \"App.css\";\nimport { useEffect, useState } from \"react\";\nimport GlobalFonts from \"assets/monserrat-fonts/fonts\";\nimport { UserContext } from \"context/UserContext\";\nimport InsightsContext from \"context/InsightsContext\";\nimport { QuickBookConnectionContext } from \"context/QuickBookConnectionContext\";\nimport { Amplify, Auth } from \"aws-amplify\";\nimport \"@aws-amplify/ui-react/styles.css\";\nimport AppRoutes from \"AppRoutes\";\nimport jwt_decode from \"jwt-decode\";\nimport { UIContext } from \"context/UIContext\";\nimport { useQuery, QueryClientProvider, QueryClient } from \"react-query\";\nimport { getDataFetchStatus, getQBOUri } from \"services/quickbooks.services\";\nimport { getOracleDataFetchStatus } from \"services/ornet.services\";\nimport { ReactQueryDevtools } from \"react-query/devtools\";\nimport { getUserIntegrations } from \"services/user.service\";\nimport { Route_URLs } from \"routesURLs\";\nimport { Modal, StyledModal } from \"ui/Modal\";\nimport styled from \"styled-components\";\nimport moment from \"moment\";\nconst BackStyledButton = styled.button`\n background: transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%);\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n`;\nfunction App() {\n const [user, setUserdata] = useState(null);\n const [userNotConfirmed, setUserNotConfirmed] = useState(null);\n const [HighlightInsightsBulbs, setHighlightInsightsBulbs] = useState();\n const [AccordionOpenState, setAccordionOpenState] = useState();\n const [onBoarding, setOnBoarding] = useState(false);\n const queryClient = new QueryClient();\n\n //hide status bar for demo\n const [quickbookImportInProgress, setQuickbookImportInProgress] =\n useState(false);\n\n const [alerts, setAlerts] = useState(\"\");\n\n const SetBulbs = (value) => {\n setHighlightInsightsBulbs(value);\n };\n const SetAccordion = (value) => {\n setAccordionOpenState(value);\n };\n\n const setUser = (data) => {\n setUserdata(data);\n };\n const setUserUnconfirmed = (data) => {\n setUserNotConfirmed(data);\n };\n\n let isAuthenticated = false;\n let isAdminAuthenticated = false;\n\n const authToken = sessionStorage.getItem(\"userToken\");\n const adminAuthToken = sessionStorage.getItem(\"adminToken\");\n\n if (authToken && authToken !== \"\") {\n isAuthenticated = true;\n }\n\n if (user && typeof user != \"undefined\") {\n isAuthenticated = true;\n }\n\n /* for admin login */\n if (adminAuthToken && adminAuthToken !== \"\") {\n isAdminAuthenticated = true;\n }\n\n // if (authToken) {\n // const decodedData = jwt_decode(authToken);\n // console.log(\"decoded : \", JSON.stringify(decodedData));\n // const url = new URL(decodedData.iss);\n // const poolId = url.pathname.substring(1);\n\n // Amplify.configure({\n // aws_cognito_region: \"us-east-1\",\n // aws_user_pools_id: poolId,\n // aws_user_pools_web_client_id: decodedData?.client_id,\n // });\n // }\n\n /* changed while netsuite release */\n useEffect(async () => {\n // call needs to be made only after signing in\n let windowArray = [\n \"/\",\n \"/sign-in\",\n \"/sign-up/create-account\",\n \"/forgot-password\",\n \"/account/verify\",\n \"/account/password-reset\",\n ];\n\n let adminWindowArray = [\"/admin\"];\n\n let startsWithAdmin = adminWindowArray.some((adminString) =>\n window.location.pathname.startsWith(adminString)\n );\n if (!windowArray.includes(window.location.pathname) && !startsWithAdmin && !window.location.pathname.includes(\"pay\") && !window.location.pathname.includes(\"/guest-pay/success-page\")) {\n const connectionResponse = await getUserIntegrations();\n if (\n connectionResponse?.data.name == \"qbo\" ||\n connectionResponse?.data.name == \"qbd\"\n ) {\n let response = await getDataFetchStatus();\n setAlerts(response?.data?.alert);\n if (response.data.status !== \"Completed\") {\n setQuickbookImportInProgress(true);\n } else {\n setQuickbookImportInProgress(false);\n }\n } else if (connectionResponse?.data.name == \"oracle\") {\n let response = await getOracleDataFetchStatus();\n setAlerts(response?.data?.alert);\n if (response.data.status) {\n setQuickbookImportInProgress(false);\n } else {\n setQuickbookImportInProgress(true);\n }\n }\n }\n }, []);\n\n // const { isSuccess, data } = useQuery(\"qb-status\", getDataFetchStatus, {\n // enabled: isAuthenticated,\n // refetchInterval: (data) =>\n // data && data.data.status === \"Completed\" ? false : 2000,\n // });\n\n // useEffect(() => {\n // if (isSuccess && data.data.status !== \"Completed\") {\n // setQuickbookImportInProgress(true);\n // } else {\n // setQuickbookImportInProgress(false);\n // }\n // }, [data, isSuccess]);\n\n const [showPopup, setshowPopup] = useState(false);\n let popupTimeout = 15 * 60 * 1000; // 15 minutes\n let autoLogoutTimeout = 16 * 60 * 1000; // 16 minutes\n // This function will reset the timer whenever there's user activity\n const handleAutoLogout = async () => {\n await Auth.signOut();\n sessionStorage.clear();\n localStorage.clear();\n clearInterval(loggedinstateinterval);\n window.location.pathname = \"/\";\n localStorage.setItem(\"scLastActivityTime\", 0);\n };\n\n let loggedinstateinterval = setInterval(() => {\n let lastActivityTime = localStorage.getItem(\"scLastActivityTime\");\n let currentTime = new Date().getTime();\n let windowArray = [\n \"/\",\n Route_URLs.createaccount,\n Route_URLs.signin,\n Route_URLs.customer_signup,\n Route_URLs.forgotpassword,\n Route_URLs.accountverify,\n Route_URLs.passwordreset,\n ];\n\n let adminWindowArray = [\"/admin\"];\n\n let startsWithAdmin = adminWindowArray.some((adminString) =>\n window.location.pathname.startsWith(adminString)\n );\n\n if (\n !windowArray.includes(window.location.pathname) &&\n !startsWithAdmin &&\n lastActivityTime !== 0 &&\n lastActivityTime !== null &&\n lastActivityTime !== undefined && !window.location.pathname.includes(\"pay\") && !window.location.pathname.includes(\"/guest-pay/success-page\")\n ) {\n let idleTime = currentTime - lastActivityTime;\n if (idleTime >= autoLogoutTimeout) {\n handleAutoLogout();\n } else if (idleTime >= popupTimeout) {\n setshowPopup(true);\n } else {\n }\n }\n }, [30 * 1000]);\n\n const resetTimerOnEvents = () => {\n const events = [\"mousemove\", \"mousedown\", \"keypress\", \"touchstart\"];\n events.forEach((event) => {\n window.addEventListener(event, () => {\n if (\n localStorage.getItem(\"scLastActivityTime\") !== 0 &&\n localStorage.getItem(\"scLastActivityTime\") !== null &&\n localStorage.getItem(\"scLastActivityTime\") !== undefined\n ) {\n let windowArray = [\n \"/\",\n Route_URLs.createaccount,\n Route_URLs.signin,\n Route_URLs.customer_signup,\n Route_URLs.forgotpassword,\n Route_URLs.accountverify,\n Route_URLs.passwordreset,\n ];\n\n let adminWindowArray = [\"/admin\"];\n\n let startsWithAdmin = adminWindowArray.some((adminString) =>\n window.location.pathname.startsWith(adminString)\n );\n\n if (\n !windowArray.includes(window.location.pathname) &&\n !startsWithAdmin && !window.location.pathname.includes(\"pay\")\n && !window.location.pathname.includes(\"/guest-pay/success-page\")\n ) {\n localStorage.setItem(\n \"scLastActivityTime\",\n new Date().getTime().toString()\n );\n }\n }\n });\n });\n };\n\n // This useEffect run and update any event wise last activity time in local storage\n // adding qbo accesstoken fix for automatic redirection\n\n async function isQboAuthNeeded() {\n if (adminAuthToken && adminAuthToken == \"\") {\n try {\n let isQboAuthNeeded = await getQBOUri();\n if (isQboAuthNeeded?.authUri != \"\") {\n window.location.href = isQboAuthNeeded?.authUri;\n }\n } catch (e) {\n console.log(e);\n }\n }\n }\n useEffect(() => {\n resetTimerOnEvents();\n isQboAuthNeeded();\n }, []);\n\n return (\n <>\n {showPopup && (\n setshowPopup(false)}\n centered\n style={{}}\n >\n \n
    \n \n
    \n \n
    \n

    \n Inactive Session Alert!\n
    \n You have been inactive for 15 minutes. You will be\n automatically logged out.\n

    \n
    \n setshowPopup(false)}\n >\n {\" \"}\n I'm back\n \n
    \n
    \n
    \n
    \n \n )}\n \n \n \n \n \n \n \n \n SimpliCapital\n \n \n \n \n \n \n \n \n \n );\n}\nexport default App;\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-app-polyfill/stable\";\nimport \"raf/polyfill\";\nimport \"core-js/es/map\";\nimport \"core-js/es/set\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport reportWebVitals from \"./reportWebVitals\";\nimport { QueryClient, QueryClientProvider } from \"react-query\";\nconst queryClient = new QueryClient();\n\nReactDOM.render(\n \n \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","import { getCustomers, getDisputCustomers } from \"services/customer.services\";\nimport { useQuery } from \"react-query\";\nimport customersServices from \"services/customers.services\";\n\nexport const useCustomers = (page, filterData) => {\n return useQuery(\n [\"customers\", { page, filterData }],\n () => getCustomers(page, filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const DisputCustomers = (page, filterData) => {\n return useQuery(\n [\"customers\", { page, filterData }],\n () => getDisputCustomers(page, filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useCustomersListing = (filterData) => {\n return useQuery(\n [\"customerslisting\", { filterData }],\n () => customersServices.getcustomerListing(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const GetallCustomerName = (filterData) => {\n return useQuery(\n [\"getallCustomerName\", { filterData }],\n () => customersServices.getallCustomerName(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const GetAllTransaction = (filterData, mo = false) => {\n return useQuery(\n [\"customers_transactions\", { filterData }],\n () => customersServices.getcustomerTrans(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const GetCustomerData = (signUpData) => {\n return useQuery(\n [\"signUpData\", { signUpData }],\n () => customersServices.GetCustomerData(signUpData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const EnablePaymentLink = (EnablePaymentLinkData) => {\n return useQuery(\n [\"enablePaymentLink\", { EnablePaymentLinkData }],\n () => customersServices.EnablePaymentLink(EnablePaymentLinkData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const PaymentMethods = (data) => {\n return useQuery(\n [\"paymentMethods\", { data }],\n () => customersServices.paymentMethod(data),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const TransactionStatus = (data) => {\n return useQuery(\n [\"transactionStatus\", { data }],\n () => customersServices.transactionStatusData(data),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const CustomerChildren = (data) => {\n return useQuery(\n [\"childrenData\", { data }],\n () => customersServices.getCustomerChildren(data),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n","import axios from \"utils/APIv2\";\nexport const getCustomers = async (page, filterData) => {\n const params = {\n page: page,\n limit: \"10\",\n customer: filterData.customerName,\n company: filterData.company,\n location: filterData.location,\n sortOrder: filterData.sortOrder,\n sortOn: filterData.sortOn,\n emailTemplateId: filterData.emailTemplateId,\n customerType: filterData.customerType,\n isOpenInvoiceCustomers: filterData.isOpenInvoiceCustomers,\n };\n const res = await axios.get(`/customers/manage-notifications`, {\n params: params,\n });\n return res.data;\n};\n\nexport const getDisputCustomers = async (page, filterData) => {\n let sortOnValue = filterData.sortOn;\n if (filterData.sortOn == \"AssigntoUsers\") {\n sortOnValue = \"dispute_approvers\";\n }\n const params = {\n page: page,\n limit: \"10\",\n customer: filterData.customerName,\n company: filterData.company,\n location: filterData.location,\n sortOrder: filterData.sortOrder,\n sortOn: sortOnValue,\n };\n const res = await axios.get(`/customers/disput-customer`, {\n params: params,\n });\n return res.data;\n};\nexport const updateCustomers = async (customerID, values) => {\n return await axios.put(`/customers/${customerID}`, values);\n};\nexport const uploadInBucket = async (body) => {\n return await axios.post(`/disputefileupload`, body);\n};\nexport const getAllCustomerWithSameTempalteIdBoolean = async (payload) => {\n return await axios.get(\n `/customers/getAllCustomersWithSameEmailTemplateIdBoolean`,\n { params: payload }\n );\n};\nexport const deleteinbucket = async (body) => {\n return await axios.post(`/disputefiledelete`, body);\n};\nexport const updateCustomersBilling = async (data) => {\n return await axios.post(`/customers/update-billing-info`, data);\n};\nexport const getCustomerChildren = async (body) => {\n return await axios.post(`/customers/childrenData`, body);\n};\n","import { useMediaQuery } from \"react-responsive\";\n\nexport const Desktop = ({ children }) => {\n const isDesktop = useMediaQuery({ minWidth: 1025 });\n return isDesktop ? children : null;\n};\nexport const Tablet = ({ children }) => {\n const isTablet = useMediaQuery({ minWidth: 768, maxWidth: 1024 });\n return isTablet ? children : null;\n};\nexport const Mobile = ({ children }) => {\n const isMobile = useMediaQuery({ maxWidth: 767 });\n return isMobile ? children : null;\n};\n","import React, { useEffect, useState, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { Form } from \"react-bootstrap\";\n\nconst StyledCheckbox = styled.div`\n input[type=\"checkbox\"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n width: 18px;\n height: 18px;\n padding: 0px 4px;\n background-repeat: no-repeat;\n background-color: #232631;\n border-radius: 3px;\n border: 1px solid #909090;\n opacity: 1; \n &:checked {\n background-color: #232631;\n border-color: #909090;\n background-repeat: no-repeat;\n }\n }\n\n label {\n color: #ffffff69;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n margin-left: 5px;\n }\n`;\nexport default function BSCheckbox({ label, checked, name,id,type,onChange}) {\n\n return (\n \n
    \n \n \n
    \n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport styled, { css } from \"styled-components\";\nimport { Button, Row, Col } from \"react-bootstrap\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\n// import TimePicker from \"react-time-picker\";\nimport \"rc-time-picker/assets/index.css\";\nimport TimePicker from \"rc-time-picker\";\nimport moment from \"moment\";\nimport ReactTooltip from \"react-tooltip\";\nimport PhoneInput from \"react-phone-number-input\";\nimport \"react-phone-number-input/style.css\";\n\nimport {\n Form as FForm,\n Formik,\n useField,\n Field,\n useFormikContext,\n} from \"formik\";\nimport { CalendarIcon, MemoIosTime } from \"assets/icons\";\n\nexport const Form = styled(FForm)`\n width: 100%;\n text-align: left;\n padding: 0;\n margin: 0;\n\n label {\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n }\n select {\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n color: #909091;\n height: 40px;\n width: 100%;\n padding: 5px;\n &:focus {\n outline: none;\n }\n }\n\n .form-field {\n margin-bottom: 15px;\n }\n\n input:not([type=\"checkbox\"]):not([type=\"radio\"]) {\n width: 100%;\n height: 40px;\n padding: 10px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n /* font: normal normal normal 17px/20px Montserrat Alternates; */\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n font-size: 14px;\n line-height: 20px;\n font-family: Montserrat Alternates;\n letter-spacing: 0px;\n color: #909090;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n }\n\n textarea {\n width: 100%;\n padding: 10px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n /* font: normal normal normal 17px/20px Montserrat Alternates; */\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 10px;\n font-size: 14px;\n line-height: 20px;\n font-family: Montserrat Alternates;\n letter-spacing: 0px;\n color: #909090;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n }\n\n input:disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n\n button:disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n\n /* input[type=\"text\"]:valid {\n background-color: #ffffff;\n color: #909090;\n &:focus{\n background-color:white; \n }\n }\n input[type=\"text\"]:invalid {\n background-color: #3a3b48;\n color: #909090;\n }\n input[type=\"password\"]:valid {\n background-color: #ffffff;\n color: #909090;\n }\n input[type=\"password\"]:invalid {\n background-color: #3a3b48;\n color: #909090;\n }\n input[type=\"email\"]:valid {\n background-color: #ffffff;\n color: #909090;\n }\n input[type=\"email\"]:invalid {\n background-color: #3a3b48;\n color: #909090;\n }\n input[type=\"number\"]:valid {\n background-color: #ffffff;\n color: #909090;\n }\n input[type=\"number\"]:invalid {\n background-color: #3a3b48;\n color: #909090;\n } */\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n input[type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n .error {\n border: 2px solid #ff6565;\n }\n`;\n\nexport const ErrorMessage = styled.span`\n color: #ff7171;\n font-size: 12px;\n margin-top: 10px;\n display: inline-block;\n font-family: Montserrat Alternates-semiBold;\n`;\nexport const ErrorMessageHighThreshold = styled.span`\n color: #ff7171;\n font-size: 12px;\n margin-top: 10px;\n display: inline-block;\n font-family: Montserrat Alternates-semiBold;\n position: absolute;\n bottom: -80%;\n left: 51%;\n width: 46%;\n @media (min-width: 768px) and (max-width: 1024px) {\n bottom: -50%;\n left: 10%;\n }\n`;\nexport const ErrorMessageLowThreshold = styled.span`\n color: #ff7171;\n font-size: 12px;\n margin-top: 10px;\n display: inline-block;\n font-family: Montserrat Alternates-semiBold;\n\n position: absolute;\n bottom: -30%;\n left: 50%;\n width: 46%;\n @media (min-width: 768px) and (max-width: 1024px) {\n bottom: -50%;\n left: 55%;\n }\n`;\nconst InputWrapper = styled.div`\n .date-picker-icon {\n float: left;\n margin-left: 11px;\n margin-top: -25px;\n position: relative;\n z-index: 2;\n }\n`;\n\nexport const Input = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n
    \n \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n
    \n );\n};\nexport const InputwithLabel = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n <>\n
    \n \n {props.infoIcon}\n \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n
    \n \n \n );\n};\nexport const ThresholdInputHigh = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n <>\n \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n \n );\n};\nexport const ThresholdInputLow = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n <>\n \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n \n );\n};\nexport const TextArea = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n <>\n
    \n \n {props.infoIcon}\n \n {meta.error ? (\n {meta.error}\n ) : null}\n
    \n \n \n );\n};\nexport const CustomInput = ({ label, ...props }) => {\n const [field, meta] = useField(props);\n return (\n <>\n \n \n );\n};\nexport const SimpleSelect = ({ ...props }) => {\n const { label, name, options, value, placeholder } = props;\n return (\n
    \n \n\n \n {/* {name === \"sector\" && (\n \n )}\n */}\n \n\n {options.map((option) => {\n return (\n <>\n \n \n );\n })}\n \n
    \n );\n};\n\nexport const DatePickerField = ({ ...props }) => {\n const { setFieldValue } = useFormikContext();\n const [field] = useField(props);\n const CustomInput = React.forwardRef((props, ref) => {\n return (\n \n \n \n \n );\n });\n return (\n
    \n \n }\n placeholder={props.placeholder}\n selected={\n (field.value != null &&\n field.value != \"\" &&\n field.value.length != 0 &&\n new Date(field.value)) ||\n null\n }\n onChange={(val) => {\n setFieldValue(field.name, val);\n }}\n autoComplete=\"off\"\n wrapperClassName=\"styledDatePicker\"\n />\n
    \n );\n};\nexport const StyledTimePicker = styled.div`\n span {\n display: inline;\n }\n input:not([type=\"checkbox\"]):not([type=\"radio\"]) {\n padding-left: 28px;\n }\n .date-picker-icon {\n float: left;\n margin-top: -25px;\n margin-left: 13px;\n position: relative;\n }\n`;\n\nexport const TimePickerField = ({ ...props }) => {\n const { setFieldValue } = useFormikContext();\n const [field, meta] = useField(props);\n\n return (\n
    \n \n {/* {\n // setFieldValue(field.name, val);\n // }}\n // value={field.value}\n /> */}\n \n }\n inputIcon={\n props.icon ? : <>\n }\n onChange={(val) => {\n setFieldValue(field.name, val.format(\"HH:mm\"));\n }}\n defaultValue={props.defaultValue}\n placeholder={props.placeholder}\n />\n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n \n
    \n );\n};\nexport const StyleRadio = styled.div`\n input,\n label {\n cursor: pointer;\n }\n\n fieldset {\n display: inline-flex;\n margin-right: 20px;\n }\n label {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n margin-left: 8px;\n }\n input[type=\"radio\"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n border-radius: 50%;\n width: 16px;\n height: 16px;\n background-color: transparent;\n background-clip: content-box;\n padding: 4px;\n border: 2px solid #ffffff;\n &:checked {\n background-color: white;\n &:after {\n background-color: white;\n }\n }\n }\n`;\nexport const Radio = (props) => {\n const { label, name, options, ...rest } = props;\n const [field, meta] = useField(props);\n return (\n
    \n \n \n {({ field }) => {\n return options.map((option) => {\n return (\n
    \n \n \n
    \n );\n });\n }}\n
    \n
    \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n
    \n );\n};\nexport const StyleRadioBlue = styled.div`\n input,\n label {\n cursor: pointer;\n }\n\n fieldset {\n display: inline-flex;\n margin-right: 20px;\n }\n label {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n margin-left: 8px;\n }\n input[type=\"radio\"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: inline-block;\n border-radius: 50%;\n width: 16px;\n height: 16px;\n background-color: transparent;\n background-clip: content-box;\n padding: 4px;\n border: 2px solid #ffffff;\n &:checked {\n border: 4px solid #4edaf7;\n background-color: white;\n padding: 0px;\n\n &:after {\n background-color: white;\n }\n }\n }\n`;\nexport const RadioBlue = (props) => {\n const { label, name, options, ...rest } = props;\n const [field, meta] = useField(props);\n return (\n
    \n \n \n {({ field }) => {\n return options.map((option) => {\n return (\n
    \n \n \n
    \n );\n });\n }}\n
    \n
    \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n
    \n );\n};\n\nconst StyledCheckbox = styled.div`\n display: flex;\n align-items: center;\n\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #3a3b48;\n border: 1px solid #707070;\n border-radius: 3px;\n display: inline-block;\n width: 14px;\n height: 14px;\n cursor: pointer;\n\n background-repeat: no-repeat;\n &:after {\n content: \"✔\";\n color: #3a3b48;\n position: absolute;\n top: -60%;\n font-size: 11px;\n padding: 2px;\n z-index: 4;\n }\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -60%;\n font-size: 11px;\n padding: 2px;\n z-index: 4;\n }\n }\n }\n label {\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #808186;\n margin-left: 10px;\n cursor: pointer;\n }\n`;\n\nexport const Checkbox = ({ children, ...props }) => {\n const [field, meta] = useField({ ...props, type: \"checkbox\" });\n\n return (\n \n \n\n {/* {props.ticket ? (\n \"\"\n ) : meta.touched && meta.error ? (\n {meta.error}\n ) : null} */}\n \n );\n};\nconst StyledPhoneInput = styled.div`\n .PhoneInput {\n border: 1px solid #707070;\n border-radius: 20px;\n margin-bottom: 15px;\n padding-left: 10px;\n background-color: #3a3b48;\n }\n .PhoneInputInput {\n border: none !important;\n }\n .PhoneInputCountrySelectArrow {\n /* color: white; */\n opacity: 1;\n font-size: 22px;\n margin-left: 14px;\n margin-bottom: 4px;\n }\n .PhoneInputCountry {\n border-right: 1px solid #707070;\n padding: 7px;\n }\n`;\nexport const PhoneInputField = ({ ...props }) => {\n const { setFieldValue } = useFormikContext();\n const [field, meta] = useField(props);\n\n return (\n
    \n \n \n {\n setFieldValue(field.name, val);\n }}\n />\n \n {meta.error && meta.touched ? (\n {meta.error}\n ) : null}\n
    \n );\n};\nexport { Formik, useField, Field };\n","import { useQuery } from \"react-query\";\nimport operationsService from \"services/operations.service\";\n\nexport const useGetTenantsForLogin = (filterData) => {\n return useQuery(\n [\"loginTenants\"],\n () => operationsService.getTenantsForLogin(),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useEndCustomers = () => {\n return useQuery(\n [\"EndCustomer\"],\n () => operationsService.getCustomersForLogin(),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetTenantCustomers = (tenantName) => {\n return useQuery(\n [\"tenantCustomer\"],\n () => operationsService.getTenantUsers(tenantName),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetInsights = (tenantName) => {\n return useQuery(\n [\"tenantInsights\"],\n () => operationsService.getInsights(tenantName),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetDaily = (tenantName) => {\n return useQuery(\n [\"tenantDaily\"],\n () => operationsService.getDailys(tenantName),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetMetrics = (tenantName) => {\n return useQuery(\n [\"tenantMetrics\"],\n () => operationsService.getMetrics(tenantName),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetReportData = (tenantName) => {\n return useQuery(\n [\"tenantReport\"],\n () => operationsService.getReportData(tenantName),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGetUsers = () => {\n return useQuery([\"superUsers\"], () => operationsService.getUsers(), {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};\n","import styled from \"styled-components\";\nimport { UpIcon, DownIcon,InfoIcon } from \"assets/icons\";\nimport Tooltip from \"./Tooltip\";\n\nconst Up = styled.span`\n color: #07ba00;\n font-weight: bold;\n\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\n\nconst Down = styled.span`\n color: #ff0505;\n font-weight: bold;\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\nfunction Change(props) {\n const {place} = props\n if (props.value > 0) {\n return <>{props.value} %\n \n \n ;\n } else {\n return <>{props.value} % \n \n \n ;\n }\n}\nexport default Change;\n","import { Row, Container } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport DropdownButton from \"react-bootstrap/DropdownButton\";\nimport PercentageChange from \"ui/cardsPercentage\";\nimport Change from \"ui/Change\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { Popover as StyledPopover } from \"ui/Popover\";\nexport const Counter = styled.div`\n background-color: #33c2df;\n height: 17px;\n width: 17px;\n border-radius: 50%;\n display: inline-block;\n color: white;\n position: relative;\n top: 5px;\n`;\n\nexport const Popover = styled(StyledPopover)`\n .popover-body {\n padding: 0rem 1rem;\n }\n .popover-arrow {\n &:before {\n left: 0px;\n }\n &:after {\n left: 0px;\n }\n }\n`;\n\nexport const PageContainer = styled(Container)`\n height: auto;\n width: 100%;\n margin-top: 9px;\n`;\n\nexport const StyledButton = styled(BasicButton)`\n float: right;\n margin: 0;\n margin-left: 20px;\n`;\n\nexport const FilterSection = styled(Row)`\n .reminder-text {\n font-family: Montserrat Alternates-semiBold;\n font-size: 17px;\n line-height: 25px;\n color: #909090;\n display: inline-block;\n margin-top: 10px;\n }\n`;\n\nexport const TableSection = styled(Row)`\n margin: 36px 0px;\n`;\n\nexport const StyledChange = styled(PercentageChange)`\n float: right;\n position: relative;\n line-height: 25px;\n background: white;\n border-radius: 20px;\n padding: 0px 5px;\n`;\nexport const StyledChangeTotal = styled(Change)`\n float: right;\n position: relative;\n line-height: 25px;\n background: white;\n border-radius: 20px;\n padding: 0px 5px;\n`;\nexport const StyledEditIcon = styled.div`\n svg {\n font-size: 18px;\n cursor: pointer;\n }\n`;\n\nexport const StyledModal = styled.div`\n .modal-text {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 0px;\n }\n .name {\n height: 29px;\n background-color: rgba(255, 255, 255, 0.18);\n border: 1px solid #707070;\n }\n .data {\n height: 29px;\n border-bottom: 1px solid #707070;\n }\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070;\n margin: 10px;\n .modal-body {\n padding: 0rem 1rem;\n }\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\n\nexport const DownloadSection = styled.div`\n display: flex;\n justify-content: flex-end;\n\n .icon-div {\n width: 61px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n display: inline-block;\n margin-left: 10px;\n padding: 5px;\n cursor: pointer;\n svg {\n margin-left: 12px;\n font-size: 25px;\n }\n }\n`;\n\nexport const ExportLogo = styled.img`\n margin: 30px 0px;\n height: 30px;\n`;\nexport const StyledLoader = styled.div`\n .spinner-border {\n font-weight: 500;\n width: 1.5rem;\n height: 1.5rem;\n }\n`;\n\nexport const StyledRadio = styled.div`\n float: right;\n input[type=\"radio\"] {\n -webkit-appearance: none;\n position: relative;\n display: inline-block;\n border-radius: 50%;\n width: 16px;\n height: 16px;\n background: transparent;\n border: 2px solid #ffffff;\n &:checked {\n background: white;\n &:after {\n content: \"✓\";\n color: black;\n font-size: 12px;\n position: absolute;\n top: -6px;\n right: 2px;\n font-weight: 800;\n }\n }\n @media (min-width: 768px) and (max-width: 1024px) {\n top: 4px;\n }\n }\n`;\nexport const StyledDropDown = styled(DropdownButton)`\n .dropdown-toggle {\n padding-left: 0;\n text-align: left;\n /* width: 194px; */\n font-size: 24px;\n line-height: 29px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #909090;\n background: none;\n outline: none;\n border: none;\n box-shadow: none;\n &:focus,\n &:hover,\n &:active,\n &:checked {\n font-size: 24px;\n line-height: 29px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #909090;\n background: none;\n outline: none;\n border: none;\n box-shadow: none;\n }\n }\n /* .show {\n .btn-secondary.dropdown-toggle {\n color: #909090;\n background-color: transparent;\n border-color: none;\n\n &:focus {\n color: #909090;\n box-shadow: none;\n background: none;\n border: none;\n outline: none;\n }\n }\n } */\n .dropdown-menu {\n width: 164px;\n background-color: #232631;\n font-family: Montserrat Alternates-semiBold;\n font-size: 17px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #ffffff;\n border: 1px solid #707070;\n /* &:before {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n top: -19%;\n left: 83%;\n border-top: solid 10px gray;\n border-left: solid 10px gray;\n border-right: solid 10px gray;\n border-bottom: solid 10px #232631;\n } */\n }\n\n .dropdown-item {\n color: #ffffff;\n background-color: #232631;\n padding: 10px 26px;\n &:hover {\n background-color: #232631;\n color: #ffffff;\n }\n }\n`;\nexport const Filters = styled.div`\n display: flex;\n justify-content: flex-end;\n .filter-popup {\n width: 142px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n }\n .icon-div {\n width: 51px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n display: inline-block;\n margin-left: 10px;\n padding: 5px;\n svg {\n margin-left: 14px;\n path {\n fill: #33c2df;\n }\n }\n }\n`;\n\nexport const StyledLinks = styled.a`\n margin-left: 8px;\n margin-right: 8px;\n text-decoration: none;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 14px;\n letter-spacing: 0px;\n color: #909090;\n color: ${(props) => (props.active ? \"#33C2DF\" : \"#909090\")};\n cursor: pointer;\n\n &:active {\n color: red;\n }\n\n &:hover {\n text-decoration: none;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 14px;\n letter-spacing: 0px;\n color: #33c2df;\n margin-top: 15px;\n cursor: pointer;\n }\n`;\nexport const SearchSection = styled.div`\n display: flex;\n`;\n","import axios from \"utils/APIv2\";\n\nexport const getOrnetSettings = async () => {\n const res = await axios.get(`/ornet-settings`);\n return res.data;\n};\n\nexport const setOrnetSettings = async (payload) => {\n return await axios.post(`/ornet-settings`, payload);\n};\n\nexport const setOrnetCode = async (payload) => {\n return await axios.post(`/ornet-settings/generate-tokens`, payload);\n};\n\nexport const getOracleDataFetchStatus = async () => {\n return await axios.get(`/ornet-settings/oracleCronStatus`);\n};","import BaseService from \"./baseClass.services\";\nimport moment from \"moment\";\nimport { apiURL } from \"utils/base-url\";\nimport axios from \"utils/APIv2\";\nimport FileSaver from \"file-saver\";\n\nclass EmailTemplateService extends BaseService {\n\n getAllEmailTemplates = async (filterData) => {\n const res = await this.axios.get(`/emailAlert/getAllEmailTemplates`);\n return res.data;\n };\n\n getAllEmailTemplatesUsingPageCountAndSkip = async (filterData) => {\n const res = await this.axios.get(`/emailAlert/getAllEmailTemplatesUsingPageCountAndSkip`,\n {\n params: filterData\n }\n );\n return res.data;\n };\n\n getFilteredRecords = async (filterData) => {\n const res = await this.axios.get(`/emailAlert/getFilteredRecords`,\n {\n params: filterData\n }\n );\n return res.data;\n };\n\n postCreateACutomerTemplate = async (payload) => {\n return await axios.post(\n `/emailAlert/createEmailTemplate`,\n payload\n );\n }\n\n postUpdateACutomerTemplate = async (payload) => {\n return await axios.post(\n `/emailAlert/updateEmailTemplate`,\n payload\n );\n }\n postDeleteACutomerTemplate = async (payload) => {\n return await axios.post(\n `/emailAlert/deleteEmailTemplate`,\n payload\n );\n }\n postAssignATemplateToCustomer = async (payload) => {\n return await axios.post(\n `/customers/assignEmailTemplate`,\n payload\n );\n }\n postAssignATemplateToAllCustomersOfCustomertype = async (payload) => {\n return await axios.post(\n `/customers/assignEmailTemplateByCustomerType`,\n payload\n );\n }\n}\nexport default new EmailTemplateService();\n","import { useQuery } from \"react-query\";\nimport ActualService from \"services/actual.services\";\nimport { useMutation, useQueryClient } from \"react-query\";\n\nexport const useAllReceviables = (filterData, mo = false) => {\n return useQuery(\n [\"receivables\", { filterData }],\n () => ActualService.getallreceviables(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const useAllCustomers = (filterData, mo = false) => {\n return useQuery(\n [\"customers\", { filterData }],\n () => ActualService.getallcustomers(filterData),\n {\n keepPreviousData: false,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const LoginCustomerData = (userId) => {\n return useQuery(\n [\"log-customers\", {userId }],\n () => ActualService.getLogCustomerData(userId),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const CustomerCardDataPayables = (decodedData) => {\n\n return useQuery(\n [\"cardPayablescustomer\", {decodedData}],\n () => ActualService.getcustomercarddatapayables(decodedData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const useAllCollection = (filterData) => {\n return useQuery(\n [\"collections\", { filterData }],\n () => ActualService.getallcollections(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useAllPayables = (filterData, mo = false) => {\n return useQuery(\n [\"payables\", { filterData }],\n () => ActualService.getallpayables(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useNonControllablePayables = (filterData) => {\n return useQuery(\n [\"nonControllablePayables\", { filterData }],\n () => ActualService.getNonControllablePayableData(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useNonTradeRecievables = (filterData) => {\n return useQuery(\n [\"nonTradeRecievables\", { filterData }],\n () => ActualService.getNonTradeRecievavleData(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGraphDataCollections = (cid, filterType) => {\n return useQuery(\n [\"graphCollections\", { cid, filterType }],\n () => ActualService.getgraphdatacollections(cid, filterType),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useGraphDataPayables = (sid, filterType) => {\n return useQuery(\n [\"graphPayables\", { sid, filterType }],\n () => ActualService.getgraphdatapayables(sid, filterType),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const useGraphDataReceviables = (cid, filterType) => {\n return useQuery(\n [\"graphreceviables\", { cid, filterType }],\n () => ActualService.getgraphdatareceivables(cid, filterType),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const useCardDataReceviables = (filterData) => {\n return useQuery(\n [\"cardReceviables\", {filterData}],\n () => ActualService.getcarddatareceivables(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useCardDataCollections = (filterData) => {\n return useQuery(\n [\"cardCollections\", {filterData}],\n () => ActualService.getcarddatacollections(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useCardDataPayables = (filterData) => {\n return useQuery(\n [\"cardPayables\", {filterData}],\n () => ActualService.getcarddatapayables(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\nexport const useCardDataControllableNonControllable = () => {\n return useQuery(\n [\"cardControllableNonControllable\", {}],\n () => ActualService.getCardDataControllableNonControllable(),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const Remindersdata = (filterData) => {\n return useQuery(\n [\"remindersdata\", {filterData}],\n () => ActualService.getreminders(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const UseAllDisputeType = (userId) => {\n return useQuery(\n [\"UseAllDisputeType\", {userId}],\n () => ActualService.getAalldisputeType(userId),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\n\nexport const UseAllPayments= (filterData) => {\n return useQuery(\n [\"payments\", { filterData }],\n () => ActualService.getallpayments(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\n\n\n\n\nexport const UseCardDataPayments = (filterData) => {\n return useQuery(\n [\"paymentscards\", {filterData}],\n () => ActualService.getcarddatapayments(filterData),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n};\nexport const UseCustomerDetails = (filterData) => {\n\n const queryClient = useQueryClient();\n return useMutation((data) => ActualService.getCustomerDetails(data), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"getCustomerDetails\");\n },\n });\n};\n\nexport const UseMerchantDetails = () => {\n return useQuery([\"merchantDetails\"], () =>\n ActualService.getMerchantDetails()\n );\n};\n\nexport const UseSaveTransactionReceivable = () => {\n const queryClient = useQueryClient();\n return useMutation((data) => ActualService.saveTransactionReceivable(data), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"saveReceivableTransactions\");\n },\n });\n};\nexport const UseTransactionList = (filterData) => {\n return useQuery([\"receivableTransactionList\", { filterData }], () =>\n ActualService.getCustomerTransaction(filterData)\n );\n};\n\nexport const GenerateCheckSumReceivable = () => {\n const queryClient = useQueryClient();\n return useMutation(\n (data) => ActualService.GenerateCheckSumReceivableData(data),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"checksum\");\n },\n }\n );\n};\nexport const GenerateSessionTokenReceivable = (data) => {\n const queryClient = useQueryClient();\n return useMutation((data) => ActualService.GenerateSessionTokenData(data), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"sessiontoken\");\n },\n });\n};\n\nexport const GetAllCustomerName = () => {\n return useQuery([\"customerNameTenant\"], () => ActualService.GetAllCustomer(),{\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};\nexport const UpdateSurchargeStatus = (toggle)=>{\n const queryClient = useQueryClient();\n return useMutation((data) => ActualService.UpdateSurchargeStatus(data), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"updateSurchargeStatus\");\n },\n });\n // return useQuery(['updateSurchargeStatus',{toggle}],()=>ActualService.UpdateSurchargeStatus(toggle))\n}","import React from \"react\";\nimport { useQueryClient, useMutation,useQuery } from \"react-query\";\nimport { addUser, getAuthVerificationMethod, getCustomerDetailsforSingup, getVerificationMethod } from \"services/user.service\";\n\nexport const useCreateUser = () => {\n const queryClient = useQueryClient();\n return useMutation((User) => addUser(User), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"users\");\n },\n // onError: (error) => {\n // if (error.response && error.response.data.message) {\n // alert(error.response.data.message)\n // }\n // },\n });\n};\n\nexport const GetcustomerDetails = () => {\n const queryClient = useQueryClient();\n return useMutation(({ body }) => getCustomerDetailsforSingup(body), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"GetCustomerdataformsearch\");\n },\n });\n};\n\nexport const GetAuthVerificationMethod = ()=>{\n return useQuery(\n [\"auth-verification-method-users\", { }],\n () => getAuthVerificationMethod(),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n}\nexport const GetVerificationMethod = ()=>{\n return useQuery(\n [\"verification-method-users\", { }],\n () => getVerificationMethod(),\n {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n }\n );\n}","import { getDepartments } from \"services/departments.service\";\nimport { useQuery } from \"react-query\";\n\nexport const useDepartments = (hierarchy) => {\n return useQuery([\"departments\", hierarchy], () => getDepartments(hierarchy));\n};\n","import React from \"react\";\nimport { ArrowDownWhiteIcon } from \"assets/icons.js\";\nimport { components } from \"react-select\";\nimport Select from \"react-select-virtualized\";\nimport styled from \"styled-components\";\n\nconst StyleSelect = styled.div`\n .react-select-container .react-select__menu {\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .css-b62m3t-container .fast-option {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-family: Montserrat Alternates;\n }\n .css-b62m3t-container .fast-option-focused {\n background-color: #222;\n font-family: Montserrat Alternates;\n }\n`;\n\nconst IndicatorsContainer = (props) => {\n return (\n \n \n \n );\n};\n\nconst customStyles = {\n control: (base) => ({\n ...base,\n background: \"#232631 0% 0% no-repeat padding-box\",\n borderRadius: 0,\n borderColor: \"#ffffff69\",\n boxShadow: null,\n minHeight: \"25px\",\n height: \"25px\",\n \"&:hover\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"&:focus\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"::-webkit-scrollbar\": {\n width: \"3px\",\n },\n // ::-webkit-scrollbar-track {\n // background: #000;\n // }\n // ::-webkit-scrollbar-thumb {\n // background: #888;\n // }\n // ::-webkit-scrollbar-thumb:hover {\n // background: #555;\n // }\n }),\n\n dropdownIndicator: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n paddingRight: \"8px\",\n paddingLeft: 0,\n }),\n option: (base, { isFocused }) => ({\n ...base,\n color: \"#ffffff69\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"0px solid #FFFFFF\",\n borderRadius: \"0px\",\n //color:\"#FFFFFF\",\n height: \"25px\",\n background: isFocused ? \"#3a3b48\" : \"#232631 0% 0% no-repeat padding-box\",\n display: \"flex\",\n alignItems: \"center\",\n }),\n valueContainer: (base) => ({\n ...base,\n overflow: \"hidden\", // Prevents overflow from showing\n whiteSpace: \"nowrap\", // Ensures the text stays in one line\n textOverflow: \"ellipsis\", // Adds \"...\" if text is too long\n maxWidth: \"100%\", // Ensures proper width\n display: \"flex\", // Aligns properly inside the input\n alignItems: \"center\",\n color: \"#ffffff69\",\n paddingTop: 0,\n }),\n placeholder: (base) => ({\n ...base,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n input: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n margin: 0,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n singleValue: (base) => ({\n ...base,\n color: \" #ffffff69\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n menu: (base) => ({\n ...base,\n borderRadius: 0,\n margin: 0,\n padding: 0,\n background: \"#232631 0% 0% no-repeat padding-box\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"1px solid #ffffff69\",\n color: \"#ffffff69\",\n }),\n};\n\nexport default function SelectWithVirtualized({\n options,\n value,\n onChange,\n multiple,\n clearable,\n disabled,\n placeholder = \"Search & Select\",\n}) {\n return (\n \n null,\n }}\n options={options}\n />\n \n );\n}\n","import React, { useEffect, useState, useContext } from \"react\";\nimport styled from \"styled-components\";\n\nconst StyledCheckbox = styled.div`\n display: flex;\n align-items: center;\n\n input[type=\"checkbox\"] {\n position: relative;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background-color: #3a3b48;\n border: 1px solid #707070;\n border-radius: 3px;\n display: inline-block;\n width: 14px;\n height: 14px;\n background-repeat: no-repeat;\n /* &:after {\n content: \"✔\";\n color: #3a3b48;\n position: absolute;\n top: -60%;\n font-size: 11px;\n padding: 2px;\n } */\n &:checked {\n &:after {\n content: \"✔\";\n color: #33c2df;\n position: absolute;\n top: -60%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n label {\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #808186;\n margin-left: 10px;\n }\n`;\nexport default function Checkbox({ label, value, name, onChange }) {\n return (\n \n \n \n \n );\n}\n","export default __webpack_public_path__ + \"static/media/arrow-down-new.fba44849.svg\";","import { Page, Text, View, Document, StyleSheet, Image, Font } from '@react-pdf/renderer';\nimport React from \"react\";\nimport NumberFormat from 'react-number-format';\n\n// Register the Calibri font family\nFont.register({\n family: 'Montserrat',\n fonts: [\n { src: '/fonts/Montserrat/MontserratAlternates-Regular.ttf', fontWeight: 'normal' },\n { src: '/fonts/Montserrat/MontserratAlternates-Bold.ttf', fontWeight: 'bold' },\n { src: '/fonts/Montserrat/MontserratAlternates-Italic.ttf', fontStyle: 'italic' },\n ],\n});\n\n// Define styles using JavaScript objects\nconst styles = StyleSheet.create({\n body: {\n fontFamily: 'Montserrat',\n padding: 25,\n backgroundColor: '#3A3B48', // Background color for the entire document\n },\n container: {\n marginTop: 70,\n },\n header: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n marginBottom: 10,\n },\n image: {\n width: 235, // Adjusted width to make the logo bigger\n height: 30, // Proportionally adjusted height to maintain aspect ratio\n marginBottom: 30,\n },\n invoiceText: {\n fontSize: 15,\n fontWeight: 'bold',\n color: '#A0A0A2',\n paddingBottom: 30,\n textAlign: 'left',\n },\n receiptDetails: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between', // Space between static and dynamic text\n alignItems: 'flex-start', // Align items at the top for consistent alignment\n marginBottom: 13, // Add some spacing between each section\n },\n dynamicInvoiceNumbers: {\n textAlign: 'right',\n fontSize: 12,\n flexWrap: 'wrap', // Allow dynamic values to wrap to the next line\n width: '50%', // Ensure dynamic values take up appropriate space\n color: '#27B2D8', // Dynamic value color\n display: 'flex',\n justifyContent: 'flex-end', // Align to the right end\n },\n invoicetextmessage: {\n fontSize: 12, // Smaller text for the receipt\n textAlign: 'left',\n color: '#A0A0A2', // Static text color\n width: '50%', // Ensure static text takes up appropriate space\n },\n lineSeparator: {\n borderBottomColor: '#A0A0A2', // Color for the separator\n borderBottomWidth: 0.9, // Line thickness\n marginVertical: 10, // Spacing above and below the line\n marginBottom: 25,\n },\n message: {\n fontSize: 12,\n padding: 5,\n paddingLeft: 0,\n textAlign: 'left',\n color: '#A0A0A2', // Value color for messages\n },\n endmessage: {\n fontSize: 18,\n fontWeight: 'bold',\n padding: 5,\n color: '#A0A0A2', // Value color for titles\n textAlign: 'left',\n },\n paidmessage: {\n fontSize: 18,\n fontWeight: 'bold',\n color: '#A0A0A2', // Value color for titles\n marginBottom: 0,\n textAlign: 'left',\n },\n});\n\nconst PaymentReceipt = ({ paymentData }) => {\n console.log('inside payment receipt', paymentData);\n\n const {\n amount,\n tenantFullName,\n paidOn,\n invoice,\n pm,\n transactionId,\n referenceNumber,\n surcharge,\n surchargeAmount,\n surcharge_rate,\n baseAmount,\n partialPaid,\n balanceDue\n\n } = paymentData;\n let sanitizedAmount = amount?.includes(\",\") ? amount.replace(/,/g, '') : amount;\n let sanitizedSurchargeAmount =surchargeAmount && surchargeAmount?.includes(\",\") ? surchargeAmount.replace(/,/g, '') : surchargeAmount;\n let sanitizedBaseAmount = baseAmount&& typeof(baseAmount)=== \"string\" && baseAmount?.includes(\",\") ? baseAmount.replace(/,/g, '') : baseAmount;\n\n return (\n \n \n \n \n \n \n\n {/* Payment Details */}\n Payment Receipt\n\n \n You paid ${amount}\n \n to {tenantFullName} on {paidOn}\n\n {invoice ? (\n // Display Invoice Number if invoice is defined\n \n Invoice Number\n \n {Array.isArray(invoice) ? invoice.join(', ') : invoice}\n \n \n ) : referenceNumber ? (\n\n \n Reference Number\n \n {Array.isArray(referenceNumber) ? referenceNumber.join(', ') : referenceNumber}\n \n \n ) : null}\n\n {surcharge && pm === \"Credit Card\" ? \n <>\n {partialPaid ?\n <>\n \n \n Balance Due\n \n \n \n \n \n \n \n \n Amount Paid\n \n \n \n \n \n \n \n :\n <>\n \n \n Amount\n \n \n \n \n \n \n }\n \n Processing Fees ({surcharge_rate}%)\n \n {/* ${surchargeAmount} */}\n \n \n \n \n \n Total Paid\n \n {/* ${amount} */}\n \n \n \n \n :\n partialPaid ? <>\n \n \n Balance Due\n \n \n \n \n \n \n \n \n Amount Paid\n \n \n \n \n \n \n :\n \n \n Total\n \n \n \n \n }\n\n \n \n Payment Method\n \n {pm}\n \n \n\n \n Transaction ID\n \n {transactionId}\n \n \n\n Thank you\n {tenantFullName}\n \n \n \n );\n};\n\nexport default PaymentReceipt;","import styled, { css } from \"styled-components\";\n\nconst baseStyles = css`\n color: ${(props) => props.textColor || \"#FFFFFF\"};\n width: ${(props) => props.width || \"100%\"};\n height: ${(props) => props.height || \"40px\"};\n text-align: center;\n margin: 0px 5px;\n font-family: Montserrat Alternates-Bold;\n font-size: 14px;\n line-height: 18px;\n letter-spacing: 0px;\n border-radius: 5px;\n outline: none;\n border: none;\n box-shadow: none;\n &:hover {\n color: #ffffff;\n text-decoration: none;\n }\n`;\n\nexport const Button = styled.button`\n ${baseStyles}\n width:auto;\n padding: 10px 20px;\n background:${(props) =>\n props.background ||\n \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"};\n`;\n\nexport const BasicButton = styled.button`\n ${baseStyles}\n background:${(props) =>\n props.background ||\n \"transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%)\"};\n`;\n","import axios from \"utils/APIv2\";\nexport const getSectors = async () => {\n const res = await axios.get(`/sectors`);\n return res.data;\n};\nexport const getAllGeneralSettings = async () => {\n const res = await axios.get(`/general-settings`);\n return res.data;\n};\nexport const setAllGeneralSettings = async (payload) => {\n return await axios.patch(`general-settings`, payload);\n};\n","export default __webpack_public_path__ + \"static/media/icon-cross.a3146d5e.svg\";","import React from \"react\";\nconst InsightsContext = React.createContext({});\nexport default InsightsContext;\n","import styled from \"styled-components\";\nexport const LeftBlock = styled.div`\n float: left;\n display: block;\n position: relative;\n width: auto;\n height: 100%;\n\n span.change-value {\n display: block;\n position: absolute;\n width: 100px;\n left: 0;\n bottom: 0;\n }\n @media (min-width: 768px) and (max-width: 1024px) {\n bottom: 58px;\n }\n`;\n\nexport const RightBlock = styled.div`\n float: right;\n display: block;\n position: relative;\n width: auto;\n @media (min-width: 768px) and (max-width: 1024px) {\n float: left;\n }\n`;\n","import React, { useContext, useState } from \"react\";\nimport styled from \"styled-components\";\nimport {\n RefreshIcon,\n ProfileIcon,\n LogoutIcon,\n IconGraph,\n} from \"assets/icons.js\";\nimport SampleImage from \"assets/placeholder-image.png\";\nimport { Link } from \"react-router-dom\";\nimport moment from \"moment\";\nimport { OverlayTrigger } from \"react-bootstrap\";\nimport { Popover } from \"ui/Popover\";\n\nconst StyledNavBar = styled.nav`\n position: relative;\n width: 100%;\n background-color: #3a3b48;\n color: #ffffff;\n text-align: left;\n height: auto;\n overflow: auto;\n padding: 12px;\n margin: 15px 0;\n border-radius: 10px;\n\n li {\n text-decoration: none;\n list-style: none;\n float: right;\n font-size: 14px;\n }\n .refresh {\n display: flex;\n align-items: center;\n font-size: 15px;\n line-height: 20px;\n font-family: Montserrat Alternates-Medium;\n }\n\n .profile-image {\n border-radius: 50%;\n height: 38px;\n width: 38px;\n margin-right: 15px;\n }\n\n .greetings {\n font-size: 18px;\n float: left;\n line-height: 22px;\n font-family: Montserrat Alternates-semiBold;\n }\n .logo-image {\n margin: 5px;\n height: 30px;\n width: 110px;\n border-radius: 5px;\n object-fit: contain;\n\n @media (min-width: 768px) and (max-width: 1024px) {\n width: 90px;\n }\n }\n .accounts-data {\n border-left: 1px solid #707070;\n padding: 5px 10px;\n }\n`;\nconst Iconbackground = styled.div`\n height: 40px;\n width: 40px;\n background: #ffffff;\n box-shadow: 0px 3px 26px #00000017;\n border: 3px solid #5b5d6e;\n border-radius: 40px;\n display: inline-block;\n text-align: center;\n margin-right: 10px;\n svg {\n font-size: 1.3em;\n margin-top: 8px;\n }\n .notification-icon {\n path {\n fill: #343540;\n }\n }\n`;\nconst StyledRefreshIcon = styled.div`\n content: \"${(props) => props.isloading}\";\n display: inline-block;\n margin: 0px 10px;\n cursor: pointer;\n animation: ${(props) => props.isloading && \"rotation 1s infinite linear\"};\n @keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n }\n`;\nconst StyledGarphIcon = styled.div`\n margin: 0px 10px;\n`;\n\nconst DropdownContent = styled.div`\n display: block;\n color: white;\n text-align: left;\n background-color: #000000;\n box-shadow: 0px 3px 6px #00000029;\n border: 1px solid #707070;\n border-radius: 10px;\n position: absolute;\n top: 20px;\n right: 0;\n\n a {\n font-family: Montserrat Alternates-semiBold;\n font-weight: bold;\n font-size: 14px;\n line-height: 44px;\n font-style: normal;\n letter-spacing: 0px;\n color: #ffffff;\n text-align: none;\n text-decoration: none;\n padding: 0 40px;\n }\n`;\n\nconst NotificationDiv = styled.div`\n display: flex;\n border-bottom: 2px solid #707070;\n padding: 10px;\n .notifications-text {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n color: #909090;\n display: inline-block;\n }\n .flag {\n margin: 5px;\n }\n`;\nconst ProfileDetails = styled.div`\n padding: 20px 15px;\n font-family: Montserrat Alternates-semiBold;\n font-size: 14px;\n line-height: 20px;\n cursor: pointer;\n color: #909090;\n\n svg {\n margin-right: 10px;\n path {\n fill: white;\n stroke: white;\n }\n }\n a {\n text-decoration: none;\n color: #909090;\n }\n`;\n\nconst LockOverlay = styled.div`\n top: 0;\n left: 0;\n background: transparent;\n cursor: not-allowed;\n width: 95%;\n display: block;\n position: absolute;\n height: 63px;\n z-index: 9999999;\n`;\n\nconst BackStyledButton = styled.button`\n background: transparent linear-gradient(270deg, #33c2df 0%, #0081c5 100%);\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n`;\n\nconst ProfileDetailsPopover = (onLogout) => (\n \n \n \n \n Logout as Super Admin\n \n \n \n);\n\nconst ProfileDetailsDropdown = () => {\n const onLogout = async () => {\n try {\n localStorage.clear();\n sessionStorage.clear();\n window.location.pathname = \"/admin/login\";\n } catch (error) {\n console.error(\"error signing out: \", error);\n }\n };\n return (\n <>\n \n \"profile\"\n \n \n );\n};\n\nconst PrimaryPrivateNavbar = () => {\n return (\n \n
  • \n <>\n \n Last login : {moment().format(\"LLL\")}\n \n \n \n
  • \n
    \n );\n};\nexport default PrimaryPrivateNavbar;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { Nav as BSNav } from \"react-bootstrap\";\nimport Logo from \"assets/SimpliCapital-logo.png\";\nimport CollapsedLogo from \"assets/logo.png\";\nimport {\n ScenarioIcon,\n ArrowExpandIcon,\n TopArrowSubmenuIcon,\n Tenants,\n User,\n Session,\n DataLoads,\n Analytics,\n Subscriptions,\n Switch,\n LoginIcon,\n} from \"assets/icons.js\";\nimport { Link } from \"react-router-dom\";\nimport { Route_URLs } from \"routesURLs\";\n\nconst StyledSidebar = styled.div`\n background: #3a3b48;\n box-shadow: 0px 3px 16px #0000001d;\n position: fixed;\n display: block;\n padding: 0;\n z-index: 5;\n height: 100%;\n padding: 20px;\n /* overflow: auto; */\n width: ${(props) => (props.collapsed ? \"85px\" : \"211px\")};\n transition: all 0.2s ease-in;\n z-index: 55555;\n top: 0;\n\n ${({ disableTransitionEffects }) =>\n disableTransitionEffects &&\n `\n transition: none !important;\n `}\n\n .nav-link.active svg {\n fill: #33c2df;\n }\n\n .nav-text {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n display: ${(props) => (props.collapsed ? \"none\" : \"inline-block\")};\n width: ${(props) => (props.collapsed ? \"0\" : \"63%\")};\n transition: opacity 0.7s ease-in;\n }\n\n .toggle-button {\n transform: ${(props) =>\n props.collapsed ? \"rotate(0deg)\" : \"rotate(180deg)\"};\n transition: transform 0s;\n\n svg {\n width: 41px;\n height: 41px;\n }\n }\n\n .indicator-icon,\n .submenu > div {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n\n .sub-menu {\n .nav-link {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n }\n .logo {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n .collapsed-logo {\n display: ${(props) => (props.collapsed ? \"block\" : \"none\")};\n }\n\n .indicator-icon {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n }\n`;\n\nconst SidebarShadow = styled(StyledSidebar)`\n position: relative;\n height: 1px;\n z-index: 555;\n top: 0;\n left: 0px;\n background: #3a3b48;\n`;\n\nconst StyledLogo = styled.div`\n img {\n width: 100%;\n }\n margin-bottom: 36px;\n`;\nconst StyledCollapsedLogo = styled.div`\n img {\n width: auto;\n }\n margin-bottom: 36px;\n`;\n\nconst Nav = styled(BSNav)`\n flex-direction: column;\n\n svg {\n margin-right: 10px;\n font-size: 13px;\n }\n\n a.nav-link {\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 10px;\n letter-spacing: 0px;\n color: #ffffff;\n margin-bottom: 0.5rem;\n padding: 0.4rem 1rem;\n margin-left: 10x;\n z-index: 1;\n max-height: 42px;\n }\n`;\n\nconst ExpandIcon = styled.div`\n position: absolute;\n //right: 0;\n //left: 0;\n bottom: 0;\n //text-align: center;\n width: 77%;\n padding: 0;\n margin: 0 auto;\n margin-bottom: 50px;\n z-index: 2;\n\n .icon {\n cursor: pointer;\n z-index: 2;\n position: absolute;\n }\n`;\n\nconst SubmenuContent = styled.div`\n padding-left: 8px;\n overflow: hidden;\n`;\n\nconst SubmenuCaption = styled.div`\n color: #fff;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n cursor: pointer;\n`;\n\nconst StyledSubmenu = styled.div`\n margin-bottom: 0;\n padding: 0.5rem 1rem;\n margin-bottom: 1.5rem;\n\n .indicator-icon {\n float: right;\n font-size: 1em;\n margin-top: ${(props) => (props.activeLink ? \"11px\" : \"2px\")};\n transform: ${(props) => (props.open ? \"rotateZ(0deg)\" : \"rotateZ(90deg)\")};\n transition: all 0.2s ease-in-out;\n }\n\n a.nav-link {\n margin: 0;\n margin-bottom: 0.4rem;\n }\n\n ${SubmenuContent} {\n transition: all 0.5s ease-in-out;\n margin-top: ${(props) => (props.open ? \"12px\" : \"0\")};\n height: ${(props) => (props.open ? \"auto\" : \"0\")};\n }\n`;\n\nconst LockOverlay = styled.div`\n background: transparent;\n cursor: not-allowed;\n width: 100%;\n display: block;\n position: absolute;\n height: 380px;\n z-index: 9999999;\n`;\nconst ActiveLink = styled.span`\n width: 4px;\n height: 20px;\n display: inline-block;\n background-color: #33c2df;\n position: relative;\n left: ${(props) => (props.collapsed ? \"65%\" : \"45%\")};\n top: 7px;\n`;\nconst StyledIcon = styled.div`\n display: inline-block;\n svg {\n path {\n fill: ${(props) => (props.active ? \"#33C2DF\" : \"#A5A4BF\")};\n }\n }\n`;\n\nconst Submenu = (props) => {\n const sidebarCollapsed = props.sidebarCollapsed;\n const [open, setOpen] = useState(!sidebarCollapsed);\n\n const toggleMenuOpen = (event) => {\n setOpen(!open);\n event.preventDefault();\n event.stopPropagation();\n };\n\n const shouldBeOpen = () => {\n if (sidebarCollapsed) {\n return false;\n } else {\n return open;\n }\n };\n\n return (\n \n \n \n {props.icon}\n \n {props.title}\n \n {props.activeLink}\n \n {props.children}\n \n );\n};\n\nfunction Sidebar(props) {\n const [collapsed, setCollapsed] = useState(false);\n const [disableTransitionEffects, setDisableTransitionEffects] =\n useState(false);\n\n const toggleSidebar = () => {\n setDisableTransitionEffects(false);\n setCollapsed(!collapsed);\n };\n\n const activeRoute = (routeUrl) => {\n if (routeUrl === window.location.pathname) return true;\n return false;\n };\n\n return (\n <>\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \n \n \n \n );\n}\nexport default Sidebar;\n","import React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport PrimaryPrivateNavbar from \"./primaryPrivateNavbar\";\nimport Sidebar from \"./sidebar\";\nimport { Container, Row, Col } from \"react-bootstrap\";\nimport styled from \"styled-components\";\nimport Flash from \"ui/flash-message\";\nimport Loader from \"ui/Loader\";\n\nconst PageContainer = styled.div`\n padding: 0;\n width: 100%;\n display: flex;\n flex-direction: row;\n .scroll-div {\n position: sticky;\n top: 0;\n z-index: 100;\n width: 100%;\n height: auto;\n background-color: #232631;\n }\n`;\n\nconst ContentContainer = styled(Container)`\n /* overflow: auto; */\n max-width: 100%;\n flex: 1;\n`;\nconst StickyDiv = styled.div`\n position: relative;\n`;\n\nconst SidebarContainer = styled.div`\n position: relative;\n height: 100%;\n /* width: auto;\n overflow: auto; */\n display: block;\n /* border: 5px solid green; */\n z-index: 50000;\n`;\n\nconst PrivateLayout = (props) => {\n const [isLoading, setIsLoading] = useState(false);\n useEffect(() => {\n setIsLoading(true);\n let isSuperUser = sessionStorage.getItem(\"isSuperUser\");\n let adminToken = sessionStorage.getItem(\"adminToken\");\n if (!isSuperUser || !adminToken) {\n sessionStorage.clear();\n localStorage.clear();\n window.location.href = \"/admin/login\";\n } else {\n setIsLoading(false);\n }\n }, []);\n\n return isLoading ? (\n \n ) : (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <>{props.children}\n \n \n \n \n );\n};\n\nexport default PrivateLayout;\n","import styled from \"styled-components\";\nimport React from \"react\";\n\nconst StyledCard = styled.div`\n position: relative;\n width: 100%;\n background-color: #3a3b48;\n color: #ffffff;\n text-align: left;\n height: auto;\n background: #3a3b48;\n /* max-width: 1024px; */\n border-radius: 5px;\n margin-bottom: 15px;\n box-shadow: 0px 2px 6px #0000000a;\n height: calc(100% - 15px);\n min-height: 150px;\n overflow: auto;\n\n .card-header {\n border-bottom: none;\n color: #909090;\n font-size: 14px;\n line-height: 25px;\n font-family: Montserrat Alternates-Bold;\n font-style: normal;\n padding: 12px;\n background: none;\n @media (min-width: 768px) and (max-width: 1024px) {\n font-size: 13px;\n }\n\n svg {\n position: relative;\n float: right;\n }\n }\n .card-body {\n font-size: 12px;\n line-height: 15px;\n font-style: normal;\n font-weight: normal;\n color: #fff;\n padding: 0 12px;\n padding-bottom: 12px;\n\n span.metric {\n font-size: 20px;\n line-height: 24px;\n font-style: normal;\n font-weight: 600;\n color: #ffffff;\n text-transform: lowercase;\n }\n }\n\n .card-footer {\n font-size: 12px;\n line-height: 15px;\n color: #ffffff;\n border: none;\n background-color: transparent;\n padding-bottom: 12px;\n }\n\n ul {\n color: #c3c3c3;\n font-size: 14px;\n line-height: 21px;\n margin: 0;\n padding: 0;\n }\n\n li {\n font-style: normal;\n font-style: inherit;\n color: #ffffff;\n font-weight: 600;\n font-size: 11px;\n line-height: 15px;\n padding-bottom: 15px;\n list-style: none;\n display: flex;\n\n &:last-child {\n padding-bottom: 0;\n }\n }\n`;\n\nconst StyledBellIcon = styled.div`\n float: right;\n svg {\n path {\n fill: #ff7474;\n }\n }\n`;\n\n// const StyledManualOverride = styled.div`\n// float: right;\n\n// .bell-icon {\n// margin-right: 5px;\n// path {\n// fill: #ff7474;\n// }\n// }\n// `;\n\nconst PositiveMetric = styled.div`\n position: relative;\n`;\n\nconst Card = (props) => {\n const { children } = props;\n const header = React.Children.map(children, (child) =>\n child.type.displayName === \"Header\" ? child : null\n );\n const body = React.Children.map(children, (child) =>\n child.type.displayName === \"Body\" ? child : null\n );\n const footer = React.Children.map(children, (child) =>\n child.type.displayName === \"Footer\" ? child : null\n );\n return (\n \n
    {header}
    \n
    {body}
    \n {footer.length > 0 &&
    {footer}
    }\n
    \n );\n};\n\nconst Header = ({ children }) => children;\nHeader.displayName = \"Header\";\nCard.Header = Header;\n\nconst Body = ({ children }) => children;\nBody.displayName = \"Body\";\nCard.Body = Body;\n\nconst Footer = ({ children }) => children;\nFooter.displayName = \"Footer\";\nCard.Footer = Footer;\n\nexport default Card;\n","import React from \"react\";\n\nimport { useProfile } from \"queries/profile\";\n\nexport const Authorise = ({\n showUnAuthorisedComponenet = null,\n children,\n allowedRoles = [\"admin\", \"read-only\"],\n allowedPermission = [],\n allowedOperation = [],\n onlyforthisrole = false,\n}) => {\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n const userPermissions = userData?.permissions;\n const active = userData?.status == \"active\";\n\n if (isLoading) return <>;\n\n const possibileOperationForRole = {\n \"read-write\": \"read-write\",\n \"read-only\": \"read-only\",\n };\n\n if (active && userRole === \"admin\" && !onlyforthisrole)\n return <>{children};\n\n if (active && allowedRoles.includes(userRole)) {\n if (allowedPermission.length === 0 && allowedOperation.length === 0) {\n return <>{children};\n } else {\n let hasPermission = userPermissions.includes(allowedPermission);\n\n if (\n hasPermission &&\n possibileOperationForRole[userRole] === allowedOperation\n ) {\n return <>{children};\n }\n }\n }\n // if (allowedRoles.includes(userRole)) return <>{children};\n // // if (userRole === \"admin\") return <>{children};\n\n // let hasPermission = permissions.includes(allowedPermission);\n\n // if (hasPermission && userRole === allowedOperation) {\n // return <>{children};\n // }\n\n if (showUnAuthorisedComponenet) return <>{showUnAuthorisedComponenet};\n\n return (\n

    \n {\" \"}\n 401 - You are not Authorized !\n

    \n );\n};\n","import styled from \"styled-components\";\nimport React from \"react\";\n\nconst StyledPage = styled.div`\n position: relative;\n width: 100%;\n margin-top:-20px;\n\n margin-top:-41px;\n\n .page-header {\n margin: 41px 0;\n /* margin: 37px 0; */\n }\n\n .page-title {\n font-family: Montserrat Alternates-Bold;\n color: #909090;\n font-size: 24px;\n line-height: 29px;\n font-style: normal;\n margin-bottom: 0;\n display: inline-block;\n }\n .page-body{\n margin-top:-29px;\n }\n .page-footer{\n margin-left: -15px;\n }\n`;\n\nconst Page = ({ children }) => {\n const header = React.Children.map(children, (child) =>\n child.type.displayName === \"Header\" ? child : null\n );\n const body = React.Children.map(children, (child) =>\n child.type.displayName === \"Body\" ? child : null\n );\n const footer = React.Children.map(children, (child) =>\n child.type.displayName === \"Footer\" ? child : null\n );\n return (\n \n
    {header}
    \n
    {body}
    \n
    {footer}
    \n
    \n );\n};\n\nconst Header = ({ children }) => children;\nHeader.displayName = \"Header\";\nPage.Header = Header;\n\nconst Body = ({ children }) => children;\nBody.displayName = \"Body\";\nPage.Body = Body;\n\nconst Footer = ({ children }) => children;\nFooter.displayName = \"Footer\";\nPage.Footer = Footer;\n\nexport default Page;\n","import EventEmitter from 'events';\nexport default new EventEmitter();","import React, { useEffect, useState } from \"react\";\nimport { IconRefresh } from \"assets/icons\";\nimport { StatusBar } from \".\";\n\nexport default function ProgressBar({ message, closeable }) {\n return (\n <>\n \n \n {message}\n {closeable && X}\n \n \n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { StatusBar } from \".\";\n\nexport default function Danger({message}) {\n\n return (\n <>\n \n {message}\n X\n \n \n );\n}","import React, { useEffect, useState } from \"react\";\nimport { StatusBar } from \".\";\nimport { WhiteInfoIcon } from \"assets/icons\";\n\nexport default function Warning({ message }) {\n return message && message.trim() != \"\" ? (\n <>\n \n \n {message}\n \n \n ) : null;\n}\n","import Bus from \"utils/Bus\";\nimport React, { useEffect, useState } from \"react\";\nimport ProgressBar from \"./progress-bar\";\nimport Primary from \"./primary\";\nimport Danger from \"./danger\";\nimport Warning from \"./warning\";\nimport styled from \"styled-components\";\n\nexport const StatusBar = styled.div`\n min-height: 40px;\n background: #33c2df;\n border-radius: 5px;\n padding: 8px;\n margin: 10px 0px;\n span {\n font-size: 12px;\n font-family: Montserrat Alternates-semiBold;\n line-height: 20px;\n color: #ffffff;\n }\n strong {\n color: #ffffff;\n cursor: pointer;\n margin-right: 10px;\n float: right;\n }\n`;\nexport default function Flash() {\n let [visibility, setVisibility] = useState(false);\n let [message, setMessage] = useState(\"\");\n let [type, setType] = useState(\"\");\n let [closeable, setCloseable] = useState(false);\n useEffect(() => {\n Bus.addListener(\n \"flash\",\n ({ operation, type, message, closeable, duration }) => {\n if (operation === \"open\") {\n setVisibility(true);\n setMessage(message);\n setType(type);\n setCloseable(closeable);\n }\n\n if (operation === \"close\") {\n setVisibility(false);\n }\n\n if (duration) {\n setTimeout(() => {\n setVisibility(false);\n }, duration);\n }\n }\n );\n }, []);\n\n useEffect(() => {\n if (document.querySelector(\".close\") !== null) {\n document\n .querySelector(\".close\")\n .addEventListener(\"click\", () => setVisibility(false));\n }\n });\n const renderSwitch = (type, message, closeable) => {\n switch (type) {\n case \"progress\":\n return ;\n case \"danger\":\n return ;\n case \"warning\":\n return ;\n case \"primary\":\n return ;\n default:\n return null;\n }\n };\n return visibility && <>{renderSwitch(type, message, closeable)};\n}\n","import React, { useEffect, useState, useContext, useRef } from \"react\";\nimport styled from \"styled-components\";\nimport { InfoIcon } from \"assets/icons\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n SimpleSelect,\n DatePickerField,\n TimePickerField,\n Radio,\n RadioBlue,\n ErrorMessage,\n Checkbox,\n StyledTimePicker,\n} from \"ui/forms\";\nimport * as Yup from \"yup\";\nimport ErrorHandlingComponent from \"ui/ErrorHandingComponent\";\nimport JSONPretty from \"react-json-pretty\";\nimport moment from \"moment\";\nimport { UIContext } from \"context/UIContext\";\nimport { useUpdateSupplier } from \"mutations/updateSupplier\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { FieldArray } from \"formik\";\nconst StyledLabel = styled.span`\n font-family: Montserrat Alternates;\n text-align: left;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 8px;\n display: inline-block;\n`;\nconst ReminderSection = styled.div`\n /* input:not([type=\"checkbox\"]) {\n height: 13px;\n width: 28px;\n margin: 0px 5px;\n background: #3a3b48;\n border: 1px solid #707070;\n font-family: Montserrat Alternates;\n color: #909090;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n } */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n input:not([type=\"checkbox\"]) {\n height: 13px !important;\n padding: 8px !important;\n border-radius: 0px !important;\n margin: 0px 5px !important;\n font-size: 9px !important;\n background: #3a3b48;\n border: 1px solid #707070;\n font-family: Montserrat Alternates;\n color: #909090;\n -moz-appearance: textfield;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n }\n`;\nconst Section = styled.div`\n border-bottom: 1px solid #707070;\n padding: 10px;\n .range {\n font-family: Montserrat Alternates;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n .labels {\n font-family: Montserrat Alternates;\n font-size: 10px;\n line-height: 25px;\n color: rgba(255, 255, 255, 0.55);\n }\n .inner-div {\n display: flex;\n align-items: baseline;\n .form-field {\n margin-bottom: 0px;\n }\n }\n\n .modal-input {\n height: 25px !important;\n border-radius: 0px !important;\n margin: 0px 5px !important;\n font-size: 9px !important;\n }\n .align-right {\n text-align: right;\n }\n`;\nconst StyleTimePicker = styled.div`\n .form-field {\n margin-bottom: 0px;\n }\n label {\n display: none;\n }\n input {\n width: 90px !important;\n background: #232631 !important ;\n }\n`;\n\nconst HeadingText = styled.div`\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #808186;\n`;\n\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n }\n`;\nexport default function SupplierReminder({ nameFieldKey }) {\n const [errorMessage, setErrorMessage] = useState(\"\");\n\n return (\n <>\n \n \n
    \n Automatic Approval Reminders\n \n \n \n\n Days\n \n \n \n \n\n After Due Date\n \n \n \n \n Days\n \n \n \n \n \n\n \n \n \n \n \n \n \n Days\n \n \n\n {/* // \n // \n // */}\n \n \n
    \n
    \n \n \n If None Checked No Reminder\n \n
    \n
    \n \n );\n}\n","import React, { useState, useRef} from \"react\";\nimport { Col, Row, OverlayTrigger } from \"react-bootstrap\";\nimport { Form, InputwithLabel, Formik, SimpleSelect, Checkbox } from \"ui/forms\";\nimport { PlusIcon, IconDelete, InfoIcon } from \"assets/icons\";\nimport Tooltip from \"ui/Tooltip\";\nimport * as Yup from \"yup\";\nimport { BasicButton } from \"ui/Buttons\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport ToggleButtonComponent from \"ui/ToggleButton\";\nimport { FieldArray } from \"formik\";\nimport \"react-json-pretty/themes/monikai.css\";\nimport {\n ModalSection,\n StyledInputWithLabel,\n ApprovalReminders,\n ApprovalRemindersDiv,\n} from \".\";\nimport SupplierReminder from \"./SupplierReminder\";\nimport { Popover } from \"ui/Popover\";\nimport { forFutureRelease } from \"utils/Configs\";\n\nconst popover = (nameFieldKey) => (\n \n \n \n \n \n);\nexport default function SupplierForm() {\n const [conditionValue, setConditionValue] = useState(null);\n const set = new Set();\n const scrollRefs = useRef();\n scrollRefs.current?.scrollIntoView({ behavior: \"smooth\" });\n const data = React.useMemo(\n () => [\n {\n id: \"1\",\n supplier: \"Gitesh Shah 1\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n {\n id: \"2\",\n supplier: \"Gitesh Shah 2\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n {\n id: \"3\",\n supplier: \"Gitesh Shah 3\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n {\n id: \"4\",\n supplier: \"Gitesh Shah 4\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n {\n id: \"5\",\n supplier: \"Gitesh Shah 5\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n {\n id: \"6\",\n supplier: \"Gitesh Shah 6\",\n email: \"Sandeep@gmail.com\",\n city: \"India\",\n company: \"XYZ Company\",\n },\n ],\n []\n );\n\n const supplierMap = new Map();\n\n data.forEach((supplier) => {\n supplierMap.set(supplier.id, supplier);\n });\n\n return (\n {\n setSubmitting(true);\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n isValid,\n dirty,\n }) => (\n
    \n \n {/* */}\n \n \n
    \n Below\n \n \n \n \n USD\n \n
    \n \n \n
    \n {/* \n Days from Due date */}\n \n\n {forFutureRelease &&
    \n \n
    }\n \n
    \n \n
    \n
    \n\n (\n //let supplierSet = new Set()\n
    \n {values.conditions &&\n values.conditions.length > 0 &&\n values.conditions?.map((condition, index) => {\n let previousValue = null;\n if (index == 0) {\n previousValue = values.initialValues?.value;\n setConditionValue(previousValue);\n } else {\n previousValue = values.conditions[index - 1].value;\n setConditionValue(previousValue);\n }\n\n return (\n \n \n \n \n
    \n \n From {previousValue} USD to\n \n \n \n \n \n USD\n \n
    \n \n \n
    \n \n {forFutureRelease &&
    \n \n
    }\n \n arrayHelpers.remove(index)}\n style={{\n background: \"none\",\n border: \"none\",\n }}\n >\n \n \n
    \n \n
    \n\n \n \n \n \n \n Approval Reminders\n \n \n \n
    \n {\n setFieldValue(\n `conditions[${index}].approvalReminder`,\n value\n );\n if (!value) {\n setFieldValue(\n `conditions[${index}].reminder`,\n {}\n );\n }\n }}\n />\n
    \n \n
    \n \n \n\n \n Action\n \n \n \n {values.conditions[index].users?.map((value) => {\n return (\n <>\n \n \n {\" \"}\n \n \n {\" \"}\n {value.supplier}\n \n \n \n {\n set.delete(value);\n setFieldValue(\n `conditions[${index}].users`,\n Array.from(set)\n );\n }}\n style={{\n background: \"none\",\n border: \"none\",\n }}\n >\n \n \n \n \n \n \n );\n })}\n\n \n \n \n
    \n {\n return {\n value: option.id,\n label: option.supplier,\n };\n })}\n style={{ width: \"150px\" }}\n onChange={(event) => {\n set.add(\n supplierMap.get(event.target.value)\n );\n\n setFieldValue(\n `conditions[${index}].users`,\n Array.from(set)\n );\n }}\n />\n\n {/* */}\n\n \n \n Add\n \n
    \n \n \n
    \n
    \n \n \n );\n })}\n\n \n \n
    \n \n arrayHelpers.push({\n value: null,\n users: [],\n reminder: {},\n approvalRequired: false,\n approvalReminder: false,\n })\n }\n style={{\n background: \"none\",\n border: \"none\",\n }}\n >\n \n \n Add Conditions\n \n \n
    \n \n
    \n \n )}\n />\n \n \n \n Save\n \n \n Cancel\n \n \n \n \n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport styled, { css } from \"styled-components\";\nimport { Row, Col } from \"react-bootstrap\";\n\nimport { Modal as BSModal } from \"react-bootstrap\";\nimport { ReceivablesIcon } from \"assets/icons.js\";\nimport CrossIcon from \"assets/icon-cross.svg\";\n\nexport const StyledModal = styled.div`\n .modal-text {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 0px;\n color: #909090;\n opacity: 1;\n margin-bottom: 0px;\n }\n .name {\n height: 29px;\n background-color: rgba(255, 255, 255, 0.18);\n border: 1px solid #707070;\n }\n .data {\n height: 29px;\n border-bottom: 1px solid #707070;\n }\n .modal-header {\n padding: 1rem 1rem;\n border-bottom: 1px solid #707070 !important;\n margin: 10px;\n .modal-body {\n padding: 0rem 1rem;\n }\n h1 {\n font-family: Montserrat Alternates-Bold;\n text-align: left;\n font-size: 18px;\n line-height: 22px;\n color: #ffffff;\n }\n }\n`;\nexport const Modal = styled(BSModal)`\n /* z-index: 77788; */\n\n .modal-content {\n background-color: #3a3b48;\n opacity: 1;\n }\n .modal-header {\n border-bottom: none;\n padding-bottom: 0;\n .btn-close {\n font-size: 20px;\n color: white !important;\n background-image: url(${CrossIcon});\n }\n h3 {\n font-family: Montserrat Alternates-Bold;\n font-size: 18px;\n line-height: 22px;\n letter-spacing: 0px;\n color: #ffffff;\n margin-top: 5px;\n }\n .exportdiv {\n width: 57px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n margin: 0px 15px;\n text-align: center;\n padding: 5px;\n cursor: pointer;\n svg {\n path {\n fill: #33c2df;\n }\n }\n }\n }\n .modal-body {\n .upper-section {\n border-top: 1px solid #d0d0d0;\n border-bottom: 1px solid #d0d0d0;\n padding: 17px;\n p {\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #909090;\n margin-bottom: 5px;\n }\n .total-value {\n text-align: left;\n font-size: 22px;\n line-height: 27px;\n font-family: Montserrat Alternates-Bold;\n letter-spacing: 0px;\n color: #ffffff;\n }\n label {\n display: block;\n text-align: left;\n font-size: 13px;\n line-height: 14px;\n font-family: Montserrat Alternates-Medium;\n letter-spacing: 0px;\n color: #33c2df;\n opacity: 1;\n }\n span {\n left: 200px;\n }\n }\n .graph-section {\n .graph-filters {\n text-align: center;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 14px;\n letter-spacing: 0px;\n color: #909090;\n margin-top: 15px;\n }\n }\n }\n`;\n\n// function Modal() {\n// const [show, setShow] = useState(true);\n// return (\n// <>\n// setShow(false)} size=\"lg\" centered>\n// \n//

    SDF microchips

    \n//
    \n// \n//
    \n//
    \n// \n//
    \n// \n// \n//

    Customer since

    \n// 1990\n// \n// \n//

    Total Orders

    \n// $30,890,000\n// \n// \n// \n//

    Paid on Time

    \n// 10%\n// \n// \n//
    \n//
    \n//
    \n//
    \n// \n// );\n// }\n// export default Modal;\n","import moment from \"moment\";\nexport const applicationDate = moment().format(\"YYYY-MM-DD\");\n","import React, { useState, useRef, useEffect, useCallback } from \"react\";\nimport axios from \"axios\";\nimport { ArrowDownWhiteIcon } from \"assets/icons.js\";\nimport Select, { components } from \"react-select\";\n\nconst IndicatorsContainer = (props) => {\n return (\n \n \n \n );\n};\n\nconst customStyles = {\n control: (base) => ({\n ...base,\n background: \"#232631 0% 0% no-repeat padding-box\",\n borderRadius: 0,\n borderColor: \"#FFFFFF\",\n boxShadow: null,\n minHeight: \"25px\",\n height: \"25px\",\n \"&:hover\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n \"&:focus\": {\n background: \"#3a3b48 0% 0% no-repeat padding-box\",\n },\n }),\n input: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n margin: 0,\n color: \" #FFFFFF\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n dropdownIndicator: (base) => ({\n ...base,\n paddingTop: 0,\n paddingBottom: 0,\n paddingRight: \"8px\",\n paddingLeft: 0,\n }),\n option: (base, { isFocused }) => ({\n ...base,\n color: \"#ffffff69\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"0px solid #FFFFFF\",\n borderRadius: \"0px\",\n height: \"25px\",\n background: isFocused ? \"#3a3b48\" : \"#232631 0% 0% no-repeat padding-box\",\n display: \"flex\",\n alignItems: \"center\",\n }),\n valueContainer: (base) => ({\n ...base,\n color: \"#FFFFFF\",\n paddingTop: 0,\n }),\n placeholder: (base) => ({\n ...base,\n color: \" #FFFFFF\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n\n singleValue: (base) => ({\n ...base,\n color: \" #FFFFFF\",\n textAlign: \"left\",\n fontFamily: \"Montserrat Alternates-semiBold\",\n fontSize: \"11px\",\n }),\n menu: (base) => ({\n ...base,\n borderRadius: 0,\n margin: 0,\n padding: 0,\n background: \"#232631 0% 0% no-repeat padding-box\",\n boxShadow: \"0px 3px 46px #00000029\",\n border: \"1px solid #FFFFFF\",\n color: \"#FFFFFF\",\n }),\n};\nexport default function FilterSelect({\n options,\n value,\n onChange,\n placeholder = \"Search & Select\",\n name = \"business\",\n}) {\n return (\n null,\n }}\n options={options}\n />\n );\n}\n","import axios from \"axios\"\n\nexport const EventLogs = async (event) => {\n try {\n const sessionId = sessionStorage.getItem(\"logId\")\n let ipInfo = sessionStorage.getItem(\"ipInfo\")\n const platForm = navigator.userAgentData.platform\n const browser = navigator.userAgentData.brands[0].brand\n const { customerEmail, eventId, tenant, eventType,name,events } = event\n\n\n ipInfo = JSON.parse(ipInfo)\n\n let addEventDataSet = {\n tenant: tenant,\n user: customerEmail ? customerEmail:\"guest\",\n eventId,\n metaData: { ipInfo,...events },\n source: eventType,\n browser,\n ip: ipInfo?.ip,\n device: platForm,\n sessionId,\n name\n }\n const url = process.env.REACT_APP_LAMBDA_EVENT_URL;\n\n await axios.post(url, addEventDataSet)\n\n } catch (err) {\n console.log(err)\n }\n}\n\n\n\nexport const GetIpInfo = ()=>{\n const responseLPromise = fetch(\n process.env.REACT_APP_IP_GEO_ENDPOINT +\n \"?apiKey=\" +\n process.env.REACT_APP_IP_GEO_KEY\n );\n \n \n Promise.all([responseLPromise])\n .then(async ([responseL]) => {\n const dataL = await responseL.json();\n sessionStorage.setItem('ipInfo',JSON.stringify(dataL))\n })\n .catch((error) => {\n console.error(\"Error fetching data:\", error);\n });\n}","import styled from \"styled-components\";\n\nexport const StyledDiv = styled.div`\n position: relative;\n svg {\n position: absolute;\n top: 14px;\n left: 20px;\n }\n`;\nexport const StyledInput = styled.input`\n height: 40px;\n width: 217px;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n opacity: 1;\n text-align: center;\n ::placeholder {\n color: white;\n }\n &:focus {\n outline: none;\n ::placeholder {\n color: transparent;\n }\n }\n`;","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport EmailTemplateService from \"services/emailTemplate.services\";\n\nexport const useCreateACustomerTemplate = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => EmailTemplateService.postCreateACutomerTemplate(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Created a customer template.\");\n },\n });\n};\n\nexport const useUpdateACustomerTemplate = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => EmailTemplateService.postUpdateACutomerTemplate(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Updated customer template.\");\n },\n });\n};\nexport const useDeleteACustomerTemplate = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => EmailTemplateService.postDeleteACutomerTemplate(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Updated customer template.\");\n },\n });\n};\nexport const useAssignATemplateToCustomer = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => EmailTemplateService.postAssignATemplateToCustomer(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Template assigned to customer.\");\n },\n });\n};\nexport const useAssignATemplateToAllCustomersOfCustomertype = () => {\n const queryClient = useQueryClient();\n return useMutation((payload) => EmailTemplateService.postAssignATemplateToAllCustomersOfCustomertype(payload), {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"Template assigned to all customer types.\");\n },\n });\n};\n","import { getUser } from \"services/user.service\";\nimport { useQuery } from \"react-query\";\n\nexport const useUser = (id) => {\n return useQuery([\"user\", id], () => getUser(id), {\n keepPreviousData: true,\n staleTime: 60 * 60 * 1000,\n });\n};\n","import axios from \"utils/APIv2\";\n\nexport const updateUserProfile = async (values) => {\n const payloadTransformation = (object) => {\n Object.keys(object).forEach((mkey) => {\n Object.keys(object[mkey]).forEach((key) => {\n if (object[mkey][key] === \"\") {\n object[mkey][key] = null;\n }\n });\n });\n return object;\n };\n\n const FormattedUpdateFormData = (values) => {\n let formData = new FormData();\n let profileDetails = {\n givenName: values.firstName,\n familyName: values.lastName,\n phoneNumber: values.mobile,\n email: values.email,\n timeRangePreferences: values.timeRangePreferences,\n customRangeValue: values.customrange,\n cashThreshold: payloadTransformation(values.cashThreshold),\n ordersThreshold: payloadTransformation(values.ordersThreshold),\n receivablesThreshold: payloadTransformation(values.receivablesThreshold),\n payablesThreshold: payloadTransformation(values.payablesThreshold),\n collectionsThreshold: payloadTransformation(values.collectionsThreshold),\n };\n\n formData.append(\"data\", JSON.stringify(profileDetails));\n formData.append(\"file\", values.profileImage);\n\n return formData;\n };\n\n const newFormData = FormattedUpdateFormData(values);\n\n return await axios.patch(`/user-profile`, newFormData);\n};\n\nexport const getProfile = async () => {\n const res = await axios.get(`/profile`);\n\n const responseTransformation = (object) => {\n Object.keys(object).forEach((mkey) => {\n Object.keys(object[mkey]).forEach((key) => {\n if (object[mkey][key] === null) {\n object[mkey][key] = \"\";\n }\n });\n });\n return object;\n };\n\n const transformedValues = {\n bucketUrl: res.data.bucketUrl,\n business: res.data.business,\n cashThreshold: responseTransformation(res.data.cashThreshold),\n collectionsThreshold: responseTransformation(res.data.collectionsThreshold),\n createdAt: res.data.createdAt,\n customRangeValue: res.data.customRangeValue,\n dashboardPreferences: res.data.dashboardPreferences,\n email: res.data.email,\n familyName: res.data.familyName,\n givenName: res.data.givenName,\n ordersThreshold: responseTransformation(res.data.ordersThreshold),\n payablesThreshold: responseTransformation(res.data.payablesThreshold),\n permissions: res.data.permissions,\n phoneNumber: res.data.phoneNumber,\n receivablesThreshold: responseTransformation(res.data.receivablesThreshold),\n role: res.data.role,\n status: res.data.status,\n timeRangePreferences: res.data.timeRangePreferences,\n updatedAt: res.data.updatedAt,\n billingAddress: res.data.billingAddress,\n creditToken: res.data?.creditToken,\n debitToken: res.data?.debitToken,\n __v: res.data.__v,\n _id: res.data._id,\n };\n return transformedValues;\n};\nexport const getRoles = async () => {\n return await axios.get(`/roles`);\n};","import axios from \"utils/APIv2\";\nexport const getDepartments = async (params) => {\n const res = await axios.get(`/departments`, { params });\n return res.data;\n};\n\nexport const updateDepartments = async (payload) => {\n const res = await axios.post(`/departments`, payload);\n return res.data;\n};\n","import React, { useEffect, useRef } from \"react\";\nimport styled from \"styled-components\";\nimport { InfoIcon } from \"assets/icons\";\nimport {\n Form,\n InputwithLabel,\n Formik,\n TimePickerField,\n Checkbox,\n} from \"ui/forms\";\nimport moment from \"moment\";\nimport { BasicButton } from \"ui/Buttons\";\nimport { useState } from \"react\";\nimport axios from \"utils/APIv2\";\nimport {\n ManageSettingsData,\n ManageSettingsDataAdd,\n} from \"mutations/adddiscount\";\nimport Tooltip from \"ui/Tooltip\";\n\nconst ReminderSection = styled.div`\n /* input:not([type=\"checkbox\"]) {\n height: 13px;\n width: 28px;\n margin: 0px 5px;\n background: #3a3b48;\n border: 1px solid #707070;\n font-family: Montserrat Alternates;\n color: #909090;\n &:focus {\n border: 1px solid #707070;\n outline: none;\n color: #3a3b48;\n background-color: #ffffff;\n }\n } */\n\n input:not([type=\"checkbox\"]) {\n height: 13px !important;\n padding: 8px !important;\n border-radius: 0px !important;\n margin: 0px 5px !important;\n font-size: 9px !important;\n }\n`;\nconst StyleTimePicker = styled.div`\n .form-field {\n margin-bottom: 0px;\n }\n label {\n display: none;\n }\n input {\n width: 90px !important;\n background: #232631 !important ;\n }\n`;\n\nconst HeadingText = styled.div`\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n color: #808186;\n`;\nconst Section = styled.div`\n border-bottom: 1px solid #707070;\n padding: 10px;\n padding-top: 2px;\n`;\nconst CheckboxWrapper = styled.div`\n display: flex;\n align-items: baseline;\n input {\n background: transparent 0% 0% no-repeat padding-box !important;\n color: #808186 !important;\n }\n input[type=\"checkbox\"] {\n margin-bottom: -3px;\n margin-right: 5px;\n background: transparent 0% 0% no-repeat padding-box;\n &:after {\n color: transparent;\n }\n &:checked {\n &:after {\n color: #33c2df;\n }\n }\n }\n`;\nexport default function CustomerReminder({\n customer,\n childFunc,\n handleReminderSettings,\n handleReminderDefaults,\n errorMessage,\n initialValues,\n closeModal,\n childEmailCheck,\n parentRecord,\n}) {\n const formRef = useRef();\n const isEmailTemplateSelected = customer?.preferences?.emailTemplateId;\n const fetchData = ManageSettingsData();\n const dataAdd = ManageSettingsDataAdd();\n const [beforeCheckvalue, setBeforeCheckvalue] = useState(false);\n const [beforeDueDatedays, setbeforeDueDatedays] = useState(null);\n\n const [onDueDateCheckvalue, setOnDueDateCheckvalue] = useState(false);\n const [isAfterDueDateCheckvalue, setIsAfterDueDateCheckvalue] =\n useState(false);\n const [isOnSelectedDateValue, setIsOnSelectedDateValue] = useState(false);\n const [isParentOnlyEnable, setIsParentOnlyEnable] = useState(false);\n const [isOnSelectedDayOfWeekValue, setIsOnSelectedDayOfWeekValue] =\n useState(false);\n\n // const [isPerodicDailyCheckvalue, setIsPerodicDailyCheckvalue] =\n // useState(false);\n // const [isPerodicWeeklyCheckvalue, setisPerodicWeeklyCheckvalue] =\n // useState(false);\n // const [periodicWeeklydays, setperiodicWeeklydays] = useState(null);\n // const [periodicWeeklyhrs, setperiodicWeeklyhrs] = useState(null);\n // const [periodicWeeklymins, setperiodicWeeklymins] = useState(null);\n // const [selectFixedTime, seselectFixedTime] = useState(null);\n // const [perodicDailymins, setperodicDailymins] = useState(null);\n // const [perodicDailyhrs, setperodicDailyhrs] = useState(null);\n\n const [afterDueDatedy, setafterDueDatedy] = useState(null);\n const [onSelectedDueDate, setOnSelectedDueDate] = useState(null);\n const [onSelectedDueDayOfWeek, setOnSelectedDueDayOfWeek] =\n useState(\"monday\");\n\n const daysArray = [\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n \"Sunday\",\n ];\n\n const [reminderRowData, setreminderRowData] = useState(null);\n const [children, setChildren] = useState([]);\n\n useEffect(() => {\n apiCall();\n }, []);\n\n const apiCall = async () => {\n try {\n let body = {\n customer_id: customer?.Id,\n };\n\n let res = await fetchData.mutateAsync({ body });\n if (res && res?.data?.data) {\n setreminderRowData(res?.data?.data);\n setBeforeCheckvalue(\n res?.data?.data?.beforeDueDate?.isBeforeDueDate ? true : false\n );\n setbeforeDueDatedays(\n res?.data?.data?.beforeDueDate?.days\n ? res?.data?.data?.beforeDueDate?.days\n : 1\n );\n\n setOnDueDateCheckvalue(res?.data?.data?.onDueDate ? true : false);\n\n setIsAfterDueDateCheckvalue(\n res?.data?.data?.afterDueDate?.isAfterDueDate\n );\n setafterDueDatedy(\n res?.data?.data?.afterDueDate?.days\n ? res?.data?.data?.afterDueDate?.days\n : 1\n );\n\n setIsOnSelectedDateValue(\n res?.data?.data?.customerLevel?.isOnSelectedDate\n );\n setIsOnSelectedDayOfWeekValue(\n res?.data?.data?.customerLevel?.isOnSelectedDayOfWeek\n );\n setOnSelectedDueDate(\n res?.data?.data?.customerLevel?.monthDate\n ? res?.data?.data?.customerLevel?.monthDate\n : 1\n );\n setOnSelectedDueDayOfWeek(\n res?.data?.data?.customerLevel?.weekdays.toLocaleLowerCase()\n ? res?.data?.data?.customerLevel?.weekdays.toLocaleLowerCase()\n : \"monday\"\n );\n setIsParentOnlyEnable(res?.data?.data?.isParentOnlyEnable);\n // setIsPerodicDailyCheckvalue(res?.data?.data?.afterDueDate.perodicDaily);\n // setperodicDailyhrs(res?.data?.data?.afterDueDate.selectFixedDayTimeHour);\n // setperodicDailymins(res?.data?.data?.afterDueDate.selectFixedDayTimeMins);\n // setisPerodicWeeklyCheckvalue(res?.data?.data?.afterDueDate.periodicWeekly);\n // setperiodicWeeklydays(res?.data?.data?.afterDueDate.selectFixedTimeDay.toLocaleLowerCase());\n // setperiodicWeeklyhrs(res?.data?.data?.afterDueDate.selectFixedTimeHour);\n // setperiodicWeeklymins(res?.data?.data?.afterDueDate.selectFixedTimeMins);\n }\n if (res?.data?.childrens) {\n setChildren(res?.data?.childrens ? res?.data?.childrens : []);\n }\n } catch (error) {\n console.log(error);\n }\n };\n\n useEffect(() => {\n if (childFunc) {\n childFunc.current = handleSubmit;\n }\n }, []);\n\n const handleSubmit = () => {};\n\n return (\n <>\n {\n {\n handleReminderDefaults && handleReminderDefaults(values);\n }\n\n const body = {\n _id: reminderRowData?._id ? reminderRowData._id : undefined,\n customer_id: customer?.Id,\n counterPartyId: customer?.Id,\n\n manageSettings: {\n onDueDate: onDueDateCheckvalue,\n beforeDueDate: {\n isBeforeDueDate: beforeCheckvalue,\n days: +beforeDueDatedays,\n },\n afterDueDate: {\n days: +afterDueDatedy,\n isAfterDueDate: isAfterDueDateCheckvalue,\n // perodicDaily: isPerodicDailyCheckvalue,\n // periodicWeekly: isPerodicWeeklyCheckvalue,\n // selectFixedTimeDay: periodicWeeklydays,\n // selectFixedTimeHour: +periodicWeeklyhrs,\n // selectFixedTimeMins: +periodicWeeklymins,\n // selectFixedDayTimeHour: +perodicDailyhrs,\n // selectFixedDayTimeMins: +perodicDailymins\n },\n customerLevel: {\n isOnSelectedDate: isOnSelectedDateValue,\n isOnSelectedDayOfWeek: isOnSelectedDayOfWeekValue,\n weekdays: onSelectedDueDayOfWeek,\n monthDate: +onSelectedDueDate,\n },\n isParentOnlyEnable: isParentOnlyEnable,\n },\n\n // isbefore_due_date: beforeCheckvalue,\n // before_due_date_days: beforeDueDatedays,\n\n // is_on_due_date: onDueDateCheckvalue,\n\n // isAfterDueDate: isAfterDueDateCheckvalue,\n // after_due_date_days: afterDueDatedy,\n\n // isPerodicDaily: isPerodicDailyCheckvalue,\n // perodicDaily_hrs: perodicDailyhrs,\n // perodicDaily_mins: perodicDailymins,\n\n // isPerodicWeekly: isPerodicWeeklyCheckvalue,\n // perodicWeekly_days: periodicWeeklydays,\n // perodicWeekly_hrs: periodicWeeklyhrs,\n // perodicWeekly_mins: periodicWeeklymins,\n };\n // const res = await axios.post(`/customers/add/supplierssetting`, body);\n\n let res = await dataAdd.mutateAsync({ body });\n closeModal();\n }}\n >\n {({\n values,\n errors,\n touched,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n dirty,\n isValid,\n }) => (\n
    \n {(customer && customer?.email) || childEmailCheck ? (\n \n <>\n
    \n Automatic Email Reminders\n\n {/*******************************Before the Due date*************************************** */}\n\n \n {\n if (e.target.checked === true) {\n setBeforeCheckvalue(true);\n } else {\n setBeforeCheckvalue(false);\n }\n }}\n />\n {/* */}\n\n {\n setbeforeDueDatedays(e.target.value);\n }}\n />\n\n \n \n\n {/*******************************On Due date section*************************************** */}\n\n \n {\n if (e.target.checked === true) {\n setOnDueDateCheckvalue(true);\n } else {\n setOnDueDateCheckvalue(false);\n }\n }}\n />\n \n \n\n {/*******************************After Due Date*************************************** */}\n\n After Due Date\n \n \n {\n if (e.target.checked === true) {\n setIsAfterDueDateCheckvalue(true);\n } else {\n setIsAfterDueDateCheckvalue(false);\n }\n }}\n />\n \n\n {\n setafterDueDatedy(e.target.value);\n }}\n />\n \n \n {/* \n {\n if (e.target.checked === true) {\n setIsPerodicDailyCheckvalue(true);\n } else {\n setIsPerodicDailyCheckvalue(false);\n }\n }}\n />\n \n {\" \"}\n Periodic Daily.\n \n\n \n {\n setperodicDailyhrs(e.target.value);\n }}\n />\n\n {\n setperodicDailymins(e.target.value);\n }}\n />\n \n \n\n \n {\n if (e.target.checked === true) {\n setisPerodicWeeklyCheckvalue(true);\n } else {\n setisPerodicWeeklyCheckvalue(false);\n }\n }}\n />\n \n {\" \"}\n Periodic Weekly.\n \n {\n setperiodicWeeklydays(e.target.value);\n }}\n >\n {daysArray.map((elem) => (\n \n ))}\n \n Days\n\n \n {\n setperiodicWeeklyhrs(e.target.value);\n }}\n />\n\n {\n setperiodicWeeklymins(e.target.value);\n }}\n />\n \n */}\n \n Customer Level\n \n {\n if (e.target.checked === true) {\n setIsOnSelectedDateValue(true);\n } else {\n setIsOnSelectedDateValue(false);\n }\n }}\n />\n\n \n {\n setOnSelectedDueDate(e.target.value);\n }}\n />\n \n \n\n \n {\n if (e.target.checked === true) {\n setIsOnSelectedDayOfWeekValue(true);\n } else {\n setIsOnSelectedDayOfWeekValue(false);\n }\n }}\n />\n\n {\n setOnSelectedDueDayOfWeek(e.target.value);\n }}\n >\n {daysArray.map((elem) => (\n \n ))}\n \n \n \n {parentRecord && (\n \n {\n if (e.target.checked === true) {\n setIsParentOnlyEnable(true);\n } else {\n setIsParentOnlyEnable(false);\n }\n }}\n />\n Enable email for parent only\n \n )}\n
    \n
    \n \n \n If None checked, No reminders are set\n \n {(isEmailTemplateSelected === \"\" ||\n isEmailTemplateSelected === undefined ||\n isEmailTemplateSelected === null) && (\n \n \n No Template is selected, select a template first\n \n )}\n {children.length > 1 ? (\n \n \n \n {customer.company} have {children.length} children\n \n ) : null}\n
    \n \n Save\n \n \n
    \n ) : (\n <>\n \n \n Email id is missing.\n \n \n \n )}\n
    \n )}\n \n \n );\n}\n","import React from \"react\";\nimport { useQueryClient, useMutation } from \"react-query\";\nimport { updateSupplier } from \"services/supplier.services\";\n\nexport const useUpdateSupplier = () => {\n const queryClient = useQueryClient();\n return useMutation(\n ({ supplierId, values }) => updateSupplier(supplierId, values),\n {\n onSuccess: (res) => {\n queryClient.invalidateQueries(\"suppliers\");\n },\n }\n );\n};\n","import axios from \"utils/APIv2\";\n\nexport const getCash = async () => {\n const res = await axios.get(`/dashboard/cash`);\n return res.data;\n};\n\nexport const getOrders = async () => {\n const res = await axios.get(`/dashboard/order`);\n return res.data;\n};\n\nexport const getPayables = async () => {\n const res = await axios.get(`/dashboard/payable`);\n return res.data;\n};\nexport const getReceivables = async () => {\n const res = await axios.get(`/dashboard/receivable`);\n return res.data;\n};\nexport const getCollections = async () => {\n const res = await axios.get(`/dashboard/collection`);\n return res.data;\n};\n\nexport const getReceivableForcast = async () => {\n const res = await axios.get(`/dashboard/receivable-forecast`);\n return res.data;\n};\nexport const getOrderForcast = async () => {\n const res = await axios.get(`/dashboard/order-forecast`);\n return res.data;\n};\nexport const getPayableForcast = async () => {\n const res = await axios.get(`/dashboard/payable-forecast`);\n return res.data;\n};\nexport const getCashForcast = async () => {\n const res = await axios.get(`/dashboard/cash-forecast`);\n return res.data;\n};\n\nexport const getDaysSalesOutstanding = async () => {\n const res = await axios.get(`/dashboard/days-sales-outstanding`);\n return res.data;\n};\nexport const getDaysPayablesOutstanding = async () => {\n const res = await axios.get(`/dashboard/days-payables-outstanding`);\n return res.data;\n};\n\nexport const getNetCashGraph = async () => {\n const res = await axios.get(`/dashboard/netcash/graph`);\n return res.data;\n};\n\nexport const getPaymentTermsPayables = async () => {\n const res = await axios.get(`/dashboard/payment-term-payable`);\n return res.data;\n};\nexport const getPaymentTermsReceivables = async () => {\n const res = await axios.get(`/dashboard/payment-term-receivable`);\n return res.data;\n};\n\nexport const getTopCustomersHighestOutstanding = async () => {\n const res = await axios.get(`/dashboard/top-customer-highest-outstanding`);\n return res.data;\n};\nexport const getTopCustomersHighestOrder = async () => {\n const res = await axios.get(`/dashboard/top-customer-highest-order`);\n return res.data;\n};\nexport const getTopSuppliersHighestOutstanding = async () => {\n const res = await axios.get(`/dashboard/top-supplier-highest-outstanding`);\n return res.data;\n};\nexport const getTopSuppliersHighestOrder = async () => {\n const res = await axios.get(`/dashboard/top-supplier-highest-order`);\n return res.data;\n};\nexport const getReceivablesAging = async () => {\n const res = await axios.get(`/dashboard/receivable-aging`);\n return res.data;\n};\nexport const getPayablesAging = async () => {\n const res = await axios.get(`/dashboard/payable-aging`);\n return res.data;\n};\n\nexport const getInsights = async () => {\n const res = await axios.get(`/dashboard/insights`);\n return res.data.data;\n};\nexport const getCollectionEffectiveness = async () => {\n const res = await axios.get(`/dashboard/collection-effectiveness`);\n return res.data;\n};\nexport const getPaymentProcessing = async () => {\n const res = await axios.get(`/dashboard/payment-processing`);\n return res.data.data;\n};\n","import { useQuery } from \"react-query\";\nimport {\n getCash,\n getOrders,\n getPayables,\n getCashForcast,\n getCollectionEffectiveness,\n getCollections,\n getDaysPayablesOutstanding,\n getDaysSalesOutstanding,\n getInsights,\n getNetCashGraph,\n getOrderForcast,\n getPayableForcast,\n getPayablesAging,\n getPaymentProcessing,\n getPaymentTermsPayables,\n getPaymentTermsReceivables,\n getReceivableForcast,\n getReceivables,\n getReceivablesAging,\n getTopCustomersHighestOrder,\n getTopCustomersHighestOutstanding,\n getTopSuppliersHighestOrder,\n getTopSuppliersHighestOutstanding,\n} from \"services/stats.services\";\n\nexport const useCash = () => {\n return useQuery(\"cash\",() => getCash());\n};\n\n\nexport const useOrders = () => {\n return useQuery(\"orders\", () =>getOrders());\n};\n\nexport const usePayables = () => {\n return useQuery(\"payables\", () =>getPayables());\n};\n\nexport const useReceivables = () => {\n return useQuery(\"receivables\",() => getReceivables());\n};\n\nexport const useCollections = () => {\n return useQuery(\"collections\",() => getCollections());\n};\n\nexport const useReceivableForcast = () => {\n return useQuery(\"receivableForcast\", () => getReceivableForcast());\n};\n\nexport const useOrderForcast = () => {\n return useQuery(\"orderForcast\",() => getOrderForcast());\n};\n\nexport const usePayableForcast = () => {\n return useQuery(\"payableForcast\",() => getPayableForcast());\n};\n\nexport const useCashForcast = () => {\n return useQuery(\"cashForcast\", () => getCashForcast());\n};\n\nexport const useDaysSalesOutstanding = () => {\n return useQuery(\"daysSalesOutstanding\",() => getDaysSalesOutstanding());\n};\n\nexport const useDaysPayablesOutstanding = () => {\n return useQuery(\"daysPayablesOutstanding\",() => getDaysPayablesOutstanding());\n};\n\nexport const useNetCashGraph = () => {\n return useQuery(\"netcash\", getNetCashGraph);\n};\n\nexport const usePaymentTermsPayables = () => {\n return useQuery(\"paymentTermsPayables\", () => getPaymentTermsPayables());\n};\n\nexport const usePaymentTermsReceivables = () => {\n return useQuery(\"paymentTermsReceivables\",() => getPaymentTermsReceivables());\n};\n\nexport const useTopCustomersHighestOutstanding = () => {\n return useQuery(\n \"topCustomersHighestOutstanding\",() => \n getTopCustomersHighestOutstanding()\n );\n};\n\nexport const useTopCustomersHighestOrder = () => {\n return useQuery(\"topCustomersHighestOrder\",() => getTopCustomersHighestOrder());\n};\n\nexport const useTopSuppliersHighestOutstanding = () => {\n return useQuery(\n \"topSuppliersHighestOutstanding\",() => \n getTopSuppliersHighestOutstanding()\n );\n};\n\nexport const useTopSuppliersHighestOrder = () => {\n return useQuery(\"topSuppliersHighestOrder\",() => getTopSuppliersHighestOrder());\n};\n\nexport const useReceivablesAging = () => {\n return useQuery(\"receivablesAging\",() => getReceivablesAging());\n};\n\nexport const usePayablesAging = () => {\n return useQuery(\"payablesAging\", () => getPayablesAging());\n};\nexport const useInsights = () => {\n return useQuery(\"insights\", getInsights);\n};\n\nexport const useCollectionEffectiveness = () => {\n return useQuery(\"collectionEffectiveness\", () => getCollectionEffectiveness());\n};\n\nexport const usePaymentProcessing = () => {\n return useQuery(\"paymentProcessing\",() => getPaymentProcessing());\n};\n","import React, { useState, useEffect } from \"react\";\nimport \"react-dates/initialize\";\nimport { DateRangePicker } from \"react-dates\";\nimport \"react-dates/lib/css/_datepicker.css\";\nimport { CalendarIcon, ArrowDownIcon, IconCross } from \"assets/icons.js\";\nimport styled from \"styled-components\";\nimport moment from \"moment\";\n\nconst StyledDateRangePickerUI = styled.div`\n font-family: Montserrat Alternates-semiBold;\n font-size: 15px;\n line-height: 13px;\n width: 100%;\n svg {\n cursor: pointer;\n font-size: 16px;\n vertical-align: top;\n }\n input {\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 13px;\n color: #777980;\n vertical-align: top;\n padding: 5px;\n padding-top: 8px;\n padding-left: 10px;\n background-color: #232631;\n }\n .DateRangePickerInput {\n background-color: #232631;\n display: inline-block;\n border: 1px solid #707070;\n height: 30px;\n }\n .DateRangePickerInput__showClearDates {\n padding-right: 0px;\n }\n .DateInput {\n width: 128px;\n vertical-align: top;\n }\n .DateInput_input__focused {\n border-bottom: 2px solid #e5eced;\n }\n .DateRangePickerInput_arrow_svg {\n vertical-align: top;\n fill: #8e8686;\n height: 24px;\n width: 24px;\n }\n .DateRangePicker_picker__directionLeft {\n left: 50px;\n }\n .CalendarMonth_caption {\n color: #484848;\n font-size: 18px;\n text-align: center;\n padding-top: 32px;\n padding-bottom: 37px;\n caption-side: initial;\n }\n\n .DateRangePickerInput_arrow {\n display: inline-block;\n vertical-align: top;\n color: #a19191;\n }\n .DateRangePickerInput__showClearDates {\n padding-right: 30px;\n }\n .DateRangePickerInput_calendarIcon {\n background: 0 0;\n border: 0;\n color: inherit;\n font: inherit;\n line-height: normal;\n overflow: visible;\n cursor: pointer;\n padding: 10px;\n margin: 0 10px 0 5px;\n position: absolute;\n top: 50%;\n right: 6%;\n transform: translateY(-50%);\n }\n .DateRangePickerInput_clearDates {\n right: 0%;\n padding: 3px;\n }\n .CalendarDay__selected_span {\n background: #232631; //background\n color: white; //text\n border: 1px solid $light-red; //default styles include a border\n }\n`;\nexport default function DateRangePickerUI({\n handleDate,\n childFunc,\n startDate,\n endDate,\n focusedInput,\n setFocusedInput,\n setStartDate,\n setEndDate,\n}) {\n // const [startDate, setStartDate] = useState(null);\n // const [endDate, setEndDate] = useState(null);\n // const [focusedInput, setFocusedInput] = useState(null);\n\n // useEffect(() => {\n // if (childFunc) {\n // childFunc.current = handleClear;\n // }\n // }, []);\n // const handleClear = () => {\n // setStartDate(null);\n // setEndDate(null);\n // };\n return (\n <>\n \n {\n setStartDate(startDate);\n setEndDate(endDate);\n handleDate(moment(startDate).toDate(), moment(endDate).toDate());\n }}\n isOutsideRange={() => false}\n // initialVisibleMonth={() => moment().subtract(2, \"M\")}\n // isOutsideRange ={ day => day.isAfter(moment()) || day.isBefore(moment().subtract(2, \"Y\"))}\n focusedInput={focusedInput}\n startDatePlaceholderText=\"MM/DD/YYYY\"\n endDatePlaceholderText=\"MM/DD/YYYY\"\n onFocusChange={(e) => setFocusedInput(e)}\n displayFormat=\"MM/DD/YYYY\"\n showClearDates={true}\n customCloseIcon={}\n customInputIcon={}\n inputIconPosition=\"after\"\n noBorder\n />\n \n \n );\n}\n","import styled from \"styled-components\";\nimport { Popover as StyledPopover } from \"ui/Popover\";\n\nexport const Popover = styled(StyledPopover)`\n .popover-body {\n padding: 1rem 1rem;\n }\n .popover-arrow {\n &:before {\n left: 40px;\n }\n &:after {\n left: 40px;\n }\n }\n`;\nexport const Label = styled.span`\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n -webkit-letter-spacing: 0px;\n -moz-letter-spacing: 0px;\n -ms-letter-spacing: 0px;\n letter-spacing: 0px;\n color: #808186;\n`;\nexport const ClearButton = styled.button`\n border: 1px solid #707070;\n background-color: #232631;\n height: 25px;\n color: #ffffff69;\n margin-bottom: 10px;\n`;\nexport const StyledButton = styled.button`\n width: 142px;\n height: 40px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n box-shadow: 0px 3px 26px #00000017;\n border: 1px solid #707070;\n border-radius: 20px;\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 12px;\n line-height: 15px;\n letter-spacing: 0px;\n color: #ffffff;\n padding: 12px;\n svg {\n margin-left: 55%;\n }\n`;\nexport const Reset = styled.div`\n margin-left: 1px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n color: #ffffff;\n width: 80px;\n height: 28px;\n padding: 6px;\n display: flex;\n justify-content: center;\n cursor: pointer;\n`;\nexport const Clear = styled.div`\n margin-left: 1px;\n background: #3a3b48 0% 0% no-repeat padding-box;\n color: #ffffff;\n width: 80px;\n height: 28px;\n padding: 6px;\n display: flex;\n justify-content: center;\n cursor: pointer;\n margin-top: 14px;\n`;\nexport const StyleFilter = styled.div``;\nexport const StyleBusinessFilter = styled.div`\n .react-select-container {\n width: 316px;\n }\n\n button {\n font-family: Montserrat Alternates;\n border: 1px solid #ffffff;\n background-color: #232631;\n border-radius: 0px;\n width: 100%;\n height: 25px;\n color: #ffffff;\n margin-bottom: 10px;\n &:focus {\n outline: none;\n border: 1px solid #ffffff;\n background-color: #232631;\n }\n }\n\n input[type=\"checkbox\"] {\n margin-bottom: 3px;\n background-repeat: no-repeat;\n &:after {\n content: \"\\u2713\";\n color: #232631;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n &:checked {\n &:after {\n content: \"\\u2713\";\n color: #33c2df;\n position: absolute;\n top: -20%;\n font-size: 11px;\n padding: 2px;\n }\n }\n }\n`;\nexport const StyleSelect = styled.div`\n .react-select-container .react-select__menu-list {\n max-height: 260px;\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .css-b62m3t-container .css-huhgh0-control {\n border: 1px solid #ffffff69;\n }\n .css-b62m3t-container .css-v0ntz1-placeholder {\n color: #ffffff69;\n font-family: Montserrat Alternates;\n font-size: 10px;\n line-height: 13px;\n }\n .css-b62m3t-container .css-pdsopu-indicatorContainer {\n svg {\n path {\n fill: #ffffff69;\n }\n }\n }\n`;\nexport const StyledCheckbox = styled.div`\n input[type=\"checkbox\"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n\n display: inline-block;\n width: 18px;\n height: 18px;\n padding: 0px 4px;\n background-repeat: no-repeat;\n background-color: #232631;\n border-radius: 3px;\n\n &:checked {\n background-color: #232631;\n border-color: #909090;\n background-repeat: no-repeat;\n }\n }\n label {\n color: #ffffff69;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n margin-left: 5px;\n }\n`;\n","import styled from \"styled-components\";\nimport { UpIcon, DownIcon,InfoIcon } from \"assets/icons\";\nimport Tooltip from \"./Tooltip\";\n\nconst Up = styled.span`\n color: #07ba00;\n font-weight: bold;\n\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\n\nconst Down = styled.span`\n color: #ff0505;\n font-weight: bold;\n svg {\n font-size: 10px;\n margin-bottom: 2px;\n margin-left: 3px;\n }\n`;\n\nfunction Change(props) {\n if (props.value > 0) {\n return (\n \n + {props.value} %\n \n \n \n );\n } else {\n return (\n \n {props.value} %\n \n \n \n \n );\n }\n}\nexport default Change;\n","import React from \"react\";\nimport { SearchIcon } from \"assets/icons.js\";\nimport { StyledDiv, StyledInput } from \"./Styles\";\n\n/* this is now general search */\n\nexport default function CustomerSearch({ handleFilterData }) {\n return (\n <>\n \n \n {\n handleFilterData({ searchString: e.target.value, pageNumber: 0 });\n }}\n placeholder=\"Search\"\n />\n \n \n );\n}\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAACnCAYAAABnwQwYAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAADulJREFUeJztnXuMHlUZxkspFrmDAg03i4rcBGsUiIgIYqUoFwPhjihgaEIgoMQQIQYUTSQa1EBQscbTBrm0EsAu127LtttuL9vbbrtAKb1AgZZCoVAuLbT9fN7OTN1+nXNm5szMd+byPMnzz7ffvnPO+/727MycM2cGDKBykfrXMyeIXbeDohIJ0I6E1/se6bo9FBUpgLoz/E+40WT5bGfX7aOoUAHOQ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e8E7ueC6T15bSJQBYxZs9yxRcUdbwytTuzBlLnRe6qi4kwAnhzQRcUZbw5vHaUroEACeANzNwRYDuwfaUEw4Ybed2dy9/w3VR62RLgPOZxIgJr5tbIAYhkd+Bl7guZh1tAbBTeAsz/Yfk7Qnf25fza0vpTAEmvEja2fCrrgtHJwa4vvAiUfvC/3ZdLHp7O124U3R4kaBL4NWui0QT3tjq8/b/esx1cegaw5vginSrH2+bw0dySmLC6/uB+zsa07s4S1YmE174ySfmcZF4CV1reB96cEpj5ozyvSWHrjG8cn/wmad7uGyx5K4dvGMf6mx0z+Lj5lVwbeAdM7q90T5hIUfbCrnS8AZCR0/q4/5flXOl4UUHd4fvhje5TjRNeGMLnTsdXu46wTThTQLt3rBynVia8CY6ODp0LrzSdVJpwmsDb5vrhNKEt7/XwbPjeMzo9gVjH+rcNG7s1AZdfcvtz6LDS9NpTHjp0prw0qU14aVLa8JLl9aEly6tCS9dWhNeurTODd5RKuYEBE1belQu8FJUkfQ/n4QGQnWn7agAAAAASUVORK5CYII=\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALwAAACMCAYAAADGM8MGAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAACzxJREFUeJztnX2QF3Udx7078HxgeBhQFMvCMK5MZsSHHqQ7UkTUasKyUWvMQHK0oZocI4ayzEJOmBgbR9NS1gwV07LR0JSc5KFMtEarteKhzlU8BoLLA+skoffX3d+097t9+H73t/vbz+6+3zOvPzhuv4+v397+dr+7e9BBDMMMjbXisRbQCbrBetALBsABQnJAuaccVC7eYLlutqQheiuYAzYJ6CQhUShHlautSWWfCJ4W0BFCTFDOTjSVfTrYIaDxhCRBudupK/tMi8fnpPgoh8+Ok30yeFVAYwlJg34wOUz2NovH7KR8KKfbgoSfI6BxhGTB3HrZ1Xl2nnokZUW53eIXvktAowjJki6/8N0CGkRIlnT7hV8noEGEZMlav/C9hhuvBu2We+xPSLM5xHIdNHG21y+86YWm9sgT+gy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kXyJsA2nPbrr7limDoJBWFFOMDZPmt4olX0uFfXuP5xT+2jW72v8uG5l8K3s5eTGS23Ly+ezlZP1uy7lte91a923nv4RJ9qXt72TKT695jxRxf1cKwwQNiqlv2ELk1JiuuL9ljGGCBsV0FTgXtAg5qbQr3u/nZJgwQUE1Bi1Evo7Blcm6+5Ips6Cobg9aiC0Hcl9kJPPOyi2JUib7a3rIFxndrrsvmTIMCmtlkELMn1097O9WkyjyFYCrdPchU6ZBcfUKUoxSvNlyet22KCXk1RJFyNlbdx8yZRwUWLNqMZbny3NDv9m6WXffMWUeFNltVYqDEvjy3HakvW7T3XdMBQSFVqdSlLxa28543X3GVEhQbN3A0UJFyfucrRyr4lA9Jsmg4B5QOWu8vmp769e/ckO+FSiOEOIAdyb5yNc13RdoDKdBdx8xFRoU3+VghwESmMguaR/dfcRUcFCA3cEZA2QwCWmPm3X3DcOIoN+sCjEwvkyRdrhTd58wTHtQkPdVRfxQdgkix3+f7r5gmA5BYf5DlT2rnG5JdCDH/ZjuPmAYz6BAH69AQeV4H9fd9gxTMCjUvwUfGiBNEshxPqy7zRlGOSjYu8BpA+SJEzm+u3S3NcMETpV9m2WnARLFgRwXb5cwpZsqe6BCvQEyRYkcDwcYMOURFPP94LgBYhWDDGK/X3dbMkzkqbJn8ZOzzgUDRAvCBWe/OWseU96psicLU55RQTOyn5yUi6msoOh7VwWcNCxBZL96624jhtEaSNADpKrsCZd1CvmBsx89dLcJwxgVSNEVPOqctZIap/uxsz3ZblfdbcAwxgeiXAd+5JzJon6Bb4uzXln/dbqPlWFKOpDoetAH9AO1YDHYDjJV9kidtivAF5w/Z5y/X+ws38/5PF/1zjCMWv4PJF2kmjX6hVUAAAAASUVORK5CYII=\"","import { useLocation } from \"react-router-dom\";\n// A custom hook that builds on useLocation to parse\n// the query string for you.\nexport default function useQuery() {\n return new URLSearchParams(useLocation().search);\n}\n","import { getLinkToken, getAUserAllBankingDetails, getUserCashInBank, getUserCashInBankForForecast } from \"services/bankSettings.services\";\nimport { useQuery } from \"react-query\";\n\nexport const useLinkToken = () => {\n return useQuery(\"createLinkToken\", getLinkToken);\n};\n\nexport const useGetAUserAllBankingDetails = () => {\n return useQuery(\"bankSettings\", getAUserAllBankingDetails);\n};\n\nexport const useGetUserCashInBankSystem = () => {\n return useQuery(\"cashInBankSystem\", getUserCashInBank);\n};\n\nexport const useGetUserCashInBankSysteForForecast = () => {\n return useQuery(\"cashInBankSystem-forecast\", getUserCashInBankForForecast);\n};","import Spinner from 'react-bootstrap/Spinner'\nimport styled from \"styled-components\";\n\nconst StyledLoader = styled.div`\n .spinner-border{\n font-weight: 500;\n width: 1.5rem;\n height: 1.5rem;\n display: block;\n left: 0;\n right: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n margin-left: auto;\n margin-right: auto;\n margin-top: auto;\n margin-bottom: auto;\n z-index: 50000;\n }\n`;\n\nexport default function Loader({...props}){\n return (\n \n \n Loading...\n \n )\n}","import BaseService from \"./baseClass.services\";\nimport moment from \"moment\";\nimport { apiURL, awsExportUrl } from \"utils/base-url\";\nimport axios from \"utils/APIv2\";\nimport FileSaver from \"file-saver\";\n\nclass ActualService extends BaseService {\n getallreceviables = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerName: filterData.customerName ? filterData.customerName : \"\",\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n topCustomerLimit: filterData.limit,\n forecast: filterData.forecast,\n invoiceNumber: filterData.invoiceNumber,\n mo: mo,\n receivableType: filterData.receivableType,\n salesRepName: filterData.salesRepName ? filterData.salesRepName : \"\",\n jobType: filterData.jobType ? filterData.jobType : \"\",\n partialPaid: filterData.partialPaid,\n };\n const res = await axios.get(`/receivables/actual/listing`, { params });\n return res.data;\n };\n\n getallcollections = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedCollectedStart =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[0]\n ? moment(filterData?.deliveryCollectedDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedCollectedEnd =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[1]\n ? moment(filterData?.deliveryCollectedDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerName: filterData.searchString,\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n topCustomerLimit: filterData.limit,\n startCollectionDate: formatedCollectedStart,\n endCollectionDate: formatedCollectedEnd,\n salesRepName: filterData.salesRepName,\n jobType: filterData.jobType,\n partialPaid: filterData.partialPaid,\n };\n const res = await this.axios.get(`/collections/actual/listing`, { params });\n return res.data;\n };\n\n getallpayables = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n strategicsupplier: filterData.strategicsupplier,\n supplierName: filterData.searchString,\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n topSupplierLimit: filterData.limit,\n mo: mo,\n payableType: filterData.payableType,\n expenseType: filterData.expenseType,\n };\n const res = await axios.get(`/payables/actual/listing`, { params });\n return res.data;\n };\n\n getNonControllablePayableData = async (filterData) => {\n const res = await axios.get(\n `/cashClassification/nonTradeAndNonControllablesData/nonControllablePayables`,\n { params: filterData }\n );\n return res.data;\n };\n\n getNonTradeRecievavleData = async (filterData) => {\n const res = await axios.get(\n `/cashClassification/nonTradeAndNonControllablesData/nonTradeRecievables`,\n { params: filterData }\n );\n return res.data;\n };\n\n getgraphdatareceivables = async (cid, filterType) => {\n const params = {\n customerId: cid,\n filterType,\n };\n const res = await axios.get(`/receivables/actual/graph`, { params });\n return res.data.data;\n };\n\n getgraphdatacollections = async (cid, filterType) => {\n const res = await axios.get(`/collections/actual/graph`, {\n params: { customerId: cid, filterType },\n });\n return res.data.data;\n };\n\n getgraphdatapayables = async (sid, filterType) => {\n const res = await axios.get(`/payables/actual/graph`, {\n params: { supplierId: sid, filterType },\n });\n return res.data.data;\n };\n\n getcarddatareceivables = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n customerName: filterData.customerName ? filterData.customerName : \"\",\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n forecast: filterData.forecast,\n invoiceNumber: filterData.invoiceNumber,\n mo: mo,\n receivableType: filterData.receivableType,\n salesRepName: filterData.salesRepName ? filterData.salesRepName : \"\",\n jobType: filterData.jobType ? filterData.jobType : \"\",\n topCustomerLimit: filterData.limit,\n };\n const res = await axios.get(`/receivables/actual/total`, { params });\n return res.data;\n };\n getLogCustomerData = async (userId) => {\n const res = await axios.get(`/customers/getcustomer-details`, {\n params: userId,\n });\n return res.data;\n };\n getcustomercarddatapayables = async (decodedData) => {\n const res = await axios.get(`/customers/invoicelist/total`, {\n params: { userId: decodedData.username },\n });\n return res.data;\n };\n getallcustomers = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.field,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerName: filterData.customerName\n ? filterData.customerName.value\n : \"\",\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n topCustomerLimit: filterData.limit,\n forecast: filterData.forecast,\n invoiceNumber: filterData.invoiceNumber,\n txn_type: filterData.txn_type?.value,\n mo: mo,\n card: filterData.card,\n customerId: filterData.customerId,\n disputstatus: filterData.disputstatus,\n };\n const res = await axios.get(`/customers/invoicelist`, { params });\n return res.data;\n };\n\n getallcustomersCsv = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n let sessionStoragetoken = sessionStorage.getItem(\"userToken\");\n\n // return `${apiURL}/customers/invoicelist/export?field=${\n // filterData.columnName\n // }&sort=${filterData.order}&pageNo=${\n // filterData.pageNumber\n // }&limit=10&customerName=${filterData.customerName}&minAmount=${\n // filterData.minAmount\n // }&maxAmount=${\n // filterData.maxAmount\n // }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&bucketFilter=${\n // filterData.bucket\n // }&topCustomerLimit=${filterData.limit}&forecast=${\n // filterData.forecast\n // }&invoiceNumber=${filterData.invoiceNumber}&disputstatus=${\n // filterData.disputstatus\n // }&card=${filterData.card}&key=${sessionStorage.getItem(\"userToken\")}`;\n let res = await axios.get(\n `${apiURL}/customers/invoicelist/lambda/export?field=${\n filterData.columnName\n }&sort=${filterData.order}&pageNo=${\n filterData.pageNumber\n }&limit=10&customerName=${filterData.customerName}&minAmount=${\n filterData.minAmount\n }&maxAmount=${\n filterData.maxAmount\n }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&bucketFilter=${\n filterData.bucket\n }&topCustomerLimit=${filterData.limit}&forecast=${\n filterData.forecast\n }&invoiceNumber=${filterData.invoiceNumber}&disputstatus=${\n filterData.disputstatus\n }&card=${filterData.card}&key=${sessionStorage.getItem(\"userToken\")}`\n );\n\n return res.data.downloadUrl;\n };\n\n getcarddatacollections = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedCollectedStart =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[0]\n ? moment(filterData?.deliveryCollectedDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedCollectedEnd =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[1]\n ? moment(filterData?.deliveryCollectedDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n customerName: filterData.customerName ? filterData.customerName : \"\",\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n invoiceNumber: filterData.invoiceNumber,\n mo: mo,\n startCollectionDate: formatedCollectedStart,\n endCollectionDate: formatedCollectedEnd,\n topCustomerLimit: filterData.limit,\n salesRepName: filterData.salesRepName,\n jobType: filterData.jobType,\n partialPaid: filterData.partialPaid,\n };\n const res = await axios.get(`/collections/actual/total`, { params });\n return res.data;\n };\n\n getcarddatapayables = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n supplierName: filterData.supplierName ? filterData.supplierName : \"\",\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n strategicsupplier: filterData.strategicsupplier,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n bucketFilter: filterData.bucket,\n forecast: filterData.forecast,\n invoiceNumber: filterData.invoiceNumber,\n mo: mo,\n payableType: filterData.payableType,\n topSupplierLimit: filterData.limit,\n expenseType: filterData.expenseType,\n };\n const res = await axios.get(`/payables/actual/total`, { params });\n return res.data;\n };\n\n getCardDataControllableNonControllable = async () => {\n const res = await axios.get(\n `/cashClassification/nonTradeAndNonControllablesTotal`\n );\n return res.data;\n };\n\n updateReceivableData = (id, payload) => {\n return this.axios.patch(`/receivables/actual/${id}`, payload);\n };\n\n updatePayableData = (id, payload) => {\n return this.axios.patch(`/payables/actual/${id}`, payload);\n };\n\n //export urls\n exportUrlReceivable = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const customerName = filterData.customerName ? filterData.customerName : \"\";\n\n const receivableType = filterData.receivableType;\n\n const salesRepName = filterData.salesRepName ? filterData.salesRepName : \"\";\n\n const jobType = filterData.jobType ? filterData.jobType : \"\";\n\n const tenant = sessionStorage.getItem(\"tenantName\");\n const res = await axios.get(\n `${apiURL}/receivables/lambda/export?field=${\n filterData.columnName\n }&sort=${filterData.order}&pageNo=${\n filterData.pageNumber\n }&limit=10&customerName=${customerName}&minAmount=${\n filterData.minAmount\n }&maxAmount=${\n filterData.maxAmount\n }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&bucketFilter=${\n filterData.bucket\n }&topCustomerLimit=${filterData.limit}&forecast=${\n filterData.forecast\n }&invoiceNumber=${\n filterData.invoiceNumber\n }&receivableType=${receivableType}&tenant=${tenant}&salesRepName=${salesRepName}&jobType=${jobType}&file=receivables&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n };\n\n exportUrlPayable = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const payableType =\n filterData?.payableType && filterData?.payableType !== \"\"\n ? filterData.payableType\n : \"\";\n\n const tenant = sessionStorage.getItem(\"tenantName\");\n const res = await axios.get(\n `${apiURL}/payables/lambda/export?field=${filterData.columnName}&sort=${\n filterData.order\n }&pageNo=${filterData.pageNumber}&limit=10&supplierName=${\n filterData.searchString\n }&minAmount=${filterData.minAmount}&maxAmount=${\n filterData.maxAmount\n }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&bucketFilter=${\n filterData.bucket\n }&topSupplierLimit=${\n filterData.limit\n }&payableType=${payableType}&tenant=${tenant}&file=payables&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n };\n\n exportUrlNonTradeControllables = async (filterData, type) => {\n const tenant = sessionStorage.getItem(\"tenantName\");\n const res = await axios.get(\n `${apiURL}/cashClassification/generalledger/lambda/export?account=${\n filterData.account || \"\"\n }&business=${filterData.business || \"\"}&greaterValue=${\n filterData.greaterValue || \"\"\n }&lessValue=${filterData.lessValue || \"\"}&accountId=${\n filterData.accountId || \"\"\n }&key=${sessionStorage.getItem(\n \"userToken\"\n )}&tenant=${tenant}&file=generalledger&type=${type}&isExport=true`\n );\n return res.data.downloadUrl;\n };\n\n // exportUrlNonTradeControllables = async (filterData, type) => {\n // const params = JSON.parse(JSON.stringify(filterData));\n // params.responseType = 'blob';\n // params['isExport'] = true;\n // const res = await this.axios.get(`/cashClassification/nonTradeAndNonControllablesData/${type}`, { params })\n\n // let buffer = Buffer.from(res?.data);\n // // const blob = new Blob([buffer], { type: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" });\n // const blob = new Blob([buffer], { type: \"application/vnd.ms-excel;charset=utf-8\" });\n // setTimeout(function () {\n // FileSaver.saveAs(blob, `${type}Data.xlsx`)\n // }, 1000);\n // // return res.data;\n // // return `${apiURL}/cashClassification/nonTradeAndNonControllablesData/${type}/export?account=${filterData.account || ''\n // // }&business=${filterData.business || ''\n // // }&greaterValue=${filterData.greaterValue || ''\n // // }&lessValue=${filterData.lessValue || ''\n // // }&key=${sessionStorage.getItem('userToken')\n // // }&isExport=true`;\n // };\n\n exportUrlCollection = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formateddeliveryCollectedEndDate =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[1]\n ? moment(filterData?.deliveryCollectedDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formateddeliveryCollectedstartDate =\n filterData?.deliveryCollectedDate && filterData?.deliveryCollectedDate[0]\n ? moment(filterData?.deliveryCollectedDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n // return `${apiURL}/collections/export?field=${filterData.columnName}&sort=${filterData.order\n // }&pageNo=${filterData.pageNumber}&limit=10&customerName=${filterData.searchString\n // }&minAmount=${filterData.minAmount}&maxAmount=${filterData.maxAmount\n // }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&startCollectionDate=${formateddeliveryCollectedstartDate}&endCollectionDate=${formateddeliveryCollectedEndDate}&bucketFilter=${filterData.bucket\n // }&topCustomerLimit=${filterData.limit}&salesRepName=${filterData.salesRepName}&jobType=${filterData.jobType}&key=${sessionStorage.getItem(\n // \"userToken\"\n // )}`;\n const tenant = sessionStorage.getItem(\"tenantName\");\n const res = await axios.get(\n `${apiURL}/collections/lambda/export?field=${\n filterData.columnName\n }&sort=${filterData.order}&pageNo=${\n filterData.pageNumber\n }&limit=10&customerName=${filterData.searchString}&minAmount=${\n filterData.minAmount\n }&maxAmount=${\n filterData.maxAmount\n }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&startCollectionDate=${formateddeliveryCollectedstartDate}&endCollectionDate=${formateddeliveryCollectedEndDate}&bucketFilter=${\n filterData.bucket\n }&topCustomerLimit=${filterData.limit}&salesRepName=${\n filterData.salesRepName\n }&jobType=${\n filterData.jobType\n }&tenant=${tenant}&file=collections&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n //return `${awsExportUrl}?field=${filterData.columnName}&sort=${filterData.order}&pageNo=${filterData.pageNumber}&limit=10&customerName=${filterData.searchString}&minAmount=${filterData.minAmount}&maxAmount=${filterData.maxAmount}&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&endDueDate=${formatedDeliveryEnd}&startCollectionDate=${formateddeliveryCollectedstartDate}&endCollectionDate=${formateddeliveryCollectedEndDate}&bucketFilter=${filterData.bucket}&topCustomerLimit=${filterData.limit}&salesRepName=${filterData.salesRepName}&jobType=${filterData.jobType}`;\n };\n\n exportUrlBarGraphReceivables = (customerid, timeFilter) => {\n return `${apiURL}/receivables/graph/export?customerId=${customerid}&filterType=${timeFilter}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n\n exportUrlBarGraphPayables = (supplierid, timeFilter) => {\n return `${apiURL}/payables/graph/export?supplierId=${supplierid}&filterType=${timeFilter}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n\n exportUrlBarGraphCollections = (customerid, timeFilter) => {\n return `${apiURL}/collections/graph/export?customerId=${customerid}&filterType=${timeFilter}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n getreminders = (filterData) => {\n return this.axios.post(`/customers/getCustomerEmailReminder`, filterData);\n };\n getAalldisputeType = (userId) => {\n return this.axios.get(`/customers/fetch-alldispute-type`, {\n params: userId,\n });\n };\n billDownload = (_id) => {\n return `${apiURL}/payment_optimization/export?_id=${_id}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n };\n\n getallpayments = async (filterData, mo = false) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const formatedPaymentStart =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[0]\n ? moment(filterData?.deliveryPaymentDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedPaymentEnd =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[1]\n ? moment(filterData?.deliveryPaymentDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n supplierName: filterData.searchString,\n minAmount: filterData.greaterValue,\n maxAmount: filterData.lessValue,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n\n startPaymentDate: formatedPaymentStart,\n endPaymentDate: formatedPaymentEnd,\n bucketFilter: filterData.bucket,\n topSupplierLimit: filterData.limit,\n invoiceId: filterData.transaction,\n mo: mo,\n transactionType: filterData.transactionType?.value\n ? filterData?.transactionType?.value\n : \"\",\n strategicsupplier: filterData.strategicsupplier,\n };\n const res = await axios.get(`/actual-payments-list`, { params });\n return res.data;\n };\n\n getcarddatapayments = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const formatedPaymentStart =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[0]\n ? moment(filterData?.deliveryPaymentDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedPaymentEnd =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[1]\n ? moment(filterData?.deliveryPaymentDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const params = {\n minAmount: filterData.greaterValue,\n maxAmount: filterData.lessValue,\n startInvoiceDate: formatedInvoiceStart,\n endInvoiceDate: formatedInvoiceEnd,\n startDueDate: formatedDeliveryStart,\n endDueDate: formatedDeliveryEnd,\n\n startPaymentDate: formatedPaymentStart,\n endPaymentDate: formatedPaymentEnd,\n bucketFilter: filterData.bucket,\n invoiceId: filterData.transaction,\n supplierName: filterData.searchString,\n topSupplierLimit: filterData.limit,\n transactionType: filterData.transactionType?.value,\n\n // mo: mo,\n };\n\n const res = await axios.get(`/payments/actual/total`, { params });\n return res.data;\n };\n\n getDownloadTransaction = async (filterData) => {\n let startDate = \"\";\n let endDate = \"\";\n if (filterData.startDate) {\n startDate = moment(filterData.startDate).format(\"YYYY-MM-DD\");\n }\n if (filterData.endDate) {\n endDate = moment(filterData.endDate).format(\"YYYY-MM-DD\");\n }\n const tenant = sessionStorage.getItem(\"tenantName\");\n\n let res = await axios.get(\n `${apiURL}/transaction-report/lambda/export?startDate=${startDate}&endDate=${endDate}&tenant=${tenant}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n // return `${apiURL}/transaction-report/export?startDate=${startDate}&endDate=${endDate}&key=${sessionStorage.getItem(\n // \"userToken\"\n // )}`\n };\n\n exportUrlPayments = async (filterData) => {\n const formatedInvoiceStart =\n filterData?.invoiceDate && filterData?.invoiceDate[0]\n ? moment(filterData?.invoiceDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedInvoiceEnd =\n filterData?.invoiceDate && filterData?.invoiceDate[1]\n ? moment(filterData?.invoiceDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryStart =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[0]\n ? moment(filterData?.deliveryDueDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedDeliveryEnd =\n filterData?.deliveryDueDate && filterData?.deliveryDueDate[1]\n ? moment(filterData?.deliveryDueDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const formatedPaymentStart =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[0]\n ? moment(filterData?.deliveryPaymentDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n const formatedPaymentEnd =\n filterData?.deliveryPaymentDate && filterData?.deliveryPaymentDate[1]\n ? moment(filterData?.deliveryPaymentDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const tenant = sessionStorage.getItem(\"tenantName\");\n const res = await axios.get(\n `${apiURL}/payments/lambda/export?field=${filterData.columnName}&sort=${\n filterData.order\n }&pageNo=${filterData.pageNumber}&limit=10&supplierName=${\n filterData.searchString\n }&minAmount=${filterData.greaterValue}&maxAmount=${\n filterData.lessValue\n }&startInvoiceDate=${formatedInvoiceStart}&endInvoiceDate=${formatedInvoiceEnd}&startDueDate=${formatedDeliveryStart}&invoiceId=${\n filterData.transaction\n }\n &endDueDate=${formatedDeliveryEnd}&startPaymentDate=${formatedPaymentStart}&endPaymentDate=${formatedPaymentEnd}\n &bucketFilter=${filterData.bucket}&topSupplierLimit=${\n filterData.limit\n }&transactionType=${\n filterData.transactionType?.value != undefined &&\n filterData.transactionType?.value != null &&\n filterData.transactionType != \"\"\n ? filterData.transactionType?.value\n : \"\"\n }&tenant=${tenant}&file=payments&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n };\n\n getEditedData = async (updatedData) => {\n const params = {\n invoiceId: updatedData.invoiceId,\n updatedValue: updatedData.updatedValue,\n };\n const res = await this.axios.get(`/receivables/editable`, { params });\n return res.data;\n };\n\n getCustomerDetails = async (data) => {\n \n const params = {\n id: data.customerName,\n };\n const res = await this.axios.get(`/receivables/customer-details`, {\n params,\n });\n return res.data;\n };\n getMerchantDetails = async()=>{\n const res = await this.axios.get(`/receivables/merchantDetails`)\n return res.data\n }\n saveTransactionReceivable = async(data)=>{\n\n const res = await this.axios.post(`/receivables/save-transaction`, data);\n return res.data;\n }\n getCustomerTransaction = async (filterData) => {\n\n\n const startTimestamp =\n (filterData?.TransactionDate && filterData?.TransactionDate[0] && filterData?.TransactionDate && filterData?.TransactionDate[0] != 'Invalid Date')\n ? moment(filterData?.TransactionDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const endTimestamp =\n (filterData?.TransactionDate && filterData?.TransactionDate[1] && filterData?.TransactionDate && filterData?.TransactionDate[1] != 'Invalid Date')\n ? moment(filterData?.TransactionDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerId: filterData.customerId ? filterData.customerId : \"\",\n startDate: startTimestamp,\n endDate:endTimestamp,\n invoiceNumber: filterData.invoiceNumber,\n type: filterData.Type,\n TransactionStatus: filterData.TransactionStatus,\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n // TransactionTimeStamp: unixTimestamps,\n paidFor: filterData.paidFor\n };\n const res = await this.axios.get(`/receivables/transaction-list`, { params });\n return res.data;\n };\n\n GenerateCheckSumReceivableData = async (data) => {\n\n const res = await this.axios.post(`/receivables/generate-checksum`, data);\n return res.data;\n }\n\n\n GenerateSessionTokenData = async (data) => {\n if (data.amount) {\n const res = await this.axios.post(`/receivables/generate-session-token`, data);\n return res.data;\n }\n\n }\n GetAllCustomer = async ()=>{\n const res = await this.axios.get(`/receivables/get-all-customers`)\n return res\n }\n exportInvoice = async (transactionId)=>{\n const tenant = sessionStorage.getItem(\"tenantName\");\n return `${apiURL}/receivables/invoice/export?transactionId=${transactionId}&tenant=${tenant}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`;\n }\n GetPdfData = async (invoiceNumber, tenant) => {\n\n if (!tenant || tenant.trim() === \"\")\n tenant = sessionStorage.getItem(\"tenantName\") ;\n \n console.log(\"Invoice Number:\", invoiceNumber);\n console.log(\"Tenant:\", tenant);\n \n const params = {\n invoiceNumber: invoiceNumber,\n tenant:tenant\n };\n \n const headers = {\n 'organisation': tenant \n };\n \n const res = await this.axios.get(`/receivables/get-invoice-pdf-data`, { params, headers });\n return res.data;\n };\n \n\n GetCustomerPdfData = async (invoiceNumber, userId) => {\n const params = {\n invoiceNumber: invoiceNumber,\n userId: userId\n };\n const res = await this.axios.get(`/receivables/get-customer-invoice-pdf-data`, { params });\n return res.data;\n };\n \n UpdateSurchargeStatus = async(toggle)=>{\n const res = this.axios.get(`/receivables/update-surcharge-status?status=${toggle}`)\n return res.data\n }\n\n GetTenantPdfreceiptData = async (transactionId) => {\n const params = {\n transactionId: transactionId\n };\n const res = await this.axios.get(`/receivables/genarate-receipt`, { params });\n return res.data;\n };\n}\nexport default new ActualService();\n","import BaseService from \"./baseClass.services\";\nimport { apiURL } from \"utils/base-url\";\nimport moment from \"moment\";\nimport axios from \"utils/APIv2\";\n\nclass CustomerService extends BaseService {\n getcustomerListing = async (filterData) => {\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerName: filterData.searchString,\n averageDaysToPay: filterData.averageDaysToPay,\n salesRepName: filterData?.salesRepName,\n jobType: filterData?.jobType,\n openInvoicesOnly: filterData?.openInvoicesOnly,\n };\n const res = await this.axios.get(`/customers/listing`, { params });\n return res.data;\n };\n\n getCustomersListExport = (filterData) => {\n return `${apiURL}/customers/export?customerName=${\n filterData.searchString\n }&key=${sessionStorage.getItem(\"userToken\")}`;\n };\n getallCustomerName = async (filterData) => {\n const res = await this.axios.get(`/customers/getallCustomerName`);\n return res.data;\n };\n getcustomerTrans = async (filterData) => {\n const startTimestamp =\n filterData?.TransactionDate &&\n filterData?.TransactionDate[0] &&\n filterData?.TransactionDate &&\n filterData?.TransactionDate[0] != \"Invalid Date\"\n ? moment(filterData?.TransactionDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const endTimestamp =\n filterData?.TransactionDate &&\n filterData?.TransactionDate[1] &&\n filterData?.TransactionDate &&\n filterData?.TransactionDate[1] != \"Invalid Date\"\n ? moment(filterData?.TransactionDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n customerId: filterData.customerId ? filterData.customerId : \"\",\n startDate: startTimestamp,\n endDate: endTimestamp,\n invoiceNumber: filterData.invoiceNumber,\n type: filterData.Type,\n TransactionStatus: filterData.TransactionStatus,\n minAmount: filterData.minAmount,\n maxAmount: filterData.maxAmount,\n };\n const res = await this.axios.get(`/customers/transaction-list`, { params });\n return res.data;\n };\n\n downloadPdf = async (transactionId, customerId) => {\n return `${apiURL}/digital-payment/invoice/export?transactionId=${transactionId}&customerId=${customerId}`;\n };\n\n getallcustomersDetails = async (filterData) => {\n const startTimestamp =\n filterData?.TransactionDate && filterData?.TransactionDate[0]\n ? moment(filterData?.TransactionDate[0]).format(\"YYYY-MM-DD\")\n : \"\";\n\n const endTimestamp =\n filterData?.TransactionDate && filterData?.TransactionDate[0]\n ? moment(filterData?.TransactionDate[1]).format(\"YYYY-MM-DD\")\n : \"\";\n let type = filterData.Type ? filterData.Type : \"\";\n let TransactionStatus = filterData.TransactionStatus\n ? filterData.TransactionStatus\n : \"\";\n let customerId = filterData.customerId ? filterData.customerId : \"\";\n // return `${apiURL}/customers/transaction-report/export?field=${filterData.columnName\n // }&sort=${filterData.order}&pageNo=${filterData.pageNumber\n // }&limit=10&customerId=${customerId}&minAmount=${filterData.minAmount\n // }&maxAmount=${filterData.maxAmount\n // }&startDate=${startTimestamp}&endDate=${endTimestamp}&invoiceNumber=${filterData.invoiceNumber}&type=${type}&TransactionStatus=${TransactionStatus\n // }&key=${sessionStorage.getItem(\"userToken\")}`;\n let res = await axios.get(\n `${apiURL}/customers/transaction-report/lambda/export?field=${\n filterData.columnName\n }&sort=${filterData.order}&pageNo=${\n filterData.pageNumber\n }&limit=10&customerId=${customerId}&minAmount=${\n filterData.minAmount\n }&maxAmount=${\n filterData.maxAmount\n }&startDate=${startTimestamp}&endDate=${endTimestamp}&invoiceNumber=${\n filterData.invoiceNumber\n }&type=${type}&TransactionStatus=${TransactionStatus}&key=${sessionStorage.getItem(\n \"userToken\"\n )}`\n );\n return res.data.downloadUrl;\n };\n\n GetCustomerData = async (filterData) => {\n const res = await this.axios.get(\n `/customer/getcustomerdata?email=${filterData}`\n );\n return res.data;\n };\n\n EnablePaymentLink = async (filterData) => {\n const res = await this.axios.get(\n `customers/payment-option?userId=${filterData}`\n );\n return res.data;\n };\n\n paymentMethod = async (data) => {\n const res = await this.axios.post(`customers/payment-method`, {\n userId: data,\n });\n return res.data;\n };\n\n transactionStatusData = async (data) => {\n const res = await this.axios.post(`/customers/save-transaction`, data);\n return res.data;\n };\n\n getCustomerInvoiceData = async (data) => {\n const res = await this.axios.post(\n `digital-payment/get-customer-invoice`,\n data\n );\n return res.data;\n };\n\n saveTransactionPaymentPage = async (data) => {\n const res = await this.axios.post(\n `digital-payment/save-transaction-payment-page`,\n data\n );\n return res.data;\n };\n\n GenearteCheckSumData = async (data) => {\n const res = await this.axios.post(\n `digital-payment/generate-checksum`,\n data\n );\n return res.data;\n };\n\n GenearteSessionTokenData = async (data) => {\n if (data.amount) {\n const res = await this.axios.post(\n `digital-payment/generate-session-token`,\n data\n );\n return res.data;\n }\n };\n GetCustomerPdfreceiptData = async (transactionId) => {\n const params = {\n transactionId: transactionId,\n };\n const res = await this.axios.get(`/customers/generate-receipt`, { params });\n return res.data;\n };\n GetPaymentPageReceiptData = async (props) => {\n const res = await this.axios.get(\n `/digital-payment/invoice/export?tenant=${props.tenant}&transactionsId=${props.transactionId}`\n );\n return res.data;\n };\n\n getGuestPaymentDetails = async (props) => {\n const res = await this.axios.get(\n `/digital-payment/guest-data?id=${props.id}`\n );\n return res.data;\n };\n\n createGuestPageChecksum = async (props) => {\n const res = await this.axios.post(\n \"/digital-payment/guest-page/generate-checksum\",\n props\n );\n return res.data;\n };\n\n createGuestPageSessionToken = async (props) => {\n const res = await this.axios.post(\n \"/digital-payment/guest-page/generate-session-token\",\n props\n );\n return res.data;\n };\n saveTransactionGuestPage = async (props) => {\n const res = await this.axios.post(\n \"/digital-payment/guest-page/save-transaction\",\n props\n );\n return res.data;\n };\n\n GetGuestPageReceiptData = async (props) => {\n const res = await this.axios.get(\n `/digital-payment/invoice-guest-pay/export?id=${props.id}&transactionsId=${props.transactionId}`\n );\n return res.data;\n };\n\n GetGuestPageInvoice = async (props) => {\n const res = await this.axios.post(\n `/digital-payment/guest-pay-invoice-data`,\n props\n );\n return res.data;\n };\n getCardTokenCustomer = async (props) => {\n const res = await this.axios.get(`/customers/uniqe-id`, props);\n return res.data;\n };\n saveCardTokenCustomer = async (props) => {\n const res = await this.axios.post(`/customers/save-uniqe-id`, props);\n return res.data;\n };\n cardTokenPaymentPage = async (props) => {\n const res = await this.axios.get(\n `/digital-payment/generate-card-token?tenant=${props.tenant}`\n );\n\n return res.data;\n };\n saveCardTokenPaymentPage = async (props) => {\n const res = await this.axios.post(\n `/digital-payment/save-card-token`,\n props\n );\n return res.data;\n };\n}\n\nexport default new CustomerService();\n","import axios from \"utils/APIv2\";\nimport { apiURL } from \"utils/base-url\";\nexport const getSuppliers = async (page, filterData) => {\n const params = {\n page: page,\n limit: \"10\",\n supplier: filterData.supplierName,\n company: filterData.company,\n sortOrder: filterData.sortOrder,\n sortOn: filterData.sortOn,\n };\n const res = await axios.get(`/suppliers`, {\n params: params,\n });\n return res.data;\n};\n\nexport const updateSupplier = async (supplierID, values) => {\n return await axios.post(`/suppliers/stripe/${supplierID}`, values);\n};\n\n\nexport const supplierapprovalsetting = async (values) => {\n return await axios.post(`/suppliers/approvalsettings`,values);\n};\n\n\nexport const disputaddd = async (values) => {\n return await axios.post(`/suppliers/disputdataadd`,values);\n};\n\n\nexport const remindermail = async (values) => {\n return await axios.post(`/emailAlert/adhocEmailAlert`,values);\n};\n\n\nexport const disputadddFromAdmin = async (values) => {\n return await axios.post(`/suppliers/admin/disputdataadd`,values);\n};\n\n\n\n\nexport const asigndUserAdd = async (values) => {\n return await axios.post(`/customers/add/approvers`,values);\n};\n\n\n\nexport const asigndUserAddFordisputType = async (values) => {\n return await axios.post(`/customers/add/disput-approvers`,values);\n};\n\nexport const adddiscount = async (values) => {\n return await axios.post(`/suppliers/add-updatediscount`, values);\n};\nexport const getdiscount = async (values) => {\n return await axios.post(`/suppliers/supplierdiscountbyid?supplierid=${values}`);\n};\n\nexport const getbase64 = async (invoiceNo,userId) => {\n return await axios.get(`/invoicepdf?invoice=${invoiceNo}&userId=${userId}`,{});\n};\n\nexport const GetBasedataWithoutId = async (invoiceNo) => {\n return await axios.get(`/invoicepdf?invoice=${invoiceNo}`,{});\n};\n\nexport const getCustomersDisputData = async (invoiceNumber,userId) => {\n\n let body={\n invoiceNumber: invoiceNumber,\n userId: userId,\n }\n return await axios.post(`/suppliers/disputfetchdata`,body);\n};\n\n\nexport const seennotification = async (body) => {\n\n return await axios.post(`/notification/seen`,body);\n};\n\nexport const seennotificationadmin = async (body) => {\n\n return await axios.post(`/admin/notification/seen`,body);\n};\n\nexport const getCustomersDisputDataFromAdmin = async (invoiceNumber) => {\n\n let body={\n invoiceNumber: invoiceNumber,\n }\n return await axios.post(`/suppliers/admin/disputfetchdata`,body);\n};\n\n\nexport const usersearchdata = async (body) => {\n return await axios.post(`/customer/getdataformsearch`,body);\n};\n\nexport const getmanagesettingdaata = async (body) => {\n return await axios.post(`/customers/supplierssetting`,body);\n};\n\nexport const managesettingdataadd = async (body) => {\n return await axios.post(`/customers/add/supplierssetting`,body);\n};\n\n\nexport const disputecatagory = async (body) => {\n return await axios.post(`/customers/fetch/disput-type-data`);\n};\n\nexport const fetchapproveduser = async (body) => {\n return await axios.post(`/customers/get/approvers`);\n};\n\nexport const manageedefaultassignedusers = async (body) => {\n return await axios.post(`/customers/finddefaultdata`);\n};\n\nexport const manageedefaultusers = async (body) => {\n return await axios.post(`/customers/get/defaultadduser`);\n};\n\nexport const manageedefaultusersadd = async (body) => {\n return await axios.post(`/customers/add/managedefaultuser`,body);\n};\n\nexport const supplierStrategicAdd = async (body) => {\n return await axios.post(`/suppliers/update_strategic_status`,body);\n};\n\nexport const cashflowforecastedit = async (body) => {\n return await axios.post(`/datewiseforcastupdate`,body);\n};\nexport const updateBillPaymentDate = async (body) => {\n return await axios.post(`/update_payment_date`,body);\n};\nexport const billDownload = async (body) => {\n return await axios.post(`/add_temp_optimize_payment_data`,body);\n};\n\nexport const getSupplierDiscount = async (body) => {\n return await axios.get(`/suppliers/supplierdiscountbyid`, {params: body});\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","import styled from \"styled-components\";\nimport ReactTooltip from \"react-tooltip\";\n\nconst CustomTooltip = styled(ReactTooltip)`\n content: \"${(props) => props.place}\";\n max-width: 194px !important;\n color: #d2d2d4 !important;\n background: #232631 0% 0% no-repeat padding-box !important;\n box-shadow: 0px 2px 6px #0000000A !important;\n border: 1px solid #707070 !important;\n border-radius: 8px !important;\n font-size: 11px !important;\n line-height: 18px !important;\n font-family: Montserrat Alternates-semiBold !important;\n letter-spacing: 0px !important;\n z-index: 100000 !important;\n padding:8px 11px !important;\n .multi-line {\n padding :0px !important;\n text-align: justify !important;\n }\n &::after { \n left:${(props) => props.place === \"bottom\" && `${props.left}% !important`}\n } \n`;\nconst position=(pos)=>{\nconst newposition={top:pos.top, left:pos.left+60}\nreturn newposition;\n}\nexport default function Tooltip({place,id,left=\"15\"}) {\n return (\n \n \n );\n}","import styled, { css } from \"styled-components\";\nimport { Popover as BSPopover } from \"react-bootstrap\";\n\nexport const Popover = styled(BSPopover)`\n color: #808186;\n font-size: 13px;\n max-width: 350px;\n width: 350px;\n background-color: #232631;\n box-shadow: 0px 3px 46px #00000029;\n border: 1px solid #707070;\n .popover-body {\n padding: 0rem 1rem; \n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n background: #000;\n }\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n }\n .popover-arrow {\n &:before {\n border-bottom-color: #707070;\n }\n &:after {\n border-bottom-color: #212529;\n }\n }\n .view-all {\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #ffffff;\n display: inline-block;\n margin: 10px;\n margin-left: 40%;\n text-decoration: none;\n }\n .styled-labels {\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 13px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #808186;\n }\n .or {\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 25px;\n color: #ffffff;\n display: inline-block;\n margin-left: 2px;\n }\n .amount {\n width: 100%;\n border: 1px solid #707070;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n letter-spacing: 0px;\n color: #ffffff69;\n padding: 5px;\n background-color: #232631;\n &:focus {\n outline: none;\n ::placeholder {\n color: transparent;\n }\n }\n }\n .limit {\n width: 61px;\n height: 25px;\n border: 1px solid #707070;\n opacity: 1;\n background-color: #232631;\n margin: 10px;\n color: #808186;\n }\n .styled-top {\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #808186;\n margin-top: 9px;\n }\n .styled-customer {\n text-align: right;\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #808186;\n opacity: 1;\n }\n .link{ \n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #B5B5B5;\n opacity: 1; \n cursor:pointer;\n &:hover{\n //text-decoration: underline;\n }}\n .filter-heading {\n font-family: Montserrat Alternates-semiBold;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #808186;\n text-transform: capitalize;\n display: block;\n }\n select {\n border: 1px solid #707070;\n background-color: #232631;\n width: 100%;\n height: 25px;\n color: #ffffff69;\n margin-bottom: 10px;\n &:focus {\n outline: none;\n border: 1px solid #707070;\n background-color: #232631;\n }\n }\n .title {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n font-weight: 600;\n letter-spacing: 0px;\n color: #ffffff;\n opacity: 1;\n }\n .text {\n text-align: left;\n font-family: Montserrat Alternates;\n font-size: 11px;\n line-height: 25px;\n letter-spacing: 0px;\n color: #ffffff;\n opacity: 1;\n }\n`;\n","export const appURL = process.env.REACT_PUBLIC_URL\n ? process.env.REACT_PUBLIC_URL\n : \"http://localhost:3000\";\n\nexport const apiURL = process.env.REACT_APP_API_URL_v2\n ? process.env.REACT_APP_API_URL_v2\n : \"https://api.simplicapital.ai/api/\";\n","import { getSuppliers } from \"services/supplier.services\";\nimport { useQuery } from \"react-query\";\nimport suppliersService from \"services/suppliers.service\";\n\nexport const useSuppliers = (page, filterData) => {\n return useQuery(\n [\"suppliers\", { page, filterData }],\n () => getSuppliers(page, filterData),\n {\n keepPreviousData: true,\n staleTime: 0.5 * 60 * 1000,\n }\n );\n};\n\nexport const useSuppliersListing = (filterData) => {\n return useQuery([\"suppliersdata\", { filterData }], () =>\n suppliersService.getsuppliersListing(filterData)\n );\n};\n","import BaseService from \"./baseClass.services\";\nimport axios from \"utils/APIv2\";\nimport { apiURL } from \"utils/base-url\";\nclass SuppliersService extends BaseService {\n getsuppliersListing = async (filterData) => {\n const params = {\n field: filterData.columnName,\n sort: filterData.order,\n pageNo: filterData.pageNumber,\n limit: 10,\n supplierName: filterData.searchString,\n };\n const res = await axios.get(`/suppliers/listing`, { params });\n\n return res.data;\n };\n getSuppliersListExport = (filterData) => {\n return `${apiURL}/suppliers/export?supplierName=${\n filterData.searchString\n }&key=${sessionStorage.getItem(\"userToken\")}`;\n };\n}\nexport default new SuppliersService();\n","import React from \"react\";\nimport { Modal } from \"ui/Modal\";\nimport { StyledModal } from \".\";\nimport SupplierForm from \"./SupplierForm\";\n\nexport default function ManageSetting({ show, onHide }) {\n return (\n \n \n \n

    Settings

    \n
    \n \n \n \n
    \n
    \n );\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport styled from \"styled-components\";\nimport { Nav as BSNav } from \"react-bootstrap\";\nimport Logo from \"assets/SimpliCapital-logo.png\";\nimport CollapsedLogo from \"assets/logo.png\";\nimport {\n Forecast,\n NetCashIcon,\n OrdersIcon,\n ScenarioIcon,\n SettingIcon,\n ReceivablesIcon,\n ArrowExpandIcon,\n TopArrowSubmenuIcon,\n TransactionIcon,\n} from \"assets/icons.js\";\nimport { Link } from \"react-router-dom\";\nimport { QuickBookConnectionContext } from \"context/QuickBookConnectionContext\";\nimport { Route_URLs } from \"routesURLs\";\nimport { forFutureRelease } from \"utils/Configs\";\nimport { Authorise } from \"helpers/Authorization\";\nimport { useProfile } from \"queries/profile\";\n\nconst StyledSidebar = styled.div`\n background: #3a3b48;\n box-shadow: 0px 3px 16px #0000001d;\n position: fixed;\n display: block;\n padding: 0;\n z-index: 5;\n height: 100%;\n padding: 20px;\n /* overflow: auto; */\n width: ${(props) => (props.collapsed ? \"85px\" : \"211px\")};\n transition: all 0.2s ease-in;\n z-index: 55555;\n top: 0;\n\n ${({ disableTransitionEffects }) =>\n disableTransitionEffects &&\n `\n transition: none !important;\n `}\n\n .nav-link.active svg {\n fill: #33c2df;\n }\n\n .nav-text {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n display: ${(props) => (props.collapsed ? \"none\" : \"inline-block\")};\n width: ${(props) => (props.collapsed ? \"0\" : \"63%\")};\n transition: opacity 0.7s ease-in;\n }\n\n .toggle-button {\n transform: ${(props) =>\n props.collapsed ? \"rotate(0deg)\" : \"rotate(180deg)\"};\n transition: transform 0s;\n\n svg {\n width: 41px;\n height: 41px;\n }\n }\n\n .indicator-icon,\n .submenu > div {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n\n .sub-menu {\n .nav-link {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n }\n .logo {\n display: ${(props) => (props.collapsed ? \"none\" : \"block\")};\n }\n .collapsed-logo {\n display: ${(props) => (props.collapsed ? \"block\" : \"none\")};\n }\n\n .indicator-icon {\n opacity: ${(props) => (props.collapsed ? \"0\" : \"1\")};\n }\n`;\n\nconst SidebarShadow = styled(StyledSidebar)`\n position: relative;\n height: 1px;\n z-index: 555;\n top: 0;\n left: 0px;\n background: #3a3b48;\n`;\n\nconst StyledLogo = styled.div`\n img {\n width: 100%;\n }\n margin-bottom: 36px;\n`;\nconst StyledCollapsedLogo = styled.div`\n img {\n width: auto;\n }\n margin-bottom: 36px;\n`;\n\nconst Nav = styled(BSNav)`\n flex-direction: column;\n\n svg {\n margin-right: 10px;\n font-size: 13px;\n }\n\n a.nav-link {\n text-align: left;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n letter-spacing: 0px;\n color: #ffffff;\n margin-bottom: 1.3rem;\n padding: 0.4rem 1rem;\n margin-left: 10x;\n z-index: 1;\n }\n`;\n\nconst ExpandIcon = styled.div`\n position: absolute;\n //right: 0;\n //left: 0;\n bottom: 0;\n //text-align: center;\n width: 77%;\n padding: 0;\n margin: 0 auto;\n margin-bottom: 50px;\n z-index: 2;\n\n .icon {\n cursor: pointer;\n z-index: 2;\n position: absolute;\n }\n`;\n\nconst SubmenuContent = styled.div`\n padding-left: 8px;\n overflow: hidden;\n`;\n\nconst SubmenuCaption = styled.div`\n color: #fff;\n font-family: Montserrat Alternates-semiBold;\n font-size: 10px;\n line-height: 13px;\n cursor: pointer;\n`;\n\nconst StyledSubmenu = styled.div`\n margin-bottom: 0;\n padding: 0.5rem 1rem;\n margin-bottom: 1.5rem;\n\n .indicator-icon {\n float: right;\n font-size: 1em;\n margin-top: ${(props) => (props.activeLink ? \"11px\" : \"2px\")};\n transform: ${(props) => (props.open ? \"rotateZ(0deg)\" : \"rotateZ(90deg)\")};\n transition: all 0.2s ease-in-out;\n }\n\n a.nav-link {\n margin: 0;\n margin-bottom: 0.4rem;\n }\n\n ${SubmenuContent} {\n transition: all 0.5s ease-in-out;\n margin-top: ${(props) => (props.open ? \"12px\" : \"0\")};\n height: ${(props) => (props.open ? \"auto\" : \"0\")};\n }\n`;\n\nconst LockOverlay = styled.div`\n background: transparent;\n cursor: not-allowed;\n width: 100%;\n display: block;\n position: absolute;\n height: 380px;\n z-index: 9999999;\n`;\nconst ActiveLink = styled.span`\n width: 4px;\n height: 20px;\n display: inline-block;\n background-color: #33c2df;\n position: relative;\n left: ${(props) => (props.collapsed ? \"65%\" : \"45%\")};\n top: 7px;\n`;\nconst StyledIcon = styled.div`\n display: inline-block;\n svg {\n path {\n fill: ${(props) => (props.active ? \"#33C2DF\" : \"#A5A4BF\")};\n }\n }\n`;\n\nconst Submenu = (props) => {\n const sidebarCollapsed = props.sidebarCollapsed;\n const [open, setOpen] = useState(!sidebarCollapsed);\n const { isQuickbookDataImported } = useContext(QuickBookConnectionContext);\n\n const toggleMenuOpen = (event) => {\n setOpen(!open);\n event.preventDefault();\n event.stopPropagation();\n };\n\n const shouldBeOpen = () => {\n if (sidebarCollapsed) {\n return false;\n } else {\n return open;\n }\n };\n\n useEffect(() => {\n if (isQuickbookDataImported) {\n setOpen(false);\n } else {\n setOpen(JSON.parse(window.sessionStorage.getItem(\"open\" + props.title)));\n }\n }, []);\n\n useEffect(() => {\n window.sessionStorage.setItem(\"open\" + props.title, open);\n }, [open]);\n\n return (\n \n \n \n {props.icon}\n \n {props.title}\n \n {props.activeLink}\n \n {props.children}\n \n );\n};\n\nfunction CustomerSidebar(props) {\n const [collapsed, setCollapsed] = useState(true);\n const [disableTransitionEffects, setDisableTransitionEffects] =\n useState(true);\n\n const toggleSidebar = () => {\n setDisableTransitionEffects(false);\n setCollapsed(!collapsed);\n };\n\n const { isQuickbookDataImported } = useContext(QuickBookConnectionContext);\n const { data: userData, isLoading } = useProfile();\n const userRole = userData?.role;\n\n const activeRoute = (routeUrl) => {\n if (routeUrl === window.location.pathname) return true;\n return false;\n };\n\n useEffect(() => {\n if (isQuickbookDataImported) {\n setCollapsed(true);\n } else {\n setCollapsed(JSON.parse(window.sessionStorage.getItem(\"collapsed\")));\n }\n }, []);\n\n useEffect(() => {\n window.sessionStorage.setItem(\"collapsed\", collapsed);\n }, [collapsed]);\n\n /* adding custom logic for disabling all pages if oracle tenant has not integrated oracle connection */\n\n const handleHomeClick = () => {\n window.location.href = Route_URLs.dashboard_customer;\n };\n\n return (\n <>\n {isQuickbookDataImported && }\n\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \"SimpliCapital\"\n \n \n \n \n \n \n \n \n \n );\n}\nexport default CustomerSidebar;\n","import styled from \"styled-components\";\n\nconst StyledError = styled.p`\n color: #ff7171;\n font-size: 12px;\n font-family: Montserrat Alternates-semiBold;\n`;\n\nexport default function ErrorHandlingComponent({ errors }) {\n if (Array.isArray(errors) && errors.length > 0) {\n return errors.map((error) => {error});\n } else return {errors};\n}\n"],"sourceRoot":""}