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A,gBACA,WAGIC,GAAoB,CACxB,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MAKIC,GAA8B,CAClC,qBACA,sBACA,SACA,SACA,MACA,kBACA,aACA,6BACA,eACA,SACA,YACA,oBACA,UACA,SACA,6BACA,qBACA,YACA,aACA,UACA,aACA,YACA,kBACA,eACA,OACA,KACA,cACA,iBACA,YASIC,GAAoB,SAACC,GACzB,IAAKA,EACH,OAAO,KAGT,IAAMC,EAAO,IAAIC,KAAKF,GAChBG,EAAgD,IAA3BF,EAAKG,oBAGhC,OAFsB,IAAIF,KAAKD,EAAKI,UAAYF,EAGlD,EAeMG,GAA8B,SAACC,GACnC,IAAMC,EAAW5zB,SAAS6zB,cAAc,YACxCD,EAASh2C,MAAQ+1C,EAGjBC,EAAS5O,MAAM8O,IAAM,IACrBF,EAAS5O,MAAM+O,KAAO,IACtBH,EAAS5O,MAAMgP,SAAW,QAE1Bh0B,SAASnU,KAAKooC,YAAYL,GAC1BA,EAASM,QACTN,EAASO,SAET,IACEn0B,SAASo0B,YAAY,OACvB,CAAE,MAAO50C,GACPwJ,QAAQrL,MAAM,iCAAkC6B,EAClD,CAEAwgB,SAASnU,KAAKwoC,YAAYT,EAC5B,EA0BMU,GAAqB,SAACC,GAC1B,IAAMC,EAAaD,EAASE,eAAe,QAAS,CAClDlQ,SAAU,mBACVmQ,QAAS,OACTC,KAAM,UACNC,MAAO,OACPC,IAAK,YAGDC,EAAaP,EAASE,eAAe,QAAS,CAClDlQ,SAAU,mBACVwQ,KAAM,UACNC,OAAQ,YAGV,M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AQ,CAACvC,MAAOA,IACfiB,EAAAA,cAACsC,GAAsB,KACrBtC,EAAAA,cAACY,GAAmB,KAClBZ,EAAAA,cAACyF,GAAiB,KAChBzF,EAAAA,cAAC06J,GAAG,aAQF,MAIxB,wBAAAh2L,EAAAzC,OAAA,GAAAwB,EAAA,KACH02L,GAAA72L,MAAA,KAAAD,UAAA,CAEDuZ,SAASukH,iBAAiB,oBAAoB,WAC5Cw5D,EAAAA,EAAQC,iBAAiBC,EAAAA,GA7CS,WAEfV,GAAA72L,MAAC,KAADD,UAAA,CA4CnB81E,EACF","sources":["webpack://fort_app/./app/javascript/assets/credit_cards/png/32/ sync ^\\.\\/.*\\.png$","webpack://fort_app/./app/javascript/assets/ sync ^\\.\\/.*\\/logo\\.png$","webpack://fort_app/./app/javascript/http-common.js","webpack://fort_app/./app/javascript/services/auth.js","webpack://fort_app/./app/javascript/AsyncLocalStorage.js","webpack://fort_app/./app/javascript/services/api.js","webpack://fort_app/./app/javascript/store/index.js","webpack://fort_app/./app/javascript/contexts/Auth/Auth0Provider.js","webpack://fort_app/./app/javascript/contexts/User.js","webpack://fort_app/./app/javascript/components/Auth/Loading.js","webpack://fort_app/./app/javascript/contexts/Contact.js","webpack://fort_app/./app/javascript/contexts/FinancingOption/FinancingContext.js","webpack://fort_app/./app/javascript/services/utility.js","webpack://fort_app/./app/javascript/contexts/Auth/AxiosInterceptorProvider.js","webpack://fort_app/./app/javascript/components/App/AppProviderWrapper.js","webpack://fort_app/./app/javascript/components/Auth/Error.js","webpack://fort_app/./app/javascript/components/Auth/VerifyEmail.js","webpack://fort_app/./app/javascript/contexts/Auth/CommonAuthProvider.js","webpack://fort_app/./app/javascript/components/ScrollToTop.js","webpack://fort_app/./app/javascript/components/FatalError.js","webpack://fort_app/./app/javascript/components/ErrorBoundary.js","webpack://fort_app/./app/javascript/components/ProtectedRoute.js","webpack://fort_app/./app/javascript/contexts/Toast.tsx","webpack://fort_app/./app/javascript/components/Nav/Navbar.js","webpack://fort_app/./app/javascript/features/User/Auth0Callback.js","webpack://fort_app/./app/javascript/utilities.ts","webpack://fort_app/./app/javascript/features/Account/SearchForm.js","webpack://fort_app/./app/javascript/components/Account/Form.js","webpack://fort_app/./app/javascript/components/FadeIn.js","webpack://fort_app/./app/javascript/features/Account/Index.js","webpack://fort_app/./app/javascript/components/Client/OpportunityList.js","webpack://fort_app/./app/javascript/components/Card/BoxTitle.tsx","webpack://fort_app/./app/javascript/features/Account/Show.js","webpack://fort_app/./app/javascript/features/Profile.js","webpack://fort_app/./app/javascript/features/Admin/Client/Index.js","webpack://fort_app/./app/javascript/components/Admin/CreditSubmission/CreditSubmissionTable.js","webpack://fort_app/./app/javascript/features/Admin/Client/components/account-statistics.js","webpack://fort_app/./app/javascript/features/Admin/Client/components/account-information.js","webpack://fort_app/./app/javascript/components/Admin/Client/OpportunityList.js","webpack://fort_app/./app/javascript/features/Admin/Client/components/account-opportunities.js","webpack://fort_app/./app/javascript/features/Admin/Client/Show.js","webpack://fort_app/./app/javascript/components/Contact/AdminList.js","webpack://fort_app/./app/javascript/features/Admin/Contact/Index.js","webpack://fort_app/./app/javascript/features/Admin/Lender/Index.js","webpack://fort_app/./app/javascript/components/DatePickerPopUp.js","webpack://fort_app/./app/javascript/components/LenderRate/Form.js","webpack://fort_app/./app/javascript/components/RateCard/Form.js","webpack://fort_app/./app/javascript/components/Account/QualificationFields.js","webpack://fort_app/./app/javascript/components/Account/QualificationFieldsForm.js","webpack://fort_app/./app/javascript/features/Admin/Lender/Show.js","webpack://fort_app/./app/javascript/components/Admin/Opportunity/Table.js","webpack://fort_app/./app/javascript/components/LoadingText.js","webpack://fort_app/./app/javascript/components/AiLoader.js","webpack://fort_app/./app/javascript/components/VendorPayment/AttachmentUpload.js","webpack://fort_app/./app/javascript/components/DropQuoteCard.js","webpack://fort_app/./app/javascript/features/Admin/Opportunity/Index.js","webpack://fort_app/./app/javascript/features/Admin/Team/Index.js","webpack://fort_app/./app/javascript/components/Admin/Team/Contact/Form.js","webpack://fort_app/./app/javascript/components/Team/VendorLockCard.js","webpack://fort_app/./app/javascript/components/Team/PurchaseOptionLockCard.js","webpack://fort_app/./app/javascript/components/Admin/Team/Form.js","webpack://fort_app/./app/javascript/features/Admin/Team/Show.js","webpack://fort_app/./app/javascript/features/Admin/Vendor/Index.js","webpack://fort_app/./app/javascript/components/Team/List.js","webpack://fort_app/./app/javascript/components/Admin/Vendor/AdminList.js","webpack://fort_app/./app/javascript/components/Admin/Vendor/OpportunityList.js","webpack://fort_app/./app/javascript/components/Admin/Vendor/VendorProgramList.js","webpack://fort_app/./app/javascript/components/VendorContact/Form.js","webpack://fort_app/./app/javascript/features/Admin/Vendor/Show.js","webpack://fort_app/./app/javascript/components/VendorProgram/Form.js","webpack://fort_app/./app/javascript/components/VendorProgram/IndexTable.js","webpack://fort_app/./app/javascript/features/Admin/VendorProgram/Index.js","webpack://fort_app/./app/javascript/components/Admin/VendorProgram/AttachmentUpload.js","webpack://fort_app/./app/javascript/components/VendorProgram/FinanceOptionIndexTable.js","webpack://fort_app/./app/javascript/components/VendorProgram/EnvelopeIndexTable.js","webpack://fort_app/./app/javascript/components/VendorProgram/AttachmentsIndexTable.js","webpack://fort_app/./app/javascript/features/Admin/VendorProgram/Show.js","webpack://fort_app/./app/javascript/features/Admin/Document/List.js","webpack://fort_app/./app/javascript/features/Admin/Document/AddDocumentModal.js","webpack://fort_app/./app/javascript/features/Admin/Document/Index.js","webpack://fort_app/./app/javascript/features/Admin/Document/EditDocumentModal.js","webpack://fort_app/./app/javascript/features/Admin/Document/EditDocumentAssociationModal.js","webpack://fort_app/./app/javascript/features/Admin/Document/SnippetItems.js","webpack://fort_app/./app/javascript/features/Admin/Document/Show.js","webpack://fort_app/./app/javascript/components/Admin/Settings/Tabs/OrgAdmins.js","webpack://fort_app/./app/javascript/components/Admin/Settings/Tabs/Tags.js","webpack://fort_app/./app/javascript/components/AdminContact/Form.js","webpack://fort_app/./app/javascript/features/Admin/Settings/Index.js","webpack://fort_app/./app/javascript/features/Admin.js","webpack://fort_app/./app/javascript/components/Team/Membership/AvatarList.js","webpack://fort_app/./app/javascript/components/Team/IndexTable.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Team/Index.js","webpack://fort_app/./app/javascript/components/VendorAdmin/Team/Contact/Form.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Team/Show.js","webpack://fort_app/./app/javascript/features/VendorAdmin.js","webpack://fort_app/./app/javascript/components/Nav/OpportunityTab.js","webpack://fort_app/./app/javascript/pluralizeConfig.js","webpack://fort_app/./app/javascript/components/OpportunityContact/List.js","webpack://fort_app/./app/javascript/components/FinancingOption/List.js","webpack://fort_app/./app/javascript/components/DelayRender.js","webpack://fort_app/./app/javascript/components/Opportunity/SkeletonPage.js","webpack://fort_app/./app/javascript/components/Opportunity/AddTagModal.js","webpack://fort_app/./app/javascript/components/Opportunity/GuarantorList.tsx","webpack://fort_app/./app/javascript/features/Opportunity/FundingChecklist.js","webpack://fort_app/./app/javascript/finance.ts","webpack://fort_app/./app/javascript/components/DateTextField.js","webpack://fort_app/./app/javascript/features/Opportunity/ReviewForm.js","webpack://fort_app/./app/javascript/components/VendorPayment/FinalInvoiceList.js","webpack://fort_app/./app/javascript/features/Opportunity/PaymentsAndReview/NewTransactionModal.js","webpack://fort_app/./app/javascript/features/Opportunity/PaymentsAndReview/EditTransactionModal.js","webpack://fort_app/./app/javascript/components/Stripe/PaymentMethodResourceItem.js","webpack://fort_app/./app/javascript/components/Transaction/TransactionBadge.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/components/PaymentScheduleTable.js","webpack://fort_app/./app/javascript/features/Opportunity/PaymentsAndReview/InstallmentPaymentScheduleCard.js","webpack://fort_app/./app/javascript/components/Opportunity/PaymentMethodCard.js","webpack://fort_app/./app/javascript/features/Opportunity/PaymentsAndReview.js","webpack://fort_app/./app/javascript/features/Opportunity/EmbeddedSending.js","webpack://fort_app/./app/javascript/features/Opportunity/OpportunityDocuments/InternalFundingRequirements.js","webpack://fort_app/./app/javascript/components/VendorPayment/List.js","webpack://fort_app/./app/javascript/components/Confetti.tsx","webpack://fort_app/./app/javascript/components/Comment/DateChunk.js","webpack://fort_app/./app/javascript/components/Comment/ActivityChunk.js","webpack://fort_app/./app/javascript/components/Comment/CommentChunk.js","webpack://fort_app/./app/javascript/components/Comment/OpportunityCommentList.js","webpack://fort_app/./app/javascript/components/404.js","webpack://fort_app/./app/javascript/components/Opportunity/OriginatorForm.js","webpack://fort_app/./app/javascript/components/OpportunityContact/AvatarList.js","webpack://fort_app/./app/javascript/components/OpportunityContact/Form.js","webpack://fort_app/./app/javascript/components/Opportunity/ShareModal.js","webpack://fort_app/./app/javascript/components/Opportunity/TaskList.js","webpack://fort_app/./app/javascript/components/Opportunity/TaskListProgressBar.js","webpack://fort_app/./app/javascript/components/Opportunity/CreditPreview.js","webpack://fort_app/./app/javascript/features/Opportunity/Show.js","webpack://fort_app/./app/javascript/components/Opportunity/CreateForm.js","webpack://fort_app/./app/javascript/features/Opportunity/Create.js","webpack://fort_app/./app/javascript/features/Opportunity/EmbeddedSendingSent.js","webpack://fort_app/./app/javascript/features/Team/Index.js","webpack://fort_app/./app/javascript/components/Team/Contact/Form.js","webpack://fort_app/./app/javascript/features/Team/Show.js","webpack://fort_app/./app/javascript/components/Transaction/TransactionTable.js","webpack://fort_app/./app/javascript/features/Transaction/Index.js","webpack://fort_app/./app/javascript/features/CreditSubmission/Index.js","webpack://fort_app/./app/javascript/components/FinancingOption/ScheduleBarChart.tsx","webpack://fort_app/./app/javascript/components/FinancingOption/FinanceCalculator/components/LoadingSkeleton.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/ApprovedBanner.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/CalculatorModeToggle.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/SelectedIndicator.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/PaymentsEnabledToggle.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/BaseSegmentFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/DiscountFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/DownPaymentFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/InstallmentPaymentFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/InterestRateFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/PurchaseOptionSegmentFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/BalloonPaymentFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/TimingFields.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/AdminSummary.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/FinanceSummary.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/OverviewCard.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/Summary.tsx","webpack://fort_app/./app/javascript/components/PurchaseOption/Calculator.js","webpack://fort_app/./app/javascript/features/FinancingOption/New.js","webpack://fort_app/./app/javascript/features/FinancingOption/Show.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/ShareHeader.js","webpack://fort_app/./app/javascript/features/Invoice/Embed.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/components/InvoiceModal.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/TermCard.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/components/DisplayTermsModal.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/Section179Ad.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/SelectTerms.js","webpack://fort_app/./app/javascript/components/Stripe/PaymentMethodList.js","webpack://fort_app/./app/javascript/components/Stripe/CustomerCardSetupForm.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/PaymentSchedule.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/components/ShareModal.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/ClientCard.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/ClientForm.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/SignerCard.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/SignerForm.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/GuarantorCard.js","webpack://fort_app/./app/javascript/components/DatePickerPopup2/utils/dateUtils.ts","webpack://fort_app/./app/javascript/components/DatePickerPopup2/utils/dateValidation.ts","webpack://fort_app/./app/javascript/components/DatePickerPopup2/utils/datePickerReducer.ts","webpack://fort_app/./app/javascript/components/DatePickerPopup2/DatePickerPopup2.tsx","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/GuarantorForm.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/ConfirmSigner.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/UploadAttachments.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/SignDocuments.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/components/Finish.js","webpack://fort_app/./app/javascript/features/Opportunity/RequestAccess.js","webpack://fort_app/./app/javascript/features/FinancingOption/Share/v1.5/Share.js","webpack://fort_app/./app/javascript/components/Vendor/Form.js","webpack://fort_app/./app/javascript/features/Vendor/New.js","webpack://fort_app/./app/javascript/components/VendorPayment/Form.js","webpack://fort_app/./app/javascript/features/VendorPayment/New.js","webpack://fort_app/./app/javascript/features/VendorPayment/Show.js","webpack://fort_app/./app/javascript/components/Invoice/Confirm/Form.js","webpack://fort_app/./app/javascript/features/Invoice/Confirm.js","webpack://fort_app/./app/javascript/features/CreditSubmission/New.js","webpack://fort_app/./app/javascript/components/CreditSubmission/ApprovedForm.js","webpack://fort_app/./app/javascript/components/CreditSubmission/DeclinedForm.js","webpack://fort_app/./app/javascript/components/CreditSubmission/NeedsInfoForm.js","webpack://fort_app/./app/javascript/components/CreditSubmission/PendingForm.js","webpack://fort_app/./app/javascript/features/CreditSubmission/Show.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Index.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Tabs/AccountDetails.js","webpack://fort_app/./app/javascript/components/VendorAdmin/Vendor/Contact/Form.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Tabs/VendorAdminList.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Tabs/IntegratedPaymentsSettings.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Tabs/VendorTags.js","webpack://fort_app/./app/javascript/features/VendorAdmin/Settings/Show.js","webpack://fort_app/./app/javascript/services/filters/opportunity.js","webpack://fort_app/./app/javascript/components/Opportunity/TaskFilter.js","webpack://fort_app/./app/javascript/components/Opportunity/ViewFilter.js","webpack://fort_app/./app/javascript/components/Opportunity/HomeTableSkeletonCards.js","webpack://fort_app/./app/javascript/components/Opportunity/HomeTableWithIndexFilter.js","webpack://fort_app/./app/javascript/features/Home/Index.js","webpack://fort_app/./app/javascript/components/HubspotForm.js","webpack://fort_app/./app/javascript/features/Customer.js","webpack://fort_app/./app/javascript/components/Calculator/PaymentCalculator.js","webpack://fort_app/./app/javascript/features/PublicPaymentCalculator.js","webpack://fort_app/./app/javascript/features/Section179Calculator.js","webpack://fort_app/./app/javascript/components/Sandbox.tsx","webpack://fort_app/./app/javascript/components/App/FrameWrapper.js","webpack://fort_app/./app/javascript/components/App.js","webpack://fort_app/./app/javascript/packs/index.js"],"sourcesContent":["var map = {\n\t\"./2co.png\": 67690,\n\t\"./alipay.png\": 50494,\n\t\"./alipay2.png\": 37934,\n\t\"./amazon.png\": 11464,\n\t\"./american_express.png\": 18339,\n\t\"./american_express_black.png\": 21279,\n\t\"./american_express_gold.png\": 90082,\n\t\"./american_express_green.png\": 479,\n\t\"./american_express_platinum.png\": 3764,\n\t\"./asia_pay.png\": 18525,\n\t\"./asia_pay2.png\": 56283,\n\t\"./bank_of_america.png\": 17873,\n\t\"./cash.png\": 55737,\n\t\"./cashu.png\": 84656,\n\t\"./chase.png\": 84216,\n\t\"./check.png\": 56538,\n\t\"./china_union.png\": 44987,\n\t\"./cirrus.png\": 50808,\n\t\"./cirrus2.png\": 74232,\n\t\"./citybank.png\": 82899,\n\t\"./clickandbuy.png\": 47175,\n\t\"./credit_card.png\": 19702,\n\t\"./credit_cards.png\": 39711,\n\t\"./currency_baht_sign.png\": 39945,\n\t\"./currency_bitcoin_sign.png\": 89340,\n\t\"./currency_denar_sign.png\": 53370,\n\t\"./currency_dinar_sign.png\": 48382,\n\t\"./currency_dollar_sign.png\": 31726,\n\t\"./currency_dollar_sign2.png\": 8062,\n\t\"./currency_euro_sign.png\": 85085,\n\t\"./currency_peso_sign.png\": 94173,\n\t\"./currency_pound_sign.png\": 65940,\n\t\"./currency_rial_sign.png\": 32424,\n\t\"./currency_ruble_sign.png\": 75272,\n\t\"./currency_rupee_sign.png\": 32615,\n\t\"./currency_sign.png\": 73421,\n\t\"./currency_yen_sign.png\": 31134,\n\t\"./currency_yen_sign2.png\": 20142,\n\t\"./currency_yuan_sign.png\": 70585,\n\t\"./diners_club.png\": 40652,\n\t\"./discover.png\": 79701,\n\t\"./e_check.png\": 54722,\n\t\"./electroncash.png\": 44775,\n\t\"./eps.png\": 6004,\n\t\"./gift_card.png\": 20757,\n\t\"./giropay.png\": 39487,\n\t\"./google_wallet.png\": 39029,\n\t\"./jcb.png\": 67719,\n\t\"./maestro.png\": 99965,\n\t\"./maestro2.png\": 81435,\n\t\"./mastercard.png\": 880,\n\t\"./mastercard2.png\": 85824,\n\t\"./mastercard_gold.png\": 18251,\n\t\"./mastercard_platinum.png\": 83385,\n\t\"./obopay.png\": 89800,\n\t\"./paymate.png\": 13603,\n\t\"./paymate2.png\": 81753,\n\t\"./paypal.png\": 26013,\n\t\"./purchase_order.png\": 61620,\n\t\"./skrill.png\": 55261,\n\t\"./transferwise.png\": 3853,\n\t\"./ukash.png\": 57030,\n\t\"./visa.png\": 99607,\n\t\"./visa_electron.png\": 14438,\n\t\"./visa_gold.png\": 64422,\n\t\"./visa_platinum.png\": 80096,\n\t\"./webmoney.png\": 79222,\n\t\"./western_union.png\": 22368,\n\t\"./wire_transfer.png\": 2589,\n\t\"./worldpay.png\": 45142,\n\t\"./xoom.png\": 43303\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 78464;","var map = {\n\t\"./acme/logo.png\": 3398,\n\t\"./adaptdx/logo.png\": 14130,\n\t\"./augmedics/logo.png\": 39262,\n\t\"./clearsky/logo.png\": 29738,\n\t\"./cme/logo.png\": 96037,\n\t\"./default/logo.png\": 75591,\n\t\"./fort/logo.png\": 80841,\n\t\"./iec/logo.png\": 13845,\n\t\"./leica/logo.png\": 14648,\n\t\"./lkc/logo.png\": 77868,\n\t\"./lps/logo.png\": 39895,\n\t\"./macuhealth/logo.png\": 50108,\n\t\"./maculogix/logo.png\": 10615,\n\t\"./nanostring/logo.png\": 66715,\n\t\"./neurolens/logo.png\": 94821,\n\t\"./oxos/logo.png\": 70929,\n\t\"./sheapak/logo.png\": 81933,\n\t\"./topcon/logo.png\": 27965,\n\t\"./trice_medical/logo.png\": 57371,\n\t\"./viizr/logo.png\": 38650,\n\t\"./wellcomemat/logo.png\": 68472\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 43234;","import axios from \"axios\";\n\nconst axiosInstance = axios.create({\n baseURL: \"/api/v1\",\n headers: {\n \"Content-type\": \"application/json\",\n },\n});\n\n// No longer have the concept of a current team\n\n// axiosInstance.interceptors.request.use((config) => {\n// const storedTeamId = localStorage.getItem(\"current-team-id\");\n\n// console.log(\"storedTeamId: \", storedTeamId);\n\n// if (storedTeamId) {\n// config.headers.common[\"current-team-id\"] = storedTeamId;\n// }\n\n// return config;\n// });\n\nexport default axiosInstance;\n","import http from \"../http-common\";\nimport { invertMapKeysAndValues } from \"./utility\";\n\n// MIT License\n\n// Copyright (c) 2017 Kyle Corbelli\n\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nconst authHeaderKeys = [\n \"access-token\",\n \"token-type\",\n \"client\",\n \"expiry\",\n \"uid\",\n \"current-team-id\",\n];\n\nconst persistentHeaderKeys = [\"current-team-id\"];\n\nexport const setAuthHeaders = (headers) => {\n authHeaderKeys.forEach((key) => {\n if (headers[key]) {\n http.defaults.headers.common[key] = headers[key];\n }\n });\n};\n\nexport const persistAuthHeadersInDeviceStorage = (Storage, headers) => {\n authHeaderKeys.forEach((key) => {\n if (headers[key]) {\n Storage.setItem(key, headers[key]);\n }\n });\n};\n\nexport const deleteAuthHeaders = () => {\n authHeaderKeys.forEach((key) => {\n if (!persistentHeaderKeys.includes(key)) {\n delete http.defaults.headers.common[key];\n }\n });\n};\n\nexport const deleteAuthHeadersFromDeviceStorage = async (Storage) => {\n authHeaderKeys.forEach((key) => {\n if (!persistentHeaderKeys.includes(key)) {\n Storage.removeItem(key);\n }\n });\n};\n\nexport const getUserAttributesFromResponse = (userAttributes, response) => {\n const invertedUserAttributes = invertMapKeysAndValues(userAttributes);\n const userAttributesBackendKeys = Object.keys(invertedUserAttributes);\n const userAttributesToReturn = {};\n Object.keys(response.data.data).forEach((key) => {\n if (userAttributesBackendKeys.indexOf(key) !== -1) {\n userAttributesToReturn[invertedUserAttributes[key]] =\n response.data.data[key];\n }\n });\n return userAttributesToReturn;\n};\n","const AsyncLocalStorage = {\n getItem: (key) => new Promise((resolve, reject) => {\n try {\n const value = window.localStorage.getItem(key)\n resolve(value)\n } catch (error) {\n reject(error)\n }\n }),\n\n setItem: (key, value) => new Promise((resolve, reject) => {\n try {\n window.localStorage.setItem(key, value)\n resolve(value)\n } catch (error) {\n reject(error)\n }\n }),\n\n removeItem: (key) => new Promise((resolve, reject) => {\n try {\n const value = window.localStorage.getItem(key)\n window.localStorage.removeItem(key)\n resolve(value)\n } catch (error) {\n reject(error)\n }\n }),\n\n clear: () => new Promise((resolve, reject) => {\n try {\n window.localStorage.clear()\n resolve(true)\n } catch (error) {\n reject(error)\n }\n }),\n\n getAllKeys: () => new Promise((resolve, reject) => {\n try {\n const allKeys = Object.keys(window.localStorage)\n resolve(allKeys)\n } catch (error) {\n reject(error)\n }\n }),\n\n multiGet: (keys) => new Promise((resolve, reject) => {\n try {\n const values = keys.map(key => [ key, window.localStorage.getItem(key) ])\n resolve(values)\n } catch (error) {\n reject(error)\n }\n }),\n\n multiSet: (keyValuePairs) => new Promise((resolve, reject) => {\n try {\n keyValuePairs.forEach(keyValuePair => window.localStorage.setItem(keyValuePair[0], keyValuePair[1]))\n const newKeyValuePairs = keyValuePairs.map(keyValuePair => [ keyValuePair[0], window.localStorage.getItem(keyValuePair[0]) ])\n resolve(newKeyValuePairs)\n } catch (error) {\n reject(error)\n }\n }),\n}\n\nexport default AsyncLocalStorage\n","import { createApi, retry } from \"@reduxjs/toolkit/query/react\";\nimport http from \"../http-common\";\nimport { persistAuthHeadersInDeviceStorage, setAuthHeaders } from \"./auth\";\nimport AsyncLocalStorage from \"../AsyncLocalStorage\";\n\nconst Storage = AsyncLocalStorage;\n\nexport const baseQuery = () => {\n return async ({ url, method, data, params, responseType }) => {\n try {\n const response = await http({\n url: url,\n method,\n data,\n params,\n responseType,\n });\n\n setAuthHeaders(response.headers);\n persistAuthHeadersInDeviceStorage(Storage, response.headers);\n\n const meta = {};\n\n return { data: response.data, meta };\n } catch (axiosError) {\n let err = axiosError;\n\n if (\n err.response?.status === 400 ||\n err.response?.status === 403 ||\n err.response?.status === 404 ||\n err.response?.status === 422 ||\n err.response?.status === 500\n ) {\n setAuthHeaders(err.response?.headers);\n persistAuthHeadersInDeviceStorage(Storage, err.response?.headers);\n }\n\n return {\n error: { status: err.response?.status, data: err.response?.data },\n };\n }\n };\n};\n\nconst staggeredBaseQuery = retry(\n async (args, api, extraOptions) => {\n const result = await baseQuery()(args, api, extraOptions);\n\n // bail out of re-tries immediately if\n // we know successive re-retries would be redundant\n if (\n result.error?.status === 400 ||\n result.error?.status === 403 ||\n result.error?.status === 404 ||\n result.error?.status === 422 ||\n result.error?.status === 500\n ) {\n retry.fail(result.error);\n }\n\n if (result.error?.status === 401) {\n console.log(\"creds failed...\");\n }\n\n return result;\n },\n {\n maxRetries: 3,\n }\n);\n\nconst fortApiTagTypes = [\n \"Account\",\n \"AccountStats\",\n \"Client\",\n \"Comment\",\n \"Contact\",\n \"CreditPreview\",\n \"CreditSubmission\",\n \"Document\",\n \"Event\",\n \"FinancingOption\",\n \"FinancingOptionSegment\",\n \"FinancingOptionTemplate\",\n \"Guarantor\",\n \"Lender\",\n \"Membership\",\n \"Tag\",\n \"Opportunity\",\n \"OpportunityContact\",\n \"OpportunityDocument\",\n \"OpportunityAttachment\",\n \"OpportunityEnvelope\",\n \"OpportunityEnvelopeTemplate\",\n \"RateCard\",\n \"Task\",\n \"Team\",\n \"Transaction\",\n \"SavedView\",\n \"Vendor\",\n \"VendorPayment\",\n \"VendorProgram\",\n\n // ADMIN\n \"AdminAccount\",\n \"AdminOpportunity\",\n \"AdminVendorProgram\",\n\n // SANDBOX\n \"PaymentLink\",\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n];\n\nexport const fortApi = createApi({\n reducerPath: \"fortApi\",\n baseQuery: staggeredBaseQuery,\n\n tagTypes: fortApiTagTypes,\n\n endpoints: (builder) => ({\n // Client Profile\n\n getClientStats: builder.query({\n query: ({ account_id }) => {\n return {\n url: `/client_stats`,\n params: { account_id },\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"AccountStats\", id }],\n }),\n\n // OPPORTUNITIES\n\n getOpportunityStats: builder.query({\n query: ({\n filters,\n task_name,\n status,\n search,\n originator,\n savedView,\n }) => {\n let url = \"/opportunity_stats\";\n\n const queries = [];\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (originator && originator.length > 0) {\n queries.push(`originator=${originator}`);\n }\n if (savedView && savedView?.length > 0) {\n queries.push(`saved_view=${savedView}`);\n }\n if (task_name && task_name.length > 0 && status && status.length) {\n queries.push(`task_name=${task_name}`);\n queries.push(`status=${status}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => [{ type: \"Opportunity\", id: \"LIST\" }],\n }),\n\n getOpportunities: builder.query({\n query: ({\n page,\n limit,\n filters,\n task_name,\n status,\n sort,\n search,\n originator,\n savedView,\n forExport,\n expand = false,\n }) => {\n let url = \"/opportunities\";\n\n const queries = [];\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (originator && originator.length > 0) {\n queries.push(`originator=${originator}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n if (savedView && savedView?.length > 0) {\n queries.push(`saved_view=${savedView}`);\n }\n if (forExport) {\n queries.push(`for_export=true`);\n }\n if (task_name && task_name.length > 0 && status && status.length) {\n queries.push(`task_name=${task_name}`);\n queries.push(`status=${status}`);\n }\n if (expand) {\n queries.push(`expand=${expand}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result.opportunities.data) {\n return [\n ...(result.opportunities &&\n result.opportunities.data.map(({ id }) => ({\n type: \"Opportunity\",\n id,\n }))),\n { type: \"Opportunity\", id: \"LIST\" },\n ];\n } else {\n return [{ type: \"Opportunity\", id: \"LIST\" }];\n }\n },\n }),\n getOpportunity: builder.query({\n query: (id) => ({ url: `/opportunities/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n let formattedResponse = {\n ...response.data,\n included: response.included,\n };\n\n return formattedResponse;\n },\n providesTags: (result, error, id) => [{ type: \"Opportunity\", id }],\n }),\n createOpportunity: builder.mutation({\n query: ({ clientAccountId, ...body }) => ({\n url: `/clients/${clientAccountId}/opportunities`,\n method: \"post\",\n data: {\n opportunity: body.opportunity,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Opportunity\", id: \"LIST\" }, \"Task\"],\n }),\n updateOpportunity: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/opportunities/${id}`,\n method: \"patch\",\n data: { opportunity: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"Opportunity\", \"Task\"],\n }),\n updateOpportunityStage: builder.mutation({\n query: ({ id, stage_name }) => ({\n url: `/opportunities/${id}/${stage_name}`,\n method: \"patch\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"Opportunity\", \"Task\"],\n }),\n deleteOpportunities: builder.mutation({\n query: ({ filters, search, originator, opportunityIds }) => {\n let url = \"/opportunities\";\n let queries = [];\n\n if (opportunityIds && opportunityIds.length > 0) {\n let opportunityQuery = `opportunity_ids=`;\n for (let i = 0; i < opportunityIds.length; i++) {\n opportunityQuery = opportunityQuery + opportunityIds[i];\n if (i != opportunityIds.length - 1) {\n opportunityQuery = opportunityQuery + \",\";\n }\n }\n queries.push(opportunityQuery);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n\n return { url: url, method: \"delete\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n \"Opportunity\",\n { type: \"Opportunity\", id: \"LIST\" },\n \"Task\",\n \"Transaction\",\n { type: \"Transaction\", id: \"LIST\" },\n ],\n }),\n requestOpportunityAccess: builder.mutation({\n query: ({ id }) => ({\n url: `/opportunities/request_access`,\n method: \"put\",\n data: {\n id: id,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"Opportunity\"],\n }),\n\n exportOpportunities: builder.query({\n query: () => ({ url: `exports/opportunities`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Opportunity\", id }],\n }),\n\n // OPPORTUNITY ATTACHMENTS\n getOpportunityAttachments: builder.query({\n query: ({ opportunityId, isPublic = true }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_attachments?public=${isPublic}`,\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"OpportunityAttachment\", id })),\n { type: \"OpportunityAttachment\", id: \"LIST\" },\n ],\n }),\n createOpportunityAttachments: builder.mutation({\n query: ({ opportunityId, body }) => ({\n url: `/opportunities/${opportunityId}/opportunity_attachments`,\n method: \"post\",\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n \"OpportunityAttachment\",\n { type: \"OpportunityAttachment\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n updateOpportunityAttachment: builder.mutation({\n query: ({ opportunityId, id, patch }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_attachments/${id}`,\n method: \"patch\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { opportunity_attachment: patch },\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"OpportunityAttachment\", \"Opportunity\", \"Task\"],\n }),\n purgeOpportunityAttachment: builder.mutation({\n query: ({ opportunityId, id, attachmentId, dIndex }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_attachments/${id}/purge?attachmentId=${attachmentId}&index=${dIndex}`,\n method: \"delete\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"OpportunityAttachment\", \"Opportunity\", \"Task\"],\n }),\n deleteOpportunityAttachment: builder.mutation({\n query: ({ opportunityId, id }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_attachments/${id}`,\n method: \"delete\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"OpportunityAttachment\", \"Task\"],\n }),\n\n // OPPORTUNITY ENVELOPE TEMPLATE\n getOpportunityEnvelopeTemplates: builder.query({\n query: ({ vendorProgramId, opportunityId = null }) => {\n return {\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates`,\n params: opportunityId ? { opportunity_id: opportunityId } : {},\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (Array.isArray(result)) {\n return [\n ...result.map(({ id }) => ({\n type: \"OpportunityEnvelopeTemplate\",\n id,\n })),\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n \"OpportunityEnvelopeTemplate\",\n ];\n } else {\n return [\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n \"OpportunityEnvelopeTemplate\",\n ];\n }\n },\n }),\n getOpportunityEnvelopeTemplate: builder.query({\n query: ({ vendorProgramId, id }) => {\n return {\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates/${id}`,\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [\n { type: \"OpportunityEnvelopeTemplate\", id },\n ],\n }),\n createOpportunityEnvelopeTemplate: builder.mutation({\n query: ({ vendorProgramId, body }) => ({\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates`,\n method: \"post\",\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n updateOpportunityEnvelopeTemplate: builder.mutation({\n query: ({ vendorProgramId, id, patch }) => {\n return {\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates/${id}`,\n method: \"patch\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { opportunity_envelope_templates: patch },\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"OpportunityEnvelopeTemplate\", \"Opportunity\", \"Task\"],\n }),\n deleteOpportunityEnvelopeTemplate: builder.mutation({\n query: ({ vendorProgramId, id }) => {\n return {\n url: `/vendor_programs/${vendorProgramId}/opportunity_documents/${id}`,\n method: \"delete\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"OpportunityEnvelopeTemplate\"],\n }),\n generateOpportunityEnvelopeTemplate: builder.mutation({\n query: ({ vendorProgramId, id, body }) => ({\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates/${id}/generate`,\n method: \"post\",\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n generateOpportunityEnvelopeTemplates: builder.mutation({\n query: ({ vendorProgramId, body }) => ({\n url: `/vendor_programs/${vendorProgramId}/opportunity_envelope_templates/generate`,\n method: \"post\",\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n\n // OPPORTUNITY EVENTS\n getOpportunityEvents: builder.query({\n query: (opportunityId) => {\n return { url: `/opportunities/${opportunityId}/events`, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Event\", id })),\n { type: \"Event\", id: \"LIST\" },\n ],\n }),\n createOpportunityEvent: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/events`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { event: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Event\", id: \"LIST\" }, \"Event\"],\n }),\n\n // COMPANIES SEARCH\n getCompaniesSearch: builder.query({\n query: ({ query, address }) => ({\n url: \"/companies/search\",\n method: \"get\",\n params: { query: query, address: address },\n }),\n transformResponse(response) {\n return response.results;\n },\n }),\n\n // CONTACTS\n getContact: builder.query({\n query: (id) => ({ url: `/contacts/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Contact\", id }],\n }),\n\n getContacts: builder.query({\n query: (accountId) => ({\n url: `/accounts/${accountId}/contacts`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ];\n },\n }),\n\n searchContacts: builder.query({\n query: ({ search }) => {\n let url = `/contacts/search`;\n if (search && search.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => [{ type: \"Contact\", id: \"LIST\" }],\n }),\n\n fetchContact: builder.query({\n query: (email) => {\n let url = `/contacts/fetch`;\n if (email && email.length > 0) {\n url = url + \"?email=\" + encodeURIComponent(email);\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error) => {\n if (error) return [];\n return [\"Contact\", { type: \"Contact\", id: result?.id }];\n },\n }),\n\n createContact: builder.mutation({\n query: ({ accountId, teamId, isPublicCapture = false, ...body }) => ({\n url: `/accounts/${accountId}/contacts`,\n method: \"post\",\n data: {\n contact: body,\n team_id: teamId,\n public_capture: isPublicCapture,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"Contact\", id: \"LIST\" },\n \"Contact\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n captureContact: builder.mutation({\n // TODO - remove when customers log in\n query: ({ clientAccountId, isPublicCapture = false, ...body }) => ({\n url: `/clients/${clientAccountId}/contacts/capture`,\n method: \"post\",\n data: { contact: body, public_capture: isPublicCapture },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"Contact\", id: \"LIST\" },\n \"Contact\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n updateContact: builder.mutation({\n query: ({ id, isPublicCapture = false, ...patch }) => ({\n url: `/contacts/${id}`,\n method: \"patch\",\n data: { contact: patch, public_capture: isPublicCapture }, // TODO - remove public capture when customers login\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (result, error, { id }) => {\n if (error) return [];\n return [\n { type: \"Contact\", id: id },\n { type: \"Contact\", id: \"LIST\" },\n \"Contact\",\n \"Opportunity\",\n \"Task\",\n ];\n },\n }),\n\n // OPPORTUNITY CONTACTS\n getOpportunityContacts: builder.query({\n query: (opportunityId) => ({\n url: `/opportunities/${opportunityId}/contacts`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error) => {\n if (error) return [];\n return [\n ...result.map(({ id }) => ({ type: \"OpportunityContact\", id })),\n { type: \"OpportunityContact\", id: \"LIST\" },\n ];\n },\n }),\n createOpportunityContact: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/contacts`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"OpportunityContact\", id: \"LIST\" }],\n }),\n updateOpportunityContact: builder.mutation({\n query: ({ opportunityId, id, ...patch }) => ({\n url: `/opportunities/${opportunityId}/contacts/${id}`,\n method: \"patch\",\n data: { opportunity_contact: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }, error, { opportunityId }) => {\n return [\n { type: \"OpportunityContact\", id: id },\n { type: \"OpportunityContact\", id: \"LIST\" },\n { type: \"Opportunity\", id: opportunityId },\n \"Task\",\n ];\n },\n }),\n deleteOpportunityContacts: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/contacts`,\n method: \"DELETE\",\n data: body,\n }),\n invalidatesTags: (result, error, id) => [\n { type: \"OpportunityContact\", id },\n { type: \"OpportunityContact\", id: \"LIST\" },\n \"OpportunityContact\",\n ],\n }),\n captureOpportunityContact: builder.mutation({\n // TODO - remove when customers log in\n query: ({ opportunityId, isPublicCapture = false, ...body }) => ({\n url: `/opportunities/${opportunityId}/contacts/capture`,\n method: \"post\",\n data: { contact: body, public_capture: isPublicCapture },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"Contact\", id: \"LIST\" },\n \"Contact\",\n \"Opportunity\",\n \"OpportunityContact\",\n \"Task\",\n ],\n }),\n\n // OPPORTUNITY ORIGINATOR\n searchOpportunityOriginators: builder.query({\n query: ({ opportunityId, search }) => {\n let url = `/opportunities/${opportunityId}/originator/search`;\n if (search && search.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [{ type: \"Contact\", id: \"LIST\" }],\n }),\n updateOpportunityOriginator: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/originator`,\n method: \"put\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (response, error, { opportunityId }) => {\n return [{ type: \"Opportunity\", id: opportunityId }, \"Task\"];\n },\n }),\n\n createDesignatedSigner: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/designated_signers`,\n method: \"post\",\n data: { designated_signer: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (response, error, { opportunityId }) => {\n return [\n \"Opportunity\",\n { type: \"Opportunity\", id: opportunityId },\n \"OpportunityContact\",\n \"Task\",\n ];\n },\n }),\n\n // ACCOUNTS\n getAccount: builder.query({\n query: (id) => ({ url: `/accounts/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Account\", id }],\n }),\n getAccounts: builder.query({\n query: () => ({ url: `/accounts`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Account\", id })),\n { type: \"Account\", id: \"LIST\" },\n ],\n }),\n // AccountsController#create runs find_or_initialize on the new account\n createAccount: builder.mutation({\n query: (body) => ({\n url: \"/accounts\",\n method: \"post\",\n data: { account: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n { type: \"AdminAccount\", id: \"LIST\" },\n \"AdminAccount\",\n { type: \"Account\", id: \"LIST\" },\n \"Account\",\n { type: \"Client\", id: \"LIST\" },\n \"Client\",\n ],\n }),\n updateAccount: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/accounts/${id}`,\n method: \"patch\",\n data: { account: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"Account\", id: id },\n { type: \"Account\", id: \"LIST\" },\n ];\n },\n }),\n\n getAccountEvents: builder.query({\n query: ({ accountId }) => {\n return { url: `/accounts/${accountId}/events`, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Event\", id })),\n { type: \"Event\", id: \"LIST\" },\n ],\n }),\n\n // CLIENT\n getClient: builder.query({\n query: (id) => ({ url: `/clients/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Client\", id }],\n }),\n getClients: builder.query({\n query: () => ({ url: `/clients`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Client\", id })),\n { type: \"Client\", id: \"LIST\" },\n ],\n }),\n\n // CLIENT OPPORTUNITIES\n getClientOpportunities: builder.query({\n query: ({ clientId, page, limit, filters, sort, search }) => {\n let url = `/clients/${clientId}/opportunities`;\n let queries = [];\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Opportunity\", id }],\n }),\n\n // CLIENT ACCOUNTS\n getClientAccount: builder.query({\n query: (id) => ({ url: `/clients/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Account\", id }],\n }),\n getClientAccounts: builder.query({\n query: () => ({ url: `/clients`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Account\", id })),\n { type: \"Account\", id: \"LIST\" },\n ],\n }),\n updateClientAccount: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/clients/${id}`,\n method: \"patch\",\n data: { client: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"Account\", id: id },\n { type: \"Account\", id: \"LIST\" },\n ];\n },\n }),\n\n // TEAM ACCOUNTS\n getTeamAccounts: builder.query({\n query: (team_id) => ({\n url: `/teams/${team_id}/accounts`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Account\", id })),\n { type: \"Account\", id: \"LIST\" },\n ],\n }),\n\n // TEAM CLIENTS\n getTeamClients: builder.query({\n query: (team_id) => ({\n url: `/teams/${team_id}/clients`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Client\", id })),\n { type: \"Client\", id: \"LIST\" },\n ],\n }),\n createClient: builder.mutation({\n query: ({ teamId, ...body }) => ({\n url: `/teams/${teamId}/clients`,\n method: \"post\",\n data: { client: body },\n }),\n transformResponse: (response) => {\n response.data.meta = response.meta;\n return response.data;\n },\n invalidatesTags: [{ type: \"Client\", id: \"LIST\" }, \"Client\"],\n }),\n updateClient: builder.mutation({\n query: ({ id, teamId, ...patch }) => ({\n url: `/teams/${teamId}/clients/${id}`,\n method: \"patch\",\n data: { client: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"Account\", id: id },\n { type: \"Account\", id: \"LIST\" },\n { type: \"Client\", id: id },\n { type: \"Client\", id: \"LIST\" },\n ];\n },\n }),\n\n // TEAM CONTACTS\n createTeamContact: builder.mutation({\n query: ({ teamId, ...body }) => ({\n url: `/teams/${teamId}/contacts/create_invite`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Membership\", id: \"LIST\" }, \"Membership\"],\n }),\n\n searchTeamContacts: builder.query({\n query: ({ teamId, search }) => {\n let url = `/teams/${teamId}/contacts/search`;\n if (search && search.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [{ type: \"Contact\", id: \"LIST\" }],\n }),\n\n // ACCOUNT TEAMS\n getAccountTeams: builder.query({\n query: (account_id) => ({\n url: `/accounts/${account_id}/teams`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n\n // TEAMS\n getTeams: builder.query({\n query: ({ contactId = null, is_home_index } = {}) => ({\n url: `/teams`,\n method: \"get\",\n params: contactId ? { contact_id: contactId } : { is_home_index },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n\n getTeam: builder.query({\n query: ({ id }) => ({\n url: `/teams/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Team\", id }],\n }),\n\n updateTeam: builder.mutation({\n query: ({ team_id, ...body }) => ({\n url: `/teams/${team_id}`,\n method: \"patch\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Team\", id: \"LIST\" }, \"Team\"],\n }),\n\n // FINANCING OPTIONS\n getFinancingOptions: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/financing_options`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"FinancingOption\", id })),\n { type: \"FinancingOption\", id: \"LIST\" },\n ],\n }),\n getFinancingOption: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/financing_options/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"FinancingOption\", id }],\n }),\n getNewFinancingOption: builder.query({\n query: ({ opportunityId }) => ({\n url: `/opportunities/${opportunityId}/financing_options/new`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n createFinancingOption: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/financing_options`,\n method: \"post\",\n data: { financing_option: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"FinancingOption\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n updateFinancingOption: builder.mutation({\n query: ({ id, opportunityId, ...patch }) => ({\n url: `/opportunities/${opportunityId}/financing_options/${id}`,\n method: \"patch\",\n data: { financing_option: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (id) => [\n { type: \"FinancingOption\", id: \"LIST\" },\n { type: \"FinancingOptionSegment\", id: \"LIST\" },\n { type: \"Document\", id: \"LIST\" },\n \"Opportunity\",\n \"OpportunityEnvelopeTemplate\",\n \"FinancingOption\",\n \"FinancingOptionSegment\",\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n { type: \"FinancingOption\", id: id },\n \"Task\",\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n ],\n }),\n deleteFinancingOption: builder.mutation({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/financing_options/${id}`,\n method: \"DELETE\",\n }),\n invalidatesTags: (result, error, id) => [\n { type: \"FinancingOption\", id },\n { type: \"FinancingOption\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n // FINANCING OPTION EVENTS\n createFinancingOptionEvent: builder.mutation({\n query: ({ financingOptionId, ...body }) => ({\n url: `/financing_options/${financingOptionId}/events`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { event: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Event\", id: \"LIST\" }, \"Event\"],\n }),\n\n // FINANCING OPTION SEGMENTS\n // getFinancingOptionSegments: builder.query<\n // FinancingOptionSegment[],\n // string\n // >({\n getFinancingOptionSegments: builder.query({\n query: (financing_option_id) => ({\n url: `/financing_options/${financing_option_id}/financing_option_segments`,\n method: \"get\",\n }),\n // transformResponse: (response: {\n // data: { financingOptionSegment: FinancingOptionSegment[] };\n // }) => {\n // return response.data;\n // },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) =>\n result\n ? [\n ...result.map(({ id }) => ({\n type: \"FinancingOptionSegment\",\n id,\n })),\n { type: \"FinancingOptionSegment\", id: \"LIST\" },\n ]\n : [{ type: \"FinancingOptionSegment\", id: \"LIST\" }],\n }),\n\n // FINANCING OPTION TEMPLATES\n getFinancingOptionTemplates: builder.query({\n query: (opportunityId) => ({\n url: `/opportunities/${opportunityId}/financing_option_templates`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"FinancingOptionTemplate\", id })),\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n ],\n }),\n createFinancingOptionTemplate: builder.mutation({\n query: ({ id, segments, ...body }) => ({\n url: `/admin/vendor_programs/${id}/financing_option_templates`,\n method: \"post\",\n data: {\n vendor_program_id: id,\n financing_option_template: body,\n segments: segments,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"FinancingOptionTemplate\", id: id },\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n ];\n },\n }),\n\n updateFinancingOptionTemplate: builder.mutation({\n query: ({ id, segments, financing_option_template_id, ...body }) => ({\n url: `/admin/vendor_programs/${id}/financing_option_templates/${id}`,\n method: \"patch\",\n data: {\n financing_option_template_id: financing_option_template_id,\n financing_option_template: {\n ...body,\n segments: segments,\n },\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"FinancingOptionTemplate\", id: id },\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n ];\n },\n }),\n\n // ADMIN CREDIT SUBMISSIONn\n getAdminCreditSubmissions: builder.query({\n query: ({\n clientIdFilter,\n clientShowPage,\n lender,\n page,\n limit,\n search,\n }) => {\n let url = `/admin/credit_submissions`;\n let queries = [];\n\n if (clientIdFilter) {\n queries.push(`clientId=${clientIdFilter}`);\n }\n\n if (clientShowPage) {\n queries.push(`clientShowPage=true`);\n }\n\n if (lender) {\n queries.push(`lenderIds=${lender}`);\n }\n\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n // if (filters && filters.length > 0) {\n // queries.push(`filters=${filters}`);\n // }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n // if (sort) {\n // queries.push(`sort=${sort}`);\n // }\n if (queries.length > 0) {\n url = `${url}?`;\n url += queries.join(\"&\");\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result.credit_submissions.data) {\n return [\n ...(result.credit_submissions &&\n result.credit_submissions.data.map(({ id }) => ({\n type: \"CreditSubmission\",\n id,\n }))),\n { type: \"CreditSubmission\", id: \"LIST\" },\n ];\n } else {\n return [{ type: \"CreditSubmission\", id: \"LIST\" }];\n }\n },\n }),\n\n // OPPORTUNITY CREDIT SUBMISSIONS\n getOpportunityCreditSubmissions: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/credit_submissions`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"CreditSubmission\", id })),\n { type: \"CreditSubmission\", id: \"LIST\" },\n ],\n }),\n getOpportunityCreditSubmission: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"CreditSubmission\", id }],\n }),\n createOpportunityCreditSubmission: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions`,\n method: \"post\",\n data: { credit_submission: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n updateOpportunityCreditSubmission: builder.mutation({\n query: ({ id, opportunityId, ...patch }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}`,\n method: \"patch\",\n data: { credit_submission: patch },\n }),\n invalidatesTags: ({ id }) => [\n { type: \"CreditSubmission\", id: id },\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n deleteOpportunityCreditSubmission: builder.mutation({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}`,\n method: \"DELETE\",\n }),\n invalidatesTags: (result, error, id) => [\n { type: \"CreditSubmission\", id },\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n updateOpportunityCreditSubmissionSubmitToLender: builder.mutation({\n query: ({ id, opportunityId, ssn, body }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}/submit`,\n method: \"post\",\n data: { ssn: ssn, body: body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: (response) => {\n let invalidate = [\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ];\n\n if (response && response?.id) {\n invalidate.push({ type: \"CreditSubmission\", id: response.id });\n }\n\n return invalidate;\n },\n }),\n updateOpportunityCreditSubmissionSelectLender: builder.mutation({\n query: ({ id, opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}/select`,\n method: \"patch\",\n data: { credit_submission: body },\n }),\n invalidatesTags: ({ id }) => [\n { type: \"CreditSubmission\", id: id },\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n updateOpportunityCreditSubmissionDeselectLender: builder.mutation({\n query: ({ id, opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/credit_submissions/${id}/deselect`,\n method: \"patch\",\n data: { credit_submission: body },\n }),\n invalidatesTags: ({ id }) => [\n { type: \"CreditSubmission\", id: id },\n { type: \"CreditSubmission\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n // VENDORS\n getVendors: builder.query({\n query: ({ filter = null, search, is_home_index } = {}) => ({\n url: `/vendors`,\n method: \"get\",\n params: { filter, search, is_home_index },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Vendor\", id })),\n { type: \"Vendor\", id: \"LIST\" },\n ],\n }),\n createVendor: builder.mutation({\n query: (body) => ({\n url: \"/vendors\",\n method: \"post\",\n data: { vendor: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"AdminAccount\", id: \"LIST\" },\n \"AdminAccount\",\n { type: \"Account\", id: \"LIST\" },\n \"Account\",\n { type: \"Vendor\", id: \"LIST\" },\n \"Vendor\",\n ],\n }),\n updateVendor: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/vendors/${id}`,\n method: \"patch\",\n data: { vendor: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"AdminAccount\", id: \"LIST\" },\n \"AdminAccount\",\n { type: \"Account\", id: \"LIST\" },\n \"Account\",\n { type: \"Vendor\", id: \"LIST\" },\n \"Vendor\",\n ],\n }),\n\n // VENDOR PAYMENTS\n getVendorPayments: builder.query({\n query: ({ opportunityId, finalInvoice }) => {\n let url = `/opportunities/${opportunityId}/vendor_payments`;\n\n if (finalInvoice) {\n url = `${url}?final_invoice=true`;\n }\n return {\n url: url,\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"VendorPayment\", id })),\n { type: \"VendorPayment\", id: \"LIST\" },\n ],\n }),\n getVendorPayment: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/vendor_payments/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"VendorPayment\", id }],\n }),\n createVendorPayment: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/vendor_payments`,\n method: \"post\",\n data: { vendor_payment: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"VendorPayment\", id: \"LIST\" },\n \"Opportunity\",\n \"FinancingOption\",\n \"Transaction\",\n \"Task\",\n { type: \"Transaction\", id: \"LIST\" },\n ],\n }),\n updateVendorPayment: builder.mutation({\n query: ({ id, opportunityId, ...patch }) => ({\n url: `/opportunities/${opportunityId}/vendor_payments/${id}`,\n method: \"patch\",\n data: { vendor_payment: patch },\n }),\n invalidatesTags: (result) => {\n return [\n \"FinancingOption\",\n \"Opportunity\",\n \"Task\",\n \"VendorPayment\",\n { type: \"VendorPayment\", id: result?.data?.id },\n { type: \"VendorPayment\", id: \"LIST\" },\n { type: \"Transaction\", id: \"LIST\" },\n \"Transaction\",\n ];\n },\n }),\n deleteVendorPayment: builder.mutation({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/vendor_payments/${id}`,\n method: \"DELETE\",\n }),\n invalidatesTags: (result, error, id) => [\n { type: \"VendorPayment\", id },\n { type: \"VendorPayment\", id: \"LIST\" },\n { type: \"FinancingOption\", id: \"LIST\" },\n \"VendorPayment\",\n \"FinancingOption\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n // VENDOR PAYMENT ATTACHMENTS\n getVendorPaymentAttachment: builder.query({\n query: ({ vendorPaymentId }) => ({\n url: `/vendor_payments/attachments/${vendorPaymentId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"VendorPayment\", id }],\n }),\n createVendorPaymentAttachment: builder.mutation({\n query: ({ body, finalInvoice }) => ({\n url: `/vendor_payments/attachments`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { vendor_payment: body, final_invoice: finalInvoice },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"VendorPayment\", id: id },\n { type: \"VendorPayment\", id: \"LIST\" },\n { type: \"Opportunity\", id: \"LIST\" },\n \"Opportunity\",\n \"Task\",\n \"VendorPayment\",\n ];\n },\n }),\n generateVendorPayment: builder.mutation({\n query: ({ ...body }) => ({\n url: `/vendor_payments/generate`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"VendorPayment\", id: id },\n { type: \"VendorPayment\", id: \"LIST\" },\n \"VendorPayment\",\n ];\n },\n }),\n\n // VENDOR PAYMENT CONFIRMATIONS\n createVendorPaymentConfirmation: builder.mutation({\n query: ({ vendorPaymentId, ...body }) => ({\n url: `/vendor_payments/${vendorPaymentId}/confirmations`,\n method: \"post\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [],\n }),\n\n // VENDOR PAYMENT OPPORTUNITIES\n createVendorPaymentOpportunity: builder.mutation({\n query: ({ vendorPaymentId, ...body }) => ({\n url: `/vendor_payments/${vendorPaymentId}/opportunities`,\n method: \"post\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"Contact\", { type: \"Opportunity\", id: \"LIST\" }, \"Task\"],\n }),\n\n // VENDOR PROGRAM\n getVendorProgram: builder.query({\n query: ({ id }) => ({\n url: `/vendor_programs/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"VendorProgram\", id: id }],\n }),\n getVendorPrograms: builder.query({\n query: () => ({\n url: `/vendor_programs/`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => [{ type: \"VendorProgram\", id: \"LIST\" }],\n }),\n\n // Docusign Embedded Signing\n createDocusignEmbeddedSigning: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/embedded_signing`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body, opportunity_id: opportunityId },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n getDocusignEmbeddedSigningStatus: builder.query({\n query: ({ opportunityId }) => ({\n url: `/signing_status?opportunity_id=${opportunityId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n createDocusignEmbeddedSending: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/embedded_sending`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body, opportunity_id: opportunityId },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n getDocusignPdfsForSigning: builder.query({\n query: ({ opportunityId }) => ({\n url: `/pdfs?opportunity_id=${opportunityId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n getDocusignRegeneratedEmbeddedSendingUrl: builder.query({\n query: ({ envelopeId, opportunityId }) => ({\n url: `/embedded_sending/regenerate?opportunity_id=${opportunityId}&envelope_id=${envelopeId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n\n getDocusignSigningUrl: builder.query({\n query: ({ opportunityId, envelopeId }) => ({\n url: `/embedded_signing/regenerate?opportunity_id=${opportunityId}&envelope_id=${envelopeId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n\n // LENDERS\n getLenders: builder.query({\n query: () => ({ url: `/lenders`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Lender\", id })),\n { type: \"Lender\", id: \"LIST\" },\n ],\n }),\n createLender: builder.mutation({\n query: (body) => ({\n url: \"/lenders\",\n method: \"post\",\n data: { lender: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"AdminAccount\", id: \"LIST\" },\n \"AdminAccount\",\n { type: \"Account\", id: \"LIST\" },\n \"Account\",\n { type: \"Lender\", id: \"LIST\" },\n \"Lender\",\n ],\n }),\n\n // DOCUMENTS\n getOpportunityDocuments: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/documents`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Document\", id })),\n { type: \"Document\", id: \"LIST\" },\n ],\n }),\n\n getDocuments: builder.query({\n query: ({ search }) => {\n let url = `/documents`;\n if (search && search?.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Document\", id })),\n { type: \"Document\", id: \"LIST\" },\n ],\n }),\n\n getDocument: builder.query({\n query: ({ id }) => ({\n url: `/documents/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Document\", id }],\n }),\n\n createDocument: builder.mutation({\n query: ({ body }) => {\n return {\n url: `/documents`,\n method: \"post\",\n data: { document: body },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Document\"],\n }),\n\n updateDocument: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/documents/${id}`,\n method: \"patch\",\n data: { document: patch, document_id: id },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"Document\", id: id },\n { type: \"Document\", id: \"LIST\" },\n ];\n },\n }),\n\n previewDocument: builder.mutation({\n query: ({ id, body }) => ({\n url: `/documents/${id}/preview`,\n method: \"post\",\n data: { document: body },\n }),\n transformResponse: (response) => {\n return response;\n },\n }),\n\n // GUARANTORS\n\n getGuarantors: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/guarantors`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Guarantor\", id })),\n { type: \"Guarantor\", id: \"LIST\" },\n ],\n }),\n getGuarantor: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/guarantors/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Guarantor\", id }],\n }),\n searchGuarantors: builder.query({\n query: ({ opportunity_id, search }) => {\n let url = `/opportunities/${opportunity_id}/guarantors/search`;\n if (search && search.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response;\n },\n providesTags: (result) => [\n { type: \"Account\", id: \"LIST\" },\n { type: \"Contact\", id: \"LIST\" },\n ],\n }),\n createGuarantor: builder.mutation({\n query: ({ opportunityId, body }) => {\n return {\n url: `/opportunities/${opportunityId}/guarantors/`,\n method: \"post\",\n data: { guarantor: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\n \"Guarantor\",\n \"OpportunityAttachment\",\n { type: \"OpportunityAttachment\", id: \"LIST\" },\n ],\n }),\n removeGuarantors: builder.mutation({\n query: ({ opportunityId, body }) => {\n return {\n url: `/opportunities/${opportunityId}/guarantors/remove`,\n method: \"delete\",\n data: { body: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: [\"Guarantor\", \"OpportunityContact\"],\n }),\n\n // TRANSACTIONS\n\n getTransactions: builder.query({\n query: ({ page, limit, status, search, sort }) => {\n let url = \"/transactions\";\n\n let queries = [];\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (status) {\n queries.push(`status=${status}`);\n }\n if (search) {\n queries.push(`search=${search}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n\n url = queries.length > 0 ? `${url}?${queries.join(\"&\")}` : url;\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result.transactions.data) {\n return [\n ...(result.transactions &&\n result.transactions.data.map(({ id }) => ({\n type: \"Transaction\",\n id,\n }))),\n { type: \"Transaction\", id: \"LIST\" },\n ];\n } else {\n return [{ type: \"Transaction\", id: \"LIST\" }];\n }\n },\n }),\n\n // OPPORTUNITY TRANSACTIONS\n\n getOpportunityTransactions: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/transactions`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Transaction\", id })),\n { type: \"Transaction\", id: \"LIST\" },\n ],\n }),\n getOpportunityTransaction: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/transactions/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Transaction\", id }],\n }),\n createOpportunityTransaction: builder.mutation({\n query: ({ opportunityId, ...body }) => {\n return {\n url: `/opportunities/${opportunityId}/transactions/`,\n method: \"post\",\n data: { transaction: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\n \"Opportunity\",\n \"Task\",\n \"Transaction\",\n { type: \"Transaction\", id: \"LIST\" },\n ],\n }),\n updateOpportunityTransaction: builder.mutation({\n query: ({ opportunityId, id, ...patch }) => ({\n url: `/opportunities/${opportunityId}/transactions/${id}`,\n method: \"patch\",\n data: { transaction: patch, opportunity_id: opportunityId },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id, attributes: { financing_option_id } }) => {\n return [\n \"Opportunity\",\n \"Task\",\n { type: \"Transaction\", id: id },\n { type: \"Transaction\", id: \"LIST\" },\n ...(financing_option_id !== null\n ? [{ type: \"FinancingOption\", id: financing_option_id }]\n : []),\n ];\n },\n }),\n updateOpportunityTransactions: builder.mutation({\n query: ({ opportunityId, transactionIds, ...patch }) => {\n return {\n url: `/opportunities/${opportunityId}/transactions/bulk_update`,\n method: \"patch\",\n data: {\n patch: patch,\n opportunity_id: opportunityId,\n transaction_ids: transactionIds,\n },\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Transaction\", id: id })),\n { type: \"Transaction\", id: \"LIST\" },\n \"Transaction\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n deleteOpportunityTransaction: builder.mutation({\n query: ({ opportunityId, id, body }) => {\n return {\n url: `/opportunities/${opportunityId}/transactions/${id}`,\n method: \"delete\",\n data: { body: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: [\"Transaction\", \"Opportunity\", \"Task\"],\n }),\n deleteOpportunityTransactions: builder.mutation({\n query: ({ opportunityId, body }) => {\n return {\n url: `/opportunities/${opportunityId}/transactions/bulk_destroy`,\n method: \"delete\",\n data: { body: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: [\n \"Opportunity\",\n \"Transaction\",\n { type: \"Transaction\", id: \"LIST\" },\n \"Task\",\n ],\n }),\n scheduleOpportunityTransactions: builder.mutation({\n query: ({ opportunityId }) => {\n return {\n url: `/opportunities/${opportunityId}/transactions/schedule`,\n method: \"post\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (result) => [\n ...(result?.map(({ id }) => ({ type: \"Transaction\", id })) ?? []),\n { type: \"Transaction\", id: \"LIST\" },\n \"Transaction\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n // OPPORTUNITY TASKS\n getOpportunityTasks: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/tasks`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) =>\n result\n ? [\n ...result.map(({ id }) => ({\n type: \"Task\",\n id,\n })),\n { type: \"Task\", id: \"LIST\" },\n ]\n : [{ type: \"Task\", id: \"LIST\" }],\n }),\n\n // OPPORTUNITY TAGS\n getOpportunityTags: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/tags`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => [\"Tag\"],\n }),\n updateOpportunityTags: builder.mutation({\n query: ({ opportunityId, tags }) => {\n return {\n url: `/opportunities/${opportunityId}/tags`,\n method: \"post\",\n data: {\n opportunity_id: opportunityId,\n tags: tags,\n },\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => [\n { type: \"Opportunity\", id: id },\n { type: \"Opportunity\", id: \"LIST\" },\n { type: \"AdminOpportunity\", id: \"LIST\" },\n \"AdminOpportunity\",\n \"Opportunity\",\n \"Tag\",\n ],\n }),\n\n // OPPORTUNITY DOWN PAYMENTS\n\n // TODO: no longer in use - remove\n //\n // createOpportunityDownPayment: builder.mutation({\n // query: ({ opportunityId, ...body }) => {\n // return {\n // url: `/opportunities/${opportunityId}/down_payments/`,\n // method: \"post\",\n // data: { down_payment: body, opportunity_id: opportunityId },\n // };\n // },\n // transformResponse: (response) => {\n // return response;\n // },\n // invalidatesTags: () => [\"Transaction\"],\n // }),\n\n // OPPORTUNITY PAYMENT AUTHORIZATIONS\n\n createOpportunityPaymentAuthorization: builder.mutation({\n query: ({ opportunityId, ...body }) => {\n return {\n url: `/opportunities/${opportunityId}/payment_authorizations/`,\n method: \"post\",\n data: { payment_authorization: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Transaction\", \"Task\"],\n }),\n\n // OPPORTUNITY (DOCUSIGN) ENVELOPES\n\n getDocusignEnvelopes: builder.query({\n query: (opportunity_id) => ({\n url: `/opportunities/${opportunity_id}/opportunity_envelopes`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"OpportunityEnvelope\", id })),\n { type: \"OpportunityEnvelope\", id: \"LIST\" },\n ],\n }),\n getDocusignEnvelope: builder.query({\n query: ({ id, opportunityId }) => ({\n url: `/opportunities/${opportunityId}/opportunity_envelopes/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [\n { type: \"OpportunityEnvelope\", id },\n ],\n }),\n createDocusignEnvelope: builder.mutation({\n query: ({ opportunityId, body }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_envelopes/`,\n method: \"post\",\n data: { body: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"OpportunityEnvelope\", \"Opportunity\", \"Task\"],\n }),\n updateDocusignEnvelope: builder.mutation({\n query: ({ id, opportunityId, ...patch }) => ({\n url: `/opportunities/${opportunityId}/opportunity_envelopes/${id}`,\n method: \"patch\",\n data: { opportunity_envelope: patch },\n }),\n invalidatesTags: ({ id }) => [\n \"Opportunity\",\n { type: \"OpportunityEnvelope\", id: id },\n { type: \"OpportunityEnvelope\", id: \"LIST\" },\n \"Task\",\n ],\n }),\n deleteDocusignEnvelope: builder.mutation({\n query: ({ id, opportunityId, body }) => {\n return {\n url: `/opportunities/${opportunityId}/opportunity_envelopes/${id}`,\n method: \"delete\",\n data: { body: body, opportunity_id: opportunityId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: [\"OpportunityEnvelope\", \"Opportunity\", \"Task\"],\n }),\n\n // COMMENTS\n\n getComments: builder.query({\n query: ({ commentableId, comments, activity }) => ({\n url: `/commentables/${commentableId}/comments?comments=${comments}&activity=${activity}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Comment\", id })),\n { type: \"Comment\", id: \"LIST\" },\n ],\n }),\n createComment: builder.mutation({\n query: ({ commentableId, body }) => {\n return {\n url: `/commentables/${commentableId}/comments`,\n method: \"post\",\n data: { body: body },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Comment\"],\n }),\n deleteComment: builder.mutation({\n query: ({ id, commentableId, body }) => {\n return {\n url: `/commentables/${commentableId}/comments/${id}`,\n method: \"delete\",\n data: { body: body, commentable_id: commentableId },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: [\"Comment\"],\n }),\n markUnreadCommentNotification: builder.mutation({\n query: ({ notification_id }) => {\n return {\n url: `/notifications/unread_comment`,\n method: \"put\",\n data: { notification_id },\n };\n },\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [{ type: \"Comment\", id: \"LIST\" }, \"Comment\"],\n }),\n\n // PROTOTYPE PDF COMBINE\n\n getCombinePdfsPrototype: builder.query({\n query: ({ opportunityId }) => ({\n url: `/combined_pdfs?opportunity_id=${opportunityId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\"],\n }),\n\n /*\n // ADMIN\n */\n\n // ACCOUNTS\n getAdminAccounts: builder.query({\n query: () => ({ url: `/admin/accounts`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"AdminAccount\", id })),\n { type: \"AdminAccount\", id: \"LIST\" },\n ],\n }),\n getAdminAccount: builder.query({\n query: (id) => ({ url: `/admin/accounts/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"AdminAccount\", id }],\n }),\n updateAdminAccount: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/admin/accounts/${id}`,\n method: \"patch\",\n data: { account: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"AdminAccount\", id: id },\n { type: \"AdminAccount\", id: \"LIST\" },\n ];\n },\n }),\n\n // ACCOUNT REVIEWS\n createAdminAccountReview: builder.mutation({\n query: ({ accountId, ...body }) => ({\n url: `/admin/accounts/${accountId}/review`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: ({ id }) => [\n // \"AdminAccount\",\n // { type: \"AdminAccount\", id: \"LIST\" },\n { type: \"AdminAccount\", id: id },\n ],\n }),\n\n // ADMIN CONTACTS\n getAdminContacts: builder.query({\n query: ({ page = 1, limit = 10, search }) => {\n if (search && search.length > 0) {\n return {\n url: `/admin/contacts?page=${page}&limit=${limit}&search=${search}`,\n method: \"get\",\n };\n } else {\n return {\n url: `/admin/contacts?page=${page}&limit=${limit}`,\n method: \"get\",\n };\n }\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.contacts.data.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ];\n },\n }),\n createAdminContact: builder.mutation({\n query: ({ orgAdmin, ...body }) => ({\n url: `/admin/contacts`,\n method: \"post\",\n data: {\n orgAdmin: orgAdmin,\n contact: body,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Contact\", id: \"LIST\" }, \"Contact\"],\n }),\n updateAdminContact: builder.mutation({\n query: ({ contactId, ...body }) => ({\n url: `/admin/contacts/${contactId}`,\n method: \"patch\",\n data: { contact: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Contact\", id: \"LIST\" }, \"Contact\"],\n }),\n getAdmins: builder.query({\n query: () => ({\n url: `/admins`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ];\n },\n }),\n addAdmin: builder.mutation({\n query: ({ ids, notifyContacts, notifMsg, ...body }) => ({\n url: `/admins`,\n method: \"post\",\n data: {\n contact_ids: ids,\n notify_contacts: notifyContacts,\n notif_msg: notifMsg,\n contact: body,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Contact\", id: \"LIST\" }, \"Contact\"],\n }),\n revokeAdmins: builder.mutation({\n query: ({ ids }) => ({\n url: `/admins/revoke`,\n method: \"delete\",\n data: { contact_ids: ids },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Contact\", id: \"LIST\" }, \"Contact\"],\n }),\n\n // FINANCING OPTION APPROVE\n createAdminFinancingOptionApproval: builder.mutation({\n query: ({ financingOptionId, ...body }) => ({\n url: `/admin/financing_options/${financingOptionId}/approve`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: ({ id }) => [\n { type: \"FinancingOption\", id: id },\n \"Opportunity\",\n \"AdminAccount\",\n \"Task\",\n ],\n }),\n\n removeAdminFinancingOptionApproval: builder.mutation({\n query: ({ financingOptionId, ...body }) => ({\n url: `/admin/financing_options/${financingOptionId}/approve`,\n method: \"delete\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: ({ id }) => [\n { type: \"FinancingOption\", id: id },\n \"Opportunity\",\n \"AdminAccount\",\n \"Task\",\n ],\n }),\n\n //TAGS\n getTags: builder.query({\n query: () => ({\n url: `/tags`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => [\"Tag\"],\n }),\n createTag: builder.mutation({\n query: ({ ...body }) => ({\n url: `/tags`,\n method: \"post\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"Opportunity\", id: \"LIST\" },\n \"Opportunity\",\n \"Tag\",\n \"Task\",\n ],\n }),\n deleteTags: builder.mutation({\n query: ({ ...body }) => ({\n url: `/tags`,\n method: \"delete\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"Opportunity\", id: \"LIST\" },\n \"Opportunity\",\n \"Tag\",\n \"Task\",\n ],\n }),\n updateTagOpportunities: builder.mutation({\n query: ({ ...body }) => ({\n url: `/tags`,\n method: \"put\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => [\n { type: \"Opportunity\", id: id },\n { type: \"Opportunity\", id: \"LIST\" },\n { type: \"AdminOpportunity\", id: \"LIST\" },\n \"AdminOpportunity\",\n \"Opportunity\",\n \"Tag\",\n ],\n }),\n\n // SAVED VIEWS\n getSavedViews: builder.query({\n query: () => ({\n url: `/saved_views`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.map(({ id }) => ({ type: \"SavedView\", id })),\n { type: \"SavedView\", id: \"LIST\" },\n ];\n },\n }),\n createSavedView: builder.mutation({\n query: ({ ...body }) => ({\n url: `/saved_views`,\n method: \"post\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n // invalidatesTags: [\n // { type: \"SavedView\", id: \"LIST\" },\n // \"SavedView\",\n // ],\n }),\n updateSavedView: builder.mutation({\n query: ({ id, ...body }) => ({\n url: `/saved_views/${id}`,\n method: \"patch\",\n data: { id, ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => [\n { type: \"SavedView\", id: id },\n { type: \"SavedView\", id: \"LIST\" },\n \"SavedView\",\n { type: \"Opportunity\", id: \"LIST\" },\n \"Task\",\n ],\n }),\n deleteSavedView: builder.mutation({\n query: ({ id }) => ({\n url: `/saved_views/${id}`,\n method: \"delete\",\n data: { id },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"SavedView\", { type: \"SavedView\", id: \"LIST\" }],\n }),\n\n // OPPORTUNITIES\n getAdminOpportunities: builder.query({\n query: ({ page, limit, filters, sort, search }) => {\n let url = `/admin/opportunities`;\n\n let queries = [];\n\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.opportunities.data.map(({ id }) => ({\n type: \"AdminOpportunity\",\n id,\n })),\n { type: \"AdminOpportunity\", id: \"LIST\" },\n ];\n },\n }),\n deleteAdminOpportunities: builder.mutation({\n query: ({ filters, search, originator, opportunityIds }) => {\n let url = \"/admin/opportunities\";\n let queries = [];\n\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (originator && originator.length > 0) {\n queries.push(`originator=${originator}`);\n }\n if (opportunityIds && opportunityIds.length > 0) {\n let opportunityQuery = `opportunity_ids=`;\n for (let i = 0; i < opportunityIds.length; i++) {\n opportunityQuery = opportunityQuery + opportunityIds[i];\n if (i != opportunityIds.length - 1) {\n opportunityQuery = opportunityQuery + \",\";\n }\n }\n queries.push(opportunityQuery);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n\n return { url: url, method: \"delete\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n \"AdminOpportunity\",\n { type: \"AdminOpportunity\", id: \"LIST\" },\n ],\n }),\n\n // CLIENT OPPORTUNITIES\n getAdminClientOpportunities: builder.query({\n query: ({ clientId, page, limit, filters, sort, search }) => {\n let url = `/admin/clients/${clientId}/opportunities`;\n let queries = [];\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.opportunities.data.map(({ id }) => ({\n type: \"AdminOpportunity\",\n id,\n })),\n { type: \"AdminOpportunity\", id: \"LIST\" },\n ];\n },\n }),\n\n // VENDOR OPPORTUNITIES\n getAdminVendorOpportunities: builder.query({\n query: ({ vendorId, page, limit, filters, sort, search }) => {\n let url = `/admin/vendors/${vendorId}/opportunities`;\n let queries = [];\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (filters && filters.length > 0) {\n queries.push(`filters=${filters}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n if (sort) {\n queries.push(`sort=${sort}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n const opportunities = response.data.map((opportunity) => ({\n id: opportunity.id,\n attributes: opportunity.attributes,\n relationships: opportunity.relationships,\n }));\n\n const included = response.included || [];\n\n const meta = response.meta;\n\n return { opportunities, included, meta };\n },\n providesTags: (result) => {\n return [\n ...result.opportunities.map(({ id }) => ({\n type: \"AdminOpportunity\",\n id,\n })),\n { type: \"AdminOpportunity\", id: \"LIST\" },\n ];\n },\n }),\n\n // VENDOR PROGRAMS\n getAdminVendorPrograms: builder.query({\n query: ({ vendorId, page, limit, search }) => {\n if (vendorId) {\n return {\n url: `/admin/vendor_programs?vendor_id=${vendorId}`,\n method: \"get\",\n };\n }\n let url = `/admin/vendor_programs`;\n let queries = [];\n\n if (page) {\n queries.push(`page=${page}`);\n }\n if (limit) {\n queries.push(`limit=${limit}`);\n }\n if (search && search.length > 0) {\n queries.push(`search=${search}`);\n }\n url = url + \"?\";\n for (let i = 0; i < queries.length; i++) {\n url = url + queries[i];\n if (i != queries.length - 1) {\n url = url + \"&\";\n }\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [\n { type: \"VendorProgram\", id },\n { type: \"VendorProgram\", id: \"LIST\" },\n { type: \"AdminVendorProgram\", id: \"LIST\" },\n ],\n }),\n\n getAdminVendorProgramTemplates: builder.query({\n query: ({ id, template }) => {\n return {\n url: `/admin/vendor_programs/templates?id=${id}&template=${template}`,\n method: \"get\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"AdminVendorProgram\", id })),\n { type: \"Document\", id: \"LIST\" },\n { type: \"AdminVendorProgram\", id: \"LIST\" },\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n ],\n }),\n\n getAdminVendorProgram: builder.query({\n query: (id) => ({ url: `/admin/vendor_programs/${id}`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"AdminVendorProgram\", id }],\n }),\n updateAdminVendorProgram: builder.mutation({\n query: ({\n id,\n attachment_set,\n allowed_finance_types,\n attachment,\n ...patch\n }) => ({\n url: `/admin/vendor_programs/${id}`,\n method: \"patch\",\n data: {\n vendor_program: patch,\n attachment: attachment,\n attachment_set: attachment_set,\n allowed_finance_types: allowed_finance_types,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n \"Opportunity\",\n { type: \"AdminVendorProgram\", id: id },\n { type: \"AdminVendorProgram\", id: \"LIST\" },\n \"Task\",\n ];\n },\n }),\n\n createAdminVendorProgram: builder.mutation({\n query: ({ ...body }) => ({\n url: `/admin/vendor_programs`,\n method: \"post\",\n data: { vendor_program: body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n \"Opportunity\",\n { type: \"VendorProgram\", id: id },\n { type: \"VendorProgram\", id: \"LIST\" },\n { type: \"AdminVendorProgram\", id: id },\n { type: \"AdminVendorProgram\", id: \"LIST\" },\n \"Task\",\n ];\n },\n }),\n createVendorProgramEnvelopeTemplate: builder.mutation({\n query: ({ id, document_ids, ...body }) => ({\n url: `/admin/vendor_programs/create_envelope_template`,\n method: \"post\",\n data: {\n id: id,\n document_ids: document_ids,\n envelope_template: body,\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [\n { type: \"AdminVendorProgram\", id: id },\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n ];\n },\n }),\n deleteVendorProgramTemplates: builder.mutation({\n query: ({ id, templateIds, which_template }) => {\n let url = `/admin/vendor_programs/delete_templates`;\n url = `${url}?id=${id}&which_template=${which_template}&template_ids=${templateIds}`;\n return { url: url, method: \"delete\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }, error, { templateIds }) => {\n return [\n ...templateIds.split(\",\").map(({ id }) => ({\n type: \"OpportunityEnvelopeTemplate\",\n id,\n })),\n { type: \"AdminVendorProgram\", id: id },\n { type: \"FinancingOptionTemplate\", id: \"LIST\" },\n { type: \"OpportunityEnvelopeTemplate\", id: \"LIST\" },\n ];\n },\n }),\n deleteVendorProgramAttachment: builder.mutation({\n query: ({ id }) => {\n return {\n url: `/admin/vendor_programs/delete_attachment?id=${id}`,\n method: \"delete\",\n };\n },\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: ({ id }) => {\n return [{ type: \"AdminVendorProgram\", id: id }];\n },\n }),\n\n // ACCOUNT TEAMS\n getAdminAccountTeams: builder.query({\n query: (vendorId) => ({\n url: `/admin/accounts/${vendorId}/teams`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n\n // USER TEAMS\n getAdminUserTeams: builder.query({\n query: (contact) => ({\n url: `/admin/contacts/${contact}/teams`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n\n // TEAMS\n getAdminTeams: builder.query({\n query: () => ({ url: `/admin/teams`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n getAdminTeam: builder.query({\n query: ({ id }) => ({\n url: `/admin/teams/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Team\", id }],\n }),\n searchAdminTeams: builder.query({\n query: ({ search }) => {\n let url = `/admin/teams/search`;\n if (search && search.length > 0) {\n url = url + \"?search=\" + search;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n\n createAdminTeam: builder.mutation({\n query: ({ vendor_id, team_name }) => ({\n url: `/admin/teams`,\n method: \"post\",\n data: {\n team: {\n name: team_name,\n account_id: vendor_id,\n created_from_account_id: vendor_id,\n },\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Team\", id: \"LIST\" }],\n }),\n\n // VENDOR ADMINS\n getAdminVendorAdmins: builder.query({\n query: (vendorId) => ({\n url: `/admin/vendors/${vendorId}/admins`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ];\n },\n }),\n createAdminVendorAdmin: builder.mutation({\n query: ({ vendorId, ...body }) => ({\n url: `/admin/vendors/${vendorId}/admins`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\n { type: \"VendorContact\", id: \"LIST\" },\n \"VendorContact\",\n \"Vendor\",\n \"Contact\",\n ],\n }),\n updateAdminVendorAdmins: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/admin/vendors/${id}/admins`,\n method: \"patch\",\n data: { admin: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [{ type: \"Team\", id: \"LIST\" }],\n }),\n\n // VENDOR TEAMS\n updateAdminVendorTeams: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/admin/vendors/${id}/teams`,\n method: \"patch\",\n data: { team: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [{ type: \"Team\", id: \"LIST\" }],\n }),\n\n // UPDATE VENDOR VENDOR PROGRAM\n updateAdminVendorVendorProgram: builder.mutation({\n query: ({ id, ...patch }) => ({\n url: `/admin/vendors/${id}`,\n method: \"patch\",\n data: { ...patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n \"Vendor\",\n { type: \"Vendor\", id: \"LIST\" },\n { type: \"VendorProgram\", id: \"LIST\" },\n { type: \"AdminVendorProgram\", id: \"LIST\" },\n ],\n }),\n\n // MEMBERSHIPS\n\n getMembershipsByContact: builder.query({\n query: (contactId) => ({\n url: `/contacts/${contactId}/memberships`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Membership\", id })),\n { type: \"Membership\", id: \"LIST\" },\n ],\n }),\n\n getMembershipsByTeam: builder.query({\n query: (team_id) => ({\n url: `/teams/${team_id}/memberships`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Membership\", id })),\n { type: \"Membership\", id: \"LIST\" },\n ],\n }),\n inviteMembershipsByTeam: builder.mutation({\n query: ({ teamId, ...body }) => ({\n url: `/teams/${teamId}/memberships`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (result) => [\n { type: \"Membership\", id: result.id },\n { type: \"Membership\", id: \"LIST\" },\n \"Membership\",\n ],\n }),\n updateAdminMembershipRole: builder.mutation({\n query: ({ team_id, memberId, ...body }) => ({\n url: `/admin/teams/${team_id}/memberships/${memberId}`,\n method: \"put\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: (result) => [{ type: \"Membership\", id: result.id }],\n }),\n\n deleteAdminMembership: builder.mutation({\n query: ({ team_id, memberId, ...body }) => ({\n url: `/admin/teams/${team_id}/memberships/${memberId}`,\n method: \"DELETE\",\n data: body,\n }),\n invalidatesTags: () => [{ type: \"Membership\", id: \"LIST\" }, \"Membership\"],\n }),\n\n getMembershipsByAdminTeam: builder.query({\n query: (team_id) => ({\n url: `/admin/teams/${team_id}/memberships`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Membership\", id })),\n { type: \"Membership\", id: \"LIST\" },\n ],\n }),\n createMembershipsByTeam: builder.mutation({\n query: ({ teamId, contactId }) => ({\n url: `/admin/teams/${teamId}/memberships`,\n method: \"post\",\n data: { body: { contact_id: contactId } },\n }),\n transformResponse: (response) => {\n return response;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Membership\", id })),\n { type: \"Membership\", id: \"LIST\" },\n ],\n invalidatesTags: () => [\"Membership\"],\n }),\n\n /*\n // VENDOR ADMIN\n */\n\n // TEAMS\n getVendorAdminTeams: builder.query({\n query: () => ({ url: `/vendor_admin/teams`, method: \"get\" }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Team\", id })),\n { type: \"Team\", id: \"LIST\" },\n ],\n }),\n getVendorAdminTeam: builder.query({\n query: ({ id }) => ({\n url: `/vendor_admin/teams/${id}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result, error, id) => [{ type: \"Team\", id }],\n }),\n createVendorAdminTeam: builder.mutation({\n query: ({ vendor_id, team_name }) => ({\n url: `/vendor_admin/teams`,\n method: \"post\",\n data: {\n team: {\n name: team_name,\n account_id: vendor_id,\n created_from_account_id: vendor_id,\n },\n },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Team\", id: \"LIST\" }],\n }),\n\n // MEMBERSHIPS\n getVendorAdminMembershipsByTeam: builder.query({\n query: (team_id) => ({\n url: `/vendor_admin/teams/${team_id}/memberships`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Membership\", id })),\n { type: \"Membership\", id: \"LIST\" },\n ],\n }),\n updateVendorAdminMembershipRole: builder.mutation({\n query: ({ team_id, memberId, ...body }) => ({\n url: `/vendor_admin/teams/${team_id}/memberships/${memberId}`,\n method: \"put\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: body,\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Membership\", id: \"LIST\" }, \"Membership\"],\n }),\n\n // VENDOR ADMIN LIST\n\n getVendorAdmins: builder.query({\n query: ({ vendorId }) => ({\n url: `/vendor_admin/vendors?vendorId=${vendorId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n return [\n ...result.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ];\n },\n }),\n\n addContactsAsVendorAdmin: builder.mutation({\n query: ({ vendorId, contactId }) => ({\n url: `/vendor_admin/vendors/${vendorId}`,\n method: \"put\",\n data: {\n vendorId: vendorId,\n contact_id: contactId,\n },\n }),\n transformResponse: (response) => {\n return response;\n },\n providesTags: (result) => [\n ...result.map(({ id }) => ({ type: \"Contact\", id })),\n { type: \"Contact\", id: \"LIST\" },\n ],\n invalidatesTags: () => [\"Contact\"],\n }),\n\n createVendorAdminContact: builder.mutation({\n query: ({ vendorId, ...body }) => ({\n url: `/vendor_admin/vendors/${vendorId}/contacts`,\n method: \"post\",\n headers: {\n \"content-type\": \"multipart/form-data\",\n },\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [{ type: \"Membership\", id: \"LIST\" }, \"Membership\"],\n }),\n\n // CREDIT REVIEWS\n createCreditReview: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/credit_reviews/create`,\n method: \"post\",\n data: { ...body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n\n // HUBSPOT UPDATE\n pushHubspotUpdate: builder.mutation({\n query: ({ opportunityId }) => ({\n url: `/opportunities/${opportunityId}/hubspot_updates/push`,\n method: \"patch\",\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"Opportunity\", \"Task\"],\n }),\n\n // PAYMENT LINK SANDBOX\n\n createPaymentLink: builder.mutation({\n query: (body) => ({\n url: `/payment_links`,\n method: \"post\",\n data: { payment_link: body },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: () => [\"PaymentLink\"],\n }),\n\n // STRIPE CLIENT SECRET\n\n getStripeSetupIntent: builder.query({\n query: ({ contactId, vendorId, opportunityId }) => ({\n url: `/stripe_payments/${contactId}/setup_intents/${vendorId}?opportunity_id=${opportunityId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result?.id) {\n return [{ type: \"StripeSetupIntent\", id: result.id }];\n } else {\n return [];\n }\n },\n }),\n\n getStripeSetupIntents: builder.query({\n query: ({ contactId, vendorId }) => ({\n url: `/stripe_payments/${contactId}/setup_intents${\n vendorId ? `?vendor_id=${vendorId}` : \"\"\n }`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result?.id) {\n return [{ type: \"StripeSetupIntent\", id: result.id }];\n } else {\n return [];\n }\n },\n }),\n\n createStripeSetupIntent: builder.mutation({\n query: ({ contactId, vendorId, opportunityId }) => ({\n url: `/stripe_payments/${contactId}/setup_intents?vendor_id=${vendorId}&opportunity_id=${opportunityId}`,\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n updateStripeCustomerReference: builder.mutation({\n query: ({ contactId, vendorId, ...body }) => ({\n url: vendorId\n ? `/stripe_payments/${contactId}/setup_intents/${vendorId}`\n : `/stripe_payments/${contactId}/setup_intents/null`,\n method: \"patch\",\n data: { stripe_customer_reference: { ...body } },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n \"Task\",\n ],\n }),\n\n validateStripeCustomerReference: builder.mutation({\n query: ({ contactId, vendorId }) => ({\n url: `/stripe_payments/${contactId}/setup_intents/${vendorId}/validate`,\n method: \"patch\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n \"Task\",\n ],\n }),\n\n getStripeListAllPaymentMethods: builder.query({\n query: ({ contactId, vendorId, onClientPortal }) => {\n let url = `/stripe_payments/${contactId}/payment_methods`;\n let params = [];\n\n if (vendorId) {\n params.push(`vendor_id=${vendorId}`);\n }\n\n if (onClientPortal) {\n params.push(`on_client_portal=${onClientPortal}`);\n }\n\n if (params.length > 0) {\n url += `?${params.join(\"&\")}`;\n }\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => {\n return [\"StripePaymentMethod\"];\n },\n }),\n\n getStripeListPaymentMethods: builder.query({\n query: ({ contactId, vendorId }) => ({\n url: `/stripe_payments/${contactId}/payment_methods/${vendorId}`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => {\n return [\"StripePaymentMethod\"];\n },\n }),\n\n cloneStripePaymentMethods: builder.mutation({\n query: ({ contactId, vendorId }) => ({\n url: `/stripe_payments/${contactId}/setup_intents/${vendorId}/clone`,\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: () => [\n \"StripeSetupIntent\",\n \"StripePaymentMethod\",\n \"Opportunity\",\n \"Task\",\n ],\n }),\n\n // OPENAI\n createChatOpenai: builder.mutation({\n query: ({ report_text }) => ({\n url: `/openai/create_chat`,\n data: { report_text },\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response;\n },\n }),\n\n // CREDIT PREVIEW\n getCreditPreview: builder.query({\n query: ({ opportunityId, creditPreviewId }) => {\n let url = \"\";\n\n if (creditPreviewId) {\n url = `/credit_previews/${creditPreviewId}`;\n } else if (opportunityId) {\n url = `/opportunities/${opportunityId}/credit_previews`;\n }\n\n return { url: url, method: \"get\" };\n },\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: (result) => {\n if (result?.id) {\n return [\"CreditPreview\", { type: \"CreditPreview\", id: result.id }];\n } else {\n return [\"CreditPreview\"];\n }\n },\n }),\n\n createCreditPreview: builder.mutation({\n query: ({ opportunityId, ...body }) => ({\n url: `/opportunities/${opportunityId}/credit_previews`,\n method: \"post\",\n data: { credit_preview: { ...body } },\n }),\n transformResponse: (response) => {\n return response;\n },\n invalidatesTags: (result) => {\n if (result?.id) {\n return [\"CreditPreview\", { type: \"CreditPreview\", id: result.id }];\n } else {\n return [\"CreditPreview\"];\n }\n },\n }),\n\n createOpportunityCsv: builder.mutation({\n query: ({ contact_id, opportunityIds }) => ({\n url: `/csv_exports/opportunities`,\n data: { contact_id: contact_id, opportunityIds: opportunityIds },\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n createTransactionCsv: builder.mutation({\n query: ({ status, search }) => ({\n url: `/csv_exports/transactions`,\n data: { status, search },\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n createCreditSubmissionCsv: builder.mutation({\n query: ({ creditSubmissionIds }) => ({\n url: `/csv_exports/credit_submissions`,\n data: { creditSubmissionIds },\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n createContactCsv: builder.mutation({\n query: () => ({\n url: `/csv_exports/contacts`,\n method: \"post\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n }),\n\n getRateCards: builder.query({\n query: (lenderId) => ({\n url: `/lenders/${lenderId}/rate_cards`,\n method: \"get\",\n }),\n transformResponse: (response) => {\n return response.data;\n },\n providesTags: () => {\n return [\"RateCard\"];\n },\n }),\n createRateCard: builder.mutation({\n query: ({ lenderId, ...post }) => ({\n url: `/lenders/${lenderId}/rate_cards`,\n method: \"post\",\n data: { rate_card: post },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"RateCard\"],\n }),\n updateRateCard: builder.mutation({\n query: ({ lenderId, id, ...patch }) => ({\n url: `/lenders/${lenderId}/rate_cards/${id}`,\n method: \"patch\",\n data: { rate_card: patch },\n }),\n transformResponse: (response) => {\n return response.data;\n },\n invalidatesTags: [\"RateCard\"],\n }),\n }),\n});\n\n// Export hooks for usage in functional components, which are\n// auto-generated based on the defined endpoints\nexport const {\n useGetClientStatsQuery,\n\n useCreatePaymentLinkMutation,\n useGetStripeSetupIntentQuery,\n useGetStripeSetupIntentsQuery,\n useCreateStripeSetupIntentMutation,\n useUpdateStripeCustomerReferenceMutation,\n useValidateStripeCustomerReferenceMutation,\n useGetStripeListAllPaymentMethodsQuery,\n useGetStripeListPaymentMethodsQuery,\n useCloneStripePaymentMethodsMutation,\n\n // OPENAI\n useCreateChatOpenaiMutation,\n\n // CREDIT PREVIEW\n useCreateCreditPreviewMutation,\n useGetCreditPreviewQuery,\n\n useGetOpportunitiesQuery,\n useLazyGetOpportunitiesQuery,\n\n useGetOpportunityStatsQuery,\n\n useGetOpportunityQuery,\n useCreateOpportunityMutation,\n useUpdateOpportunityMutation,\n useUpdateOpportunityStageMutation,\n useDeleteOpportunitiesMutation,\n useRequestOpportunityAccessMutation,\n\n useCreateOpportunityAttachmentMutation,\n\n useGetOpportunityAttachmentsQuery,\n useCreateOpportunityAttachmentsMutation,\n useUpdateOpportunityAttachmentMutation,\n usePurgeOpportunityAttachmentMutation,\n useDeleteOpportunityAttachmentMutation,\n // useCreateOpportunityDocumentsMutation,\n\n useGetOpportunityEnvelopeTemplatesQuery,\n useCreateOpportunityEnvelopeTemplateMutation,\n useUpdateOpportunityEnvelopeTemplateMutation,\n useDeleteOpportunityEnvelopeTemplateMutation,\n useGenerateOpportunityEnvelopeTemplateMutation,\n useGenerateOpportunityEnvelopeTemplatesMutation,\n\n useGetOpportunityEventsQuery,\n useCreateOpportunityEventMutation,\n useCreateOpportunityCsvMutation,\n useCreateTransactionCsvMutation,\n useCreateCreditSubmissionCsvMutation,\n useCreateContactCsvMutation,\n\n useGetCompaniesSearchQuery,\n\n useGetContactQuery,\n useGetContactsQuery,\n useSearchContactsQuery,\n useFetchContactQuery,\n\n useCreateContactMutation,\n useCaptureContactMutation,\n useUpdateContactMutation,\n\n useGetOpportunityContactsQuery,\n useCreateOpportunityContactMutation,\n useUpdateOpportunityContactMutation,\n useDeleteOpportunityContactsMutation,\n useCaptureOpportunityContactMutation,\n\n useCreateDesignatedSignerMutation,\n\n useSearchOpportunityOriginatorsQuery,\n useUpdateOpportunityOriginatorMutation,\n\n useGetAccountQuery,\n useGetAccountsQuery,\n useCreateAccountMutation,\n useUpdateAccountMutation,\n\n useGetAccountEventsQuery,\n\n useGetClientQuery,\n useGetClientsQuery,\n\n useGetClientOpportunitiesQuery,\n\n useGetClientAccountQuery,\n useGetClientAccountsQuery,\n useUpdateClientAccountMutation,\n\n useGetTeamAccountsQuery,\n useGetAccountTeamsQuery,\n useGetTeamsQuery,\n useGetTeamQuery,\n useUpdateTeamMutation,\n\n useGetTeamClientsQuery,\n useCreateClientMutation,\n useUpdateClientMutation,\n\n useCreateTeamContactMutation,\n useSearchTeamContactsQuery,\n\n useGetFinancingOptionsQuery,\n useGetFinancingOptionQuery,\n useGetNewFinancingOptionQuery,\n useCreateFinancingOptionMutation,\n useUpdateFinancingOptionMutation,\n useDeleteFinancingOptionMutation,\n\n useCreateFinancingOptionEventMutation,\n\n useGetFinancingOptionSegmentsQuery,\n\n useGetFinancingOptionTemplatesQuery,\n useCreateFinancingOptionTemplateMutation,\n useUpdateFinancingOptionTemplateMutation,\n\n useGetAdminCreditSubmissionsQuery,\n\n useGetOpportunityCreditSubmissionsQuery,\n useGetOpportunityCreditSubmissionQuery,\n useCreateOpportunityCreditSubmissionMutation,\n useUpdateOpportunityCreditSubmissionMutation,\n useDeleteOpportunityCreditSubmissionMutation,\n useUpdateOpportunityCreditSubmissionSubmitToLenderMutation,\n useUpdateOpportunityCreditSubmissionSelectLenderMutation,\n useUpdateOpportunityCreditSubmissionDeselectLenderMutation,\n\n useGetVendorsQuery,\n useCreateVendorMutation,\n useUpdateVendorMutation,\n\n useGetVendorPaymentsQuery,\n useGetVendorPaymentQuery,\n useCreateVendorPaymentMutation,\n useUpdateVendorPaymentMutation,\n useDeleteVendorPaymentMutation,\n\n useGetVendorPaymentAttachmentQuery,\n useCreateVendorPaymentAttachmentMutation,\n\n useGenerateVendorPaymentMutation,\n useCreateVendorPaymentConfirmationMutation,\n\n useCreateVendorPaymentOpportunityMutation,\n\n useGetVendorProgramQuery,\n useGetVendorProgramsQuery,\n\n useCreateDocusignEmbeddedSigningMutation,\n useGetDocusignEmbeddedSigningStatusQuery,\n useCreateDocusignEmbeddedSendingMutation,\n useGetDocusignPdfsForSigningQuery,\n\n useGetDocusignRegeneratedEmbeddedSendingUrlQuery,\n useLazyGetDocusignRegeneratedEmbeddedSendingUrlQuery,\n\n useGetDocusignSigningUrlQuery,\n useLazyGetDocusignSigningUrlQuery,\n\n useGetLendersQuery,\n useCreateLenderMutation,\n\n useGetOpportunityDocumentsQuery,\n useGetDocumentsQuery,\n useGetDocumentQuery,\n useCreateDocumentMutation,\n useUpdateDocumentMutation,\n usePreviewDocumentMutation,\n\n useGetGuarantorsQuery,\n useGetGuarantorQuery,\n useSearchGuarantorsQuery,\n useCreateGuarantorMutation,\n useRemoveGuarantorsMutation,\n\n useGetTransactionsQuery,\n useLazyGetTransactionsQuery,\n\n useGetOpportunityTransactionsQuery,\n useGetOpportunityTransactionQuery,\n useCreateOpportunityTransactionMutation,\n useUpdateOpportunityTransactionMutation,\n useUpdateOpportunityTransactionsMutation,\n useDeleteOpportunityTransactionMutation,\n useDeleteOpportunityTransactionsMutation,\n useScheduleOpportunityTransactionsMutation,\n\n useGetOpportunityTasksQuery,\n\n useGetOpportunityTagsQuery,\n useUpdateOpportunityTagsMutation,\n\n // TODO: remove\n //\n // useCreateOpportunityDownPaymentMutation,\n\n useCreateOpportunityPaymentAuthorizationMutation,\n\n useGetDocusignEnvelopesQuery,\n useGetDocusignEnvelopeQuery,\n useCreateDocusignEnvelopeMutation,\n useUpdateDocusignEnvelopeMutation,\n useDeleteDocusignEnvelopeMutation,\n\n useGetCommentsQuery,\n useLazyGetCommentsQuery,\n useCreateCommentMutation,\n useDeleteCommentMutation,\n useMarkUnreadCommentNotificationMutation,\n\n // PROTOTYPE\n useGetCombinePdfsPrototypeQuery,\n\n // ADMIN\n useGetAdminAccountsQuery,\n useGetAdminAccountQuery,\n useUpdateAdminAccountMutation,\n\n useCreateAdminAccountReviewMutation,\n\n useGetAdminClientOpportunitiesQuery,\n useGetAdminVendorOpportunitiesQuery,\n\n useGetAdminContactsQuery,\n useCreateAdminContactMutation,\n useUpdateAdminContactMutation,\n useGetAdminsQuery,\n useAddAdminMutation,\n useRevokeAdminsMutation,\n\n useCreateAdminFinancingOptionApprovalMutation,\n useRemoveAdminFinancingOptionApprovalMutation,\n\n // TAG\n useGetTagsQuery,\n useCreateTagMutation,\n useDeleteTagsMutation,\n useUpdateTagOpportunitiesMutation,\n\n useGetSavedViewsQuery,\n useCreateSavedViewMutation,\n useUpdateSavedViewMutation,\n useDeleteSavedViewMutation,\n\n useGetAdminOpportunitiesQuery,\n useDeleteAdminOpportunitiesMutation,\n\n useGetAdminVendorProgramsQuery,\n useGetAdminVendorProgramTemplatesQuery,\n useGetAdminVendorProgramQuery,\n useUpdateAdminVendorProgramMutation,\n\n useCreateAdminVendorProgramMutation,\n useDeleteVendorProgramTemplatesMutation,\n useDeleteVendorProgramAttachmentMutation,\n useCreateVendorProgramEnvelopeTemplateMutation,\n\n useGetAdminAccountTeamsQuery,\n\n useGetAdminUserTeamsQuery,\n\n useGetAdminTeamsQuery,\n useGetAdminTeamQuery,\n useSearchAdminTeamsQuery,\n useCreateAdminTeamMutation,\n\n useGetAdminVendorAdminsQuery,\n useCreateAdminVendorAdminMutation,\n useUpdateAdminVendorAdminsMutation,\n\n useUpdateAdminVendorTeamsMutation,\n\n useUpdateAdminVendorVendorProgramMutation,\n\n useUpdateAdminMembershipRoleMutation,\n useDeleteAdminMembershipMutation,\n\n // VENDOR ADMIN\n useGetVendorAdminTeamsQuery,\n useGetVendorAdminTeamQuery,\n useGetVendorAdminMembershipsByTeamQuery,\n useGetVendorAdminsQuery,\n useAddContactsAsVendorAdminMutation,\n useCreateVendorAdminTeamMutation,\n useCreateVendorAdminContactMutation,\n useInviteMembershipsByTeamMutation,\n useUpdateVendorAdminMembershipRoleMutation,\n\n useGetMembershipsByTeamQuery,\n\n useGetMembershipsByAdminTeamQuery,\n useCreateMembershipsByTeamMutation,\n useGetMembershipsByContactQuery,\n\n useCreateCreditReviewMutation,\n\n usePushHubspotUpdateMutation,\n\n useGetRateCardsQuery,\n useCreateRateCardMutation,\n useUpdateRateCardMutation,\n} = fortApi;\n\nexport { fortApiTagTypes };\n","import { configureStore } from \"@reduxjs/toolkit\";\n// import sessionReducer from \"../reducers/sessions\";\nimport { fortApi } from \"../services/api\";\n\nconst store = configureStore({\n reducer: {\n [fortApi.reducerPath]: fortApi.reducer,\n // session: sessionReducer,\n },\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({\n serializableCheck: { ignoredPaths: [\"fortApi.mutations\"] },\n }).concat(fortApi.middleware),\n});\n\nexport { store };\n","import React from \"react\";\nimport { Auth0Provider } from \"@auth0/auth0-react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport queryString from \"query-string\";\n\nconst Auth0ProviderWithHistory = ({ children }) => {\n const history = useHistory();\n const location = useLocation();\n const { search } = location;\n const query = queryString.parse(search);\n\n const domain = process.env.AUTH0_DOMAIN;\n const clientId = process.env.AUTH0_CLIENT_ID;\n const redirectUri = process.env.AUTH0_CALLBACK_URL;\n const audience = process.env.AUTH0_AUDIENCE;\n\n const onRedirectCallback = (appState) => {\n history.push(appState?.returnTo || window.location.pathname);\n };\n\n if (!(domain && clientId && audience)) {\n return null;\n }\n\n const { login_hint, screen_hint } = query;\n\n return (\n \n {children}\n \n );\n};\n\nAuth0ProviderWithHistory.propTypes = {\n children: PropTypes.any,\n};\n\nexport default Auth0ProviderWithHistory;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport http from \"../http-common\";\n\nconst CurrentUserContext = React.createContext();\n\nconst CurrentUserProvider = ({ children }) => {\n const [timezone, setTimezone] = useState(\n Intl.DateTimeFormat().resolvedOptions().timeZone\n );\n\n useEffect(() => {\n http.defaults.headers.common[\"current-timezone\"] = timezone;\n }, [timezone]);\n\n return (\n \n {children}\n \n );\n};\n\nCurrentUserProvider.propTypes = {\n children: PropTypes.any,\n};\n\nexport { CurrentUserContext, CurrentUserProvider };\n","import React from \"react\";\nimport { AppProvider, Frame, Image, Layout, Page } from \"@shopify/polaris\";\nimport FortifyLogo from \"images/fortify-logo.svg\";\n\nconst LoadingScreen = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LoadingScreen;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\n\nimport { useFetchContactQuery } from \"../services/api\";\nimport LoadingScreen from \"../components/Auth/Loading\";\n\nconst CurrentContactContext = React.createContext();\n\nconst CurrentContactProvider = ({ children }) => {\n const {\n user,\n isAuthenticated,\n isLoading: isLoadingAuth,\n loginWithRedirect,\n } = useAuth0();\n\n const [currentContact, setCurrentContact] = useState(null);\n const [contactPermissions, setContactPermissions] = useState({});\n const [isOrganizationAdmin, setIsOrganizationAdmin] = useState(false);\n const [isVendorAdmin, setIsVendorAdmin] = useState(false);\n const [isFinanceSpecialist, setIsFinanceSpecialist] = useState(false);\n const [isTeamAdmin, setIsTeamAdmin] = useState(false);\n const [isTeamMember, setIsTeamMember] = useState(false);\n const [isCustomer, setIsCustomer] = useState(false);\n\n const {\n data: contact,\n isLoading,\n isFetching,\n refetch: refetchCurrentContact,\n error,\n } = useFetchContactQuery(user?.email, {\n skip: !user || !isAuthenticated || isLoadingAuth,\n });\n\n useEffect(() => {\n if (error) {\n if (error.status == 401) {\n loginWithRedirect();\n }\n }\n }, [error, loginWithRedirect]);\n\n // Set Current Contact\n useEffect(() => {\n if (contact) {\n setCurrentContact(contact);\n setContactPermissions(contact.attributes.permissions);\n }\n }, [contact, isLoading]);\n\n useEffect(() => {\n if (isLoading) return;\n\n if (hasPermission(\"organization_admin\")) setIsOrganizationAdmin(true);\n if (hasPermission(\"vendor_admin\")) setIsVendorAdmin(true);\n if (hasPermission(\"team_finance_specialist\")) setIsFinanceSpecialist(true);\n if (hasPermission(\"team_admin\")) setIsTeamAdmin(true);\n if (hasPermission(\"team_member\")) setIsTeamMember(true);\n\n if (contactPermissions == {}) return;\n\n const hasNoPermissions = Object.values(contactPermissions).every(\n (permission) => permission == false\n );\n\n if (hasNoPermissions) setIsCustomer(true);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [contactPermissions, hasPermission]);\n\n useEffect(() => {\n if (\n isOrganizationAdmin ||\n isVendorAdmin ||\n isFinanceSpecialist ||\n isTeamAdmin ||\n isTeamMember\n )\n setIsCustomer(false);\n }, [\n isOrganizationAdmin,\n isVendorAdmin,\n isFinanceSpecialist,\n isTeamAdmin,\n isTeamMember,\n ]);\n\n const hasPermission = useCallback(\n (permission, resource_id = null) => {\n if (contactPermissions[permission]) {\n if (permission == \"organization_admin\")\n return contactPermissions[permission];\n if (!resource_id) return contactPermissions[permission].length > 0;\n return contactPermissions[permission].includes(resource_id);\n }\n return false;\n },\n [contactPermissions]\n );\n\n if (isLoading || isFetching) return ;\n\n return (\n \n {children}\n \n );\n};\n\nCurrentContactProvider.propTypes = {\n children: PropTypes.any,\n};\n\nexport { CurrentContactProvider, CurrentContactContext };\n","// https://scottspence.com/posts/react-context-api#use-the-react-context-api\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const FinancingContext = React.createContext();\n\nconst financingTypes = [\n \"standard\",\n \"subscription\",\n \"fair_market_value\",\n \"net_terms\",\n \"dollar_out_lease\",\n \"saas\",\n \"rental\"\n];\n\nexport class FinancingProvider extends React.Component {\n state = {\n newFinancingOptionType: undefined,\n };\n\n handleNewFinancingOptionTypeChange = (type) => {\n if (financingTypes.includes(type)) {\n this.setState({ newFinancingOptionType: type });\n }\n };\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nFinancingProvider.propTypes = {\n children: PropTypes.any,\n};\n","export const invertMapKeysAndValues = (stringMap) => {\n const newStringMap = {};\n for (let key in stringMap) {\n const val = stringMap[key];\n newStringMap[val] = key;\n }\n return newStringMap;\n};\n\nexport const returnPublicRoutes = () => {\n const publicRoutes = [\"/share\", \"/section-179-calculator\", \"/calculator\"];\n return publicRoutes.some(route => location.pathname.includes(route));\n};\n","import React, { useEffect, useState } from \"react\";\nimport http from \"../../http-common\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\nimport PropTypes from \"prop-types\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\nimport { returnPublicRoutes } from \"../../services/utility\";\n\nconst AxiosInterceptorContext = React.createContext({ isTokenSet: false });\n\nconst setAxiosTokenInterceptor = async (accessToken) => {\n http.interceptors.request.use(async (config) => {\n if (accessToken) {\n if (config.headers) {\n config.headers[\"Authorization\"] = `Bearer ${accessToken}`;\n } else {\n config.headers = {\n Authorization: `Bearer ${accessToken}`,\n };\n }\n }\n return config;\n });\n};\n\nexport const useAxiosInterceptor = () => {\n const context = React.useContext(AxiosInterceptorContext);\n if (context === undefined) {\n throw new Error(\n \"useAxiosInterceptor must be used within an AxiosInterceptorProvider\"\n );\n }\n return context;\n};\n\nexport const AxiosInterceptorProvider = ({ children }) => {\n const {\n isAuthenticated,\n isLoading: isLoadingAuth,\n getAccessTokenSilently,\n loginWithRedirect,\n } = useAuth0();\n const [isTokenSet, setIsTokenSet] = useState(false);\n const [isLoadingToken, setIsLoadingToken] = useState(true);\n const [isPublicRoute, setIsPublicRoute] = useState(false);\n\n useEffect(() => {\n const setToken = async () => {\n setIsLoadingToken(true);\n try {\n const accessToken = await getAccessTokenSilently();\n setAxiosTokenInterceptor(accessToken);\n setIsTokenSet(true);\n setIsLoadingToken(false);\n } catch (e) {\n console.log(\"Caught auth0 getAccessToken error: \", e);\n if (e.error === \"login_required\") {\n loginWithRedirect();\n }\n if (e.error === \"consent_required\") {\n loginWithRedirect();\n }\n if (e.error === \"invalid_grant\") {\n loginWithRedirect();\n }\n throw e;\n }\n };\n\n if (isAuthenticated) {\n setToken();\n }\n\n // Make public routes public (/share, /section-179-calculator)\n if (returnPublicRoutes()) {\n setIsPublicRoute(true);\n setIsLoadingToken(false);\n }\n }, [isAuthenticated, getAccessTokenSilently, loginWithRedirect]);\n\n useEffect(() => {}, [\n isLoadingAuth,\n isLoadingToken,\n isAuthenticated,\n isPublicRoute,\n ]);\n\n if (isLoadingAuth || isLoadingToken || (!isAuthenticated && !isPublicRoute))\n return ;\n\n return (\n \n {(isTokenSet || isPublicRoute) && children}\n \n );\n};\nAxiosInterceptorProvider.propTypes = {\n children: PropTypes.any,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { AppProvider } from \"@shopify/polaris\";\nimport { Link as ReactRouterLink } from \"react-router-dom\";\nimport enTranslations from \"@shopify/polaris/locales/en.json\";\n\nexport const AppProviderWrapper = ({ children }) => {\n const IS_EXTERNAL_LINK_REGEX = /^(?:[a-z][a-z\\d+.-]*:|\\/\\/)/;\n const AppLink = ({ children, url = \"\", external, ref, ...rest }) => {\n // react-router only supports links to pages it can handle itself. It does not\n // support arbirary links, so anything that is not a path-based link should\n // use a reglar old `a` tag\n if (external || IS_EXTERNAL_LINK_REGEX.test(url)) {\n rest.target = \"_blank\";\n rest.rel = \"noopener noreferrer\";\n return (\n \n {children}\n \n );\n }\n\n return (\n \n {children}\n \n );\n };\n\n return (\n \n {children}\n \n );\n};\nAppProviderWrapper.propTypes = {\n children: PropTypes.any,\n};\n\nexport default AppProviderWrapper;\n","import React, { useEffect, useCallback, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Page,\n Layout,\n EmptyState,\n FooterHelp,\n Link,\n Button,\n} from \"@shopify/polaris\";\nimport { WithinContentContext } from \"@shopify/polaris/build/esm/utilities/within-content-context\";\nimport FortifyLogo from \"../../../../app/assets/images/fortify-logo-padding.svg\";\nimport AppProviderWrapper from \"../App/AppProviderWrapper\";\n\nconst ErrorScreen = ({ error = { message: \"\" }, handleLogout }) => {\n const { message: heading } = error;\n\n const [isEmailVerificationError, setIsEmailVerificationError] =\n useState(false);\n useEffect(() => {\n if (heading.includes(\"We've sent a verification email\")) {\n setIsEmailVerificationError(true);\n }\n }, [heading]);\n\n const buildContent = useCallback(() => {\n return isEmailVerificationError\n ? \"Click the link in your email to verify your account. If you can't find the email, check your spam folder.\"\n : \"We were unable to authenticate you.\";\n }, [isEmailVerificationError]);\n\n const primaryAction = useCallback(() => {\n return isEmailVerificationError ? (\n null) :\n {\n content: \"Log out\",\n onAction: handleLogout,\n }}\n , [isEmailVerificationError, handleLogout]);\n\n return (\n \n \n \n
\n \n \n {buildContent()}\n \n \n
\n\n {isEmailVerificationError && (\n \n After verifying your email{\" \"}\n \n \n )}\n
\n
\n
\n );\n};\n\nErrorScreen.propTypes = {\n error: PropTypes.object,\n handleLogout: PropTypes.func,\n};\n\nexport default ErrorScreen;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Page as PolarisPage,\n Layout,\n EmptyState,\n FooterHelp,\n Button,\n} from \"@shopify/polaris\";\nimport { WithinContentContext } from \"@shopify/polaris/build/esm/utilities/within-content-context\";\nimport FortifyLogo from \"../../../assets/images/fortify-logo-padding.svg\";\nimport AppProviderWrapper from \"../App/AppProviderWrapper\";\n\nconst VerifyEmail = ({ handleLogout }) => {\n const heading = \"We've sent a verification email\";\n\n return (\n \n \n \n
\n \n \n Click the link in your email to verify your account. If you\n can't find the email, check your spam folder.\n \n \n
\n\n \n After verifying your email{\" \"}\n \n \n
\n
\n
\n );\n};\n\nVerifyEmail.propTypes = {\n handleLogout: PropTypes.func,\n};\n\nexport default VerifyEmail;\n","import React, { useEffect } from \"react\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\nimport PropTypes from \"prop-types\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\nimport ErrorScreen from \"../../components/Auth/Error\";\nimport VerifyEmail from \"../../components/Auth/VerifyEmail\";\nimport { useLocation } from \"react-router-dom\";\nimport queryString from \"query-string\";\nimport { returnPublicRoutes } from '../../services/utility'\n\nconst AuthContext = React.createContext({\n isAuthenticated: false,\n isLoading: true,\n});\n\nexport const CommonAuthProvider = ({ children }) => {\n const location = useLocation();\n const { search } = location;\n const query = queryString.parse(search);\n const {\n isAuthenticated,\n isLoading,\n getAccessTokenSilently,\n loginWithRedirect,\n error,\n user,\n logout,\n } = useAuth0();\n\n const value = {\n isLoading,\n isAuthenticated,\n getAccessTokenSilently,\n error,\n user,\n logout,\n };\n\n useEffect(() => {\n // Make public routes public (/share, /section-179-calculator)\n if (returnPublicRoutes()) return;\n if (isLoading || isAuthenticated || error) return;\n\n const { login_hint, screen_hint } = query;\n\n loginWithRedirect({\n appState: { returnTo: window.location.pathname },\n authorizationParams: {\n login_hint,\n // screen_hint forces the login/signup page to display\n screen_hint,\n },\n });\n }, [\n isLoading,\n isAuthenticated,\n loginWithRedirect,\n error,\n query,\n location.pathname,\n ]);\n\n if (isLoading) {\n return ;\n }\n\n if (error) {\n return ;\n }\n\n if (user && !user.email_verified && !location.pathname.includes(\"/share\")) {\n return ;\n }\n\n return {children};\n};\n\nCommonAuthProvider.propTypes = {\n children: PropTypes.any,\n};\n\nexport const useAuth = () => {\n const context = React.useContext(AuthContext);\n if (context === undefined) {\n throw new Error(\"useAuth must be used within a CommonAuthProvider\");\n }\n return context;\n};\n","import { useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nexport default function ScrollToTop() {\n const { pathname } = useLocation();\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [pathname]);\n\n return null;\n}","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport {\n Page,\n Layout,\n Link,\n EmptyState,\n BlockStack,\n} from \"@shopify/polaris\";\nimport { WithinContentContext } from \"@shopify/polaris/build/esm/utilities/within-content-context\";\nimport fatalErrorSVG from \"../assets/fatalError.svg\";\n\nconst FatalError = (props) => {\n const { hideRefreshAction = false } = props;\n const history = useHistory();\n\n const handleReloadPage = () => {\n history.push(\"/\");\n window.location.reload();\n };\n\n return (\n \n \n
\n \n \n \n

\n Your browser did something unexpected. Please try again. If\n the error continues, try disabling all browser extensions.{\" \"}\n \n Contact us\n {\" \"}\n if the problem persists.\n

\n
\n \n
\n
\n
\n
\n );\n};\n\nFatalError.propTypes = {\n hideRefreshAction: PropTypes.bool,\n};\n\nexport default FatalError;\n","import React from \"react\";\nimport { Notifier } from \"@airbrake/browser\";\nimport FatalError from \"./FatalError\";\nimport PropTypes from \"prop-types\";\n\nclass ErrorBoundary extends React.Component {\n constructor(props) {\n super(props);\n this.state = { hasError: false };\n\n if (process.env.AIRBRAKE_PROJECT_ID && process.env.AIRBRAKE_PROJECT_KEY) {\n this.airbrake = new Notifier({\n projectId: process.env.AIRBRAKE_PROJECT_ID,\n projectKey: process.env.AIRBRAKE_PROJECT_KEY,\n });\n }\n }\n\n static getDerivedStateFromError(error) {\n // Update state so the next render will show the fallback UI.\n return { hasError: true };\n }\n\n componentDidCatch(error, info) {\n // Send error to Airbrake\n this.airbrake &&\n this.airbrake.notify({\n error: error,\n params: { info: info },\n });\n }\n\n render() {\n if (this.state.hasError) {\n // You can render any custom fallback UI\n return ;\n }\n\n return this.props.children;\n }\n}\n\nErrorBoundary.propTypes = {\n children: PropTypes.any,\n};\n\nexport default ErrorBoundary;\n","import React, { useEffect } from \"react\";\nimport { Route } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport { withAuthenticationRequired, useAuth0 } from \"@auth0/auth0-react\";\nimport LoadingScreen from \"./Auth/Loading\";\n\nconst ProtectedRoute = ({ component: Component, ...rest }) => {\n const { isLoading, isAuthenticated, loginWithRedirect } = useAuth0();\n\n useEffect(() => {\n if (isLoading || isAuthenticated) {\n return;\n }\n const fn = async () => {\n // await loginWithRedirect();\n };\n fn();\n }, [isLoading, isAuthenticated]);\n\n return (\n <>\n ,\n })}\n />\n \n );\n};\nProtectedRoute.propTypes = {\n component: PropTypes.any,\n};\n\nexport default ProtectedRoute;\n","import React, { ReactNode, useState, useContext, createContext } from 'react';\nimport { Toast } from '@shopify/polaris';\n\n// Context for the toast\nconst ToastContext = createContext<{ showToastWithMessage: (message: string) => void } | undefined>(undefined);\n\n// Custom hook for toast logic\nexport function useToast() {\n const context = useContext(ToastContext);\n if (!context) {\n throw new Error(`useToast must be used within a ToastProvider`);\n }\n return context;\n}\n\n// Provider component that also includes Toast markup\ninterface ToastProviderProps {\n children: ReactNode;\n}\n\nexport const ToastProvider: React.FC = ({ children }) => {\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState('');\n\n const showToastWithMessage = (message: string) => {\n setToastMessage(message);\n setShowToast(true);\n };\n\n const handleDismissToast = () => {\n setShowToast(false);\n setToastMessage('');\n };\n\n const toastMarkup = showToast ? (\n \n ) : null;\n\n return (\n \n {children}\n {toastMarkup}\n \n );\n};\n","import React, { useState, useCallback, useContext } from \"react\";\nimport { TopBar, Icon, Text } from \"@shopify/polaris\";\nimport { ArrowLeftIcon, QuestionCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { CurrentContactContext } from \"../../contexts/Contact\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\n\nconst Navbar = (props) => {\n const { handleAuth0Logout, handleNavigationToggle } = props;\n\n const [isUserMenuOpen, setIsUserMenuOpen] = useState(false);\n const [isSecondaryMenuOpen, setIsSecondaryMenuOpen] = useState(false);\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { user } = useAuth0();\n\n const toggleIsUserMenuOpen = useCallback(\n () => setIsUserMenuOpen((isUserMenuOpen) => !isUserMenuOpen),\n []\n );\n\n const toggleIsSecondaryMenuOpen = useCallback(\n () => setIsSecondaryMenuOpen((isSecondaryMenuOpen) => !isSecondaryMenuOpen),\n []\n );\n\n const userMenuMarkup = (\n \n );\n\n const handleContactFort = () =>\n window.open(`mailto:${process.env.SUPPORT_EMAIL}?subject=General Support`);\n\n const secondaryMenuMarkup = (\n \n \n \n Support menu\n \n \n }\n open={isSecondaryMenuOpen}\n onOpen={toggleIsSecondaryMenuOpen}\n onClose={toggleIsSecondaryMenuOpen}\n actions={[\n {\n items: [\n { content: \"Contact FORT\", onAction: handleContactFort },\n {\n content: \"Help Center\",\n external: true,\n url: \"https://help.fortifypay.com\",\n },\n ],\n },\n ]}\n />\n );\n\n const navbarMarkup = (\n \n );\n\n return navbarMarkup;\n};\nNavbar.propTypes = {\n handleAuth0Logout: PropTypes.func,\n handleNavigationToggle: PropTypes.func,\n};\n\nexport default Navbar;\n","import React, { useEffect, useContext } from \"react\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\n\nconst Auth0Callback = () => {\n const { currentContact } = useContext(CurrentContactContext);\n\n useEffect(() => {\n if (currentContact && currentContact?.attributes.invite_opportunity_id) {\n let opportunityId = currentContact.attributes.invite_opportunity_id;\n window.location.replace(\n `/opportunities/${opportunityId}/share`,\n \"_blank\"\n );\n }\n }, [currentContact]);\n\n const pageMarkup = (\n \n );\n\n return pageMarkup;\n};\n\nexport default Auth0Callback;\n","import { format } from \"timeago.js\";\n\nconst stateOptions = [\n \"Alaska\",\n \"Alabama\",\n \"Arkansas\",\n \"American Samoa\",\n \"Arizona\",\n \"California\",\n \"Colorado\",\n \"Connecticut\",\n \"District of Columbia\",\n \"Delaware\",\n \"Florida\",\n \"Georgia\",\n \"Guam\",\n \"Hawaii\",\n \"Iowa\",\n \"Idaho\",\n \"Illinois\",\n \"Indiana\",\n \"Kansas\",\n \"Kentucky\",\n \"Louisiana\",\n \"Massachusetts\",\n \"Maryland\",\n \"Maine\",\n \"Michigan\",\n \"Minnesota\",\n \"Missouri\",\n \"Mississippi\",\n \"Montana\",\n \"North Carolina\",\n \"North Dakota\",\n \"Nebraska\",\n \"New Hampshire\",\n \"New Jersey\",\n \"New Mexico\",\n \"Nevada\",\n \"New York\",\n \"Ohio\",\n \"Oklahoma\",\n \"Oregon\",\n \"Pennsylvania\",\n \"Puerto Rico\",\n \"Rhode Island\",\n \"South Carolina\",\n \"South Dakota\",\n \"Tennessee\",\n \"Texas\",\n \"Utah\",\n \"Virginia\",\n \"Virgin Islands\",\n \"Vermont\",\n \"Washington\",\n \"Wisconsin\",\n \"West Virginia\",\n \"Wyoming\",\n];\n\nconst stateOptionsShort = [\n \"AK\",\n \"AL\",\n \"AR\",\n \"AZ\",\n \"CA\",\n \"CO\",\n \"CT\",\n \"DC\",\n \"DE\",\n \"FL\",\n \"GA\",\n \"HI\",\n \"IA\",\n \"ID\",\n \"IL\",\n \"IN\",\n \"KS\",\n \"KY\",\n \"LA\",\n \"MA\",\n \"MD\",\n \"ME\",\n \"MI\",\n \"MN\",\n \"MO\",\n \"MS\",\n \"MT\",\n \"NC\",\n \"ND\",\n \"NE\",\n \"NH\",\n \"NJ\",\n \"NM\",\n \"NV\",\n \"NY\",\n \"OH\",\n \"OK\",\n \"OR\",\n \"PA\",\n \"RI\",\n \"SC\",\n \"SD\",\n \"TN\",\n \"TX\",\n \"UT\",\n \"VA\",\n \"VT\",\n \"WA\",\n \"WI\",\n \"WV\",\n \"WY\",\n \"AB\",\n \"BC\",\n \"MB\",\n \"NB\",\n \"NL\",\n \"NS\",\n \"NT\",\n \"NU\",\n \"ON\",\n \"PE\",\n \"QC\",\n \"SK\",\n \"YT\",\n];\n\nconst countryOptions = [\"USA\", \"Canada\"];\n\nconst equipmentProductTypeOptions = [\n \"Biomass Processing\",\n \"Building Structures\",\n \"Energy\",\n \"Gaming\",\n \"Gym\",\n \"Heavy Machinery\",\n \"Industrial\",\n \"Invasive Medical Equipment\",\n \"IT Equipment\",\n \"Lasers\",\n \"Machinery\",\n \"Material Handling\",\n \"Medical\",\n \"Office\",\n \"Other Essential Use Assets\",\n \"Packaging/Labeling\",\n \"Resources\",\n \"Restaurant\",\n \"Service\",\n \"Scientific\",\n \"Soft cost\",\n \"Software / SaaS\",\n \"Titled Asset\",\n \"Turf\",\n \"UG\",\n \"White Goods\",\n \"Mobile devices\",\n \"Turbines\",\n];\n\n/**\n * Converts a date string from the server into a JavaScript Date object, ensuring that the date remains the same regardless of the client's timezone.\n * This function assumes the server date is in the format \"YYYY-MM-DD\".\n * @param serverDateString - The date string from the server.\n * @returns {Date} A JavaScript Date object representing the same calendar date that was provided in the server date string.\n */\nconst convertServerDate = (serverDateString: string): Date => {\n if (!serverDateString) {\n return null;\n }\n\n const date = new Date(serverDateString);\n const userTimezoneOffset = date.getTimezoneOffset() * 60000; // Convert offset to milliseconds\n const correctedDate = new Date(date.getTime() + userTimezoneOffset);\n\n return correctedDate;\n};\n\n/**\n * Copies the given text to the clipboard.\n * @param text - The text to copy to the clipboard.\n * @returns A Promise that resolves when the text has copied to the clipboard.\n */\nconst copyTextToClipboard = (text: string) => {\n if (!navigator.clipboard) {\n fallbackCopyTextToClipboard(text);\n return;\n }\n return navigator.clipboard.writeText(text);\n};\n\nconst fallbackCopyTextToClipboard = (text: string) => {\n const textArea = document.createElement(\"textarea\");\n textArea.value = text;\n\n // Avoid scrolling to bottom\n textArea.style.top = \"0\";\n textArea.style.left = \"0\";\n textArea.style.position = \"fixed\";\n\n document.body.appendChild(textArea);\n textArea.focus();\n textArea.select();\n\n try {\n document.execCommand(\"copy\");\n } catch (err) {\n console.error(\"Fallback: Oops, unable to copy\", err);\n }\n\n document.body.removeChild(textArea);\n};\n\n/**\n * Formats a human-friendly time difference between the current date and the given date.\n * If the time difference is greater than one month, the date is formatted using the `formatShortDate` function.\n * Otherwise, the date is formatted using the `format` function with the \"en_US\" locale.\n * @param dateTime The date to format the time difference for.\n * @returns A human-friendly string representing the time difference between the current date and the given date.\n */\nconst formatHumanFriendlyTimeDifference = (dateTime: Date) => {\n const oneMonthAgo = 30 * 24 * 60 * 60 * 1000;\n const today = new Date();\n const timeDifference = today.getTime() - dateTime.getTime();\n\n if (timeDifference > oneMonthAgo) {\n return formatShortDate(dateTime);\n } else {\n return format(dateTime, \"en_US\");\n }\n};\n\n/**\n * Formats a Date object into a long date and time string.\n * @param datetime - The Date object to format.\n * @returns A string in the format \"Weekday, Month Day, Year at Hour:Minute\".\n */\nconst formatLongDateTime = (datetime: Date) => {\n const dateString = datetime.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n weekday: \"long\",\n year: \"numeric\",\n month: \"long\",\n day: \"numeric\",\n });\n\n const timeString = datetime.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n\n return `${dateString} at ${timeString}`;\n};\n\n/**\n * Formats a date object into a short date and time string.\n * @param datetime - The date object to format.\n * @returns A string in the format of \"Weekday, Month Day Year at Hour:Minute\".\n */\nconst formatShortDateTime = (datetime: Date) => {\n const dateString = datetime.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n weekday: \"short\",\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n });\n\n const timeString = datetime.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n hour: \"numeric\",\n minute: \"2-digit\",\n });\n\n return `${dateString} at ${timeString}`;\n};\n\n/**\n * Formats a given date into a short date string with the format \"weekday, month day, year\".\n * @param date - The date to format.\n * @returns A string representing the formatted date.\n */\nconst formatShortDate = (date: Date) => {\n const formattedDate = date.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n weekday: \"short\",\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n });\n\n return formattedDate;\n};\n\n/**\n * Formats a Date object into a string with the format \"MM/DD/YY\".\n * @param {Date} date - The Date object to format.\n * @returns {string} The formatted date string.\n */\nconst formatNumericDate = (date: Date) => {\n return date.toLocaleString(\"en-US\", {\n timeZone: \"America/New_York\",\n year: \"2-digit\",\n month: \"2-digit\",\n day: \"2-digit\",\n });\n};\n\n/**\n * Formats a given number of milliseconds into a string representation of minutes and seconds.\n * @param milliseconds - The number of milliseconds to format.\n * @returns A string representation of the given milliseconds in the format \"MM:SS\".\n */\nconst formatMillisecondsToMinutes = (milliseconds: number) => {\n const minutes = Math.floor(milliseconds / 60000);\n const seconds = Math.round((milliseconds % 60000) / 1000);\n return seconds == 60\n ? minutes + 1 + \":00\"\n : minutes + \":\" + (seconds < 10 ? \"0\" : \"\") + seconds;\n};\n\n/**\n * Formats a given amount as a currency string in USD.\n * If the amount is not numeric or not a valid currency, returns \"$ --\".\n * @param amount - The amount to format as currency.\n * @param style - The style to format the currency.\n * @returns The formatted currency string.\n */\nconst formatCurrency = (\n amount: string | number,\n style: \"currency\" | \"decimal\" | \"percent\" = \"currency\"\n) => {\n if (!isNumeric(amount)) {\n if (!validateCurrency(String(amount))) {\n return \"$ --\";\n }\n\n return amount;\n }\n\n const formatter = new Intl.NumberFormat(\"en-US\", {\n style,\n currency: \"USD\",\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n });\n\n return formatter.format(Number(amount));\n};\n\nfunction isDateNotPast(value: string) {\n // Extract year, month, and day from the input value\n const [year, month, day] = value.split(\"-\").map((num) => parseInt(num, 10));\n\n // Create a date object using the local timezone\n // Note: Month is 0-indexed, so subtract 1\n const inputDate = new Date(year, month - 1, day);\n\n // Get the current date and time, then adjust to the start of the day in the local timezone\n const today = new Date();\n today.setHours(0, 0, 0, 0);\n\n // Compare the two dates\n return inputDate >= today;\n}\n\n/**\n * Checks if a value is numeric.\n * @param value - The value to check.\n * @returns True if the value is numeric, false otherwise.\n */\nfunction isNumeric(value: string | number): boolean {\n return !isNaN(value as number) && !isNaN(parseFloat(value as string));\n}\n\n/**\n * Validates a currency value and returns it formatted as a string with two decimal places.\n * @param value - The currency value to validate and format.\n * @returns The formatted currency value as a string with two decimal places, or null if the input is invalid.\n */\nconst validateCurrency = (value: string) => {\n if (!value) {\n return null;\n }\n\n const valueFormatted = value.replace(/[$,]+/g, \"\");\n // values less than $1,000,000\n // var regex = /^[0-9]\\d*(((,\\d{3}){1})?(\\.\\d{0,2})?)$/;\n // values including greater than $1,000,000\n const regex = /^[0-9]\\d*(((,\\d{3})*)?(\\.\\d{0,2})?)$/;\n if (regex.test(valueFormatted)) {\n //Input is valid, check the number of decimal places\n const twoDecimalPlaces = /\\.\\d{2}$/g;\n const oneDecimalPlace = /\\.\\d{1}$/g;\n const noDecimalPlacesWithDecimal = /\\.\\d{0}$/g;\n\n if (valueFormatted.match(twoDecimalPlaces)) {\n //all good, return as is\n return valueFormatted;\n }\n if (valueFormatted.match(noDecimalPlacesWithDecimal)) {\n //add two decimal places\n return valueFormatted + \"00\";\n }\n if (valueFormatted.match(oneDecimalPlace)) {\n //ad one decimal place\n return valueFormatted + \"0\";\n }\n //else there is no decimal places and no decimal\n return valueFormatted + \".00\";\n }\n return null;\n};\n\n/**\n * Checks if the given value is a valid currency.\n * @param value - The value to be validated.\n * @returns If the value is not a valid currency, returns a string \"Please enter a valid dollar amount\".\n */\nconst isValidCurrency = (value: string) => {\n if (!validateCurrency(value)) {\n return \"Please enter a valid dollar amount\";\n }\n};\n\n/**\n * Converts a string to sentence case.\n * @param value - The string to convert.\n * @returns The converted string.\n */\nconst toSentenceCase = (value: string) => {\n function firstLetterUpper(value: string) {\n return value.toLowerCase().replace(/(^\\s*\\w|[\\.\\!\\?]\\s*\\w)/g, function (c) {\n return c.toUpperCase();\n });\n }\n\n return firstLetterUpper(value);\n};\n\n/**\n * Converts a string to title case.\n * @param value - The string to convert.\n * @returns The title case version of the input string.\n */\nconst toTitleCase = (value: string): string => {\n let result = \"\";\n let capitalizeNext = true;\n for (let i = 0; i < value.length; i++) {\n const char = value.charAt(i);\n if (capitalizeNext) {\n result += char.toUpperCase();\n capitalizeNext = false;\n } else {\n result += char.toLowerCase();\n }\n if (char === \" \") {\n capitalizeNext = true;\n }\n }\n return result;\n};\n\n/**\n * Generates a random UUID v4 string.\n * @returns {string} A UUID v4 string.\n */\nconst uuidv4 = (): string => {\n const baseString = \"10000000-1000-4000-8000-100000000000\";\n return baseString.replace(/[018]/g, (c: string): string => {\n const charCode = parseInt(c, 10);\n return (\n charCode ^\n (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (charCode / 4)))\n ).toString(16);\n });\n};\n\nenum ConversionType {\n TO_NAME = 1,\n TO_ABBREVIATED = 2,\n}\n/**\n * Converts a state or province name to its abbreviated form or vice versa.\n * @param input - The name of the state or province to convert.\n * @param to - The type of conversion to perform. Defaults to `ConversionType.TO_NAME`.\n * @returns The converted state or province name in its abbreviated or full form, or `undefined` if the input is invalid.\n */\nfunction convertStateName(\n input: string,\n to: ConversionType = ConversionType.TO_NAME\n): string | undefined {\n const states: Record = {\n Alabama: \"AL\",\n Alaska: \"AK\",\n \"American Samoa\": \"AS\",\n Arizona: \"AZ\",\n Arkansas: \"AR\",\n \"Armed Forces Americas\": \"AA\",\n \"Armed Forces Europe\": \"AE\",\n \"Armed Forces Pacific\": \"AP\",\n California: \"CA\",\n Colorado: \"CO\",\n Connecticut: \"CT\",\n Delaware: \"DE\",\n \"District Of Columbia\": \"DC\",\n Florida: \"FL\",\n Georgia: \"GA\",\n Guam: \"GU\",\n Hawaii: \"HI\",\n Idaho: \"ID\",\n Illinois: \"IL\",\n Indiana: \"IN\",\n Iowa: \"IA\",\n Kansas: \"KS\",\n Kentucky: \"KY\",\n Louisiana: \"LA\",\n Maine: \"ME\",\n \"Marshall Islands\": \"MH\",\n Maryland: \"MD\",\n Massachusetts: \"MA\",\n Michigan: \"MI\",\n Minnesota: \"MN\",\n Mississippi: \"MS\",\n Missouri: \"MO\",\n Montana: \"MT\",\n Nebraska: \"NE\",\n Nevada: \"NV\",\n \"New Hampshire\": \"NH\",\n \"New Jersey\": \"NJ\",\n \"New Mexico\": \"NM\",\n \"New York\": \"NY\",\n \"North Carolina\": \"NC\",\n \"North Dakota\": \"ND\",\n \"Northern Mariana Islands\": \"NP\",\n Ohio: \"OH\",\n Oklahoma: \"OK\",\n Oregon: \"OR\",\n Pennsylvania: \"PA\",\n \"Puerto Rico\": \"PR\",\n \"Rhode Island\": \"RI\",\n \"South Carolina\": \"SC\",\n \"South Dakota\": \"SD\",\n Tennessee: \"TN\",\n Texas: \"TX\",\n \"US Virgin Islands\": \"VI\",\n Utah: \"UT\",\n Vermont: \"VT\",\n Virginia: \"VA\",\n Washington: \"WA\",\n \"West Virginia\": \"WV\",\n Wisconsin: \"WI\",\n Wyoming: \"WY\",\n };\n\n const provinces: Record = {\n Alberta: \"AB\",\n \"British Columbia\": \"BC\",\n Manitoba: \"MB\",\n \"New Brunswick\": \"NB\",\n Newfoundland: \"NF\",\n \"Northwest Territory\": \"NT\",\n \"Nova Scotia\": \"NS\",\n Nunavut: \"NU\",\n Ontario: \"ON\",\n \"Prince Edward Island\": \"PE\",\n Quebec: \"QC\",\n Saskatchewan: \"SK\",\n Yukon: \"YT\",\n };\n\n const regions = { ...states, ...provinces };\n\n if (to === ConversionType.TO_ABBREVIATED) {\n const formattedInput = input.replace(\n /\\w\\S*/g,\n (txt) => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()\n );\n return regions[formattedInput];\n } else if (to === ConversionType.TO_NAME) {\n const upperInput = input.toUpperCase();\n return Object.keys(regions).find((key) => regions[key] === upperInput);\n }\n}\n\n/**\n * Validates the given email address based on a regex pattern.\n *\n * @function\n * @param {string} email - The email address to be validated.\n * @returns {boolean} Returns `true` if the email is valid, otherwise `false`.\n * @example\n *\n * validateEmail(\"test@example.com\"); // returns true\n * validateEmail(\"invalid-email\"); // returns false\n */\nconst validateEmail = (email: string): boolean => {\n const regexPattern =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return regexPattern.test(String(email).toLowerCase());\n};\n\nconst validatePhone = function (phone: string) {\n const phoneRegex =\n /^(?:(?:\\(?(?:00|\\+)([1-4]\\d\\d|[1-9]\\d*)\\)?)[\\-\\.\\ \\\\\\/]?)?((?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?)+)(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(\\d+))?$/i;\n return phoneRegex.test(phone);\n};\n\n/**\n * Capitalizes the first letter of a string.\n * @param string - The input string to capitalize.\n * @returns The input string with the first letter capitalized.\n */\nconst capitalizeFirstLetter = (string: string) => {\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\n\nconst toHumanReadableFinanceType = {\n standard: \"Standard financing\",\n fair_market_value: \"Fair market value\",\n net_terms: \"Net terms\",\n subscription: \"Subscription license agreement\",\n dollar_out_lease: \"Dollar out lease\",\n saas: \"Software as a service\",\n rental: \"Rental\",\n};\n\nconst toFinanceTypeSlug = {\n \"Standard financing\": \"standard\",\n \"Fair market value\": \"fair_market_value\",\n \"Net terms\": \"net_terms\",\n \"Subscription license agreement\": \"subscription\",\n \"Dollar out lease\": \"dollar_out_lease\",\n \"Software as a service\": \"saas\",\n Rental: \"rental\",\n};\n\nconst formatDateOptions = () => {\n const setToMidnight = (date: Date) => {\n date.setHours(0, 0, 0, 0);\n return date.toISOString();\n };\n\n const today = setToMidnight(new Date());\n const sevenDaysAgo = setToMidnight(\n new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)\n );\n const thirtyDaysAgo = setToMidnight(\n new Date(Date.now() - 30 * 24 * 60 * 60 * 1000)\n );\n const ninetyDaysAgo = setToMidnight(\n new Date(Date.now() - 90 * 24 * 60 * 60 * 1000)\n );\n const oneYearAgo = setToMidnight(\n new Date(Date.now() - 365 * 24 * 60 * 60 * 1000)\n );\n\n return [\n {\n label: \"Today\",\n value: today,\n },\n {\n label: \"Last 7 days\",\n value: sevenDaysAgo,\n },\n {\n label: \"Last 30 days\",\n value: thirtyDaysAgo,\n },\n {\n label: \"Last 90 days\",\n value: ninetyDaysAgo,\n },\n {\n label: \"Last 12 months\",\n value: oneYearAgo,\n },\n ];\n};\nconst dateOptions = formatDateOptions();\n\nconst taskLabels = [\n // \"Quote\",\n // \"Purchase Option\",\n // \"Pre-approved\",\n // \"Credit review\",\n // \"Signer\",\n // \"File upload\",\n // \"Envelope\",\n // \"Payment auth\",\n // \"Invoice\",\n // \"Transactions\"\n];\n\nconst taskNameToLabel = {\n quote: \"Quote\",\n purchase_option: \"Purchase Option\",\n purchase_option_approved: \"Pre-approved\",\n credit_review: \"Credit review\",\n signer: \"Signer\",\n file_upload: \"File upload\",\n envelope: \"Envelope\",\n payment_auth: \"Payment auth\",\n invoice: \"Invoice\",\n transaction: \"Transactions\",\n};\n\nconst taskLabelToName = {\n Quote: \"quote\",\n \"Purchase Option\": \"purchase_option\",\n \"Pre-approved\": \"purchase_option_approved\",\n \"Credit review\": \"credit_review\",\n Signer: \"signer\",\n \"File upload\": \"file_upload\",\n Envelope: \"envelope\",\n \"Payment auth\": \"payment_auth\",\n Invoice: \"invoice\",\n Transactions: \"transaction\",\n};\n\nconst taskNameToChoices = {\n quote: [\n { label: \"Present\", value: \"Complete\" },\n { label: \"Not present\", value: \"None\" },\n ],\n purchase_option: [\n { label: \"Selected\", value: \"Complete\" },\n { label: \"Not selected\", value: \"None\" },\n ],\n purchase_option_approved: [\n { label: \"Approved\", value: \"Complete\" },\n { label: \"Not approved\", value: \"None\" },\n ],\n credit_review: [\n { label: \"Approved\", value: \"Complete\" },\n { label: \"Not approved\", value: \"None\" },\n ],\n signer: [\n { label: \"Set\", value: \"Complete\" },\n { label: \"Not set\", value: \"None\" },\n ],\n file_upload: [\n { label: \"Complete\", value: \"Complete\" },\n { label: \"Not complete\", value: \"Incomplete\" },\n { label: \"None\", value: \"None\" },\n ],\n envelope: [\n { label: \"Complete\", value: \"Complete\" },\n { label: \"Not complete\", value: \"Incomplete\" },\n { label: \"None\", value: \"None\" },\n ],\n payment_auth: [\n { label: \"Complete\", value: \"Complete\" },\n { label: \"Not complete\", value: \"None\" },\n ],\n invoice: [\n { label: \"Present\", value: \"Complete\" },\n { label: \"Not present\", value: \"None\" },\n ],\n transaction: [\n { label: \"Complete\", value: \"Complete\" },\n { label: \"Not complete\", value: \"Incomplete\" },\n { label: \"None\", value: \"None\" },\n ],\n};\n\nconst showPaymentScheduleTypes = [\n \"Net terms\",\n \"Standard financing\",\n \"Rental\",\n \"Dollar out lease\",\n];\n\nexport {\n capitalizeFirstLetter,\n convertStateName,\n convertServerDate,\n copyTextToClipboard,\n formatCurrency,\n formatHumanFriendlyTimeDifference,\n formatLongDateTime,\n formatShortDate,\n formatShortDateTime,\n formatNumericDate,\n formatMillisecondsToMinutes,\n isDateNotPast,\n isValidCurrency,\n isNumeric,\n toSentenceCase,\n toTitleCase,\n validateCurrency,\n validateEmail,\n validatePhone,\n uuidv4,\n countryOptions,\n dateOptions,\n equipmentProductTypeOptions,\n stateOptions,\n stateOptionsShort,\n toHumanReadableFinanceType,\n toFinanceTypeSlug,\n taskNameToLabel,\n taskLabels,\n taskLabelToName,\n taskNameToChoices,\n showPaymentScheduleTypes,\n};\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n FormLayout,\n Autocomplete,\n Icon,\n BlockStack,\n TextField,\n Collapsible,\n Button,\n} from \"@shopify/polaris\";\nimport { LocationIcon, SearchIcon } from \"@shopify/polaris-icons\";\nimport { useDebounce } from \"use-debounce\";\nimport { useGetCompaniesSearchQuery } from \"../../services/api\";\n\nconst AccountSearchForm = (props) => {\n const { selectCompany, deselectCompany, query, resourceName = \"account\" } = props;\n\n const [queryValue, setQueryValue] = useState(\"\");\n const [address, setAddress] = useState(\"\");\n const [searchQuery] = useDebounce(queryValue, 500);\n const [addressQuery] = useDebounce(address, 500);\n // const [activeAddressField, setActiveAddressField] = useState(false);\n const [skipQuery, setSkipQuery] = useState(false);\n const [hasSearchFocus, setHasSearchFocus] = useState(false);\n\n const handleQueryChange = (queryValue) => {\n setSkipQuery(false);\n setQueryValue(queryValue);\n setOptions([]);\n };\n\n useEffect(() => {\n if (query) {\n handleQueryChange(query);\n setHasSearchFocus(true);\n }\n }, [query]);\n\n const {\n data: { companies = [] } = [],\n isLoading,\n isFetching,\n } = useGetCompaniesSearchQuery(\n { query: searchQuery, address: addressQuery },\n {\n skip: searchQuery.length < 3 || skipQuery,\n refetchOnMountOrArgChange: true,\n }\n );\n\n // const handleAddressChange = (value) => {\n // setAddress(value);\n // };\n\n // const handleAddAddress = () => {\n // setActiveAddressField((state) => {\n // if (state) {\n // setAddress();\n // }\n // return !state;\n // });\n // };\n\n const [selectedOptions, setSelectedOptions] = useState([]);\n const [options, setOptions] = useState([]);\n\n const updateSelection = useCallback(\n (selected) => {\n const selectedValue = selected.find((selectedItem) => {\n const matchedOption = options.find((option) => {\n return option.value.match(selectedItem);\n });\n\n return matchedOption && matchedOption.label;\n });\n\n const { company: selectedCompany } = companies.find(({ company }) => {\n return company.company_number === selectedValue;\n });\n\n setSelectedOptions(selected);\n setSkipQuery(true);\n setQueryValue(selectedCompany?.name);\n selectCompany(selectedCompany);\n },\n [options]\n );\n\n const handleManuallyAddAccount = () => {\n setQueryValue(\"\");\n setSelectedOptions([]);\n deselectCompany();\n };\n\n useEffect(() => {\n if (companies.length) {\n const formattedCompaniesArray = companies.map(({ company }) => {\n return {\n label: `${company?.name} ${\n company?.registered_address_in_full\n ? \"- \" + company?.registered_address_in_full\n : \"\"\n }`,\n value: company?.company_number,\n };\n });\n setOptions(formattedCompaniesArray);\n }\n }, [companies]);\n\n const emptyState = (\n \n \n
\n \n

Could not find any results for \"{queryValue}\"

\n \n
\n
\n
\n );\n\n const textField = (\n }\n placeholder=\"Search legal entity name...\"\n // labelAction={{\n // content: `${activeAddressField ? \"Remove\" : \"Add\"} registered address`,\n // onAction: handleAddAddress,\n // }}\n focused={hasSearchFocus}\n />\n );\n\n return (\n \n 2 && emptyState}\n loading={isLoading || isFetching}\n listTitle=\"Legal Company Name - Registered Address\"\n />\n\n {/* \n }\n />\n */}\n \n );\n};\n\nAccountSearchForm.propTypes = {\n selectCompany: PropTypes.func,\n deselectCompany: PropTypes.func,\n query: PropTypes.string,\n resourceName: PropTypes.string,\n};\n\nexport default AccountSearchForm;\n","import React, {\n useImperativeHandle,\n forwardRef,\n useEffect,\n useState,\n useCallback,\n} from \"react\";\nimport {\n FormLayout,\n TextField,\n Select,\n Spinner,\n Form,\n Button,\n Banner,\n Modal,\n Text,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\nimport { WandIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetAccountQuery,\n useGetTeamsQuery,\n useCreateAccountMutation,\n useCreateVendorMutation,\n useCreateLenderMutation,\n useUpdateAdminAccountMutation,\n useCreateClientMutation,\n useUpdateClientMutation,\n} from \"../../services/api\";\nimport { stateOptions, toTitleCase, convertStateName } from \"../../utilities\";\nimport AccountSearchForm from \"../../features/Account/SearchForm\";\n\nconst AccountForm = forwardRef((props, ref) => {\n const {\n accountId,\n account: accountObject = { attributes: {} },\n isAdminUser = false,\n isAdminContext = false,\n onCreateOrUpdate = () => {},\n onEdit = () => {},\n resourceName,\n searchQuery,\n isClient,\n isVendor,\n isLender,\n } = props;\n\n const { data: account = accountObject, isLoading = false } =\n useGetAccountQuery(accountId, { skip: !accountId });\n\n const { data: teamData = [], isLoading: isLoadingTeams } = useGetTeamsQuery();\n const [teams, setTeams] = useState([]);\n const [selectedTeamId, setSelectedTeamId] = useState();\n const [selectedTeam, setSelectedTeam] = useState();\n\n useEffect(() => {\n if (teamData.length > 0) {\n const teamOption = teamData.map((team) => team?.attributes?.name);\n setTeams(teamOption);\n setSelectedTeam(teamData[0].attributes.name);\n setSelectedTeamId(teamData[0].id);\n }\n }, [teamData]);\n\n useEffect(() => {\n if (selectedTeam && teamData.length > 0) {\n const team = teamData.find(\n (team) => team?.attributes?.name == selectedTeam\n );\n setSelectedTeamId(team?.attributes?.id);\n }\n }, [selectedTeam, teamData]);\n\n const [updateClient, { isLoading: isUpdating }] = useUpdateClientMutation();\n\n const [updateAdminAccount, { isLoading: isAdminUpdating }] =\n useUpdateAdminAccountMutation();\n\n const [createAccount, { isLoading: isCreatingAccount }] =\n useCreateAccountMutation();\n const [createVendor, { isLoading: isCreatingVendor }] =\n useCreateVendorMutation();\n const [createLender, { isLoading: isCreatingLender }] =\n useCreateLenderMutation();\n\n const [createClient, { isLoading: isCreatingClient }] =\n useCreateClientMutation();\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: accountFormDirty,\n } = useForm({\n fields: {\n name: useField({\n value: account ? account.attributes.name : \"\",\n validates: [notEmpty(\"Account name is required\")],\n }),\n dba: useField({\n value: account\n ? account.attributes.dba || \"\"\n : newAccount\n ? newAccount.attributes.name || \"\"\n : \"\",\n validates: [],\n }),\n email: useField({\n value: account ? account.attributes.email : \"\",\n validates: [],\n }),\n phone: useField({\n value: account ? account.attributes.phone : \"\",\n validates: [],\n }),\n ein: useField({\n value: account ? account.attributes.ein : \"\",\n validates: [],\n }),\n billing_street: useField({\n value: account ? account.attributes.billing_street : \"\",\n validates: [],\n }),\n billing_country: useField({\n value: account ? account.attributes.billing_country : \"\",\n validates: [],\n }),\n billing_city: useField({\n value: account ? account.attributes.billing_city : \"\",\n validates: [],\n }),\n billing_state: useField({\n value: account ? account.attributes.billing_state || undefined : \"\",\n validates: [],\n }),\n billing_postal_code: useField({\n value: account ? account.attributes.billing_postal_code : \"\",\n validates: [],\n }),\n },\n async onSubmit(form) {\n if (account.id) {\n if (!isAdminContext) {\n delete form.name;\n }\n\n const updateFunction = isAdminContext\n ? updateAdminAccount\n : updateClient;\n\n const payload = isAdminContext\n ? { id: account.id, ...form }\n : { id: account.id, ...form };\n\n return updateFunction(payload)\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update account.\" }],\n };\n });\n } else {\n const newAccountFormPayload = newAccount\n ? { ...newAccount.attributes, ...form }\n : { ...form };\n if (resourceName == \"account\") {\n return createAccount({ ...newAccountFormPayload })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n let message = \"Could not create account.\";\n if (error?.data?.message) {\n if (\n Object.keys(error.data.message).includes(\n \"legal_business_name\"\n )\n ) {\n message = `Could not create account. Legal business name ${error.data.message[\"legal_business_name\"]}.`;\n }\n }\n return {\n status: \"fail\",\n errors: [{ message: message }],\n };\n });\n } else if (isClient) {\n return createClient({\n teamId: selectedTeamId,\n ...newAccountFormPayload,\n })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n let message = \"Could not create client.\";\n if (error?.data?.message) {\n if (\n Object.keys(error.data.message).includes(\n \"legal_business_name\"\n )\n ) {\n message = `Could not create vendor. Legal business name ${error.data.message[\"legal_business_name\"]}.`;\n }\n }\n return {\n status: \"fail\",\n errors: [{ message: message }],\n };\n });\n } else if (isVendor) {\n return createVendor({ ...newAccountFormPayload })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n let message = \"Could not create vendor.\";\n if (error?.data?.message) {\n if (\n Object.keys(error.data.message).includes(\n \"legal_business_name\"\n )\n ) {\n message = `Could not create vendor. Legal business name ${error.data.message[\"legal_business_name\"]}.`;\n }\n }\n return {\n status: \"fail\",\n errors: [{ message: message }],\n };\n });\n } else if (isLender) {\n return createLender({ ...newAccountFormPayload })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n let message = \"Could not create lender.\";\n if (error?.data?.message) {\n if (\n Object.keys(error.data.message).includes(\n \"legal_business_name\"\n )\n ) {\n message = `Could not create lender. Legal business name ${error.data.message[\"legal_business_name\"]}.`;\n }\n }\n return {\n status: \"fail\",\n errors: [{ message: message }],\n };\n });\n }\n }\n },\n });\n\n useEffect(() => {\n onEdit(accountFormDirty);\n }, [onEdit, accountFormDirty]);\n\n useImperativeHandle(ref, () => ({\n handleSubmitForm() {\n submit();\n },\n }));\n\n const accountFromCompany = (company) => {\n return {\n name: company.name,\n opencorporates_company_number: company.company_number,\n opencorporates_company_type: company.company_type,\n opencorporates_current_status: company.current_status,\n opencorporates_jurisdiction_code: company.jurisdiction_code,\n opencorporates_incorporation_date: company.incorporation_date,\n opencorporates_registry_url: company.registry_url,\n opencorporates_url: company.opencorporates_url,\n billing_street: company.registered_address?.street_address\n ? toTitleCase(company.registered_address?.street_address)\n : company.registered_address?.street_address,\n billing_city: company.registered_address?.locality\n ? toTitleCase(company.registered_address?.locality)\n : company.registered_address?.locality,\n billing_state:\n company.registered_address?.region &&\n company.registered_address?.region.length == 2\n ? convertStateName(company.registered_address?.region)\n : \"\",\n billing_postal_code: company.registered_address?.postal_code,\n billing_country: company.registered_address?.country,\n };\n };\n\n const [newAccount, setNewAccount] = useState();\n\n const handleSelectCompany = (company = {}) => {\n const newAccountFromCompany = accountFromCompany(company);\n setNewAccount({ attributes: { ...newAccountFromCompany } });\n fields.name.onChange(newAccountFromCompany.name || \"\");\n // Comment out phone & email fields - Not accepted in lender inputs anymore\n // fields.email.onChange(newAccountFromCompany.email || \"\");\n // fields.phone.onChange(newAccountFromCompany.phone || \"\");\n fields.billing_street.onChange(newAccountFromCompany.billing_street || \"\");\n fields.billing_state.onChange(newAccountFromCompany.billing_state || \"\");\n fields.billing_city.onChange(newAccountFromCompany.billing_city || \"\");\n fields.billing_postal_code.onChange(\n newAccountFromCompany.billing_postal_code || \"\"\n );\n fields.billing_country.onChange(\n newAccountFromCompany.billing_country || \"\"\n );\n };\n\n const handleDeselectCompany = () => {\n setNewAccount();\n fields.name.onChange();\n fields.billing_street.onChange();\n fields.billing_state.onChange();\n fields.billing_city.onChange();\n fields.billing_postal_code.onChange();\n fields.billing_country.onChange();\n };\n\n const handleFormatLegalName = useCallback(() => {\n const formattedName = toTitleCase(fields.name.value);\n fields.name.onChange(formattedName);\n }, [fields.name]);\n\n const [showErrorBanner, setShowErrorBanner] = useState(false);\n const errorBanner = submitErrors.length > 0 && showErrorBanner && (\n \n {submitErrors.map((error, index) => {\n return

{error.message}

;\n })}\n
\n );\n\n return isLoading ? (\n \n ) : (\n <>\n {(!account.id || isAdminContext || isAdminUser) && (\n \n \n \n )}\n {!account.id && isClient && (\n \n \n \n )}\n \n
\n \n {errorBanner}\n \n \n )\n }\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {account && accountFormDirty && false && (\n \n Save\n \n )}\n \n
\n
\n \n );\n});\nAccountForm.displayName = \"AccountForm\";\n\nAccountForm.defaultProps = {\n isVendor: false,\n isLender: false,\n isClient: false,\n};\n\nAccountForm.propTypes = {\n accountId: PropTypes.number,\n account: PropTypes.object,\n isAdminContext: PropTypes.bool,\n isAdminUser: PropTypes.bool,\n onCreateOrUpdate: PropTypes.func,\n onEdit: PropTypes.func,\n resourceName: PropTypes.string,\n searchQuery: PropTypes.string,\n isClient: PropTypes.bool.isRequired,\n isVendor: PropTypes.bool.isRequired,\n isLender: PropTypes.bool.isRequired,\n};\n\nexport default AccountForm;\n","import React from \"react\";\nimport { Transition } from \"react-transition-group\";\nimport PropTypes from \"prop-types\";\nimport { Page } from \"@shopify/polaris\";\n\nconst FadeIn = ({ fadeIn = false, children, duration = 300 }) => {\n const defaultStyle = {\n opacity: 0,\n transition: `opacity ${duration}ms ease-in-out`,\n };\n\n const transitionStyles = {\n entering: { opacity: 1 },\n entered: { opacity: 1 },\n exiting: { opacity: 0 },\n exited: { opacity: 0 },\n };\n\n return (\n \n {(state) => {\n return (\n <>\n \n {children}\n \n\n {/* I have no clue why this needs to be here... \n fade in only seems to work if there is a secondary\n page action. 🤷‍♂️ */}\n
\n \n
\n \n );\n }}\n \n );\n};\nFadeIn.propTypes = {\n duration: PropTypes.number,\n fadeIn: PropTypes.bool,\n children: PropTypes.any,\n};\n\nexport default FadeIn;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n Avatar,\n Card,\n Filters,\n FooterHelp,\n Link,\n Page,\n ResourceList,\n ResourceItem,\n Text,\n Box,\n LegacyStack,\n Thumbnail,\n Layout,\n Pagination,\n Truncate,\n Modal,\n} from \"@shopify/polaris\";\nimport { StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { useGetClientsQuery } from \"../../services/api\";\n\nimport AccountForm from \"../../components/Account/Form\";\nimport FadeIn from \"../../components/FadeIn\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n// import { CurrentTeamContext } from \"../../contexts/Team\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\n\nconst AccountsIndex = (props) => {\n const resourceName = {\n singular: \"account\",\n plural: \"accounts\",\n };\n\n // const { currentTeamId } = useContext(CurrentTeamContext);\n const { currentContact, isOrganizationAdmin } = useContext(CurrentContactContext)\n\n const history = useHistory();\n\n // const { data: accounts = [], isLoading } = useGetTeamClientsQuery(\n // currentTeamId,\n // { skip: !currentTeamId }\n // );\n\n // const { data: accounts = [], isLoading } = useGetAccountsQuery();\n\n const { data: accounts = [], isLoading } = useGetClientsQuery();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const filterControl = (\n \n );\n\n useEffect(() => {\n if (queryValue && accounts.length) {\n const results = accounts.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n setFilteredItems(results);\n } else {\n if (!accounts.length) {\n setFilteredItems([]);\n } else {\n setFilteredItems(accounts);\n }\n }\n\n return () => setFilteredItems([]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [queryValue, accounts.length]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(10);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n if (filteredItems.length) {\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }\n\n return () => setPaginatedFilteredItems([]);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n if (paginatedFilteredItems.length) {\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n setCurrentPageItems(currentPageItems);\n }\n\n return () => setCurrentPageItems([]);\n }, [paginatedFilteredItems, currentPage]);\n\n const accountsResourceList = (\n renderItem(item, history)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n filterControl={filterControl}\n loading={isLoading}\n />\n );\n\n const paginationMarkup = (\n \n );\n\n const footerHelp = (\n \n Learn more about{\" \"}\n \n managing accounts\n \n \n );\n\n const navigateToNewOpportunityShow = (clientId, opportunityId) => {\n history.push({\n pathname: `/clients/${clientId}/opportunities/${opportunityId}`,\n state: {\n showToast: true,\n toastMessage: \"Client created.\",\n },\n });\n };\n\n const accountFormRef = useRef();\n const [showAddAccountModal, setShowAddAccountModal] = useState(false);\n const handleCloseModal = () => {\n setShowAddAccountModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n\n const handleCreateAccount = (account) => {\n handleCloseModal();\n\n if (account.meta?.redirect_to_opportunity_id && account.id) {\n navigateToNewOpportunityShow(\n account.id,\n account.meta?.redirect_to_opportunity_id\n );\n }\n };\n\n const addAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const accountIndexPageMarkup = (\n <>\n \n setShowAddAccountModal(true),\n },\n ]}\n >\n \n \n \n {accountsResourceList}\n {paginatedFilteredItems.length > 1 && (\n \n {paginationMarkup}\n \n )}\n \n \n {footerHelp}\n \n {addAccountModal}\n \n \n \n );\n\n return currentContact ? accountIndexPageMarkup : ;\n};\n\nconst renderItem = (item, history) => {\n const {\n id,\n attributes: { name, billing_city, billing_state },\n } = item;\n const media = (\n \n );\n const thumbnail = (\n \n );\n\n const handleAccountClick = () => {\n navigateToAccountShow();\n };\n\n const navigateToAccountShow = () => {\n history.push({\n pathname: `/clients/${id}`,\n state: { client: { ...item } },\n });\n };\n\n const billingCityState =\n billing_city && billing_state\n ? `${billing_city}, ${billing_state}`\n : billing_city\n ? billing_city\n : billing_state\n ? billing_state\n : null;\n\n return (\n \n \n \n \n {name}\n \n \n {billingCityState || \"-\"}\n \n \n \n \n );\n};\n\nexport default AccountsIndex;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Badge,\n Filters,\n ResourceList,\n ResourceItem,\n Text,\n LegacyStack,\n Pagination,\n EmptyState,\n Icon,\n Truncate,\n ChoiceList,\n Box,\n SkeletonBodyText,\n SkeletonThumbnail,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetClientOpportunitiesQuery,\n} from \"../../services/api\";\n\nimport { formatCurrency } from \"../../utilities\";\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nimport { isDesktop } from \"react-device-detect\";\n\nconst ClientOpportunityList = (props) => {\n const resourceName = {\n singular: \"opportunity\",\n plural: \"opportunites\",\n };\n\n const {\n stageFilters,\n format,\n onCreateOpportunity,\n onOpportunityClick,\n clientId,\n pageLimit = 5,\n } = props;\n\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [opportunityStage, setOpportunityStage] = useState([...stageFilters]);\n const handleOpportunityStageChange = useCallback((value) => {\n setOpportunityStage(value);\n }, []);\n\n const [limit, setLimit] = useState(pageLimit);\n const [page, setPage] = useState(1);\n const [isLoading, setIsLoading] = useState(true);\n const [appliedFilters, setAppliedFilters] = useState([]);\n const [disambiguatedFilters, setDisambiguatedFilters] = useState(null);\n\n const {\n data: opportunityData = {},\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n } = useGetClientOpportunitiesQuery({\n clientId: clientId,\n page: page,\n limit: limit,\n filters: disambiguatedFilters,\n sort: sortValue,\n search: searchValue,\n });\n\n const [opportunities, setOpportunities] = useState([]);\n\n useEffect(() => {\n let count = opportunityData.count;\n if (count) {\n let emptyOpportunity = {\n attributes: {\n name: \"\",\n stage_name: \"\",\n total_finance_amount: \"\",\n financing_option_count: \"\",\n financing_type: \"\",\n has_financing_option: \"\",\n has_unapproved_financing_options: \"\",\n },\n };\n\n let list = [];\n\n for (let i = 0; i < count; i++) {\n list.push(emptyOpportunity);\n }\n\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n if (list[lowerLimit]?.attributes?.name === \"\") {\n let i = 0;\n for (let j = lowerLimit; j < upperLimit; j++) {\n list[j] = opportunityData.opportunities.data[i];\n i = i + 1;\n }\n }\n\n setOpportunities(list);\n } else {\n setOpportunities([]);\n }\n setIsLoading(false);\n }, [limit, opportunityData, page]);\n\n useEffect(() => {\n if (queryValue && queryValue.length > 0) {\n setAppliedFilters([]);\n setDisambiguatedFilters(null);\n handleOpportunityStageRemove();\n }\n }, [handleOpportunityStageRemove, queryValue]);\n\n const filters = [\n {\n key: \"opportunityStage\",\n label: \"Stage\",\n filter: (\n \n ),\n shortcut: true,\n },\n ];\n\n const handleOpportunityStageRemove = useCallback(\n (value) => {\n let opportunityStageList = [...opportunityStage];\n let index = 0;\n for (let i = 0; i < opportunityStage.length; i++) {\n if (value === opportunityStage[i]) index = i;\n }\n opportunityStageList.splice(index, 1);\n setOpportunityStage(opportunityStageList);\n },\n [opportunityStage]\n );\n\n const handleFiltersClearAll = useCallback(() => {\n handleOpportunityStageRemove();\n handleQueryValueRemove();\n }, [handleOpportunityStageRemove, handleQueryValueRemove]);\n\n const filterControl =\n opportunities.length || disambiguatedFilters || queryValue ? (\n \n ) : undefined;\n\n useEffect(() => {\n if (!isEmpty(opportunityStage)) {\n let disambiguatedFilterList = disambiguateLabel(\n \"opportunityStage\",\n opportunityStage\n );\n let filterList = [];\n const key = \"opportunityStage\";\n for (let i = 0; i < opportunityStage.length; i++) {\n filterList.push({\n key: opportunityStage[i],\n label: opportunityStage[i],\n onRemove: handleOpportunityStageRemove,\n });\n }\n setAppliedFilters(filterList);\n setDisambiguatedFilters(disambiguatedFilterList);\n } else {\n setAppliedFilters([]);\n setDisambiguatedFilters(null);\n }\n }, [handleOpportunityStageRemove, opportunityStage]);\n\n useEffect(() => {\n let filteredItems = [...opportunities];\n\n setFilteredItems(filteredItems);\n\n return () => setFilteredItems([]);\n }, [queryValue, opportunities, opportunityStage, sortValue]);\n\n const handleNextPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == Math.ceil(opportunityData.count / limit)) {\n return Math.ceil(opportunityData.count / limit);\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = limit;\n\n if (filteredItems.length) {\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n if (item) resultArray[pageIndex].push(item);\n\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }\n\n return () => setPaginatedFilteredItems([]);\n }, [filteredItems, limit]);\n\n useEffect(() => {\n if (paginatedFilteredItems.length) {\n const currentPageItems = paginatedFilteredItems[page - 1] || [];\n setCurrentPageItems(currentPageItems);\n }\n\n return () => setCurrentPageItems([]);\n }, [paginatedFilteredItems, page]);\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup =\n !opportunities.length &&\n !isLoading &&\n !disambiguatedFilters &&\n !queryValue ? (\n \n

\n Create a new opportunity for this account to track financing options\n and documents.\n

\n \n ) : undefined;\n\n const opportunitiesResourceList = (\n \n renderItem(item, onOpportunityClick, format, isLoading)\n }\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filterControl}\n sortValue={sortValue}\n sortOptions={[{ label: \"Most recent\", value: \"UPDATED_AT_DESC\" }]}\n onSortChange={(selected) => {\n setSortValue(selected);\n }}\n loading={isLoading || queryIsLoading || queryIsFetching}\n />\n );\n\n return (\n <>\n {opportunitiesResourceList}\n {paginatedFilteredItems.length > 1 && (\n \n {paginationMarkup}\n \n )}\n \n );\n};\n\nconst disambiguateLabel = (key, value) => {\n switch (key) {\n case \"opportunityStage\":\n return value.map((val) => `${val}`).join(\",\");\n default:\n return value;\n }\n};\n\nconst isEmpty = (value) => {\n if (Array.isArray(value)) {\n return value.length === 0;\n } else {\n return value === \"\" || value == null;\n }\n};\n\nconst renderItem = (item, onOpportunityClick, format, isLoading) => {\n if (isLoading) {\n return skeletonFormat();\n }\n\n return itemFormat(item, onOpportunityClick);\n};\n\nconst itemFormat = (item, onOpportunityClick) => {\n const {\n id,\n attributes: {\n name,\n human_stage_name,\n total_finance_amount,\n product_description,\n originator_name,\n },\n } = item;\n\n const formattedTotalFinanceAmount = formatCurrency(total_finance_amount);\n\n return (\n onOpportunityClick(item)}\n verticalAlignment=\"center\"\n media={}\n >\n \n \n
\n

\n \n {name}\n \n

\n \n \n \n {originator_name || \"-\"} ∙ {product_description}\n \n \n \n
\n
\n\n {isDesktop && (\n \n \n {human_stage_name || \"Lead\"}\n \n \n )}\n\n \n
\n

{formattedTotalFinanceAmount}

\n
\n
\n
\n \n );\n};\n\nconst skeletonFormat = () => {\n return (\n }\n accessibilityLabel={`View details for ...`}\n verticalAlignment=\"center\"\n >\n \n \n
\n \n
\n
\n\n \n \n \n\n \n \n \n\n \n \n \n
\n \n );\n};\n\nClientOpportunityList.propTypes = {\n format: PropTypes.string,\n stageFilters: PropTypes.array,\n onCreateOpportunity: PropTypes.func,\n onOpportunityClick: PropTypes.func,\n clientId: PropTypes.string,\n pageLimit: PropTypes.number,\n};\n\nexport default ClientOpportunityList;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Box } from \"@shopify/polaris\";\n\ntype Props = {\n children: string | JSX.Element | JSX.Element[];\n}\n\nconst CardBoxTitle = ({ children } : Props) => {\n\n return (\n \n {children}\n \n );\n\n};\n\nCardBoxTitle.propTypes = {\n children: PropTypes.node.isRequired,\n background: PropTypes.string\n};\n\nexport default CardBoxTitle;\n\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Box,\n InlineStack,\n FooterHelp,\n Link,\n Page,\n Button,\n Text,\n LegacyStack,\n Layout,\n Labelled,\n Modal,\n Toast,\n} from \"@shopify/polaris\";\n\nimport {\n useGetClientAccountQuery,\n useCreateOpportunityMutation,\n} from \"../../services/api\";\n\nimport AccountForm from \"../../components/Account/Form\";\nimport FadeIn from \"../../components/FadeIn\";\nimport ClientOpportunityList from \"../../components/Client/OpportunityList\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\n\nimport CardBoxTitle from \"../../components/Card/BoxTitle\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nconst AccountsShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const { id: accountId } = useParams();\n\n useEffect(() => {\n if (!accountId) {\n navigateToAccountsIndex();\n }\n }, [navigateToAccountsIndex, accountId]);\n\n const {\n data: clientAccount = { attributes: {} },\n isLoading: isLoadingClient,\n } = useGetClientAccountQuery(accountId);\n\n const [createOpportunity, { isLoading: isCreatingOpportunity }] =\n useCreateOpportunityMutation();\n\n const navigateToAccountsIndex = useCallback(() => {\n history.push(\"/accounts\");\n }, [history]);\n\n const navigateToNewOpportunityShow = (opportunity) => {\n history.push({\n pathname: `/clients/${accountId}/opportunities/${opportunity.id}`,\n state: {\n opportunity: { ...opportunity },\n showToast: true,\n toastMessage: \"Opportunity created.\",\n },\n });\n };\n\n const [showEditAccountDetailsModal, setShowAccountDetailsModal] =\n useState(false);\n const handleEditAccountDetails = () => {\n setShowAccountDetailsModal(true);\n };\n const handleCloseModal = () => {\n setShowAccountDetailsModal(false);\n // setShowContactFormModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n const handleAccountUpdate = (data) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account updated.\");\n };\n\n // const [showContactFormModal, setShowContactFormModal] = useState(false);\n // const handleCreateContact = () => {\n // setShowContactFormModal(true);\n // setSelectedContact();\n // };\n\n const buildOpportunity = () => {\n return {\n client_id: accountId,\n };\n };\n\n const handleCreateOpportunity = () => {\n const opportunity = buildOpportunity();\n\n createOpportunity({ accountId, opportunity: opportunity })\n .then(({ data: opportunity }) => {\n navigateToNewOpportunityShow(opportunity);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const accountFormRef = useRef();\n\n const editAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const footerHelp = (\n \n Learn more about{\" \"}\n \n managing clients\n \n \n );\n\n const handleOpportunityClick = (opportunity) => {\n history.push({\n pathname: `/clients/${accountId}/opportunities/${opportunity.id}`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const opportunitiesResourceList = (\n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n };\n\n const pageMarkup = (\n \n \n \n {/* Account details */}\n \n \n \n \n \n Account information\n \n \n \n \n \n \n \n
\n \n \n

{clientAccount.attributes.name}

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

{clientAccount.attributes.dba || \"-\"}

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

{clientAccount.attributes.billing_street || \"-\"}

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

{clientAccount.attributes.billing_city || \"-\"}

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

{clientAccount.attributes.billing_state || \"-\"}

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

\n {clientAccount.attributes.billing_postal_code ||\n \"-\"}\n

\n
\n
\n
\n
\n \n
\n
\n
\n\n \n \n \n \n Opportunities\n \n Create opportunity\n \n \n \n {opportunitiesResourceList}\n \n \n {footerHelp}\n
\n\n {editAccountModal}\n {toastMarkup}\n \n
\n );\n\n return currentContact ? pageMarkup : \n};\n\nexport default AccountsShow;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Page,\n Banner,\n Card,\n Text,\n Box,\n InlineGrid,\n TextField,\n BlockStack,\n FooterHelp,\n Link,\n PageActions,\n} from \"@shopify/polaris\";\n\nimport { CurrentContactContext } from \"../contexts/Contact\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\nimport { useUpdateContactMutation } from \"../services/api\";\n\nconst Profile = () => {\n const history = useHistory();\n\n const { currentContact } = useContext(CurrentContactContext);\n const { user } = useAuth0();\n\n const [updateContact, { isLoading: updatingContact }] =\n useUpdateContactMutation();\n\n const [contactId, setContactId] = useState(\"\");\n const [showDetailsBanner, setShowDetailsBanner] = useState(true);\n\n const navigateToHomePage = () => {\n history.push({\n pathname: \"/\",\n });\n };\n\n useEffect(() => {\n if (currentContact) {\n setContactId(currentContact.id);\n }\n }, [currentContact]);\n\n const { fields, submit, submitErrors } = useForm({\n fields: {\n first_name: useField({\n value: currentContact.attributes.first_name || user.given_name || \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: currentContact.attributes.last_name || user.family_name || \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n },\n async onSubmit(form) {\n return updateContact({\n id: contactId,\n ...form,\n })\n .unwrap()\n .then(() => {\n navigateToHomePage();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n return { status: \"fail\", errors: [error] };\n });\n },\n });\n\n return (\n \n \n
\n {!currentContact.attributes.has_complete_profile &&\n showDetailsBanner && (\n setShowDetailsBanner(false)}\n >\n We ask everyone for a few details to help us verify your\n identity.\n \n )}\n\n {submitErrors.length > 0 && (\n \n

There was an error updating your profile.

\n
\n )}\n
\n\n \n \n \n \n Legal name\n \n \n Please use your legal first and last name. This information may\n be used in documentation.\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n Learn more about how we{\" \"}\n \n use personal information\n \n \n
\n \n );\n};\n\nexport default Profile;\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Avatar,\n Icon,\n Card,\n Filters,\n Page,\n ResourceList,\n ResourceItem,\n Text,\n BlockStack,\n InlineStack,\n Thumbnail,\n Layout,\n Pagination,\n Truncate,\n Modal,\n Tooltip,\n Button,\n} from \"@shopify/polaris\";\nimport { AlertCircleIcon, AlertTriangleIcon, StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { useGetAdminAccountsQuery } from \"../../../services/api\";\nimport AccountForm from \"../../../components/Account/Form\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst AdminClientIndex = () => {\n const resourceName = {\n singular: \"client\",\n plural: \"clients\",\n };\n\n const history = useHistory();\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const { data: accounts = [], isLoading } = useGetAdminAccountsQuery();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [selectedTab, setSelectedTab] = useState(0);\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelectedTab(selectedTabIndex),\n []\n );\n\n const filterControl = (\n \n );\n\n useEffect(() => {\n let filtered = [];\n\n if (queryValue && accounts.length) {\n const results = accounts.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n filtered = results;\n } else {\n if (!accounts.length) {\n filtered = [];\n } else {\n filtered = accounts;\n }\n }\n\n const clients = filtered.filter((account) => {\n return account.attributes.type === \"Client\";\n });\n setFilteredItems(clients);\n\n return () => setFilteredItems([]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [queryValue, accounts.length, selectedTab]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(10);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const accountsResourceList = (\n renderItem(item, history)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n filterControl={filterControl}\n loading={isLoading}\n flushFilters\n />\n );\n\n const paginationMarkup = (\n \n );\n\n const accountFormRef = useRef();\n const [showAddAccountModal, setShowAddAccountModal] = useState(false);\n const handleCloseModal = () => {\n setShowAddAccountModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n\n const handleCreateAccount = (clientAccount) => {\n handleCloseModal();\n };\n\n const addAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const accountIndexPageMarkup = (\n \n {setShowAddAccountModal(true)} }}\n >\n \n \n \n
{accountsResourceList}
\n {paginatedFilteredItems.length > 1 && (\n
\n {paginationMarkup}\n
\n )}\n
\n
\n
\n {addAccountModal}\n
\n
\n );\n\n return currentContact ? accountIndexPageMarkup : ;\n};\n\nconst renderItem = (item, history) => {\n const {\n id,\n attributes: {\n name,\n billing_address,\n billing_city,\n billing_state,\n reviewed,\n type,\n has_unapproved_opportunities,\n },\n } = item;\n const media = (\n \n );\n const thumbnail = (\n \n );\n\n const handleClientClick = () => {\n navigateToAdminClientShow();\n };\n\n const navigateToAdminClientShow = () => {\n history.push({\n pathname: `/admin/clients/${id}`,\n state: { client: { ...item } },\n });\n };\n\n const billingCityState =\n billing_city && billing_state\n ? `${billing_city}, ${billing_state}`\n : billing_city\n ? billing_city\n : billing_state\n ? billing_state\n : null;\n\n return (\n \n \n
\n \n {name}\n \n \n \n {type} ∙ {billingCityState || \"-\"}\n \n \n
\n\n
\n \n {has_unapproved_opportunities && (\n
\n \n \n \n
\n )}\n\n {!reviewed && (\n
\n \n \n \n
\n )}\n
\n
\n
\n \n );\n};\n\nexport default AdminClientIndex;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n IndexTable,\n useIndexResourceState,\n Text,\n Link,\n Badge,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\nimport {\n formatCurrency,\n capitalizeFirstLetter,\n formatNumericDate,\n convertServerDate,\n} from \"../../../utilities\";\nimport { useGetAdminCreditSubmissionsQuery } from \"../../../services/api\";\n\nconst CreditSubmissionTable = (props) => {\n const {\n setCount,\n page,\n limit,\n isLoading,\n setIsLoading,\n setIds,\n queryValue,\n clientIdFilter,\n clientShowPage = false,\n lender,\n } = props;\n\n const history = useHistory();\n // const [opportunities, setOpportunities] = useState([]);\n const [creditSubmissions, setCreditSubmissions] = useState([]);\n const resourceName = {\n singular: \"credit submission\",\n plural: \"credit submissions\",\n };\n\n const {\n data: creditSubmissionData = { count: 0 },\n isLoading: queryIsLoading,\n } = useGetAdminCreditSubmissionsQuery({\n page,\n limit,\n clientIdFilter,\n clientShowPage,\n lender,\n search: queryValue,\n });\n\n useEffect(() => {\n if (creditSubmissionData.count > 0) {\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n let list = [];\n\n let ocount = 0;\n for (let lcount = lowerLimit; lcount < upperLimit; lcount++) {\n if (creditSubmissionData.credit_submissions.data[ocount]) {\n list[lcount] = creditSubmissionData.credit_submissions.data[ocount];\n }\n ocount += 1;\n }\n\n setCreditSubmissions(list);\n setIds(creditSubmissionData.ids.join(\",\"));\n setCount(creditSubmissionData.count);\n setIsLoading(false);\n } else {\n setIsLoading(false);\n setCreditSubmissions([]);\n setIds(\"\");\n setCount(0);\n }\n }, [creditSubmissionData]);\n\n const { selectedResources, allResourcesSelected, handleSelectionChange } =\n useIndexResourceState(creditSubmissions);\n\n const handleCreditSubmissionClick = (creditSubmission) => {\n const clientId = creditSubmission.attributes.client_id;\n const opportunityId = creditSubmission.attributes.opportunity_id;\n\n history.push({\n pathname: `/clients/${clientId}/opportunities/${opportunityId}`,\n });\n };\n\n const rowMarkup = creditSubmissions.map((item, index) => {\n const decisionBadgeStatus = () => {\n let status;\n switch (item.attributes.decision) {\n case \"Approved\":\n status = \"success\";\n break;\n case \"Needs more info\":\n status = \"warning\";\n break;\n case \"Declined\":\n status = \"critical\";\n break;\n default:\n status = \"default\";\n break;\n }\n return status;\n };\n return (\n \n \n \n handleCreditSubmissionClick(item)}\n >\n {item.attributes.opportunity_name}\n \n \n \n {item.attributes.client_name}\n {item.attributes.lender_name}\n \n {item.attributes.submitted_at\n ? formatNumericDate(convertServerDate(item.attributes.submitted_at))\n : \"--\"}\n \n \n
\n \n {capitalizeFirstLetter(item.attributes.decision)}\n \n {item.attributes.selected_at && (\n \n Selected\n \n )}\n
\n
\n \n {formatCurrency(item.attributes.amount_requested)}\n \n \n {formatCurrency(item.attributes.approved_amount)}\n \n \n {item.attributes.approved_at\n ? formatNumericDate(convertServerDate(item.attributes.approved_at))\n : \"--\"}\n \n \n );\n });\n\n return (\n \n {rowMarkup}\n \n );\n};\n\nCreditSubmissionTable.propTypes = {\n count: PropTypes.number,\n setCount: PropTypes.func,\n page: PropTypes.number,\n limit: PropTypes.number,\n isLoading: PropTypes.bool,\n setIsLoading: PropTypes.func,\n setIds: PropTypes.func,\n queryValue: PropTypes.string,\n clientIdFilter: PropTypes.string,\n clientShowPage: PropTypes.bool,\n lender: PropTypes.string,\n};\n\nexport default CreditSubmissionTable;\n","import React from \"react\";\n\nimport {\n BlockStack,\n Card,\n Grid,\n InlineGrid,\n SkeletonDisplayText,\n Text,\n} from \"@shopify/polaris\";\n\nimport { formatCurrency } from \"../../../../utilities\";\n\nimport { useGetClientStatsQuery } from \"../../../../services/api\";\n\n// utility object to help guide presentation\nconst summaryStatCardItems = [\n {\n id: 1,\n title: \"Total Opportunities\",\n subtitle: \"Processed since inception\",\n left: {\n title: \"Number of Opportunities\",\n resultsKey: \"countOpportunities\",\n },\n right: {\n title: \"Sum of Opportunities\",\n resultsKey: \"sumOpportunities\",\n format: \"currency\",\n },\n },\n {\n id: 2,\n title: \"Funded Opportunities\",\n subtitle: \"Funded since inception\",\n left: {\n title: \"Count\",\n resultsKey: \"countOpportunitiesFunded\",\n },\n right: {\n title: \"Total Amount\",\n resultsKey: \"sumOpportunitiesFunded\",\n format: \"currency\",\n },\n },\n {\n id: 3,\n title: \"Highlights\",\n subtitle: \"Active opportunities\",\n left: {\n title: \"Number of Open Deals\",\n resultsKey: \"countOpportunitiesOpen\",\n },\n right: {\n title: \"Average Transaction Size\",\n resultsKey: \"averageOpportunityAmount\",\n format: \"currency\",\n },\n },\n];\n\nexport function AccountStatistics({ client }) {\n // load the aggregate data from server\n\n const { data, isLoading, isFetching, isError } = useGetClientStatsQuery({\n account_id: client.id,\n });\n\n return (\n \n {summaryStatCardItems.map((item) => {\n return (\n \n \n \n {item.title}\n \n \n \n {item.subtitle}\n \n \n \n \n {item.left.title}\n \n \n {item.right.title}\n \n \n\n \n {isLoading || isFetching || isError ? (\n <>\n \n \n \n ) : (\n <>\n \n {item.left.format && item.left.format === \"currency\"\n ? formatCurrency(data[item.left.resultsKey])\n : data[item.left.resultsKey]}\n \n \n {item.right.format && item.right.format === \"currency\"\n ? formatCurrency(data[item.right.resultsKey])\n : data[item.right.resultsKey]}\n \n \n )}\n \n \n \n );\n })}\n \n );\n}\n","import React from \"react\";\n\nimport {\n BlockStack,\n Box,\n Button,\n Card,\n Divider,\n InlineGrid,\n InlineStack,\n Text,\n} from \"@shopify/polaris\";\n\nexport function AccountInformation({ client, handleEditAccountDetails }) {\n return (\n <>\n \n \n \n \n Account information\n \n \n \n \n \n \n \n Legal name\n {client.attributes.name}\n \n \n DBA\n {client.attributes.dba || \"-\"}\n \n \n Email\n {client.attributes.email || \"-\"}\n \n \n Phone number\n {client.attributes.phone || \"-\"}\n \n \n \n\n {/* PROD-34 */}\n \n \n \n EIN\n {client.attributes.ein || \"-\"}\n \n \n Corporation Type\n \n {client.attributes.opencorporates_company_type || \"-\"}\n \n \n \n Date Established\n \n {client.attributes.opencorporates_incorporation_date || \"-\"}\n \n \n \n Industry\n {\"-\"}\n \n \n \n\n \n \n \n Employee Count\n {\"-\"}\n \n \n Revenues\n {\"-\"}\n \n \n URL\n {\"-\"}\n \n \n DUNS\n {\"-\"}\n \n \n \n\n \n\n \n \n Street address\n {client.attributes.billing_street || \"-\"}\n \n \n City\n {client.attributes.billing_city || \"-\"}\n \n \n State\n {client.attributes.billing_state || \"-\"}\n \n \n Zip code\n \n {client.attributes.billing_postal_code || \"-\"}\n \n \n \n \n \n \n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Badge,\n ResourceList,\n ResourceItem,\n Text,\n BlockStack,\n InlineStack,\n Pagination,\n EmptyState,\n Icon,\n Truncate,\n SkeletonBodyText,\n SkeletonThumbnail,\n} from \"@shopify/polaris\";\n\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nimport { useGetAdminClientOpportunitiesQuery } from \"../../../services/api\";\n\nimport { formatCurrency } from \"../../../utilities\";\nimport emptySearchCompanies from \"../../../assets/emptySearchCompanies.svg\";\n\nimport { isDesktop } from \"react-device-detect\";\n\nconst AdminClientOpportunityList = (props) => {\n const resourceName = {\n singular: \"opportunity\",\n plural: \"opportunites\",\n };\n\n const {\n format,\n onCreateOpportunity,\n onOpportunityClick,\n clientId,\n pageLimit = 5,\n } = props;\n\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const [limit, setLimit] = useState(pageLimit);\n const [page, setPage] = useState(1);\n const [isLoading, setIsLoading] = useState(true);\n\n const {\n data: opportunityData = {},\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n } = useGetAdminClientOpportunitiesQuery({\n clientId: clientId,\n page: page,\n limit: limit,\n sort: sortValue,\n // search: searchValue,\n });\n\n const [opportunities, setOpportunities] = useState([]);\n\n useEffect(() => {\n let count = opportunityData.count;\n if (count) {\n let emptyOpportunity = {\n attributes: {\n name: \"\",\n stage_name: \"\",\n total_finance_amount: \"\",\n financing_option_count: \"\",\n financing_type: \"\",\n has_financing_option: \"\",\n has_unapproved_financing_options: \"\",\n },\n };\n\n let list = [];\n\n for (let i = 0; i < count; i++) {\n list.push(emptyOpportunity);\n }\n\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n if (list[lowerLimit]?.attributes?.name === \"\") {\n let i = 0;\n for (let j = lowerLimit; j < upperLimit; j++) {\n list[j] = opportunityData.opportunities.data[i];\n i = i + 1;\n }\n }\n\n setOpportunities(list);\n } else {\n setOpportunities([]);\n }\n setIsLoading(false);\n }, [limit, opportunityData, page]);\n\n useEffect(() => {\n let filteredItems = [...opportunities];\n\n setFilteredItems(filteredItems);\n\n return () => setFilteredItems([]);\n }, [opportunities]);\n\n const handleNextPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == Math.ceil(opportunityData.count / limit)) {\n return Math.ceil(opportunityData.count / limit);\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = limit;\n\n if (filteredItems.length) {\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n if (item) resultArray[pageIndex].push(item);\n\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }\n\n return () => setPaginatedFilteredItems([]);\n }, [filteredItems, limit]);\n\n useEffect(() => {\n if (paginatedFilteredItems.length) {\n const currentPageItems = paginatedFilteredItems[page - 1] || [];\n setCurrentPageItems(currentPageItems);\n }\n\n return () => setCurrentPageItems([]);\n }, [paginatedFilteredItems, page]);\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup =\n !opportunities.length && !isLoading ? (\n \n

\n Create a new opportunity for this account to track financing options\n and documents.\n

\n \n ) : undefined;\n\n const opportunitiesResourceList = (\n \n renderItem(item, onOpportunityClick, format, isLoading)\n }\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n sortValue={sortValue}\n sortOptions={[{ label: \"Most recent\", value: \"UPDATED_AT_DESC\" }]}\n onSortChange={(selected) => {\n setSortValue(selected);\n }}\n loading={isLoading || queryIsLoading || queryIsFetching}\n flushFilters\n />\n );\n\n return (\n <>\n {opportunitiesResourceList}\n {paginatedFilteredItems.length > 1 && (\n {paginationMarkup}\n )}\n \n );\n};\n\nconst renderItem = (item, onOpportunityClick, format, isLoading) => {\n if (isLoading) {\n return skeletonFormat();\n }\n\n return itemFormat(item, onOpportunityClick);\n};\n\nconst itemFormat = (item, onOpportunityClick) => {\n const {\n id,\n attributes: {\n name,\n human_stage_name,\n total_finance_amount,\n product_description,\n originator_name,\n },\n } = item;\n\n const formattedTotalFinanceAmount = formatCurrency(total_finance_amount);\n\n return (\n onOpportunityClick(item)}\n verticalAlignment=\"center\"\n media={}\n >\n \n
\n

\n \n {name}\n \n

\n \n
\n \n {originator_name || \"-\"} ∙ {product_description}\n \n
\n
\n
\n\n \n {isDesktop && (\n \n {human_stage_name || \"Lead\"}\n \n )}\n\n
\n

{formattedTotalFinanceAmount}

\n
\n
\n
\n \n );\n};\n\nconst skeletonFormat = () => {\n return (\n }\n accessibilityLabel={`View details for ...`}\n verticalAlignment=\"center\"\n >\n \n
\n \n
\n \n \n \n
\n \n );\n};\n\nAdminClientOpportunityList.propTypes = {\n format: PropTypes.string,\n stageFilters: PropTypes.array,\n onCreateOpportunity: PropTypes.func,\n onOpportunityClick: PropTypes.func,\n clientId: PropTypes.string,\n pageLimit: PropTypes.number,\n};\n\nexport default AdminClientOpportunityList;\n","import React, { useCallback } from \"react\";\n\nimport { useHistory } from \"react-router-dom\";\n\nimport { Box, Button, Card, InlineStack, Text } from \"@shopify/polaris\";\n\nimport AdminClientOpportunityList from \"../../../../components/Admin/Client/OpportunityList\";\n\nexport function AccountOpportunities({ client }) {\n const history = useHistory();\n\n const handleCreateOpportunity = () => {\n history.push({\n pathname: \"/opportunity/new\",\n state: { clientId: client.id },\n });\n };\n\n const handleOpportunityClick = (opportunity) => {\n navigateToOpportunityShow(client.id, opportunity.id);\n };\n\n const navigateToOpportunityShow = useCallback(\n (clientId, opportunityId) => {\n history.push(`/clients/${clientId}/opportunities/${opportunityId}`);\n },\n [history]\n );\n\n const opportunitiesResourceList = (\n \n );\n\n return (\n <>\n {client && client.attributes.type != \"Lender\" && (\n \n \n \n \n Opportunities\n \n \n \n \n {opportunitiesResourceList}\n \n )}\n \n );\n}\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\n\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Box,\n Text,\n InlineStack,\n BlockStack,\n InlineGrid,\n Divider,\n Button,\n Page,\n Layout,\n Modal,\n Toast,\n Banner,\n IndexFilters,\n ChoiceList,\n Pagination,\n Badge,\n useSetIndexFiltersMode,\n} from \"@shopify/polaris\";\n\nimport {\n useGetAdminAccountQuery,\n useGetLendersQuery,\n useCreateAdminAccountReviewMutation,\n} from \"../../../services/api\";\n\nimport AccountForm from \"../../../components/Account/Form\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport AdminClientContactList from \"../../../components/Admin/Client/ContactList\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport CreditSubmissionTable from \"../../../components/Admin/CreditSubmission/CreditSubmissionTable\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nimport { isMobile } from \"react-device-detect\";\n\nimport { AccountStatistics } from \"./components/account-statistics\";\nimport { AccountInformation } from \"./components/account-information\";\nimport { AccountOpportunities } from \"./components/account-opportunities\";\n\nconst AdminClientShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const [Ids, setIds] = useState(\"\");\n const [page, setPage] = useState(1);\n const [count, setCount] = useState(0);\n const [isLoading, setIsLoading] = useState(true);\n const [selectedLender, setSelectedLender] = useState([]);\n const [lenderChoiceList, setLenderChoiceList] = useState([]);\n const [queryValue, setQueryValue] = useState(\"\");\n const [sortSelected, setSortSelected] = useState([\"created_date asc\"]);\n const [selected, setSelected] = useState(0);\n const limit = 25;\n\n const { mode, setMode } = useSetIndexFiltersMode();\n\n const { id: clientId } = useParams();\n const { currentContact, isOrganizationAdmin, isFinanceSpecialist } =\n useContext(CurrentContactContext);\n\n useEffect(() => {\n if (!clientId) {\n navigateToAdminAccountsIndex();\n }\n }, [clientId, navigateToAdminAccountsIndex]);\n\n const { client: clientObject } = location?.state?.client\n ? location.state\n : {\n client: { attributes: {} },\n };\n\n const { data: client = clientObject } = useGetAdminAccountQuery(clientId);\n const [createAccountReview, { isLoading: isCreatingAccountReview }] =\n useCreateAdminAccountReviewMutation();\n\n const { data: lenders = [] } = useGetLendersQuery();\n\n const onCreateNewView = async (value) => {\n await sleep(500);\n setItemStrings([...itemStrings, value]);\n setSelected(itemStrings.length);\n return true;\n };\n\n const navigateToAdminAccountsIndex = useCallback(() => {\n history.push(\"/admin\");\n }, [history]);\n\n useEffect(() => {\n if (lenders.length > 0) {\n setLenderChoiceList(\n lenders.map((lender) => ({\n label: lender.attributes.name,\n value: lender.id,\n }))\n );\n }\n }, [lenders]);\n\n const handleFiltersQueryChange = useCallback((value) => {\n setQueryValue(value);\n setPage(1);\n }, []);\n\n const handleOnSelect = (viewIndex) => {\n setSelected(viewIndex);\n setQueryValue(\"\");\n setPage(1);\n };\n\n const handleChangePage = (mode) => {\n setIsLoading(true);\n setPage((state) => {\n if (mode == \"next\" && state == Math.ceil(count / limit)) {\n return Math.ceil(count / limit);\n } else if (mode == \"previous\" && state == 1) {\n return 1;\n }\n\n if (mode == \"next\") {\n return state + 1;\n } else if (mode == \"previous\") {\n return state - 1;\n }\n });\n };\n\n const handleSelectLender = (lender) => {\n setSelectedLender(lender);\n };\n\n const filters = [\n {\n key: \"lender\",\n label: \"Lender\",\n filter: (\n \n ),\n shortcut: true,\n },\n ];\n\n const tablePagination = (\n {\n handleChangePage(\"previous\");\n }}\n onNext={() => {\n handleChangePage(\"next\");\n }}\n label={\n \n Page {page} of {Math.ceil(count / limit)}\n \n }\n />\n );\n\n const [showEditAccountDetailsModal, setShowAccountDetailsModal] =\n useState(false);\n\n const handleEditAccountDetails = () => {\n setShowAccountDetailsModal(true);\n };\n\n const handleCloseModal = () => {\n setShowAccountDetailsModal(false);\n setShowReviewAccountModal(false);\n };\n\n const [clientFormDirty, setAccountFormDirty] = useState(false);\n\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n const handleAccountUpdate = (data) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account updated.\");\n };\n\n const clientFormRef = useRef();\n\n const editAccountModal = (\n clientFormRef.current.handleSubmitForm(),\n disabled: !clientFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const [showReviewAccountModal, setShowReviewAccountModal] = useState(false);\n\n const handleReviewAccount = () => {\n return createAccountReview({\n accountId: clientId,\n })\n .unwrap()\n .then(({ data }) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account reviewed.\");\n return { status: \"success\" };\n })\n .catch((error) => {\n alert(\"Failed to add review.\");\n console.log(error);\n });\n };\n\n const reviewAccountModal = (\n \n Please check the legal business name and all other client details before\n adding your review.\n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const pageMarkup = (\n \n setShowReviewAccountModal(true),\n },\n ]}\n fullWidth\n >\n \n {!client.attributes.reviewed && (\n \n setShowReviewAccountModal(true),\n }}\n tone=\"warning\"\n >\n \n )}\n\n \n \n \n\n \n \n
\n \n
\n \n \n \n \n Credit submissions\n \n \n \n setQueryValue(\"\")}\n cancelAction={{\n onAction: () => {},\n disabled: false,\n loading: false,\n }}\n tabs={[]}\n selected={selected}\n onSelect={handleOnSelect}\n canCreateNewView={true}\n onCreateNewView={onCreateNewView}\n filters={filters}\n appliedFilters={[]}\n onClearAll={() => {}}\n mode={mode}\n setMode={setMode}\n filteringAccessibilityTooltip=\"Search (F)\"\n />\n \n \n
\n {count > 0 ? tablePagination : <>}\n
\n
\n
\n
\n
\n\n {editAccountModal}\n {reviewAccountModal}\n {toastMarkup}\n \n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default AdminClientShow;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport {\n IndexTable,\n IndexFilters,\n useSetIndexFiltersMode,\n useIndexResourceState,\n Text,\n Pagination,\n LegacyStack,\n Link,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\nimport { useDebounce } from \"use-debounce\";\nimport { useGetAdminContactsQuery } from \"../../services/api\";\n\nconst ContactAdminList = (props) => {\n const { itemLimit = 20, onRowClick } = props;\n\n const [limit, setLimit] = useState(itemLimit);\n const [page, setPage] = useState(1);\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [sortDirection, setSortDirection] = useState(\"descending\");\n\n const {\n data: contactData = { length: 0 },\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n refetch: refetchContacts,\n } = useGetAdminContactsQuery({\n page: page,\n limit: limit,\n search: searchValue,\n });\n\n const { mode, setMode } = useSetIndexFiltersMode();\n\n const [contacts, setContacts] = useState([]);\n const [currentlyDisplayedContacts, setCurrentlyDisplayedContacts] = useState(\n []\n );\n const [isLoading, setIsLoading] = useState(true);\n\n useEffect(() => {\n let count = contactData.length;\n if (count) {\n let emptyContact = {\n attributes: {\n full_name: \"\",\n email: \"\",\n },\n };\n\n let list = [];\n\n for (let i = 0; i < count; i++) {\n list.push(emptyContact);\n }\n\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n\n if (list[lowerLimit]?.attributes?.full_name === \"\") {\n let i = lowerLimit;\n for (let j = 0; j < itemLimit; j++) {\n if (contactData.contacts.data[j]) {\n list[i] = contactData.contacts.data[j];\n }\n i = i + 1;\n }\n }\n\n let updateList = list.slice(lowerLimit, upperLimit);\n\n setContacts(list);\n setCurrentlyDisplayedContacts(updateList);\n\n setIsLoading(false);\n } else {\n setContacts([]);\n setIsLoading(false);\n }\n }, [contactData, page]);\n\n useEffect(() => {\n refetchContacts();\n }, [page]);\n\n const resourceName = {\n singular: \"contact\",\n plural: \"contacts\",\n };\n\n const rowMarkup = currentlyDisplayedContacts.map((item, index) => (\n \n \n
\n \n onRowClick(item)}>\n {item.attributes.full_name}\n \n \n
\n
\n {item.attributes.email}\n {item.attributes.phone}\n
\n ));\n\n const handleNextPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == Math.ceil(contactData.length / limit)) {\n return Math.ceil(contactData.length / limit);\n }\n return state + 1;\n });\n };\n\n const handlePreviousPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const handleOnSort = (headingIndex, direction) => {\n let currentSortDirection = \"descending\";\n if (sortDirection === \"ascending\") {\n currentSortDirection = \"descending\";\n setSortDirection(\"descending\");\n } else {\n currentSortDirection = \"ascending\";\n setSortDirection(\"ascending\");\n }\n\n let sortTag = \"\";\n if (headingIndex === 1) {\n sortTag = sortTag + \"CREATED_AT_\";\n } else if (headingIndex === 2) {\n sortTag = sortTag + \"ORIGINATOR_\";\n } else if (headingIndex === 3) {\n sortTag = sortTag + \"AMOUNT_\";\n }\n\n if (currentSortDirection === \"ascending\") {\n sortTag = sortTag + \"ASC\";\n } else {\n sortTag = sortTag + \"DESC\";\n }\n\n setSortValue(sortTag);\n };\n\n const paginationMarkup = (\n \n );\n\n const handleFiltersQueryChange = useCallback(\n (value) => setQueryValue(value),\n []\n );\n\n const tabsMarkup = (\n <>\n {}}\n queryValue={queryValue}\n queryPlaceholder=\"Searching in contacts\"\n onQueryChange={handleFiltersQueryChange}\n onQueryClear={() => setQueryValue(\"\")}\n cancelAction={{\n onAction: () => setQueryValue(\"\"),\n disabled: false,\n loading: false,\n }}\n onSort={() => {}}\n tabs={[]}\n selected={[]}\n onSelect={() => {}}\n filters={[]}\n appliedFilters={[]}\n onClearAll={() => setQueryValue(\"\")}\n mode={mode}\n setMode={setMode}\n />\n\n \n {rowMarkup}\n \n\n
\n\n {paginationMarkup}\n\n
\n \n );\n\n return tabsMarkup;\n};\n\nContactAdminList.propTypes = {\n itemLimit: PropTypes.number,\n onRowClick: PropTypes.func,\n};\n\nexport default ContactAdminList;\n","import React, { useState, useCallback, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { useForm, useField, notEmpty } from \"@shopify/react-form\";\nimport {\n Card,\n Page,\n Layout,\n Modal,\n FormLayout,\n TextField,\n Toast,\n} from \"@shopify/polaris\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nimport ContactAdminList from \"../../../components/Contact/AdminList\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { validateEmail, validatePhone } from \"../../../utilities\";\nimport {\n useCreateAdminContactMutation,\n useUpdateAdminContactMutation,\n useCreateContactCsvMutation,\n baseQuery,\n} from \"../../../services/api\";\n\nconst AdminContacts = () => {\n const history = useHistory();\n\n const { currentContact, isOrganizationAdmin } = useContext(CurrentContactContext)\n\n const [showContactFormModal, setShowContactFormModal] = useState(false);\n const [viewingContact, setViewingContact] = useState(false);\n const [orgAdmin, setOrgAdmin] = useState(false);\n const handleChange = useCallback(\n (newChecked) => setOrgAdmin(newChecked),\n [],\n );\n\n const [\n createContactCsv,\n { isLoading: isCreatingContactCsv },\n ] = useCreateContactCsvMutation();\n\n const [createAdminContact, { isLoading: isCreatingContact }] =\n useCreateAdminContactMutation();\n\n const [updateAdminContact, { isLoading: isUpdatingContact }] =\n useUpdateAdminContactMutation();\n\n const [editingContact, setEditingContact] = useState();\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: contactFormDirty,\n } = useForm({\n fields: {\n first_name: useField({\n value: editingContact?.attributes?.first_name || \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: editingContact?.attributes?.last_name || \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: editingContact?.attributes?.email || \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n phone: useField({\n value: editingContact?.attributes?.phone || \"\",\n validates: [notEmpty(\"Phone number is required\"),\n (phone) => {\n if (!validatePhone(phone)) {\n return \"Phone must be valid\"\n }\n }\n ]\n })\n },\n async onSubmit(form) {\n if (editingContact) {\n return updateAdminContact({ contactId: editingContact.id, ...form })\n .unwrap()\n .then(() => {\n setShowToast(true);\n setToastMessage(\"Contact saved.\");\n setEditingContact();\n handleCloseModal();\n makeClean();\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n } else {\n return createAdminContact({ orgAdmin, ...form })\n .unwrap()\n .then(() => {\n setShowToast(true);\n setToastMessage(\"Contact added.\");\n handleCloseModal();\n makeClean();\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n }\n },\n });\n\n const manualReset = () => {\n fields.first_name = \"\"\n }\n\n const handleCloseModal = () => {\n if(viewingContact) setEditingContact();\n setViewingContact(false);\n setShowContactFormModal(false);\n };\n\n const handleContactRowClick = (contact) => {\n setViewingContact(true);\n setEditingContact(contact);\n setShowContactFormModal(true);\n };\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const contactFormModal = (\n \n \n \n \n \n \n \n \n \n {/*\n \n */}\n \n \n \n );\n\n const exportContactCsv = async () => {\n \n const pathname = `/csv_exports/contacts`;\n const result = await baseQuery()({\n url: pathname,\n method: \"POST\",\n data: {},\n responseType: \"blob\",\n });\n\n let filename = `Contacts`;\n let file = new File([result.data], `${filename}.csv`, {\n type: \"application/pdf\",\n });\n let fileUrl = window.URL.createObjectURL(file);\n\n let fileLink = document.createElement(\"a\");\n fileLink.href = fileUrl;\n fileLink.download = `${filename}.csv`;\n fileLink.click();\n }\n\n const PageMarkup = (\n \n {\n setShowContactFormModal(true);\n },\n },\n {\n content: \"Export CSV\",\n accessibilityLabel: \"Export CSV\",\n disabled: !isOrganizationAdmin,\n onAction: () => {\n exportContactCsv()\n }\n }\n ]}\n >\n \n \n \n \n \n \n \n {contactFormModal}\n {toastMarkup}\n \n \n );\n\n return currentContact ? PageMarkup : ;\n};\n\nexport default AdminContacts;\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Avatar,\n Icon,\n Card,\n Filters,\n Page,\n ResourceList,\n ResourceItem,\n Text,\n Box,\n BlockStack,\n InlineStack,\n Thumbnail,\n Layout,\n Pagination,\n Truncate,\n Modal,\n Tooltip,\n} from \"@shopify/polaris\";\nimport { AlertCircleIcon, AlertTriangleIcon, StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nimport { useGetAdminAccountsQuery } from \"../../../services/api\";\nimport AccountForm from \"../../../components/Account/Form\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nconst AdminLenderIndex = () => {\n const resourceName = {\n singular: \"lender\",\n plural: \"lenders\",\n };\n\n const history = useHistory();\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const { data: accounts = [], isLoading } = useGetAdminAccountsQuery();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [selectedTab, setSelectedTab] = useState(0);\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelectedTab(selectedTabIndex),\n []\n );\n\n const filterControl = (\n \n );\n\n useEffect(() => {\n let filtered = [];\n\n if (queryValue && accounts.length) {\n const results = accounts.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n filtered = results;\n } else {\n if (!accounts.length) {\n filtered = [];\n } else {\n filtered = accounts;\n }\n }\n\n const lenders = filtered.filter((account) => {\n return account.attributes.type === \"Lender\";\n });\n setFilteredItems(lenders);\n\n return () => setFilteredItems([]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [queryValue, accounts.length, selectedTab]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(10);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const accountsResourceList = (\n renderItem(item, history)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n filterControl={filterControl}\n loading={isLoading}\n flushFilters\n />\n );\n\n const paginationMarkup = (\n \n );\n\n const navigateToNewLenderShow = (lender) => {\n history.push({\n pathname: `/admin/lenders/${lender.id}`,\n state: {\n showToast: true,\n toastMessage: \"Lender created.\",\n },\n });\n };\n\n const accountFormRef = useRef();\n const [showAddAccountModal, setShowAddAccountModal] = useState(false);\n const handleCloseModal = () => {\n setShowAddAccountModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n\n const handleCreateAccount = (lender) => {\n handleCloseModal();\n navigateToNewLenderShow(lender);\n };\n\n const addAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const accountIndexPageMarkup = (\n \n {\n setShowAddAccountModal(true);\n },\n },\n ]}\n >\n \n \n \n
{accountsResourceList}
\n {paginatedFilteredItems.length > 1 && (\n \n {paginationMarkup}\n \n )}\n
\n
\n
\n {addAccountModal}\n \n
\n );\n\n return currentContact ? accountIndexPageMarkup : ;\n};\n\nconst renderItem = (item, history) => {\n const {\n id,\n attributes: {\n name,\n billing_address,\n billing_city,\n billing_state,\n reviewed,\n type,\n has_unapproved_opportunities,\n },\n } = item;\n const media = (\n \n );\n const thumbnail = (\n \n );\n\n const handleAccountClick = () => {\n navigateToAdminAccountShow();\n };\n\n const navigateToAdminAccountShow = () => {\n history.push({\n pathname: `/admin/lenders/${id}`,\n state: { account: { ...item } },\n });\n };\n\n const billingCityState =\n billing_city && billing_state\n ? `${billing_city}, ${billing_state}`\n : billing_city\n ? billing_city\n : billing_state\n ? billing_state\n : null;\n\n return (\n \n \n \n \n {name}\n \n \n \n {type} ∙ {billingCityState || \"-\"}\n \n \n \n\n
\n \n {has_unapproved_opportunities && (\n \n \n \n )}\n\n {!reviewed && (\n \n \n \n )}\n \n
\n
\n \n );\n};\n\nexport default AdminLenderIndex;\n","import React, { useState, useCallback, useEffect, useMemo } from \"react\";\nimport { Button, TextField, Popover, DatePicker } from \"@shopify/polaris\";\nimport { formatNumericDate, convertServerDate } from \"../utilities\";\nimport { CalendarIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\n\nconst DatePickerPopUp = (props) => {\n const {\n setEditingDate,\n datePickerLabel,\n requiredIndicator,\n placeholder,\n initialDate,\n disabled,\n error,\n } = props;\n\n const [dateValue, setDateValue] = useState(\"\");\n const [popoverActive, setPopoverActive] = useState(false);\n\n const togglePopoverActive = useCallback(\n () => setPopoverActive((popoverActive) => !popoverActive),\n []\n );\n\n const today = useMemo(() => new Date(), []);\n const [{ month, year }, setDate] = useState({\n month: today.getMonth(),\n year: today.getFullYear(),\n });\n const [selectedDate, setSelectedDate] = useState({\n start: null,\n end: null,\n });\n\n const handleMonthChange = useCallback(\n (month, year) => setDate({ month, year }),\n []\n );\n\n const validRubyDateFormat = (date) => {\n if (!date) return \"\";\n let formatDate = new Date(date);\n if (isNaN(formatDate.getTime())) return \"\";\n let day = formatDate.getDate();\n let month = formatDate.getMonth();\n let year = formatDate.getFullYear();\n return `${year}-${month + 1}-${day}`;\n };\n\n const [rubyStringDate, setRubyStringDate] = useState(\"\");\n const handleDateTextChange = useCallback(\n (value) => {\n if (!value.trim()) {\n setRubyStringDate(\"\");\n setSelectedDate({ start: null, end: null });\n setDate({ month: today.getMonth(), year: today.getFullYear() });\n return;\n }\n\n const convertedDate = convertServerDate(value);\n const parsedDate = Date.parse(convertedDate);\n\n if (isNaN(parsedDate)) {\n setRubyStringDate(\"\");\n setSelectedDate({ start: null, end: null });\n setDate({ month: today.getMonth(), year: today.getFullYear() });\n return;\n }\n\n const formattedDate = validRubyDateFormat(convertedDate);\n setRubyStringDate(formattedDate);\n\n let date = new Date(parsedDate);\n setSelectedDate({\n start: date,\n end: date,\n });\n let month = date.getMonth();\n let year = date.getFullYear();\n setDate({ month, year });\n },\n [today]\n );\n\n const [dirty, setDirty] = useState(false);\n\n useEffect(() => {\n if (!dirty) {\n if (initialDate?.value) {\n setRubyStringDate(initialDate.value);\n\n let convertedDate = convertServerDate(initialDate.value);\n let parsedDate = Date.parse(convertedDate);\n let date = new Date(parsedDate);\n\n setSelectedDate({\n start: date,\n end: date,\n });\n let month = date.getMonth();\n let year = date.getFullYear();\n setDate({ month, year });\n\n setDateValue(formatNumericDate(date));\n } else {\n setDateValue(\"\");\n\n setSelectedDate({\n start: today,\n end: today,\n });\n let month = today.getMonth();\n let year = today.getFullYear();\n setDate({ month, year });\n }\n }\n }, [initialDate]);\n\n useEffect(() => {\n setEditingDate(rubyStringDate);\n }, [rubyStringDate]);\n\n const handleDateChange = useCallback(\n (range) => {\n setDirty(true);\n\n if (!range.start) {\n setRubyStringDate(\"\");\n setDateValue(\"\");\n setSelectedDate({ start: null, end: null });\n setDate({ month: today.getMonth(), year: today.getFullYear() });\n return;\n }\n\n const formattedDate = validRubyDateFormat(range.start);\n setRubyStringDate(formattedDate);\n setDateValue(formatNumericDate(range.start));\n setSelectedDate(range);\n setDate({\n month: range.start.getMonth(),\n year: range.start.getFullYear(),\n });\n },\n [today]\n );\n\n const onBlurinvoiceDueDateChange = useCallback(() => {\n setDateValue(formatNumericDate(dateValue));\n handleDateTextChange(dateValue);\n }, [dateValue]);\n\n const activator = (\n \n );\n\n const datePopover = (\n \n \n \n );\n\n return (\n \n );\n};\n\nDatePickerPopUp.displayName = \"DatePickerPopUp\";\nDatePickerPopUp.propTypes = {\n placeholder: PropTypes.string,\n setEditingDate: PropTypes.func,\n datePickerLabel: PropTypes.string,\n requiredIndicator: PropTypes.bool,\n initialDate: PropTypes.object,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n};\n\nexport default DatePickerPopUp;\n","import React, { forwardRef } from \"react\";\nimport {\n InlineStack,\n FormLayout,\n TextField,\n Select,\n Button,\n Text,\n Divider,\n BlockStack,\n Box,\n Bleed,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\nimport { toFinanceTypeSlug } from \"../../utilities\";\n\nconst LenderRateForm = forwardRef((props, ref) => {\n const { index, lenderRate, addDeletedRate, removeOwnedRateItem } = props;\n\n const removeRate = (item, index) => {\n addDeletedRate(item.id.value);\n removeOwnedRateItem(index);\n };\n\n return (\n \n \n \n \n \n {index + 1}\n \n\n \n \n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n
\n\n \n
\n \n
\n\n \n\n \n
\n
\n\n {\n removeRate(lenderRate, index);\n }}\n variant=\"plain\"\n tone=\"critical\"\n >\n Remove\n \n
\n \n \n \n
\n \n
\n );\n});\nLenderRateForm.displayName = \"LenderRateForm\";\n\nLenderRateForm.propTypes = {\n index: PropTypes.number,\n lenderRate: PropTypes.object,\n addDeletedRate: PropTypes.func,\n removeOwnedRateItem: PropTypes.func,\n};\n\nexport default LenderRateForm;\n","import React, {\n useImperativeHandle,\n forwardRef,\n useEffect,\n useState,\n useCallback,\n} from \"react\";\nimport {\n FormLayout,\n TextField,\n Checkbox,\n Select,\n Spinner,\n Form,\n Button,\n Banner,\n Modal,\n Text,\n BlockStack,\n} from \"@shopify/polaris\";\nimport {\n useField,\n useForm,\n notEmpty,\n asChoiceField,\n useDynamicList,\n} from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\nimport { PlusCircleIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useCreateRateCardMutation,\n useUpdateRateCardMutation,\n} from \"../../services/api\";\nimport DatePickerPopUp from \"../DatePickerPopUp\";\nimport LenderRateForm from \"../LenderRate/Form\";\n\nconst RateCardForm = forwardRef((props, ref) => {\n const { lenderId, rateCard, lenderRates, lastRateCard, setDisableRateCardSave } = props;\n\n const [createRateCard, { isLoading: isCreatingRateCard }] =\n useCreateRateCardMutation();\n\n const [updateRateCard, { isLoading: isUpdatingRateCard }] =\n useUpdateRateCardMutation();\n\n const [ownedRates, setOwnedRates] = useState([]);\n\n const emptyOwnedRateFactory = () => ({\n minimum_lending_amount: undefined,\n maximum_lending_amount: undefined,\n grade: \"\",\n term_length_minimum: undefined,\n term_length_maximum: undefined,\n interest_rate: undefined,\n financing_type: \"Standard financing\",\n id: \"\",\n });\n\n const {\n fields: ownedRatesFields,\n addItem: addOwnedRateItem,\n removeItem: removeOwnedRateItem,\n } = useDynamicList(\n {\n list: ownedRates,\n validates: {\n minimum_lending_amount: (minimum_lending_amount) => {\n if (!minimum_lending_amount || minimum_lending_amount < 0) {\n return \"Min amount is required\";\n }\n },\n maximum_lending_amount: (maximum_lending_amount) => {\n if (maximum_lending_amount < 1) {\n return \"Max amount is required\";\n }\n },\n grade: [notEmpty(\"Amount is required.\")],\n term_length_minimum: (term_length_minimum) => {\n if (term_length_minimum < 1) {\n return \"Min term is required\";\n }\n },\n term_length_maximum: (term_length_maximum) => {\n if (term_length_maximum < 1) {\n return \"Max term is required\";\n }\n },\n interest_rate: (interest_rate) => {\n if (!interest_rate || interest_rate < 0) {\n return \"Interest rate is required\";\n }\n },\n financing_type: [notEmpty(\"Financing type is required.\")],\n },\n },\n emptyOwnedRateFactory\n );\n\n useEffect(() => {\n if (rateCard) {\n // Build owned rates list\n let oRates = [];\n let includedRates = rateCard?.relationships?.rates?.data;\n for (let i = 0; i < includedRates.length; i++) {\n let newRate = {\n ...emptyOwnedRateFactory(),\n ...lenderRates[includedRates[i].id].attributes,\n id: includedRates[i].id,\n };\n oRates.push(newRate);\n }\n setOwnedRates(oRates);\n }\n }, [rateCard, lenderRates]);\n\n const [deletedRates, setDeletedRates] = useState([]);\n const addDeletedRate = (id) => {\n if (id.length > 0) {\n let dRates = JSON.parse(JSON.stringify(deletedRates));\n dRates.push({ id: id, _destroy: \"1\" });\n setDeletedRates(dRates);\n }\n };\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: accountFormDirty,\n } = useForm({\n fields: {\n version_number: useField({\n value: rateCard ? rateCard.attributes?.version_number : \"\",\n validates: [],\n }),\n version_name: useField({\n value: rateCard ? rateCard.attributes?.version_name : \"\",\n validates: [notEmpty(\"Version name is required\")],\n }),\n effective_date: useField({\n value: rateCard ? rateCard.attributes?.effective_date : \"\",\n validates: [],\n }),\n is_current: useField({\n value: rateCard ? rateCard.attributes?.is_current : true,\n validates: [],\n }),\n rates_attributes: ownedRatesFields,\n },\n async onSubmit(form) {\n // Add check for submitErrors\n if(submitErrors.length > 0) return;\n\n let submitForm = { ...form };\n\n // Not updatable\n delete submitForm.version_number;\n\n // Build rates\n let uRates = toUpdateableRates().concat(deletedRates);\n // let uRates = []\n submitForm.rates_attributes = uRates;\n\n if (rateCard?.id?.length > 0) {\n return updateRateCard({\n lenderId: lenderId,\n id: rateCard.id,\n ...submitForm,\n })\n .unwrap()\n .then(() => {\n return { status: \"success\" };\n })\n .catch((error) => {\n return { status: \"fail\", errors: [error] };\n });\n } else {\n return createRateCard({\n lenderId: lenderId,\n ...submitForm,\n })\n .unwrap()\n .then(() => {\n return { status: \"success\" };\n })\n .catch((error) => {\n return { status: \"fail\", errors: [error] };\n });\n }\n },\n });\n\n useImperativeHandle(ref, () => ({\n handleSubmitForm() {\n if(submitErrors.length > 0) {\n\n } else {\n submit();\n }\n },\n }));\n\n const toUpdateableRates = useCallback(() => {\n let uRates = [];\n for (let i = 0; i < ownedRatesFields.length; i++) {\n let r = {\n minimum_lending_amount:\n ownedRatesFields[i].minimum_lending_amount.value,\n maximum_lending_amount:\n ownedRatesFields[i].maximum_lending_amount.value,\n grade: ownedRatesFields[i].grade.value,\n term_length_minimum: ownedRatesFields[i].term_length_minimum.value,\n term_length_maximum: ownedRatesFields[i].term_length_maximum.value,\n interest_rate: ownedRatesFields[i].interest_rate.value,\n financing_type: ownedRatesFields[i].financing_type.value,\n };\n if (ownedRatesFields[i].id.value.length > 0)\n r.id = ownedRatesFields[i].id.value;\n uRates.push(r);\n }\n return uRates;\n }, [ownedRatesFields]);\n\n // Disable save button if errors exist\n // Submit Errors\n useEffect(() => {\n if (submitErrors.length > 0) setDisableRateCardSave(true)\n else setDisableRateCardSave(false)\n }, [submitErrors])\n\n // Disable save button if errors exist\n // On fields\n useEffect(() => {\n let errorPresent = false\n for(let i = 0; i < Object.keys(fields).length; i++) {\n let cKey = Object.keys(fields)[i]\n if (cKey === 'rates_attributes') {\n for(let currentRateIndex = 0; currentRateIndex < fields.rates_attributes.length; currentRateIndex++) {\n let currentRate = fields.rates_attributes[currentRateIndex]\n for(let j = 0; j < Object.keys(currentRate).length; j++) {\n let cjKey = Object.keys(currentRate)[j]\n if (currentRate[cjKey].error != undefined && currentRate[cjKey].error?.length > 0) {\n errorPresent = true\n break\n }\n }\n }\n } else {\n if (fields[cKey].error != undefined) {\n errorPresent = true\n break\n }\n }\n }\n\n if(errorPresent) setDisableRateCardSave(true)\n else setDisableRateCardSave(false)\n }, [fields])\n\n const [showErrorBanner, setShowErrorBanner] = useState(false);\n const errorBanner = submitErrors.length > 0 && showErrorBanner && (\n \n {submitErrors.map((error, index) => {\n return

{error.message}

;\n })}\n
\n );\n\n return (\n <>\n \n
\n \n {errorBanner}\n \n \n\n \n\n {\n fields.effective_date.onChange(rubyStringDate);\n }}\n initialDate={fields.effective_date}\n />\n \n\n \n \n
\n
\n\n \n \n {ownedRatesFields.map((lenderRate, index) => {\n return (\n \n );\n })}\n\n \n addOwnedRateItem()}\n >\n Add rate\n \n \n \n \n \n );\n});\nRateCardForm.displayName = \"RateCardForm\";\n\nRateCardForm.propTypes = {\n lenderId: PropTypes.string,\n rateCard: PropTypes.object,\n lenderRates: PropTypes.object,\n lastRateCard: PropTypes.any,\n setDisableRateCardSave: PropTypes.func,\n};\n\nexport default RateCardForm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Card,\n BlockStack,\n InlineStack,\n InlineGrid,\n Button,\n Layout,\n Text,\n} from \"@shopify/polaris\";\n\nconst QualificationFields = (props) => {\n const { account, setShowEditQualificationFieldsModal } = props;\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n color: \"black\",\n };\n\n return (\n \n \n
\n \n \n Opportunity qualification fields\n \n\n \n \n
\n\n
\n \n \n Portal available\n
\n \n

{account.attributes.portal_available ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n Submission method\n
\n \n

{account.attributes.submission_method || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Rate guidance general\n
\n \n

{account.attributes.rate_guidance_general || \"-\"}

\n
\n
\n
\n\n \n Rate guidance startup\n
\n \n

{account.attributes.rate_guidance_startup || \"-\"}

\n
\n
\n
\n\n \n Rate guidance medical\n
\n \n

{account.attributes.rate_guidance_medical || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n CBRP pull type\n
\n \n

{account.attributes.cbrp_pull_type || \"-\"}

\n
\n
\n
\n\n \n CBR details\n
\n \n

{account.attributes.cbr_details || \"-\"}

\n
\n
\n
\n\n \n EBO details\n
\n \n

{account.attributes.ebo_details || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Bank statements required\n
\n \n

\n {account.attributes.bank_statements_required ? \"Yes\" : \"-\"}\n

\n
\n
\n
\n\n \n Financials required\n
\n \n

{account.attributes.financials_required ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n Financial level\n
\n \n

{account.attributes.financial_level || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n E Docs available\n
\n \n

{account.attributes.e_docs_available ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n Ink signed app required\n
\n \n

\n {account.attributes.ink_signed_app_required ? \"Yes\" : \"-\"}\n

\n
\n
\n
\n\n \n Corp only allowed\n
\n \n

{account.attributes.corp_only_allowed ? \"Yes\" : \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Startup friendly\n
\n \n

{account.attributes.startup_friendly ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n Titling handling\n
\n \n

{account.attributes.titling_handling || \"-\"}

\n
\n
\n
\n\n \n Lienholder info\n
\n \n

{account.attributes.lienholder_info || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Paynet base\n
\n \n

{account.attributes.paynet_base || \"-\"}

\n
\n
\n
\n\n \n Paynet required\n
\n \n

{account.attributes.paynet_required ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n Minimum FICO score\n
\n \n

{account.attributes.min_fico_score || \"-\"}

\n
\n
\n
\n\n \n Minimum time in business (year)\n
\n \n

{account.attributes.min_time_in_business || \"-\"}

\n
\n
\n
\n\n \n Minimum annual gross revenue\n
\n \n

{account.attributes.min_annual_gross_revenue || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n App only limit general\n
\n \n

{account.attributes.app_only_limit_general || \"-\"}

\n
\n
\n
\n\n \n App only limit med core\n
\n \n

{account.attributes.app_only_limit_med_core || \"-\"}

\n
\n
\n
\n\n \n App only limit med non core\n
\n \n

{account.attributes.app_only_limit_med_non_core || \"-\"}

\n
\n
\n
\n\n \n App only limit working capital\n
\n \n

\n {account.attributes.app_only_limit_working_capital || \"-\"}\n

\n
\n
\n
\n
\n
\n\n
\n \n \n Minimum ownership\n
\n \n

{account.attributes.min_ownership || \"-\"}

\n
\n
\n
\n\n \n Point range\n
\n \n

{account.attributes.point_range || \"-\"}

\n
\n
\n
\n\n \n Doc fee\n
\n \n

{account.attributes.doc_fee || \"-\"}

\n
\n
\n
\n\n \n Doc fee additional\n
\n \n

{account.attributes.doc_fee_additional || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Time to decision\n
\n \n

{account.attributes.time_to_decision || \"-\"}

\n
\n
\n
\n\n \n Max term length\n
\n \n

{account.attributes.max_term_length || \"-\"}

\n
\n
\n
\n\n \n Structured pays allowed\n
\n \n

\n {account.attributes.structured_pays_allowed ? \"Yes\" : \"-\"}\n

\n
\n
\n
\n\n \n Deferrals allowed\n
\n \n

{account.attributes.deferrals_allowed ? \"Yes\" : \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Typical deal size\n
\n \n

{account.attributes.typical_deal_size || \"-\"}

\n
\n
\n
\n\n \n Credit box details\n
\n \n

{account.attributes.credit_box_details || \"-\"}

\n
\n
\n
\n\n \n Prior BK restriction\n
\n \n

{account.attributes.prior_bk_restriction || \"-\"}

\n
\n
\n
\n\n \n Compensation percentage needed\n
\n \n

{account.attributes.comp_percentage_needed || \"-\"}

\n
\n
\n
\n
\n
\n\n
\n \n \n Age restrictions\n
\n \n

{account.attributes.age_restrictions || \"-\"}

\n
\n
\n
\n\n \n Fleet requirements\n
\n \n

{account.attributes.fleet_requirements || \"-\"}

\n
\n
\n
\n\n \n PPS titled allowed\n
\n \n

{account.attributes.pps_titled_allowed ? \"Yes\" : \"-\"}

\n
\n
\n
\n\n \n PPS non titled allowed\n
\n \n

\n {account.attributes.pps_non_titled_allowed ? \"Yes\" : \"-\"}\n

\n
\n
\n
\n
\n
\n\n
\n \n \n OTR details\n
\n \n

{account.attributes.otr_details || \"-\"}

\n
\n
\n
\n\n \n Funding comments\n
\n \n

{account.attributes.funding_comments || \"-\"}

\n
\n
\n
\n\n \n Restrictions\n
\n \n

{account.attributes.restrictions || \"-\"}

\n
\n
\n
\n\n \n Additional notes\n
\n \n

{account.attributes.additional_notes || \"-\"}

\n
\n
\n
\n
\n
\n
\n
\n );\n};\n\nQualificationFields.propTypes = {\n account: PropTypes.object,\n setShowEditQualificationFieldsModal: PropTypes.func,\n};\n\nexport default QualificationFields;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useField, useForm } from \"@shopify/react-form\";\n\nimport {\n Modal,\n FormLayout,\n TextField,\n Checkbox,\n Select,\n} from \"@shopify/polaris\";\n\nimport {\n useUpdateAdminAccountMutation,\n} from \"../../services/api\";\n\nconst QualificationFieldsForm = (props) => {\n const {\n account,\n accountId,\n showEditQualificationFieldsModal,\n setShowEditQualificationFieldsModal,\n } = props;\n\n const [updateAdminAccount, { isLoading: isAdminUpdating }] =\n useUpdateAdminAccountMutation();\n\n const { fields, submit, submitting } = useForm({\n fields: {\n portal_available: useField({\n value: account.attributes.portal_available || false,\n validates: [],\n }),\n submission_method: useField({\n value: account.attributes.submission_method,\n validates: [],\n }),\n rate_guidance_general: useField({\n value: account.attributes.rate_guidance_general,\n validates: [],\n }),\n rate_guidance_startup: useField({\n value: account.attributes.rate_guidance_startup,\n validates: [],\n }),\n rate_guidance_medical: useField({\n value: account.attributes.rate_guidance_medical,\n validates: [],\n }),\n cbrp_pull_type: useField({\n value: account.attributes.cbrp_pull_type,\n validates: [],\n }),\n cbr_details: useField({\n value: account.attributes.cbr_details,\n validates: [],\n }),\n ebo_details: useField({\n value: account.attributes.ebo_details,\n validates: [],\n }),\n bank_statements_required: useField({\n value: account.attributes.bank_statements_required || false,\n validates: [],\n }),\n financials_required: useField({\n value: account.attributes.financials_required || false,\n validates: [],\n }),\n financial_level: useField({\n value: account.attributes.financial_level,\n validates: [],\n }),\n e_docs_available: useField({\n value: account.attributes.e_docs_available || false,\n validates: [],\n }),\n ink_signed_app_required: useField({\n value: account.attributes.ink_signed_app_required || false,\n validates: [],\n }),\n corp_only_allowed: useField({\n value: account.attributes.corp_only_allowed || false,\n validates: [],\n }),\n startup_friendly: useField({\n value: account.attributes.startup_friendly || false,\n validates: [],\n }),\n titling_handling: useField({\n value: account.attributes.titling_handling,\n validates: [],\n }),\n lienholder_info: useField({\n value: account.attributes.lienholder_info,\n validates: [],\n }),\n paynet_base: useField({\n value: account.attributes.paynet_base,\n validates: [],\n }),\n paynet_required: useField({\n value: account.attributes.paynet_required || false,\n validates: [],\n }),\n min_fico_score: useField({\n value: account.attributes.min_fico_score,\n validates: [],\n }),\n min_time_in_business: useField({\n value: account.attributes.min_time_in_business,\n validates: [],\n }),\n min_annual_gross_revenue: useField({\n value: account.attributes.min_annual_gross_revenue,\n validates: [],\n }),\n app_only_limit_general: useField({\n value: account.attributes.app_only_limit_general,\n validates: [],\n }),\n app_only_limit_med_core: useField({\n value: account.attributes.app_only_limit_med_core,\n validates: [],\n }),\n app_only_limit_med_non_core: useField({\n value: account.attributes.app_only_limit_med_non_core,\n validates: [],\n }),\n app_only_limit_working_capital: useField({\n value: account.attributes.app_only_limit_working_capital,\n validates: [],\n }),\n min_ownership: useField({\n value: account.attributes.min_ownership,\n validates: [],\n }),\n point_range: useField({\n value: account.attributes.point_range,\n validates: [],\n }),\n doc_fee: useField({\n value: account.attributes.doc_fee,\n validates: [],\n }),\n doc_fee_additional: useField({\n value: account.attributes.doc_fee_additional,\n validates: [],\n }),\n time_to_decision: useField({\n value: account.attributes.time_to_decision,\n validates: [],\n }),\n max_term_length: useField({\n value: account.attributes.max_term_length,\n validates: [],\n }),\n structured_pays_allowed: useField({\n value: account.attributes.structured_pays_allowed || false,\n validates: [],\n }),\n deferrals_allowed: useField({\n value: account.attributes.deferrals_allowed || false,\n validates: [],\n }),\n typical_deal_size: useField({\n value: account.attributes.typical_deal_size,\n validates: [],\n }),\n credit_box_details: useField({\n value: account.attributes.credit_box_details,\n validates: [],\n }),\n prior_bk_restriction: useField({\n value: account.attributes.prior_bk_restriction,\n validates: [],\n }),\n comp_percentage_needed: useField({\n value: account.attributes.comp_percentage_needed,\n validates: [],\n }),\n age_restrictions: useField({\n value: account.attributes.age_restrictions,\n validates: [],\n }),\n fleet_requirements: useField({\n value: account.attributes.fleet_requirements,\n validates: [],\n }),\n pps_titled_allowed: useField({\n value: account.attributes.pps_titled_allowed || false,\n validates: [],\n }),\n pps_non_titled_allowed: useField({\n value: account.attributes.pps_non_titled_allowed || false,\n validates: [],\n }),\n otr_details: useField({\n value: account.attributes.otr_details,\n validates: [],\n }),\n funding_comments: useField({\n value: account.attributes.funding_comments,\n validates: [],\n }),\n restrictions: useField({\n value: account.attributes.restrictions,\n validates: [],\n }),\n additional_notes: useField({\n value: account.attributes.additional_notes,\n validates: [],\n }),\n },\n async onSubmit(form) {\n return updateAdminAccount({\n id: accountId,\n ...form,\n })\n .unwrap()\n .then(() => {\n setShowEditQualificationFieldsModal(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowEditQualificationFieldsModal(false);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update account.\" }],\n };\n });\n },\n });\n\n const setBooleanField = (field) => {\n fields[field].onChange(!fields[field].value);\n };\n\n const formLayout = (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n setBooleanField(\"portal_available\")}\n />\n setBooleanField(\"bank_statements_required\")}\n />\n setBooleanField(\"financials_required\")}\n />\n setBooleanField(\"startup_friendly\")}\n />\n \n \n setBooleanField(\"e_docs_available\")}\n />\n setBooleanField(\"ink_signed_app_required\")}\n />\n setBooleanField(\"corp_only_allowed\")}\n />\n setBooleanField(\"paynet_required\")}\n />\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n setBooleanField(\"structured_pays_allowed\")}\n />\n setBooleanField(\"deferrals_allowed\")}\n />\n setBooleanField(\"pps_titled_allowed\")}\n />\n setBooleanField(\"pps_non_titled_allowed\")}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n\n return (\n setShowEditQualificationFieldsModal(false)}\n title=\"Edit qualification fields\"\n primaryAction={{\n content: \"Save\",\n onAction: () => submit(),\n disabled: submitting || isAdminUpdating,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowEditQualificationFieldsModal(false),\n },\n ]}\n >\n
{formLayout}
\n \n );\n};\n\nQualificationFieldsForm.propTypes = {\n account: PropTypes.object,\n accountId: PropTypes.string,\n showEditQualificationFieldsModal: PropTypes.bool,\n setShowEditQualificationFieldsModal: PropTypes.func,\n};\n\nexport default QualificationFieldsForm;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Page,\n BlockStack,\n InlineStack,\n InlineGrid,\n Button,\n Layout,\n Labelled,\n Modal,\n Toast,\n Banner,\n Text,\n ResourceList,\n ResourceItem,\n Badge,\n Bleed,\n Box,\n} from \"@shopify/polaris\";\n\nimport {\n useGetAdminAccountQuery,\n useCreateAdminAccountReviewMutation,\n useGetRateCardsQuery,\n} from \"../../../services/api\";\n\nimport AccountForm from \"../../../components/Account/Form\";\nimport RateCardForm from \"../../../components/RateCard/Form\";\nimport QualificationFields from \"../../../components/Account/QualificationFields\";\nimport QualificationFieldsForm from \"../../../components/Account/QualificationFieldsForm\";\nimport {\n convertServerDate,\n formatLongDateTime,\n formatNumericDate,\n} from \"../../../utilities\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst AdminLenderShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { id: accountId } = useParams();\n\n useEffect(() => {\n if (!accountId) {\n navigateToAdminAccountsIndex();\n }\n }, [accountId, navigateToAdminAccountsIndex]);\n\n const { account: accountObject } = location?.state?.account\n ? location.state\n : {\n account: { attributes: {} },\n };\n\n const { data: account = accountObject } = useGetAdminAccountQuery(accountId);\n const [createAccountReview, { isLoading: isCreatingAccountReview }] =\n useCreateAdminAccountReviewMutation();\n\n const { data: rateCardResponse } = useGetRateCardsQuery(accountId);\n const [rateCards, setRateCards] = useState([]);\n const [lenderRates, setLenderRates] = useState([]);\n\n useEffect(() => {\n if (rateCardResponse) {\n setRateCards(rateCardResponse.data);\n\n // Create lender rate hash\n let lrHash = {};\n for (let i = 0; i < rateCardResponse.included.length; i++) {\n let current = rateCardResponse.included[i];\n lrHash[current.id] = current;\n }\n setLenderRates(lrHash);\n }\n }, [rateCardResponse]);\n\n const navigateToAdminAccountsIndex = useCallback(() => {\n history.push(\"/admin\");\n }, [history]);\n\n const navigateToOpportunityShow = useCallback(\n (clientId, opportunityId) => {\n history.push(`/clients/${clientId}/opportunities/${opportunityId}`);\n },\n [history]\n );\n\n const [showEditAccountDetailsModal, setShowEditAccountDetailsModal] =\n useState(false);\n\n const [\n showEditQualificationFieldsModal,\n setShowEditQualificationFieldsModal,\n ] = useState(false);\n\n const handleEditAccountDetails = () => {\n setShowAccountDetailsModal(true);\n };\n const handleCloseModal = () => {\n setShowAccountDetailsModal(false);\n setShowReviewAccountModal(false);\n setShowEditQualificationFieldsModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n const handleAccountUpdate = (data) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account updated.\");\n };\n\n const accountFormRef = useRef();\n\n const editAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const [showReviewAccountModal, setShowReviewAccountModal] = useState(false);\n const handleReviewAccount = () => {\n return createAccountReview({\n accountId: accountId,\n })\n .unwrap()\n .then(({ data }) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account reviewed.\");\n return { status: \"success\" };\n })\n .catch((error) => {\n alert(\"Failed to add review.\");\n console.log(error);\n });\n };\n\n const reviewAccountModal = (\n \n Please check the legal business name and all other account details before\n adding your review.\n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const reviewedByMessage = account.attributes.reviewed\n ? `Last reviewed by ${\n account.attributes.reviewed_by_name\n } on ${formatLongDateTime(new Date(account.attributes.reviewed_at))}`\n : \"Needs review\";\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n };\n\n const rateCardRef = useRef();\n const [currentRateCard, setCurrentRateCard] = useState(null);\n const [showRateCardModal, setShowRateCardModal] = useState(false);\n const [disableRateCardSave, setDisableRateCardSave] = useState(false);\n const toggleShowRateCardModal = () => {\n setShowRateCardModal(!showRateCardModal);\n };\n const openEditRateCardModal = (rateCard) => {\n setCurrentRateCard(rateCard);\n setShowRateCardModal(true);\n };\n const closeEditRateCardModal = () => {\n setCurrentRateCard(null);\n setShowRateCardModal(false);\n };\n const saveRateCardModal = () => {\n rateCardRef.current.handleSubmitForm();\n closeEditRateCardModal();\n };\n\n const rateCardModal = (\n {\n closeEditRateCardModal();\n }}\n size=\"large\"\n title={\n currentRateCard\n ? `Edit ${currentRateCard.attributes.version_name}`\n : \"Add rate card\"\n }\n primaryAction={{\n content: \"Save\",\n onAction: () => {\n saveRateCardModal();\n },\n disabled: disableRateCardSave,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => {\n closeEditRateCardModal();\n },\n },\n ]}\n >\n 0\n ? [...rateCards].sort(\n (a, b) =>\n b.attributes.version_number - a.attributes.version_number\n )[0]\n : null\n }\n setDisableRateCardSave={setDisableRateCardSave}\n />\n \n );\n\n const pageMarkup = (\n \n setShowReviewAccountModal(true),\n },\n ]}\n fullWidth\n >\n \n {!account.attributes.reviewed && (\n \n setShowReviewAccountModal(true),\n }}\n tone=\"warning\"\n >\n \n )}\n\n {/* Account details */}\n \n \n
\n \n \n Account information\n \n\n \n \n
\n\n
\n \n \n
\n \n

{account.attributes.name}

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

{account.attributes.dba || \"-\"}

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

{account.attributes.billing_street || \"-\"}

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

{account.attributes.billing_city || \"-\"}

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

{account.attributes.billing_state || \"-\"}

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

{account.attributes.billing_postal_code || \"-\"}

\n
\n
\n
\n
\n
\n\n {account.attributes.reviewed && (\n
\n \n

\n \n {reviewedByMessage}\n \n

\n
\n
\n )}\n
\n
\n\n \n\n \n \n \n \n \n Rate cards\n \n\n \n \n\n {rateCards.length === 0 && (\n \n No rate cards for {account.attributes.name}.\n \n )}\n\n \n {\n const { id } = item;\n\n return (\n \n \n v{item.attributes.version_number}\n \n \n }\n onClick={() => {\n openEditRateCardModal(item);\n }}\n >\n \n \n \n {item.attributes.version_name}\n \n \n Effective:{\" \"}\n {formatNumericDate(\n convertServerDate(\n new Date(item.attributes.effective_date)\n )\n )}\n \n \n \n \n );\n }}\n />\n \n \n \n\n
\n
\n
\n
\n\n
\n
\n
\n
\n\n \n {editAccountModal}\n {reviewAccountModal}\n {rateCardModal}\n {toastMarkup}\n \n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default AdminLenderShow;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport {\n Tabs,\n IndexTable,\n Filters,\n Text,\n Badge,\n Pagination,\n LegacyStack,\n Truncate,\n Link,\n Modal,\n BlockStack\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\nimport { formatCurrency, formatNumericDate } from \"../../../utilities\";\nimport {\n useGetAdminOpportunitiesQuery,\n useDeleteAdminOpportunitiesMutation\n} from \"../../../services/api\";\n\nconst AdminOpportunityTable = (props) => {\n const { onOpportunityClick, itemLimit = 50 } = props;\n\n const location = useLocation();\n const history = useHistory();\n\n const [selected, setSelected] = useState(0);\n\n const [limit, setLimit] = useState(itemLimit);\n const [page, setPage] = useState(1);\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [sortDirection, setSortDirection] = useState(\"descending\");\n const [disambiguatedFilters, setDisambiguatedFilters] = useState(null);\n\n const [taggedWith, setTaggedWith] = useState(undefined);\n const handleTaggedWithChange = useCallback(\n (value) => setTaggedWith(value),\n []\n );\n const [originatorSearch] = useDebounce(taggedWith, 500);\n\n const tabs = [\n {\n id: \"all\",\n content: \"All\",\n panelID: \"all\",\n },\n {\n id: \"lead\",\n content: \"Lead\",\n panelID: \"lead\",\n },\n {\n id: \"estimated_terms\",\n content: \"Estimated Terms\",\n panelID: \"estimated-terms\",\n },\n {\n id: \"credit_review\",\n content: \"Credit Review\",\n panelID: \"credit-review\",\n },\n {\n id: \"approved\",\n content: \"Approved\",\n panelID: \"approved\",\n },\n {\n id: \"booked\",\n content: \"Booked\",\n panelID: \"booked\",\n },\n {\n id: \"funded\",\n content: \"Funded\",\n panelID: \"funded\",\n },\n {\n id: \"closed_lost\",\n content: \"Closed/Lost\",\n panelID: \"closed_lost\",\n },\n ];\n\n const handleTabChange = useCallback((selectedTab) => {\n if (selectedTab === 0) {\n setDisambiguatedFilters(null);\n } else {\n setDisambiguatedFilters([tabs[selectedTab].id]);\n }\n setPage(1);\n setSelected(selectedTab);\n\n refetchOpportunities();\n }, []);\n\n const {\n data: opportunityData = { count: 0 },\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n refetch: refetchOpportunities,\n } = useGetAdminOpportunitiesQuery({\n page: page,\n limit: limit,\n filters: disambiguatedFilters,\n sort: sortValue,\n search: searchValue,\n originator: originatorSearch,\n });\n\n const [deleteAdminOpportunities, { isLoading: isDeleting }] =\n useDeleteAdminOpportunitiesMutation();\n\n const [opportunities, setOpportunities] = useState([]);\n const [currentlyDisplayedOpportunities, setCurrentlyDisplayedOpportunities] =\n useState([]);\n const [isLoading, setIsLoading] = useState(true);\n const [selectedResources, setSelectedResources] = useState([]);\n const [allSelected, setAllSeleted] = useState(false);\n\n const handleSelectionChange = (selectionType, toggleType, selection) => {\n let selectionList = [...selectedResources]\n\n if (selectionType === \"single\") {\n // Check if in selection\n let inSelectionIndex = -1\n for(let i = 0; i < selectedResources.length; i++) {\n if (selectedResources[i] === selection) {\n inSelectionIndex = i\n break\n }\n }\n\n if(inSelectionIndex != -1) {\n // Remove if in list\n selectionList.splice(inSelectionIndex, 1)\n } else {\n // Add if not\n selectionList.push(selection)\n }\n\n setSelectedResources(selectionList)\n setAllSeleted(false)\n } else {\n if(allSelected || selectedResources.length === opportunities.length) {\n // Clear selection\n setSelectedResources([])\n setAllSeleted(false)\n } else {\n // Select all\n let list = []\n for(let i = 0; i < limit; i++) { list.push(i) }\n console.log(list)\n setSelectedResources(list)\n setAllSeleted(true)\n }\n }\n }\n\n useEffect(() => {\n let count = opportunityData.count;\n if (count) {\n let emptyOpportunity = {\n attributes: {\n name: \"\",\n stage_name: \"\",\n total_finance_amount: \"\",\n },\n };\n\n let list = [];\n\n for (let i = 0; i < count; i++) {\n list.push(emptyOpportunity);\n }\n\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n\n if (list[lowerLimit]?.attributes?.name === \"\") {\n let i = 0;\n for (let j = lowerLimit; j < upperLimit; j++) {\n if (opportunityData.opportunities.data[i]) {\n list[j] = opportunityData.opportunities.data[i];\n }\n i = i + 1;\n }\n }\n\n setOpportunities(list);\n setCurrentlyDisplayedOpportunities(list.slice(lowerLimit, upperLimit));\n\n setIsLoading(false);\n } else {\n setOpportunities([]);\n setIsLoading(false);\n }\n }, [opportunityData, selected]);\n\n useEffect(() => {\n setPage(1);\n }, [searchValue]);\n\n const resourceName = {\n singular: \"opportunity\",\n plural: \"opportunities\",\n };\n\n const handleTaggedWithRemove = useCallback(() => setTaggedWith(null), []);\n const handleQueryValueRemove = () => setQueryValue(undefined);\n const handleClearAll = useCallback(() => {\n handleTaggedWithRemove();\n handleQueryValueRemove();\n }, [handleQueryValueRemove, handleTaggedWithRemove]);\n const handleSortChange = useCallback((value) => setSortValue(value), []);\n\n const filters = [];\n const appliedFilters = [];\n\n const sortOptions = [{ label: \"Most recent\", value: \"UPDATED_AT_DESC\" }];\n\n const rowMarkup = currentlyDisplayedOpportunities.map((item, index) => (\n \n \n
\n \n \n onOpportunityClick(item)}\n >\n {item.attributes.name}\n \n \n \n
\n
\n \n {formatNumericDate(new Date(item.attributes.created_at))}\n \n {item.attributes.originator_name}\n \n {formatCurrency(item.attributes.total_finance_amount)}\n \n \n {item.attributes.human_stage_name}\n \n \n \n \n \n
\n ));\n\n function disambiguateLabel(key, value) {\n switch (key) {\n case \"originator\":\n return `Originator: ${value}`;\n default:\n return value;\n }\n }\n\n function isEmpty(value) {\n if (Array.isArray(value)) {\n return value.length === 0;\n } else {\n return value === \"\" || value == null;\n }\n }\n\n const handleNextPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == Math.ceil(opportunityData.count / limit)) {\n return Math.ceil(opportunityData.count / limit);\n }\n return state + 1;\n });\n };\n\n const handlePreviousPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const handleOnSort = (headingIndex, direction) => {\n let currentSortDirection = \"descending\";\n if (sortDirection === \"ascending\") {\n currentSortDirection = \"descending\";\n setSortDirection(\"descending\");\n } else {\n currentSortDirection = \"ascending\";\n setSortDirection(\"ascending\");\n }\n\n let sortTag = \"\";\n if (headingIndex === 1) {\n sortTag = sortTag + \"CREATED_AT_\";\n } else if (headingIndex === 2) {\n sortTag = sortTag + \"ORIGINATOR_\";\n } else if (headingIndex === 3) {\n sortTag = sortTag + \"AMOUNT_\";\n }\n\n if (currentSortDirection === \"ascending\") {\n sortTag = sortTag + \"ASC\";\n } else {\n sortTag = sortTag + \"DESC\";\n }\n\n setSortValue(sortTag);\n refetchOpportunities();\n };\n\n const bulkDeleteOpportunities = () => {\n const opportunityIds = []\n\n if (!allSelected) {\n for(let i = 0; i < selectedResources.length; i++) {\n opportunityIds.push(opportunities[selectedResources[i]].id)\n }\n }\n\n return deleteAdminOpportunities({\n filters: disambiguatedFilters,\n search: searchValue,\n opportunityIds: opportunityIds\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false)\n const handleOpenConfirmationModal = () => { setOpenConfirmationModal(true) }\n const handleCloseConfirmationModal = () => { setOpenConfirmationModal(false) }\n const handleConfirmDeleteModal = () => {\n bulkDeleteOpportunities()\n setOpenConfirmationModal(false)\n }\n\n const areYouSureModal = (\n \n \n \n

You are about to delete { allSelected ? opportunityData.count : selectedResources.length} opportunities. This action cannot be undone.

\n
\n
\n \n )\n\n const promotedBulkActions = [\n {\n content: 'Delete opportunities',\n onAction: handleOpenConfirmationModal,\n },\n ];\n\n const paginationMarkup = (\n \n );\n\n const tabsMarkup = (\n <>\n \n
\n\n
\n
\n \n
\n
\n\n \n {rowMarkup}\n \n\n
\n\n {paginationMarkup}\n\n
\n
\n\n {areYouSureModal}\n \n );\n\n return tabsMarkup;\n};\n\nAdminOpportunityTable.propTypes = {\n onOpportunityClick: PropTypes.func,\n itemLimit: PropTypes.number,\n};\n\nexport default AdminOpportunityTable;\n","import React from \"react\";\nimport styled, { keyframes } from \"styled-components\";\nimport PropTypes from \"prop-types\";\nimport { Text, BlockStack } from \"@shopify/polaris\";\n\nconst quotes = [\n \"Reading quote data...\",\n \"Processing line items...\",\n \"Checking grammar and spelling...\",\n \"Adjusting the gravitational constant...\",\n \"Reticulating splines...\",\n \"Moving satellites into position...\",\n \"Spinning the wheel of fortune...\",\n \"Adjusting flux capacitor...\",\n \"Reassuring AI...\",\n \"May the force be with you...\",\n \"Checking things twice...\",\n \"Entangling superstrings...\",\n \"Searching for plot device...\",\n \"Installing dependencies...\",\n \"Distracted by cat gifs...\",\n \"Updating dependencies...\",\n \"Loading funny message...\",\n \"Mining some bitcoins...\",\n \"Updating to Windows Vista...\",\n \"Initializing the initializer...\",\n \"Pushing pixels...\",\n \"Downloading downloader...\",\n \"Debugging debugger...\",\n \"Grabbing extra minions...\",\n \"Doing the heavy lifting...\",\n \"Shifting the bits...\"\n];\n\nconst setQuotes = () => {\n return styled.div`\n width: 100%;\n height: auto;\n max-width: 320px;\n margin: 48px auto;\n text-align: center;\n transform: translateY(-50%);\n z-index: 999999;\n `;\n};\n\nconst transition = keyframes`\n from {\n width: 0%;\n }\n to {\n width: 100%;\n }\n`;\n\nconst setLoader = ({ speed }) => {\n return styled.div`\n width: 100%;\n height: 8px;\n background-color: #449da7;\n border-radius: var(--p-border-radius-base);\n max-width: 320px;\n animation: ${transition} ${speed}s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;\n `;\n};\n\nclass LoadingText extends React.Component {\n static get propTypes() {\n return {\n loading: PropTypes.bool.isRequired,\n random: PropTypes.bool,\n speed: PropTypes.number,\n backgroundColorQuotes: PropTypes.string,\n backgroundColorBackground: PropTypes.string,\n opacityBackground: PropTypes.number,\n fontSizeTitle: PropTypes.string,\n colorTitle: PropTypes.string,\n fontFamilyTitle: PropTypes.string,\n isMobile: PropTypes.bool\n };\n }\n\n constructor(props) {\n super(props);\n\n this.state = {\n currentQuotesIndex: 0,\n };\n\n this.startQuotes();\n }\n\n componentWillReceiveProps(nextProps) {\n if (this.props.loading !== nextProps.loading && !nextProps.loading) {\n clearInterval(this.quotesInterval);\n }\n }\n\n componentWillUnmount() {\n clearInterval(this.quotesInterval);\n }\n\n getNextQuote(quotes) {\n // if at the end of our quotes, then go back to the first quote\n if (this.state.currentQuotesIndex === quotes.length - 1) {\n return 0;\n }\n\n return this.state.currentQuotesIndex + 1;\n }\n\n getRandomQuote(quotes) {\n return Math.floor(Math.random() * quotes.length);\n }\n\n startQuotes() {\n const speedInMilliseconds = this.props.speed * 1000;\n\n this.quotesInterval = setInterval(() => {\n this.setState({\n currentQuotesIndex: this.props.random\n ? this.getRandomQuote(quotes)\n : this.getNextQuote(quotes),\n });\n }, speedInMilliseconds);\n }\n\n render() {\n const Loader = setLoader(this.props);\n const Quotes = setQuotes();\n\n return (\n \n \n {!this.props.isMobile && {quotes[this.state.currentQuotesIndex]}}\n {this.props.isMobile &&

{quotes[this.state.currentQuotesIndex]}

}\n \n
\n
\n );\n }\n}\n\nLoadingText.defaultProps = {\n random: false,\n speed: 1.5,\n backgroundColorLoader: \"yellow\",\n backgroundColorQuotes: \"black\",\n backgroundColorBackground: \"black\",\n opacityBackground: 0.5,\n fontSizeTitle: \"18px\",\n colorTitle: \"white\",\n fontFamilyTitle: \"Arial\",\n};\n\nexport default LoadingText;\n","import React, { useEffect, useRef } from \"react\";\nimport LoadingText from \"./LoadingText\";\nimport PropTypes from \"prop-types\";\n\nconst AiLoader = (props) => {\n\n const aiCanvas = useRef()\n\n useEffect(() => {\n if(aiCanvas) {\n neuralNet(aiCanvas.current, props)\n }\n }, [aiCanvas])\n\n return (\n <>\n \n \n \n );\n}\n\nAiLoader.propTypes = {\n isMobile: PropTypes.bool,\n isWithinCard: PropTypes.bool,\n};\n\nexport default AiLoader;\n\nconst neuralNet = (c, props) => {\n // Copyright (c) 2022 by Matei Copot (https://codepen.io/towc/pen/wGjXGY)\n\n // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\n // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n var w = (c.width = props.isMobile ? \"180\" : \"280\"),\n h = (c.height = props.isMobile ? \"180\" : \"280\"),\n ctx = c.getContext(\"2d\"),\n opts = {\n range: props.isMobile ? 80 : 120,\n baseConnections: 3,\n addedConnections: 5,\n baseSize: 4,\n minSize: 1,\n dataToConnectionSize: 0.4,\n sizeMultiplier: 0.7,\n allowedDist: 40,\n baseDist: 40,\n addedDist: 30,\n connectionAttempts: 100,\n\n dataToConnections: 1,\n baseSpeed: 0.04,\n addedSpeed: 0.05,\n baseGlowSpeed: 0.4,\n addedGlowSpeed: 0.4,\n\n rotVelX: 0.003,\n rotVelY: 0.002,\n\n // canvas backgorund color: --p-background\n repaintColor: props.isMobile || props.isWithinCard ? \"#fff\" : \"#f1f2f4\",\n\n connectionColor: \"#98c6cd\",\n rootColor: \"hsla(0,60%,light%,alp)\",\n endColor: \"hsla(160,20%,light%,alp)\",\n dataColor: \"hsla(40,80%,light%,alp)\",\n\n wireframeWidth: 0.1,\n // wireframe color: --p-border-shadow-subdued\n wireframeColor: \"#babfc4\",\n\n depth: props.isMobile ? 180 : 250,\n focalLength: props.isMobile ? 180 : 250,\n vanishPoint: {\n x: w / 2,\n y: h / 2,\n },\n },\n squareRange = opts.range * opts.range,\n squareAllowed = opts.allowedDist * opts.allowedDist,\n mostDistant = opts.depth + opts.range;\n\n var sinY = 0;\n var cosY = 0;\n var sinX = sinY;\n var cosX = cosY;\n var connections = [],\n toDevelop = [],\n data = [],\n all = [],\n tick = 0,\n totalProb = 0,\n animating = false,\n Tau = Math.PI * 2;\n\n // ctx.fillStyle = \"rgba(255, 255, 255, 1)\";\n // ctx.fillRect(0, 0, w, h);\n // ctx.fillStyle = \"#ccc\";\n // ctx.font = \"50px Verdana\";\n // ctx.fillText(\n // \"Calculating Nodes\",\n // w / 2 - ctx.measureText(\"Calculating Nodes\").width / 2,\n // h / 2 - 15\n // );\n\n window.setTimeout(init, 4); // to render the loading screen\n\n function init() {\n connections.length = 0;\n data.length = 0;\n all.length = 0;\n toDevelop.length = 0;\n\n var connection = new Connection(0, 0, 0, opts.baseSize);\n connection.step = Connection.rootStep;\n connections.push(connection);\n all.push(connection);\n connection.link();\n\n while (toDevelop.length > 0) {\n toDevelop[0].link();\n toDevelop.shift();\n }\n\n if (!animating) {\n animating = true;\n anim();\n }\n }\n function Connection(x, y, z, size) {\n this.x = x;\n this.y = y;\n this.z = z;\n this.size = size;\n\n this.screen = {};\n\n this.links = [];\n this.probabilities = [];\n this.isEnd = false;\n\n this.glowSpeed = opts.baseGlowSpeed + opts.addedGlowSpeed * Math.random();\n }\n Connection.prototype.link = function () {\n if (this.size < opts.minSize) return (this.isEnd = true);\n\n var links = [],\n connectionsNum =\n (opts.baseConnections + Math.random() * opts.addedConnections) | 0,\n attempt = opts.connectionAttempts,\n alpha,\n beta,\n len,\n cosA,\n sinA,\n cosB,\n sinB,\n pos = {},\n passedExisting,\n passedBuffered;\n\n while (links.length < connectionsNum && --attempt > 0) {\n alpha = Math.random() * Math.PI;\n beta = Math.random() * Tau;\n len = opts.baseDist + opts.addedDist * Math.random();\n\n cosA = Math.cos(alpha);\n sinA = Math.sin(alpha);\n cosB = Math.cos(beta);\n sinB = Math.sin(beta);\n\n pos.x = this.x + len * cosA * sinB;\n pos.y = this.y + len * sinA * sinB;\n pos.z = this.z + len * cosB;\n\n if (pos.x * pos.x + pos.y * pos.y + pos.z * pos.z < squareRange) {\n passedExisting = true;\n passedBuffered = true;\n for (var i = 0; i < connections.length; ++i)\n if (squareDist(pos, connections[i]) < squareAllowed)\n passedExisting = false;\n\n if (passedExisting)\n for (var i = 0; i < links.length; ++i)\n if (squareDist(pos, links[i]) < squareAllowed)\n passedBuffered = false;\n\n if (passedExisting && passedBuffered)\n links.push({ x: pos.x, y: pos.y, z: pos.z });\n }\n }\n\n if (links.length === 0) this.isEnd = true;\n else {\n for (var i = 0; i < links.length; ++i) {\n var pos = links[i],\n connection = new Connection(\n pos.x,\n pos.y,\n pos.z,\n this.size * opts.sizeMultiplier\n );\n\n this.links[i] = connection;\n all.push(connection);\n connections.push(connection);\n }\n for (var i = 0; i < this.links.length; ++i) toDevelop.push(this.links[i]);\n }\n };\n Connection.prototype.step = function () {\n this.setScreen();\n this.screen.color = (this.isEnd ? opts.endColor : opts.connectionColor)\n .replace(\"light\", 30 + ((tick * this.glowSpeed) % 30))\n .replace(\"alp\", 0.2 + (1 - this.screen.z / mostDistant) * 0.8);\n\n for (var i = 0; i < this.links.length; ++i) {\n ctx.moveTo(this.screen.x, this.screen.y);\n ctx.lineTo(this.links[i].screen.x, this.links[i].screen.y);\n }\n };\n Connection.rootStep = function () {\n this.setScreen();\n this.screen.color = opts.rootColor\n .replace(\"light\", 30 + ((tick * this.glowSpeed) % 30))\n .replace(\"alp\", (1 - this.screen.z / mostDistant) * 0.8);\n\n for (var i = 0; i < this.links.length; ++i) {\n ctx.moveTo(this.screen.x, this.screen.y);\n ctx.lineTo(this.links[i].screen.x, this.links[i].screen.y);\n }\n };\n Connection.prototype.draw = function () {\n ctx.fillStyle = this.screen.color;\n ctx.beginPath();\n ctx.arc(\n this.screen.x,\n this.screen.y,\n this.screen.scale * this.size,\n 0,\n Tau\n );\n ctx.fill();\n };\n function Data(connection) {\n this.glowSpeed = opts.baseGlowSpeed + opts.addedGlowSpeed * Math.random();\n this.speed = opts.baseSpeed + opts.addedSpeed * Math.random();\n\n this.screen = {};\n\n this.setConnection(connection);\n }\n Data.prototype.reset = function () {\n this.setConnection(connections[0]);\n this.ended = 2;\n };\n Data.prototype.step = function () {\n this.proportion += this.speed;\n\n if (this.proportion < 1) {\n this.x = this.ox + this.dx * this.proportion;\n this.y = this.oy + this.dy * this.proportion;\n this.z = this.oz + this.dz * this.proportion;\n this.size =\n (this.os + this.ds * this.proportion) * opts.dataToConnectionSize;\n } else this.setConnection(this.nextConnection);\n\n this.screen.lastX = this.screen.x;\n this.screen.lastY = this.screen.y;\n this.setScreen();\n this.screen.color = opts.dataColor\n .replace(\"light\", 40 + ((tick * this.glowSpeed) % 50))\n .replace(\"alp\", 0.2 + (1 - this.screen.z / mostDistant) * 0.6);\n };\n Data.prototype.draw = function () {\n if (this.ended) return --this.ended; // not sre why the thing lasts 2 frames, but it does\n\n ctx.beginPath();\n ctx.strokeStyle = this.screen.color;\n ctx.lineWidth = this.size * this.screen.scale;\n ctx.moveTo(this.screen.lastX, this.screen.lastY);\n ctx.lineTo(this.screen.x, this.screen.y);\n ctx.stroke();\n };\n Data.prototype.setConnection = function (connection) {\n if (connection.isEnd) this.reset();\n else {\n this.connection = connection;\n this.nextConnection =\n connection.links[(connection.links.length * Math.random()) | 0];\n\n this.ox = connection.x; // original coordinates\n this.oy = connection.y;\n this.oz = connection.z;\n this.os = connection.size; // base size\n\n this.nx = this.nextConnection.x; // new\n this.ny = this.nextConnection.y;\n this.nz = this.nextConnection.z;\n this.ns = this.nextConnection.size;\n\n this.dx = this.nx - this.ox; // delta\n this.dy = this.ny - this.oy;\n this.dz = this.nz - this.oz;\n this.ds = this.ns - this.os;\n\n this.proportion = 0;\n }\n };\n Connection.prototype.setScreen = Data.prototype.setScreen = function () {\n var x = this.x,\n y = this.y,\n z = this.z;\n\n // apply rotation on X axis\n var Y = y;\n y = y * cosX - z * sinX;\n z = z * cosX + Y * sinX;\n\n // rot on Y\n var Z = z;\n z = z * cosY - x * sinY;\n x = x * cosY + Z * sinY;\n\n this.screen.z = z;\n\n // translate on Z\n z += opts.depth;\n\n this.screen.scale = opts.focalLength / z;\n this.screen.x = opts.vanishPoint.x + x * this.screen.scale;\n this.screen.y = opts.vanishPoint.y + y * this.screen.scale;\n };\n function squareDist(a, b) {\n var x = b.x - a.x,\n y = b.y - a.y,\n z = b.z - a.z;\n\n return x * x + y * y + z * z;\n }\n\n function anim() {\n window.requestAnimationFrame(anim);\n\n ctx.globalCompositeOperation = \"source-over\";\n ctx.fillStyle = opts.repaintColor;\n ctx.fillRect(0, 0, w, h);\n\n ++tick;\n\n var rotX = tick * opts.rotVelX,\n rotY = tick * opts.rotVelY;\n\n cosX = Math.cos(rotX);\n sinX = Math.sin(rotX);\n cosY = Math.cos(rotY);\n sinY = Math.sin(rotY);\n\n if (data.length < connections.length * opts.dataToConnections) {\n var datum = new Data(connections[0]);\n data.push(datum);\n all.push(datum);\n }\n\n ctx.globalCompositeOperation = \"darken\";\n ctx.beginPath();\n ctx.lineWidth = opts.wireframeWidth;\n ctx.strokeStyle = opts.wireframeColor;\n all.map(function (item) {\n item.step();\n });\n ctx.stroke();\n ctx.globalCompositeOperation = \"source-over\";\n all.sort(function (a, b) {\n return b.screen.z - a.screen.z;\n });\n all.map(function (item) {\n item.draw();\n });\n\n /*ctx.beginPath();\n\tctx.strokeStyle = 'red';\n\tctx.arc( opts.vanishPoint.x, opts.vanishPoint.y, opts.range * opts.focalLength / opts.depth, 0, Tau );\n\tctx.stroke();*/\n }\n\n // window.addEventListener(\"resize\", function () {\n // opts.vanishPoint.x = (w = c.width = window.innerWidth) / 2;\n // opts.vanishPoint.y = (h = c.height = window.innerHeight) / 2;\n // ctx.fillRect(0, 0, w, h);\n // });\n // window.addEventListener(\"click\", init);\n};\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Banner,\n LegacyStack,\n DropZone,\n Thumbnail,\n Text,\n FormLayout,\n List,\n} from \"@shopify/polaris\";\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nimport { useCreateVendorPaymentAttachmentMutation } from \"../../services/api\";\n\nimport { DirectUploadProvider } from \"react-activestorage-provider\";\nimport { isMobile } from \"react-device-detect\";\n\nimport FadeIn from \"../FadeIn\";\nimport AiLoader from \"../AiLoader\";\n\nconst AttachmentUpload = (props) => {\n const {\n isWithinCard,\n onDragEnter,\n onDragLeave,\n onDragOver,\n onDrop,\n onFileDialogClose,\n onUploadSuccess,\n openFileDialog,\n opportunityId,\n vendorPaymentId,\n children,\n hasDroppedInvoice,\n finalInvoice,\n } = props;\n\n const [createVendorPaymentAttachment, { isLoading }] =\n useCreateVendorPaymentAttachmentMutation();\n\n const [file, setFile] = useState();\n\n const [rejectedFiles, setRejectedFiles] = useState([]);\n const hasError = rejectedFiles.length > 0;\n const [fileUploadSuccess, setFileUploadSuccess] = useState(false);\n const [fileUploadError, setFileUploadError] = useState(false);\n\n const handleDropZoneDrop = useCallback(\n (_dropFiles, acceptedFiles, _rejectedFiles, handleUpload) => {\n onDrop && onDrop(_dropFiles, acceptedFiles, _rejectedFiles);\n\n setFileUploadSuccess(false);\n setFileUploadError(false);\n setFile((file) => acceptedFiles[0]);\n setRejectedFiles(_rejectedFiles);\n\n handleUpload(acceptedFiles);\n },\n [onDrop]\n );\n\n const validImageTypes = [\"image/jpeg\", \"image/png\"];\n\n const fileUpload = !file && ;\n const uploadedFiles = file && (\n \n \n \n
\n {file.name} {file.size} bytes\n
\n
\n
\n );\n\n const fileTypeErrorMessage = hasError && (\n \n \n {rejectedFiles.map((file, index) => (\n \n {`\"${file.name}\" is not supported. File type must be .pdf, .png, or .jpg.`}\n \n ))}\n \n \n );\n\n const handleAttachment = (signedIds) => {\n // Remove set file to nil entirely\n // setFile();\n\n return createVendorPaymentAttachment({\n body: {\n invoice: signedIds[0],\n ...(vendorPaymentId && { id: vendorPaymentId }),\n ...(opportunityId && { opportunity_id: opportunityId }),\n },\n finalInvoice: finalInvoice,\n })\n .unwrap()\n .then((result) => {\n setFileUploadSuccess(true);\n onUploadSuccess && onUploadSuccess(result);\n return { status: \"success\" };\n })\n .catch((error) => {\n setFileUploadError(true);\n console.log(error);\n });\n };\n\n const token = window.localStorage.getItem(\"access-token\");\n const client = window.localStorage.getItem(\"client\");\n const uid = window.localStorage.getItem(\"uid\");\n\n return (\n {\n return <>\n {!isMobile && (\n \n \n \n \n \n \n \n \n \n )}\n\n {isMobile && isLoading && (\n \n \n \n \n \n )}\n\n {!isLoading && (\n \n {/* {fileUploadSuccess && (\n \n We have received your document. If you would like to upload\n an additional attachment, please do so now.\n \n )} */}\n {fileUploadError && !hasError && (\n \n We were unable to upload the document you provided due to a\n system error. Please try again in a few minutes.\n \n )}\n {fileTypeErrorMessage}\n \n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload\n )\n }\n onFileDialogClose={onFileDialogClose}\n openFileDialog={openFileDialog}\n variableHeight\n >\n {uploadedFiles}\n {fileUpload}\n {children}\n \n \n )}\n ;\n }}\n />\n );\n};\n\nAttachmentUpload.propTypes = {\n isWithinCard: PropTypes.bool,\n vendorPaymentId: PropTypes.string,\n onDragEnter: PropTypes.func,\n onDragLeave: PropTypes.func,\n onDragOver: PropTypes.func,\n onDrop: PropTypes.func,\n onFileDialogClose: PropTypes.func,\n onUploadSuccess: PropTypes.func,\n openFileDialog: PropTypes.bool,\n opportunityId: PropTypes.string,\n vendorPaymentId: PropTypes.string,\n children: PropTypes.object,\n hasDroppedInvoice: PropTypes.bool,\n finalInvoice: PropTypes.bool,\n};\n\nexport default AttachmentUpload;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Card, Text } from \"@shopify/polaris\";\nimport { BrowserView, MobileView, isMobile, isDesktop } from \"react-device-detect\";\n\n// import addDocumentSVG from \"../assets/addDocument.svg\";\n\nconst DropQuoteCard = (props) => {\n const { dropzone, onDrop, onUploadSuccess } = props;\n\n const [openFileDialog, setOpenFileDialog] = useState(false);\n const handleClick = () => {\n if (isMobile) {\n setOpenFileDialog(true);\n }\n };\n\n return (\n
\n \n \n
\n Get started by uploading a quote\n
\n
\n\n e.stopPropagation()}\n style={{ paddingTop: \"18px\" }}\n className={isDesktop ? \"FortifyDropzone--mobileHidden\" : \"\"}\n >\n {React.cloneElement(dropzone, {\n onDrop: onDrop,\n onUploadSuccess: onUploadSuccess,\n openFileDialog: openFileDialog,\n onFileDialogClose: () => setOpenFileDialog(false),\n })}\n \n\n e.stopPropagation()}\n style={{ paddingTop: \"18px\" }}\n >\n {React.cloneElement(dropzone, {\n onDrop: onDrop,\n onUploadSuccess: onUploadSuccess,\n openFileDialog: openFileDialog,\n onFileDialogClose: () => setOpenFileDialog(false),\n })}\n \n \n \n );\n};\n\nDropQuoteCard.propTypes = {\n dropzone: PropTypes.any,\n onDrop: PropTypes.func,\n onUploadSuccess: PropTypes.func,\n};\n\nexport default DropQuoteCard;\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport { Card, Page, Layout } from \"@shopify/polaris\";\nimport { isMobile } from \"react-device-detect\";\n\nimport AdminOpportunityTable from \"../../../components/Admin/Opportunity/Table\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport AttachmentUpload from \"../../../components/VendorPayment/AttachmentUpload\";\nimport DropQuoteCard from \"../../../components/DropQuoteCard\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst Opportunities = () => {\n const history = useHistory();\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const handleOpportunityClick = (opportunity) => {\n const clientId = opportunity.attributes.client_id;\n history.push({\n pathname: `/clients/${clientId}/opportunities/${opportunity.id}`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const [isDraggingInvoice, setIsDraggingInvoice] = useState(false);\n const [hasDroppedInvoice, setHasDroppedInvoice] = useState(false);\n const handleInvoiceDragOver = () => {\n setIsDraggingInvoice(true);\n };\n const handleInvoiceDragEnter = () => {\n setIsDraggingInvoice(true);\n };\n const handleInvoiceDragLeave = () => {\n setIsDraggingInvoice(false);\n };\n const handleInvoiceDrop = () => {\n setHasDroppedInvoice(true);\n };\n const navigateToConfirmInvoice = (vendorPayment) => {\n history.push(`/invoices/${vendorPayment.id}/confirm`);\n };\n const handleInvoiceUploadSuccess = (vendorPayment) => {\n navigateToConfirmInvoice(vendorPayment);\n };\n\n const PageMarkup = (\n <>\n {isDraggingInvoice && (\n \n \n \n \n \n \n \n )}\n\n {!isDraggingInvoice && (\n \n \n \n \n \n }\n />\n\n {!isMobile && (\n
\n \n
\n )}\n
\n\n \n \n \n \n \n
\n
\n
\n )}\n \n );\n\n return currentContact ? PageMarkup : ;\n};\n\nexport default Opportunities;\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Badge,\n Box,\n Card,\n Filters,\n Page,\n ResourceList,\n ResourceItem,\n Text,\n InlineStack,\n Layout,\n Pagination,\n Truncate,\n} from \"@shopify/polaris\";\n\nimport { useGetAdminTeamsQuery } from \"../../../services/api\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst AdminTeams = () => {\n const resourceName = {\n singular: \"team\",\n plural: \"teams\",\n };\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const history = useHistory();\n\n const { data: teams = [], isLoading: isLoadingTeam } =\n useGetAdminTeamsQuery();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n // const [selectedTab, setSelectedTab] = useState(0);\n // const handleTabChange = useCallback(\n // (selectedTabIndex) => setSelectedTab(selectedTabIndex),\n // []\n // );\n\n const filterControl = (\n \n );\n\n useEffect(() => {\n let filtered = [];\n\n if (queryValue && teams.length) {\n const results = teams.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n filtered = results;\n } else {\n if (!teams.length) {\n filtered = [];\n } else {\n filtered = teams;\n }\n }\n\n setFilteredItems(filtered);\n\n return () => setFilteredItems([]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [queryValue, teams.length]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(10);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const teamsResourceList = (\n renderItem(item, history)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n filterControl={filterControl}\n loading={isLoadingTeam}\n flushFilters\n />\n );\n\n const paginationMarkup = (\n \n );\n\n const accountIndexPageMarkup = (\n \n \n \n \n \n {teamsResourceList}\n \n {paginatedFilteredItems.length > 1 && (\n {paginationMarkup}\n )}\n \n \n \n \n {/* {addAccountModal} */}\n \n \n );\n\n return currentContact ? accountIndexPageMarkup : ;\n};\n\nconst renderItem = (item, history) => {\n const {\n id,\n attributes: { name, vendor_locked },\n } = item;\n\n const handleTeamClick = () => {\n navigateToAdminTeamShow();\n };\n\n const navigateToAdminTeamShow = () => {\n history.push({\n pathname: `/admin/teams/${id}`,\n state: { team: { ...item } },\n });\n };\n\n return (\n \n \n \n \n {name}\n \n \n {vendor_locked && 🔒 Locked vendor}\n \n \n );\n};\n\nexport default AdminTeams;\n","import React, {\n useState,\n useEffect,\n useCallback,\n forwardRef,\n useRef,\n} from \"react\";\nimport { useDebounce } from \"use-debounce\";\n\nimport {\n Autocomplete,\n Icon,\n LegacyStack,\n Tag,\n Checkbox,\n TextField,\n Select,\n FormLayout,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport { SearchIcon, PlusCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { validateEmail } from \"../../../../utilities\";\n\nimport {\n useSearchContactsQuery,\n useInviteMembershipsByTeamMutation,\n useCreateTeamContactMutation,\n} from \"../../../../services/api\";\n\nconst AdminTeamContactForm = forwardRef((props, ref) => {\n const {\n isOrganizationAdmin,\n teamId,\n memberships,\n onAfterShareWithContacts,\n setInviteParams,\n isShowNewContactForm,\n addNewContact,\n setAddNewContact,\n } = props;\n\n const [createMembershipsByTeam, { isLoading: isCreatingMemberships }] =\n useInviteMembershipsByTeamMutation();\n\n const [createTeamContact, { isLoading: isCreatingTeamContact }] =\n useCreateTeamContactMutation();\n\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n const [notifyContacts, setNotifyContacts] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [selectedRole, setSelectedRole] = useState(\"\");\n const [notifMsg, setNotifMsg] = useState(\"\");\n const handleSelectChange = useCallback((value) => {\n setSelectedRole(value);\n }, []);\n\n const handleCheckboxChange = useCallback((newChecked) => {\n setNotifyContacts(newChecked);\n setNotifMsg(\"\");\n }, []);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState([]);\n const [contactOptions, setContactOptions] = useState([]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds(selectedContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n useEffect(() => {\n if (addNewContact) {\n submit();\n }\n }, [addNewContact]);\n\n const handleRemoveContact = useCallback(\n (contact) => {\n const options = [...selectedContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedContactOptions(options);\n\n const optionIds = [...selectedContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedContactOptionIds(optionIds);\n },\n [selectedContactOptionIds, selectedContactOptions]\n );\n\n const shareButton = useRef(null);\n\n useEffect(() => {\n setInviteParams({\n notifMsg,\n notifyContacts,\n contactIds: selectedContactOptionIds,\n isManager: selectedRole == \"Admin\",\n isFinanceSpecialist: selectedRole == \"Finance specialist\",\n });\n }, [notifyContacts, selectedRole, notifMsg, selectedContactOptionIds]);\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n let contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n let filteredContactList = [];\n for (let i = 0; i < contactList.length; i++) {\n let inMemberships = false;\n for (let j = 0; j < memberships.length; j++) {\n if (memberships[j].attributes.contact_id === contactList[i].value)\n inMemberships = true;\n }\n\n if (!inMemberships) filteredContactList.push(contactList[i]);\n }\n\n setContactOptions(filteredContactList);\n }\n }, [searchContacts, memberships]);\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: newContactFormDirty,\n } = useForm({\n fields: {\n first_name: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n },\n async onSubmit(form) {\n return createTeamContact({\n teamId: teamId,\n notifyContacts: true,\n inviteUser: true,\n notifMsg: notifMsg,\n teamAdmin: selectedRole == \"Admin\",\n contact: { ...form },\n })\n .unwrap()\n .then(() => {\n setAddNewContact(false);\n isShowNewContactForm(false);\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n setShowNewContactForm(false);\n setNotifyContacts(false);\n setNotifMsg(\"\");\n\n // pull focus from autocomplete\n shareButton.current.click();\n\n onAfterShareWithContacts();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n const verticalContentMarkup =\n selectedContactOptions.length > 0 ? (\n \n {selectedContactOptions.map((contact, index) => {\n return (\n handleRemoveContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const contactShareTextField = (\n <>\n }\n placeholder=\"Search\"\n value={contactSearchValue}\n verticalContent={verticalContentMarkup}\n connectedRight={\n
\n \n
\n }\n />\n \n );\n\n return <>\n {showNewContactForm ? (\n (\n \n \n \n \n \n \n \n
\n \n
\n
\n
)\n ) : (\n \n {\n isShowNewContactForm(true);\n setShowNewContactForm(true);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n },\n }}\n />\n \n {notifyContacts && (\n \n )}\n \n )}\n ;\n});\nAdminTeamContactForm.displayName = \"TeamContactForm\";\nAdminTeamContactForm.propTypes = {\n isOrganizationAdmin: PropTypes.bool,\n onAfterShareWithContacts: PropTypes.func,\n setInviteParams: PropTypes.func,\n teamId: PropTypes.string,\n memberships: PropTypes.array,\n isShowNewContactForm: PropTypes.func,\n addNewContact: PropTypes.any,\n setAddNewContact: PropTypes.any,\n};\n\nexport default AdminTeamContactForm;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Text,\n Box,\n Card,\n Button,\n Badge,\n BlockStack,\n InlineStack,\n useBreakpoints,\n} from '@shopify/polaris';\n\nconst VendorLockCard = (props) => {\n const {\n team,\n toggleVendorLock\n } = props;\n\n const [vendorLocked, setVendorLocked] = useState(team?.attributes?.vendor_locked);\n const [isLoadingVendorLock, setIsLoadingVendorLock] = useState(false);\n const handleToggleVendorLock = useCallback(() => {\n setIsLoadingVendorLock(true);\n setVendorLocked((vendorLocked) => !vendorLocked);\n toggleVendorLock();\n }, []);\n const contentStatus = team?.attributes?.vendor_locked ? 'Turn off' : 'Turn on';\n const toggleId = 'setting-toggle-uuid';\n const descriptionId = 'setting-toggle-description-uuid';\n const {mdDown} = useBreakpoints();\n const badgeStatus = team?.attributes?.vendor_locked ? 'success' : undefined;\n const badgeContent = team?.attributes?.vendor_locked ? 'On' : 'Off';\n\n useEffect(() => {\n if(isLoadingVendorLock){\n setIsLoadingVendorLock(false);\n }\n }, [team]);\n\n const settingStatusMarkup = (\n \n {badgeContent}\n \n );\n\n const settingTitle = (\n \n \n {settingStatusMarkup}\n \n );\n\n const actionMarkup = (\n \n {contentStatus}\n \n );\n\n const headerMarkup = (\n \n \n {settingTitle}\n {!mdDown ? (\n \n {actionMarkup}\n \n ) : null}\n \n \n );\n\n const descriptionMarkup = (\n \n \n When vendor lock is on, members can only build opportunities for this vendor.\n When vendor lock is off, members can set the vendor from the quote page.\n \n {mdDown ? (\n \n {actionMarkup}\n \n ) : null}\n \n );\n\n return (\n \n \n \n \n {headerMarkup}\n {descriptionMarkup}\n \n \n { team?.attributes?.vendor_locked ?\n (\n This team is locked to {team?.attributes?.vendor_origin_name}\n )\n : (<>)}\n \n \n );\n\n};\n\nVendorLockCard.propTypes = {\n team: PropTypes.any,\n toggleVendorLock: PropTypes.func,\n};\n\nexport default VendorLockCard;\n\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Text,\n Box,\n Card,\n Button,\n Badge,\n BlockStack,\n InlineStack,\n useBreakpoints,\n} from '@shopify/polaris';\n\nconst PurchaseOptionLockCard = (props) => {\n const {\n team,\n togglePurchaseOptionLock\n } = props;\n\n const [purchaseOptionLocked, setPurchaseOptionLocked] = useState(team?.attributes?.financing_option_locked);\n const [isLoadingPurchaseOptionLock, setIsLoadingPurchaseOptionLock] = useState(false);\n const handleTogglePurchaseOptionLock = useCallback(() => {\n setIsLoadingPurchaseOptionLock(true);\n setPurchaseOptionLocked((purchaseOptionLocked) => !purchaseOptionLocked);\n togglePurchaseOptionLock();\n }, []);\n const contentStatus = team?.attributes?.financing_option_locked ? 'Turn off' : 'Turn on';\n const toggleId = 'setting-toggle-uuid';\n const descriptionId = 'setting-toggle-description-uuid';\n const {mdDown} = useBreakpoints();\n const badgeStatus = team?.attributes?.financing_option_locked ? 'success' : undefined;\n const badgeContent = team?.attributes?.financing_option_locked ? 'On' : 'Off';\n\n useEffect(() => {\n if(isLoadingPurchaseOptionLock){\n setIsLoadingPurchaseOptionLock(false);\n }\n }, [team]);\n\n const settingStatusMarkup = (\n \n {badgeContent}\n \n );\n\n const settingTitle = (\n \n \n {settingStatusMarkup}\n \n );\n\n const actionMarkup = (\n \n {contentStatus}\n \n );\n\n const headerMarkup = (\n \n \n {settingTitle}\n {!mdDown ? (\n \n {actionMarkup}\n \n ) : null}\n \n \n );\n\n const descriptionMarkup = (\n \n \n When purchase option lock is on, members cannot add, remove, or edit purchase options.\n When purchase option lock is off, members can adjust terms for any option.\n \n {mdDown ? (\n \n {actionMarkup}\n \n ) : null}\n \n );\n\n return (\n \n \n \n \n {headerMarkup}\n {descriptionMarkup}\n \n \n { team?.attributes?.financing_option_locked ?\n (\n This team is locked to purchase option templates\n )\n : (<>)}\n \n \n );\n\n};\n\nPurchaseOptionLockCard.propTypes = {\n team: PropTypes.any,\n togglePurchaseOptionLock: PropTypes.func,\n};\n\nexport default PurchaseOptionLockCard;\n\n\n","import React, {\n useImperativeHandle,\n forwardRef,\n useEffect,\n useState,\n} from \"react\";\nimport {\n FormLayout,\n TextField,\n Form,\n Banner,\n Button,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\n\nimport {\n useUpdateTeamMutation,\n} from \"../../../services/api\";\n\nconst AdminTeamForm = forwardRef((props, ref) => {\n const { teamId, team, onCreateOrUpdate, onEdit } = props;\n\n const [updateTeam, { isLoading: isUpdatingTeam }] = useUpdateTeamMutation();\n\n const {\n fields,\n submit,\n submitting,\n // reset,\n submitErrors,\n makeClean,\n dirty: teamFormDirty,\n } = useForm({\n fields: {\n name: useField({\n value: team ? team.attributes.name : \"\",\n validates: [notEmpty(\"Team name is required\")],\n }),\n },\n async onSubmit(form) {\n if (teamId) {\n return updateTeam({ team_id: teamId, team_name: form.name, ...form })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update team\" }],\n };\n });\n }\n },\n });\n\n useEffect(() => {\n onEdit(teamFormDirty);\n }, [onEdit, teamFormDirty]);\n\n useImperativeHandle(ref, () => ({\n handleSubmitForm() {\n submit();\n },\n }));\n\n const [showErrorBanner, setShowErrorBanner] = useState(false);\n const errorBanner = submitErrors.length > 0 && showErrorBanner && (\n \n {submitErrors.map((error, index) => {\n return

{error.message}

;\n })}\n
\n );\n\n return (\n
\n \n {errorBanner}\n \n {teamFormDirty && (\n \n )}\n \n
\n );\n});\nAdminTeamForm.displayName = \"AdminTeamForm\";\n\nAdminTeamForm.propTypes = {\n teamId: PropTypes.string,\n team: PropTypes.object,\n onCreateOrUpdate: PropTypes.func,\n onEdit: PropTypes.func,\n};\n\nexport default AdminTeamForm;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Page,\n InlineStack,\n Button,\n Layout,\n Badge,\n Toast,\n ResourceItem,\n Truncate,\n Avatar,\n Modal,\n IndexTable,\n Text,\n Select,\n Spinner,\n BlockStack,\n} from \"@shopify/polaris\";\n\nimport { DeleteIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetAdminTeamQuery,\n useGetMembershipsByAdminTeamQuery,\n useInviteMembershipsByTeamMutation,\n useUpdateAdminMembershipRoleMutation,\n useDeleteAdminMembershipMutation,\n useUpdateTeamMutation,\n} from \"../../../services/api\";\n\nimport { formatShortDateTime } from \"../../../utilities\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport AdminTeamContactForm from \"../../../components/Admin/Team/Contact/Form\";\nimport VendorLockCard from \"../../../components/Team/VendorLockCard\";\nimport PurchaseOptionLockCard from \"../../../components/Team/PurchaseOptionLockCard\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\nimport AdminTeamForm from \"../../../components/Admin/Team/Form\";\n\nconst AdminTeamShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const { id: teamId } = useParams();\n\n const [inviteParams, setInviteParams] = useState({\n contactIds: [],\n notifyContacts: false,\n notifMsg: \"\",\n isManager: false,\n });\n const [showMembersInviteModal, setShowMembersInviteModal] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [addNewContact, setAddNewContact] = useState(false);\n const [selectedMemberUpdate, setSelectedMemberUpdate] = useState(\"\");\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n const [memberToRemove, setMemberToRemove] = useState(null);\n\n const { currentContact, isOrganizationAdmin } = useContext(CurrentContactContext);\n\n const navigateToAdminIndex = useCallback(() => {\n history.push(\"/admin\");\n }, [history]);\n\n useEffect(() => {\n if (!teamId) {\n navigateToAdminIndex();\n }\n }, [teamId, navigateToAdminIndex]);\n\n const [inviteMember, { isLoading: isInviting }] =\n useInviteMembershipsByTeamMutation();\n\n const [updateMemberRole, { isLoading: isUpdatingRole }] =\n useUpdateAdminMembershipRoleMutation();\n\n const [removeMembership, { isLoading: isRemovingMember }] =\n useDeleteAdminMembershipMutation();\n\n const { data: team = { attributes: {} }, isLoading: isLoadingTeam } =\n useGetAdminTeamQuery({ id: teamId });\n\n const {\n data: memberships = [],\n isLoading: isLoadingMemberships,\n isFetching: isFetchingMemberships,\n } = useGetMembershipsByAdminTeamQuery(teamId);\n\n const [updateTeam, { isLoading: isUpdatingTeam }] = useUpdateTeamMutation();\n\n const toggleVendorLock = () => {\n return updateTeam({ team_id: teamId })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not toggle vendor lock.\" }],\n };\n });\n };\n\n const togglePurchaseOptionLock = () => {\n return updateTeam({ team_id: teamId, financing_option_locked: true })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not toggle purchase option lock.\" }],\n };\n });\n };\n\n const handleInviteToTeam = () => {\n inviteMember({ teamId, ...inviteParams })\n .then(() => {\n setToastMessage(`Contacts invited to ${team.attributes.name}`);\n setShowToast(true);\n setShowMembersInviteModal(false);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n };\n\n const handleSelectFocus = useCallback(\n (value) => setSelectedMemberUpdate(value),\n [selectedMemberUpdate]\n );\n\n const handleUpdateRole = useCallback(\n (value) => {\n updateMemberRole({\n memberId: selectedMemberUpdate,\n team_id: teamId,\n isManager: value == \"Admin\",\n isFinanceSpecialist: value == \"Finance specialist\",\n })\n .then(() => {\n setToastMessage(`Role updated to ${value}`);\n setShowToast(true);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n },\n [selectedMemberUpdate]\n );\n\n const handleRemoveMember = () => {\n removeMembership({\n memberId: memberToRemove.attributes.id,\n team_id: teamId,\n }).then(() => {\n setToastMessage(`${memberToRemove.attributes.contact_full_name} has been removed from the team`);\n setShowToast(true);\n setMemberToRemove(null);\n return { status: \"success\" };\n }).catch((error) => console.log(error));\n };\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const handleOpenConfirmationModal = (member) => {\n setMemberToRemove(member);\n setOpenConfirmationModal(true);\n };\n const handleCloseConfirmationModal = () => {\n setOpenConfirmationModal(false);\n setMemberToRemove(null);\n };\n const handleConfirmDeleteModal = () => {\n handleRemoveMember();\n setOpenConfirmationModal(false);\n };\n\n const areYouSureModal = (\n \n \n \n You are about to remove this member from the team.\n \n \n \n );\n\n const rowMarkup =\n memberships.length > 0\n ? memberships.map((item, index) => (\n \n \n \n {item.attributes.contact_full_name}\n \n \n {item.attributes.contact_email}\n \n {item.attributes.last_logged_in_at\n ? formatShortDateTime(\n new Date(item.attributes.last_logged_in_at)\n )\n : \"\"}\n \n \n {(isUpdatingRole ||\n isFetchingMemberships ||\n isLoadingMemberships) &&\n selectedMemberUpdate == item.attributes.id ? (\n \n \n \n ) : (\n \n handleSelectFocus(item.attributes.id)}\n onChange={handleUpdateRole}\n value={\n item.attributes.is_team_admin ? \"Admin\" :\n item.attributes.is_finance_specialist ?\n \"Finance specialist\" : \"Member\"\n }\n disabled={\n isUpdatingRole ||\n isFetchingMemberships ||\n isLoadingMemberships\n }\n />\n handleOpenConfirmationModal(item)}\n tone=\"critical\"\n />\n \n )}\n \n \n ))\n : [];\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n };\n\n const inviteMembersModal = (\n setShowMembersInviteModal(false)}\n title={`Invite new members to ${team.attributes.name}`}\n large={true}\n primaryAction={{\n content: \"Send\",\n loading: addNewContact,\n onAction: () => {\n if (showNewContactForm) {\n setAddNewContact(true);\n } else {\n handleInviteToTeam();\n setShowMembersInviteModal(false);\n }\n },\n }}\n >\n \n {}}\n teamId={teamId}\n memberships={memberships}\n ref={teamContactFormRef}\n setInviteParams={setInviteParams}\n isShowNewContactForm={setShowNewContactForm}\n addNewContact={addNewContact}\n setAddNewContact={setAddNewContact}\n />\n \n \n );\n\n const renderMembershipItem = (item) => {\n const {\n id,\n attributes: { contact_full_name, roles, contact_email, contact_initials },\n } = item;\n\n const avatar = (\n
\n \n
\n );\n\n return (\n \n \n
\n \n {contact_full_name}\n \n \n {contact_email}\n \n
\n\n {roles.map((role, index) => {\n return (\n
\n {role.name}\n
\n );\n })}\n
\n \n );\n };\n\n const teamContactFormRef = useRef();\n\n const handleTeamUpdate = () => {\n setToastMessage(\"Team updated\");\n setShowToast(true);\n };\n\n const pageMarkup = (\n \n \n \n {/* Team details */}\n \n \n
\n \n \n Basic information\n \n \n
\n\n
\n {}}\n />\n
\n
\n
\n\n \n \n \n \n \n \n\n \n \n
\n \n \n Members\n \n\n \n \n
\n\n
\n \n {rowMarkup}\n \n
\n
\n
\n {inviteMembersModal}\n {areYouSureModal}\n {toastMarkup}\n
\n
\n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default AdminTeamShow;\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n// import { useSelector } from \"react-redux\";\n\nimport {\n Avatar,\n Icon,\n Card,\n Filters,\n Page,\n ResourceList,\n ResourceItem,\n Text,\n BlockStack,\n InlineStack,\n Thumbnail,\n Layout,\n Pagination,\n Truncate,\n Modal,\n Tooltip,\n} from \"@shopify/polaris\";\nimport { AlertCircleIcon, AlertTriangleIcon, StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { useGetAdminAccountsQuery } from \"../../../services/api\";\nimport AccountForm from \"../../../components/Account/Form\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst AdminVendorIndex = () => {\n const resourceName = {\n singular: \"vendor\",\n plural: \"vendors\",\n };\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const history = useHistory();\n\n const { data: accounts = [], isLoading } = useGetAdminAccountsQuery();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [selectedTab, setSelectedTab] = useState(0);\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelectedTab(selectedTabIndex),\n []\n );\n\n const filterControl = (\n \n );\n\n useEffect(() => {\n let filtered = [];\n\n if (queryValue && accounts.length) {\n const results = accounts.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n filtered = results;\n } else {\n if (!accounts.length) {\n filtered = [];\n } else {\n filtered = accounts;\n }\n }\n\n const vendors = filtered.filter((account) => {\n return account.attributes.type === \"Vendor\";\n });\n setFilteredItems(vendors);\n\n return () => setFilteredItems([]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [queryValue, accounts.length, selectedTab]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(10);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const accountsResourceList = (\n renderItem(item, history)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n filterControl={filterControl}\n loading={isLoading}\n flushFilters\n />\n );\n\n const paginationMarkup = (\n \n );\n\n const navigateToNewVendorShow = (vendor) => {\n history.push({\n pathname: `/admin/vendors/${vendor.id}`,\n state: {\n showToast: true,\n toastMessage: \"Vendor created.\",\n },\n });\n };\n\n const accountFormRef = useRef();\n const [showAddAccountModal, setShowAddAccountModal] = useState(false);\n const handleCloseModal = () => {\n setShowAddAccountModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n\n const handleCreateAccount = (vendor) => {\n handleCloseModal();\n navigateToNewVendorShow(vendor);\n };\n\n const addAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const accountIndexPageMarkup = (\n \n {\n setShowAddAccountModal(true);\n },\n },\n ]}\n >\n \n \n \n
{accountsResourceList}
\n {paginatedFilteredItems.length > 1 && (\n
\n {paginationMarkup}\n
\n )}\n
\n
\n
\n {addAccountModal}\n \n
\n );\n\n return currentContact ? accountIndexPageMarkup : ;\n};\n\nconst renderItem = (item, history) => {\n const {\n id,\n attributes: {\n name,\n billing_address,\n billing_city,\n billing_state,\n reviewed,\n type,\n has_unapproved_opportunities,\n },\n } = item;\n const media = (\n \n );\n const thumbnail = (\n \n );\n\n const handleAccountClick = () => {\n navigateToAdminAccountShow();\n };\n\n const navigateToAdminAccountShow = () => {\n history.push({\n pathname: `/admin/vendors/${id}`,\n state: { account: { ...item } },\n });\n };\n\n const billingCityState =\n billing_city && billing_state\n ? `${billing_city}, ${billing_state}`\n : billing_city\n ? billing_city\n : billing_state\n ? billing_state\n : null;\n\n return (\n \n \n
\n \n {name}\n \n \n \n {type} ∙ {billingCityState || \"-\"}\n \n \n
\n\n
\n \n {has_unapproved_opportunities && (\n
\n \n \n \n
\n )}\n\n {!reviewed && (\n
\n \n \n \n
\n )}\n
\n
\n
\n \n );\n};\n\nexport default AdminVendorIndex;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Avatar,\n Card,\n Filters,\n ResourceList,\n ResourceItem,\n Text,\n LegacyStack,\n Pagination,\n EmptyState,\n Truncate,\n} from \"@shopify/polaris\";\n\nimport { useGetAdminAccountTeamsQuery } from \"../../services/api\";\n\nconst TeamList = (props) => {\n const resourceName = {\n singular: \"team\",\n plural: \"teams\",\n };\n\n const history = useHistory();\n const navigateTo = (path) => {\n history.push(path);\n };\n\n const {\n vendorId,\n selectable,\n filter\n } = props;\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(() => setQueryValue(undefined), []);\n const handleQueryChange = (value) => setQueryValue(value);\n\n const { data: teams = [], isLoading: isLoadingTeams } = useGetAdminAccountTeamsQuery(vendorId, { skip: !vendorId });\n\n const filterControl = teams.length ? (\n \n ) : undefined;\n\n useEffect(() => {\n if (queryValue) {\n const results = teams.filter((item) => {\n return (\n item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase())\n );\n });\n setFilteredItems(results);\n } else {\n if (!teams) {\n setFilteredItems([]);\n } else {\n setFilteredItems(teams);\n }\n }\n }, [queryValue, teams]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(5);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const navigateToCreditSubmissionNew = () => {\n history.push({\n pathname: `/opportunities/${opportunityId}/credit_submissions/new`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const onTeamClick = (team) => {\n history.push({\n pathname: `/admin/teams/${team.id}`,\n state: { team: { ...team } },\n });\n }\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup = !teams.length ? (\n \n

\n This account has no teams.\n

\n
\n ) : undefined;\n\n const teamsResourceList = (\n renderItem(item, id, index)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filter ? filterControl : false}\n loading={isLoadingTeams}\n selectable={selectable}\n />\n );\n\n const renderItem = (item, id, index) => {\n const {\n name\n } = item.attributes;\n\n return (\n }\n onClick={() => onTeamClick(item)}\n accessibilityLabel={`View details for contact`}\n verticalAlignment=\"center\"\n >\n \n \n

\n \n {name}\n \n

\n
\n
\n \n );\n };\n\n return (\n <>\n {teamsResourceList}\n {paginatedFilteredItems.length > 1 && (\n \n {paginationMarkup}\n \n )}\n \n );\n};\n\nTeamList.propTypes = {\n vendorId: PropTypes.string,\n selectable: PropTypes.bool,\n filter: PropTypes.bool,\n};\n\nexport default TeamList;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Avatar,\n Card,\n Filters,\n ResourceList,\n ResourceItem,\n Text,\n LegacyStack,\n BlockStack,\n InlineStack,\n Pagination,\n EmptyState,\n Truncate,\n} from \"@shopify/polaris\";\n\nimport { useGetAdminVendorAdminsQuery } from \"../../../services/api\";\n\nconst AdminList = (props) => {\n const resourceName = {\n singular: \"admin\",\n plural: \"admins\",\n };\n\n const {\n vendorId,\n selectable,\n filter\n } = props;\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(() => setQueryValue(undefined), []);\n const handleQueryChange = (value) => setQueryValue(value);\n\n const { data: admins = [], isLoading: isLoadingAdmins } = useGetAdminVendorAdminsQuery(vendorId, { skip: !vendorId });\n\n const filterControl = admins.length ? (\n \n ) : undefined;\n\n useEffect(() => {\n if (queryValue) {\n const results = admins.filter((item) => {\n return (\n item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase())\n );\n });\n setFilteredItems(results);\n } else {\n if (!admins) {\n setFilteredItems([]);\n } else {\n setFilteredItems(admins);\n }\n }\n }, [queryValue, admins]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(5);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup = !admins.length ? (\n \n

\n This account has no admins.\n

\n
\n ) : undefined;\n\n const adminsResourceList = (\n renderItem(item, id, index)}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filter ? filterControl : false}\n loading={isLoadingAdmins}\n selectable={selectable}\n />\n );\n\n const renderItem = (item, id, index) => {\n const {\n full_name\n } = item.attributes;\n\n return (\n }\n accessibilityLabel={`View details for contact`}\n verticalAlignment=\"center\"\n >\n \n \n

\n \n {full_name}\n \n

\n
\n
\n \n );\n };\n\n return (\n <>\n {adminsResourceList}\n {paginatedFilteredItems.length > 1 && (\n {paginationMarkup}\n )}\n \n );\n};\n\nAdminList.propTypes = {\n vendorId: PropTypes.string,\n selectable: PropTypes.bool,\n filter: PropTypes.bool,\n};\n\nexport default AdminList;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Badge,\n Filters,\n IndexTable,\n ResourceList,\n ResourceItem,\n Text,\n LegacyStack,\n BlockStack,\n InlineStack,\n Pagination,\n EmptyState,\n Icon,\n Truncate,\n ChoiceList,\n Tag,\n Link,\n Modal,\n SkeletonBodyText,\n SkeletonThumbnail,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetAdminVendorOpportunitiesQuery,\n useUpdateTagOpportunitiesMutation,\n useGetTagsQuery,\n} from \"../../../services/api\";\n\nimport { formatCurrency, formatNumericDate } from \"../../../utilities\";\nimport emptySearchCompanies from \"../../../assets/emptySearchCompanies.svg\";\n\nconst AdminVendorOpportunityList = (props) => {\n const resourceName = {\n singular: \"opportunity\",\n plural: \"opportunites\",\n };\n\n const {\n stageFilters,\n format,\n onCreateOpportunity,\n onOpportunityClick,\n tagContext,\n vendorId,\n pageLimit = 5,\n } = props;\n\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [selectedItems, setSelectedItems] = useState([]);\n const [allSelected, setAllSeleted] = useState(false);\n const [filteredItems, setFilteredItems] = useState([]);\n const [selectedResources, setSelectedResources] = useState([]);\n\n // const {selectedResources, allResourcesSelected, handleSelectionChange} =\n // useIndexResourceState(customers);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [opportunityStage, setOpportunityStage] = useState([...stageFilters]);\n const handleOpportunityStageChange = useCallback((value) => {\n setOpportunityStage(value);\n }, []);\n\n const [limit, setLimit] = useState(pageLimit);\n const [page, setPage] = useState(1);\n const [isLoading, setIsLoading] = useState(true);\n const [appliedFilters, setAppliedFilters] = useState([]);\n const [disambiguatedFilters, setDisambiguatedFilters] = useState(null);\n\n const {\n data: { opportunities = [], included = [], meta = {} } = {},\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n } = useGetAdminVendorOpportunitiesQuery({\n vendorId: vendorId,\n page: page,\n limit: limit,\n filters: disambiguatedFilters,\n sort: sortValue,\n search: searchValue,\n });\n\n const [updateTagOpportunities, { isLoading: isTagging }] =\n useUpdateTagOpportunitiesMutation();\n\n const { data: tags, isLoading: fetchingTags } = useGetTagsQuery();\n\n const [choiceListTags, setChoiceListTags] = useState([]);\n const [selectedTag, setSelectedTag] = useState(\n fetchingTags ? [] : tags[0]?.name\n );\n const [opportunityTags, setOpportunityTags] = useState([]);\n\n const handleSelectedTagChange = useCallback((tagVal) => {\n setSelectedTag(tagVal);\n }, []);\n\n useEffect(() => {\n if (tags) {\n setChoiceListTags(\n tags.map((tag) => {\n return { label: tag.attributes.name, value: tag.id };\n })\n );\n }\n }, [tags]);\n\n useEffect(() => {\n const count = meta.total_count || 0;\n if (count && opportunities) {\n const emptyOpportunity = {\n attributes: {\n name: \"\",\n stage_name: \"\",\n total_finance_amount: \"\",\n financing_option_count: \"\",\n financing_type: \"\",\n has_financing_option: \"\",\n has_unapproved_financing_options: \"\",\n },\n };\n\n const list = new Array(count).fill(emptyOpportunity);\n\n const lowerLimit = (page - 1) * limit;\n const upperLimit = Math.min(page * limit, count);\n\n opportunities.forEach((opportunity, index) => {\n const listIndex = lowerLimit + index;\n if (listIndex < upperLimit) {\n list[listIndex] = opportunity;\n }\n });\n\n setFilteredItems(list);\n } else {\n setFilteredItems([]);\n }\n setIsLoading(false);\n }, [limit, opportunities, page, meta.total_count]);\n\n useEffect(() => {\n if (queryValue && queryValue.length > 0) {\n setAppliedFilters([]);\n setDisambiguatedFilters(null);\n handleOpportunityStageRemove();\n }\n }, [handleOpportunityStageRemove, queryValue]);\n\n const handleSelectionChange = (selectionType, toggleType, selection) => {\n let selectionList = [...selectedResources];\n\n if (selectionType === \"single\") {\n // Check if in selection\n let inSelectionIndex = -1;\n for (let i = 0; i < selectedResources.length; i++) {\n if (selectedResources[i] === selection) {\n inSelectionIndex = i;\n break;\n }\n }\n\n if (inSelectionIndex != -1) {\n // Remove if in list\n selectionList.splice(inSelectionIndex, 1);\n } else {\n // Add if not\n selectionList.push(selection);\n }\n\n setSelectedResources(selectionList);\n setAllSeleted(false);\n } else {\n if (allSelected || selectedResources.length === opportunities.length) {\n // Clear selection\n setSelectedResources([]);\n setAllSeleted(false);\n } else {\n // Select all\n let list = [];\n for (let i = 0; i < limit; i++) {\n list.push(i);\n }\n setSelectedResources(list);\n setAllSeleted(true);\n }\n }\n };\n\n const filters = [\n {\n key: \"opportunityStage\",\n label: \"Stage\",\n filter: (\n \n ),\n shortcut: true,\n },\n ];\n\n const handleOpportunityStageRemove = useCallback(\n (value) => {\n let opportunityStageList = [...opportunityStage];\n let index = 0;\n for (let i = 0; i < opportunityStage.length; i++) {\n if (value === opportunityStage[i]) index = i;\n }\n opportunityStageList.splice(index, 1);\n setOpportunityStage(opportunityStageList);\n },\n [opportunityStage]\n );\n\n const handleFiltersClearAll = useCallback(() => {\n handleOpportunityStageRemove();\n handleQueryValueRemove();\n }, [handleOpportunityStageRemove, handleQueryValueRemove]);\n\n const filterControl =\n opportunities.length || disambiguatedFilters || queryValue ? (\n \n ) : undefined;\n\n useEffect(() => {\n if (!isEmpty(opportunityStage)) {\n let disambiguatedFilterList = disambiguateLabel(\n \"opportunityStage\",\n opportunityStage\n );\n let filterList = [];\n const key = \"opportunityStage\";\n for (let i = 0; i < opportunityStage.length; i++) {\n filterList.push({\n key: opportunityStage[i],\n label: opportunityStage[i],\n onRemove: handleOpportunityStageRemove,\n });\n }\n setAppliedFilters(filterList);\n setDisambiguatedFilters(disambiguatedFilterList);\n } else {\n setAppliedFilters([]);\n setDisambiguatedFilters(null);\n }\n }, [handleOpportunityStageRemove, opportunityStage]);\n\n useEffect(() => {\n let filteredItems = [...opportunities];\n\n setFilteredItems(filteredItems);\n\n return () => setFilteredItems([]);\n }, [queryValue, opportunities, opportunityStage, sortValue]);\n\n const handleNextPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == Math.ceil(meta.total_count / limit)) {\n return Math.ceil(meta.total_count / limit);\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setIsLoading(true);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = limit;\n\n if (filteredItems.length) {\n const paginatedFilteredItems = filteredItems.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n if (item) resultArray[pageIndex].push(item);\n\n return resultArray;\n },\n []\n );\n\n setPaginatedFilteredItems(paginatedFilteredItems);\n }\n\n return () => setPaginatedFilteredItems([]);\n }, [filteredItems, limit]);\n\n useEffect(() => {\n if (paginatedFilteredItems.length) {\n const currentPageItems = paginatedFilteredItems[page - 1] || [];\n setCurrentPageItems(currentPageItems);\n }\n\n return () => setCurrentPageItems([]);\n }, [paginatedFilteredItems, page]);\n\n const handleTagOpportunities = () => {\n let opportunityIds = [];\n\n if (allSelected) {\n opportunityIds = opportunities.map((opportunity) => opportunity.id);\n } else {\n opportunityIds = selectedResources.map((resourceIndex) => {\n if (filteredItems[resourceIndex]) {\n return filteredItems[resourceIndex].id;\n }\n });\n }\n\n console.log(\"tagContext\", tagContext);\n return updateTagOpportunities({\n opportunity_ids: opportunityIds.join(\",\"),\n tag_context: tagContext,\n tag_ids: selectedTag.join(\",\"),\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedItems([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const untagOpportunities = () => {\n let opportunityIds = [];\n\n if (allSelected) {\n opportunityIds = opportunities.map((opportunity) => opportunity.id);\n } else {\n opportunityIds = selectedResources.map((resourceIndex) => {\n if (filteredItems[resourceIndex]) {\n return filteredItems[resourceIndex].id;\n }\n });\n }\n\n return updateTagOpportunities({\n opportunity_ids: opportunityIds.join(\",\"),\n tag_context: tagContext,\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleRemoveTag = (opportunityId, tag) => {\n return updateTagOpportunities({\n opportunity_id: opportunityId,\n tag_context: tagContext,\n tag_name: tag,\n single_remove: true,\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [openSelectTagModal, setOpenSelectTagModal] = useState(false);\n\n const selectTagModal = (\n setOpenSelectTagModal(false)}\n title=\"Add tag\"\n loading={isTagging}\n primaryAction={{\n content: \"Add tag\",\n onAction: handleTagOpportunities,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setOpenSelectTagModal(false),\n },\n ]}\n >\n \n {tags && (\n \n )}\n \n \n );\n\n const promotedBulkActions = [\n {\n content: \"Add tag\",\n onAction: () => setOpenSelectTagModal(true),\n },\n {\n content: \"Remove all tags\",\n onAction: untagOpportunities,\n },\n ];\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup =\n !opportunities.length &&\n !isLoading &&\n !disambiguatedFilters &&\n !queryValue ? (\n \n

\n Create a new opportunity for this account to track financing options\n and documents.\n

\n \n ) : undefined;\n\n const disambiguateLabel = (key, value) => {\n switch (key) {\n case \"opportunityStage\":\n return value.map((val) => `${val}`).join(\",\");\n default:\n return value;\n }\n };\n\n const isEmpty = (value) => {\n if (Array.isArray(value)) {\n return value.length === 0;\n } else {\n return value === \"\" || value == null;\n }\n };\n\n const renderItem = (item, onOpportunityClick, format, isLoading) => {\n if (isLoading) {\n return skeletonFormat();\n }\n\n return itemFormat(item, onOpportunityClick);\n };\n\n const itemFormat = (item, onOpportunityClick) => {\n const {\n id,\n attributes: {\n name,\n human_stage_name,\n total_finance_amount,\n product_description,\n originator_name,\n },\n } = item;\n\n const formattedTotalFinanceAmount = formatCurrency(total_finance_amount);\n\n return (\n onOpportunityClick(item)}\n verticalAlignment=\"center\"\n media={}\n >\n \n
\n

\n \n {name}\n \n

\n \n
\n \n {originator_name || \"-\"} ∙ {product_description}\n \n
\n
\n
\n\n \n {\n //isDesktop\n false && (\n \n {human_stage_name || \"Lead\"}\n \n )\n }\n\n
\n

{formattedTotalFinanceAmount}

\n
\n
\n
\n \n );\n };\n\n const rowMarkup = filteredItems.map((opportunity, index) => {\n const {\n id,\n attributes: {\n name,\n total_amount,\n originator_name,\n updated_at,\n stagename,\n vendor_tags = [],\n },\n } = opportunity;\n\n const isOpportunityTbd = stagename === \"tbd\";\n const isOpportunityClosedLost = stagename === \"closed_lost\";\n const isOpportunityClosedWon = stagename === \"closed_won\";\n const isOpportunityOpen =\n !isOpportunityClosedLost && !isOpportunityClosedWon && !isOpportunityTbd;\n\n if (vendor_tags == undefined) return null;\n\n const formattedTotalFinanceAmount = formatCurrency(total_amount);\n\n return (\n \n \n onOpportunityClick(opportunity)}\n >\n \n {name}\n \n \n \n\n \n {formatNumericDate(new Date(updated_at))}\n \n\n \n {isOpportunityTbd && TBD}\n {isOpportunityClosedLost && Lost}\n {isOpportunityClosedWon && Won}\n {isOpportunityOpen && Open}\n \n\n \n \n
\n {originator_name}\n
\n
\n
\n\n \n {formattedTotalFinanceAmount}\n \n\n \n \n {vendor_tags.length > 0 ? (\n vendor_tags.map((tag, index) => (\n handleRemoveTag(id, tag)}>\n {tag}\n \n ))\n ) : (\n <>\n )}\n \n \n \n );\n });\n\n const skeletonFormat = () => {\n return (\n }\n accessibilityLabel={`View details for ...`}\n verticalAlignment=\"center\"\n >\n \n
\n \n
\n \n \n \n
\n \n );\n };\n\n const opportunitiesResourceList = (\n \n renderItem(item, onOpportunityClick, format, isLoading)\n }\n promotedBulkActions={promotedBulkActions}\n selectedItems={selectedItems}\n selectedItemsCount={allSelected ? \"All\" : selectedItems.length}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filterControl}\n sortValue={sortValue}\n sortOptions={[{ label: \"Most recent\", value: \"UPDATED_AT_DESC\" }]}\n onSortChange={(selected) => {\n setSortValue(selected);\n }}\n loading={isLoading || queryIsLoading || queryIsFetching}\n flushFilters\n />\n );\n\n const opportunityIndexTable = (\n \n {rowMarkup}\n \n );\n\n return (\n <>\n {opportunityIndexTable}\n
\n {/* {opportunitiesResourceList} */}\n {paginatedFilteredItems.length > 1 && (\n {paginationMarkup}\n )}\n {selectTagModal}\n \n );\n};\n\nAdminVendorOpportunityList.propTypes = {\n format: PropTypes.string,\n stageFilters: PropTypes.array,\n onCreateOpportunity: PropTypes.func,\n onOpportunityClick: PropTypes.func,\n tagContext: PropTypes.string,\n vendorId: PropTypes.string,\n pageLimit: PropTypes.number,\n};\n\nexport default AdminVendorOpportunityList;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Thumbnail,\n Filters,\n ResourceList,\n ResourceItem,\n Text,\n Pagination,\n EmptyState,\n Truncate,\n Button,\n BlockStack,\n InlineStack,\n} from \"@shopify/polaris\";\nimport { StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { useGetAdminVendorProgramsQuery } from \"../../../services/api\";\n\nconst VendorProgramList = (props) => {\n const history = useHistory();\n\n const resourceName = {\n singular: \"vendor program\",\n plural: \"vendor programs\",\n };\n\n const {\n vendorId,\n selectable,\n filter,\n externalSelectedHandler,\n canSelectMultiple = true\n } = props;\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [queryValue, setQueryValue] = useState(undefined);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const { data: vendorPrograms = [], isLoading: isLoadingVendorPrograms } =\n useGetAdminVendorProgramsQuery({ vendorId: vendorId });\n\n const handleSetNewSelectedItems = (value) => {\n\n let setValue\n if (canSelectMultiple) {\n setValue = value\n } else {\n\n if (value.length === vendorPrograms.length) {\n setValue = []\n } else if (value.length > 1) {\n setValue = [value[value.length - 1]]\n } else {\n setValue = value\n }\n }\n\n // Call external handler if present\n if(externalSelectedHandler) externalSelectedHandler(setValue)\n setSelectedItems(setValue)\n }\n\n const filterControl = vendorPrograms.length ? (\n \n ) : undefined;\n\n useEffect(() => {\n if (queryValue) {\n const results = vendorPrograms.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n setFilteredItems(results);\n } else {\n if (!vendorPrograms) {\n setFilteredItems([]);\n } else {\n setFilteredItems(vendorPrograms);\n }\n }\n }, [queryValue, vendorPrograms]);\n\n const [currentPage, setCurrentPage] = useState(1);\n const handleNextPage = () => {\n setCurrentPage((state) => {\n if (state == paginatedFilteredItems.length) {\n return paginatedFilteredItems.length;\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setCurrentPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [itemsPerPage, setItemsPerPage] = useState(5);\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n useEffect(() => {\n const perPage = itemsPerPage;\n\n const paginatedFilteredItems = filteredItems?.vendor_programs?.data?.reduce(\n (resultArray, item, index) => {\n const pageIndex = Math.floor(index / perPage);\n if (!resultArray[pageIndex]) {\n resultArray[pageIndex] = [];\n }\n resultArray[pageIndex].push(item);\n return resultArray;\n },\n []\n );\n\n paginatedFilteredItems && setPaginatedFilteredItems(paginatedFilteredItems);\n }, [filteredItems, itemsPerPage]);\n\n useEffect(() => {\n const pageIndex = currentPage - 1;\n const currentPageItems = paginatedFilteredItems[pageIndex] || [];\n setCurrentPageItems(currentPageItems);\n }, [paginatedFilteredItems, currentPage]);\n\n const paginationMarkup = (\n \n );\n\n const emptyStateMarkup = !vendorPrograms.length ? (\n \n

This account has no vendor programs.

\n
\n ) : undefined;\n\n const vendorProgramsResourceList = (\n renderItem(item, id, index)}\n selectedItems={selectedItems}\n onSelectionChange={handleSetNewSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filter ? filterControl : false}\n loading={isLoadingVendorPrograms}\n selectable={selectable}\n />\n );\n\n const renderItem = (item, id, index) => {\n const {\n attributes: { name, default_financing_option_type },\n } = item;\n\n const thumbnail = (\n \n );\n\n const handleAccountClick = () => {\n navigateToAdminVendorProgramShow();\n };\n\n const navigateToAdminVendorProgramShow = () => {\n history.push({\n pathname: `/admin/vendor_programs/${id}`,\n state: { account: { ...item } },\n });\n };\n\n return (\n \n \n \n {name}\n \n \n {default_financing_option_type}\n \n \n \n );\n };\n\n return (\n <>\n {vendorProgramsResourceList}\n {paginatedFilteredItems.length > 1 && (\n <>\n {paginationMarkup}\n
\n \n )}\n {vendorPrograms.length > 1 && (\n <>\n \n \n \n
\n \n )}\n \n );\n};\n\nVendorProgramList.propTypes = {\n vendorId: PropTypes.string,\n selectable: PropTypes.bool,\n filter: PropTypes.bool,\n externalSelectedHandler: PropTypes.func,\n canSelectMultiple: PropTypes.bool,\n};\n\nexport default VendorProgramList;\n","import React, {\n useState,\n useEffect,\n useCallback,\n forwardRef,\n useImperativeHandle,\n useRef,\n} from \"react\";\nimport { useDebounce } from \"use-debounce\";\nimport {\n useSearchContactsQuery,\n useCreateAdminVendorAdminMutation,\n} from \"../../services/api\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport {\n Autocomplete,\n FormLayout,\n Icon,\n LegacyStack,\n Tag,\n TextField,\n Checkbox,\n Text,\n} from \"@shopify/polaris\";\nimport { SearchIcon, PlusCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { validateEmail } from \"../../utilities\";\n\nconst VendorContactForm = forwardRef((props, ref) => {\n const {\n vendorId,\n onAfterShareWithContacts,\n onNotifyContacts,\n setInviteParams,\n isShowNewContactForm,\n addNewContact,\n setAddNewContact,\n } = props;\n\n const [notifMsg, setNotifMsg] = useState(\"\");\n const [notifyContacts, setNotifyContacts] = useState(false);\n const handleCheckboxChange = useCallback((newChecked) => {\n setNotifyContacts(newChecked);\n onNotifyContacts(newChecked);\n setNotifMsg(\"\");\n }, []);\n\n const [addVendorAdmin, { isLoading: isCreatingVendorAdminContact }] =\n useCreateAdminVendorAdminMutation();\n\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState([]);\n const [contactOptions, setContactOptions] = useState([]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds(selectedContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n const handleRemoveContact = useCallback(\n (contact) => {\n const options = [...selectedContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedContactOptions(options);\n\n const optionIds = [...selectedContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedContactOptionIds(optionIds);\n if (optionIds.length < 1) {\n setNotifyContacts(false);\n onNotifyContacts(false);\n }\n },\n [selectedContactOptionIds, selectedContactOptions]\n );\n\n const shareButton = useRef(null);\n\n const handleShareWithContacts = () => {\n if (!selectedContactOptionIds.length) return;\n setNotifyContacts(false);\n\n const form = {\n contact_ids: selectedContactOptionIds,\n notifMsg: notifMsg,\n notifyContacts: notifyContacts,\n };\n setNotifMsg(\"\");\n return addVendorAdmin({ vendorId: vendorId, ...form })\n .unwrap()\n .then(() => {\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n // pull focus from autocomplete\n shareButton.current.click();\n\n onAfterShareWithContacts();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n useEffect(() => {\n setInviteParams({\n notifMsg,\n notifyContacts,\n contactIds: selectedContactOptionIds,\n });\n }, [notifyContacts, notifMsg, selectedContactOptionIds, setInviteParams]);\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n const contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n setContactOptions(contactList);\n }\n }, [searchContacts]);\n\n useImperativeHandle(ref, () => ({\n handleShareWithContacts: handleShareWithContacts,\n }));\n\n const verticalContentMarkup =\n selectedContactOptions.length > 0 ? (\n \n {selectedContactOptions.map((contact, index) => {\n return (\n handleRemoveContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const contactShareTextField = (\n <>\n }\n placeholder=\"Search\"\n value={contactSearchValue}\n verticalContent={verticalContentMarkup}\n />\n \n \n \n {notifyContacts && (\n
\n Notification Message\n
\n \n
\n )}\n \n );\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: newContactFormDirty,\n } = useForm({\n fields: {\n first_name: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n },\n async onSubmit(form) {\n return addVendorAdmin({\n vendorId: vendorId,\n notifyContacts: true,\n inviteUser: true,\n notifMsg: notifMsg,\n contact: { ...form },\n })\n .unwrap()\n .then(() => {\n setAddNewContact(false);\n isShowNewContactForm(false);\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n setShowNewContactForm(false);\n setNotifyContacts(false);\n setNotifMsg(\"\");\n\n // pull focus from autocomplete\n shareButton.current.click();\n\n onAfterShareWithContacts();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n useEffect(() => {\n if (addNewContact) {\n submit();\n }\n }, [addNewContact]);\n\n return <>\n {showNewContactForm ? (\n (\n \n \n \n \n \n \n )\n ) : (\n <>\n {\n isShowNewContactForm(true);\n setShowNewContactForm(true);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n },\n }}\n />\n \n \n \n \n )}\n ;\n});\nVendorContactForm.displayName = \"VendorContactForm\";\nVendorContactForm.propTypes = {\n onNotifyContacts: PropTypes.func,\n onAfterShareWithContacts: PropTypes.func,\n vendorId: PropTypes.string,\n setInviteParams: PropTypes.func,\n isShowNewContactForm: PropTypes.func,\n addNewContact: PropTypes.any,\n setAddNewContact: PropTypes.any,\n};\n\nexport default VendorContactForm;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\nimport { useDebounce } from \"use-debounce\";\n\nimport {\n Card,\n Page,\n Layout,\n Labelled,\n Modal,\n Toast,\n Banner,\n BlockStack,\n Button,\n Autocomplete,\n Icon,\n Spinner,\n TextField,\n InlineStack,\n InlineGrid,\n Text\n} from \"@shopify/polaris\";\nimport { SearchIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetAdminAccountQuery,\n useCreateAdminAccountReviewMutation,\n useGetAdminVendorProgramsQuery,\n useGetAdminAccountTeamsQuery,\n useSearchAdminTeamsQuery,\n useUpdateAdminVendorTeamsMutation,\n useSearchContactsQuery,\n useUpdateAdminVendorAdminsMutation,\n useGetAdminVendorAdminsQuery,\n useCreateAdminTeamMutation,\n useUpdateAdminVendorVendorProgramMutation\n} from \"../../../services/api\";\n\nimport AccountForm from \"../../../components/Account/Form\";\nimport { formatLongDateTime } from \"../../../utilities\";\nimport TeamList from \"../../../components/Team/List\";\nimport AdminList from \"../../../components/Admin/Vendor/AdminList\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport AdminVendorOpportunityList from \"../../../components/Admin/Vendor/OpportunityList\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport VendorProgramList from \"../../../components/Admin/Vendor/VendorProgramList\";\nimport VendorContactForm from \"../../../components/VendorContact/Form\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst AdminVendorShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { id: vendorId } = useParams();\n\n useEffect(() => {\n if (!vendorId) {\n navigateToAdminAccountsIndex();\n }\n }, [vendorId, navigateToAdminAccountsIndex]);\n\n const { account: accountObject } = location?.state?.account\n ? location.state\n : {\n account: { attributes: {} },\n };\n\n const { data: account = accountObject } = useGetAdminAccountQuery(vendorId);\n const [createAccountReview, { isLoading: isCreatingAccountReview }] =\n useCreateAdminAccountReviewMutation();\n\n const { data: vendorPrograms = [], isLoading: isLoadingVendorPrograms } =\n useGetAdminVendorProgramsQuery({ vendorId: vendorId });\n\n const {\n data: teams = [],\n refetch: refetchTeams,\n isLoading: isLoadingTeams,\n } = useGetAdminAccountTeamsQuery(vendorId, { skip: !vendorId });\n\n const [teamName, setTeamName] = useState(\"\");\n\n const [teamSearchValue, setTeamSearchValue] = useState(\"\");\n const [teamSearchQuery] = useDebounce(teamSearchValue, 500);\n const { data: searchTeams = [], isLoading: isLoadingSearchTeams } =\n useSearchAdminTeamsQuery({ search: teamSearchQuery });\n\n const [updateAdminVendorTeams, { isLoading: isUpdatingAdminVendorTeams }] =\n useUpdateAdminVendorTeamsMutation();\n\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const {\n data: admins = [],\n refetch: refetchAdmins,\n isLoading: isLoadingAdmins,\n } = useGetAdminVendorAdminsQuery(vendorId, { skip: !vendorId });\n\n const [updateAdminVendorAdmins, { isLoading: isUpdatingAdminVendorAdmins }] =\n useUpdateAdminVendorAdminsMutation();\n\n const [createAdminTeam, { isLoading: isCreatingTeam }] =\n useCreateAdminTeamMutation();\n\n const [updateAdminVendorVendorProgram, { isLoading: isUpdatingAdminVendorVendorProgram }] =\n useUpdateAdminVendorVendorProgramMutation();\n\n const [teamOptions, setTeamOptions] = useState([]);\n\n useEffect(() => {\n if (searchTeams.length > 0) {\n const teamList = searchTeams.map((team, index) => {\n return {\n value: team.id,\n label: team.attributes.name,\n };\n });\n\n setTeamOptions(teamList);\n }\n }, [searchTeams]);\n\n const [selectedTeamOptions, setSelectedTeamOptions] = useState([]);\n const [selectedTeamOptionIds, setSelectedTeamOptionIds] = useState([]);\n\n const handleSelectTeam = useCallback(\n (selectedTeamIds) => {\n if (selectedTeamIds.includes(selectedTeamIds)) {\n return;\n } else {\n setSelectedTeamOptionIds(selectedTeamIds);\n\n const newSelectedTeams = searchTeams.filter((team) => {\n return selectedTeamIds.includes(team.id);\n });\n\n setSelectedTeamOptions([\n ...new Set([...selectedTeamOptions, ...newSelectedTeams]),\n ]);\n }\n },\n [searchTeams, selectedTeamOptions]\n );\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState([]);\n const [contactOptions, setContactOptions] = useState([]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds(selectedContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n const contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n setContactOptions(contactList);\n }\n }, [searchContacts]);\n\n const navigateToAdminAccountsIndex = useCallback(() => {\n history.push(\"/admin\");\n }, [history]);\n\n const navigateToOpportunityShow = useCallback(\n (clientId, opportunityId) => {\n history.push(`/clients/${clientId}/opportunities/${opportunityId}`);\n },\n [history]\n );\n\n const handleCreateOpportunity = () => {\n console.log(\"TODO: handle admin create opportunity\");\n };\n\n const handleOpportunityClick = (opportunity) => {\n navigateToOpportunityShow(opportunity.attributes.client_id, opportunity.id);\n };\n\n const opportunitiesResourceList = (\n \n );\n\n const [showEditAccountDetailsModal, setShowAccountDetailsModal] =\n useState(false);\n const handleEditAccountDetails = () => {\n setShowAccountDetailsModal(true);\n };\n const handleCloseModal = () => {\n setShowAccountDetailsModal(false);\n setShowReviewAccountModal(false);\n };\n\n const [accountFormDirty, setAccountFormDirty] = useState(false);\n const handleAccountEdit = (isDirty) => {\n setAccountFormDirty(isDirty);\n };\n const handleAccountUpdate = (data) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account updated.\");\n };\n\n const accountFormRef = useRef();\n\n const editAccountModal = (\n accountFormRef.current.handleSubmitForm(),\n disabled: !accountFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const [showReviewAccountModal, setShowReviewAccountModal] = useState(false);\n const handleReviewAccount = () => {\n return createAccountReview({\n accountId: vendorId,\n })\n .unwrap()\n .then(({ data }) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Account reviewed.\");\n return { status: \"success\" };\n })\n .catch((error) => {\n alert(\"Failed to add review.\");\n console.log(error);\n });\n };\n\n const reviewAccountModal = (\n \n Please check the legal business name and all other account details before\n adding your review.\n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const reviewedByMessage = account.attributes.reviewed\n ? `Last reviewed by ${\n account.attributes.reviewed_by_name\n } on ${formatLongDateTime(new Date(account.attributes.reviewed_at))}`\n : \"Needs review\";\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n };\n\n const handleCreateTeam = () => {\n createAdminTeam({ vendor_id: vendorId, team_name: teamName })\n .then(() => {\n setShowToast(true);\n setToastMessage(\"Team created.\");\n setShowAddTeamModal(false);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n setShowNewTeamModal(false);\n };\n\n const handleAddNewTeam = () => {\n return updateAdminVendorTeams({ id: vendorId, ids: selectedTeamOptionIds })\n .unwrap()\n .then((response) => {\n refetchTeams();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update account.\" }],\n };\n });\n };\n\n const [showAddTeamModal, setShowAddTeamModal] = useState(false);\n const [showNewTeamModal, setShowNewTeamModal] = useState(false);\n\n const teamTextField = (\n <>\n }\n placeholder=\"Search\"\n value={teamSearchValue}\n connectedRight={\n \n Add\n \n }\n />\n \n );\n\n const newTeamModal = (\n setShowNewTeamModal(false)}\n title={`New team for ${account.attributes.name}`}\n primaryAction={{\n content: \"Save\",\n onAction: () => {\n handleCreateTeam();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowNewTeamModal(false),\n },\n ]}\n >\n \n
\n \n
\n
\n \n );\n\n const addTeamModal = (\n setShowAddTeamModal(false)}\n title={\"Add Team\"}\n large={true}\n primaryAction={{\n content: \"Done\",\n onAction: () => {\n setShowAddTeamModal(false);\n },\n }}\n >\n \n \n \n \n {isLoadingTeams || isUpdatingAdminVendorTeams ? (\n
\n \n \n \n
\n ) : (\n \n )}\n
\n \n );\n\n const handleAddNewAdmins = () => {\n const payload = { ...inviteParams };\n payload.ids = payload.contactIds;\n delete payload.contactIds;\n\n return updateAdminVendorAdmins({\n id: vendorId,\n ...payload,\n })\n .unwrap()\n .then((response) => {\n refetchAdmins();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update account.\" }],\n };\n });\n };\n\n const [showAddAdminModal, setShowAddAdminModal] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [addNewContact, setAddNewContact] = useState(false);\n const [inviteParams, setInviteParams] = useState({\n contactIds: [],\n notifyContacts: false,\n notifMsg: \"\",\n isManager: false,\n });\n\n const [notifyContacts, setNotifyContacts] = useState(false);\n const vendorContactFormRef = useRef();\n\n const handleNotifyContacts = useCallback((notify) => {\n setNotifyContacts(notify);\n }, []);\n\n const handleAfterAddAdmin = () => {\n setNotifyContacts(false);\n setToastMessage(\"Admins added\");\n toggleShowToast();\n };\n\n const addAdminModal = (\n setShowAddAdminModal(false)}\n title={\"Add admin\"}\n large={true}\n primaryAction={{\n content: \"Add\",\n loading: addNewContact,\n onAction: () => {\n if (showNewContactForm) {\n setAddNewContact(true);\n } else {\n handleAddNewAdmins();\n setShowAddAdminModal(false);\n }\n },\n }}\n >\n \n {\n handleNotifyContacts(notify);\n }}\n onAfterShareWithContacts={handleAfterAddAdmin}\n vendorId={vendorId}\n ref={vendorContactFormRef}\n setInviteParams={setInviteParams}\n isShowNewContactForm={setShowNewContactForm}\n addNewContact={addNewContact}\n setAddNewContact={setAddNewContact}\n />\n \n \n );\n\n const [showEditVendorProgramModal, setShowEditVendorProgramModal] = useState(false)\n const [selectedVendorProgramList, setSelectedVendorProgramList] = useState([])\n const [loadingSaveVendorProgram, setLoadingSaveVendorProgram] = useState(false)\n\n const handleSaveNewVendorProgram = () => {\n setLoadingSaveVendorProgram(true)\n\n let payload = {\n vendor_program_id: selectedVendorProgramList[0]\n }\n\n return updateAdminVendorVendorProgram({\n id: vendorId,\n ...payload,\n })\n .unwrap()\n .then((response) => {\n setShowEditVendorProgramModal(false)\n setLoadingSaveVendorProgram(false)\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update vendor.\" }],\n };\n });\n }\n\n const editVendorProgramModal = (\n setShowEditVendorProgramModal(false)}\n title={\"Edit vendor program\"}\n large={true}\n primaryAction={{\n content: \"Save\",\n loading: loadingSaveVendorProgram,\n onAction: handleSaveNewVendorProgram,\n }}\n >\n \n \n );\n\n const pageMarkup = (\n \n setShowReviewAccountModal(true),\n },\n ]}\n fullWidth\n >\n \n {!account.attributes.reviewed && (\n \n setShowReviewAccountModal(true),\n }}\n tone=\"warning\"\n >\n \n )}\n\n {/* Account details */}\n \n \n
\n \n \n Account information\n \n\n \n \n
\n\n \n \n
\n \n

{account.attributes.name}

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

{account.attributes.dba || \"-\"}

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

{account.attributes.billing_street || \"-\"}

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

{account.attributes.billing_city || \"-\"}

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

{account.attributes.billing_state || \"-\"}

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

{account.attributes.billing_postal_code || \"-\"}

\n
\n
\n
\n
\n\n {account.attributes.reviewed && (\n
\n \n

\n \n {reviewedByMessage}\n \n

\n
\n
\n )}\n
\n\n
\n\n {vendorId && account.attributes.type != \"Lender\" && (\n \n
\n \n Opportunities\n \n
\n {opportunitiesResourceList}\n
\n )}\n
\n\n {/* Contact list */}\n {account.attributes.type == \"Vendor\" && (\n \n \n
\n \n \n Vendor Program\n \n\n \n \n
\n\n \n
\n\n
\n\n \n
\n \n \n Admins\n \n\n \n \n
\n\n \n
\n\n
\n\n \n
\n \n \n Teams\n \n\n \n \n
\n\n \n
\n
\n )}\n
\n\n {editAccountModal}\n {reviewAccountModal}\n {addTeamModal}\n {newTeamModal}\n {addAdminModal}\n {editVendorProgramModal}\n {toastMarkup}\n \n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default AdminVendorShow;\n","import React, {\n useImperativeHandle,\n forwardRef,\n useEffect,\n useState,\n} from \"react\";\nimport {\n FormLayout,\n TextField,\n Select,\n Form,\n Banner,\n Modal,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\n\nimport {\n useUpdateAdminVendorProgramMutation,\n useCreateAdminVendorProgramMutation,\n} from \"../../services/api\";\n\nconst VendorProgramForm = forwardRef((props, ref) => {\n const {\n history,\n vendorProgramId,\n vendorProgram,\n onCreateOrUpdate,\n onEdit,\n setIsCreatingVendorProgram,\n } = props;\n\n const [updateAdminVendorProgram, { isLoading: isVendorProgramUpdating }] =\n useUpdateAdminVendorProgramMutation();\n\n const [createAdminVendorProgram, { isLoading: isAddingVendorProgram }] =\n useCreateAdminVendorProgramMutation();\n\n const navigateToVendorProgramShow = (state = {}, newVendorProgramId) => {\n history.push({\n pathname: `/admin/vendor_programs/${newVendorProgramId}`,\n state: state,\n });\n };\n\n const [vendorProgramRequiresCreditSubmission] = useState(\n vendorProgram\n ? vendorProgram.attributes.requires_credit_submission\n ? \"true\"\n : \"false\"\n : \"false\"\n );\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: vendorProgramFormDirty,\n } = useForm({\n fields: {\n name: useField({\n value: vendorProgram ? vendorProgram.attributes.name : \"\",\n validates: [notEmpty(\"Vendor Program name is required\")],\n }),\n requires_credit_submission: useField({\n value: vendorProgramRequiresCreditSubmission,\n validates: [],\n }),\n standard_interest_rate: useField({\n value: vendorProgram\n ? vendorProgram.attributes.standard_interest_rate\n : 0,\n validates: [],\n }),\n standard_buy_rate: useField({\n value: vendorProgram ? vendorProgram.attributes.standard_buy_rate : 0,\n validates: [],\n }),\n term_length_max: useField({\n value: vendorProgram ? vendorProgram.attributes.term_length_max : 72,\n validates: [],\n }),\n term_length_min: useField({\n value: vendorProgram ? vendorProgram.attributes.term_length_min : 12,\n validates: [],\n }),\n },\n async onSubmit(form) {\n if (vendorProgramId.length > 0) {\n return updateAdminVendorProgram({ id: vendorProgramId, ...form })\n .unwrap()\n .then((response) => {\n makeClean();\n onCreateOrUpdate(response);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update vendor program\" }],\n };\n });\n } else {\n return createAdminVendorProgram({ ...form })\n .unwrap()\n .then((newVendorProgram) => {\n setIsCreatingVendorProgram(false);\n makeClean();\n onCreateOrUpdate();\n navigateToVendorProgramShow(\n {\n showToast: true,\n toastMessage: \"Vendor Program created.\",\n },\n newVendorProgram.id\n );\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not create vendor program\" }],\n };\n });\n }\n },\n });\n\n useEffect(() => {\n onEdit(vendorProgramFormDirty);\n }, [onEdit, vendorProgramFormDirty]);\n\n useImperativeHandle(ref, () => ({\n handleSubmitForm() {\n submit();\n },\n }));\n\n const [showErrorBanner, setShowErrorBanner] = useState(false);\n const errorBanner = submitErrors.length > 0 && showErrorBanner && (\n \n {submitErrors.map((error, index) => {\n return

{error.message}

;\n })}\n
\n );\n\n const yesOrNoOption = [\n { label: \"Yes\", value: \"true\" },\n { label: \"No\", value: \"false\" },\n ];\n\n return (\n <>\n \n
\n \n {errorBanner}\n 0}\n />\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n );\n});\nVendorProgramForm.displayName = \"VendorProgramForm\";\n\nVendorProgramForm.propTypes = {\n history: PropTypes.object,\n vendorProgramId: PropTypes.string,\n vendorProgram: PropTypes.object,\n onCreateOrUpdate: PropTypes.func,\n onEdit: PropTypes.func,\n setIsCreatingVendorProgram: PropTypes.func,\n};\n\nexport default VendorProgramForm;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n IndexTable,\n Filters,\n Text,\n Pagination,\n InlineStack,\n Link,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\nimport {\n useGetAdminVendorProgramsQuery\n} from \"../../services/api\";\n\nconst VendorProgramIndexTable = (props) => {\n\n const history = useHistory();\n\n const resourceName = {\n singular: 'vendor program',\n plural: 'vendor programs',\n };\n const truncateWidth = 16;\n\n const [limit, setLimit] = useState(20);\n const [page, setPage] = useState(1);\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n // const [sortDirection, setSortDirection] = useState(\"descending\");\n const [selected, setSelected] = useState(0);\n const [isLoading, setIsLoading] = useState(false);\n\n\n const handleQueryValueRemove = useCallback(() => setQueryValue(undefined), []);\n const handleFiltersClearAll = useCallback(() => {\n handleQueryValueRemove();\n }, [handleQueryValueRemove]\n );\n\n const {\n data: vendorProgramData = { count: 0 },\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n } = useGetAdminVendorProgramsQuery({\n vendorId: null,\n page: page,\n limit: limit,\n search: searchValue,\n });\n\n const [vendorPrograms, setVendorPrograms] = useState([]);\n\n useEffect(()=> {\n if(vendorProgramData.count){\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n let list = [];\n\n let ocount = 0;\n for(let lcount = lowerLimit; lcount < upperLimit; lcount++){\n if(vendorProgramData.vendor_programs.data[ocount]){\n list[lcount] = vendorProgramData.vendor_programs.data[ocount];\n }\n ocount += 1;\n }\n\n setVendorPrograms(list);\n setIsLoading(false);\n } else {\n setVendorPrograms([]);\n setIsLoading(false);\n }\n }, [vendorProgramData]);\n\n useEffect(() => {\n setPage(1);\n }, [searchValue]);\n\n const handleChangePage = (mode) => {\n setIsLoading(true);\n setPage((state) => {\n if (mode == \"next\" && state == Math.ceil(vendorProgramData.count / limit)) {\n return Math.ceil(vendorProgramData.count / limit);\n }else if(mode == \"previous\" && state == 1){\n return 1;\n }\n\n if(mode == \"next\"){\n return state + 1;\n }else if(mode == \"previous\"){\n return state - 1;\n }\n });\n };\n\n const handleVendorProgramClick = (vendor_program) => {\n history.push({\n pathname: `/admin/vendor_programs/${vendor_program.attributes.id}`,\n state: { account: { ...vendor_program } },\n });\n };\n\n const rowMarkup = (vendorPrograms.length > 0 ? vendorPrograms.map((item, index) => (\n \n \n \n handleVendorProgramClick(item)}\n >\n {item.attributes.name}\n \n \n \n \n
\n \n { item.attributes.financing_option_templates.length > 0 ?\n item.attributes.financing_option_templates.join(\", \") : \"--\"}\n \n
\n
\n \n
\n \n { item.attributes.envelope_templates.length > 0 ?\n item.attributes.envelope_templates.join(\", \") : \"--\"}\n \n
\n
\n \n
\n \n { item.attributes.document_list?.length > 0 ?\n item.attributes.document_list.join(\", \") : \"--\"}\n \n
\n
\n \n ),\n ) : []);\n\n const tablePagination = (\n { handleChangePage(\"previous\") } }\n onNext={()=>{ handleChangePage(\"next\") } }\n label={(\n \n Page {page} of {Math.ceil(vendorProgramData.count / limit)}\n \n )}\n />\n );\n\n return (\n
\n
\n \n
\n \n {rowMarkup}\n \n \n
\n {vendorProgramData.count > 0 ?\n tablePagination : <>\n }\n
\n
\n
\n );\n};\n\nVendorProgramIndexTable.propTypes = {\n //itemLimit: PropTypes.number,\n};\n\nexport default VendorProgramIndexTable;\n","import React, { useState, useCallback, useRef, useContext } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Page,\n Layout,\n Modal,\n Button,\n Toast,\n} from \"@shopify/polaris\";\n\nimport VendorProgramForm from \"../../../components/VendorProgram/Form\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport VendorProgramIndexTable from \"../../../components/VendorProgram/IndexTable\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst VendorPrograms = () => {\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const history = useHistory();\n const location = useLocation();\n\n const [showAddVendorProgramModal, setShowAddVendorProgramModal] = useState(false);\n const handleCloseModal = () => {\n setShowAddVendorProgramModal(false);\n };\n\n const [isCreatingVendorProgram, setIsCreatingVendorProgram] = useState(false);\n\n const [vendorProgramFormDirty, setVendorProgramFormDirty] = useState(false);\n const handleAddVendorProgram = (isDirty) => {\n setVendorProgramFormDirty(isDirty);\n };\n const handleCreateVendorProgram = () => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Vendor Program added.\");\n };\n\n const vendorProgramFormRef = useRef();\n\n const addVendorProgramModal = (\n {\n setIsCreatingVendorProgram(true);\n vendorProgramFormRef.current.handleSubmitForm();\n },\n disabled: !vendorProgramFormDirty,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const PageMarkup = (\n \n setShowAddVendorProgramModal(true)} variant=\"primary\">\n Add vendor program\n \n }\n >\n \n \n \n \n \n \n \n {toastMarkup}\n {addVendorProgramModal}\n \n \n );\n\n return currentContact ? PageMarkup : ;\n};\n\nexport default VendorPrograms;\n","import React, { useState, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Banner,\n BlockStack,\n Spinner,\n DropZone,\n Thumbnail,\n Text,\n FormLayout,\n List,\n} from \"@shopify/polaris\";\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nimport { useUpdateAdminVendorProgramMutation } from \"../../../services/api\";\n\nimport { DirectUploadProvider } from \"react-activestorage-provider\";\nimport { isMobile } from \"react-device-detect\";\n\nimport FadeIn from \"../../FadeIn\";\n\nconst AttachmentUpload = (props) => {\n const {\n onDragEnter,\n onDragLeave,\n onDragOver,\n onDrop,\n onFileDialogClose,\n openFileDialog,\n vendorProgramId,\n children,\n isDeletingAttachment,\n finalInvoice\n } = props;\n\n const [updateVendorProgram, { isLoading }] =\n useUpdateAdminVendorProgramMutation();\n\n const [file, setFile] = useState();\n const [rejectedFiles, setRejectedFiles] = useState([]);\n const hasError = rejectedFiles.length > 0;\n const [fileUploadError, setFileUploadError] = useState(false);\n\n const handleDropZoneDrop = useCallback(\n (_dropFiles, acceptedFiles, _rejectedFiles, handleUpload) => {\n onDrop && onDrop(_dropFiles, acceptedFiles, _rejectedFiles);\n setFileUploadError(false);\n setFile((file) => acceptedFiles[0]);\n setRejectedFiles(_rejectedFiles);\n\n handleUpload(acceptedFiles);\n },\n [onDrop]\n );\n\n const validImageTypes = [\"image/gif\", \"image/jpeg\", \"image/png\"];\n\n const fileUpload = !file && ;\n const uploadedFiles = file && (\n \n \n \n
\n {file.name} {file.size} bytes\n
\n
\n
\n );\n\n const fileTypeErrorMessage = hasError && (\n \n \n {rejectedFiles.map((file, index) => (\n \n {`\"${file.name}\" is not supported. File type must be .gif, .png, or .jpg.`}\n \n ))}\n \n \n );\n\n const handleAttachment = (signedIds) => {\n return updateVendorProgram({\n id: vendorProgramId,\n attachment: signedIds[0],\n })\n .unwrap()\n .then((result) => {\n setFile();\n return { status: \"success\" };\n })\n .catch((error) => {\n setFileUploadError(true);\n console.log(error);\n });\n };\n\n const token = window.localStorage.getItem(\"access-token\");\n const client = window.localStorage.getItem(\"client\");\n const uid = window.localStorage.getItem(\"uid\");\n\n return (\n {\n return <>\n {!isMobile && (\n \n \n \n )}\n\n {isMobile && (isLoading || isDeletingAttachment) && (\n \n \n \n )}\n\n {!isLoading && (\n \n {fileUploadError && !hasError && (\n \n We were unable to upload the logo you provided due to a\n system error. Please try again in a few minutes.\n \n )}\n {fileTypeErrorMessage}\n \n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload\n )\n }\n onFileDialogClose={onFileDialogClose}\n openFileDialog={openFileDialog}\n >\n {uploadedFiles}\n {fileUpload}\n {children}\n \n \n )}\n ;\n }}\n />\n );\n};\n\nAttachmentUpload.propTypes = {\n isWithinCard: PropTypes.bool,\n onDragEnter: PropTypes.func,\n onDragLeave: PropTypes.func,\n onDragOver: PropTypes.func,\n onDrop: PropTypes.func,\n onFileDialogClose: PropTypes.func,\n openFileDialog: PropTypes.bool,\n vendorProgramId: PropTypes.string,\n children: PropTypes.object,\n isDeletingAttachment: PropTypes.bool,\n};\n\nexport default AttachmentUpload;\n\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { IndexTable, Text, Link, Badge } from \"@shopify/polaris\";\n\nconst FinanceOptionIndexTable = (props) => {\n const {\n templates,\n allSelected,\n selectedResources,\n isFetchingTemplates,\n handleSelectionChange,\n handleOpenConfirmationModal,\n handleShowEditFinanceOptionModal,\n } = props;\n\n const resourceName = {\n singular: \"template\",\n plural: \"templates\",\n };\n\n const promotedBulkActions = [\n {\n content: \"Delete templates\",\n onAction: () => handleOpenConfirmationModal(\"finance\"),\n },\n ];\n\n const rowMarkup =\n templates.length > 0\n ? templates.map((item, index) => (\n \n \n \n handleShowEditFinanceOptionModal(item)}\n >\n {item.attributes.name}\n \n \n \n \n {item.attributes.financing_type}\n \n \n \n {`${item.attributes.customer_interest_rate || \"--\"}%`}\n \n \n \n \n {`${item.attributes.estimated_buy_rate || \"--\"}%`}\n \n \n \n {item.attributes.interest_rate_visible ? (\n Visible\n ) : item.attributes.interest_rate_visible === false ? (\n Hidden\n ) : (\n <>\n )}\n \n \n ))\n : [];\n\n return (\n
\n \n handleSelectionChange(selectType, toggleType, selection, \"finance\")\n }\n selectedItemsCount={allSelected ? \"All\" : selectedResources.length}\n promotedBulkActions={promotedBulkActions}\n loading={isFetchingTemplates}\n headings={[\n { title: \"Term\" },\n { title: \"Type\" },\n { title: \"Client rate\" },\n { title: \"Buy rate\" },\n { title: \"Rate visibility\" },\n ]}\n sortable={[false, false, false, false, false]}\n defaultSortDirection={\"descending\"}\n >\n {rowMarkup}\n \n
\n );\n};\n\nFinanceOptionIndexTable.propTypes = {\n templates: PropTypes.array,\n allSelected: PropTypes.bool,\n selectedResources: PropTypes.array,\n isFetchingTemplates: PropTypes.bool,\n handleSelectionChange: PropTypes.func,\n handleOpenConfirmationModal: PropTypes.func,\n handleShowEditFinanceOptionModal: PropTypes.func,\n};\n\nexport default FinanceOptionIndexTable;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n IndexTable,\n Text,\n Link,\n Badge,\n Icon,\n Tooltip,\n List,\n} from \"@shopify/polaris\";\nimport { NoteIcon } from \"@shopify/polaris-icons\";\n\nconst EnvelopeIndexTable = (props) => {\n const {\n templates,\n handleSelectionChange,\n allSelected,\n selectedResources,\n isFetchingTemplates,\n isCreatingEnvelopeTemplate,\n handleOpenConfirmationModal,\n } = props;\n\n const resourceName = {\n singular: 'envelope template',\n plural: 'envelope template',\n };\n\n const promotedBulkActions = [\n {\n content: \"Delete envelope templates\",\n onAction: () => handleOpenConfirmationModal(\"envelope\"),\n },\n ];\n\n const rowMarkup = (templates.length > 0 ? templates.map((item, index) => (\n \n \n \n handleVendorProgramClick(item)}\n >\n {item.attributes.financing_type}\n \n \n \n \n \n {item.attributes.countersignature_required ? (\n Required\n ) : (\n Not Required\n )}\n \n \n \n \n {(item.attributes.document_names.length > 0 ? item.attributes.document_names.map((docu, iindex) => (\n {docu}\n ))\n : [] )}\n \n }>\n
\n \n
\n
\n
\n \n ),\n ) : []);\n\n return (\n
\n handleSelectionChange(selectType, toggleType, selection, \"envelope\")}\n selectedItemsCount={allSelected ? \"All\" : selectedResources.length}\n promotedBulkActions={promotedBulkActions}\n loading={isFetchingTemplates || isCreatingEnvelopeTemplate}\n headings={[\n {title: 'Type'},\n {title: 'Countersignature'},\n {title: 'Documents'},\n ]}\n sortable={[false, false, false]}\n defaultSortDirection={\"descending\"}\n >\n {rowMarkup}\n \n
\n );\n};\n\nEnvelopeIndexTable.propTypes = {\n templates: PropTypes.array,\n handleOpenConfirmationModal: PropTypes.func,\n handleSelectionChange: PropTypes.func,\n allSelected: PropTypes.bool,\n selectedResources: PropTypes.array,\n isFetchingTemplates: PropTypes.bool,\n isCreatingEnvelopeTemplate: PropTypes.bool,\n}\n\nexport default EnvelopeIndexTable;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport {\n IndexTable,\n Filters,\n Text,\n Pagination,\n LegacyStack,\n Link,\n Badge,\n useIndexResourceState,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\n\nimport { useUpdateAdminVendorProgramMutation } from \"../../services/api\";\n\nconst AttachmentsIndexTable = (props) => {\n const { vendorProgramId, attachments, setIsDeletingTemplates } = props;\n\n const history = useHistory();\n\n const [updateVendorProgram, { isLoading: isUpdatingVendorProgram }] =\n useUpdateAdminVendorProgramMutation();\n\n const resourceName = {\n singular: \"attachment template\",\n plural: \"attachment templates\",\n };\n\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n\n const [allSelected, setAllSelected] = useState(false);\n const [selectedResources, setSelectedResources] = useState([]);\n\n const handleAttachmentsSelectionChange = (\n selectionType,\n toggleType,\n selection\n ) => {\n if (selectionType === \"single\") {\n if (toggleType) {\n let listOfResources = [...selectedResources];\n listOfResources.push(attachments[selection]);\n\n if (listOfResources.length === attachments.length) setAllSelected(true);\n setSelectedResources(listOfResources);\n } else {\n let listOfResources = [...selectedResources];\n let removeIndex = listOfResources.indexOf(attachments[selection]);\n listOfResources.splice(removeIndex, 1);\n\n setAllSelected(false);\n setSelectedResources(listOfResources);\n }\n } else if (selectionType === \"page\") {\n if (toggleType) {\n setSelectedResources(attachments);\n setAllSelected(true);\n } else {\n setSelectedResources([]);\n setAllSelected(false);\n }\n }\n };\n\n const bulkDeleteAttacmentTemplates = () => {\n let newAttachments = [...attachments];\n for (let i = 0; i < selectedResources.length; i++) {\n let deleteIndex = newAttachments.indexOf(selectedResources[i]);\n if (deleteIndex >= 0) newAttachments.splice(deleteIndex, 1);\n }\n\n return updateVendorProgram({\n id: vendorProgramId,\n attachment_set: newAttachments,\n })\n .unwrap()\n .then((response) => {\n setSelectedResources([]);\n setAllSelected(false);\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update program.\" }],\n };\n });\n };\n\n const promotedBulkActions = [\n {\n content: \"Delete\",\n onAction: bulkDeleteAttacmentTemplates,\n },\n ];\n\n const rowMarkup =\n attachments?.length > 0\n ? attachments.map((item, index) => (\n \n \n \n handleVendorProgramClick(item)}\n >\n {item}\n \n \n \n \n ))\n : [];\n\n return (\n
\n \n {attachments ? rowMarkup : <>}\n \n
\n );\n};\n\nAttachmentsIndexTable.propTypes = {\n attachments: PropTypes.any,\n};\n\nexport default AttachmentsIndexTable;\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport {\n useField,\n useForm,\n notEmpty,\n useChoiceField,\n} from \"@shopify/react-form\";\nimport { useHistory, useParams } from \"react-router-dom\";\n\nimport {\n Page,\n InlineStack,\n BlockStack,\n Layout,\n Modal,\n Spinner,\n TextField,\n Button,\n Select,\n Text,\n Checkbox,\n Icon,\n FormLayout,\n Card,\n Badge,\n Divider,\n RangeSlider,\n Box,\n Banner,\n} from \"@shopify/polaris\";\nimport { PlusCircleIcon, PlusIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetAdminVendorProgramQuery,\n useGetAdminVendorProgramTemplatesQuery,\n useUpdateAdminVendorProgramMutation,\n useCreateFinancingOptionTemplateMutation,\n useUpdateFinancingOptionTemplateMutation,\n useCreateVendorProgramEnvelopeTemplateMutation,\n useDeleteVendorProgramTemplatesMutation,\n useGetDocumentsQuery,\n useDeleteVendorProgramAttachmentMutation,\n} from \"../../../services/api\";\n\nimport { toSentenceCase, toHumanReadableFinanceType } from \"../../../utilities\";\n\nimport FadeIn from \"../../../components/FadeIn\";\nimport AttachmentUpload from \"../../../components/Admin/VendorProgram/AttachmentUpload\";\nimport FinanceOptionIndexTable from \"../../../components/VendorProgram/FinanceOptionIndexTable\";\nimport EnvelopeIndexTable from \"../../../components/VendorProgram/EnvelopeIndexTable\";\nimport AttachmentsIndexTable from \"../../../components/VendorProgram/AttachmentsIndexTable\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\nimport { useToast } from \"../../../contexts/Toast\";\n\nconst AdminVendorProgramsShow = () => {\n const history = useHistory();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { showToastWithMessage } = useToast();\n\n const { id: vendorProgramId } = useParams();\n\n const navigateToAdminVendorProgram = () => {\n history.push({\n pathname: `/admin/vendor_programs`,\n });\n };\n\n const { data: vendorProgram = {}, isLoading } =\n useGetAdminVendorProgramQuery(vendorProgramId);\n\n const {\n data: financeOptionTemplates = [],\n isLoading: isLoadingFinanceOptionTemplates,\n isFetching: isFetchingFinanceOptionTemplates,\n } = useGetAdminVendorProgramTemplatesQuery({\n id: vendorProgramId,\n template: \"financing_options\",\n });\n\n const {\n data: envelopeTemplates = [],\n isLoading: isLoadingEnvelopeTemplates,\n isFetching: isFetchingEnvelopeTemplates,\n } = useGetAdminVendorProgramTemplatesQuery({\n id: vendorProgramId,\n template: \"envelopes\",\n });\n\n const [deleteVendorProgramTemplates, { isLoading: isDeleting }] =\n useDeleteVendorProgramTemplatesMutation();\n\n const { data: documents = [], isLoading: isLoadingDocuments } =\n useGetDocumentsQuery({ search: \"\" });\n\n const [deleteVendorProgramAttachment, { isLoading: isDeletingAttachment }] =\n useDeleteVendorProgramAttachmentMutation();\n\n const [requiresCreditReview, setRequiresCreditReview] = useState(false);\n const [achPaymentsOnly, setAchPaymentsOnly] = useState(false);\n const [requiresCreditApplication, setRequiresCreditApplication] =\n useState(false);\n const [termLengthMaximum, setTermLengthMaximum] = useState(84);\n const [name, setName] = useState(\"\");\n const [displayName, setDisplayName] = useState(\"\");\n const [docusignBrandId, setDocusignBrandId] = useState(\"\");\n\n const [showEditVendorProgramModal, setShowEditVendorProgramModal] =\n useState(false);\n const [showFinanceOptionModal, setShowFinanceOptionModal] = useState(false);\n const [showAddEnvelopeModal, setShowAddEnvelopeModal] = useState(false);\n const [showAddAttachmentModal, setShowAddAttachmentModal] = useState(false);\n\n const [paymentStructure, setPaymentStructure] =\n useState(\"Scheduled payments\");\n const [showPercentageErrorBanner, setShowPercentageErrorBanner] =\n useState(false);\n const [financingTypes, setFinancingTypes] = useState([]);\n const [paymentTypes, setPaymentTypes] = useState([]);\n const [envelopeFinancingType, setEnvelopeFinancingType] = useState(\"\");\n const [visibleClientRate, setVisibleClientRate] = useState(false);\n const [baseSegmentsMonths, setBaseSegmentsMonths] = useState(0);\n const [counterSignature, setCounterSignature] = useState(false);\n const [filteredDocuments, setFilteredDocuments] = useState([]);\n const [attachmentDocuments, setAttachmentDocuments] = useState({\n 0: \"\",\n 1: \"\",\n 2: \"\",\n });\n\n // TODO: Refactor to selectedId array like selectedEnvelopeTemplateDocuments\n const [financeTypesChecks, setFinanceTypesChecks] = useState([]);\n\n // NOTE: Using selectedEnvelopeTemplateDocuments to keep track of selected\n // documents for envelope template rather than the \"checks\" style used for\n // finance types and attachments. This should be easier to manage and will\n // allow resets to be cleaner.\n const [\n selectedEnvelopeTemplateDocuments,\n setSelectedEnvelopeTemplateDocuments,\n ] = useState([]);\n // TODO: Refactor to selectedId array like selectedEnvelopeTemplateDocuments\n const [attachmentChecks, setAttachmentChecks] = useState([]);\n const [segments, setSegments] = useState([]);\n const [interestRate, setInterestRate] = useState(\"\");\n const [buyRate, setBuyRate] = useState(\"\");\n const [sellRate, setSellRate] = useState(\"\");\n\n // Net Terms Values\n const [customerDiscount, setCustomerDiscount] = useState(0);\n const [discountVisible, setDiscountVisible] = useState(false);\n const [downPaymentVisible, setDownPaymentVisible] = useState(false);\n const [paymentInstallments, setPaymentInstallments] = useState([]);\n\n const [enableDownPaymentField, setEnableDownPaymentField] = useState(false);\n\n const [submittingEnvelopeTemplate, setSubmittingEnvelopeTemplate] =\n useState(false);\n\n const [financeOptionTemplateModalTitle, setFinanceOptionTemplateModalTitle] =\n useState(`Add financing option template`);\n\n const [toUpdateFinanceOptionTemplate, setToUpdateFinanceOptionTemplate] =\n useState(false);\n\n const [financeOptionTemplateId, setFinanceOptionTemplateId] = useState(null);\n\n const handleDownPaymentVisibleChange = (val) => {\n fields.down_payment.value = \"\";\n setDownPaymentVisible(val);\n };\n\n const handleChangeAllowedFinanceTypes = (index) => {\n setFinanceTypesChecks({\n ...financeTypesChecks,\n [index]: !financeTypesChecks[index],\n });\n };\n\n const handleChangeSelectedEnvelopeTemplateDocuments = (\n checked,\n documentId\n ) => {\n if (checked) {\n setSelectedEnvelopeTemplateDocuments([\n ...selectedEnvelopeTemplateDocuments,\n documentId,\n ]);\n } else {\n setSelectedEnvelopeTemplateDocuments(\n selectedEnvelopeTemplateDocuments.filter(\n (document) => document != documentId\n )\n );\n }\n };\n\n const handleChangeAttachmentChecks = (index) => {\n setAttachmentChecks({\n ...attachmentChecks,\n [index]: !attachmentChecks[index],\n });\n };\n\n const handleChangeAttachmentDocuments = (value, index) => {\n setAttachmentDocuments({\n ...attachmentDocuments,\n [index]: value,\n });\n };\n\n const handleChangeSegments = (value, key, index) => {\n let segment = segments[index];\n segment[`${key}`] = value;\n setSegments({\n ...segments,\n [index]: segment,\n });\n };\n const addSegments = useCallback(() => {\n if (Object.keys(segments).length > 0) {\n const segmentKeys = Object.keys(segments);\n setSegments({\n ...segments,\n [`${Number(segmentKeys[segmentKeys.length - 1]) + 1}`]: {\n months: 0,\n amount: 0,\n },\n });\n } else {\n setSegments({\n 0: { months: 0, amount: 0 },\n });\n }\n }, [segments]);\n const deleteSegments = (index) => {\n let tempSegments = { ...segments };\n delete tempSegments[index];\n setSegments({ ...tempSegments });\n };\n\n const [selectedFOResources, setSelectedFOResources] = useState([]);\n const [selectedEnResources, setSelectedEnResources] = useState([]);\n const [selectedAttachResources, setSelectedAttachResources] = useState([]);\n\n const [allSelectedFinance, setAllSelectedFinance] = useState(false);\n const [allSelectedEnvelope, setAllSelectedEnvelope] = useState(false);\n const [allSelectedAttachment, setAllSelectedAttachment] = useState(false);\n\n const [selectedTemplateBulkDelete, setSelectedTemplateBulkDelete] =\n useState(\"\");\n const [isDeletingTemplates, setIsDeletingTemplates] = useState(false);\n\n const handleSelectTemplateBulkDelete = useCallback(\n (tableTemplate) => setSelectedTemplateBulkDelete(tableTemplate),\n [selectedTemplateBulkDelete]\n );\n\n const bulkDeleteFinanceOptionTemplates = () => {\n let templateIds = [];\n let whichAllSelected = false;\n let whichSelectedResources = [];\n let whichTemplates = [];\n\n switch (selectedTemplateBulkDelete) {\n case \"finance\":\n whichAllSelected = allSelectedFinance;\n whichTemplates = [...financeOptionTemplates];\n whichSelectedResources = [...selectedFOResources];\n break;\n case \"envelope\":\n whichAllSelected = allSelectedEnvelope;\n whichTemplates = [...envelopeTemplates];\n whichSelectedResources = [...selectedEnResources];\n break;\n case \"attachment\":\n whichAllSelected = allSelectedAttachment;\n whichTemplates = [\n ...vendorProgram.attributes.opportunity_attachment_templates,\n ];\n whichSelectedResources = [...selectedAttachResources];\n break;\n }\n\n // allSelected\n if (whichAllSelected) {\n templateIds = whichTemplates.map((templates) => {\n return templates.attributes.id;\n });\n //for (let i = 0; i < whichTemplates.count; i++) {\n // templateIds.push(whichTemplates.data[i].id);\n //}\n } else {\n whichSelectedResources.forEach((resource) => {\n const resourceIndex = resource.split(\"-\")[1];\n if (whichTemplates[resourceIndex]) {\n templateIds.push(whichTemplates[resourceIndex].id);\n }\n });\n }\n // TODO: Set generic api hook for vendor program templates delete\n return deleteVendorProgramTemplates({\n id: vendorProgramId,\n which_template: selectedTemplateBulkDelete,\n templateIds: templateIds.join(\",\"),\n })\n .unwrap()\n .then(() => {\n handleIndexTableSelection([], selectedTemplateBulkDelete, false);\n setIsDeletingTemplates(false);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleDeleteAttachment = () => {\n return deleteVendorProgramAttachment({ id: vendorProgramId })\n .unwrap()\n .then(() => {\n handleIndexTableSelection([], selectedTemplateBulkDelete, false);\n setIsDeletingTemplates(false);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n const handleOpenConfirmationModal = useCallback(\n (selectedTable) => {\n handleSelectTemplateBulkDelete(selectedTable);\n setOpenConfirmationModal(true);\n },\n [selectedTemplateBulkDelete]\n );\n const handleCloseConfirmationModal = () => {\n setOpenConfirmationModal(false);\n };\n const handleConfirmDeleteModal = () => {\n setIsDeletingTemplates(true);\n setOpenConfirmationModal(false);\n\n bulkDeleteFinanceOptionTemplates();\n };\n\n const handleSelectionChange = (\n selectionType,\n toggleType,\n selection,\n tableSelect\n ) => {\n let resourceList = [];\n let selectionList = [];\n let allSelectedResource = false;\n let selectedTemplates = [];\n\n switch (tableSelect) {\n case \"finance\":\n resourceList = [...selectedFOResources];\n selectionList = [...selectedFOResources];\n allSelectedResource = allSelectedFinance;\n selectedTemplates = [...financeOptionTemplates];\n break;\n case \"envelope\":\n resourceList = [...selectedEnResources];\n selectionList = [...selectedEnResources];\n allSelectedResource = allSelectedEnvelope;\n selectedTemplates = [...envelopeTemplates];\n break;\n case \"attachment\":\n resourceList = [...selectedAttachResources];\n selectionList = [...selectedAttachResources];\n allSelectedResource = allSelectedAttachment;\n selectedTemplates = [\n ...vendorProgram.attributes.opportunity_attachment_templates,\n ];\n break;\n }\n\n if (selectionType === \"single\") {\n // Check if in selection\n const inSelectionIndex = resourceList.find((resource) => {\n return resource == selection;\n });\n\n if (inSelectionIndex) {\n // Remove if in list\n selectionList.splice(inSelectionIndex, 1);\n } else {\n // Add if not\n selectionList.push(selection);\n }\n\n handleIndexTableSelection(selectionList, tableSelect, false);\n } else {\n if (\n allSelectedResource ||\n resourceList.length === selectedTemplates.length\n ) {\n // Clear selection\n handleIndexTableSelection([], tableSelect, false);\n } else {\n // Select all\n const list = selectedTemplates.map(\n (template, index) => `${tableSelect}-${index}`\n );\n handleIndexTableSelection(list, tableSelect, true);\n }\n }\n };\n\n const handleIndexTableSelection = (\n selectionList,\n tableSelect,\n isSelectAll\n ) => {\n switch (tableSelect) {\n case \"finance\":\n setSelectedFOResources(selectionList);\n setAllSelectedFinance(isSelectAll);\n break;\n case \"envelope\":\n setSelectedEnResources(selectionList);\n setAllSelectedEnvelope(isSelectAll);\n break;\n case \"attachment\":\n setSelectedAttachResources(selectionList);\n setAllSelectedAttachment(isSelectAll);\n break;\n }\n };\n\n const { fields, submit, reset, makeClean } = useForm({\n fields: {\n custom_name: useField({\n value: \"\",\n validates: [],\n }),\n financing_type: useField({\n value: financingTypes[0]?.value || \"\",\n validates: [],\n }),\n payment_type: useField({\n value: vendorProgram\n ? vendorProgram?.attributes?.all_payment_type[0]\n : \"\",\n validates: [],\n }),\n down_payment: useField({\n value: \"\",\n validates:\n downPaymentVisible && paymentStructure === \"Scheduled payments\"\n ? [notEmpty(\"Down payment can't be 0\")]\n : [],\n }),\n down_payment_percent: useField({\n value: \"\",\n validates:\n downPaymentVisible && paymentStructure === \"Milestone payments\"\n ? [notEmpty(\"Down payment can't be 0\")]\n : [],\n }),\n default_total_financing_amount: useField({\n value: \"\",\n validates: [],\n }),\n // estimated_buy_rate: useField({\n // value: \"\",\n // validates: [notEmpty(\"Estimated buy rate is required\")],\n // }),\n // // client_rate\n // interest_rate: useField({\n // value: \"\",\n // validates: [notEmpty(\"Interest rate is required\")],\n // }),\n },\n async onSubmit(form) {\n let percentPaymentInstallments = [];\n\n if (paymentStructure === \"Milestone payments\") {\n // Percents are edited / showed edited as integers but stored as decimals\n if (fields.down_payment_percent.value) {\n form.down_payment_percent = Number(\n // PROD-25\n fields.down_payment_percent.value\n );\n }\n percentPaymentInstallments =\n paymentInstallments.map((payment) => ({\n // PROD-25\n percent: Number(payment.percent),\n amount: 0,\n })) || [];\n }\n\n let totalSegmentCount = 0;\n const customSegments = Object.keys(segments).map((index) => {\n totalSegmentCount += Number(segments[index].months);\n return {\n count: segments[index].months,\n amount: segments[index].amount,\n };\n });\n\n const financeType = toHumanReadableFinanceType[form.financing_type];\n delete form.financing_type;\n\n // Insert net terms details somewhere here (?)\n let installmentPaymentsToUpdate = [];\n if (percentPaymentInstallments.length > 0) {\n installmentPaymentsToUpdate = percentPaymentInstallments;\n } else if (paymentInstallments.length > 0) {\n installmentPaymentsToUpdate = paymentInstallments;\n }\n\n const newFinanceOptionTemplateFormPayload = {\n id: vendorProgramId,\n interest_rate_visible: visibleClientRate,\n segments: customSegments,\n term_length: totalSegmentCount + Number(baseSegmentsMonths),\n customer_interest_rate: interestRate,\n estimated_buy_rate: buyRate,\n sell_rate: sellRate,\n financing_type: financeType,\n installment_payments: installmentPaymentsToUpdate,\n discount: customerDiscount,\n discount_visible: discountVisible,\n ...form,\n };\n\n // reset form\n setPaymentInstallments([]);\n setSegments({ 0: { months: 0, amount: 0 } });\n setInterestRate(\"\");\n setBuyRate(\"\");\n setSellRate(\"\");\n setCustomerDiscount(0);\n setDiscountVisible(false);\n setDownPaymentVisible(false);\n fields.down_payment.value = \"\";\n fields.down_payment_percent.value = \"\";\n\n return (\n toUpdateFinanceOptionTemplate\n ? updateFinancingOptionTemplate({\n financing_option_template_id: financeOptionTemplateId,\n ...newFinanceOptionTemplateFormPayload,\n })\n : createFinancingOptionTemplate({\n ...newFinanceOptionTemplateFormPayload,\n })\n )\n .unwrap()\n .then(() => {\n makeClean();\n reset();\n setBuyRate(\"\");\n setSellRate(\"\");\n setInterestRate(\"\");\n setSegments({ 0: { months: 0, amount: 0 } });\n setBaseSegmentsMonths(0);\n handleChangeVisibleClientRate(false);\n setShowFinanceOptionModal(false);\n setToUpdateFinanceOptionTemplate(false);\n setFinanceOptionTemplateId(null);\n showToastWithMessage(`Template updated`);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n // setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [\n { message: \"Could not create financing option template.\" },\n ],\n };\n });\n },\n });\n\n useEffect(() => {\n const withDownPayments = [\n \"standard\",\n \"fair_market_value\",\n \"dollar_out_lease\",\n \"saas\",\n \"rental\",\n ];\n\n if (withDownPayments.includes(fields.financing_type.value)) {\n setEnableDownPaymentField(true);\n } else {\n setEnableDownPaymentField(false);\n }\n // Comment out, prevents down payment value from being pulled from financing option\n // fields.down_payment.value = \"\";\n }, [fields.financing_type.value]);\n\n const handleCloseFinanceOptionModal = () => {\n reset();\n setBuyRate(\"\");\n setSellRate(\"\");\n setInterestRate(\"\");\n setSegments({ 0: { months: 0, amount: 0 } });\n setBaseSegmentsMonths(0);\n handleChangeVisibleClientRate(false);\n setShowFinanceOptionModal(false);\n setDiscountVisible(false);\n setShowPercentageErrorBanner(false);\n setToUpdateFinanceOptionTemplate(false);\n setFinanceOptionTemplateId(null);\n };\n\n const handleShowEditFinanceOptionModal = (financeOption) => {\n setFinanceOptionTemplateModalTitle(`Edit finance option template`);\n setFinanceOptionTemplateId(financeOption.id);\n setToUpdateFinanceOptionTemplate(true);\n fields.custom_name.value = financeOption.attributes.custom_name;\n fields.financing_type.value = financeOption.attributes.type;\n fields.payment_type.value = financeOption.attributes.payment_type;\n setInterestRate(financeOption.attributes.customer_interest_rate);\n setVisibleClientRate(financeOption.attributes.interest_rate_visible);\n setBuyRate(financeOption.attributes.estimated_buy_rate);\n setSellRate(financeOption.attributes.sell_rate);\n setDiscountVisible(financeOption.attributes.discount_visible);\n setCustomerDiscount(financeOption.attributes.discount);\n\n setPaymentStructure(\n financeOption.attributes.uses_milestone_payments\n ? \"Milestone payments\"\n : \"Scheduled payments\"\n );\n\n if (financeOption.attributes.default_total_financing_amount > 0) {\n fields.default_total_financing_amount.value =\n financeOption.attributes.default_total_financing_amount;\n }\n\n if (financeOption.attributes.down_payment > 0) {\n setDownPaymentVisible(true);\n fields.down_payment.value = financeOption.attributes.down_payment;\n }\n\n // Percents are edited / showed edited as integers but stored as decimals\n if (financeOption.attributes.down_payment_percent > 0) {\n setDownPaymentVisible(true);\n // PROD-25\n fields.down_payment_percent.value =\n financeOption.attributes.down_payment_percent;\n }\n\n if (financeOption.attributes.installment_payments.length > 0) {\n setPaymentInstallments(\n financeOption.attributes.installment_payments.map((installment) => ({\n days: installment?.days || 0,\n // PROD-25\n percent: installment?.percent || 0,\n amount: installment.amount,\n }))\n );\n }\n\n let totalSegmentMonths = 0;\n if (financeOption.attributes.segments.length > 0) {\n setSegments(\n financeOption.attributes.segments.map((segment) => {\n totalSegmentMonths += Number(segment.count);\n return {\n months: segment.count,\n amount: segment.amount,\n };\n })\n );\n }\n\n setBaseSegmentsMonths(\n Number(financeOption.attributes.term_length) - totalSegmentMonths\n );\n setShowFinanceOptionModal(true);\n };\n\n const handleSubmitTemplate = useCallback(() => {\n setSubmittingEnvelopeTemplate(true);\n\n return createEnvelopeTemplate({\n id: vendorProgramId,\n financing_type: toHumanReadableFinanceType[envelopeFinancingType],\n countersignature_required: counterSignature,\n document_ids: selectedEnvelopeTemplateDocuments.join(\",\"),\n })\n .unwrap()\n .then((response) => {\n setSelectedEnvelopeTemplateDocuments([]);\n setShowAddEnvelopeModal(false);\n setSubmittingEnvelopeTemplate(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n // setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not create envelope template.\" }],\n };\n });\n }, [\n createEnvelopeTemplate,\n vendorProgramId,\n envelopeFinancingType,\n counterSignature,\n selectedEnvelopeTemplateDocuments,\n ]);\n\n const handleSetCounterSignature = useCallback(\n (checked) => setCounterSignature(checked),\n []\n );\n const handleChangeVisibleClientRate = useCallback(\n (checked) => setVisibleClientRate(checked),\n []\n );\n const handleSelectEnvelopeFinancingType = useCallback(\n (value) => {\n let filteredDocu = [];\n vendorProgram.attributes.finance_type_docu_list.forEach((docu) => {\n if (docu.type == value) {\n filteredDocu.push(docu);\n }\n });\n\n setEnvelopeFinancingType(value);\n setSelectedEnvelopeTemplateDocuments([]);\n },\n [vendorProgram]\n );\n\n useEffect(() => {\n setRequiresCreditReview(\n vendorProgram?.attributes?.requires_credit_submission\n );\n setAchPaymentsOnly(vendorProgram?.attributes?.ach_payments_only);\n setRequiresCreditApplication(\n vendorProgram?.attributes?.requires_credit_application\n );\n setTermLengthMaximum(vendorProgram?.attributes?.term_length_max);\n }, [vendorProgram, showEditVendorProgramModal]);\n\n useEffect(() => {\n setName(vendorProgram?.attributes?.name);\n setDisplayName(vendorProgram?.attributes?.name);\n setDocusignBrandId(vendorProgram?.attributes?.docusign_brand_id);\n\n if (vendorProgram?.attributes) {\n setFinanceTypesChecks(\n Object.keys(toHumanReadableFinanceType).map((key) => {\n const vpFinanceTypes = vendorProgram.attributes.finance_types;\n return vpFinanceTypes.includes(key);\n })\n );\n setFinancingTypes(\n vendorProgram.attributes.finance_types.map((financeType) => {\n const financeTypeLabel = toHumanReadableFinanceType[financeType];\n return { label: financeTypeLabel, value: financeType };\n })\n );\n\n setEnvelopeFinancingType(\n vendorProgram.attributes.finance_types[0] || \"standard\"\n );\n\n setPaymentTypes(\n vendorProgram.attributes.all_payment_type.map((payment) => {\n return { label: toSentenceCase(payment), value: payment };\n })\n );\n setAttachmentChecks(\n vendorProgram.attributes.all_opportunity_attachment_templates.map(\n (docu) => {\n if (vendorProgram.attributes.opportunity_attachment_templates) {\n return vendorProgram.attributes.opportunity_attachment_templates.includes(\n docu\n );\n } else {\n return false;\n }\n }\n )\n );\n }\n }, [vendorProgram]);\n\n useEffect(() => {\n if (documents.length && financingTypes.length > 0) {\n const filteredDocuments = documents.filter((document) => {\n return financingTypes.some((financeType) => {\n return document.attributes.financing_option_type.some(\n (documentFinanceType) => {\n return documentFinanceType.name == financeType.value;\n }\n );\n });\n });\n\n setFilteredDocuments(filteredDocuments);\n }\n }, [documents, financingTypes]);\n\n const [updateVendorProgram, { isLoading: isUpdatingVendorProgram }] =\n useUpdateAdminVendorProgramMutation();\n\n const [\n createFinancingOptionTemplate,\n { isLoading: isCreatingFinanceOptionTemplate },\n ] = useCreateFinancingOptionTemplateMutation();\n\n const [\n updateFinancingOptionTemplate,\n { isLoading: isUpdateFinanceOptionTemplate },\n ] = useUpdateFinancingOptionTemplateMutation();\n\n const [createEnvelopeTemplate, { isLoading: isCreatingEnvelopeTemplate }] =\n useCreateVendorProgramEnvelopeTemplateMutation();\n\n const changeVendorProgram = useCallback(() => {\n let attachmentSet = Object.keys(attachmentDocuments).map((index) => {\n return attachmentDocuments[index];\n });\n vendorProgram.attributes.all_opportunity_attachment_templates.forEach(\n (docu, index) => {\n if (attachmentChecks[index]) {\n attachmentSet.push(docu);\n }\n }\n );\n attachmentSet = attachmentSet.filter((docu) => {\n return docu != \"\";\n });\n\n const financeTypesSet = [];\n // financingTypeList\n Object.keys(toHumanReadableFinanceType).forEach((key, index) => {\n financeTypesSet.push({\n finance_type: key,\n allowed: financeTypesChecks[index],\n });\n });\n\n return updateVendorProgram({\n id: vendorProgramId,\n attachment_set: attachmentSet,\n allowed_finance_types: financeTypesSet,\n name: name,\n requires_credit_submission: requiresCreditReview,\n requires_credit_application: requiresCreditApplication,\n ach_payments_only: achPaymentsOnly,\n docusign_brand_id: docusignBrandId,\n term_length_max: termLengthMaximum,\n })\n .unwrap()\n .then((response) => {\n setAttachmentDocuments({ 0: \"\", 1: \"\", 2: \"\" });\n setShowAddAttachmentModal(false);\n setShowEditVendorProgramModal(false);\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update program.\" }],\n };\n });\n }, [\n achPaymentsOnly,\n attachmentDocuments,\n docusignBrandId,\n vendorProgram,\n updateVendorProgram,\n vendorProgramId,\n attachmentChecks,\n financeTypesChecks,\n name,\n requiresCreditReview,\n requiresCreditApplication,\n termLengthMaximum,\n ]);\n\n const editVendorProgramModal = (\n setShowEditVendorProgramModal(false)}\n title={\"Edit program\"}\n disabled={isUpdatingVendorProgram}\n primaryAction={{\n content: \"Save\",\n loading: isUpdatingVendorProgram,\n onAction: changeVendorProgram,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowEditVendorProgramModal(false),\n },\n ]}\n >\n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n }\n />\n \n \n\n \n \n \n ALLOWED FINANCE TYPES\n \n\n \n {Object.keys(toHumanReadableFinanceType).map((key, index) => (\n handleChangeAllowedFinanceTypes(index)}\n />\n ))}\n \n \n \n \n );\n\n const handleChangeDiscount = useCallback((newValue) => {\n setCustomerDiscount(newValue);\n }, []);\n\n const handleChangeDiscountTextField = useCallback((newValue) => {\n if (newValue == \"-\") return;\n if (newValue > 100) {\n newValue = 100;\n }\n setCustomerDiscount(newValue);\n }, []);\n\n const handleDiscountVisibleChange = useCallback(\n (val) => setDiscountVisible(val),\n []\n );\n\n const handleAddPayments = useCallback(() => {\n setPaymentInstallments(() => {\n const paymentAmount = 0;\n let payments = paymentInstallments.map((payment) => {\n return { ...payment, amount: paymentAmount.toFixed(2) };\n });\n if (paymentStructure === \"Scheduled payments\") {\n payments.push({\n days: 1,\n amount: paymentAmount.toFixed(2),\n });\n } else {\n payments.push({\n // PROD-25\n percent: 100,\n amount: paymentAmount.toFixed(2),\n });\n }\n return payments;\n });\n }, [paymentInstallments]);\n\n const handleRemovePayment = useCallback(\n (index) => {\n let payments = [...paymentInstallments];\n payments.splice(index, 1);\n setPaymentInstallments(() => {\n const paymentAmount = 0;\n payments = payments.map((payment) => {\n return { ...payment, amount: paymentAmount.toFixed(2) };\n });\n return payments;\n });\n },\n [paymentInstallments]\n );\n\n const handleEditPayment = useCallback(\n (index, days_percent) => {\n let payments = [...paymentInstallments];\n if (paymentStructure === \"Scheduled payments\") {\n payments.splice(index, 1, {\n days: Number(days_percent),\n amount: Number(paymentInstallments[index].amount) || 0,\n });\n } else {\n payments.splice(index, 1, {\n percent: Number(days_percent),\n amount: Number(paymentInstallments[index].amount) || 0,\n });\n }\n setPaymentInstallments(payments);\n },\n [paymentInstallments]\n );\n\n const handlePaymentStructureChange = useCallback(\n (val) => {\n if (paymentInstallments.length > 0 || downPaymentVisible) {\n let updatedInstallments = [];\n if (val === \"Scheduled payments\") {\n updatedInstallments = paymentInstallments.map((installment) => ({\n days: 0.0,\n amount: installment.amount,\n }));\n fields.down_payment_percent.value = \"\";\n } else {\n const percents =\n 100 / (paymentInstallments.length + (downPaymentVisible ? 1 : 0));\n updatedInstallments = paymentInstallments.map((installment) => ({\n percent: Number(percents).toFixed(0),\n amount: installment.amount,\n }));\n fields.down_payment_percent.value = percents.toFixed(0);\n }\n\n fields.down_payment.value = \"\";\n setPaymentInstallments(updatedInstallments);\n }\n setShowPercentageErrorBanner(false);\n setPaymentStructure(val);\n },\n [paymentStructure, paymentInstallments, downPaymentVisible]\n );\n\n const handleSubmitFinanceOptionTemplate = useCallback(() => {\n if (paymentStructure === \"Milestone payments\") {\n if (paymentInstallments.length > 0) {\n let totalPercent = paymentInstallments.reduce((t, payment) => {\n return t + Number(payment.percent);\n }, 0);\n totalPercent =\n Number(totalPercent) +\n (downPaymentVisible ? Number(fields.down_payment_percent.value) : 0);\n\n if (totalPercent != 100) {\n setShowPercentageErrorBanner(true);\n } else {\n submit();\n }\n } else {\n setShowPercentageErrorBanner(true);\n }\n } else {\n submit();\n }\n }, [\n submit,\n paymentStructure,\n paymentInstallments,\n downPaymentVisible,\n fields,\n ]);\n\n const financeOptionTemplateModal = (\n handleCloseFinanceOptionModal()}\n title={financeOptionTemplateModalTitle}\n loading={isCreatingFinanceOptionTemplate || isUpdateFinanceOptionTemplate}\n primaryAction={{\n content: \"Save\",\n loading:\n isCreatingFinanceOptionTemplate || isUpdateFinanceOptionTemplate,\n onAction: () => handleSubmitFinanceOptionTemplate(),\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n loading:\n isCreatingFinanceOptionTemplate || isUpdateFinanceOptionTemplate,\n onAction: () => handleCloseFinanceOptionModal(),\n },\n ]}\n >\n {showPercentageErrorBanner && (\n \n \n

\n The total percentage of all payments must be 100% including down\n payment\n

\n
\n
\n
\n )}\n\n \n \n \n\n \n {`Type`.toUpperCase()}\n \n\n \n \n \n\n {fields.financing_type.value === \"net_terms\" && (\n <>\n \n \n Discount\n \n\n
\n\n \n \n \n }\n />\n\n
\n\n \n
\n\n \n \n Payments\n \n\n
\n\n \n\n
\n\n \n Down payment\n \n\n
\n\n {downPaymentVisible ? (\n \n \n {paymentStructure === \"Scheduled payments\" ? (\n \n ) : (\n \n )}\n\n handleDownPaymentVisibleChange(false)}\n variant=\"plain\"\n tone=\"critical\"\n >\n Delete\n \n \n \n ) : (\n \n handleDownPaymentVisibleChange(true)}\n icon={PlusIcon}\n >\n Down payment\n \n \n )}\n\n
\n\n \n Installment\n \n\n {paymentInstallments.length > 0 &&\n paymentInstallments.map((payment, index) => {\n return (\n
\n
\n\n \n \n \n {paymentStructure === \"Scheduled payments\" ? (\n \n handleEditPayment(index, value)\n }\n type=\"number\"\n step={1}\n autoComplete=\"off\"\n />\n ) : (\n \n handleEditPayment(index, value)\n }\n type=\"number\"\n step={1}\n min={1}\n autoComplete=\"off\"\n />\n )}\n \n handleRemovePayment(index)}\n variant=\"plain\"\n tone=\"critical\"\n >\n Delete\n \n \n \n
\n );\n })}\n\n
\n\n \n
\n \n )}\n\n {fields.financing_type.value != \"net_terms\" && (\n <>\n \n \n {`Timing`.toUpperCase()}\n \n
\n \n
\n
\n \n
\n \n {`Rates`.toUpperCase()}\n \n
\n \n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n\n {enableDownPaymentField && (\n \n
\n \n Down payment\n \n
\n\n {downPaymentVisible ? (\n \n \n \n handleDownPaymentVisibleChange(false)}\n variant=\"plain\"\n tone=\"critical\"\n >\n Delete\n \n \n \n ) : (\n handleDownPaymentVisibleChange(true)}\n icon={PlusIcon}\n >\n Down payment\n \n )}\n\n
\n
\n )}\n\n {fields.financing_type.value == \"rental\" && (\n \n
\n \n Default Total Financing Amount\n \n\n
\n\n \n
\n
\n )}\n\n \n
\n \n {`Custom segments`.toUpperCase()}\n \n
\n {Object.getOwnPropertyNames(segments).length != 0 &&\n Object.keys(segments).map((index) => (\n \n
\n \n handleChangeSegments(value, \"months\", index)\n }\n autoComplete=\"off\"\n />\n
\n
\n @\n
\n
\n \n handleChangeSegments(value, \"amount\", index)\n }\n autoComplete=\"off\"\n />\n
\n
\n deleteSegments(index)}\n variant=\"plain\"\n tone=\"critical\"\n >\n Delete\n \n
\n
\n ))}\n
\n \n
\n
\n \n
\n \n {`Base segments`.toUpperCase()}\n \n
\n
\n \n
\n
\n \n )}\n \n );\n\n const [availableEnvelopeDocuments, setAvailableEnvelopeDocuments] = useState(\n []\n );\n useEffect(() => {\n const availableEnvelopeDocuments = filteredDocuments.filter((document) => {\n return document.attributes.financing_option_type.some(\n (type) => type.name == envelopeFinancingType\n );\n });\n setAvailableEnvelopeDocuments(availableEnvelopeDocuments);\n }, [filteredDocuments, envelopeFinancingType]);\n\n const handleCloseAddEnvelopeTemplateModal = () => {\n setSelectedEnvelopeTemplateDocuments([]);\n setShowAddEnvelopeModal(false);\n };\n\n const [integratedPaymentsOn, setIntegratedPaymentsOn] = useState(false);\n const [connectedStripeAccountId, setConnectedStripeAccountId] =\n useState(null);\n const [applicationFee, setApplicationFee] = useState(null);\n\n useEffect(() => {\n if (vendorProgram?.attributes?.stripe_payments) {\n setIntegratedPaymentsOn(vendorProgram.attributes.stripe_payments);\n setConnectedStripeAccountId(\n vendorProgram.attributes.stripe_connected_account_id\n );\n setApplicationFee(vendorProgram.attributes.stripe_application_fee);\n }\n }, [vendorProgram]);\n\n const [showEditPaymentsSettingsModal, setShowEditPaymentsSettingsModal] =\n useState(false);\n\n const handleUpdatePaymentsSettings = (\n passPaymentsOn = false,\n paymentsValue = false\n ) => {\n let form = {};\n\n if (passPaymentsOn) {\n form.stripe_payments = paymentsValue;\n } else {\n form.stripe_payments = integratedPaymentsOn;\n }\n\n if (connectedStripeAccountId)\n form.stripe_connected_account_id = connectedStripeAccountId;\n if (applicationFee) form.stripe_application_fee = applicationFee;\n\n return updateVendorProgram({ id: vendorProgramId, ...form })\n .unwrap()\n .then((response) => {\n if (showEditPaymentsSettingsModal) {\n setShowEditPaymentsSettingsModal(false);\n }\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n // setShowErrorBanner(true);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update vendor program\" }],\n };\n });\n };\n\n const editPaymentsSettingsModal = (\n {\n setShowEditPaymentsSettingsModal(false);\n }}\n title={\"Payments settings\"}\n primaryAction={{\n content: \"Save\",\n loading: isUpdatingVendorProgram,\n onAction: () => {\n handleUpdatePaymentsSettings();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => {\n setShowEditPaymentsSettingsModal(false);\n },\n },\n ]}\n >\n \n \n\n
\n\n \n
\n \n );\n\n const addEnvelopeModal = (\n handleSubmitTemplate(),\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseAddEnvelopeTemplateModal,\n },\n ]}\n >\n \n \n \n \n
\n \n {`Countersignature`.toUpperCase()}\n \n
\n \n
\n \n
\n \n {`Opportunity documents`.toUpperCase()}\n \n
\n {availableEnvelopeDocuments.map((document, index) => (\n
\n \n handleChangeSelectedEnvelopeTemplateDocuments(\n checked,\n document.id\n )\n }\n />\n
\n
\n ))}\n
\n \n );\n\n const addAttachmentModal = (\n setShowAddAttachmentModal(false)}\n title={\"Add attachment template\"}\n loading={isUpdatingVendorProgram}\n primaryAction={{\n content: \"Save\",\n loading: isUpdatingVendorProgram,\n onAction: () => changeVendorProgram(),\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowAddAttachmentModal(false),\n },\n ]}\n >\n \n
\n \n {`Preset templates`.toUpperCase()}\n \n
\n {vendorProgram?.attributes?.all_opportunity_attachment_templates.map(\n (docu, index) => (\n
\n handleChangeAttachmentChecks(index)}\n />\n
\n
\n )\n )}\n
\n \n {`or, enter a cutomer document name below`.toUpperCase()}\n \n
\n {Object.keys(attachmentDocuments).map((index) => (\n
\n \n handleChangeAttachmentDocuments(value, index)\n }\n placeholder=\"type new document name here\"\n autoComplete=\"off\"\n />\n
\n
\n ))}\n
\n \n );\n\n const areYouSureModal = (\n \n \n \n You are about to delete{\" \"}\n {selectedTemplateBulkDelete == \"finance\"\n ? `${selectedTemplateBulkDelete} option`\n : selectedTemplateBulkDelete}{\" \"}\n templates. This action cannot be undone.\n \n \n \n );\n\n const pageMarkup = (\n \n {isLoading ? (\n \n ) : (\n \n \n \n \n
\n \n \n Settings\n \n\n setShowEditVendorProgramModal(true)}\n variant=\"plain\"\n >\n Edit\n \n \n
\n\n
\n \n Program name\n \n
\n \n {displayName}\n \n
\n
\n \n Docusign brand ID\n \n
\n
\n \n {vendorProgram.attributes.docusign_brand_id || \"--\"}\n \n
\n
\n \n \n Logo\n \n\n
\n\n \n {vendorProgram.attributes.attachment_url ? (\n
\n \n
\n ) : (\n
\n \n
\n )}\n
\n\n {vendorProgram.attributes.attachment_url && (\n
\n \n Remove logo\n \n
\n )}\n
\n
\n
\n \n Allowed finance types\n \n
\n
\n \n {vendorProgram.attributes.finance_types\n .map((name) => {\n return toHumanReadableFinanceType[name];\n })\n .join(\", \")}\n \n
\n
\n \n Credit review required\n \n
\n
\n \n {vendorProgram.attributes.requires_credit_submission\n ? \"True\"\n : \"False\"}\n \n
\n\n
\n \n ACH payments only\n \n
\n
\n \n {vendorProgram.attributes.ach_payments_only\n ? \"True\"\n : \"False\"}\n \n
\n\n
\n \n Requires credit application\n \n
\n
\n \n {vendorProgram.attributes.requires_credit_application\n ? \"True\"\n : \"False\"}\n \n
\n\n
\n \n Maximum Term Length\n \n
\n
\n \n {vendorProgram.attributes.term_length_max}\n \n
\n
\n
\n\n
\n\n \n \n \n \n
\n \n \n Integrated payments\n \n\n {integratedPaymentsOn && (\n On\n )}\n {!integratedPaymentsOn && Off}\n \n
\n\n {\n setIntegratedPaymentsOn(!integratedPaymentsOn);\n handleUpdatePaymentsSettings(\n true,\n !integratedPaymentsOn\n );\n }}\n >\n {integratedPaymentsOn && \"Turn off\"}\n {!integratedPaymentsOn && \"Turn on\"}\n \n
\n\n
\n \n {!integratedPaymentsOn &&\n \"When integrated payments is off, as customers select the net terms option, the vendor admins will be notified to process the payment manually.\"}\n {integratedPaymentsOn &&\n \"When integrted payments is on, all Net terms purchases will be charged to the connected Stripe account according to the details below\"}\n \n
\n
\n \n\n {integratedPaymentsOn && (\n <>\n \n\n
\n \n \n \n Payments settings\n \n\n {\n setShowEditPaymentsSettingsModal(true);\n }}\n variant=\"plain\"\n >\n Edit\n \n \n\n
\n \n Connected Stripe account ID\n \n
\n
\n \n {vendorProgram?.attributes\n ?.stripe_connected_account_id\n ? vendorProgram?.attributes\n ?.stripe_connected_account_id.length > 0\n ? vendorProgram?.attributes\n ?.stripe_connected_account_id\n : \"-\"\n : \"-\"}\n \n
\n\n
\n \n Application fee\n \n
\n\n
\n \n {vendorProgram?.attributes?.stripe_application_fee\n ? vendorProgram?.attributes\n ?.stripe_application_fee + \"%\"\n : \"-\"}\n \n
\n
\n
\n \n )}\n
\n\n
\n\n \n
\n \n \n Financing option templates\n \n\n {\n // Reset these values\n fields.custom_name.value = \"\";\n fields.down_payment.value = \"\";\n\n setShowFinanceOptionModal(true);\n setFinanceOptionTemplateModalTitle(\n `Add financing option template`\n );\n }}\n variant=\"plain\"\n >\n Add template\n \n \n
\n\n
\n {financeOptionTemplates && (\n \n )}\n
\n
\n\n
\n\n \n
\n \n \n Envelope templates\n \n\n {\n setShowAddEnvelopeModal(true);\n }}\n variant=\"plain\"\n >\n Add envelope template\n \n \n
\n\n
\n \n
\n
\n\n
\n \n
\n \n \n Attachments templates\n \n\n {\n setShowAddAttachmentModal(true);\n }}\n variant=\"plain\"\n >\n Add attachment template\n \n \n
\n\n
\n {vendorProgram?.attributes\n ?.opportunity_attachment_templates && (\n \n )}\n
\n
\n
\n
\n\n {editPaymentsSettingsModal}\n {editVendorProgramModal}\n {financeOptionTemplateModal}\n {addEnvelopeModal}\n {addAttachmentModal}\n {areYouSureModal}\n
\n \n )}\n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default AdminVendorProgramsShow;\n","import React, { useState, useCallback } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Filters,\n ResourceList,\n ResourceItem,\n Text,\n InlineStack,\n Truncate,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\n\nimport { useGetDocumentsQuery } from \"../../../services/api\";\n\nconst AdminDocumentsList = (props) => {\n\n const history = useHistory();\n\n const resourceName = {\n singular: \"document\",\n plural: \"documents\",\n };\n\n const {\n stageFilters,\n format,\n onCreateOpportunity,\n onOpportunityClick,\n clientAccountId,\n accountId,\n pageLimit = 5,\n } = props;\n\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n const handleQueryChange = (value) => setQueryValue(value);\n\n const [limit, setLimit] = useState(pageLimit);\n const [page, setPage] = useState(1);\n const [isLoading, setIsLoading] = useState(false);\n\n const { data: documents = [], isLoading: isLoadingDocuments } =\n useGetDocumentsQuery({ search: searchValue });\n\n const handleFiltersClearAll = useCallback(() => {\n handleQueryValueRemove();\n }, [handleQueryValueRemove]);\n\n const filterControl =\n documents.length || queryValue ? (\n \n ) : undefined;\n\n const handleNextPage = () => {\n setIsLoading(false);\n setPage((state) => {\n if (state == Math.ceil(documents.length / limit)) {\n return Math.ceil(documents.length / limit);\n }\n return state + 1;\n });\n };\n const handlePreviousPage = () => {\n setIsLoading(false);\n setPage((state) => {\n if (state == 1) {\n return 1;\n }\n return state - 1;\n });\n };\n\n const [paginatedFilteredItems, setPaginatedFilteredItems] = useState([]);\n const [currentPageItems, setCurrentPageItems] = useState([]);\n\n const emptyStateMarkup =\n !documents.length &&\n !isLoading &&\n !isLoadingDocuments &&\n !queryValue ? (\n

No documents found

\n ) : undefined;\n\n const documentsResourceList = (\n \n renderItem(item, history)\n }\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n emptyState={emptyStateMarkup}\n filterControl={filterControl}\n loading={isLoading || isLoadingDocuments}\n flushFilters\n />\n );\n\n return (\n <>\n {documentsResourceList}\n \n );\n};\n\nconst renderItem = (document, history) => {\n\n const navigateToDocumentShow = () => {\n history.push({\n pathname: `/admin/documents/${document.id}`,\n state: { document: { ...document } },\n });\n };\n\n return (\n \n \n
\n

\n \n \n {document.attributes.name}\n \n \n

\n
\n
\n \n )\n};\n\nAdminDocumentsList.propTypes = {\n};\n\nexport default AdminDocumentsList;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, LegacyStack, TextField } from \"@shopify/polaris\";\n\nimport { useCreateDocumentMutation } from \"../../../services/api\";\n\nconst AddDocumentModal = (props) => {\n const {\n openAddDocumentModal,\n toggleAddDocumentModal,\n } = props;\n\n const [createDocument, { isLoading: isCreatingDocument }] =\n useCreateDocumentMutation();\n\n const [newDocumentName, setNewDocumentName] = useState(\"\");\n\n const submitDocument = () => {\n return createDocument({\n body: {\n name: newDocumentName\n }\n })\n .unwrap()\n .then(() => {\n toggleAddDocumentModal();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nAddDocumentModal.propTypes = {\n openAddDocumentModal: PropTypes.func,\n toggleAddDocumentModal: PropTypes.func,\n};\n\nexport default AddDocumentModal;\n","import React, { useState, useEffect, useCallback, useRef, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { useSelector } from \"react-redux\";\nimport { useForm, useField, notEmpty } from \"@shopify/react-form\";\nimport {\n Card,\n Page,\n Layout,\n} from \"@shopify/polaris\";\nimport { StoreIcon } from \"@shopify/polaris-icons\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nimport AdminDocumentsList from \"./List\";\nimport AddDocumentModal from \"./AddDocumentModal\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nconst AdminDocuments = () => {\n\n const { currentContact } = useContext(CurrentContactContext)\n\n const [openAddDocumentModal, setOpenAddDocumentModal] = useState(false);\n const toggleAddDocumentModal = () => { setOpenAddDocumentModal(!openAddDocumentModal)}\n const addDocumentModal = \n\n const PageMarkup = (\n \n { setOpenAddDocumentModal(true) },\n },\n ]}\n >\n \n \n \n \n \n\n

\n
\n
\n\n {addDocumentModal}\n \n
\n );\n\n return currentContact ? PageMarkup : ;\n};\n\nexport default AdminDocuments;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, LegacyStack, TextField } from \"@shopify/polaris\";\n\nimport { useUpdateDocumentMutation } from \"../../../services/api\";\n\nconst EditDocumentModal = (props) => {\n const {\n documentId,\n openEditDocumentModal,\n toggleEditDocumentModal,\n refetchDocument\n } = props;\n\n const [documentName, setDocumentName] = useState(\"\");\n\n const [updateDocument, { isLoading: isUpdatingDocument }] =\n useUpdateDocumentMutation();\n\n const saveDocument = () => {\n return updateDocument({\n id: documentId,\n name: documentName,\n })\n .unwrap()\n .then(() => {\n refetchDocument();\n toggleEditDocumentModal();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nEditDocumentModal.propTypes = {\n documentId: PropTypes.string,\n openEditDocumentModal: PropTypes.bool,\n toggleEditDocumentModal: PropTypes.func,\n refetchDocument: PropTypes.func,\n};\n\nexport default EditDocumentModal;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, ChoiceList } from \"@shopify/polaris\";\n\nimport { useUpdateDocumentMutation } from \"../../../services/api\";\nimport { toFinanceTypeSlug } from \"../../../utilities\";\n\nconst EditDocumentAssociationModal = (props) => {\n const {\n documentId,\n document,\n openEditDocumentAssociationModal,\n toggleEditDocumentAssociationModal,\n refetchDocument\n } = props;\n\n const [selectedFinanceOptions, setSelectedFinanceOptions] = useState([]);\n\n const [updateDocument, { isLoading: isUpdatingDocument }] =\n useUpdateDocumentMutation();\n\n const saveDocument = () => {\n return updateDocument({\n id: documentId,\n financing_option_type: selectedFinanceOptions,\n })\n .unwrap()\n .then(() => {\n refetchDocument();\n toggleEditDocumentAssociationModal();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n useEffect(() => {\n if(document.attributes.financing_option_type?.length > 0) {\n let financeTypeRows = []\n for(let i = 0; i < document.attributes.financing_option_type.length ; i++) {\n financeTypeRows.push(document.attributes.financing_option_type[i].name)\n }\n\n setSelectedFinanceOptions(financeTypeRows)\n }\n }, [document, openEditDocumentAssociationModal])\n\n const documentTypeChoices = Object.entries(toFinanceTypeSlug).map(([key, value]) => ({\n label: key,\n value: value\n }));\n\n return (\n <>\n \n \n \n \n \n \n );\n};\n\nEditDocumentAssociationModal.propTypes = {\n documentId: PropTypes.string,\n document: PropTypes.object,\n openEditDocumentAssociationModal: PropTypes.bool,\n toggleEditDocumentAssociationModal: PropTypes.func,\n refetchDocument: PropTypes.func,\n};\n\nexport default EditDocumentAssociationModal;\n","let nestedMenu = [\n \"Utilities\",\n \"Opportunity\",\n \"Docusign\",\n \"Client\",\n \"Designated Signer\",\n \"Organization Signer\",\n];\n\nlet subMenuOpportunity = [\n {\n text: \"APR\",\n insertContent: \"  {{ opportunity.apr }}  \",\n },\n {\n text: \"Amount Provided to You or On Your Behalf\",\n insertContent:\n \"  {{ opportunity.amount_provided_to_customer }}  \",\n },\n {\n text: \"Advance Payments Total\",\n insertContent: \"  {{ opportunity.advance_payments_total }}  \",\n },\n {\n text: \"Advance Total Collected\",\n insertContent: \"  {{ opportunity.advance_total_collected }}  \",\n },\n {\n text: \"Agreement Number\",\n insertContent: \"  {{ opportunity.agreement_number }}  \",\n },\n {\n text: \"Agreement Type\",\n insertContent: \"  {{ opportunity.agreement_type }}  \",\n },\n {\n text: \"Base Payment\",\n insertContent: \"  {{ opportunity.base_payment }}  \",\n },\n {\n text: \"Blind Discount - $ Amount\",\n insertContent: \"  {{ opportunity.blind_discount_amount }}  \",\n },\n {\n text: \"Blind Discount - %\",\n insertContent: \"  {{ opportunity.blind_discount_percentage }}  \",\n },\n {\n text: \"Booked Date\",\n insertContent: \"  {{ opportunity.booked_date }}  \",\n },\n {\n text: \"Commencement Date\",\n insertContent: \"  {{ opportunity.commencement_date }}  \",\n },\n {\n text: \"Document Name\",\n insertContent: \"  {{ opportunity.document_name }}  \",\n },\n {\n text: \"Documentation Fee\",\n insertContent: \"  {{ opportunity.documentation_fee }}  \",\n },\n {\n text: \"Install Date\",\n insertContent: \"  {{ opportunity.install_date }}  \",\n },\n {\n text: \"Installment Payment\",\n insertContent: \"  {{ opportunity.installment_payment }}  \",\n },\n {\n text: \"Quote Numbers\",\n insertContent: \"  {{ opportunity.invoice_numbers }}  \",\n },\n {\n text: \"Net Payment\",\n insertContent: \"  {{ opportunity.net_payment }}  \",\n },\n {\n text: \"Payment Frequency\",\n insertContent: \"  {{ opportunity.payment_frequency }}  \",\n },\n {\n text: \"Payment Schedule Note\",\n insertContent: \"  {{ opportunity.payment_schedule_note }}  \",\n },\n {\n text: \"Payments Total including Tax\",\n insertContent:\n \"  {{ opportunity.payments_total_including_tax }}  \",\n },\n {\n text: \"Product Address\",\n insertContent: \"  {{ opportunity.product_address }}  \",\n },\n {\n text: \"Product Description\",\n insertContent: \"  {{ opportunity.product_description }}  \",\n },\n {\n text: \"Term Length\",\n insertContent: \"  {{ opportunity.term_length }}  \",\n },\n {\n text: \"Total Deal Fees\",\n insertContent: \"  {{ opportunity.total_fees }}  \",\n },\n {\n text: \"Total Finance Charge\",\n insertContent: \"  {{ opportunity.total_finance_charge }}  \",\n },\n {\n text: \"Total Finance Amount\",\n insertContent: \"  {{ opportunity.total_finance_amount }}  \",\n },\n {\n text: \"Total Quote Amount\",\n insertContent: \"  {{ opportunity.total_invoice_amount }}  \",\n },\n {\n text: \"Total Sales Tax\",\n insertContent: \"  {{ opportunity.total_sales_tax }}  \",\n },\n {\n text: \"Vendor List\",\n insertContent: \"  {{ opportunity.vendor_list }}  \",\n },\n];\n\nlet subMenuDocusign = [\n {\n text: \"Text\",\n insertContent: \"  {{ docusign.text }}  \",\n },\n];\n\nlet subMenuClient = [\n {\n text: \"Address\",\n insertContent: \"  {{ client.address }}  \",\n },\n {\n text: \"DBA\",\n insertContent: \"  {{ client.dba }}  \",\n },\n {\n text: \"Name\",\n insertContent: \"  {{ client.name }}  \",\n },\n {\n text: \"Phone\",\n insertContent: \"  {{ client.phone }}  \",\n },\n {\n text: \"Tax ID\",\n insertContent: \"  {{ client.tax_id }}  \",\n },\n];\n\nlet subMenuDesignatedSigner = [\n {\n text: \"Name\",\n insertContent: \"  {{ designated_signer.name }}  \",\n },\n {\n text: \"Signature\",\n insertContent: \"  {{ designated_signer.signature }}  \",\n },\n {\n text: \"Signing Date\",\n insertContent: \"  {{ designated_signer.signing_date }}  \",\n },\n {\n text: \"Inline Signing Date\",\n insertContent: \"  {{ designated_signer.signing_date_inline }}  \",\n },\n {\n text: \"Title\",\n insertContent: \"  {{ designated_signer.title }}  \",\n },\n];\n\nlet subMenuOrganizationSigner = [\n {\n text: \"Name\",\n insertContent: \"  {{ organization_signer.name }}  \",\n },\n {\n text: \"Signature\",\n insertContent: \"  {{ organization_signer.signature }}  \",\n },\n {\n text: \"Signing Date\",\n insertContent: \"  {{ organization_signer.signing_date }}  \",\n },\n {\n text: \"Title\",\n insertContent: \"  {{ organization_signer.title }}  \",\n },\n];\n\nlet subMenuUtilities = [\n {\n text: \"Today\",\n insertContent: \"  {{ utilities.today }}  \",\n }\n]\n\nlet submenuItems = {\n Utilities: subMenuUtilities,\n Opportunity: subMenuOpportunity,\n Docusign: subMenuDocusign,\n Client: subMenuClient,\n \"Designated Signer\": subMenuDesignatedSigner,\n \"Organization Signer\": subMenuOrganizationSigner,\n};\n\nfunction editorSnippets(editor) {\n var items = [];\n\n for (let i = 0; i < nestedMenu.length; i++) {\n let currentMenu = nestedMenu[i];\n\n let subMenu = [];\n for (let j = 0; j < submenuItems[currentMenu].length; j++) {\n let subMenuItem = {\n type: \"menuitem\",\n text: submenuItems[currentMenu][j].text,\n onAction: function () {\n editor.insertContent(submenuItems[currentMenu][j].insertContent);\n },\n };\n\n subMenu.push(subMenuItem);\n }\n\n let menu = {\n type: \"nestedmenuitem\",\n text: currentMenu,\n getSubmenuItems: function () {\n return subMenu;\n },\n };\n\n items.push(menu);\n }\n\n return items;\n}\n\nfunction htmlSnippets(insertLiquidSnippet) {\n var items = [];\n\n for (let i = 0; i < nestedMenu.length; i++) {\n let currentMenu = nestedMenu[i];\n\n let subMenu = [];\n for (let j = 0; j < submenuItems[currentMenu].length; j++) {\n let subMenuItem = {\n content: submenuItems[currentMenu][j].text,\n onAction: () => {\n insertLiquidSnippet(submenuItems[currentMenu][j].insertContent);\n },\n };\n\n subMenu.push(subMenuItem);\n }\n\n let menu = {\n title: currentMenu,\n items: subMenu,\n };\n\n items.push(menu);\n }\n\n return items;\n}\n\nexport { editorSnippets, htmlSnippets };\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useParams } from \"react-router-dom\";\nimport {\n Card,\n Page,\n Layout,\n InlineStack,\n Button,\n TextField,\n Text,\n Popover,\n ActionList,\n Spinner,\n DataTable,\n Banner,\n Link,\n Toast\n} from \"@shopify/polaris\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport EditDocumentModal from \"./EditDocumentModal\";\nimport EditDocumentAssociationModal from \"./EditDocumentAssociationModal\";\n\nimport { Editor } from \"@tinymce/tinymce-react\";\n\nimport { editorSnippets, htmlSnippets } from \"./SnippetItems\";\n\nimport {\n useGetDocumentQuery,\n useUpdateDocumentMutation,\n usePreviewDocumentMutation,\n} from \"../../../services/api\";\n\nimport { toHumanReadableFinanceType } from \"../../../utilities\";\n\nconst AdminDocumentShow = () => {\n const { id: documentId } = useParams();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const {\n data: document = { attributes: {} },\n isLoading: isLoadingDocument,\n refetch: refetchDocument,\n } = useGetDocumentQuery({ id: documentId });\n\n const [updateDocument, { isLoading: isUpdatingDocument }] =\n useUpdateDocumentMutation();\n\n const [previewDocument, { isLoading: isPreviewingDocument }] =\n usePreviewDocumentMutation();\n\n const [templateContents, setTemplateContents] = useState(\"\");\n const [htmlContents, setHtmlContents] = useState(\"\");\n const [showHtmlContents, setShowHtmlContents] = useState(false);\n const toggleShowHtmlContents = () => {\n setShowHtmlContents(!showHtmlContents);\n };\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const editorRef = useRef(null);\n\n const handleShowHtmlEditorButton = () => {\n if (!showHtmlContents) {\n const editorContents = editorRef.current.getContent();\n setHtmlContents(editorContents);\n } else {\n setShowSnippetsPopover(false);\n setTemplateContents(htmlContents);\n }\n toggleShowHtmlContents();\n };\n\n const wysiwygEditorBlock = !showHtmlContents && (\n (editorRef.current = editor)}\n value={templateContents}\n onEditorChange={(newValue, editor) => setTemplateContents(newValue)}\n init={{\n height: 500,\n menubar: false,\n plugins: [\n \"advlist autolink lists link image charmap print preview anchor\",\n \"searchreplace visualblocks code fullscreen\",\n \"insertdatetime media table paste code help wordcount\",\n \"table\",\n ],\n toolbar:\n \"bold italic underline |\" +\n \" alignleft alignright aligncenter alignjustify |\" +\n \" bullist numlist |\" +\n \"table |\" +\n \" snippets |\",\n table_default_attributes: { border: 0 },\n setup: function (editor) {\n var toggleState = false;\n\n editor.ui.registry.addMenuButton(\"snippets\", {\n text: \"Snippets\",\n fetch: function (callback) {\n var items = editorSnippets(editor);\n callback(items);\n },\n });\n },\n content_style:\n \"body { font-family:Helvetica,Arial,sans-serif; font-size:14px }\",\n }}\n />\n );\n\n function typeInTextarea(newText) {\n let el = window.document.getElementById(\"PolarisHtmlEditor\");\n const [start, end] = [el.selectionStart, el.selectionEnd];\n setHtmlContents(\n [htmlContents.slice(0, start), newText, htmlContents.slice(start)].join(\n \"\"\n )\n );\n }\n\n const insertLiquidSnippet = (snippet) => {\n typeInTextarea(snippet);\n };\n\n const htmlEditorBlock = showHtmlContents && (\n \n );\n\n const saveDocumentTemplate = () => {\n return updateDocument({\n id: documentId,\n name: document.attributes.name,\n template: templateContents,\n body: templateContents,\n })\n .unwrap()\n .then(() => {\n console.log(\"success\");\n\n setToastMessage(\"Document saved\")\n setShowToast(true)\n\n // Refetch document to prevent old document from loading\n refetchDocument();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [showSnippetsPopover, setShowSnippetsPopover] = useState(false);\n const toggleShowSnippetsPopover = () => {\n setShowSnippetsPopover(!showSnippetsPopover);\n };\n const showSnippetsButton = (\n \n );\n const [htmlEditorSnippets, setHtmlEditorSnippets] = useState([]);\n\n useEffect(() => {\n let snippets = htmlSnippets(insertLiquidSnippet);\n setHtmlEditorSnippets(snippets);\n }, []);\n\n const [openEditDocumentModal, setOpenEditDocumentModal] = useState(false);\n const toggleEditDocumentModal = () => {\n setOpenEditDocumentModal(!openEditDocumentModal);\n };\n const editDocumentModal = (\n \n );\n\n const [\n openEditDocumentAssociationModal,\n setOpenEditDocumentAssociationModal,\n ] = useState(false);\n const toggleEditDocumentAssociationModal = () => {\n setOpenEditDocumentAssociationModal(!openEditDocumentAssociationModal);\n };\n const editDocumentAssociationModal = (\n \n );\n\n const [sortedFinanceOptionTypeRows, setSortedFinanceOptionTypeRows] =\n useState([]);\n\n function sortAlphabetically(rows, index, direction) {\n return [...rows].sort((rowA, rowB) => {\n const itemA = rowA[index] || 0;\n const itemB = rowB[index] || 0;\n\n return direction === \"descending\"\n ? itemB > itemA\n ? 1\n : -1\n : itemA > itemB\n ? 1\n : -1;\n });\n }\n\n const handleFinanceOptionSort = useCallback(\n (index, direction) => {\n let sortedRows = sortAlphabetically(\n sortedFinanceOptionTypeRows,\n index,\n direction\n );\n setSortedFinanceOptionTypeRows(sortedRows);\n },\n [sortedFinanceOptionTypeRows]\n );\n\n const [sortedVendorProgramRows, setSortedVendorProgramRows] = useState([]);\n\n const handleVendorProgramSort = useCallback(\n (index, direction) => {\n let sortedRows = sortAlphabetically(\n sortedVendorProgramRows,\n index,\n direction\n );\n setSortedVendorProgramRows(sortedRows);\n },\n [sortedVendorProgramRows]\n );\n\n useEffect(() => {\n if (document.attributes.template) {\n setTemplateContents(document.attributes.template);\n }\n\n if (document.attributes.associated_vendor_programs?.length > 0) {\n let vendorProgramRows = [];\n for (\n let i = 0;\n i < document.attributes.associated_vendor_programs.length;\n i++\n ) {\n vendorProgramRows.push([\n document.attributes.associated_vendor_programs[i].name,\n ]);\n }\n\n setSortedVendorProgramRows(vendorProgramRows);\n }\n\n if (document.attributes.financing_option_type?.length > 0) {\n let financeTypeRows = [];\n for (\n let i = 0;\n i < document.attributes.financing_option_type.length;\n i++\n ) {\n financeTypeRows.push([\n toHumanReadableFinanceType[\n document.attributes.financing_option_type[i].name\n ],\n ]);\n }\n\n setSortedFinanceOptionTypeRows(financeTypeRows);\n }\n }, [document]);\n\n const callPreviewDocument = () => {\n console.log(\"call preview document\");\n\n return previewDocument({\n id: documentId,\n body: {},\n })\n .unwrap()\n .then((response) => {\n console.log(\"response\");\n console.log(response);\n\n var newWindow = window.open();\n newWindow.document.write(response);\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const PageMarkup = (\n \n {isLoadingDocument ? (\n
\n \n
\n ) : (\n \n \n \n \n

\n This feature is very fresh and needs to be better documented\n and tested. If you are unsure about something,{\" \"}\n \n ask Tim\n \n .\n

\n \n
\n \n \n
\n \n \n Document name\n \n\n \n \n
\n\n
\n \n {document.attributes.name}\n \n
\n
\n
\n\n \n \n
\n \n \n Template\n \n\n \n \n
\n\n
\n \n {showHtmlContents && (\n \n \n \n )}\n\n {!showHtmlContents && (\n \n )}\n\n {showHtmlContents && (\n \n \n \n )}\n \n
\n\n
\n {wysiwygEditorBlock}\n {htmlEditorBlock}\n
\n
\n\n
\n
\n
\n\n \n \n
\n \n \n Associated with\n \n\n \n \n
\n\n
\n \n
\n
\n\n
\n
\n\n \n
\n \n \n Document available to\n \n \n
\n\n
\n \n Changes to this document will be available to the following\n vendor programs\n \n
\n\n
\n \n
\n
\n
\n
\n\n {toastMarkup}\n {editDocumentModal}\n {editDocumentAssociationModal}\n \n )}\n
\n );\n\n return currentContact ? PageMarkup : ;\n};\n\nexport default AdminDocumentShow;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n LegacyCard,\n IndexTable,\n Text,\n useIndexResourceState,\n} from \"@shopify/polaris\";\n\nconst AdminSettingsOrgAdminsTab = (props) => {\n const {\n admins,\n fetchingAdmins,\n currentContactId,\n isRevokingOrgAdmin,\n setSelectedUsers,\n setShowAddAdminModal,\n setOpenConfirmationModal,\n setConfirmRevokeAdminRole,\n } = props;\n\n const resourceName = {\n singular: 'user',\n plural: 'users',\n };\n\n const promotedBulkActions = [\n {\n content: \"Revoke role\",\n onAction: () => {\n setOpenConfirmationModal(true);\n setConfirmRevokeAdminRole(true);\n },\n },\n ];\n\n const {selectedResources, allResourcesSelected, handleSelectionChange} =\n useIndexResourceState(admins);\n\n useEffect(() => {\n setSelectedUsers([ ...selectedResources ]);\n }, [selectedResources, setSelectedUsers]);\n\n const rowMarkup = admins.map((user, index) => (\n \n \n \n {user.attributes.full_name}\n \n \n {user.attributes.email}\n {user.attributes.last_logged_in_at}\n \n ),\n );\n\n return (\n <>\n \n setShowAddAdminModal(true),\n },\n ]}\n >\n \n
\n \n {rowMarkup}\n \n
\n \n );\n};\n\nAdminSettingsOrgAdminsTab.propTypes = {\n admins: PropTypes.any,\n fetchingAdmins: PropTypes.bool,\n currentContactId: PropTypes.string,\n isRevokingOrgAdmin: PropTypes.bool,\n setSelectedUsers: PropTypes.func,\n setShowAddAdminModal: PropTypes.func,\n setOpenConfirmationModal: PropTypes.func,\n setConfirmRevokeAdminRole: PropTypes.func,\n};\n\nexport default AdminSettingsOrgAdminsTab;\n\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n LegacyCard,\n IndexTable,\n Badge,\n Tag,\n} from \"@shopify/polaris\";\n\nconst AdminSettingsTagsTab = (props) => {\n const {\n tags,\n fetchingTags,\n isCreatingTag,\n isDeletingTags,\n selectedResources,\n setSelectedResources,\n allResourcesSelected,\n setAllResourcesSelected,\n setOpenConfirmationModal,\n setConfirmRevokeAdminRole,\n handleCreateTagModalActiveChange,\n } = props;\n\n const resourceName = {\n singular: 'tag',\n plural: 'tags',\n };\n\n const promotedBulkActions = [\n {\n content: \"Delete tags\",\n onAction: () => {\n setOpenConfirmationModal(true);\n setConfirmRevokeAdminRole(false);\n },\n },\n ];\n\n const handleTagSelectionChange = (selectionType, toggleType, tagId) => {\n if (selectionType === 'single') {\n if(selectedResources?.includes(tagId)){\n setSelectedResources(selectedResources.filter(id => id !== tagId));\n }else{\n setSelectedResources([...selectedResources, tagId]);\n }\n }else{\n setAllResourcesSelected(toggleType);\n if(toggleType){\n setSelectedResources(tags.map(tag => tag.id));\n }else{\n setSelectedResources([]);\n }\n }\n };\n\n const rowMarkup = tags.map((tag, index) => (\n \n \n {tag.attributes.name}\n \n \n ),\n );\n\n return (\n \n \n \n
\n \n {rowMarkup}\n \n
\n );\n};\n\nAdminSettingsTagsTab.propTypes = {\n tags: PropTypes.array,\n fetchingTags: PropTypes.bool,\n isCreatingTag: PropTypes.bool,\n isDeletingTags: PropTypes.bool,\n selectedResources: PropTypes.array,\n setSelectedResources: PropTypes.func,\n allResourcesSelected: PropTypes.bool,\n setAllResourcesSelected: PropTypes.func,\n setOpenConfirmationModal: PropTypes.func,\n setConfirmRevokeAdminRole: PropTypes.func,\n handleCreateTagModalActiveChange: PropTypes.func,\n};\n\nexport default AdminSettingsTagsTab;\n","import React, {\n useState,\n useEffect,\n useCallback,\n forwardRef,\n} from \"react\";\nimport { useDebounce } from \"use-debounce\";\nimport {\n useSearchContactsQuery,\n useAddAdminMutation,\n} from \"../../services/api\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport {\n Autocomplete,\n FormLayout,\n Icon,\n LegacyStack,\n Tag,\n TextField,\n Checkbox,\n Text,\n} from \"@shopify/polaris\";\nimport { SearchIcon, PlusCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { validateEmail } from \"../../utilities\";\n\nconst AdminContactForm = forwardRef((props, ref) => {\n const {\n onAfterShareWithContacts,\n onNotifyContacts,\n setInviteParams,\n isShowNewContactForm,\n addNewContact,\n setAddNewContact,\n } = props;\n\n const [notifMsg, setNotifMsg] = useState(\"\");\n const [notifyContacts, setNotifyContacts] = useState(false);\n const handleCheckboxChange = useCallback((newChecked) => {\n setNotifyContacts(newChecked);\n onNotifyContacts(newChecked);\n setNotifMsg(\"\");\n }, []);\n\n const [createOrgAdminContact, { isLoading: isCreatingOrgAdminContact }] =\n useAddAdminMutation();\n\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState([]);\n const [contactOptions, setContactOptions] = useState([]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds(selectedContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n const handleRemoveContact = useCallback(\n (contact) => {\n const options = [...selectedContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedContactOptions(options);\n\n const optionIds = [...selectedContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedContactOptionIds(optionIds);\n if (optionIds.length < 1) {\n setNotifyContacts(false);\n onNotifyContacts(false);\n }\n },\n [selectedContactOptionIds, selectedContactOptions]\n );\n\n // const shareButton = useRef(null);\n\n useEffect(() => {\n setInviteParams({\n notifMsg,\n notifyContacts,\n contactIds: selectedContactOptionIds,\n });\n }, [notifyContacts, notifMsg, selectedContactOptionIds, setInviteParams]);\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n const contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n setContactOptions(contactList);\n }\n }, [searchContacts]);\n\n const verticalContentMarkup =\n selectedContactOptions.length > 0 ? (\n \n {selectedContactOptions.map((contact, index) => {\n return (\n handleRemoveContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const contactShareTextField = (\n <>\n }\n placeholder=\"Search\"\n value={contactSearchValue}\n verticalContent={verticalContentMarkup}\n />\n \n \n \n {notifyContacts && (\n
\n Notification Message\n
\n \n
\n )}\n \n );\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: newContactFormDirty,\n } = useForm({\n fields: {\n first_name: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n },\n async onSubmit(form) {\n return createOrgAdminContact({\n notifyContacts: true,\n notifMsg: notifMsg,\n ...form,\n })\n .unwrap()\n .then(() => {\n setAddNewContact(false);\n isShowNewContactForm(false);\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n setShowNewContactForm(false);\n setNotifyContacts(false);\n setNotifMsg(\"\");\n\n // pull focus from autocomplete\n // shareButton.current.click();\n onAfterShareWithContacts();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n useEffect(() => {\n if (addNewContact) {\n submit();\n }\n }, [addNewContact]);\n\n return <>\n {showNewContactForm ? (\n (\n \n \n \n \n \n \n )\n ) : (\n <>\n {\n isShowNewContactForm(true);\n setShowNewContactForm(true);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n },\n }}\n />\n \n )}\n ;\n});\nAdminContactForm.displayName = \"AdminContactForm\";\nAdminContactForm.propTypes = {\n onNotifyContacts: PropTypes.func,\n onAfterShareWithContacts: PropTypes.func,\n setInviteParams: PropTypes.func,\n isShowNewContactForm: PropTypes.func,\n addNewContact: PropTypes.any,\n setAddNewContact: PropTypes.any,\n};\n\nexport default AdminContactForm;\n\n","import React, {\n useState,\n useEffect,\n useCallback,\n useContext,\n useRef,\n} from \"react\";\nimport {\n Page,\n Card,\n Tabs,\n Modal,\n TextField,\n Text,\n Button,\n BlockStack,\n FormLayout,\n} from \"@shopify/polaris\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\nimport AdminSettingsOrgAdminsTab from \"../../../components/Admin/Settings/Tabs/OrgAdmins\";\nimport AdminSettingsTagsTab from \"../../../components/Admin/Settings/Tabs/Tags\";\nimport AdminContactForm from \"../../../components/AdminContact/Form\";\n\nimport {\n useGetAdminsQuery,\n useGetTagsQuery,\n useCreateTagMutation,\n useDeleteTagsMutation,\n useAddAdminMutation,\n useRevokeAdminsMutation,\n} from \"../../../services/api\";\n\nconst AdminSettings = () => {\n const { currentContact } = useContext(CurrentContactContext);\n\n const { data: admins = [], isLoading: fetchingAdmins } = useGetAdminsQuery();\n\n const { data: tagsData = null, isLoading: fetchingTags } = useGetTagsQuery();\n\n const [createTag, { isLoading: isCreatingTag }] = useCreateTagMutation();\n\n const [deleteTags, { isLoading: isDeletingTags }] = useDeleteTagsMutation();\n\n const [addOrgAdminContact, { isLoading: isAddingOrgAdminContact }] =\n useAddAdminMutation();\n\n const [revokeOrgAdminRole, { isLoading: isRevokingOrgAdmin }] =\n useRevokeAdminsMutation();\n\n const [selectedUsers, setSelectedUsers] = useState([]);\n const [selected, setSelected] = useState(0);\n const [tagName, setTagName] = useState(\"\");\n const [tags, setTags] = useState([]);\n const [allTagsSelected, setAllTagsSelected] = useState(false);\n const [selectedTagIds, setSelectedTagIds] = useState([]);\n const [createTagModalActive, setCreateTagModalActive] = useState(false);\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n\n const [confirmRevokeAdminRole, setConfirmRevokeAdminRole] = useState(true);\n const [showAddAdminModal, setShowAddAdminModal] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [addNewContact, setAddNewContact] = useState(false);\n const [inviteParams, setInviteParams] = useState({\n contactIds: [],\n notifyContacts: false,\n notifMsg: \"\",\n });\n\n const [notifyContacts, setNotifyContacts] = useState(false);\n const vendorContactFormRef = useRef();\n\n const handleNotifyContacts = useCallback((notify) => {\n setNotifyContacts(notify);\n }, []);\n\n const handleAfterAddAdmin = () => {\n setNotifyContacts(false);\n setToastMessage(\"Admins added\");\n toggleShowToast();\n };\n\n const handleAddNewAdmins = () => {\n const payload = { ...inviteParams };\n payload.ids = payload.contactIds;\n delete payload.contactIds;\n\n return addOrgAdminContact({ ...payload })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleTagSelectionChange = useCallback(\n (selectedTagIds) => setSelectedTagIds(selectedTagIds),\n [selectedTagIds]\n );\n\n const handleAllTagsSelectionChange = useCallback(() => {\n () => setAllTagsSelected(!allTagsSelected);\n }, [allTagsSelected]);\n\n const handleCreateTagModalActiveChange = useCallback(\n () => setCreateTagModalActive(!createTagModalActive),\n [createTagModalActive]\n );\n\n const handleSetTagName = useCallback((value) => setTagName(value), []);\n\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelected(selectedTabIndex),\n []\n );\n\n const handleCreateTag = () => {\n return createTag({ tag: tagName })\n .unwrap()\n .then(() => {\n setTagName(\"\");\n handleCreateTagModalActiveChange();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleDeleteTags = () => {\n setOpenConfirmationModal(false);\n\n return deleteTags({ tag_ids: selectedTagIds.join(\",\") })\n .unwrap()\n .then(() => {\n handleTagSelectionChange([]);\n handleAllTagsSelectionChange(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleRevokeOrgAdminRole = () => {\n setOpenConfirmationModal(false);\n\n return revokeOrgAdminRole({ ids: selectedUsers })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n // const handleConfirmDeleteModal = () => {\n // bulkDeleteTags();\n // setOpenConfirmationModal(false);\n // };\n\n useEffect(() => {\n if (tagsData) {\n setTags(tagsData);\n }\n }, [tagsData]);\n\n const tabs = [\n {\n id: \"org_admins\",\n content: \"Organization Admins\",\n accessibilityLabel: \"Organization Admins\",\n panelID: \"org-admins\",\n tab: (\n
\n \n
\n ),\n },\n {\n id: \"tags\",\n content: \"Tags\",\n accessibilityLabel: \"Tags\",\n panelID: \"tags\",\n tab: (\n
\n \n
\n ),\n },\n ];\n\n const areYouSureModal = (\n setOpenConfirmationModal(false)}\n title=\"Are you sure?\"\n primaryAction={{\n content: \"Confirm\",\n onAction: confirmRevokeAdminRole\n ? handleRevokeOrgAdminRole\n : handleDeleteTags,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setOpenConfirmationModal(false),\n },\n ]}\n >\n \n \n {confirmRevokeAdminRole\n ? `You are about to revoke organization admin roles on ${selectedUsers.length} users.`\n : `You are about to delete ${selectedTagIds.length} tags. This action cannot be undone.`}\n \n \n {confirmRevokeAdminRole\n ? `This will limit access.`\n : `Deleting tags will remove them from all opportunities.`}\n \n \n \n );\n\n const createTagModal = (\n \n \n \n \n \n );\n\n const addAdminModal = (\n setShowAddAdminModal(false)}\n title={\"Add admin\"}\n large={true}\n primaryAction={{\n content: \"Add\",\n loading: addNewContact,\n onAction: () => {\n if (showNewContactForm) {\n setAddNewContact(true);\n } else {\n handleAddNewAdmins();\n setShowAddAdminModal(false);\n }\n },\n }}\n >\n \n {\n handleNotifyContacts(notify);\n }}\n onAfterShareWithContacts={handleAfterAddAdmin}\n ref={vendorContactFormRef}\n setInviteParams={setInviteParams}\n isShowNewContactForm={setShowNewContactForm}\n addNewContact={addNewContact}\n setAddNewContact={setAddNewContact}\n />\n \n \n );\n\n return (\n \n \n \n {tabs[selected].tab}\n \n\n \n \n \n Beta features\n \n \n \n \n \n \n \n {createTagModal}\n {areYouSureModal}\n {addAdminModal}\n \n );\n};\n\nexport default AdminSettings;\n","import React from \"react\";\nimport { Route, Switch, Redirect } from \"react-router-dom\";\n\nimport AdminClientIndex from \"./Admin/Client/Index\";\nimport AdminClientShow from \"./Admin/Client/Show\";\n\nimport AdminContacts from \"./Admin/Contact/Index\";\n\nimport AdminLenderIndex from \"./Admin/Lender/Index\";\nimport AdminLenderShow from \"./Admin/Lender/Show\";\n\nimport AdminOpportunities from \"./Admin/Opportunity/Index\";\n\nimport AdminTeams from \"./Admin/Team/Index\";\nimport AdminTeamShow from \"./Admin/Team/Show\";\n\nimport AdminVendorIndex from \"./Admin/Vendor/Index\";\nimport AdminVendorShow from \"./Admin/Vendor/Show\";\n\nimport AdminVendorPrograms from \"./Admin/VendorProgram/Index\";\nimport AdminVendorProgramsShow from \"./Admin/VendorProgram/Show\";\n\nimport AdminDocuments from \"./Admin/Document/Index\";\nimport AdminDocumentShow from \"./Admin/Document/Show\";\n\nimport AdminSettings from \"./Admin/Settings/Index\";\n\nconst Admin = (props) => {\n return (\n <>\n \n \n \n \n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n }\n />\n\n }\n />\n\n }\n />\n\n }\n />\n \n \n );\n};\n\nexport default Admin;\n","import React from \"react\";\nimport { useGetMembershipsByTeamQuery } from \"../../../services/api\";\n\nimport {\n Avatar,\n Spinner,\n LegacyStack,\n Tooltip,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\n\nconst TeamMemberAvatarList = (props) => {\n const { teamId } = props;\n\n const DESIGNATED_SIGNER_EMOJI = \"✍️\"\n\n const {\n data: teamMembers = [],\n isLoading,\n isFetching,\n } = useGetMembershipsByTeamQuery(teamId, { skip: !teamId});\n\n return (\n \n {isLoading || isFetching ? (\n \n ) : (\n teamMembers.map((member, index) => {\n const { contact_email, contact_full_name, contact_initials } = member.attributes;\n\n return (\n \n {contact_full_name} {contact_email}\n \n }\n key={`avatar-${index}`}\n >\n
\n \n
\n \n );\n })\n )}\n
\n );\n};\n\nTeamMemberAvatarList.propTypes = {\n teamId: PropTypes.string,\n};\nexport default TeamMemberAvatarList;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n IndexTable,\n Filters,\n Text,\n Pagination,\n Link,\n Box,\n} from \"@shopify/polaris\";\n\nimport { useDebounce } from \"use-debounce\";\nimport { useGetTeamsQuery } from \"../../services/api\";\nimport TeamMemberAvatarList from \"./Membership/AvatarList\";\n\nconst TeamIndexTable = (props) => {\n const {\n onTeamClick,\n itemLimit = 5,\n } = props;\n\n const resourceName = {\n singular: 'team',\n plural: 'teams',\n };\n\n const [limit, setLimit] = useState(itemLimit);\n const [page, setPage] = useState(1);\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [sortDirection, setSortDirection] = useState(\"descending\");\n const [selected, setSelected] = useState(0);\n\n const [taggedWith, setTaggedWith] = useState(undefined);\n const [originatorSearch] = useDebounce(taggedWith, 500);\n\n const handleTaggedWithRemove = useCallback(() => setTaggedWith(null), []);\n const handleQueryValueRemove = useCallback(() => setQueryValue(undefined), []);\n const handleFiltersClearAll = useCallback(() => {\n handleTaggedWithRemove();\n handleQueryValueRemove();\n }, [ handleQueryValueRemove, handleTaggedWithRemove ]\n );\n\n const { data: teamData = [], isLoading: queryIsLoading } =\n useGetTeamsQuery();\n\n const [teams, setTeams] = useState([]);\n const [isLoading, setIsLoading] = useState(true);\n\n useEffect(() => {\n let filtered = [];\n\n if (queryValue && teamData.length) {\n const results = teamData.filter((item) => {\n return item.attributes.name\n .toLowerCase()\n .includes(queryValue.toLowerCase());\n });\n\n filtered = results;\n } else {\n if (!teamData.length) {\n filtered = [];\n } else {\n filtered = teamData;\n }\n }\n\n setTeams(filtered);\n setIsLoading(false);\n\n return () => setTeams([]);\n }, [teamData, queryValue]);\n\n const handleTableSorting = (headingIndex, direction) => {\n let currentSortDirection = \"descending\";\n if (sortDirection === \"ascending\") {\n currentSortDirection = \"descending\";\n setSortDirection(\"descending\");\n } else {\n currentSortDirection = \"ascending\";\n setSortDirection(\"ascending\");\n }\n\n let sortTag = \"\";\n switch(headingIndex){\n case 1:\n sortTag = \"CREATED_AT_\";\n break;\n case 2:\n sortTag = \"ORIGINATOR_\";\n break;\n case 3:\n sortTag = \"AMOUNT_\";\n break;\n }\n\n if (currentSortDirection === \"ascending\") {\n sortTag = `${sortTag}ASC`;\n } else {\n sortTag = `${sortTag}DESC`;\n }\n\n setSortValue(sortTag);\n };\n\n const handleChangePage = (mode) => {\n setIsLoading(true);\n setPage((state) => {\n if (mode == \"next\" && state == Math.ceil(teamData.length / limit)) {\n return Math.ceil(teamData.length / limit);\n }else if(mode == \"previous\" && state == 1){\n return 1;\n }\n\n if(mode == \"next\"){\n return state + 1;\n }else if(mode == \"previous\"){\n return state - 1;\n }\n });\n };\n\n const rowMarkup = teams.map((item, index) => (\n \n \n \n onTeamClick(item)}\n >\n {item.attributes.name}\n \n \n \n \n {item.attributes.vendor_name}\n \n \n
\n \n
\n
\n \n {`${item.attributes.member_count} members`}\n \n \n ),\n );\n\n const TeamIndexTable = (\n \n {rowMarkup}\n \n );\n\n const tablePagination = (\n { handleChangePage(\"previous\") } }\n onNext={()=>{ handleChangePage(\"next\") } }\n label={(\n \n Page {page} of {Math.ceil(teamData.length / limit)}\n \n )}\n />\n );\n\n const indexTablePaged = (\n \n \n \n \n {TeamIndexTable}\n \n );\n\n return indexTablePaged;\n};\n\nTeamIndexTable.propTypes = {\n onTeamClick: PropTypes.func,\n itemLimit: PropTypes.number,\n};\n\nexport default TeamIndexTable;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Card,\n Page,\n Layout,\n Modal,\n Select,\n TextField,\n Toast,\n} from \"@shopify/polaris\";\n\nimport FadeIn from \"../../../components/FadeIn\";\nimport TeamIndexTable from \"../../../components/Team/IndexTable\";\n\nimport {\n useGetVendorsQuery,\n useCreateVendorAdminTeamMutation,\n} from \"../../../services/api\";\n\nconst VendorAdminTeams = () => {\n const history = useHistory();\n\n const [showAddTeamModal, setShowAddTeamModal] = useState(false);\n const [teamName, setTeamName] = useState(\"\");\n const [selectedVendorId, setSelectedVendorId] = useState(\"\");\n const [selectedVendorStr, setSelectedVendorStr] = useState(\"\");\n const [vendorItems, setVendorItems] = useState([]);\n const handleSelectChange = useCallback((value) => {\n setSelectedVendorStr(value);\n }, []);\n\n const [createVendorAdminTeam, { isLoading: isCreatingTeam }] =\n useCreateVendorAdminTeamMutation();\n\n const navigateToVendorAdminTeamShow = (team) => {\n history.push({\n pathname: `/vendor_admin/teams/${team.id}`,\n state: { team: { ...team } },\n });\n };\n\n const handleTeamNameChange = (name) => {\n setTeamName(name);\n };\n\n const { data: vendorData = [], isLoading: isLoadingVendors } =\n useGetVendorsQuery({filter: \"vendor_admin\"});\n\n const handleCreateTeam = () => {\n createVendorAdminTeam({ vendor_id: selectedVendorId, team_name: teamName })\n .then(() => {\n setShowToast(true);\n setToastMessage(\"Team created.\");\n setShowAddTeamModal(false);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n setShowAddTeamModal(false);\n };\n\n useEffect(() => {\n if (vendorData.length > 0) {\n let vendorSet = [];\n setVendorItems(\n vendorData.map((item) => {\n return item?.attributes?.name;\n })\n );\n setSelectedVendorId(vendorData[0].attributes.id);\n setSelectedVendorStr(vendorData[0].attributes.name);\n }\n }, [vendorData]);\n\n useEffect(() => {\n let vendor = null;\n\n if (selectedVendorStr != \"\") {\n vendor = vendorData.find((vendor) => {\n return vendor?.attributes?.name == selectedVendorStr;\n });\n }\n }, [selectedVendorStr, vendorData]);\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState();\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const addTeamModal = (\n setShowAddTeamModal(false)}\n title={\"New team\"}\n loading={isCreatingTeam}\n primaryAction={{\n content: \"Save\",\n onAction: () => {\n handleCreateTeam();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowAddTeamModal(false),\n },\n ]}\n >\n \n \n
\n \n
\n
\n \n );\n\n const pageIndexMarkup = (\n \n setShowAddTeamModal(true),\n },\n ]}\n >\n \n \n \n \n \n \n \n\n {addTeamModal}\n {toastMarkup}\n \n \n );\n\n return pageIndexMarkup;\n};\n\nexport default VendorAdminTeams;\n","import React, {\n useState,\n useEffect,\n useCallback,\n forwardRef,\n useRef,\n useContext,\n} from \"react\";\nimport { useDebounce } from \"use-debounce\";\n\nimport {\n Autocomplete,\n Icon,\n LegacyStack,\n Tag,\n Checkbox,\n TextField,\n Select,\n FormLayout,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport { SearchIcon, PlusCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { validateEmail } from \"../../../../utilities\";\n\nimport {\n useSearchContactsQuery,\n useInviteMembershipsByTeamMutation,\n useCreateTeamContactMutation,\n} from \"../../../../services/api\";\nimport { CurrentContactContext } from \"../../../../contexts/Contact\";\n\nconst VendorAdminTeamContactForm = forwardRef((props, ref) => {\n const {\n teamId,\n memberships,\n onAfterShareWithContacts,\n setInviteParams,\n isShowNewContactForm,\n addNewContact,\n setAddNewContact,\n } = props;\n\n const [createMembershipsByTeam, { isLoading: isCreatingMemberships }] =\n useInviteMembershipsByTeamMutation();\n\n const [createTeamContact, { isLoading: isCreatingTeamContact }] =\n useCreateTeamContactMutation();\n\n const { currentContact } = useContext(CurrentContactContext);\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n const [notifyContacts, setNotifyContacts] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [selectedRole, setSelectedRole] = useState(\"\");\n const [notifMsg, setNotifMsg] = useState(\"\");\n const handleSelectChange = useCallback((value) => {\n setSelectedRole(value);\n }, []);\n const handleCheckboxChange = useCallback((newChecked) => {\n setNotifyContacts(newChecked);\n setNotifMsg(\"\");\n }, []);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState([]);\n const [contactOptions, setContactOptions] = useState([]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds(selectedContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n useEffect(() => {\n if (addNewContact) {\n submit();\n }\n }, [addNewContact]);\n\n const handleRemoveContact = useCallback(\n (contact) => {\n const options = [...selectedContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedContactOptions(options);\n\n const optionIds = [...selectedContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedContactOptionIds(optionIds);\n },\n [selectedContactOptionIds, selectedContactOptions]\n );\n\n const shareButton = useRef(null);\n\n useEffect(() => {\n setInviteParams({\n notifMsg,\n notifyContacts,\n contactIds: selectedContactOptionIds,\n isManager: selectedRole == \"Admin\",\n });\n }, [notifyContacts, selectedRole, notifMsg, selectedContactOptionIds]);\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n let contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n let filteredContactList = [];\n for (let i = 0; i < contactList.length; i++) {\n let inMemberships = false;\n for (let j = 0; j < memberships.length; j++) {\n if (memberships[j].attributes.contact_id === contactList[i].value)\n inMemberships = true;\n }\n\n if (!inMemberships) filteredContactList.push(contactList[i]);\n }\n\n setContactOptions(filteredContactList);\n }\n }, [searchContacts, memberships]);\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: newContactFormDirty,\n } = useForm({\n fields: {\n first_name: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n },\n async onSubmit(form) {\n return createTeamContact({\n teamId: teamId,\n notifyContacts: true,\n inviteUser: true,\n notifMsg: notifMsg,\n teamAdmin: selectedRole == \"Admin\",\n contact: { ...form },\n })\n .unwrap()\n .then(() => {\n setAddNewContact(false);\n isShowNewContactForm(false);\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n setShowNewContactForm(false);\n setNotifyContacts(false);\n setNotifMsg(\"\");\n\n // pull focus from autocomplete\n shareButton.current.click();\n\n onAfterShareWithContacts();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n const verticalContentMarkup =\n selectedContactOptions.length > 0 ? (\n \n {selectedContactOptions.map((contact, index) => {\n return (\n handleRemoveContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const contactShareTextField = (\n <>\n }\n placeholder=\"Search\"\n value={contactSearchValue}\n verticalContent={verticalContentMarkup}\n connectedRight={\n
\n \n
\n }\n />\n \n );\n\n return <>\n {showNewContactForm ? (\n (\n \n {/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */}\n \n {/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */}\n \n \n {/* polaris-migrator: Unable to migrate the following expression. Please upgrade manually. */}\n \n \n )\n ) : (\n <>\n \n {\n isShowNewContactForm(true);\n setShowNewContactForm(true);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n },\n }}\n />\n \n {notifyContacts && (\n \n )}\n \n \n )}\n ;\n});\nVendorAdminTeamContactForm.displayName = \"TeamContactForm\";\nVendorAdminTeamContactForm.propTypes = {\n onAfterShareWithContacts: PropTypes.func,\n setInviteParams: PropTypes.func.isRequired,\n teamId: PropTypes.string,\n memberships: PropTypes.array,\n isShowNewContactForm: PropTypes.func,\n addNewContact: PropTypes.any,\n setAddNewContact: PropTypes.any,\n};\n\nexport default VendorAdminTeamContactForm;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useRef,\n useContext,\n} from \"react\";\nimport { useHistory, useParams, useLocation } from \"react-router-dom\";\n\nimport {\n Card,\n Page,\n Layout,\n Toast,\n Box,\n Modal,\n IndexTable,\n Text,\n Select,\n InlineStack,\n Button,\n} from \"@shopify/polaris\";\n\nimport {\n useGetVendorAdminTeamQuery,\n useGetVendorAdminMembershipsByTeamQuery,\n useInviteMembershipsByTeamMutation,\n useUpdateVendorAdminMembershipRoleMutation,\n useUpdateTeamMutation,\n} from \"../../../services/api\";\n\nimport { formatShortDateTime } from \"../../../utilities\";\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\n\nimport VendorAdminTeamContactForm from \"../../../components/VendorAdmin/Team/Contact/Form\";\nimport VendorLockCard from \"../../../components/Team/VendorLockCard\";\nimport PurchaseOptionLockCard from \"../../../components/Team/PurchaseOptionLockCard\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\nimport AdminTeamForm from \"../../../components/Admin/Team/Form\";\n\nimport CardBoxTitle from \"../../../components/Card/BoxTitle\";\n\nconst VendorAdminTeamShow = (props) => {\n const history = useHistory();\n const location = useLocation();\n\n const { id: teamId } = useParams();\n\n const { currentContact } = useContext(CurrentContactContext);\n const [showMembersInviteModal, setShowMembersInviteModal] = useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [addNewContact, setAddNewContact] = useState(false);\n const [inviteParams, setInviteParams] = useState({\n contactIds: [],\n notifyContacts: false,\n notifMsg: \"\",\n isManager: false,\n });\n const [selectedRole, setSelectedRole] = useState(\"\");\n const [selectedMemberUpdate, setSelectedMemberUpdate] = useState(\"\");\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [toastMessage, setToastMessage] = useState(\n location?.state?.toastMessage\n );\n\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState?.toastMessage) {\n delete currentState.toastMessage;\n }\n if (currentState?.showToast) {\n delete currentState.showToast;\n }\n window.history.replaceState({ ...currentState }, \"\");\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const navigateToAdminIndex = useCallback(() => {\n history.push(\"/admin\");\n }, [history]);\n\n useEffect(() => {\n if (!teamId) {\n navigateToAdminIndex();\n }\n }, [teamId, navigateToAdminIndex]);\n\n const [inviteMember, { isLoading: isInviting }] =\n useInviteMembershipsByTeamMutation();\n\n const [updateMemberRole, { isLoading: isUpdatingRole }] =\n useUpdateVendorAdminMembershipRoleMutation();\n\n const { data: team = { attributes: {} }, isLoading: isLoadingTeam } =\n useGetVendorAdminTeamQuery({ id: teamId });\n\n const { data: memberships = [], isLoading: isLoadingMemberships } =\n useGetVendorAdminMembershipsByTeamQuery(teamId);\n\n const [updateTeam, { isLoading: isUpdatingTeam }] = useUpdateTeamMutation();\n\n const [teamName, setTeamName] = useState(\"\");\n\n useEffect(() => {\n setTeamName(team.attributes.name);\n }, [team]);\n\n const handleInviteToTeam = () => {\n inviteMember({ teamId, ...inviteParams })\n .then(() => {\n setToastMessage(`Contacts invited to ${teamName}`);\n setShowToast(true);\n setShowMembersInviteModal(false);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n };\n\n const handleSelectFocus = useCallback(\n (value) => setSelectedMemberUpdate(value),\n [selectedMemberUpdate]\n );\n\n const handleUpdateRole = useCallback(\n (value) => {\n updateMemberRole({\n memberId: selectedMemberUpdate,\n team_id: teamId,\n isManager: value == \"Admin\",\n })\n .then(() => {\n setToastMessage(`Role updated to ${value}`);\n setShowToast(true);\n\n return { status: \"success\" };\n })\n .catch((error) => console.log(error));\n },\n [selectedMemberUpdate]\n );\n\n const updateTeamName = useCallback(() => {\n return updateTeam({ team_id: teamId, team_name: teamName })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update team name.\" }],\n };\n });\n }, [teamName]);\n\n const toggleVendorLock = () => {\n return updateTeam({ team_id: teamId })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not toggle vendor lock.\" }],\n };\n });\n };\n\n const togglePurchaseOptionLock = () => {\n return updateTeam({ team_id: teamId, financing_option_locked: true })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not toggle purchase option lock.\" }],\n };\n });\n };\n\n const rowMarkup =\n memberships.length > 0\n ? memberships.map((item, index) => (\n \n \n \n {item.attributes.contact_full_name}\n \n \n {item.attributes.contact_email}\n \n {item.attributes.last_logged_in_at\n ? formatShortDateTime(\n new Date(item.attributes.last_logged_in_at)\n )\n : \"\"}\n \n \n handleSelectFocus(item.attributes.id)}\n onChange={handleUpdateRole}\n value={item.attributes.is_team_admin ? \"Admin\" : \"Member\"}\n />\n \n \n ))\n : [];\n\n const labelStyles = {\n minHeight: \"36px\",\n paddingTop: \"4px\",\n };\n\n const teamContactFormRef = useRef();\n\n const inviteMembersModal = (\n setShowMembersInviteModal(false)}\n title={`Invite new members to ${teamName}`}\n large={true}\n primaryAction={{\n content: \"Send\",\n loading: addNewContact,\n onAction: () => {\n if (showNewContactForm) {\n setAddNewContact(true);\n } else {\n handleInviteToTeam();\n setShowMembersInviteModal(false);\n }\n },\n }}\n >\n \n {}}\n teamId={teamId}\n memberships={memberships}\n ref={teamContactFormRef}\n setInviteParams={setInviteParams}\n isShowNewContactForm={setShowNewContactForm}\n addNewContact={addNewContact}\n setAddNewContact={setAddNewContact}\n />\n \n \n );\n\n const handleTeamUpdate = () => {\n setToastMessage(\"Team updated\");\n setShowToast(true);\n };\n\n const pageMarkup = (\n \n \n \n {/* Team details */}\n \n \n \n \n Basic information\n \n \n \n {}}\n />\n \n \n\n
\n \n
\n \n
\n\n \n \n \n \n Members\n \n setShowMembersInviteModal(true)}\n >\n Invite members\n \n \n \n \n \n {rowMarkup}\n \n \n \n
\n {inviteMembersModal}\n {toastMarkup}\n
\n
\n
\n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default VendorAdminTeamShow;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport { Route, Switch, Redirect } from \"react-router-dom\";\n\nimport VendorAdminTeams from \"./VendorAdmin/Team/Index\";\nimport VendorAdminTeamShow from \"./VendorAdmin/Team/Show\";\n\n// TODO VendorAdmin Client list if needed to make a separate\n// Current setup: Vendor Admins Client list is on Home Pages\n// import AdminClientIndex from \"./Admin/Client/Index\";\n// import AdminClientShow from \"./Admin/Client/Show\";\n\n// import AdminVendorIndex from \"./Admin/Vendor/Index\";\n// import AdminVendorShow from \"./Admin/Vendor/Show\";\n\nconst VendorAdmin = (props) => {\n return (\n <>\n \n }\n />\n }\n />\n {/*\n \n \n }\n />\n }\n />\n }\n />\n }\n />\n */}\n \n \n );\n};\n\nexport default VendorAdmin;\n","import React, { useState, useCallback, useEffect, useMemo } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { Tabs } from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\nimport AsyncLocalStorage from \"../../AsyncLocalStorage\";\n\nconst OpportunityTab = (props) => {\n const {\n opportunityId,\n opportunityDetail,\n creditSubmissions,\n fundingChecklist,\n paymentsAndReview,\n isOrgAdmin,\n } = props;\n\n const location = useLocation();\n\n const queryStrings = () => {\n return new URLSearchParams(location.search);\n };\n const initialTabState = queryStrings().get(\"tab\");\n\n const [selected, setSelected] = useState(0);\n\n const handleTabChange = useCallback(\n async (index) => {\n // Adjust the index based on the admin status\n const adjustedIndex = !isOrgAdmin && index > 0 ? 1 : index;\n\n // Set the selected index state\n setSelected(adjustedIndex);\n\n // Define the storage key\n const key = `fortify-app-opportunity-${opportunityId}-selectedTabIndex`;\n\n try {\n // Attempt to store the adjusted index in AsyncLocalStorage\n await AsyncLocalStorage.setItem(key, String(adjustedIndex));\n } catch (error) {\n // Log errors to the console\n console.error(\"Error storing selected tab index:\", error);\n }\n },\n [isOrgAdmin, opportunityId]\n );\n\n useEffect(() => {\n async function fetchAndSetSelectedTabIndex() {\n let selectedTabIndex = 0;\n\n if (initialTabState) {\n const keys = Object.keys(cardContent);\n selectedTabIndex = keys.indexOf(initialTabState);\n } else {\n const key = `fortify-app-opportunity-${opportunityId}-selectedTabIndex`;\n\n try {\n const retrievedTabIndex = await AsyncLocalStorage.getItem(key);\n const parsedTabIndex = parseInt(retrievedTabIndex, 10);\n\n if (!isNaN(parsedTabIndex)) {\n selectedTabIndex = parsedTabIndex;\n }\n } catch (error) {\n console.error(\"Error retrieving tab ID:\", error);\n selectedTabIndex = 0;\n }\n }\n\n // handle the case where the user is not an org admin\n // and has fewer tabs to choose from\n if (!isOrgAdmin && selectedTabIndex > 0) {\n selectedTabIndex = 1;\n }\n\n setSelected(selectedTabIndex);\n }\n\n fetchAndSetSelectedTabIndex();\n // Include all variables used in the effect that might change over time\n }, [cardContent, initialTabState, isOrgAdmin, opportunityId]);\n\n const cardContent = useMemo(\n () => ({\n \"opportunity-detail\": opportunityDetail,\n \"credit-submissions\": creditSubmissions,\n \"funding-checklist\": fundingChecklist,\n \"payments-n-review\": paymentsAndReview,\n }),\n [opportunityDetail, creditSubmissions, fundingChecklist, paymentsAndReview]\n );\n\n const tabs = [\n {\n id: \"opportunity-detail\",\n content: \"Opportunity detail\",\n panelID: \"opportunity-detail\",\n },\n {\n id: \"credit-submissions\",\n content: \"Credit submissions\",\n panelID: \"credit-submissions\",\n },\n {\n id: \"funding-checklist\",\n content: \"Funding checklist\",\n panelID: \"funding-checklist\",\n },\n {\n id: \"payments-n-review\",\n content: \"Transactions & review\",\n panelID: \"payments-n-review\",\n },\n ].filter((tab) => {\n const allowed = [\"opportunity-detail\", \"payments-n-review\"];\n return allowed.includes(tab.id) && !isOrgAdmin ? true : isOrgAdmin;\n });\n\n const tabsMarkup = (\n \n {/* condition only for vendor admin*/}\n {cardContent[tabs[!isOrgAdmin && selected > 0 ? 1 : selected].id]}\n \n );\n\n return tabsMarkup;\n};\n\nOpportunityTab.propTypes = {\n opportunityId: PropTypes.string,\n opportunityDetail: PropTypes.any,\n creditSubmissions: PropTypes.any,\n fundingChecklist: PropTypes.any,\n paymentsAndReview: PropTypes.any,\n isOrgAdmin: PropTypes.bool,\n};\n\nexport default OpportunityTab;\n","import pluralize from \"pluralize\";\n\n// Add custom rule for \"needs\"\npluralize.addSingularRule(/need$/i, \"needs\");\npluralize.addPluralRule(/needs$/i, \"need\");\n\nexport default pluralize;\n","import React, { useState, useCallback } from \"react\";\nimport {\n useGetOpportunityQuery,\n useDeleteOpportunityContactsMutation,\n useGetOpportunityContactsQuery,\n useUpdateOpportunityContactMutation,\n} from \"../../services/api\";\n\nimport {\n Avatar,\n Badge,\n Text,\n ResourceItem,\n ResourceList,\n LegacyStack,\n BlockStack,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\nimport pluralize from \"../../pluralizeConfig\";\n\nconst OpportunityContactList = (props) => {\n const { opportunityId, onRemoveContacts = () => {}, removeable = false } = props;\n\n const resourceName = {\n singular: \"contact\",\n plural: \"contacts\",\n };\n\n const {\n data: opportunity = { attributes: {} },\n } = useGetOpportunityQuery(opportunityId);\n\n const {\n data: opportunityContacts = [],\n isLoading,\n isFetching,\n } = useGetOpportunityContactsQuery(opportunityId, { skip: !opportunityId });\n\n const [\n updateOpportunityContact,\n { isLoading: isUpdatingOpportunityContact },\n ] = useUpdateOpportunityContactMutation();\n\n const [\n deleteOpportunityContacts,\n { isLoading: isDeletingOpportunityContacts },\n ] = useDeleteOpportunityContactsMutation();\n\n const [selectedContacts, setSelectedContacts] = useState([]);\n\n const handleRemoveSelectedContacts = useCallback(async () => {\n try {\n await deleteOpportunityContacts({\n opportunityId: opportunityId,\n opportunity_contact_ids: selectedContacts,\n });\n setSelectedContacts([]);\n onRemoveContacts(selectedContacts.length);\n } catch (error) {\n console.log(error);\n }\n }, [\n deleteOpportunityContacts,\n onRemoveContacts,\n opportunityId,\n selectedContacts,\n ]);\n\n const handleMarkContactSigner = useCallback(async () => {\n const opportunityContactId = selectedContacts[0];\n\n if (opportunity.attributes.has_opportunity_envelopes) {\n const innerHTML = document.getElementById(\"signerLockError\")\n .innerHTML.replaceAll(\"inlineErrorMsg\", \"Designated signer locked: Opportunity envelop already generated\");\n document.getElementById(\"signerLockError\").innerHTML = innerHTML;\n document.getElementById(\"signerLockErrorDiv\").setAttribute(\"style\", \"padding: 20px 20px 0\");\n }\n\n try {\n await updateOpportunityContact({\n opportunityId: opportunityId,\n id: opportunityContactId,\n signer: true,\n });\n\n setSelectedContacts([]);\n } catch (error) {\n console.log(error);\n }\n }, [opportunityId, selectedContacts, updateOpportunityContact]);\n\n const hasSignerContact = opportunityContacts.some(\n (item) => item?.attributes?.signer\n );\n const selectedContactsHasSigner = selectedContacts.some(\n (selectedContactId) => {\n const selectedContact = opportunityContacts.find((contact) => {\n return contact.id == selectedContactId;\n });\n return selectedContact.attributes.signer;\n }\n );\n\n const promotedBulkActions = [\n ...(removeable ? [{\n content: `Remove ${pluralize(\"contact\", selectedContacts.length)}`,\n onAction: handleRemoveSelectedContacts,\n }] : []),\n {\n content: \"Mark as signer\",\n onAction: handleMarkContactSigner,\n disabled: selectedContacts.length != 1 ||\n selectedContactsHasSigner || opportunity.attributes.has_opportunity_envelopes,\n indicator: selectedContacts.length == 1 && !hasSignerContact,\n },\n ];\n\n const contactsResourceList = (\n No contacts shared with\n }\n loading={isFetching || isLoading || isUpdatingOpportunityContact}\n promotedBulkActions={promotedBulkActions}\n selectedItems={selectedContacts}\n onSelectionChange={setSelectedContacts}\n selectable\n />\n );\n\n return contactsResourceList;\n};\n\nconst renderItem = (contact) => {\n const {\n id,\n attributes: { email, full_name, initials, signer },\n } = contact;\n\n const DESIGNATED_SIGNER_EMOJI = \"✍️\"\n\n const avatar = ;\n\n return (\n \n \n \n {full_name}\n \n {email}\n \n \n\n {signer && {DESIGNATED_SIGNER_EMOJI} Designated signer}\n \n \n );\n};\n\nOpportunityContactList.propTypes = {\n onRemoveContacts: PropTypes.func,\n opportunityId: PropTypes.string,\n removeable: PropTypes.bool,\n};\n\nexport default OpportunityContactList;\n","import React, { useState, useCallback, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nimport {\n Button,\n LegacyStack,\n Text,\n ResourceItem,\n ResourceList,\n EmptyState,\n Icon,\n Thumbnail,\n Modal,\n RadioButton,\n Tooltip,\n Toast,\n} from \"@shopify/polaris\";\nimport {\n CheckCircleIcon,\n NoteIcon,\n AlertTriangleIcon,\n AlertCircleIcon,\n ThumbsUpIcon,\n} from \"@shopify/polaris-icons\";\n\nimport { useAuth0 } from \"@auth0/auth0-react\";\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nimport {\n useUpdateOpportunityContactMutation,\n useGetFinancingOptionsQuery,\n useUpdateFinancingOptionMutation,\n useDeleteFinancingOptionMutation,\n useCreateAdminFinancingOptionApprovalMutation,\n useRemoveAdminFinancingOptionApprovalMutation,\n useCreateOpportunityEventMutation,\n} from \"../../services/api\";\nimport { FinancingContext } from \"../../contexts/FinancingOption/FinancingContext\";\nimport PropTypes from \"prop-types\";\nimport OpportunityContactList from \"../OpportunityContact/List\";\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nconst FinancingOptionList = (props) => {\n const {\n opportunity,\n opportunityId,\n canCreateFinanceOption = false,\n contacts,\n } = props;\n\n const resourceName = {\n singular: \"purchase option\",\n plural: \"purchase options\",\n };\n\n const history = useHistory();\n\n const { user } = useAuth0();\n const { currentContactId, isOrganizationAdmin, isVendorAdmin } = useContext(\n CurrentContactContext\n );\n\n const [contactList, setContactList] = useState([]);\n const setEditableContactList = () => {\n let tempList = [];\n for (let i = 0; i < contacts.length; i++) {\n let tempContact = JSON.parse(JSON.stringify(contacts[i]));\n tempList.push(tempContact);\n }\n tempList.sort((a, b) => (a.attributes.email > b.attributes.email ? 1 : -1));\n setContactList(tempList);\n };\n useEffect(() => {\n setEditableContactList();\n }, [contacts]);\n\n const navigateToFinancingOptionsNew = (purchaseOptionType) => {\n history.push({\n pathname: `/opportunities/${opportunityId}/purchase_options/${purchaseOptionType}/new`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const { data: financingOptions = [], isLoading: isLoadingFinancingOptions } =\n useGetFinancingOptionsQuery(opportunityId);\n\n const [updateFinancingOption, { isLoading: isUpdatingFinancingOption }] =\n useUpdateFinancingOptionMutation();\n const [deleteFinancingOption, { isLoading: isDeletingFinancingOption }] =\n useDeleteFinancingOptionMutation();\n const [createApproval, { isLoading: isCreatingApproval }] =\n useCreateAdminFinancingOptionApprovalMutation();\n\n const [removeApproval, { isLoading: isRemovingApproval }] =\n useRemoveAdminFinancingOptionApprovalMutation();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const hasAcceptedFinancingOption = filteredItems.some(\n (item) => item?.attributes?.selected\n );\n\n useEffect(() => {\n if (financingOptions.length) {\n setFilteredItems(financingOptions);\n }\n }, [financingOptions]);\n\n const handleConfirmSignerOrMarkAsAccepted = () => {\n if (!contactList.some((contact) => contact.attributes.signer)) {\n setShowConfirmDesignatedSignerModal(true);\n } else {\n handleMarkAsAccepted();\n }\n };\n\n const [\n updateOpportunityContact,\n { isLoading: isUpdatingOpportunityContact },\n ] = useUpdateOpportunityContactMutation();\n\n const handleMarkAsAccepted = () => {\n const selectedFinancingOptionId = selectedItems[0];\n updateFinancingOption({\n id: selectedFinancingOptionId,\n opportunityId: opportunityId,\n selected: true,\n })\n .then((response) => {\n if (response?.data) {\n let returnedOption = response.data;\n let selected = returnedOption.attributes?.selected;\n if (selected) {\n handleCreateOpportunityEvent(\"FinancingOptionSelected\");\n\n switch (returnedOption.attributes.financing_type) {\n case \"Net terms\":\n handleCreateOpportunityEvent(\"OpportunityNetTermsSelected\");\n break;\n case \"Standard financing\":\n handleCreateOpportunityEvent(\n \"OpportunityStandardFinancingSelected\"\n );\n break;\n case \"Fair market value\":\n handleCreateOpportunityEvent(\n \"OpportunityFairMarketValueSelected\"\n );\n break;\n case \"Dollar out lease\":\n handleCreateOpportunityEvent(\n \"OpportunityDollarOutLeaseSelected\"\n );\n break;\n case \"Rental\":\n handleCreateOpportunityEvent(\"OpportunityRentalSelected\");\n break;\n case \"Software as a service\":\n handleCreateOpportunityEvent(\n \"OpportunitySoftwareAsAServiceSelected\"\n );\n break;\n default:\n break;\n }\n }\n }\n\n setSelectedItems([]);\n closeSignerModal();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleDeleteFinancingOptions = () => {\n selectedItems.forEach((financingOptionId, index) => {\n return deleteFinancingOption({ id: financingOptionId, opportunityId })\n .unwrap()\n .then((response) => {\n setSelectedItems([]);\n setFilteredItems([]);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n });\n };\n\n const handleCreateOpportunityEvent = useCallback(\n (type) => {\n return createOpportunityEvent({\n opportunityId: opportunityId,\n contact_id: currentContactId,\n type: type,\n })\n .unwrap()\n .then()\n .catch((error) => {\n console.log(error);\n });\n },\n [user, createOpportunityEvent, opportunityId]\n );\n\n const handleCreateApprovals = () => {\n selectedItems.forEach((financingOptionId) => {\n return createApproval({ financingOptionId: financingOptionId })\n .unwrap()\n .then((response) => {\n setToastMessage(\"Purchase option approved.\");\n setShowToast(true);\n setSelectedItems([]);\n handleCreateOpportunityEvent(\"FinancingOptionApproved\");\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n });\n };\n\n const handleRemoveApprovals = () => {\n selectedItems.forEach((financingOptionId) => {\n return removeApproval({ financingOptionId: financingOptionId })\n .unwrap()\n .then((response) => {\n setToastMessage(\"Purchase option unapproved.\");\n setShowToast(true);\n setSelectedItems([]);\n handleCreateOpportunityEvent(\"FinancingOptionUnapproved\");\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n });\n };\n\n const selectedItemsMissingPaymentInfo = selectedItems.some((item) => {\n const selectedItem = filteredItems.find((itemObject) => {\n return itemObject.id == item;\n });\n\n if (selectedItem) {\n if (selectedItem.attributes.type == \"net_terms\") return false;\n\n return !selectedItem.attributes.base_payment;\n }\n\n return \"-\";\n });\n\n const promotedBulkActions = [\n {\n content: `Delete ${\n selectedItems.length == 1\n ? resourceName[\"singular\"]\n : resourceName[\"plural\"]\n }`,\n loading: isDeletingFinancingOption,\n onAction: handleDeleteFinancingOptions,\n },\n isOrganizationAdmin && {\n content: \"Approve\",\n onAction: handleCreateApprovals,\n },\n isOrganizationAdmin && {\n content: \"Unapprove\",\n onAction: handleRemoveApprovals,\n },\n {\n content: \"Mark as accepted\",\n onAction: handleConfirmSignerOrMarkAsAccepted,\n disabled: selectedItems.length != 1 || selectedItemsMissingPaymentInfo,\n indicator: selectedItems.length == 1 && !hasAcceptedFinancingOption,\n },\n ].filter((n) => n);\n\n const [createOpportunityEvent, { isLoading: isCreatingOpportunityEvent }] =\n useCreateOpportunityEventMutation();\n\n const [showCreateFinancingOptionModal, setShowCreateFinancingOptionModal] =\n useState(false);\n\n const handleCreateFinancingOption = () => {\n setShowCreateFinancingOptionModal(true);\n };\n const handleCloseModal = () => {\n setShowCreateFinancingOptionModal(false);\n };\n\n const renderItem = (item, itemId, index) => {\n const {\n id,\n attributes: {\n approved,\n name,\n selected,\n financing_type,\n term_length,\n title,\n interest_rate_visible,\n sell_rate,\n updated_at,\n },\n } = item;\n\n const thumbnail = (\n \n );\n\n const handleFinancingClick = (financingOption) => {\n const { id } = financingOption;\n\n if (!opportunity.attributes.financing_option_locked) {\n history.push({\n pathname: `/opportunities/${opportunityId}/purchase_options/${id}`,\n state: {\n opportunity: opportunity,\n financingOption: financingOption,\n },\n });\n }\n };\n\n const netTermsSubDetails = () => {\n const payments = item.attributes.installment_payments;\n const downPayment = item.attributes.down_payment;\n let subDetail = \"\";\n\n if (payments?.length > 0) {\n subDetail += ` •`;\n if (downPayment && downPayment > 0) subDetail += ` Down payment`;\n\n const installmentCount = payments.filter(\n (payment) => payment.days >= 0 || payment.percentage > 0\n ).length;\n\n if (installmentCount > 0) {\n if (downPayment && downPayment > 0) subDetail += ` followed by`;\n subDetail += ` ${installmentCount} installment${\n installmentCount > 1 ? \"s\" : \"\"\n }`;\n }\n }\n return subDetail;\n };\n\n const resourceItem = (\n handleFinancingClick(item)}\n accessibilityLabel={`View details for ${title}`}\n verticalAlignment=\"center\"\n >\n \n \n \n \n

\n \n \n {title || `${financing_type} option`}\n \n \n

\n \n {item.attributes.interest_rate_visible\n ? `${item.attributes.customer_interest_rate}% • ${financing_type}`\n : financing_type}\n {financing_type == \"Net terms\"\n ? netTermsSubDetails()\n : ` • ${term_length} months`}\n \n
\n\n {selected && (\n \n \n \n Accepted\n \n \n )}\n\n {!item.attributes.base_payment &&\n item.attributes.type != \"net_terms\" && (\n \n \n No payment set\n \n )}\n
\n
\n\n {!approved && (\n \n \n \n \n \n )}\n\n {approved && (\n \n \n \n \n \n )}\n \n \n );\n if (opportunity.attributes.financing_option_locked) {\n return (\n \n {resourceItem}\n \n );\n } else {\n return resourceItem;\n }\n };\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const emptyStateMarkup = !filteredItems.length ? (\n \n {canCreateFinanceOption ? (\n

Create your first option to see them here.

\n ) : (\n

Create a vendor quote/invoice first.

\n )}\n \n ) : undefined;\n\n const financingOptionsResourceList = (\n {\n return renderItem(item, id, index);\n }}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n selectable={true}\n promotedBulkActions={promotedBulkActions}\n alternateTool={\n \n }\n loading={\n isLoadingFinancingOptions ||\n isUpdatingFinancingOption ||\n isDeletingFinancingOption\n }\n emptyState={emptyStateMarkup}\n />\n );\n\n const lockedFinancingOptionsResourceList = (\n {\n return renderItem(item, id, index);\n }}\n loading={\n isLoadingFinancingOptions ||\n isUpdatingFinancingOption ||\n isDeletingFinancingOption\n }\n emptyState={emptyStateMarkup}\n />\n );\n\n // context api handles values from FinancingContext\n const { newFinancingOptionType, handleNewFinancingOptionTypeChange } =\n useContext(FinancingContext);\n const handleNewFinancingTypeRadioChange = useCallback(\n (_checked, newValue) => {\n handleNewFinancingOptionTypeChange(newValue);\n },\n [handleNewFinancingOptionTypeChange]\n );\n\n const [availableFinancingOptionTypes, setAvailableFinancingOptionTypes] =\n useState([\"standard\"]);\n\n // set type defaults using opportunity\n useEffect(() => {\n if (opportunity.attributes.available_financing_option_types) {\n setAvailableFinancingOptionTypes(\n opportunity.attributes.available_financing_option_types\n );\n }\n\n if (opportunity.attributes.default_finance_type) {\n handleNewFinancingOptionTypeChange(\n opportunity.attributes.default_finance_type\n );\n } else {\n handleNewFinancingOptionTypeChange(availableFinancingOptionTypes[0]);\n }\n }, [\n availableFinancingOptionTypes,\n handleNewFinancingOptionTypeChange,\n opportunity.attributes.available_financing_option_types,\n opportunity.attributes.default_finance_type,\n ]);\n\n const createFinancingOptionModal = showCreateFinancingOptionModal && (\n navigateToFinancingOptionsNew(newFinancingOptionType),\n disabled: availableFinancingOptionTypes.length < 1,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n {availableFinancingOptionTypes.length < 1 &&\n canCreateFinanceOption && (\n

\n No available purchase option types. Please contact support\n regarding this vendor's program configuration.\n

\n )}\n\n {availableFinancingOptionTypes.includes(\"standard\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"subscription\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"fair_market_value\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"dollar_out_lease\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"saas\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"rental\") && (\n \n )}\n {availableFinancingOptionTypes.includes(\"net_terms\") && (\n \n )}\n
\n
\n \n );\n\n const hasDesignatedSigner = contactList.some(\n (contact) => contact.attributes.signer\n );\n\n const [\n showConfirmDesignatedSignerModal,\n setShowConfirmDesignatedSignerModal,\n ] = useState(false);\n\n const closeSignerModal = () => {\n setShowConfirmDesignatedSignerModal(false);\n };\n const confirmDesignatedSignerModal = showConfirmDesignatedSignerModal && (\n \n \n \n );\n\n const financingOptionListMarkup = (\n <>\n {opportunity.attributes.financing_option_locked\n ? lockedFinancingOptionsResourceList\n : financingOptionsResourceList}\n {createFinancingOptionModal}\n {confirmDesignatedSignerModal}\n {toastMarkup}\n \n );\n\n return financingOptionListMarkup;\n};\nFinancingOptionList.propTypes = {\n canCreateFinanceOption: PropTypes.bool,\n contacts: PropTypes.array,\n opportunity: PropTypes.object,\n opportunityId: PropTypes.string,\n};\n\nexport default FinancingOptionList;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst DelayRender = (props) => {\n const [show, setShow] = React.useState(false);\n const { delay, children } = props;\n\n React.useEffect(() => {\n setTimeout(() => {\n setShow(true);\n }, delay);\n }, [show]);\n\n if (!show) return null;\n\n return children;\n};\nDelayRender.propTypes = {\n children: PropTypes.any,\n delay: PropTypes.number\n}\n\nexport default DelayRender;\n","import React from \"react\";\n\nimport {\n SkeletonPage,\n Page,\n SkeletonBodyText,\n SkeletonDisplayText,\n Layout,\n BlockStack,\n Card,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\n\nconst OpportunityShowSkeletonPage = (props) => {\n const { opportunity, withPage } = props;\n\n const layoutMarkup = (\n \n \n \n\n
\n \n \n \n \n
\n
\n \n \n
\n \n \n
\n
\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n\n if (withPage) {\n return opportunity?.attributes?.name ? (\n {layoutMarkup}\n ) : (\n {layoutMarkup}\n );\n } else {\n return layoutMarkup;\n }\n};\n\nOpportunityShowSkeletonPage.propTypes = {\n opportunity: PropTypes.object,\n withPage: PropTypes.bool,\n};\n\nexport default OpportunityShowSkeletonPage;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, OptionList, TextField, Link } from \"@shopify/polaris\";\n\nconst AddTagModalComponent = (props) => {\n const {\n tags,\n isTagging,\n selectedTag,\n choiceListTags,\n openSelectTagModal,\n newVendorTagInputs,\n setOpenSelectTagModal,\n handleAddNewVendorTag,\n handleTagOpportunities,\n handleSelectedTagChange,\n } = props;\n\n const [categorizedTags, setCategorizedTags] = useState({});\n\n useEffect(() => {\n if (choiceListTags && choiceListTags.length > 0) {\n let catTags = {};\n let newTags = {};\n for (let i = 0; i < choiceListTags.length; i++) {\n let currentTag = choiceListTags[i];\n if (!Object.keys(catTags).includes(currentTag.tagType)) {\n catTags[currentTag.tagType] = [currentTag];\n newTags[currentTag.tagType] = \"\";\n } else {\n catTags[currentTag.tagType].push(currentTag);\n }\n }\n\n setCategorizedTags(catTags);\n }\n }, [choiceListTags]);\n\n return (\n setOpenSelectTagModal(false)}\n title={selectedTag?.length > 0 ? \"Update tags\" : \"Add tag\"}\n loading={isTagging}\n primaryAction={{\n content: selectedTag?.length > 0 ? \"Update tags\" : \"Add tag\",\n onAction: handleTagOpportunities,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setOpenSelectTagModal(false),\n },\n ]}\n >\n \n {Object.keys(categorizedTags).map((vendorName) => {\n let isVendor = vendorName != \"admin\";\n let categoryTagName = !isVendor\n ? \"Available org admin\"\n : `${vendorName} vendor`;\n\n return (\n
\n \n\n {isVendor && (\n
\n {\n handleAddNewVendorTag(value, vendorName);\n }}\n autoComplete=\"off\"\n />\n
\n )}\n\n {!isVendor && (\n
\n \n Go to tag manager\n \n
\n )}\n\n
\n
\n );\n })}\n
\n \n );\n};\n\nAddTagModalComponent.propTypes = {\n tags: PropTypes.array,\n choiceListTags: PropTypes.array,\n isTagging: PropTypes.bool,\n selectedTag: PropTypes.any,\n openSelectTagModal: PropTypes.bool,\n newVendorTagInputs: PropTypes.object,\n setOpenSelectTagModal: PropTypes.func,\n handleAddNewVendorTag: PropTypes.func,\n handleSelectedTagChange: PropTypes.func,\n handleTagOpportunities: PropTypes.func,\n};\n\nexport default AddTagModalComponent;\n","import React, { useState, useEffect } from \"react\";\nimport {\n ResourceList,\n Box,\n Text,\n InlineStack,\n Button,\n Avatar,\n ResourceItem,\n Modal,\n Spinner,\n InlineGrid,\n Link,\n} from \"@shopify/polaris\";\n\nimport { ViewIcon, HideIcon, DeleteIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\n\nimport {\n useRemoveGuarantorsMutation,\n useGetContactQuery,\n} from \"../../services/api\";\n\nimport { useToast } from \"../../contexts/Toast\";\n\ninterface GuarantorAttributes {\n name: string;\n is_individual: boolean;\n entity_id: string;\n first_name: string;\n last_name: string;\n email: string;\n phone: string;\n birth_date: string;\n ssn: string;\n}\n\ninterface Guarantor {\n id: string;\n attributes: GuarantorAttributes;\n}\n\ninterface GuarantorListProps {\n guarantors: Guarantor[];\n isLoading: boolean;\n opportunityId: string;\n onAddGuarantor: () => void;\n}\n\nconst GuarantorList: React.FC = ({\n guarantors,\n isLoading,\n opportunityId,\n}) => {\n const { showToastWithMessage } = useToast();\n\n const [guarantorContactId, setGuarantorContactId] = useState(\n null\n );\n\n const {\n data: currentGuarantorContact,\n isLoading: isLoadingGuarantorContact,\n } = useGetContactQuery(guarantorContactId, { skip: !guarantorContactId }) as {\n data: Guarantor;\n isLoading: boolean;\n refetch: () => void;\n };\n\n const [removeGuarantors, { isLoading: isRemovingGuarantor }] =\n useRemoveGuarantorsMutation();\n\n const [showGuarantorContactSpinner, setShowGuarantorContactSpinner] =\n useState(false);\n\n const [showSSN, setShowSSN] = useState(false);\n\n useEffect(() => {\n setShowGuarantorContactSpinner(false);\n }, [currentGuarantorContact]);\n\n const [showGuarantorContactFormModal, setShowGuarantorContactFormModal] =\n useState(false);\n const toggleShowGuarantorContactModal = () => {\n setShowGuarantorContactFormModal(!showGuarantorContactFormModal);\n };\n const openGuarantorContactModal = (id) => {\n if (currentGuarantorContact?.id == id)\n setShowGuarantorContactSpinner(false);\n else setShowGuarantorContactSpinner(true);\n\n setShowGuarantorContactFormModal(true);\n setGuarantorContactId(id);\n };\n const closeGuarantorContactModal = () => {\n setGuarantorContactId(null);\n toggleShowGuarantorContactModal();\n setShowGuarantorContactSpinner(true);\n };\n\n const removeSelectedGuarantors = (guarantorId: string) => {\n return removeGuarantors({\n opportunityId: opportunityId,\n body: [guarantorId],\n })\n .unwrap()\n .then(() => {\n showToastWithMessage(\"Guarantor removed\");\n\n return { status: \"success\" };\n })\n .catch((error) => {\n alert(\"Failed to remove guarantor.\");\n console.log(error);\n });\n };\n\n const guarantorsEmptyStateSideCard = (\n \n \n \n No guarantors.\n \n \n \n );\n\n const guarantorContactFormModal = showGuarantorContactFormModal && (\n \n \n {!guarantorContactId ||\n showGuarantorContactSpinner ||\n isLoadingGuarantorContact ? (\n \n \n \n \n \n ) : (\n <>\n \n
\n \n First name\n \n

\n {currentGuarantorContact?.attributes?.first_name\n ? currentGuarantorContact?.attributes?.first_name\n : \"--\"}\n

\n
\n\n
\n \n Last name\n \n

\n {currentGuarantorContact?.attributes?.last_name\n ? currentGuarantorContact?.attributes?.last_name\n : \"--\"}\n

\n
\n
\n\n
\n\n \n
\n \n Email\n \n

\n {currentGuarantorContact?.attributes?.email\n ? currentGuarantorContact?.attributes?.email\n : \"--\"}\n

\n
\n
\n\n
\n\n \n
\n \n Phone number\n \n

\n {currentGuarantorContact?.attributes?.phone\n ? currentGuarantorContact?.attributes?.phone\n : \"--\"}\n

\n
\n
\n\n
\n\n \n
\n \n Birth date\n \n

\n {currentGuarantorContact?.attributes?.birth_date\n ? currentGuarantorContact?.attributes?.birth_date\n : \"--\"}\n

\n
\n
\n\n
\n\n \n
\n \n \n SSN\n\n {currentGuarantorContact?.attributes?.ssn && !showSSN && (\n {\n setShowSSN(true);\n }}\n icon={ViewIcon}\n />\n )}\n {currentGuarantorContact?.attributes?.ssn && showSSN && (\n {\n setShowSSN(false);\n }}\n icon={HideIcon}\n />\n )}\n \n \n

\n {currentGuarantorContact?.attributes?.ssn &&\n !showSSN &&\n \"•••••••••\"}\n {currentGuarantorContact?.attributes?.ssn &&\n showSSN &&\n currentGuarantorContact?.attributes?.ssn}\n {!currentGuarantorContact?.attributes?.ssn && \"--\"}\n

\n
\n
\n \n )}\n
\n \n );\n\n const [showGuarantorDeleteButton, setShowGuarantorDeleteButton] =\n useState(\"\");\n const [showConfirmRemoveGuarantorModal, setShowConfirmRemoveGuarantorModal] =\n useState(\"\");\n\n const confirmRemoveGuarantorModal = (\n setShowConfirmRemoveGuarantorModal(\"\")}\n primaryAction={{\n content: \"Remove\",\n onAction: () => {\n const id = showConfirmRemoveGuarantorModal;\n removeSelectedGuarantors(id)\n .then(() => {\n setShowConfirmRemoveGuarantorModal(\"\");\n })\n .catch((error) => {\n console.error(\"Failed to remove guarantor:\", error);\n });\n },\n disabled: isRemovingGuarantor,\n loading: isRemovingGuarantor,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowConfirmRemoveGuarantorModal(\"\"),\n },\n ]}\n title=\"Remove guarantor\"\n >\n \n Are you sure you want to remove this guarantor?\n \n \n );\n\n const renderGuarantorItem = (attributes: GuarantorAttributes, id: string) => {\n const { name, is_individual, entity_id } = attributes;\n\n const icon = ;\n\n return (\n setShowGuarantorDeleteButton(id)}\n onMouseOut={() => setShowGuarantorDeleteButton(\"\")}\n onClick={() => {}}\n >\n \n

\n \n {\n if (is_individual) openGuarantorContactModal(entity_id);\n }}\n monochrome\n removeUnderline\n >\n {name}\n \n \n

\n\n {showGuarantorDeleteButton === id && (\n setShowConfirmRemoveGuarantorModal(id)}\n />\n )}\n
\n \n );\n };\n\n return (\n <>\n renderGuarantorItem(item.attributes, item.id)}\n loading={isLoading}\n // selectedItems={selectedGuarantors}\n // onSelectionChange={(selectedItems) =>\n // setSelectedGuarantors(selectedItems as string[])\n // }\n // alternateTool={\n // \n // }\n // promotedBulkActions={guarantorBulkActions}\n // selectable\n />\n {guarantorContactFormModal}\n {confirmRemoveGuarantorModal}\n \n );\n};\n\nGuarantorList.propTypes = {\n guarantors: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n })\n ).isRequired,\n};\n\nexport default GuarantorList;\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nimport {\n Bleed,\n Card,\n Box,\n Divider,\n InlineStack,\n BlockStack,\n Banner,\n Link,\n Icon,\n EmptyState,\n DropZone,\n Button,\n ButtonGroup,\n OptionList,\n Modal,\n Checkbox,\n TextField,\n Spinner,\n Thumbnail,\n Layout,\n Autocomplete,\n Truncate,\n Text,\n FormLayout,\n Popover,\n ActionList,\n InlineGrid,\n} from \"@shopify/polaris\";\n\nimport {\n AttachmentIcon,\n PlusCircleIcon,\n CheckCircleIcon,\n NoteIcon,\n ExternalIcon,\n EmailIcon,\n ViewIcon,\n OrderFulfilledIcon,\n SearchIcon,\n DeleteIcon,\n MenuHorizontalIcon,\n ClipboardIcon,\n} from \"@shopify/polaris-icons\";\n\nimport {\n useGetOpportunityAttachmentsQuery,\n useUpdateOpportunityAttachmentMutation,\n useCreateOpportunityAttachmentsMutation,\n usePurgeOpportunityAttachmentMutation,\n useDeleteOpportunityAttachmentMutation,\n useCreateDocusignEmbeddedSendingMutation,\n useLazyGetDocusignRegeneratedEmbeddedSendingUrlQuery,\n useUpdateOpportunityMutation,\n useGetOpportunityQuery,\n useGetGuarantorsQuery,\n useSearchGuarantorsQuery,\n useCreateGuarantorMutation,\n useGetOpportunityCreditSubmissionQuery,\n useGetDocusignEnvelopesQuery,\n useDeleteDocusignEnvelopeMutation,\n useGetOpportunityDocumentsQuery,\n useCreateOpportunityEventMutation,\n} from \"../../services/api\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\nimport { useToast } from \"../../contexts/Toast\";\n\nimport { useDebounce } from \"use-debounce\";\nimport { DirectUploadProvider } from \"react-activestorage-provider\";\n\nimport CardBoxTitle from \"../../components/Card/BoxTitle\";\nimport GuarantorList from \"../../components/Opportunity/GuarantorList\";\n\nimport {\n formatNumericDate,\n formatShortDateTime,\n copyTextToClipboard,\n} from \"../../utilities\";\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nconst OpportunitiesFundingChecklist = () => {\n const { id: opportunityId } = useParams();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { showToastWithMessage } = useToast();\n\n const { data: opportunity } = useGetOpportunityQuery(opportunityId);\n\n const [updateOpportunity, { isLoading: isUpdatingOpportunity }] =\n useUpdateOpportunityMutation();\n\n const {\n data: opportunityAttachments,\n refetch: refetchOpportunityAttachments,\n } = useGetOpportunityAttachmentsQuery(\n { opportunityId: opportunityId, isPublic: false },\n { skip: !opportunityId }\n );\n\n const {\n data: creditSubmission,\n isLoading: isLoadingCreditSubmission,\n refetch: refetchCreditSubmission,\n } = useGetOpportunityCreditSubmissionQuery(\n {\n id: opportunity.attributes.selected_credit_submission_id,\n opportunityId: opportunityId,\n },\n {\n skip: !opportunity.attributes.selected_credit_submission_id,\n }\n );\n\n const {\n data: guarantors = [],\n isLoading: isLoadingGuarantors = false,\n refetch: refetchGuarantors,\n } = useGetGuarantorsQuery(opportunityId, { skip: !opportunityId });\n\n const {\n data: docusignEnvelopes = [],\n isLoading: isDocusignEnvelopesLoading = false,\n refetch: refetchDocusignEnvelopes,\n } = useGetDocusignEnvelopesQuery(opportunityId, { skip: !opportunityId });\n\n const [deleteDocusignEnvelope, { isLoading: isDeletingDocusignEnvelope }] =\n useDeleteDocusignEnvelopeMutation();\n\n const [isEnvelopeBeingDeleted, setIsEnvelopeBeingDeleted] = useState({});\n const [isUrlBeingRegenerated, setIsUrlBeingRegenerated] = useState({});\n\n useEffect(() => {\n if (docusignEnvelopes.length > 0) {\n let isDeleting = {};\n let urls = {};\n for (let i = 0; i < docusignEnvelopes.length; i++) {\n isDeleting[docusignEnvelopes[i].id] = false;\n urls[docusignEnvelopes[i].id] = false;\n }\n\n setIsEnvelopeBeingDeleted(isDeleting);\n setIsUrlBeingRegenerated(urls);\n }\n }, [docusignEnvelopes]);\n\n const [documentGuarantors, setDocumentGuarantors] = useState([]);\n const [selectedDocumentGuarantors, setSelectedDocumentGuarantors] = useState(\n []\n );\n\n useEffect(() => {\n if (guarantors) {\n let gSelect = [];\n\n for (let i = 0; i < guarantors.length; i++) {\n gSelect.push({\n value: guarantors[i],\n label: guarantors[i].attributes.name,\n });\n }\n\n setDocumentGuarantors(gSelect);\n }\n }, [guarantors]);\n\n const {\n data: documents,\n isLoading: isDocumentsLoading = false,\n refetch: refetchDocuments,\n } = useGetOpportunityDocumentsQuery(opportunityId, { skip: !opportunityId });\n\n const selectedLenderCard = (\n \n \n \n Selected lender\n \n \n \n {opportunity.attributes.selected_credit_submission_id == null && (\n <>\n \n Lender information will be complete once an approved client\n submission is selected.\n
\n Learn more about managing credit submissions\n
\n
\n \n )}\n\n \n
\n \n \n Lender name\n \n \n

\n {creditSubmission\n ? creditSubmission.attributes.lender_name\n : \"--\"}\n

\n
\n\n
\n \n \n Buy rate\n \n \n

\n {creditSubmission ? creditSubmission.attributes.buy_rate : \"--\"}\n

\n
\n\n
\n \n \n Bank PV Amount\n \n \n

\n {creditSubmission\n ? creditSubmission.attributes.approved_amount\n : \"--\"}\n

\n
\n
\n\n {creditSubmission?.attributes.notes && (\n <>\n
\n\n \n
\n \n \n Notes\n \n \n

\n {creditSubmission ? creditSubmission.attributes.notes : \"--\"}\n

\n
\n
\n \n )}\n
\n
\n );\n\n const [generateDocsModalOpen, setGenerateDocsModalOpen] = useState(false);\n const [documentOptionList, setDocumentOptionList] = useState([]);\n const toggleGenerateDocsModalOpen = () => {\n setDocumentInput(\"\");\n setDocumentsToSend([]);\n setCountersignatureRequired(true);\n setGenerateDocsModalOpen(!generateDocsModalOpen);\n };\n\n useEffect(() => {\n if (documents) {\n let pdfOptionList = [];\n\n //const excludedDocuments = [\"Guarantee - Individual\", \"Cross Corp Guarantee\"];\n const excludedDocuments = [];\n if (opportunity.attributes.commencement_date == undefined) {\n excludedDocuments.push(\"Funding Amortization\")\n excludedDocuments.push(\"Customer Amortization\")\n }\n\n for (let i = 0; i < documents.length; i++) {\n if (!excludedDocuments.includes(documents[i].attributes.name)) {\n pdfOptionList.push({\n value: documents[i],\n label: documents[i].attributes.name,\n });\n }\n }\n\n setDocumentOptionList(pdfOptionList);\n }\n }, [documents, isDocumentsLoading]);\n\n const [documentsToSend, setDocumentsToSend] = useState([]);\n\n const [\n createDocusignEmbeddedSending,\n { isLoading: isCreatingDocusignEmbeddedSending },\n ] = useCreateDocusignEmbeddedSendingMutation();\n\n const [docusignRedirectUrl, setDocusignRedirectUrl] = useState({});\n\n const [\n getLazyDocusignRegeneratedEmbeddedSendingUrl,\n { isLoading: isLoadingRegeneratedEmbeddedSigningUrl },\n lastPromiseInfo,\n ] = useLazyGetDocusignRegeneratedEmbeddedSendingUrlQuery();\n\n const fetchEmbeddedSendingUrl = (envelopeId) => {\n let urls = JSON.parse(JSON.stringify(isUrlBeingRegenerated));\n urls[envelopeId] = true;\n setIsUrlBeingRegenerated(urls);\n\n return getLazyDocusignRegeneratedEmbeddedSendingUrl({\n envelopeId: envelopeId,\n opportunityId: opportunityId,\n })\n .unwrap()\n .then(({ redirect_url }) => {\n let urls = JSON.parse(JSON.stringify(isUrlBeingRegenerated));\n urls[envelopeId] = false;\n setIsUrlBeingRegenerated(urls);\n\n if (redirect_url) {\n let urls = JSON.parse(JSON.stringify(docusignRedirectUrl));\n urls[envelopeId] = redirect_url;\n\n setDocusignRedirectUrl(urls);\n window.open(redirect_url, \"_blank\");\n }\n\n return { status: \"success\" };\n })\n .catch();\n };\n\n const createEmbeddedSigningLink = () => {\n setDocusignRedirectUrl({});\n toggleGenerateDocsModalOpen();\n\n let body = {\n documents: documentsToSend,\n guarantors: selectedDocumentGuarantors,\n countersignature_required: countersignatureRequired,\n };\n\n return createDocusignEmbeddedSending({\n opportunityId: opportunityId,\n ...body,\n }).then(() => {\n refetchDocusignEnvelopes();\n\n return { status: \"success\" };\n });\n };\n\n const [countersignatureRequired, setCountersignatureRequired] =\n useState(true);\n\n const generateDocsModal = (\n \n \n \n \n \n\n { opportunity.attributes.commencement_date == undefined && (\n \n

\n Funding and Customer Amortization documents are unavailable because a Commencement Date has not yet been set.\n

\n
\n )}\n
\n\n {documentGuarantors.length > 0 && (\n \n \n \n \n \n )}\n\n \n \n \n \n \n \n );\n\n const handleRemoveEnvelope = (envelopeId) => {\n let willDelete = confirm(\n \"Are you sure you want to remove the document package?\"\n );\n if (willDelete) {\n // Set deleting to true\n let isDeleting = JSON.parse(JSON.stringify(isEnvelopeBeingDeleted));\n isDeleting[envelopeId] = true;\n setIsEnvelopeBeingDeleted(isDeleting);\n\n return deleteDocusignEnvelope({\n id: envelopeId,\n opportunityId: opportunityId,\n })\n .unwrap()\n .then(() => {\n refetchDocusignEnvelopes();\n return { status: \"success\" };\n })\n .catch();\n }\n };\n\n const docusignEnvelopeTimestamps = (envelope) => {\n return [\n ...(envelope.attributes.docusign_envelope_sent_at\n ? [\n {\n icon: EmailIcon,\n description: formatShortDateTime(\n new Date(envelope.attributes.docusign_envelope_sent_at)\n ),\n title: \"Sent\",\n },\n ]\n : []),\n ...(envelope.attributes.docusign_envelope_delivered_at\n ? [\n {\n icon: ViewIcon,\n description: formatShortDateTime(\n new Date(envelope.attributes.docusign_envelope_delivered_at)\n ),\n title: \"Viewed\",\n },\n ]\n : []),\n ...(envelope.attributes.docusign_envelope_completed_at\n ? [\n {\n icon: OrderFulfilledIcon,\n description: formatShortDateTime(\n new Date(envelope.attributes.docusign_envelope_completed_at)\n ),\n title: \"Signed\",\n },\n ]\n : []),\n ];\n };\n\n const docusignRootUrl =\n process.env.APPLICATION_HOST === \"app.fortifypay.com\"\n ? \"app.docusign.com\"\n : \"appdemo.docusign.com\";\n\n const handleViewOrEditEnvelope = (envelope) => {\n let envelopeIsDraft = !(\n envelope.attributes.docusign_envelope_sent_at ||\n envelope.attributes.docusign_envelope_delivered_at ||\n envelope.attributes.docusign_envelope_completed_at\n );\n\n if (envelopeIsDraft) {\n fetchEmbeddedSendingUrl(envelope.id);\n } else {\n const documentPackageUrl = `https://${docusignRootUrl}/documents/details/${envelope.attributes.docusign_envelope_id}`;\n window.open(documentPackageUrl, \"_blank\");\n }\n };\n\n const docusignEnvelopeCard = (envelope) => {\n let envelopeId = envelope.id;\n let draft = !(\n envelope.attributes.docusign_envelope_sent_at ||\n envelope.attributes.docusign_envelope_delivered_at ||\n envelope.attributes.docusign_envelope_completed_at\n );\n\n const { created_at } = envelope.attributes;\n\n return (\n \n \n \n \n\n \n \n {`Document Package - ${formatNumericDate(\n new Date(created_at)\n )}`}\n \n \n Envelope ID: {envelope.attributes.docusign_envelope_id}\n \n \n Documents: {envelope.attributes.document_list.join(\", \")}\n \n\n \n {docusignEnvelopeTimestamps(envelope).map(\n (timestamp, index) => {\n return (\n \n \n

\n {timestamp.title} - {timestamp.description}\n

\n
\n );\n }\n )}\n \n \n
\n\n {\n handleViewOrEditEnvelope(envelope);\n }}\n loading={isUrlBeingRegenerated[envelopeId]}\n icon={ExternalIcon}\n external={!draft}\n variant=\"plain\"\n >\n {envelope.attributes.docusign_envelope_sent_at\n ? \"View package\"\n : \"View/edit package\"}\n \n\n {\n handleRemoveEnvelope(envelopeId);\n }}\n loading={isEnvelopeBeingDeleted[envelopeId]}\n variant=\"plain\"\n tone=\"critical\"\n >\n Remove package\n \n \n
\n );\n };\n\n const handlePreviewDocs = () => {\n const slug = opportunity.attributes.document_package_vendor_slug;\n const pathname = `/document_tests/${slug}/${opportunityId}/`;\n\n window.open(pathname, \"_blank\");\n };\n\n const docusignEnvelopeEmptyState =\n isCreatingDocusignEmbeddedSending || isDocusignEnvelopesLoading ? (\n
\n
\n \n
\n
\n ) : (\n docusignEnvelopes.length == 0 && (\n \n {!opportunity.attributes.has_accepted_financing_option && (\n \n The doc package will be available once customer selects an\n approved financing option\n
\n \n Learn more about how customers select a financing option\n \n
\n )}\n\n {isCreatingDocusignEmbeddedSending || isDocusignEnvelopesLoading ? (\n \n ) : (\n \n

\n The envelope will not be sent immediately. It will appear in the\n customer portal, but the package can be edited before sending.\n

\n \n )}\n
\n )\n );\n\n const documentPackage = (\n \n \n \n DocuSign envelopes\n \n \n {docusignEnvelopeEmptyState}\n {docusignEnvelopes.map((envelope) => {\n return docusignEnvelopeCard(envelope);\n })}\n\n \n \n
\n \n \n End option\n \n \n

--

\n
\n\n
\n \n \n Accepted terms\n \n \n

--

\n
\n\n
\n \n \n Sell rate\n \n \n

--

\n
\n\n
\n \n \n Opportunity PV\n \n \n

--

\n
\n\n
\n \n \n Fort buy rate\n \n \n

--

\n
\n
\n
\n \n \n \n \n {docusignEnvelopes.length > 0 ? (\n \n ) : null}\n \n \n
\n );\n\n const guarantorsEmptyStateSideCard = (\n \n \n Guarantors will appear here once they are added\n \n
\n \n If no guarantor is elected it will not appear in the customer portal\n \n\n
\n\n \n \n \n
\n );\n\n const [showGuarantorModal, setShowGuarantorModal] = useState(false);\n const toggleShowGuarantorModal = () => {\n setShowGuarantorModal(!showGuarantorModal);\n };\n\n const [skipGuarantorQuery, setSkipGuarantorQuery] = useState(true);\n\n const [guarantorQueryValue, setGuarantorQueryValue] = useState(\"\");\n const [guarantorSearchValue] = useDebounce(guarantorQueryValue, 300);\n\n const {\n data: searchedGuarantors = [],\n isLoading: isSearchGuarantorsLoading = false,\n isFetching: isSearchGuarantorsFetching,\n } = useSearchGuarantorsQuery(\n {\n opportunity_id: opportunityId,\n search: guarantorSearchValue,\n },\n { skip: skipGuarantorQuery }\n );\n\n const [hasSearchFocus, setHasSearchFocus] = useState(false);\n const [guarantorOptions, setGuarantorOptions] = useState([]);\n const [selectedGuarantorsOptions, setSelectedGuarantorsOptions] = useState(\n []\n );\n const [canCreateGuarantor, setCanCreateGuarantor] = useState(false);\n\n useEffect(() => {\n if (guarantorSearchValue.length > 0) {\n setSkipGuarantorQuery(false);\n }\n }, [guarantorSearchValue]);\n\n useEffect(() => {\n if (searchedGuarantors.length > 0) {\n let gOptions = [];\n for (let i = 0; i < searchedGuarantors.length; i++) {\n gOptions.push({\n key: i,\n label:\n searchedGuarantors[i].name +\n \" - \" +\n searchedGuarantors[i].description,\n value: searchedGuarantors[i],\n });\n }\n\n setGuarantorOptions(gOptions);\n }\n }, [searchedGuarantors]);\n\n const handleGuarantorQueryChange = (queryValue) => {\n setGuarantorQueryValue(queryValue);\n setGuarantorOptions([]);\n };\n\n const guarantorSearchTextField = (\n }\n placeholder=\"Filter guarantors...\"\n focus={hasSearchFocus}\n />\n );\n\n useEffect(() => {\n if (guarantorQueryValue) {\n setHasSearchFocus(true);\n }\n }, [guarantorQueryValue]);\n\n const updateGuarantorSelection = useCallback(\n (selected) => {\n if (selected.length > 0) {\n setSelectedGuarantorsOptions(selected);\n setSkipGuarantorQuery(true);\n setGuarantorQueryValue(\n selected[0].name + \" - \" + selected[0].description\n );\n setCanCreateGuarantor(true);\n }\n },\n [guarantorOptions]\n );\n\n const [createGuarantor, { isLoading: isCreatingGuarantor }] =\n useCreateGuarantorMutation();\n\n const createNewGuarantor = () => {\n return createGuarantor({\n opportunityId: opportunityId,\n body: selectedGuarantorsOptions[0],\n })\n .unwrap()\n .then(({ data }) => {\n toggleShowGuarantorModal();\n\n refetchGuarantors();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n alert(\"Failed to create guarantor.\");\n console.log(error);\n });\n };\n\n const handleCloseGuarantorsModal = () => {\n setShowGuarantorModal(false);\n setGuarantorQueryValue(\"\");\n setGuarantorOptions([]);\n };\n\n const guarantorsSearchEmptyState = guarantorQueryValue &&\n guarantorQueryValue.length > 1 && (\n <>\n \n
\n \n

{`Could not find any results for \"${guarantorQueryValue}\".`}

\n
\n
\n \n );\n\n const addGuarantorsModal = (\n \n \n \n \n \n );\n\n const [requireCreditApplication, setRequireCreditApplication] =\n useState(false);\n\n useEffect(() => {\n if (opportunity)\n setRequireCreditApplication(\n opportunity?.attributes?.requires_credit_application\n );\n }, [opportunity]);\n\n const updateRequireCreditApplication = (value) => {\n setRequireCreditApplication(value);\n\n let form = { requires_credit_application: value };\n\n return updateOpportunity({ id: opportunityId, ...form })\n .unwrap()\n .then(() => {\n showToastWithMessage(`Opportunity updated`);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [selectedAcceptance, setSelectedAcceptance] = useState(false);\n\n const updateSelectedAcceptance = (value) => {\n setSelectedAcceptance(value);\n\n const form = { equipment_acceptance: value };\n\n return updateOpportunity({ id: opportunityId, ...form })\n .unwrap()\n .then(() => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n useEffect(() => {\n if (opportunity) {\n if (opportunity.attributes.selected_credit_submission_id) {\n refetchCreditSubmission();\n }\n\n if (opportunity.attributes.equipment_acceptance) {\n setSelectedAcceptance(true);\n }\n }\n }, [opportunity, refetchCreditSubmission]);\n\n const navigateToClientPortalPage = (page) => {\n window.open(`/opportunities/${opportunityId}/share/${page}`, \"_blank\");\n };\n\n const [isCopyingLink, setIsCopyingLink] = useState({});\n\n const clientPortalLinks = [\n {\n name: \"Purchase Options\",\n path: \"purchase_options\",\n },\n {\n name: \"Credit Application\",\n path: \"credit_application\",\n },\n {\n name: \"Payment Authorization\",\n path: \"payment_authorization\",\n },\n {\n name: \"Document Envelopes\",\n path: \"document_envelopes\",\n },\n {\n name: \"Information Request\",\n path: \"info_request\",\n },\n ];\n\n const copyLinkToClipboard = (path) => {\n setIsCopyingLink((prev) => ({ ...prev, [path]: true }));\n const url = `${process.env.APPLICATION_HOST}/opportunities/${opportunityId}/share/${path}`;\n copyTextToClipboard(url).then(() => {\n setTimeout(() => {\n setIsCopyingLink((prev) => ({ ...prev, [path]: false }));\n showToastWithMessage(\"Link copied\");\n }, 300);\n });\n };\n\n const linksSideCard = (\n \n \n \n Links\n \n \n \n \n {clientPortalLinks.map((link) => (\n \n \n \n navigateToClientPortalPage(link.path)}>\n {link.name}\n \n \n copyLinkToClipboard(link.path)}\n loading={isCopyingLink[link.path]}\n />\n \n \n ))}\n \n \n \n );\n\n const guarantorSideCard = (\n \n \n \n \n Credit\n \n {/* \n \n */}\n \n \n \n\n \n \n \n \n \n \n \n \n Guarantors\n \n \n setShowGuarantorModal(true)}\n >\n Add guarantor\n \n \n \n\n \n setShowGuarantorModal(true)}\n />\n \n \n \n \n );\n\n const [loadingDocuments, setLoadingDocuments] = useState({});\n\n const setDocumentToLoadingState = (documentId, state) => {\n const loading = JSON.parse(JSON.stringify(loadingDocuments));\n loading[documentId] = state;\n setLoadingDocuments(loading);\n };\n\n const handleDropZoneDrop = useCallback(\n (_dropFiles, acceptedFiles, _rejectedFiles, handleUpload, documentId) => {\n let acceptedFilenames = [];\n for (let i = 0; i < acceptedFiles.length; i++) {\n acceptedFilenames.push(acceptedFiles[i].name);\n }\n\n // Set loading to true\n setDocumentToLoadingState(documentId, true);\n\n handleUpload(acceptedFiles);\n },\n []\n );\n\n const [standardDocuments, setStandardDocuments] = useState([]);\n const [selectedStandardDocuments, setSelectedStandardDocuments] = useState(\n []\n );\n\n // Build preset standard documents\n useEffect(() => {\n let previousYearPresetDocs = [\n \"- Year End Financials (Balance Sheet + P&L) audited/reviewed where available\",\n \"Corp Tax Return\",\n ];\n let currentYearPresetDocs = [\"- Interim Financials (Balance Sheet + P&L)\"];\n\n let today = new Date();\n let currentYear = today.getFullYear();\n let currentMonth = today.getMonth();\n\n let presetDocs = [];\n\n // Add current year docs\n for (let i = 0; i < currentYearPresetDocs.length; i++) {\n let documentName = currentYear + \" \" + currentYearPresetDocs[i];\n presetDocs.push({ value: documentName, label: documentName });\n }\n\n // Add last 3 year docs\n for (let i = 0; i < previousYearPresetDocs.length; i++) {\n for (let j = 1; j <= 3; j++) {\n let year = currentYear - j;\n let documentName = year + \" \" + previousYearPresetDocs[i];\n presetDocs.push({ value: documentName, label: documentName });\n }\n }\n\n // Add last 3 months\n let monthNames = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n ];\n for (let i = 1; i <= 3; i++) {\n let month = currentMonth - i;\n if (month < 0) month = 12 + month;\n let monthName = monthNames[month];\n\n let documentName = monthName + \" Bank Statement\";\n presetDocs.push({ value: documentName, label: documentName });\n }\n\n presetDocs.push({\n value: \"Other pertinent information\",\n label: \"Other pertinent information\",\n });\n\n presetDocs.push({\n value: \"Driver's License\",\n label: \"Driver's License\",\n });\n\n setStandardDocuments(presetDocs);\n }, []);\n\n const [documentInput, setDocumentInput] = useState(\"\");\n\n useEffect(() => {\n if (opportunityAttachments) {\n let list = {};\n let listChecked = {};\n let loading = {};\n let listNames = [];\n for (let i = 0; i < opportunityAttachments.length; i++) {\n let documentName = opportunityAttachments[i].attributes.name;\n let documentId = opportunityAttachments[i].id;\n list[documentName] = opportunityAttachments[i];\n listChecked[documentName] = true;\n loading[documentId] = false;\n listNames.push(documentName);\n }\n\n setLoadingDocuments(loading);\n setSelectedStandardDocuments(listNames);\n }\n }, [opportunityAttachments]);\n\n const changeCustomerDocumentListChecked = (document) => {\n let listToAdd = [...document];\n for (let i = 0; i < opportunityAttachments.length; i++) {\n let documentName = opportunityAttachments[i].attributes.name;\n let index = listToAdd.indexOf(documentName);\n if (index < 0) {\n listToAdd.push(documentName);\n }\n }\n\n setSelectedStandardDocuments(listToAdd);\n };\n\n const addToCustomerDocumentList = (publicDocuments = true) => {\n const listToAdd = [...selectedStandardDocuments];\n if (documentInput.length > 0) listToAdd.push(documentInput);\n for (let i = 0; i < opportunityAttachments.length; i++) {\n let documentName = opportunityAttachments[i].attributes.name;\n let index = listToAdd.indexOf(documentName);\n if (index >= 0) {\n listToAdd.splice(index, 1);\n }\n }\n\n return createOpportunityAttachments({\n opportunityId: opportunityId,\n body: {\n documents: listToAdd,\n public: publicDocuments,\n },\n })\n .unwrap()\n .then(() => {\n if (customerDocumentsModalOpen) toggleCustomerDocumentsModalOpen();\n if (internalFundingRequirementsModalOpen)\n toggleInternalFundingRequirementsModalOpen();\n refetchOpportunityAttachments();\n setDocumentInput(\"\");\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setDocumentInput(\"\");\n if (customerDocumentsModalOpen) toggleCustomerDocumentsModalOpen();\n if (internalFundingRequirementsModalOpen)\n toggleInternalFundingRequirementsModalOpen();\n });\n };\n\n const [customerDocumentsModalOpen, setCustomerDocumentsModalOpen] =\n useState(false);\n const toggleCustomerDocumentsModalOpen = () => {\n setCustomerDocumentsModalOpen(!customerDocumentsModalOpen);\n };\n\n const addToCustomerDocumentsModal = (\n {\n addToCustomerDocumentList(true);\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: toggleCustomerDocumentsModalOpen,\n },\n ]}\n >\n \n \n\n
\n \n

\n \n Or, enter a custom document name below.\n \n

\n
\n
\n
\n\n \n setDocumentInput(value)}\n autoComplete=\"off\"\n helpText=\"Name should describe the expected document\"\n />\n \n \n );\n\n const [createOpportunityAttachments] =\n useCreateOpportunityAttachmentsMutation();\n\n const [updateOpportunityAttachment, { isLoading: isUpdating }] =\n useUpdateOpportunityAttachmentMutation();\n\n const [purgeOpportunityAttachment] = usePurgeOpportunityAttachmentMutation();\n\n const [deleteOpportunityAttachment] =\n useDeleteOpportunityAttachmentMutation();\n\n const [createOpportunityEvent] = useCreateOpportunityEventMutation();\n\n const handleCreateOpportunityEvent = useCallback(\n (type) => {\n return createOpportunityEvent({\n opportunityId: opportunityId,\n type: type,\n contact_id: currentContact.id,\n })\n .unwrap()\n .then((result) => {\n console.log(result);\n })\n .catch((error) => {\n console.log(error);\n });\n },\n [createOpportunityEvent, opportunityId]\n );\n\n const handleAttachment = (uploads, document) => {\n let documentId = document.id;\n let files = uploads;\n\n return updateOpportunityAttachment({\n opportunityId: opportunityId,\n id: documentId,\n patch: {\n documents: files,\n },\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n handleCreateOpportunityEvent(\"OpportunityFileUploaded\");\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.log(error);\n });\n };\n\n const purgeAttachment = (document, dIndex) => {\n let documentId = document.id;\n let attachmentId = document.attributes.attachment_id[dIndex];\n\n setDocumentToLoadingState(documentId, true);\n\n return purgeOpportunityAttachment({\n opportunityId: opportunityId,\n id: documentId,\n attachmentId: attachmentId,\n dIndex: dIndex,\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.log(error);\n });\n };\n\n const deleteDocument = (document) => {\n let documentId = document.id;\n setDocumentToLoadingState(documentId, true);\n\n return deleteOpportunityAttachment({\n opportunityId: opportunityId,\n id: documentId,\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.log(error);\n });\n };\n\n const [documentPopovers, setDocumentPopovers] = useState([]);\n\n useEffect(() => {\n if (opportunityAttachments) {\n let documentPopoverStatus = [];\n for (let i = 0; i < opportunityAttachments.length; i++) {\n documentPopoverStatus.push(false);\n }\n\n setDocumentPopovers(documentPopoverStatus);\n }\n }, [opportunityAttachments]);\n\n const toggleDocumentPopover = (index) => {\n let documentPopoverStatus = JSON.parse(JSON.stringify(documentPopovers));\n documentPopoverStatus[index] = !documentPopoverStatus[index];\n\n setDocumentPopovers(documentPopoverStatus);\n };\n\n const customerDocuments = (\n \n \n \n Customer documents for upload\n \n \n \n

All document upload items are visible in customer portal

\n
\n\n {opportunityAttachments &&\n opportunityAttachments.map(\n (document, index) =>\n document.attributes.public && (\n \n \n {document.attributes.document === \"\" && (\n \n \n \n \n {document.attributes.name}\n \n \n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n \n )}\n \n {\n handleAttachment(uploads, document);\n }}\n render={({ handleUpload, uploads, ready }) => (\n <>\n {/* Spinner when loading */}\n {loadingDocuments[document.id] && (\n \n \n \n \n \n )}\n\n {/* Dropzone and uploaded content */}\n {!loadingDocuments[document.id] && (\n <>\n {document.attributes.document.length > 0 && (\n <>\n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n\n
\n\n {document.attributes.document.map((d, dIndex) => (\n \n
\n \n \n \n {document.attributes.filenames[dIndex]\n ? document.attributes.filenames[\n dIndex\n ]\n : \"-\"}\n \n\n \n \n \n View file\n \n \n {\n purgeAttachment(document, dIndex);\n }}\n style={{\n marginLeft: \"30px\",\n cursor: \"pointer\",\n }}\n >\n \n \n \n \n
\n \n
\n ))}\n \n )}\n\n
\n\n {document.attributes.document.length == 0 && (\n \n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n
\n )}\n \n )}\n \n )}\n />\n
\n )\n )}\n\n \n \n \n
\n );\n\n const [\n internalFundingRequirementsModalOpen,\n setInternalFundingRequirementsModalOpen,\n ] = useState(false);\n const toggleInternalFundingRequirementsModalOpen = () => {\n setDocumentInput(\"\");\n setInternalFundingRequirementsModalOpen(\n !internalFundingRequirementsModalOpen\n );\n };\n\n const addToInternalFundingRequirementsModal = (\n {\n addToCustomerDocumentList(false);\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: toggleInternalFundingRequirementsModalOpen,\n },\n ]}\n >\n \n \n\n
\n \n

\n \n Or, enter a custom document name below.\n \n

\n
\n
\n
\n\n \n setDocumentInput(value)}\n autoComplete=\"off\"\n helpText=\"Name should describe the expected document\"\n />\n \n \n );\n\n const internalFundingRequirements = (\n \n \n \n Internal funding requirements\n \n \n\n {opportunityAttachments &&\n opportunityAttachments.map(\n (document, index) =>\n !document.attributes.public && (\n \n \n {document.attributes.document === \"\" && (\n \n \n \n \n {document.attributes.name}\n \n \n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n \n )}\n \n {\n handleAttachment(uploads, document);\n }}\n render={({ handleUpload, uploads, ready }) => (\n <>\n {/* Spinner when loading */}\n {loadingDocuments[document.id] && (\n \n \n \n \n \n )}\n\n {/* Dropzone and uploaded content */}\n {!loadingDocuments[document.id] && (\n <>\n {document.attributes.document.length > 0 && (\n <>\n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n\n
\n\n {document.attributes.document.map((d, dIndex) => (\n \n
\n \n \n \n {document.attributes.filenames[dIndex]\n ? document.attributes.filenames[\n dIndex\n ]\n : \"-\"}\n \n\n \n \n \n View file\n \n \n {\n purgeAttachment(document, dIndex);\n }}\n style={{\n marginLeft: \"30px\",\n cursor: \"pointer\",\n }}\n >\n \n \n \n \n
\n \n
\n ))}\n \n )}\n\n
\n\n {document.attributes.document.length == 0 && (\n \n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n
\n )}\n \n )}\n \n )}\n />\n
\n )\n )}\n\n \n \n \n
\n );\n\n const fundingChecklistLayout = (\n \n \n \n {documentPackage}\n {customerDocuments}\n \n \n\n \n \n {linksSideCard}\n {guarantorSideCard}\n {selectedLenderCard}\n {internalFundingRequirements}\n \n \n\n {addGuarantorsModal}\n {addToCustomerDocumentsModal}\n {addToInternalFundingRequirementsModal}\n {generateDocsModal}\n \n );\n\n return fundingChecklistLayout;\n};\n\nexport default OpportunitiesFundingChecklist;\n","import { PV } from \"@formulajs/formulajs\";\nimport FinancingOptionSegment from \"./types/FinancingOptionSegment\";\n\nfunction roundedDollarAmount(value: number | string): number {\n if (typeof value !== \"number\" && isNaN(parseFloat(value))) {\n throw new TypeError(\n \"Invalid value provided. Expected a number or a value that can be converted to a number.\"\n );\n }\n if (typeof value === \"string\") {\n value = parseFloat(value);\n }\n return Math.round(value * 100) / 100;\n}\n\nfunction periodicInterest(\n presentValue: number,\n periodicInterestRate: number\n): number {\n return roundedDollarAmount(presentValue * periodicInterestRate);\n}\n\nfunction periodicInterestRate(\n interestRate: number,\n paymentsPerYear: number\n): number {\n return interestRate / 100 / paymentsPerYear;\n}\n\nfunction presentValueInterestFactor(\n periodicInterestRate: number,\n termLength: number\n): number {\n return Math.pow(1 + periodicInterestRate, termLength);\n}\n\nfunction amortizedPayment(\n periodicInterestRate: number,\n termLength: number,\n totalFinanceAmount: number,\n type: string,\n residualAmount: number = 0\n): number {\n let payment: number;\n\n if (periodicInterestRate) {\n const pvif: number = presentValueInterestFactor(\n periodicInterestRate,\n termLength\n );\n\n if (type == \"arrears\") {\n payment =\n (periodicInterestRate / (pvif - 1)) *\n (totalFinanceAmount * pvif - residualAmount);\n } else {\n payment =\n (totalFinanceAmount * periodicInterestRate -\n residualAmount * (periodicInterestRate / pvif)) /\n ((1 - 1 / pvif) * (1 + periodicInterestRate));\n }\n return roundedDollarAmount(payment);\n } else if (termLength) {\n payment = (totalFinanceAmount - residualAmount) / termLength;\n return roundedDollarAmount(payment);\n }\n\n return 0;\n}\n\nfunction calculateTotalFinanceAmount(\n periodicInterestRate: number,\n termLength: number,\n payment: number,\n type?: string,\n residualAmount: number = 0\n): number {\n if (!type) type = \"arrears\";\n\n let totalFinanceAmount: number;\n let pvif: number;\n\n if (periodicInterestRate == 0) {\n return payment * termLength + residualAmount;\n }\n\n if (type == \"arrears\") {\n pvif = presentValueInterestFactor(periodicInterestRate, termLength);\n totalFinanceAmount =\n (payment / periodicInterestRate) * (1 - 1 / pvif) + residualAmount / pvif;\n } else if (type == \"advance\") {\n pvif = presentValueInterestFactor(periodicInterestRate, termLength - 1);\n totalFinanceAmount =\n (payment / periodicInterestRate) * (1 - 1 / pvif) +\n parseFloat(payment.toString()) +\n residualAmount / (pvif * (1 + periodicInterestRate));\n }\n\n return roundedDollarAmount(totalFinanceAmount);\n}\n\nexport const PAYMENTS_PER_YEAR: number = 12;\n\nfunction calculatePaymentAndDiscount(\n totalFinanceAmount: number,\n buyRate: number,\n sellRate: number,\n termLength: number,\n paymentType: string,\n termSegments: FinancingOptionSegment[] = [],\n residualAmount: number = 0\n): {\n schedule: (number | string)[][];\n payment: number;\n discount: number;\n buyPresentValue: number;\n spread: number;\n} {\n const { payment, schedule } = computeAmortizationSchedule(\n null,\n totalFinanceAmount,\n sellRate,\n termLength,\n paymentType,\n termSegments,\n residualAmount\n );\n\n // Get the total number of custom segment payments\n const termSegmentsPaymentCount: number = termSegments.reduce(\n (total: number, termSegment: FinancingOptionSegment) => {\n return total + termSegment.attributes.count;\n },\n 0\n );\n\n const baseTermLength = termLength - termSegmentsPaymentCount;\n\n const presentValueAfterCustomSegmentsPlusOne =\n paymentType === \"advance\"\n ? (payment / periodicInterestRate(buyRate, PAYMENTS_PER_YEAR)) *\n (1 -\n 1 /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n baseTermLength + 1\n )) *\n (1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR)) -\n payment\n : (payment / periodicInterestRate(buyRate, PAYMENTS_PER_YEAR)) *\n (1 -\n 1 /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n baseTermLength\n ));\n\n let termSegmentsPresentValue = 0;\n\n termSegments.forEach((segment) => {\n const { count, value } = segment.attributes;\n\n const presentValue = PV(\n periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n -count,\n value,\n 0,\n paymentType === \"advance\" ? undefined : 0\n );\n\n if (presentValue instanceof Error) {\n throw presentValue;\n }\n termSegmentsPresentValue += presentValue;\n });\n\n const buyPresentValue =\n paymentType === \"advance\"\n ? roundedDollarAmount(\n (presentValueAfterCustomSegmentsPlusOne + termSegmentsPresentValue) /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n termSegmentsPaymentCount - 1\n ) +\n residualAmount /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n termLength\n )\n )\n : roundedDollarAmount(\n (presentValueAfterCustomSegmentsPlusOne + termSegmentsPresentValue) /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n termSegmentsPaymentCount\n ) +\n residualAmount /\n Math.pow(\n 1 + periodicInterestRate(buyRate, PAYMENTS_PER_YEAR),\n termLength\n )\n );\n\n const discount = roundedDollarAmount(totalFinanceAmount - buyPresentValue);\n const spread = roundedDollarAmount(buyPresentValue - totalFinanceAmount);\n\n return { schedule, payment, discount, buyPresentValue, spread };\n}\n\nfunction computeAmortizationSchedule(\n payment: number | string,\n totalFinanceAmount: number,\n interestRate: number,\n termLength: number,\n paymentType: string,\n termSegments: FinancingOptionSegment[] = [],\n residualAmount: number = 0\n): {\n schedule: (number | string)[][];\n payment: number;\n calculatedTotalFinanceAmount: number;\n} {\n // Gather the total amount of all custom segment payments\n const termSegementsTotalAmount: number = termSegments.reduce(\n (total, termSegment) =>\n total +\n termSegment.attributes.count * Number(termSegment.attributes.value),\n 0\n );\n // Get the total number of custom segment payments\n const termSegmentsPaymentCount: number = termSegments.reduce(\n (total: number, termSegment: FinancingOptionSegment) => {\n return total + termSegment.attributes.count;\n },\n 0\n );\n // number of payments in remaining amount amortization\n const numberOfPayments: number = termLength - termSegmentsPaymentCount;\n\n // the balance of the loan over time, starting with the total amount financed\n let balance: number = totalFinanceAmount || termSegementsTotalAmount;\n\n const schedule: (number | string)[][] = [];\n let calculatedTotalFinanceAmount: number;\n\n // payment exists, so solve for the total finance amount\n if (payment && parseFloat(payment.toString())) {\n calculatedTotalFinanceAmount =\n calculateTotalFinanceAmount(\n periodicInterestRate(interestRate, PAYMENTS_PER_YEAR),\n numberOfPayments,\n parseFloat(payment.toString()),\n paymentType,\n residualAmount\n ) + termSegementsTotalAmount;\n }\n\n // Push the first heading row into the amortization schedule table array\n const firstRow: (number | string)[] = [\"Loan\", \"\", \"\", \"\", balance];\n schedule.push(firstRow);\n\n // account for the remaining interest amount\n // after custom segments have been scheduled\n let remainingInterest: number = 0;\n\n /************************\n TERM_SEGMENT_HANDLING\n ************************/\n if (termSegments.length) {\n let paymentNumber: number = 1;\n\n termSegments.forEach((termSegment, segmentsIndex) => {\n const { count, value } = termSegment.attributes;\n\n for (let i = 0; i < count; i++) {\n const interest: number = periodicInterest(\n balance,\n periodicInterestRate(interestRate, PAYMENTS_PER_YEAR)\n );\n\n const paymentAmount: number = parseFloat(value.toString());\n let principal: number, row: (number | string)[];\n\n // advance payments do not accrue interest on the first cycle\n if (segmentsIndex === 0 && i === 0 && paymentType === \"advance\") {\n principal = roundedDollarAmount(paymentAmount);\n balance = roundedDollarAmount(balance - principal);\n\n row = [paymentNumber, paymentAmount, \"0\", principal, balance];\n } else {\n principal = roundedDollarAmount(paymentAmount - interest);\n balance = roundedDollarAmount(balance - principal);\n\n row = [paymentNumber, paymentAmount, interest, principal, balance];\n }\n\n schedule.push(row);\n paymentNumber++;\n\n if (\n i == count - 1 &&\n paymentType == \"advance\" &&\n segmentsIndex == termSegments.length - 1\n ) {\n // for last custom segment, account for interest in remaining amortized amount, if payments in advance\n balance = roundedDollarAmount(balance + interest);\n\n remainingInterest = interest;\n }\n }\n });\n }\n\n let calculatedTotalFinanceAmountRemaining: number = roundedDollarAmount(\n balance - remainingInterest\n );\n\n if (payment && parseFloat(payment.toString())) {\n calculatedTotalFinanceAmountRemaining = roundedDollarAmount(\n calculatedTotalFinanceAmount - balance\n );\n } else {\n payment = amortizedPayment(\n periodicInterestRate(interestRate, PAYMENTS_PER_YEAR),\n numberOfPayments,\n calculatedTotalFinanceAmountRemaining,\n termSegments.length ? \"arrears\" : paymentType,\n residualAmount\n );\n }\n\n for (let i = 1; i <= numberOfPayments; i++) {\n let interest: number;\n\n const paymentNumber: number = i + termSegmentsPaymentCount;\n\n if (paymentType === \"advance\" && i === 1 && !termSegments.length) {\n interest = 0;\n } else {\n interest = periodicInterest(\n calculatedTotalFinanceAmountRemaining,\n periodicInterestRate(interestRate, PAYMENTS_PER_YEAR)\n );\n }\n\n const principal: number = roundedDollarAmount(\n parseFloat(payment.toString()) - interest\n );\n\n const formattedInterest: number = interest > 0 ? interest : 0;\n\n balance = roundedDollarAmount(\n calculatedTotalFinanceAmountRemaining - principal\n );\n\n calculatedTotalFinanceAmountRemaining = roundedDollarAmount(\n calculatedTotalFinanceAmountRemaining - principal\n );\n\n // Add residual amount to the last payment\n if (i === numberOfPayments) {\n balance = roundedDollarAmount(balance + residualAmount);\n }\n\n const row: (number | string)[] = amortizationScheduleRow(\n paymentNumber,\n parseFloat(payment.toString()),\n formattedInterest,\n principal,\n balance\n );\n\n schedule.push(row);\n }\n\n return {\n schedule,\n payment: parseFloat(payment.toString()),\n calculatedTotalFinanceAmount,\n };\n}\n\nfunction amortizationScheduleRow(\n paymentNumber: number,\n payment: number,\n formattedInterest: number,\n principal: number,\n balance: number\n): (number | string)[] {\n return [paymentNumber, payment, formattedInterest, principal, balance];\n}\n\nfunction calculateInterestRate(\n totalFinanceAmount: number,\n basePayment: number,\n termLength: number,\n paymentType: string,\n termSegments: FinancingOptionSegment[] = [],\n initialGuess: number = 5, // Initial guess for the interest rate, e.g., 5%\n maxIterations: number = 1000,\n tolerance: number = 0.0001\n): number {\n let interestRate = initialGuess;\n let iteration = 0;\n let difference: number;\n\n do {\n const { payment } = calculatePaymentAndDiscount(\n totalFinanceAmount,\n interestRate, // Use current guess for both buy and sell rates\n interestRate,\n termLength,\n paymentType,\n termSegments\n );\n\n if (isNaN(payment)) {\n console.error(\"Calculated payment is NaN\", {\n interestRate,\n totalFinanceAmount,\n termLength,\n paymentType,\n termSegments,\n });\n // return NaN; // Early exit if payment calculation fails\n // Return zero instead to allow force setting\n return 0;\n }\n\n difference = payment - basePayment;\n\n // Calculate derivative (rate of change) of payment with respect to interest rate\n const derivative = calculatePaymentDerivative(\n interestRate,\n totalFinanceAmount,\n termLength,\n paymentType,\n termSegments\n );\n\n if (isNaN(derivative) || derivative === 0) {\n console.error(\"Derivative is NaN or zero\", { interestRate, derivative });\n // return NaN; // Early exit if derivative calculation fails or is zero\n // Return zero instead to allow force setting\n return 0;\n }\n\n // Newton-Raphson adjustment\n interestRate -= difference / derivative;\n\n if (isNaN(interestRate)) {\n console.error(\"New interest rate is NaN\", { difference, derivative });\n // return NaN; // Early exit if new interest rate calculation fails\n // Return zero instead to allow force setting\n return 0;\n }\n\n iteration++;\n } while (Math.abs(difference) > tolerance && iteration < maxIterations);\n\n const roundedInterestRate = roundedDollarAmount(interestRate);\n\n return roundedInterestRate;\n}\n\nfunction calculatePaymentDerivative(\n interestRate: number,\n totalFinanceAmount: number,\n termLength: number,\n paymentType: string,\n termSegments: FinancingOptionSegment[],\n delta: number = 0.01 // A small change in interest rate for derivative calculation\n): number {\n // Calculate payment at the current interest rate\n const paymentAtCurrentRate = calculatePaymentAndDiscount(\n totalFinanceAmount,\n interestRate,\n interestRate,\n termLength,\n paymentType,\n termSegments\n ).payment;\n\n // Calculate payment at a slightly higher interest rate\n const paymentAtHigherRate = calculatePaymentAndDiscount(\n totalFinanceAmount,\n interestRate + delta,\n interestRate + delta,\n termLength,\n paymentType,\n termSegments\n ).payment;\n\n // Numerical derivative: (f(x + delta) - f(x)) / delta\n const derivative = (paymentAtHigherRate - paymentAtCurrentRate) / delta;\n\n return derivative;\n}\n\nexport {\n amortizedPayment,\n calculateInterestRate,\n calculatePaymentAndDiscount,\n calculateTotalFinanceAmount,\n computeAmortizationSchedule,\n presentValueInterestFactor,\n roundedDollarAmount,\n periodicInterestRate,\n};\n","import React from \"react\";\nimport { Button, Icon, TextField } from \"@shopify/polaris\";\nimport { CheckIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\n\nclass DateTextField extends React.Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n const { inputName, onChange, onDateSave } = this.props;\n return (\n {\n onChange({ target: { value: value } });\n }}\n connectedRight={\n {\n onDateSave(inputName);\n }}\n variant=\"primary\">\n \n \n }\n />\n );\n }\n}\n\nDateTextField.displayName = \"DateTextField\";\nDateTextField.propTypes = {\n inputName: PropTypes.string,\n value: PropTypes.any,\n onChange: PropTypes.func,\n onClick: PropTypes.func,\n onDateSave: PropTypes.func,\n};\n\nexport default DateTextField;\n","import React, { useState, useEffect, useCallback } from \"react\";\n\nimport {\n Card,\n Box,\n Button,\n LegacyStack,\n InlineGrid,\n BlockStack,\n Divider,\n Icon,\n Checkbox,\n Text,\n InlineStack,\n Tooltip,\n} from \"@shopify/polaris\";\nimport { EditIcon, InfoIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetOpportunityQuery,\n useGetOpportunityCreditSubmissionQuery,\n useUpdateOpportunityMutation,\n} from \"../../services/api\";\n\nimport { formatCurrency, formatNumericDate } from \"../../utilities\";\n\nimport DatePicker from \"react-datepicker\";\nimport PropTypes from \"prop-types\";\nimport DateTextField from \"../../components/DateTextField\";\nimport CardBoxTitle from \"../../components/Card/BoxTitle\";\n\nconst OpportunitiesReviewForm = (props) => {\n const { opportunityId, computeTransactions } = props;\n\n const {\n data: opportunity,\n isLoading: isLoadingOpportunity,\n refetch: refetchOpportunity,\n error: opportunityError,\n } = useGetOpportunityQuery(opportunityId);\n\n const {\n data: creditSubmission,\n isLoading: isLoadingCreditSubmission,\n refetch: refetchCreditSubmission,\n } = useGetOpportunityCreditSubmissionQuery(\n {\n id: opportunity.attributes.selected_credit_submission_id,\n opportunityId: opportunityId,\n },\n {\n skip: !opportunity.attributes.selected_credit_submission_id,\n }\n );\n\n const [updateOpportunity, { isLoading: isUpdatingOpportunity }] =\n useUpdateOpportunityMutation();\n\n const [isEditingValue, setIsEditingValue] = useState({\n install_date: false,\n booked_at: false,\n acceptance_date: false,\n commencement_date: false,\n closing_date: false,\n first_payment_date: false,\n last_payment_date: false,\n next_payment_date: false,\n });\n const [editedValue, setEditedValue] = useState({\n install_date: null,\n booked_at: null,\n acceptance_date: null,\n commencement_date: null,\n closing_date: null,\n pro_rata: false,\n first_payment_date: null,\n last_payment_date: null,\n next_payment_date: null,\n });\n\n const toggleInputBox = (key) => {\n let editing = JSON.parse(JSON.stringify(isEditingValue));\n editing[key] = !editing[key];\n setIsEditingValue(editing);\n };\n\n const handleDateChange = (range, key) => {\n let values = JSON.parse(JSON.stringify(editedValue));\n values[key] = range;\n\n setEditedValue(values);\n };\n\n const handleEditProRata = (value) => {\n let values = JSON.parse(JSON.stringify(editedValue));\n values.pro_rata = value;\n\n setEditedValue(values);\n updateOpportunityWithNewValues(values);\n };\n\n const [grossYield, setGrossYield] = useState(0);\n\n const proRata = useCallback(() => {\n if (\n opportunity.attributes.commencement_date &&\n opportunity.attributes.acceptance_date\n ) {\n return (\n (opportunity.attributes.base_payment / 30) *\n Math.ceil(\n Math.abs(\n new Date(opportunity.attributes.commencement_date) -\n new Date(opportunity.attributes.acceptance_date)\n ) /\n (1000 * 60 * 60 * 24)\n )\n );\n } else {\n 0;\n }\n }, [\n opportunity.attributes.acceptance_date,\n opportunity.attributes.base_payment,\n opportunity.attributes.commencement_date,\n ]);\n\n const totalGrossYield = useCallback(() => {\n return (\n grossYield -\n computeTransactions.vendor_points +\n proRata() +\n computeTransactions.progress_payment_interim_rent -\n computeTransactions.progress_payment_interest_cost\n );\n }, [\n computeTransactions.progress_payment_interest_cost,\n computeTransactions.progress_payment_interim_rent,\n computeTransactions.vendor_points,\n grossYield,\n proRata,\n ]);\n\n useEffect(() => {\n if (computeTransactions && opportunity) {\n setGrossYield(\n // computeTransactions.debt_present_value +\n // opportunity.attributes?.debt_present_value +\n // computeTransactions.base_payments_value +\n // opportunity.attributes?.total_fees -\n // opportunity?.attributes?.total_transaction_expense -\n // computeTransactions.doc_fee_lender -\n // computeTransactions.total_paid_to_vendor +\n // computeTransactions.vendor_admin_payables\n opportunity.attributes?.gross_yield\n );\n }\n }, [computeTransactions, opportunity]);\n\n useEffect(() => {\n let values = JSON.parse(JSON.stringify(editedValue));\n let keys = Object.keys(values);\n for (let i = 0; i < keys.length; i++) {\n let key = keys[i];\n if (key === \"pro_rata\") {\n values.pro_rata = opportunity.attributes.pro_rata;\n } else {\n if (opportunity.attributes[key] != null) {\n values[key] = validDate(new Date(opportunity.attributes[key]));\n }\n }\n }\n\n setEditedValue(values);\n }, [opportunity]);\n\n const handleDateSave = (toggleKey) => {\n toggleInputBox(toggleKey);\n updateOpportunityWithNewValues();\n };\n\n const updateOpportunityWithNewValues = (newValue) => {\n let updateValue = newValue\n ? JSON.parse(JSON.stringify(newValue))\n : JSON.parse(JSON.stringify(editedValue));\n\n let form = {};\n for (let i = 0; i < Object.keys(updateValue).length; i++) {\n let key = Object.keys(updateValue)[i];\n if (updateValue[key] !== null) {\n form[key] = updateValue[key];\n }\n }\n\n return updateOpportunity({ id: opportunityId, ...form })\n .unwrap()\n .then(() => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const validDate = (date) => {\n const dateObject = new Date(date);\n if (isFinite(dateObject)) {\n return dateObject;\n } else {\n return null;\n }\n };\n\n const reviewLayout = (\n <>\n \n \n \n Review\n \n \n \n \n \n Opportunity Details\n \n \n\n \n \n \n \n \n Rep/originator\n \n \n

{opportunity.attributes.originator_name || \"-\"}

\n
\n \n \n \n Originator account\n \n \n

{opportunity.attributes.client_name || \"-\"}

\n
\n \n \n \n Agreement #\n \n \n

{opportunity.attributes.payment_agreement_number || \"-\"}

\n
\n \n \n \n Booked date\n \n \n {isEditingValue[\"booked_at\"] ? (\n {\n handleDateChange(value, \"booked_at\");\n }}\n placeholderText={\"-\"}\n selected={validDate(editedValue[\"booked_at\"] || new Date())}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.booked_at\n ? formatNumericDate(\n new Date(opportunity.attributes.booked_at)\n )\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"booked_at\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n \n \n \n Install date\n \n \n {isEditingValue[\"install_date\"] ? (\n {\n handleDateChange(value, \"install_date\");\n }}\n placeholderText={\"-\"}\n selected={validDate(\n editedValue[\"install_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.install_date\n ? formatNumericDate(\n new Date(opportunity.attributes.install_date)\n )\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"install_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n
\n\n \n \n \n \n Total quote amount\n \n \n

\n {formatCurrency(\n opportunity.attributes.total_finance_amount\n ) || \"-\"}\n

\n
\n\n \n \n \n Base payment\n \n \n

\n {formatCurrency(opportunity.attributes.base_payment) || \"-\"}\n

\n
\n\n \n \n \n Payments made to FORT\n \n \n

\n {opportunity?.attributes?.total_base_payments_count > 0\n ? opportunity?.attributes?.total_base_payments_count\n : \"-\"}\n

\n
\n\n \n \n \n Payments made to FORT ($)\n \n \n

\n {opportunity?.attributes?.total_base_payments_amount > 0\n ? formatCurrency(\n opportunity?.attributes?.total_base_payments_amount\n )\n : \"-\"}\n

\n
\n\n \n \n \n Doc fee paid\n \n \n

\n {opportunity?.attributes?.documentation_fee_paid > 0\n ? formatCurrency(\n opportunity?.attributes?.documentation_fee_paid\n )\n : \"-\"}\n

\n
\n
\n\n \n \n \n \n Origination fee from customer\n \n \n

\n {opportunity?.attributes?.origination_fee_from_customer > 0\n ? formatCurrency(\n opportunity?.attributes?.origination_fee_from_customer\n )\n : \"-\"}\n

\n
\n\n \n \n \n Sum of remaining payments\n \n \n

\n {opportunity?.attributes?.sum_of_remaining_payments > 0\n ? formatCurrency(\n opportunity?.attributes?.sum_of_remaining_payments\n )\n : \"-\"}\n

\n
\n
\n\n \n \n \n \n Total paid to vendor\n \n \n

\n {formatCurrency(computeTransactions.total_paid_to_vendor) ||\n \"-\"}\n

\n
\n
\n
\n
\n\n \n\n \n \n \n Totals\n \n \n\n \n \n \n \n Payments Total (Tax included)\n \n \n

\n {formatCurrency(\n opportunity.attributes.payments_total_including_tax\n ) || \"-\"}\n

\n
\n\n \n \n \n Total Sales Tax\n \n \n

\n {formatCurrency(opportunity.attributes.total_sales_tax) || \"-\"}\n

\n
\n\n \n \n \n Total Finance Amount\n \n \n

\n {formatCurrency(opportunity.attributes.total_finance_amount) ||\n \"-\"}\n

\n
\n\n \n \n \n Total Months\n \n \n

{opportunity.attributes.total_months || \"-\"}

\n
\n\n \n \n \n Total Final Invoice Amount\n \n \n

\n {formatCurrency(\n opportunity.attributes.total_final_invoice_amount\n ) || \"-\"}\n

\n
\n
\n\n
\n\n \n \n \n \n Total Base Payments amount\n \n \n

\n {formatCurrency(\n opportunity.attributes.total_base_payments_amount\n ) || \"-\"}\n

\n
\n\n \n \n \n Total fees\n \n \n

{formatCurrency(opportunity.attributes.total_fees) || \"-\"}

\n
\n\n \n \n \n Total Transaction Expense\n \n \n

\n {formatCurrency(\n opportunity.attributes.total_transaction_expense\n ) || \"-\"}\n

\n
\n
\n
\n\n \n\n \n \n \n Pro rata\n \n \n\n \n \n \n \n\n \n \n \n Acceptance date\n \n \n {isEditingValue[\"acceptance_date\"] ? (\n {\n handleDateChange(value, \"acceptance_date\");\n }}\n selected={validDate(\n editedValue[\"acceptance_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.acceptance_date\n ? formatNumericDate(\n new Date(opportunity.attributes.acceptance_date)\n )\n : editedValue[\"acceptance_date\"]\n ? formatNumericDate(editedValue[\"acceptance_date\"])\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"acceptance_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n\n \n \n \n Commencement date\n \n \n {isEditingValue[\"commencement_date\"] ? (\n \n handleDateChange(value, \"commencement_date\")\n }\n selected={validDate(\n editedValue[\"commencement_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.commencement_date\n ? formatNumericDate(\n new Date(opportunity.attributes.commencement_date)\n )\n : editedValue[\"commencement_date\"]\n ? formatNumericDate(editedValue[\"commencement_date\"])\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"commencement_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n
\n
\n\n \n\n \n \n \n Lender\n \n \n \n \n \n \n Lender\n \n \n

\n {creditSubmission\n ? creditSubmission.attributes.lender_name\n : \"-\"}\n

\n
\n\n \n \n \n Buy rate\n \n \n

\n {creditSubmission ? creditSubmission.attributes.buy_rate : \"-\"}\n

\n
\n\n \n \n \n APR\n \n \n

\n {opportunity\n ? opportunity?.attributes?.apr > 0\n ? formatCurrency(opportunity?.attributes?.apr)\n : \"-\"\n : \"-\"}\n

\n
\n\n \n \n \n Closing date\n \n \n {isEditingValue[\"closing_date\"] ? (\n {\n handleDateChange(value, \"closing_date\");\n }}\n selected={validDate(\n editedValue[\"closing_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n
\n

\n {opportunity.attributes.closing_date\n ? formatNumericDate(\n new Date(opportunity.attributes.closing_date)\n )\n : editedValue[\"closing_date\"]\n ? formatNumericDate(editedValue[\"closing_date\"])\n : \"-\"}\n

\n
\n
\n {\n toggleInputBox(\"closing_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n )}\n
\n\n \n \n \n Debt PV\n \n \n \n Debt Present Value\n \n \n The present value of future cash flows, discounted at\n the lender's buy rate.
\n
This calculation considers term length, payment\n schedule, and any custom term segments to determine the\n current value of the debt for the lender.\n
\n \n }\n >\n \n \n
\n\n

\n {opportunity?.attributes?.debt_present_value > 0\n ? formatCurrency(opportunity?.attributes?.debt_present_value)\n : \"-\"}\n

\n
\n
\n\n
\n
\n\n \n \n \n \n Lender fee\n \n \n

{\"-\"}

\n
\n\n \n \n \n Origination fee from lender\n \n \n

\n {formatCurrency(computeTransactions.origination_fee_lender) ||\n \"-\"}\n

\n
\n\n \n \n \n Total Finance Charge\n \n \n

\n {opportunity\n ? opportunity?.attributes?.total_finance_charge > 0\n ? formatCurrency(\n opportunity?.attributes?.total_finance_charge\n )\n : \"-\"\n : \"-\"}\n

\n
\n\n \n \n \n Net Debt PV\n \n \n

{formatCurrency(computeTransactions.net_debt_pv) || \"-\"}

\n
\n\n \n \n \n Debt PV Base Payment\n \n \n

\n {formatCurrency(computeTransactions.debt_pv_base_payment) ||\n \"-\"}\n

\n
\n \n\n
\n\n \n \n \n \n First payment date\n \n \n {isEditingValue[\"first_payment_date\"] ? (\n {\n handleDateChange(value, \"first_payment_date\");\n }}\n selected={validDate(\n editedValue[\"first_payment_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.first_payment_date\n ? formatNumericDate(\n new Date(\n opportunity.attributes.first_payment_date\n )\n )\n : editedValue[\"first_payment_date\"]\n ? formatNumericDate(editedValue[\"first_payment_date\"])\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"first_payment_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n\n \n \n \n Last payment date\n \n \n {isEditingValue[\"last_payment_date\"] ? (\n {\n handleDateChange(value, \"last_payment_date\");\n }}\n selected={validDate(\n editedValue[\"last_payment_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.last_payment_date\n ? formatNumericDate(\n new Date(opportunity.attributes.last_payment_date)\n )\n : editedValue[\"last_payment_date\"]\n ? formatNumericDate(editedValue[\"last_payment_date\"])\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"last_payment_date\");\n }}\n variant=\"plain\"\n >\n \n \n
\n
\n
\n )}\n
\n\n \n \n \n Next payment date\n \n \n {isEditingValue[\"next_payment_date\"] ? (\n {\n handleDateChange(value, \"next_payment_date\");\n }}\n selected={validDate(\n editedValue[\"next_payment_date\"] || new Date()\n )}\n customInput={\n \n }\n />\n ) : (\n \n \n
\n

\n {opportunity.attributes.next_payment_date\n ? formatNumericDate(\n new Date(opportunity.attributes.next_payment_date)\n )\n : editedValue[\"next_payment_date\"]\n ? formatNumericDate(editedValue[\"next_payment_date\"])\n : \"-\"}\n

\n
\n
\n \n
\n {\n toggleInputBox(\"next_payment_date\");\n }}\n variant=\"plain\"\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 FORT Transaction expense\n \n \n

\n {opportunity?.attributes?.total_transaction_expense > 0\n ? formatCurrency(\n opportunity?.attributes?.total_transaction_expense\n )\n : \"-\"}\n

\n
\n\n \n \n \n DOC Fee to Lender\n \n \n

{formatCurrency(computeTransactions.doc_fee_lender) || \"-\"}

\n
\n\n \n \n \n Other fee to lender\n \n \n

\n {formatCurrency(computeTransactions.other_fee_lender) || \"-\"}\n

\n
\n\n \n \n \n Total deal fees\n \n \n

\n {opportunity?.attributes?.total_fees > 0\n ? formatCurrency(opportunity?.attributes?.total_fees)\n : \"-\"}\n

\n
\n \n\n
\n
\n\n \n \n \n \n Progress payment interim rent\n \n \n

\n {formatCurrency(\n computeTransactions.progress_payment_interim_rent\n ) || \"-\"}\n

\n
\n\n \n \n \n Progress payment interest\n \n \n

\n {formatCurrency(\n computeTransactions.progress_payment_interest_cost\n ) || \"-\"}\n

\n
\n \n
\n\n \n\n \n \n \n Summary Economics\n \n \n \n \n \n \n Amount due to FORT\n \n \n

\n {opportunity?.attributes?.debt_present_value\n ? formatCurrency(\n opportunity?.attributes?.debt_present_value -\n computeTransactions.total_paid_to_vendor\n )\n : \"-\"}\n

\n
\n\n \n \n \n Gross yield\n \n \n

{formatCurrency(grossYield) || \"-\"}

\n
\n\n \n \n \n Vendor referral fee\n \n \n

{formatCurrency(computeTransactions.vendor_points) || \"-\"}

\n
\n\n \n \n \n Commission eligible yield\n \n \n

\n {formatCurrency(\n grossYield - computeTransactions.vendor_points\n ) || \"-\"}\n

\n
\n\n \n \n Pro rata\n \n

\n {opportunity.attributes.commencement_date &&\n opportunity.attributes.acceptance_date &&\n (opportunity.attributes.pro_rata || editedValue[\"pro_rata\"])\n ? formatCurrency(proRata())\n : \"-\"}\n

\n
\n\n \n \n \n Subsidy\n \n \n

{formatCurrency(computeTransactions.subsidy) || \"-\"}

\n
\n \n\n
\n
\n\n \n \n \n \n Total gross yield\n \n \n

{formatCurrency(totalGrossYield()) || \"-\"}

\n
\n\n \n \n \n Gross yield %\n \n \n\n

\n {computeTransactions.total_paid_to_vendor > 0\n ? Math.round(\n (grossYield / computeTransactions.total_paid_to_vendor) *\n 100 *\n 100\n ) / 100 || \"-\"\n : \"--\"}\n %\n

\n
\n\n \n \n \n Associate Referral Fee\n \n \n

\n {formatCurrency(computeTransactions.associate_referral_fee) ||\n \"-\"}\n

\n
\n\n \n \n \n Referral %\n \n \n

\n {grossYield > 0\n ? Math.round(\n (computeTransactions.associate_referral_fee /\n grossYield) *\n 100 *\n 100\n ) / 100 || \"-\"\n : \"--\"}\n %\n

\n
\n \n\n
\n
\n\n \n \n \n \n Net yield after fees\n \n \n

\n {formatCurrency(\n grossYield - computeTransactions.associate_referral_fee\n ) || \"-\"}\n

\n
\n\n \n \n \n Net yield after fees (%)\n \n \n

\n {computeTransactions.total_paid_to_vendor > 0\n ? Math.round(\n (((grossYield -\n computeTransactions.associate_referral_fee) /\n computeTransactions.total_paid_to_vendor) *\n 100 *\n 100) /\n 100\n ) || \"-\"\n : \"--\"}\n %\n

\n
\n \n\n
\n
\n\n \n \n \n \n Days between Invoice Date and Invoice Received Date\n \n \n

\n {computeTransactions.days_between_invoice_date_and_created_date}\n

\n
\n\n \n \n \n Time from Invoice Received to Invoice Paid\n \n \n

{computeTransactions.seconds_from_created_at_to_paid_date}

\n
\n\n \n \n \n (+/-) Days between Invoice Due Date and Invoice Paid\n \n \n

\n {\n computeTransactions.days_between_invoice_due_date_and_invoice_paid\n }\n

\n
\n \n
\n
\n \n );\n\n return reviewLayout;\n};\nOpportunitiesReviewForm.propTypes = {\n computeTransactions: PropTypes.object,\n opportunityId: PropTypes.string,\n};\n\nexport default OpportunitiesReviewForm;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport {\n Button,\n Text,\n LegacyStack,\n ResourceItem,\n ResourceList,\n EmptyState,\n Modal,\n Thumbnail,\n BlockStack,\n Toast,\n Truncate,\n Icon,\n InlineStack,\n} from \"@shopify/polaris\";\nimport { NoteIcon, AlertTriangleIcon } from \"@shopify/polaris-icons\";\nimport {\n useGetVendorPaymentsQuery,\n useDeleteVendorPaymentMutation,\n} from \"../../services/api\";\nimport { formatCurrency } from \"../../utilities\";\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nconst FinalInvoiceList = (props) => {\n const history = useHistory();\n\n const { opportunity, opportunityId, accountId } = props;\n const resourceName = {\n singular: \"invoice\",\n plural: \"invoices\",\n };\n\n const { data: vendorPayments = [], isLoading: isLoadingVendorPayments } =\n useGetVendorPaymentsQuery({ opportunityId, finalInvoice: true });\n\n const [deleteVendorPayment, { isLoading: isDeletingVendorPayment }] =\n useDeleteVendorPaymentMutation();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const [randomNumber, setRandomNumber] = useState(12);\n\n useEffect(() => {\n if (vendorPayments.length) {\n setFilteredItems(vendorPayments);\n }\n }, [vendorPayments, isLoadingVendorPayments]);\n\n const handleNewVendorPayment = () => {\n history.push({\n pathname: `/opportunities/${opportunityId}/final_invoice/new`,\n state: { opportunity: opportunity, finalInvoice: true },\n });\n };\n\n const handleEditVendorPayment = (vendorPaymentId) => {\n history.push({\n pathname: `/opportunities/${opportunityId}/final_invoice/${vendorPaymentId}`,\n state: { opportunity: opportunity, finalInvoice: true },\n });\n };\n\n const handleDeleteVendorPayments = () => {\n selectedItems.forEach((vendorPaymentId, index) => {\n return deleteVendorPayment({ id: vendorPaymentId, opportunityId })\n .unwrap()\n .then((response) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Vendor quote/invoice deleted.\");\n setFilteredItems([]);\n setSelectedItems([]);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n });\n };\n\n const [\n showDeleteVendorPaymentConfirmationModal,\n setShowDeleteVendorPaymentConfirmationModal,\n ] = useState(false);\n const handleShowDeleteVendorPaymentConfirmationModal = () => {\n setShowDeleteVendorPaymentConfirmationModal(true);\n };\n const handleCloseModal = () => {\n setShowDeleteVendorPaymentConfirmationModal(false);\n };\n const deleteVendorPaymentConfirmationModal = (\n 1\n ? \"vendor quotes/invoices\"\n : \"vendor quote/invoice\"\n }`}\n primaryAction={{\n content: \"Delete\",\n onAction: handleDeleteVendorPayments,\n destructive: true,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n \n Are you sure?\n \n

\n Deleting the vendor quote/invoice will delete the existing finance\n options and rebuild new finance options from the new finance amount.\n

\n
\n
\n \n );\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const promotedBulkActions = [\n {\n content: `Delete ${\n selectedItems.length == 1\n ? resourceName[\"singular\"]\n : resourceName[\"plural\"]\n }`,\n onAction: handleShowDeleteVendorPaymentConfirmationModal,\n },\n ];\n\n const renderItem = (item, index) => {\n const {\n id,\n attributes: {\n name,\n product_description,\n total_amount,\n invoice_number,\n vendor_name,\n confirmed_at,\n },\n } = item;\n const thumbnail = (\n \n );\n\n const handleVendorPaymentClick = (vendorPaymentId) => {\n handleEditVendorPayment(vendorPaymentId);\n };\n\n return (\n \n \n \n \n \n

\n \n \n {vendor_name} - {invoice_number}\n \n \n

\n\n {!confirmed_at && (\n \n \n \n Unconfirmed\n \n \n )}\n
\n\n \n \n {product_description}\n \n \n
\n
\n

{formatCurrency(total_amount)}

\n
\n \n );\n };\n\n const emptyStateMarkup = !filteredItems.length ? (\n \n

Schedule payments will be created according to the invoice due date

\n \n ) : undefined;\n\n const vendorPaymentsResourceList = (\n {\n return renderItem(item, id, index);\n }}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n selectable={true}\n promotedBulkActions={promotedBulkActions}\n alternateTool={\n \n }\n emptyState={emptyStateMarkup}\n />\n );\n\n return (\n <>\n {vendorPaymentsResourceList}\n {deleteVendorPaymentConfirmationModal}\n {toastMarkup}\n \n );\n};\n\nFinalInvoiceList.propTypes = {\n accountId: PropTypes.string,\n opportunity: PropTypes.object,\n opportunityId: PropTypes.string,\n};\n\nexport default FinalInvoiceList;\n","import React, {\n useState,\n useEffect,\n useCallback,\n useContext,\n useRef,\n} from \"react\";\n\nimport { useParams, useHistory, useLocation } from \"react-router-dom\";\n\nimport {\n useField,\n useForm,\n notEmpty,\n asChoiceField,\n} from \"@shopify/react-form\";\n\nimport {\n Modal,\n FormLayout,\n RadioButton,\n Select,\n TextField,\n Banner,\n Icon,\n InlineStack,\n Button,\n} from \"@shopify/polaris\";\n\nimport {\n CheckIcon,\n CalendarIcon,\n EditIcon,\n XIcon,\n} from \"@shopify/polaris-icons\";\n\nimport { useCreateOpportunityTransactionMutation } from \"../../../services/api\";\n\nimport {\n formatNumericDate,\n convertServerDate,\n isDateNotPast,\n} from \"../../../utilities\";\n\nimport DatePickerPopUp from \"../../../components/DatePickerPopUp\";\n\nconst NewTransactionModal = (props) => {\n const {\n opportunityId,\n showNewTransactionModal,\n toggleNewTransactionModal,\n setToastMessage,\n setShowToast,\n isVendorAdmin,\n isOrganizationAdmin,\n } = props;\n\n const [createTransaction, { isLoading: isCreatingTransaction }] =\n useCreateOpportunityTransactionMutation();\n\n const payableDetailOptions = [\n {\n label: \"Vendor Payout - Net terms installment payment\",\n value: \"Vendor Payout - Net terms installment payment\",\n },\n {\n label: \"Vendor Payout - Down Payment\",\n value: \"Vendor Payout - Down Payment\",\n },\n {\n label: \"Vendor Payout - Early Commencement\",\n value: \"Vendor Payout - Early Commencement\",\n },\n {\n label: \"Vendor Payout - Full\",\n value: \"Vendor Payout - Full\",\n },\n {\n label: \"Vendor Payout - Progress Payment\",\n value: \"Vendor Payout - Progress Payment\",\n },\n {\n label: \"Vendor Payout - Processing Fee\",\n value: \"Vendor Payout - Processing Fee\",\n },\n {\n label: \"Expense - Progress Payment Interest Cost\",\n value: \"Expense - Progress Payment Interest Cost\",\n },\n {\n label: \"Expense - UCC filing\",\n value: \"Expense - UCC filing\",\n },\n {\n label: \"Expense - On-site inspection\",\n value: \"Expense - On-site inspection\",\n },\n {\n label: \"Expense - Lien search\",\n value: \"Expense - Lien search\",\n },\n {\n label: \"Expense - Lender doc fee\",\n value: \"Expense - Lender doc fee\",\n },\n {\n label: \"Expense - Transaction expense\",\n value: \"Expense - Transaction expense\",\n },\n {\n label: \"Fee - Vendor Referral\",\n value: \"Fee - Vendor Referral\",\n },\n {\n label: \"Fee - Associate Referral\",\n value: \"Fee - Associate Referral\",\n },\n {\n label: \"Fee - Commission or Referral\",\n value: \"Fee - Commission or Referral\",\n },\n {\n label: \"Fee - LoC interest\",\n value: \"Fee - LoC interest\",\n },\n {\n label: \"Fee - Other\",\n value: \"Fee - Other\",\n },\n {\n label: \"Fee - Other fee to Lender\",\n value: \"Fee - Other fee to Lender\",\n },\n ];\n\n const vendorAdminPayableDetailOptions = [\n {\n label: \"Vendor Payout - Net terms installment payment\",\n value: \"Vendor Payout - Net terms installment payment\",\n },\n {\n label: \"Vendor Payout - Down Payment\",\n value: \"Vendor Payout - Down Payment\",\n },\n ];\n\n const receivableDetailOptions = [\n {\n label: \"Customer Charge - Net terms installment payment\",\n value: \"Customer Charge - Net terms installment payment\",\n },\n {\n label: \"Customer Charge - Base Payment\",\n value: \"Customer Charge - Base Payment\",\n },\n {\n label: \"Customer Charge - Advance Payment\",\n value: \"Customer Charge - Advance Payment\",\n },\n {\n label: \"Customer Charge - Pro Rata\",\n value: \"Customer Charge - Pro Rata\",\n },\n {\n label: \"Lender Charge - Bank Fund Out\",\n value: \"Lender Charge - Bank Fund Out\",\n },\n {\n label: \"Customer Charge - Customer Charge\",\n value: \"Customer Charge - Customer Charge\",\n },\n {\n label: \"Customer Charge - Commitment Deposit\",\n value: \"Customer Charge - Commitment Deposit\",\n },\n {\n label: \"Customer Charge - Progress Payment\",\n value: \"Customer Charge - Progress Payment\",\n },\n {\n label: \"Vendor Charge - Subsidy\",\n value: \"Vendor Charge - Subsidy\",\n },\n {\n label: \"Fee - Origination Fee from Customer\",\n value: \"Fee - Origination Fee from Customer\",\n },\n {\n label: \"Fee - Origination Fee from Lender\",\n value: \"Fee - Origination Fee from Lender\",\n },\n {\n label: \"Fee - Doc fee\",\n value: \"Fee - Doc fee\",\n },\n {\n label: \"Fee - Late fee\",\n value: \"Fee - Late fee\",\n },\n {\n label: \"Fee - NSF\",\n value: \"Fee - NSF\",\n },\n {\n label: \"Fee - Other\",\n value: \"Fee - Other\",\n },\n ];\n\n const {\n fields,\n submit: submitNewTransaction,\n submitting,\n reset: resetNewTransactionForm,\n submitErrors,\n makeClean,\n dirty: newTransactionFormDirty,\n } = useForm({\n fields: {\n amount: useField({\n value: \"\",\n validates: [notEmpty(\"Transaction amount is required\")],\n }),\n detail: useField({\n value: \"\",\n validates: [notEmpty(\"Transaction detail is required\")],\n }),\n transaction_type: useField({\n value: \"payable\",\n validates: [notEmpty(\"Transaction type is required\")],\n }),\n scheduled_date: useField({\n value: \"\",\n validates: (value) => {\n if (!isOrganizationAdmin && value && !isDateNotPast(value)) {\n return \"Scheduled date cannot be in the past\";\n }\n },\n }),\n status: useField({\n value: \"scheduled\",\n validates: [],\n }),\n },\n async onSubmit(form) {\n return createTransaction({\n opportunityId: opportunityId,\n ...form,\n })\n .unwrap()\n .then(() => {\n if (setToastMessage) setToastMessage(\"Transaction added.\");\n if (setShowToast) setShowToast(true);\n\n toggleNewTransactionModal();\n resetNewTransactionForm();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return { status: \"fail\", errors: [error] };\n });\n },\n });\n\n const errorBanner = submitErrors.length > 0 && (\n \n \n

There were some issues with this transaction:

\n
    \n {submitErrors.map(({ data }, index) => {\n if (data?.financing_option == \"must exist\") {\n return (\n
  • \n Accepted purchase option is required.\n
  • \n );\n } else {\n return (\n
  • \n A system error prevented the transaction from saving.\n
  • \n );\n }\n })}\n
\n
\n
\n );\n\n const editTransactionModal = (\n \n {errorBanner}\n\n {isOrganizationAdmin && (\n \n \n \n \n\n \n \n \n \n )}\n\n \n \n {fields.transaction_type.value == \"payable\" && (\n \n )}\n\n {fields.transaction_type.value == \"receivable\" && (\n \n )}\n\n
\n \n
\n\n
\n {\n fields.scheduled_date.value = rubyStringDate;\n }}\n />\n
\n
\n
\n \n );\n\n return editTransactionModal;\n};\n\nexport default NewTransactionModal;\n","import React, { useState, useEffect } from \"react\";\n\nimport {\n useField,\n useForm,\n notEmpty,\n asChoiceField,\n} from \"@shopify/react-form\";\n\nimport {\n Modal,\n FormLayout,\n RadioButton,\n Select,\n TextField,\n} from \"@shopify/polaris\";\n\nimport PropTypes from \"prop-types\";\n\nimport { isDateNotPast, convertServerDate } from \"../../../utilities\";\n\nimport { useUpdateOpportunityTransactionMutation } from \"../../../services/api\";\n\nimport DatePickerPopUp from \"../../../components/DatePickerPopUp\";\n\nconst EditTransactionModal = (props) => {\n const {\n transactionId,\n transaction = {},\n opportunityId,\n showEditTransactionModal,\n toggleEditTransactionModal,\n setToastMessage,\n setShowToast,\n isVendorAdmin,\n isOrganizationAdmin,\n } = props;\n\n const [updateTransaction, { isLoading: isUpdatingTransaction }] =\n useUpdateOpportunityTransactionMutation();\n\n const payableDetailOptions = [\n {\n label: \"Vendor Payout - Net terms installment payment\",\n value: \"Vendor Payout - Net terms installment payment\",\n },\n {\n label: \"Vendor Payout - Down Payment\",\n value: \"Vendor Payout - Down Payment\",\n },\n {\n label: \"Vendor Payout - Early Commencement\",\n value: \"Vendor Payout - Early Commencement\",\n },\n {\n label: \"Vendor Payout - Full\",\n value: \"Vendor Payout - Full\",\n },\n {\n label: \"Vendor Payout - Progress Payment\",\n value: \"Vendor Payout - Progress Payment\",\n },\n {\n label: \"Expense - Progress Payment Interest Cost\",\n value: \"Expense - Progress Payment Interest Cost\",\n },\n {\n label: \"Expense - UCC filing\",\n value: \"Expense - UCC filing\",\n },\n {\n label: \"Expense - On-site inspection\",\n value: \"Expense - On-site inspection\",\n },\n {\n label: \"Expense - Lien search\",\n value: \"Expense - Lien search\",\n },\n {\n label: \"Expense - Lender doc fee\",\n value: \"Expense - Lender doc fee\",\n },\n {\n label: \"Expense - Transaction expense\",\n value: \"Expense - Transaction expense\",\n },\n {\n label: \"Fee - Vendor Referral\",\n value: \"Fee - Vendor Referral\",\n },\n {\n label: \"Fee - Associate Referral\",\n value: \"Fee - Associate Referral\",\n },\n {\n label: \"Fee - Commission or Referral\",\n value: \"Fee - Commission or Referral\",\n },\n {\n label: \"Fee - LoC interest\",\n value: \"Fee - LoC interest\",\n },\n {\n label: \"Fee - Other\",\n value: \"Fee - Other\",\n },\n {\n label: \"Fee - Other fee to Lender\",\n value: \"Fee - Other fee to Lender\",\n },\n ];\n\n const scheduledPayableDetails = [\n \"Vendor Payout - Net terms installment payment\".toLowerCase(),\n \"Vendor Payout - Down Payment\".toLowerCase(),\n ];\n\n const vendorAdminPayableDetailOptions = [\n {\n label: \"Vendor Payout - Net terms installment payment\",\n value: \"Vendor Payout - Net terms installment payment\",\n },\n {\n label: \"Vendor Payout - Down Payment\",\n value: \"Vendor Payout - Down Payment\",\n },\n ];\n\n const receivableDetailOptions = [\n {\n label: \"Customer Charge - Net terms installment payment\",\n value: \"Customer Charge - Net terms installment payment\",\n },\n {\n label: \"Customer Charge - Base Payment\",\n value: \"Customer Charge - Base Payment\",\n },\n {\n label: \"Customer Charge - Advance Payment\",\n value: \"Customer Charge - Advance Payment\",\n },\n {\n label: \"Customer Charge - Pro Rata\",\n value: \"Customer Charge - Pro Rata\",\n },\n {\n label: \"Lender Charge - Bank Fund Out\",\n value: \"Lender Charge - Bank Fund Out\",\n },\n {\n label: \"Customer Charge - Customer Charge\",\n value: \"Customer Charge - Customer Charge\",\n },\n {\n label: \"Customer Charge - Commitment Deposit\",\n value: \"Customer Charge - Commitment Deposit\",\n },\n {\n label: \"Customer Charge - Progress Payment\",\n value: \"Customer Charge - Progress Payment\",\n },\n {\n label: \"Vendor Charge - Subsidy\",\n value: \"Vendor Charge - Subsidy\",\n },\n {\n label: \"Fee - Origination Fee from Customer\",\n value: \"Fee - Origination Fee from Customer\",\n },\n {\n label: \"Fee - Origination Fee from Lender\",\n value: \"Fee - Origination Fee from Lender\",\n },\n {\n label: \"Fee - Doc fee\",\n value: \"Fee - Doc fee\",\n },\n {\n label: \"Fee - Late fee\",\n value: \"Fee - Late fee\",\n },\n {\n label: \"Fee - NSF\",\n value: \"Fee - NSF\",\n },\n {\n label: \"Fee - Other\",\n value: \"Fee - Other\",\n },\n ];\n\n const {\n fields,\n submit: submitUpdateTransaction,\n submitting,\n reset: resetEditTransactionForm,\n submitErrors,\n makeClean,\n dirty: editTransactionFormDirty,\n } = useForm({\n fields: {\n amount: useField({\n value: transaction ? transaction.attributes.amount : \"\",\n validates: [notEmpty(\"Transaction amount is required\")],\n }),\n detail: useField({\n value: transaction ? transaction.attributes.detail : \"\",\n validates: [notEmpty(\"Transaction detail is required\")],\n }),\n transaction_type: useField({\n value: transaction ? transaction.attributes.transaction_type : \"\",\n validates: [notEmpty(\"Transaction type is required\")],\n }),\n scheduled_date: useField({\n value: transaction?.attributes.scheduled_date || \"\",\n // set required when details are installment payment or downpayment\n validates: scheduledPayableDetails.includes(\n transaction?.attributes?.detail?.toLowerCase()\n )\n ? [\n notEmpty(\"Scheduled date is required\"),\n (value) => {\n if (!isOrganizationAdmin && value && !isDateNotPast(value)) {\n return \"Scheduled date cannot be in the past\";\n }\n },\n ]\n : [],\n }),\n completed_at: useField({\n value: transaction\n ? transaction.attributes.completed_at\n ? new Date(\n convertServerDate(transaction.attributes.completed_at)\n ).toLocaleDateString(\"en-CA\")\n : \"\"\n : \"\",\n validates: [],\n }),\n },\n async onSubmit(form) {\n return updateTransaction({\n opportunityId: opportunityId,\n id: transactionId,\n ...form,\n })\n .unwrap()\n .then(() => {\n if (showEditTransactionModal) toggleEditTransactionModal();\n setShowConfirmModal(false);\n\n resetEditTransactionForm();\n\n setToastMessage(\"Transaction updated\");\n setShowToast(true);\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n const [showConfirmModal, setShowConfirmModal] = useState(false);\n const toggleShowConfirmModal = () => {\n setShowConfirmModal(!showConfirmModal);\n };\n\n const handleCloseModal = (modalToClose = \"edit\") => {\n if (modalToClose == \"edit\") {\n resetEditTransactionForm();\n }\n toggleEditTransactionModal();\n setShowConfirmModal(false);\n };\n\n const confirmModal = (\n handleCloseModal(\"confirm\")}\n title=\"Confirm schedule transaction\"\n primaryAction={{\n content: \"Confirm\",\n loading: isUpdatingTransaction,\n onAction: () => {\n submitUpdateTransaction();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => handleCloseModal(\"confirm\"),\n },\n ]}\n >\n \n

\n {`Are you sure? Scheduling this transaction will notify the ${\n transaction?.attributes?.detail?.includes(\"Lender\")\n ? \"\"\n : \"customer and\"\n } vendor admin of the transaction schedule date.`}\n

\n
\n \n );\n\n const submitOrShowConfirmModal = () => {\n if (\n editTransactionFormDirty &&\n transaction.attributes.status == \"pending\" &&\n fields.scheduled_date &&\n (transaction.attributes.detail == \"Vendor Payout - Down Payment\" ||\n transaction.attributes.detail ==\n \"Vendor Payout - Net terms installment payment\")\n ) {\n // Show confirm modal first if transitioning from pending to scheduled\n toggleEditTransactionModal();\n toggleShowConfirmModal();\n } else {\n submitUpdateTransaction();\n }\n };\n\n const editModal = showEditTransactionModal && (\n handleCloseModal(\"edit\")}\n title={\"Edit transaction\"}\n primaryAction={{\n content: \"Edit transaction\",\n onAction: submitOrShowConfirmModal,\n disabled:\n !editTransactionFormDirty || transaction\n ? transaction.attributes.status === \"completed\"\n : false,\n loading: submitting,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => handleCloseModal(\"edit\"),\n },\n ]}\n >\n {!isVendorAdmin && (\n \n \n \n \n\n \n \n \n \n )}\n\n \n \n {fields.transaction_type.value == \"payable\" && (\n \n )}\n\n {fields.transaction_type.value == \"receivable\" && (\n \n )}\n\n
\n \n
\n\n
\n {\n fields.scheduled_date.onChange(rubyStringDate);\n }}\n initialDate={fields.scheduled_date}\n disabled={\n transaction\n ? transaction.attributes.status === \"completed\"\n : false\n }\n />\n
\n\n
\n {\n fields.completed_at.onChange(rubyStringDate);\n }}\n initialDate={fields.completed_at}\n disabled={\n transaction\n ? transaction.attributes.status === \"completed\"\n : false\n }\n />\n
\n
\n
\n \n );\n\n return (\n <>\n {editModal}\n {confirmModal}\n \n );\n};\n\nexport default EditTransactionModal;\n\nEditTransactionModal.propTypes = {\n transactionId: PropTypes.string.isRequired,\n transaction: PropTypes.object.isRequired,\n opportunityId: PropTypes.string.isRequired,\n showEditTransactionModal: PropTypes.bool.isRequired,\n toggleEditTransactionModal: PropTypes.func.isRequired,\n setToastMessage: PropTypes.func.isRequired,\n setShowToast: PropTypes.func.isRequired,\n isVendorAdmin: PropTypes.bool.isRequired,\n isOrganizationAdmin: PropTypes.bool.isRequired,\n};\n","import React from \"react\";\n\nimport {\n Text,\n ResourceItem,\n Avatar,\n Icon,\n InlineStack,\n} from \"@shopify/polaris\";\n\nimport PropTypes from \"prop-types\";\nimport { toTitleCase } from \"../../utilities\";\nimport { BankIcon } from \"@shopify/polaris-icons\";\n\nconst PaymentMethodResourceItem = (props) => {\n const { id, card, us_bank_account, resourceItem = true } = props;\n\n if (card) {\n const { brand, last4 } = card;\n const brandNameTitleCase = toTitleCase(brand);\n\n let cardLogo;\n try {\n cardLogo = require(`../../assets/credit_cards/png/32/${brand}.png`);\n } catch (err) {\n cardLogo = require(`../../assets/credit_cards/png/32/credit_card.png`);\n }\n\n const media = (\n \n );\n\n let cardContent = (\n \n {`${brandNameTitleCase} (••••${last4})`}\n \n );\n\n if (resourceItem) {\n return (\n }\n media={media}\n accessibilityLabel={`${brandNameTitleCase} ending ${last4}`}\n >\n {cardContent}\n \n );\n } else {\n return (\n \n {media}\n \n {cardContent}\n \n \n );\n }\n } else if (us_bank_account) {\n const { bank_name, last4 } = us_bank_account;\n const bankNameTitleCase = toTitleCase(bank_name);\n\n const media = (\n \n );\n\n let bankContent = (\n \n {`${bankNameTitleCase} (••••${last4})`}\n \n );\n\n if (resourceItem) {\n return (\n \n {bankContent}\n \n );\n } else {\n return bankContent;\n }\n }\n};\n\nPaymentMethodResourceItem.propTypes = {\n id: PropTypes.string,\n card: PropTypes.object,\n us_bank_account: PropTypes.object,\n resourceItem: PropTypes.bool,\n};\n\nexport default PaymentMethodResourceItem;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Badge } from \"@shopify/polaris\";\nimport { capitalizeFirstLetter } from \"../../utilities\";\n\nconst TransactionBadge = (props) => {\n const { status = \"pending\" } = props;\n\n const formatBadgeStatus = (status) => {\n switch (status) {\n case \"pending\":\n return \"default\";\n case \"scheduled\":\n return \"info\";\n case \"completed\":\n return \"success\";\n case \"failed\":\n return \"critical\";\n default:\n return \"default\";\n }\n };\n\n return (\n (\n {capitalizeFirstLetter(status)}\n )\n );\n};\n\nTransactionBadge.propTypes = {\n status: PropTypes.string.isRequired,\n};\n\nexport default TransactionBadge;\n","import React, { useState, useEffect, useContext } from \"react\";\n\nimport PropTypes from \"prop-types\";\nimport {\n BlockStack,\n DataTable,\n Scrollable,\n Text,\n} from \"@shopify/polaris\";\n\nimport { useMeasure } from \"react-use\";\n\n\nimport TransactionBadge from \"../../../../components/Transaction/TransactionBadge\";\nimport {\n formatCurrency,\n formatNumericDate,\n convertServerDate,\n} from \"../../../../utilities\";\n\nimport { CurrentContactContext } from \"../../../../contexts/Contact\";\n\nconst PaymentScheduleTable = (props) => {\n const { opportunity } = props;\n\n const { isOrganizationAdmin } = useContext(\n CurrentContactContext\n );\n\n const [paymentSchedule, setPaymentSchedule] = useState([]);\n const [ref, { width: componentWidth }] = useMeasure();\n const componentMaxWidthToTruncate = 450;\n\n const sigmoid = (x) => {\n return 1 / (1 + Math.exp(-x));\n };\n\n const widthFactor = sigmoid((componentWidth - 375) / 100);\n\n const widthStyle =\n componentWidth <= componentMaxWidthToTruncate\n ? componentWidth * widthFactor\n : \"100%\";\n\n const hasFullDisplay = componentWidth >= componentMaxWidthToTruncate;\n const hasTypeColumn = componentWidth >= 300;\n\n useEffect(() => {\n if (opportunity) {\n let paymentSched = [...opportunity.attributes.payment_schedule];\n paymentSched.sort(\n (a, b) =>\n new Date(a.date).getTime() -\n new Date(b.date).getTime()\n );\n setPaymentSchedule(paymentSched);\n }\n }, [opportunity]);\n\n const formattedPaymentScheduleRows =\n paymentSchedule.map((payment, index) => {\n return [\n index + 1,\n payment.date\n ? formatNumericDate(convertServerDate(payment.date))\n : \"--\",\n hasTypeColumn ? (\n
\n \n {isOrganizationAdmin ? payment.type : payment.limited_type}\n \n
\n ) : null,\n hasFullDisplay ? (\n \n ) : null,\n formatCurrency(payment.amount),\n ].flat();\n });\n\n return (\n
\n \n \n \n \n \n
\n );\n};\n\nPaymentScheduleTable.propTypes = {\n opportunity: PropTypes.object,\n};\n\nexport default PaymentScheduleTable;\n","import React, { useState, useEffect, useCallback, useRef } from \"react\";\nimport {\n Card,\n DatePicker,\n TextField,\n Button,\n Text,\n BlockStack,\n Box,\n Banner,\n Icon,\n InlineStack,\n Link,\n Popover,\n Modal,\n ButtonGroup,\n} from \"@shopify/polaris\";\nimport {\n CheckIcon,\n CalendarIcon,\n EditIcon,\n AlertCircleIcon,\n XIcon,\n} from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\n\nimport {\n formatNumericDate,\n convertServerDate,\n showPaymentScheduleTypes,\n} from \"../../../utilities\";\nimport {\n useGetFinancingOptionQuery,\n useUpdateOpportunityMutation,\n} from \"../../../services/api\";\nimport { useToast } from \"../../../contexts/Toast\";\nimport PaymentScheduleTable from \"../../FinancingOption/Share/components/PaymentScheduleTable\";\n\nconst InstallmentPaymentScheduleCard = ({\n opportunity,\n opportunityId,\n transactions,\n handleScheduleTransactionPrompt,\n}) => {\n const today = new Date();\n\n const { data: acceptedFinancingOption } = useGetFinancingOptionQuery(\n {\n id: opportunity?.attributes?.accepted_financing_option_id,\n opportunityId: opportunityId,\n },\n {\n skip: !opportunity?.attributes?.accepted_financing_option_id,\n }\n );\n\n const [updateOpportunity] = useUpdateOpportunityMutation();\n\n const { showToastWithMessage } = useToast();\n\n const [{ month, year }, setDate] = useState({\n month: convertServerDate(\n opportunity?.attributes?.installment_payment_start_date || today\n ).getMonth(),\n year: convertServerDate(\n opportunity?.attributes?.installment_payment_start_date || today\n ).getFullYear(),\n });\n\n const [disabledDates, setDisabledDates] = useState(new Date(today.getFullYear(), today.getMonth(), 28));\n\n const installmentPaymentStartDatePickerRef = useRef(null);\n\n const [\n isEditingInstallmentPaymentStartDate,\n setIsEditingInstallmentPaymentStartDate,\n ] = useState(false);\n\n const [\n installmentPaymentStartDatePickerVisible,\n setInstallmentPaymentStartDatePickerVisible,\n ] = useState(false);\n\n const [installmentPaymentStartDateText, setInstallmentPaymentStartDateText] =\n useState(\"\");\n const [installmentPaymentStartDate, setInstallmentPaymentStartDate] =\n useState({\n start: convertServerDate(\n opportunity?.attributes?.installment_payment_start_date\n ),\n end: convertServerDate(\n opportunity?.attributes?.installment_payment_start_date\n ),\n });\n\n const handleMonthChange = useCallback((month, year) => {\n setDate({ month, year });\n setDisabledDates(new Date(year, month, 28));\n },[]);\n\n const handleInstallmentPaymentDateChange = (range) => {\n let startDateText = formatNumericDate(range.start);\n setInstallmentPaymentStartDateText(startDateText);\n setInstallmentPaymentStartDate(range);\n setInstallmentPaymentStartDatePickerVisible(false);\n };\n\n const handleInstallmentPaymentDateTextChange = useCallback((value) => {\n const parsedDate = Date.parse(value);\n\n if (parsedDate) {\n let date = new Date(parsedDate);\n setInstallmentPaymentStartDate({\n start: date,\n end: date,\n });\n let month = date.getMonth();\n let year = date.getFullYear();\n setDate({ month, year });\n }\n }, []);\n\n const handleSaveInstallmentPaymentDate = useCallback(() => {\n if (!installmentPaymentStartDateText) {\n setIsEditingInstallmentPaymentStartDate(false);\n return;\n }\n updateOpportunityInstallmentPayment(installmentPaymentStartDate.start);\n }, [\n installmentPaymentStartDate.start,\n installmentPaymentStartDateText,\n updateOpportunityInstallmentPayment,\n ]);\n\n const handleInstallmentPaymentDateTextFieldBlur = useCallback(() => {\n setInstallmentPaymentStartDateText(\n formatNumericDate(installmentPaymentStartDateText)\n );\n handleInstallmentPaymentDateTextChange(installmentPaymentStartDateText);\n }, [handleInstallmentPaymentDateTextChange, installmentPaymentStartDateText]);\n\n const [\n existingInstallmentPaymentStartDate,\n setExistingInstallmentPaymentStartDate,\n ] = useState();\n\n useEffect(() => {\n if (opportunity?.attributes?.installment_payment_start_date) {\n const convertedDate = convertServerDate(\n new Date(opportunity.attributes.installment_payment_start_date)\n );\n setInstallmentPaymentStartDateText(formatNumericDate(convertedDate));\n }\n setExistingInstallmentPaymentStartDate(\n opportunity?.attributes?.installment_payment_start_date\n );\n }, [opportunity?.attributes?.installment_payment_start_date]);\n\n const updateOpportunityInstallmentPayment = useCallback(\n (newValue) => {\n let newInstallmentPaymentDate =\n newValue === null\n ? null\n : new Date(newValue || installmentPaymentStartDateText)\n .toISOString()\n .slice(0, 10); // Convert to ISO string and take only the date part\n\n let existingInstallmentPaymentDate = existingInstallmentPaymentStartDate\n ? new Date(existingInstallmentPaymentStartDate)\n .toISOString()\n .slice(0, 10)\n : null; // Convert existing date to ISO string format\n\n if (newInstallmentPaymentDate !== existingInstallmentPaymentDate) {\n return updateOpportunity({\n id: opportunityId,\n ...{\n installment_payment_start_date:\n newInstallmentPaymentDate === null\n ? null\n : new Date(newInstallmentPaymentDate),\n }, // If clearing, set to null, else convert back to Date\n })\n .unwrap()\n .then(() => {\n setIsEditingInstallmentPaymentStartDate(false);\n showToastWithMessage(\n `Installment payment start date ${\n newInstallmentPaymentDate ? \"updated\" : \"cleared\"\n }`\n );\n\n handleScheduleTransactionPrompt();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n }\n setIsEditingInstallmentPaymentStartDate(false);\n return Promise.resolve({ status: \"success\" });\n },\n [\n existingInstallmentPaymentStartDate,\n handleScheduleTransactionPrompt,\n installmentPaymentStartDateText,\n opportunityId,\n showToastWithMessage,\n updateOpportunity,\n ]\n );\n\n const financingOptionToDisplay =\n showPaymentScheduleTypes.includes(\n acceptedFinancingOption?.attributes?.financing_type\n ) && acceptedFinancingOption;\n\n const [orderedOpportunityTransactions, setOrderedOpportunityTransactions] =\n useState([]);\n useEffect(() => {\n if (transactions.length > 0) {\n let orderedList = [...transactions];\n orderedList.sort(\n (a, b) =>\n new Date(a.attributes.scheduled_date).getTime() -\n new Date(b.attributes.scheduled_date).getTime()\n );\n\n setOrderedOpportunityTransactions(orderedList);\n }\n }, [transactions]);\n\n const [showClearDateModal, setShowClearDateModal] = useState(false);\n const handleClearDateConfirmation = useCallback(() => {\n updateOpportunityInstallmentPayment(null);\n setInstallmentPaymentStartDateText(\"\");\n setInstallmentPaymentStartDate({\n start: null,\n end: null,\n });\n setShowClearDateModal(false);\n }, [updateOpportunityInstallmentPayment]);\n\n const [datePickerSelectedDate, setDatePickerSelectedDate] = useState(null);\n useEffect(() => {\n if (installmentPaymentStartDate.start) {\n setDatePickerSelectedDate(installmentPaymentStartDate.start);\n setDate({\n month: installmentPaymentStartDate.start.getMonth(),\n year: installmentPaymentStartDate.start.getFullYear(),\n });\n } else {\n setDatePickerSelectedDate(null);\n setDate({\n month: new Date().getMonth(),\n year: new Date().getFullYear(),\n });\n }\n }, [installmentPaymentStartDate.start]);\n\n return (\n \n \n \n Installment payment schedule\n \n\n \n \n

\n Upon authorization, transactions are created and scheduled\n according to the selected schedule and installment payment start\n date. Learn more\n

\n
\n
\n\n \n \n \n Authorized\n \n\n \n {opportunity?.attributes?.payments_authorized_at\n ? formatNumericDate(\n new Date(opportunity.attributes.payments_authorized_at)\n )\n : \"--\"}\n \n \n \n\n \n \n \n \n Installment payment start date\n \n\n \n \n \n \n\n {isEditingInstallmentPaymentStartDate ? (\n }\n value={installmentPaymentStartDateText}\n onFocus={() =>\n setInstallmentPaymentStartDatePickerVisible(true)\n }\n onChange={setInstallmentPaymentStartDateText}\n onBlur={handleInstallmentPaymentDateTextFieldBlur}\n autoComplete=\"off\"\n connectedRight={\n \n {opportunity?.attributes\n ?.installment_payment_start_date && (\n setShowClearDateModal(true)}\n accessibilityLabel=\"Clear installment payment start date\"\n />\n )}\n \n \n }\n />\n }\n autofocusTarget=\"none\"\n onClose={() =>\n setInstallmentPaymentStartDatePickerVisible(false)\n }\n preferredAlignment=\"left\"\n preferInputActivator={false}\n preferredPosition=\"below\"\n preventCloseOnChildOverlayClick\n >\n \n \n \n \n ) : (\n \n {opportunity?.attributes?.installment_payment_start_date ? (\n \n {formatNumericDate(\n convertServerDate(\n new Date(\n opportunity.attributes.installment_payment_start_date\n )\n )\n )}\n \n ) : (\n \n --\n \n )}\n\n setIsEditingInstallmentPaymentStartDate(true)}\n accessibilityLabel=\"Edit installment payment start date\"\n />\n \n )}\n \n \n\n \n \n \n Selected schedule from opportunity detail\n \n\n {financingOptionToDisplay && (\n \n )}\n\n {!financingOptionToDisplay && (\n \n \n \n \n \n No schedule selected\n \n \n \n \n Select a purchase option on opportunity detail to see\n schedule here\n \n \n \n \n \n )}\n \n \n
\n\n {showClearDateModal && (\n setShowClearDateModal(false)}\n title=\"Clear installment payment start date\"\n primaryAction={{\n content: \"Clear\",\n onAction: handleClearDateConfirmation,\n destructive: true,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowClearDateModal(false),\n },\n ]}\n >\n \n \n This will clear the installment payment start date. Scheduling\n installment payment transactions requires a start date.\n \n \n \n )}\n
\n );\n};\n\nInstallmentPaymentScheduleCard.propTypes = {\n opportunity: PropTypes.object,\n opportunityId: PropTypes.string,\n transactions: PropTypes.array,\n handleScheduleTransactionPrompt: PropTypes.func,\n};\n\nexport default InstallmentPaymentScheduleCard;\n","import React, { useState, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Icon,\n Tooltip,\n Box,\n InlineStack,\n Badge,\n // ButtonGroup,\n Button,\n Popover,\n ActionList,\n} from \"@shopify/polaris\";\nimport {\n ExternalIcon,\n ConnectIcon,\n MenuHorizontalIcon,\n} from \"@shopify/polaris-icons\";\n\nimport PaymentMethodResourceItem from \"../Stripe/PaymentMethodResourceItem\";\n\nconst PaymentMethodCard = (props) => {\n const {\n validatePurchaseMethod,\n stripeSetupIntent,\n opportunity,\n paymentMethod,\n allPaymentMethodsLength,\n index,\n } = props;\n\n const [active, setActive] = useState(false);\n\n const toggleActive = useCallback(() => setActive((active) => !active), []);\n\n const activator = (\n \n );\n\n return (\n \n \n \n \n\n {paymentMethod?.destination == \"connected\" && (\n \n \n \n )}\n\n {stripeSetupIntent?.attributes?.status ===\n \"valid_payment\" && Valid}\n {stripeSetupIntent?.attributes?.status ===\n \"failed_payment\" && (\n Failed\n )}\n {stripeSetupIntent?.attributes?.status === \"pending\" && (\n Pending\n )}\n \n\n {opportunity?.attributes?.stripe_customer_link && (\n \n ,\n external: true,\n target: \"_blank\",\n url: opportunity?.attributes?.stripe_customer_link,\n },\n {\n content: 'Validate',\n onAction: validatePurchaseMethod,\n disabled: (\n stripeSetupIntent?.attributes?.valid &&\n stripeSetupIntent?.attributes?.status === \"valid_payment\"\n )\n },\n ]}\n />\n \n )}\n \n \n );\n\n};\n\n\nPaymentMethodCard.propTypes = {\n opportunity: PropTypes.object,\n paymentMethod: PropTypes.object,\n index: PropTypes.number,\n validatePurchaseMethod: PropTypes.func,\n stripeSetupIntent: PropTypes.object,\n allPaymentMethodsLength: PropTypes.number,\n};\n\nexport default PaymentMethodCard;\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nimport {\n Card,\n Button,\n LegacyStack,\n Icon,\n ResourceItem,\n Truncate,\n ResourceList,\n EmptyState,\n Modal,\n TextField,\n Text,\n Toast,\n FormLayout,\n Tooltip,\n Thumbnail,\n Spinner,\n Box,\n Layout,\n InlineStack,\n Badge,\n Popover,\n ActionList,\n Banner,\n Link,\n BlockStack,\n DataTable,\n} from \"@shopify/polaris\";\nimport {\n LinkIcon,\n NoteIcon,\n DragHandleIcon,\n XSmallIcon,\n MenuHorizontalIcon,\n ConnectIcon,\n} from \"@shopify/polaris-icons\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\n\nimport {\n useGetOpportunityQuery,\n useGetOpportunityAttachmentsQuery,\n useGetOpportunityCreditSubmissionsQuery,\n useGetOpportunityTransactionsQuery,\n useCreateOpportunityTransactionMutation,\n useUpdateOpportunityTransactionsMutation,\n useValidateStripeCustomerReferenceMutation,\n useDeleteOpportunityTransactionsMutation,\n useGetFinancingOptionsQuery,\n useGetStripeListPaymentMethodsQuery,\n useGetStripeListAllPaymentMethodsQuery,\n useGetStripeSetupIntentQuery,\n useGetVendorPaymentsQuery,\n baseQuery,\n useScheduleOpportunityTransactionsMutation,\n} from \"../../services/api\";\n\nimport {\n formatCurrency,\n formatNumericDate,\n convertServerDate,\n} from \"../../utilities\";\n\nimport { calculatePaymentAndDiscount } from \"../../finance\";\n\nimport OpportunitiesReviewForm from \"./ReviewForm\";\nimport FinalInvoiceList from \"../../components/VendorPayment/FinalInvoiceList\";\nimport NewTransactionModal from \"./PaymentsAndReview/NewTransactionModal\";\nimport EditTransactionModal from \"./PaymentsAndReview/EditTransactionModal\";\nimport CardBoxTitle from \"../../components/Card/BoxTitle\";\nimport PaymentMethodResourceItem from \"../../components/Stripe/PaymentMethodResourceItem\";\n\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\nimport pluralize from \"../../pluralizeConfig\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nimport TransactionBadge from \"../../components/Transaction/TransactionBadge\";\nimport InstallmentPaymentScheduleCard from \"./PaymentsAndReview/InstallmentPaymentScheduleCard\";\nimport PaymentMethodCard from \"../../components/Opportunity/PaymentMethodCard\";\n\nconst OpportunitiesPaymentsAndReview = () => {\n const { id: opportunityId, clientId } = useParams();\n\n const queryStrings = () => {\n return new URLSearchParams(location.search);\n };\n const transactionIdState = queryStrings().get(\"transaction_id\");\n\n const { isOrganizationAdmin, isVendorAdmin } = useContext(\n CurrentContactContext\n );\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(false);\n\n // const [updateOpportunity] = useUpdateOpportunityMutation();\n\n const {\n data: opportunity,\n isLoading: isLoadingOpportunity,\n error: opportunityError,\n } = useGetOpportunityQuery(opportunityId);\n\n const [designatedSignerId, setDesignatedSignerId] = useState();\n const [stripeVendorId, setStripeVendorId] = useState(null);\n\n const {\n data: stripeSetupIntent,\n isLoading: isLoadingStripeSetupIntent,\n error: stripeSetupIntentError,\n } = useGetStripeSetupIntentQuery(\n {\n contactId: designatedSignerId,\n vendorId: stripeVendorId,\n opportunityId: opportunityId,\n },\n {\n skip: !stripeVendorId || !designatedSignerId || !opportunityId,\n }\n );\n\n useEffect(() => {\n if (opportunity.attributes.designated_signer_id)\n setDesignatedSignerId(opportunity.attributes.designated_signer_id);\n }, [opportunity]);\n\n const { data: vendorPayments = [], isLoading: isLoadingVendorPayments } =\n useGetVendorPaymentsQuery(\n {\n opportunityId: opportunityId,\n finalInvoice: opportunity?.attributes?.final_invoice_ids?.length > 0,\n },\n { skip: !opportunity }\n );\n\n useEffect(() => {\n if (vendorPayments.length > 0) {\n let currentStripeVendorId = undefined;\n\n // First check if there is a final invoice\n for (let i = 0; i < vendorPayments.length; i++) {\n if (\n opportunity?.attributes?.final_invoice_ids?.includes(\n vendorPayments[i].id\n )\n ) {\n currentStripeVendorId = vendorPayments[i].attributes.vendor_id;\n break;\n } else {\n if (vendorPayments[i].attributes.vendor_stripe_connected_account_id) {\n currentStripeVendorId = vendorPayments[i].attributes.vendor_id;\n }\n }\n }\n\n if (!currentStripeVendorId) {\n // If no stripe ID exists at all, set to zero and let it error\n currentStripeVendorId = vendorPayments[0].attributes.vendor_id;\n }\n\n setStripeVendorId(currentStripeVendorId);\n }\n }, [opportunity?.attributes?.final_invoice_ids, vendorPayments]);\n\n const {\n data: paymentMethods = [],\n isLoading: isLoadingPaymentMethods,\n isFetching: isFetchingPaymentMethods,\n } = useGetStripeListPaymentMethodsQuery(\n {\n contactId: designatedSignerId,\n vendorId: stripeVendorId,\n },\n { skip: !designatedSignerId || !stripeVendorId }\n );\n\n const {\n data: allPaymentMethods = [],\n isLoading: isLoadingAllPaymentMethods,\n isFetching: isFetchingAllPaymentMethods,\n } = useGetStripeListAllPaymentMethodsQuery(\n {\n contactId: designatedSignerId,\n },\n { skip: !designatedSignerId }\n );\n\n const [\n validateStripeCustomerReference,\n { isLoading: isValidatingStripeCustomerReference },\n ] = useValidateStripeCustomerReferenceMutation();\n\n const { data: financingOptions = [], isLoading: isLoadingFinancingOptions } =\n useGetFinancingOptionsQuery(opportunityId);\n\n const [selectedFinancingOption, setSelectedFinancingOption] = useState(null);\n\n useEffect(() => {\n if (financingOptions) {\n for (let i = 0; i < financingOptions.length; i++) {\n if (\n financingOptions[i].attributes.approved &&\n financingOptions[i].attributes.selected\n ) {\n setSelectedFinancingOption(financingOptions[i]);\n break;\n }\n }\n }\n }, [financingOptions]);\n\n const { data: creditSubmissions, isLoading: isLoadingCreditSubmissions } =\n useGetOpportunityCreditSubmissionsQuery(opportunityId);\n\n const [selectedCreditSubmission, setSelectedCreditSubmission] =\n useState(null);\n\n useEffect(() => {\n if (creditSubmissions) {\n for (let i = 0; i < creditSubmissions.length; i++) {\n if (creditSubmissions[i].attributes.selected_at) {\n setSelectedCreditSubmission(creditSubmissions[i]);\n break;\n }\n }\n }\n }, [creditSubmissions]);\n\n const {\n data: opportunityAttachments = [],\n isLoading: isLoadingopportunityAttachments = false,\n } = useGetOpportunityAttachmentsQuery(\n { opportunityId: opportunityId, isPublic: false },\n { skip: !opportunityId }\n );\n\n const {\n data: documents,\n isLoading: isDocumentsLoading = false,\n refetch: refetchDocuments,\n } = useGetOpportunityAttachmentsQuery(\n { opportunityId: opportunityId, isPublic: false },\n { skip: !opportunityId }\n );\n\n const {\n data: transactions = [],\n isLoading: isLoadingTransactions = false,\n refetch: refetchTransactions,\n } = useGetOpportunityTransactionsQuery(opportunityId, {\n skip: !opportunityId,\n });\n\n const [createTransaction, { isLoading: isCreatingTransaction }] =\n useCreateOpportunityTransactionMutation();\n\n const [updateTransactions, { isLoading: isUpdatingTransactions }] =\n useUpdateOpportunityTransactionsMutation();\n\n const [deleteTransactions, { isLoading: isDeletingTransactions }] =\n useDeleteOpportunityTransactionsMutation();\n\n useEffect(() => {\n if (transactionIdState && transactions.length > 0) {\n for (let i = 0; i < transactions.length; i++) {\n if (\n transactions[i].attributes.installment_payment_id ==\n transactionIdState ||\n transactions[i].id == transactionIdState\n ) {\n setCurrentTransactionId(transactions[i].id);\n setCurrentTransaction(transactions[i]);\n toggleEditTransactionModal();\n break;\n }\n }\n }\n }, [transactionIdState, transactions]);\n\n const [computeTransactions, setComputeTransactions] = useState({\n base_payments_count: 0,\n base_payments_value: 0,\n origination_fee_customer: 0,\n origination_fee_lender: 0,\n doc_fee_paid: 0,\n debt_present_value: 0,\n transaction_expense: 0,\n doc_fee_lender: 0,\n other_fee_lender: 0,\n total_fees: 0,\n progress_payment_interim_rent: 0,\n progress_payment_interest_cost: 0,\n vendor_points: 0,\n subsidy: 0,\n associate_referral_fee: 0,\n sum_of_remaining_payments: 0,\n vendor_admin_payables: 0,\n net_debt_pv: 0,\n debt_pv_base_payment: 0,\n days_between_invoice_date_and_created_date: \"--\",\n seconds_from_created_at_to_paid_date: \"--\",\n days_between_invoice_due_date_and_invoice_paid: \"--\",\n });\n\n const computeCount = function (transactions, type, detail) {\n let count = 0;\n for (let i = 0; i < transactions.length; i++) {\n if (\n transactions[i].attributes.transaction_type === type &&\n transactions[i].attributes.detail === detail\n ) {\n count++;\n }\n }\n\n return count;\n };\n\n const computeValue = function (transactions, type, detail, status = \"any\") {\n let value = 0;\n for (let i = 0; i < transactions.length; i++) {\n if (\n transactions[i].attributes.transaction_type === type &&\n transactions[i].attributes.detail\n ?.toLowerCase()\n .indexOf(detail.toLowerCase()) >= 0\n ) {\n if (status === \"any\" || transactions[i].attributes.status == status) {\n value = value + transactions[i].attributes.amount;\n }\n }\n }\n\n return value;\n };\n\n const computeOriginationFeeFromLender = useCallback((transactions) => {\n return computeValue(\n transactions,\n \"receivable\",\n \"Fee - Origination Fee from Lender\"\n );\n }, []);\n\n const computeDocFeeToLender = useCallback((transactions) => {\n return computeValue(transactions, \"payable\", \"Expense - Lender doc fee\");\n }, []);\n\n const computeOtherFeeToLender = useCallback((transactions) => {\n return computeValue(transactions, \"payable\", \"Fee - Other fee to Lender\");\n }, []);\n\n const computeProgressPaymentInterimRent = useCallback((transactions) => {\n return computeValue(\n transactions,\n \"receivable\",\n \"Customer Charge - Progress Payment\"\n );\n }, []);\n\n const computeProgressPaymentInterestCost = useCallback((transactions) => {\n return computeValue(\n transactions,\n \"payable\",\n \"Expense - Progress Payment Interest Cost\"\n );\n }, []);\n\n const computeVendorPoints = useCallback((transactions) => {\n return computeValue(transactions, \"payable\", \"Fee - Vendor Referral\");\n }, []);\n\n const computeAssociateReferralFee = useCallback((transactions) => {\n return computeValue(transactions, \"payable\", \"Fee - Associate Referral\");\n }, []);\n\n const computeSumOfAllVendorPayments = useCallback((transactions) => {\n let allVendorPayments = computeValue(\n transactions,\n \"payable\",\n \"Vendor Payout\",\n \"completed\"\n );\n\n return allVendorPayments;\n }, []);\n\n const computeSubsidy = useCallback(\n (transactions) => {\n let totalPaidToVendor = computeSumOfAllVendorPayments(transactions);\n let totalInvoiceAmount = opportunity.attributes.total_finance_amount;\n\n return totalInvoiceAmount - totalPaidToVendor;\n },\n [opportunity]\n );\n\n const computeVendorAdminPayables = useCallback((transactions) => {\n let vendorInstallment = computeValue(\n transactions,\n \"payable\",\n \"Vendor Payout - Net terms installment payment\"\n );\n let vendorDownpayment = computeValue(\n transactions,\n \"payable\",\n \"Vendor Payout - Down Payment\"\n );\n\n return vendorInstallment + vendorDownpayment;\n }, []);\n\n const computeDebtPVBasePayment = useCallback(() => {\n if (!selectedFinancingOption || !selectedCreditSubmission) return 0;\n\n let totalFinanceAmount =\n selectedFinancingOption.attributes.total_finance_amount;\n let lenderBuyRate = selectedCreditSubmission.attributes.buy_rate;\n let sellRate = selectedFinancingOption.attributes.customer_interest_rate;\n let termLength = selectedFinancingOption.attributes.term_length;\n let paymentType = selectedFinancingOption.attributes.payment_type;\n\n let { schedule, sellPayment, discount, buyPresentValue } =\n calculatePaymentAndDiscount(\n totalFinanceAmount,\n lenderBuyRate,\n //sellRate,\n lenderBuyRate,\n parseInt(termLength),\n paymentType,\n []\n );\n\n return sellPayment;\n }, [selectedCreditSubmission, selectedFinancingOption]);\n\n useEffect(() => {\n if (transactions.length > 0 && opportunity) {\n // let basePayment = computeBasePaymentsCount(transactions);\n let docFeeToLender = computeDocFeeToLender(transactions);\n let otherFeeToLender = computeOtherFeeToLender(transactions);\n // let debt_pv = computeDebtPresentValue(transactions);\n const debt_pv = opportunity.attributes?.debt_present_value;\n const total_fees = opportunity.attributes?.total_fees;\n let computations = {\n base_payments_count: opportunity.attributes?.total_base_payments_count,\n base_payments_value: opportunity.attributes?.total_base_payments_amount,\n origination_fee_customer:\n opportunity?.attributes?.origination_fee_from_customer,\n //computeOriginationFeeFromCustomer(transactions),\n origination_fee_lender: computeOriginationFeeFromLender(transactions),\n // doc_fee_paid: computeDocFee(transactions),\n doc_fee_paid: opportunity?.attributes?.documentation_fee_paid,\n debt_present_value: debt_pv,\n // transaction_expense: computeTransactionExpense(transactions),\n transaction_expense: opportunity.attributes?.total_transaction_expense,\n doc_fee_lender: docFeeToLender,\n other_fee_lender: otherFeeToLender,\n // total_fees: computeTotalFees(transactions),\n total_fees: opportunity.attributes?.total_fees,\n progress_payment_interim_rent:\n computeProgressPaymentInterimRent(transactions),\n progress_payment_interest_cost:\n computeProgressPaymentInterestCost(transactions),\n vendor_points: computeVendorPoints(transactions),\n subsidy: opportunity.attributes?.subsidy,\n associate_referral_fee: computeAssociateReferralFee(transactions),\n // sum_of_remaining_payments: computeSumOfRemainingPayments(transactions),\n sum_of_remaining_payments:\n opportunity.attributes?.sum_of_remaining_payments,\n vendor_admin_payables: computeVendorAdminPayables(transactions),\n net_debt_pv: debt_pv - total_fees,\n debt_pv_base_payment: computeDebtPVBasePayment(),\n total_paid_to_vendor: computeSumOfAllVendorPayments(transactions),\n days_between_invoice_date_and_created_date:\n opportunity.attributes?.days_between_invoice_date_and_created_date,\n seconds_from_created_at_to_paid_date:\n opportunity.attributes?.seconds_from_created_at_to_paid_date,\n days_between_invoice_due_date_and_invoice_paid:\n opportunity.attributes\n ?.days_between_invoice_due_date_and_invoice_paid,\n };\n\n setComputeTransactions(computations);\n }\n }, [\n computeAssociateReferralFee,\n computeDocFeeToLender,\n computeOriginationFeeFromLender,\n computeOtherFeeToLender,\n computeProgressPaymentInterestCost,\n computeProgressPaymentInterimRent,\n computeSubsidy,\n computeVendorPoints,\n transactions,\n opportunity,\n isLoadingOpportunity,\n selectedFinancingOption,\n computeVendorAdminPayables,\n computeDebtPVBasePayment,\n computeSumOfAllVendorPayments,\n ]);\n\n const attachmentResourceName = {\n singular: \"attachment\",\n plural: \"attachments\",\n };\n\n const [selectedAttachments, setSelectedAttachments] = useState([]);\n\n const attachmentsResourceList = (item) => {\n const { name } = item;\n\n return (\n {}}\n accessibilityLabel={`View details for credit submission name`}\n verticalAlignment=\"center\"\n >\n \n
\n
\n \n
\n
\n\n
\n
\n

\n \n {name}\n \n

\n
\n
\n
\n \n );\n };\n\n const emptyAttachmentsState = (\n \n

There are no attachments.

\n \n );\n\n const attachmentBulkActions = [\n {\n content: \"Download selected docs\",\n onAction: () => console.log(\"Download selected docs\"),\n },\n ];\n\n const attachmentsResourceListLayout = (\n attachmentsResourceList(item.attributes)}\n selectedItems={selectedAttachments}\n onSelectionChange={setSelectedAttachments}\n emptyState={emptyAttachmentsState}\n loading={isLoadingopportunityAttachments}\n showHeader\n selectable\n promotedBulkActions={attachmentBulkActions}\n />\n );\n const [transactionSelectedItems, setTransactionSelectedItems] = useState([]);\n\n const [showNewTransactionModal, setShowNewTransactionModal] = useState(false);\n\n const toggleNewTransactionModal = () => {\n setShowNewTransactionModal(!showNewTransactionModal);\n };\n\n const hasCompletedTransactionsSelected = transactionSelectedItems.some(\n (transactionId) => {\n const transaction = transactions.find(\n (transaction) => transaction.id === transactionId\n );\n return transaction.attributes.status === \"completed\";\n }\n );\n\n const hasCompletedTransactionsWithStripePaymentsSelected =\n transactionSelectedItems.some((transactionId) => {\n const transaction = transactions.find(\n (transaction) => transaction.id === transactionId\n );\n return (\n transaction.attributes.status === \"completed\" &&\n transaction.attributes.stripe_payment_intent_id\n );\n });\n\n const hasVendorPayoutsSelected = transactionSelectedItems.every(\n (transactionId) => {\n const transaction = transactions.find(\n (transaction) => transaction.id === transactionId\n );\n return transaction.attributes.detail\n .toLowerCase()\n .includes(\"vendor payout\");\n }\n );\n\n const hasCustomerChargeSelected = transactionSelectedItems.every(\n (transactionId) => {\n const transaction = transactions.find(\n (transaction) => transaction.id === transactionId\n );\n return transaction.attributes.detail\n .toLowerCase()\n .includes(\"customer charge\");\n }\n );\n\n const canConvertToLenderPayments = transactionSelectedItems.every(\n (transactionId) => {\n const transaction = transactions.find(\n (transaction) => transaction.id === transactionId\n );\n return (\n transaction.attributes.detail.toLowerCase().includes(\"vendor payout\") ||\n transaction.attributes.detail.toLowerCase().includes(\"customer charge\")\n );\n }\n );\n\n const bulkDeleteTransactions = useCallback(() => {\n return deleteTransactions({\n opportunityId: opportunityId,\n body: {\n transaction_ids: transactionSelectedItems,\n },\n })\n .unwrap()\n .then(() => {\n setTransactionSelectedItems([]);\n setToastMessage(\n `${pluralize(\n \"Transaction\",\n transactionSelectedItems.length\n )} deleted.`\n );\n })\n .catch((error) => {\n console.log(error);\n });\n }, [deleteTransactions, opportunityId, transactionSelectedItems]);\n\n const handleUpdateTransactions = (form) => {\n return updateTransactions({\n ...form,\n opportunityId: opportunityId,\n transactionIds: transactionSelectedItems,\n })\n .then(() => {\n setTransactionSelectedItems([]);\n setToastMessage(\n `${pluralize(\n \"Transaction\",\n transactionSelectedItems.length\n )} updated.`\n );\n setShowToast(true);\n })\n .catch((error) => console.log(error));\n };\n\n const handleChangeToVendorPayments = useCallback(() => {\n changeTransactionDetails(\"vendor payout\");\n }, [changeTransactionDetails, transactionSelectedItems]);\n\n const handleChangeToLenderPayments = useCallback(() => {\n changeTransactionDetails(\"lender payment\");\n }, [changeTransactionDetails, transactionSelectedItems]);\n\n const handleChangeToCustomerCharges = useCallback(() => {\n changeTransactionDetails(\"customer charge\");\n }, [changeTransactionDetails, transactionSelectedItems]);\n\n const changeTransactionDetails = useCallback(\n (detailToConvert) => {\n return updateTransactions({\n opportunityId: opportunityId,\n transactionIds: transactionSelectedItems,\n detail_conversion: detailToConvert,\n })\n .then(() => {\n refetchTransactions();\n setTransactionSelectedItems([]);\n setToastMessage(`Valid transactions changed to ${detailToConvert}`);\n setShowToast(true);\n })\n .catch((error) => console.log(error));\n },\n [\n opportunityId,\n transactionSelectedItems,\n updateTransactions,\n refetchTransactions,\n ]\n );\n\n const [completedAtDate, setCompletedAtDate] = useState(\n new Date().toLocaleDateString(\"en-CA\")\n );\n const handleMarkTransactionsCompleted = () => {\n return handleUpdateTransactions({ completed_at: completedAtDate }).then(\n () => {\n setShowMarkCompleteModal(false);\n }\n );\n };\n\n const [transactionPromotedBulkActions, setTransactionPromotedBulkActions] =\n useState([\n {\n content: `Delete ${pluralize(\n \"transaction\",\n transactionSelectedItems.length\n )}`,\n onAction: bulkDeleteTransactions,\n disabled:\n (hasCompletedTransactionsSelected && !isOrganizationAdmin) ||\n hasCompletedTransactionsWithStripePaymentsSelected,\n },\n ]);\n\n useEffect(() => {\n setTransactionPromotedBulkActions([\n {\n content: `Delete ${pluralize(\n \"transaction\",\n transactionSelectedItems.length\n )}`,\n onAction: bulkDeleteTransactions,\n disabled:\n (hasCompletedTransactionsSelected && !isOrganizationAdmin) ||\n hasCompletedTransactionsWithStripePaymentsSelected,\n },\n {\n content: \"Change to vendor payouts\",\n loading: refetchTransactions || isLoadingTransactions,\n onAction: handleChangeToVendorPayments,\n disabled:\n !hasCustomerChargeSelected ||\n hasCompletedTransactionsSelected ||\n !isOrganizationAdmin,\n },\n {\n content: \"Change to lender payments\",\n loading: refetchTransactions || isLoadingTransactions,\n onAction: handleChangeToLenderPayments,\n disabled:\n !canConvertToLenderPayments ||\n hasCompletedTransactionsSelected ||\n !isOrganizationAdmin,\n },\n {\n content: \"Change to customer charges\",\n loading: refetchTransactions || isLoadingTransactions,\n onAction: handleChangeToCustomerCharges,\n disabled:\n !hasVendorPayoutsSelected ||\n hasCompletedTransactionsSelected ||\n !isOrganizationAdmin,\n },\n ]);\n }, [\n bulkDeleteTransactions,\n hasCompletedTransactionsSelected,\n hasVendorPayoutsSelected,\n hasCustomerChargeSelected,\n canConvertToLenderPayments,\n isOrganizationAdmin,\n transactionSelectedItems,\n refetchTransactions,\n isLoadingTransactions,\n handleChangeToVendorPayments,\n handleChangeToLenderPayments,\n handleChangeToCustomerCharges,\n hasCompletedTransactionsWithStripePaymentsSelected,\n ]);\n\n const transactionResourceName = {\n singular: \"transaction\",\n plural: \"transactions\",\n };\n\n const transactionResourceListItem = (transaction) => {\n const transactionId = transaction.id;\n const {\n transaction_type,\n detail,\n amount,\n status,\n completed_at,\n created_at,\n scheduled_date,\n payout_destination,\n limited_detail,\n } = transaction.attributes;\n\n return (\n {\n setCurrentTransactionId(transactionId);\n setCurrentTransaction(transaction);\n toggleEditTransactionModal();\n }}\n verticalAlignment=\"center\"\n >\n \n \n
\n \n \n {scheduled_date\n ? `${formatNumericDate(\n new Date(scheduled_date?.split(\"-\"))\n )}`\n : \"--/--/--\"}\n \n \n
\n\n
\n \n \n {completed_at\n ? `${formatNumericDate(new Date(completed_at?.split(\"-\")))}`\n : \"--/--/--\"}\n \n \n
\n\n
\n

\n \n \n {isOrganizationAdmin ? detail : limited_detail}\n \n \n

\n
\n\n {!isOrganizationAdmin && detail.includes(\"Lender Payment\") ? (\n <>\n ) : (\n \n )}\n\n
\n \n {isVendorAdmin && transaction_type == \"payable\"\n ? \"\"\n : transaction_type == \"payable\"\n ? \"-\"\n : \"\"}\n {formatCurrency(amount)}\n \n
\n \n\n {payout_destination && (\n \n \n Destination: {payout_destination}\n \n \n )}\n
\n \n );\n };\n\n const [showMarkCompleteModal, setShowMarkCompleteModal] = useState(false);\n const markCompleteModal = showMarkCompleteModal && (\n setShowMarkCompleteModal(false)}\n title={`Mark ${pluralize(\n \"transaction\",\n transactionSelectedItems.length\n )} complete`}\n primaryAction={{\n content: \"Save\",\n onAction: handleMarkTransactionsCompleted,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setShowMarkCompleteModal(false),\n },\n ]}\n >\n \n \n \n \n \n \n );\n\n const newTransactionModal = (\n \n );\n\n const [showEditTransactionModal, setShowEditTransactionModal] =\n useState(false);\n const [currentTransactionId, setCurrentTransactionId] = useState(\"\");\n const [currentTransaction, setCurrentTransaction] = useState(null);\n const toggleEditTransactionModal = () => {\n setShowEditTransactionModal(!showEditTransactionModal);\n };\n\n const editTransactionModal = (\n \n );\n\n const transactionResourceListAlternateTool = (\n \n {\n handleScheduleTransactions();\n }}\n disabled={!opportunity?.attributes?.installment_payment_start_date}\n >\n Schedule transactions\n \n\n {isOrganizationAdmin && (\n \n )}\n \n );\n\n const transactionEmptyState = !transactions.length ? (\n {\n handleScheduleTransactions();\n },\n }}\n image={emptySearchCompanies}\n >\n

Add your first transaction to see them here.

\n \n ) : undefined;\n\n const transactionsResourceList = (\n transactionResourceListItem(item)}\n selectedItems={transactionSelectedItems}\n onSelectionChange={setTransactionSelectedItems}\n loading={isLoadingTransactions}\n emptyState={transactionEmptyState}\n showHeader\n alternateTool={transactionResourceListAlternateTool}\n promotedBulkActions={transactionPromotedBulkActions}\n />\n );\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const [documentList, setDocumentList] = useState([]);\n const payProceedsDocumentList = [\n {\n id: \"cit_loan_assignment\",\n value: \"cit_loan_assignment\",\n label: \"CIT Loan Assignment\",\n title: \"CIT Loan Assignment\",\n },\n {\n id: \"leaf_pay_proceeds\",\n value: \"leaf_pay_proceeds\",\n label: \"LEAF Pay Proceeds\",\n title: \"LEAF Pay Proceeds\",\n },\n {\n id: \"mitsubishi_pay_proceeds\",\n value: \"mitsubishi_pay_proceeds\",\n label: \"Mitsubshi Pay Proceeds\",\n title: \"Mitsubshi Pay Proceeds\",\n },\n ];\n\n const initializeDocuments = () => {\n let pdfOptionList = [];\n\n for (let i = 0; i < opportunityAttachments.length; i++) {\n pdfOptionList.push({\n id: opportunityAttachments[i].id,\n value: opportunityAttachments[i],\n label: opportunityAttachments[i].attributes.name,\n title: opportunityAttachments[i].attributes.name,\n });\n }\n\n for (let i = 0; i < payProceedsDocumentList.length; i++) {\n pdfOptionList.push({\n id: payProceedsDocumentList[i].id,\n value: payProceedsDocumentList[i].value,\n label: payProceedsDocumentList[i].label,\n title: payProceedsDocumentList[i].title,\n });\n }\n\n if (vendorPayments.length > 0) {\n for (let i = 0; i < vendorPayments.length; i++) {\n if (\n opportunity?.attributes?.final_invoice_ids?.includes(\n vendorPayments[i].id\n ) &&\n vendorPayments[i].attributes.invoice_url &&\n vendorPayments[i].attributes.invoice_url?.length > 0\n ) {\n let finalInvoiceName =\n vendorPayments[i].attributes.vendor_name +\n \" - \" +\n vendorPayments[i].attributes.invoice_number;\n pdfOptionList.push({\n id: vendorPayments[i].id,\n value: finalInvoiceName,\n label: finalInvoiceName,\n title: finalInvoiceName,\n });\n }\n }\n }\n\n if (opportunity?.attributes?.subsidy) {\n pdfOptionList.push({\n id: \"credit_memo\",\n value: \"credit_memo\",\n label: \"Credit Memo\",\n title: \"Credit Memo\",\n });\n }\n\n setDocumentList(pdfOptionList);\n };\n\n useEffect(() => {\n if (opportunityAttachments) {\n initializeDocuments();\n }\n }, [opportunityAttachments, vendorPayments]);\n\n const PackageGenerateDocumentListItem = (props) => {\n const { id, index, title, deleteItem } = props;\n\n return (\n \n {(provided, snapshot) => {\n return (\n \n \n \n
\n \n \n \n
\n {\n deleteItem();\n }}\n >\n \n \n ;\n {title}\n
\n
\n \n );\n }}\n
\n );\n };\n\n const PackageGenerateDocumentList = () => {\n const handleDragEnd = useCallback(({ source, destination }) => {\n setDocumentList((oldItems) => {\n const newItems = oldItems.slice();\n const [temp] = newItems.splice(source.index, 1);\n newItems.splice(destination.index, 0, temp);\n return newItems;\n });\n }, []);\n\n const handleDelete = useCallback((item, index) => {\n setDocumentList(() => {\n let oldItems = JSON.parse(JSON.stringify(documentList));\n const newItems = oldItems.slice();\n newItems.splice(index, 1);\n return newItems;\n });\n }, []);\n\n return (\n \n \n {(provided) => {\n return (\n
\n {documentList.map((item, index) => (\n {\n handleDelete(item, index);\n }}\n />\n ))}\n {provided.placeholder}\n
\n );\n }}\n
\n
\n );\n };\n\n const [openGeneratePackageModal, setOpenGeneratePackageModal] =\n useState(false);\n const toggleOpenGeneratePackageModal = () => {\n setOpenGeneratePackageModal(!openGeneratePackageModal);\n };\n\n const [emailSummary, setEmailSummary] = useState(\"\");\n const [emailSummaryModalVisible, setEmailSummaryModalVisible] =\n useState(false);\n const toggleEmailSummaryModalVisible = () => {\n setEmailSummaryModalVisible(!emailSummaryModalVisible);\n };\n\n const handleEmailSummaryChange = (value) => {\n setEmailSummary(value);\n };\n\n const copyEmailSummary = useCallback(() => {\n navigator.clipboard.writeText(emailSummary);\n setToastMessage(\"Summary email copied\");\n toggleShowToast();\n }, [toggleShowToast, emailSummary]);\n\n const [loadingCombinedPdf, setLoadingCombinedPdf] = useState(false);\n\n const axiosCombinedPdf = async () => {\n let documentListQuery = \"\";\n for (let i = 0; i < documentList.length; i++) {\n if (documentListQuery === \"\") {\n documentListQuery = documentListQuery + documentList[i].id;\n } else {\n documentListQuery = documentListQuery + \",\" + documentList[i].id;\n }\n }\n\n const pathname = `/opportunities/${opportunityId}/combine_pdfs`;\n const params = { documents: documentListQuery };\n const result = await baseQuery()({\n url: pathname,\n method: \"GET\",\n data: {},\n params: params,\n responseType: \"blob\",\n });\n\n setLoadingCombinedPdf(false);\n toggleOpenGeneratePackageModal();\n\n let filename = `Funding Package - ${opportunity.attributes.client_name}`;\n let file = new File([result.data], `${filename}.pdf`, {\n type: \"application/pdf\",\n });\n let fileUrl = window.URL.createObjectURL(file);\n\n // If we want to serve but not download\n //window.open(fileUrl)\n\n let fileLink = document.createElement(\"a\");\n fileLink.href = fileUrl;\n fileLink.download = `${filename}.pdf`;\n fileLink.click();\n };\n\n const handleCreateFundingPackage = () => {\n setLoadingCombinedPdf(true);\n axiosCombinedPdf();\n };\n\n const emailSummaryModal = (\n toggleEmailSummaryModalVisible()}\n title={\"Summary Email\"}\n primaryAction={{\n content: \"Send\",\n onAction: () => {\n setEmailSummaryModalVisible(false);\n },\n }}\n secondaryAction={{\n content: \"Cancel\",\n onAction: () => {\n toggleEmailSummaryModalVisible();\n },\n }}\n >\n \n \n
\n \n
\n \n );\n\n const generatePackageModal = openGeneratePackageModal && (\n {\n initializeDocuments();\n toggleOpenGeneratePackageModal();\n },\n },\n ]}\n >\n {loadingCombinedPdf ? (\n \n \n \n \n \n \n \n ) : (\n \n \n \n )}\n \n );\n\n const fundingPackageEmptyState = (\n \n

\n Create a pay proceeds letter, set the document order, and download as a\n single PDF\n

\n \n );\n\n const validatePurchaseMethod = () => {\n validateStripeCustomerReference({\n contactId: designatedSignerId,\n vendorId: stripeVendorId,\n })\n .then(() => {\n setToastMessage(\"Payment method updated\");\n setShowToast(true);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n // Schedule Transactions\n\n const [\n showConfirmScheduleTransactionsModal,\n setShowConfirmScheduleTransactionsModal,\n ] = useState(false);\n const toggleShowConfirmScheduleTransactionsModal = () => {\n setShowConfirmScheduleTransactionsModal(\n !showConfirmScheduleTransactionsModal\n );\n };\n\n const confirmScheduleTransactionsModal = (\n {\n callScheduleTransactions();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: toggleShowConfirmScheduleTransactionsModal,\n },\n ]}\n >\n \n

\n This will create or update incomplete transactions according to the\n selected schedule and installment payment start date. Completed\n transactions cannot be changed.\n

\n\n
\n\n

\n For help updating completed transactions  \n \n contact support\n \n

\n
\n \n );\n\n const handleScheduleTransactions = () => {\n // Reset error banner\n setShowTransactionErrorBanner(false);\n\n if (!opportunity.attributes.has_accepted_financing_option) {\n setShowTransactionErrorBanner(true);\n setTransactionErrorBannerMessage(\"No accepted purchase option selected\");\n return;\n }\n\n toggleShowConfirmScheduleTransactionsModal();\n };\n\n const [\n scheduleOpportunityTransactions,\n { isLoading: isSchedulingTransactions },\n ] = useScheduleOpportunityTransactionsMutation();\n\n const callScheduleTransactions = () => {\n return scheduleOpportunityTransactions({\n opportunityId: opportunityId,\n })\n .unwrap()\n .then(() => {\n setShowScheduleTransactionPromptModal(false);\n refetchTransactions();\n setShowConfirmScheduleTransactionsModal(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n setShowScheduleTransactionPromptModal(false);\n setShowConfirmScheduleTransactionsModal(false);\n console.log(error);\n setShowTransactionErrorBanner(true);\n setTransactionErrorBannerMessage(error.data);\n });\n };\n\n const [showTransactionErrorBanner, setShowTransactionErrorBanner] =\n useState(false);\n const toggleShowTransactionErrorBanner = () => {\n setShowTransactionErrorBanner(!showTransactionErrorBanner);\n };\n\n const [transactionErrorBannerMessage, setTransactionErrorBannerMessage] =\n useState(\"\");\n const transactionErrorBanner = showTransactionErrorBanner && (\n <>\n \n \n );\n\n // Schedule Transaction Prompt\n\n const [\n showScheduleTransactionPromptModal,\n setShowScheduleTransactionPromptModal,\n ] = useState(false);\n const toggleShowScheduleTransactionPromptModal = () => {\n setShowScheduleTransactionPromptModal(!showScheduleTransactionPromptModal);\n };\n\n const checkIfScheduleTransactionPrompt = () => {\n if (opportunity?.attributes?.installment_payment_start_date) {\n return;\n }\n\n if (\n paymentMethods?.length > 0 &&\n opportunity?.attributes?.payments_authorized_at\n ) {\n setShowScheduleTransactionPromptModal(true);\n }\n };\n\n const scheduleTransactionPromptModal = (\n {\n callScheduleTransactions();\n },\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: toggleShowScheduleTransactionPromptModal,\n },\n ]}\n >\n \n

\n Would you like to schedule transactions based on the installment\n payment start date?\n

\n
\n \n );\n\n const formattedPaymentScheduleRows =\n opportunity?.attributes?.payment_schedule?.map((payment, index) => {\n return [\n index + 1,\n payment.date\n ? formatNumericDate(convertServerDate(payment.date))\n : \"--\",\n payment.type,\n ,\n formatCurrency(payment.amount),\n ];\n });\n\n const handlePreviewCustomerAmortizationDocs = () => {\n const document_name = \"customer_amortization\";\n const pathname = `/amortization_document_tests/${opportunityId}/${document_name}/pdf`;\n\n window.open(pathname, \"_blank\");\n };\n\n const handlePreviewFundingAmortizationDocs = () => {\n const document_name = \"funding_amortization\";\n const pathname = `/amortization_document_tests/${opportunityId}/${document_name}/pdf`;\n\n window.open(pathname, \"_blank\");\n };\n\n const paymentsAndReviewLayout = (\n \n \n \n {/* FINAL INVOICE CARD */}\n \n \n \n Invoice\n \n \n \n \n\n {/* {isOrganizationAdmin && (\n \n \n \n Payment schedule DEMO FOR TESTING\n \n\n \n \n \n )} */}\n\n {/* TRANSACTIONS CARD */}\n {transactionErrorBanner}\n\n \n \n \n Transactions\n \n \n {transactionsResourceList}\n \n\n {/* OPPORTUNITY REVIEW CARD */}\n {isOrganizationAdmin && (\n \n )}\n\n {/* FUNDING PACKAGE CARD */}\n {isOrganizationAdmin && (\n \n \n \n Funding package\n \n \n {fundingPackageEmptyState}\n \n )}\n\n {/* ATTACHMENTS CARD */}\n {/* {attachmentsResourceListLayout} */}\n \n \n\n \n \n {/* TOTAL PAID TO VENDOR CARD */}\n \n \n \n Total paid to vendor\n \n \n \n \n Sum of all completed vendor payments\n \n \n \n \n {opportunity.attributes.all_vendor_payments > 0\n ? formatCurrency(opportunity.attributes.all_vendor_payments)\n : \"-\"}\n \n \n \n\n {/* INSTALLMENT PAYMENT SCHEDULE CARD */}\n \n\n {/* PAYMENT METHOD CARD */}\n \n \n \n Customer payment method\n \n \n\n {paymentMethods.length === 0 &&\n !isLoadingStripeSetupIntent &&\n !isLoadingPaymentMethods &&\n !isFetchingPaymentMethods && (\n \n \n \n No payment method\n \n \n \n )}\n\n {(isLoadingStripeSetupIntent ||\n isLoadingPaymentMethods ||\n isFetchingPaymentMethods) && (\n \n \n \n \n \n )}\n\n {!isLoadingPaymentMethods &&\n !isLoadingStripeSetupIntent &&\n !isFetchingPaymentMethods &&\n /* paymentMethods.length > 0 && ( */\n allPaymentMethods.map((paymentMethod, index) => (\n \n ))}\n \n\n {/* TOTAL PAID TO VENDOR CARD */}\n {isOrganizationAdmin && (\n \n \n \n Amortization Documents\n \n \n \n {opportunity.attributes.commencement_date == undefined && (\n <>\n \n

\n Funding and Customer Amortization documents are\n unavailable because a Commencement Date has not yet been\n set.\n

\n
\n
\n \n )}\n\n \n Customer Amortization\n\n \n Preview\n \n \n\n
\n\n \n Funding Amortization\n\n \n Preview\n \n \n
\n
\n )}\n
\n
\n\n {emailSummaryModal}\n {markCompleteModal}\n {newTransactionModal}\n {editTransactionModal}\n {generatePackageModal}\n {confirmScheduleTransactionsModal}\n {scheduleTransactionPromptModal}\n {toastMarkup}\n
\n );\n\n return paymentsAndReviewLayout;\n};\n\nexport default OpportunitiesPaymentsAndReview;\n","import React, { useState, useEffect } from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nimport {\n Spinner,\n Card,\n} from \"@shopify/polaris\";\n\nimport {\n useCreateDocusignEmbeddedSendingMutation\n} from \"../../services/api\";\n\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nconst OpportunitiesEmbeddedSending = (props) => {\n\n const { id: opportunityId } = useParams();\n\n const [\n createDocusignEmbeddedSending,\n { isLoading: isCreatingDocusignEmbeddedSending },\n ] = useCreateDocusignEmbeddedSendingMutation();\n\n const [urlLoading, setUrlLoading] = useState(false);\n const [docusignRedirectUrl, setDocusignRedirectUrl] = useState();\n\n let componentMounted = true;\n\n // Generate on arrival of page\n useEffect(async () => {\n setUrlLoading(true);\n\n const body = {\n opportunityId: opportunityId,\n };\n\n let response = await createDocusignEmbeddedSending({\n opportunityId: opportunityId,\n ...body,\n })\n .then((response) => {\n if(response.data) {\n return response.data.redirect_url\n }\n })\n\n if (componentMounted){\n setDocusignRedirectUrl(response);\n setUrlLoading(false);\n }\n\n return () => {\n componentMounted = false;\n }\n}, []);\n\n const embeddedSendingLayout = (\n \n { docusignRedirectUrl ?\n :\n
\n \n
\n }\n
\n )\n\n return embeddedSendingLayout;\n};\n\nexport default OpportunitiesEmbeddedSending;\n","import React, { useState, useEffect, useCallback } from \"react\";\n\nimport {\n Card,\n Text,\n Box,\n InlineStack,\n BlockStack,\n DropZone,\n Button,\n Icon,\n Modal,\n TextField,\n Spinner,\n Popover,\n ActionList,\n Link,\n} from \"@shopify/polaris\";\n\nimport {\n AttachmentIcon,\n PlusCircleIcon,\n CheckCircleIcon,\n DeleteIcon,\n MenuHorizontalIcon,\n} from \"@shopify/polaris-icons\";\n\nimport {\n useCreateOpportunityAttachmentsMutation,\n useUpdateOpportunityAttachmentMutation,\n usePurgeOpportunityAttachmentMutation,\n useDeleteOpportunityAttachmentMutation,\n} from \"../../../services/api\";\n\nimport { DirectUploadProvider } from \"react-activestorage-provider\";\nimport CardBoxTitle from \"../../../components/Card/BoxTitle\";\n\nconst InternalFundingRequirements = (props) => {\n const {\n opportunityId,\n opportunityAttachments,\n refetchOpportunityAttachments,\n } = props;\n\n const [loadingDocuments, setLoadingDocuments] = useState({});\n const [documentPopovers, setDocumentPopovers] = useState([]);\n const [documentInput, setDocumentInput] = useState(\"\");\n\n const [\n internalFundingRequirementsModalOpen,\n setInternalFundingRequirementsModalOpen,\n ] = useState(false);\n\n const [createOpportunityAttachments, { isLoading: isCreating }] =\n useCreateOpportunityAttachmentsMutation();\n const [updateOpportunityAttachment, { isLoading: isUpdating }] =\n useUpdateOpportunityAttachmentMutation();\n const [purgeOpportunityAttachment, { isLoading: isPurging }] =\n usePurgeOpportunityAttachmentMutation();\n const [deleteOpportunityAttachment, { isLoading: isDeleting }] =\n useDeleteOpportunityAttachmentMutation();\n\n const toggleInternalFundingRequirementsModalOpen = () => {\n setInternalFundingRequirementsModalOpen(\n !internalFundingRequirementsModalOpen\n );\n };\n\n const handleDropZoneDrop = useCallback(\n (_dropFiles, acceptedFiles, _rejectedFiles, handleUpload, documentId) => {\n // Set document to loading state\n setDocumentToLoadingState(documentId, true);\n\n // Save filename\n const uploadingFilenames = acceptedFiles.map((file) => file.name);\n\n handleUpload(acceptedFiles);\n },\n []\n );\n\n const setDocumentToLoadingState = (documentId, state) => {\n const loading = { ...loadingDocuments };\n loading[documentId] = state;\n setLoadingDocuments(loading);\n };\n\n const handleAttachment = (uploads, document) => {\n let documentId = document.id;\n\n return updateOpportunityAttachment({\n opportunityId,\n id: documentId,\n patch: {\n documents: uploads,\n },\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.error(error);\n });\n };\n\n const purgeAttachment = (document, dIndex) => {\n const documentId = document.id;\n const attachmentId = document.attributes.attachment_id[dIndex];\n\n setDocumentToLoadingState(documentId, true);\n\n return purgeOpportunityAttachment({\n opportunityId,\n id: documentId,\n attachmentId,\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.error(error);\n });\n };\n\n const deleteDocument = (document) => {\n const documentId = document.id;\n setDocumentToLoadingState(documentId, true);\n\n return deleteOpportunityAttachment({\n opportunityId,\n id: documentId,\n })\n .unwrap()\n .then(() => {\n refetchOpportunityAttachments();\n return { status: \"success\" };\n })\n .catch((error) => {\n setDocumentToLoadingState(documentId, false);\n console.error(error);\n });\n };\n\n useEffect(() => {\n if (opportunityAttachments) {\n const list = {};\n const loading = {};\n const documentPopoverStatus = [];\n\n opportunityAttachments.forEach((attachment, index) => {\n list[attachment.attributes.name] = attachment;\n loading[attachment.id] = false;\n documentPopoverStatus.push(false);\n });\n\n setLoadingDocuments(loading);\n setDocumentPopovers(documentPopoverStatus);\n }\n }, [opportunityAttachments]);\n\n const toggleDocumentPopover = (index) => {\n const popoverStatus = [...documentPopovers];\n popoverStatus[index] = !popoverStatus[index];\n setDocumentPopovers(popoverStatus);\n };\n\n const addToInternalDocumentList = (publicDocuments = true) => {\n const listToAdd = [];\n if (documentInput.length > 0) listToAdd.push(documentInput);\n\n return createOpportunityAttachments({\n opportunityId: opportunityId,\n body: {\n documents: listToAdd,\n public: publicDocuments,\n },\n })\n .unwrap()\n .then(() => {\n if (internalFundingRequirementsModalOpen)\n toggleInternalFundingRequirementsModalOpen();\n refetchOpportunityAttachments();\n setDocumentInput(\"\");\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n setDocumentInput(\"\");\n if (internalFundingRequirementsModalOpen)\n toggleInternalFundingRequirementsModalOpen();\n });\n };\n\n const addToInternalFundingRequirementsModal = (\n addToInternalDocumentList(false),\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: toggleInternalFundingRequirementsModalOpen,\n },\n ]}\n >\n \n \n setDocumentInput(value)}\n autoComplete=\"off\"\n />\n \n \n \n );\n\n const internalFundingRequirements = (\n \n \n \n Internal funding requirements\n \n \n\n {opportunityAttachments &&\n opportunityAttachments.map(\n (document, index) =>\n !document.attributes.public && (\n \n \n {document.attributes.document === \"\" && (\n \n \n \n \n {document.attributes.name}\n \n \n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n \n )}\n \n {\n handleAttachment(uploads, document);\n }}\n render={({ handleUpload, uploads, ready }) => (\n <>\n {/* Spinner when loading */}\n {loadingDocuments[document.id] && (\n \n \n \n \n \n )}\n\n {/* Dropzone and uploaded content */}\n {!loadingDocuments[document.id] && (\n <>\n {document.attributes.document.length > 0 && (\n <>\n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n\n
\n\n {document.attributes.document.map((d, dIndex) => (\n \n \n \n \n {document.attributes.filenames[dIndex]\n ? document.attributes.filenames[\n dIndex\n ]\n : \"-\"}\n \n\n \n \n \n View file\n \n \n {\n purgeAttachment(document, dIndex);\n }}\n style={{\n marginLeft: \"30px\",\n cursor: \"pointer\",\n }}\n >\n \n \n \n \n \n \n ))}\n \n )}\n\n
\n\n {document.attributes.document.length == 0 && (\n \n \n \n
\n \n
\n
\n \n {document.attributes.name}\n \n
\n
\n\n {\n toggleDocumentPopover(index);\n }}\n >\n \n \n }\n autofocusTarget=\"first-node\"\n onClose={() => {\n toggleDocumentPopover(index);\n }}\n >\n {\n deleteDocument(document);\n },\n },\n ]}\n />\n \n
\n\n
\n\n {\n handleDropZoneDrop(\n _dropFiles,\n acceptedFiles,\n _rejectedFiles,\n handleUpload,\n document.id\n );\n }}\n >\n \n \n
\n )}\n \n )}\n \n )}\n />\n
\n )\n )}\n\n \n \n \n
\n );\n\n return (\n <>\n {internalFundingRequirements}\n\n {addToInternalFundingRequirementsModal}\n \n );\n};\n\nexport default InternalFundingRequirements;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport {\n Button,\n Text,\n LegacyStack,\n ResourceItem,\n ResourceList,\n EmptyState,\n Modal,\n Thumbnail,\n BlockStack,\n Toast,\n Truncate,\n Icon,\n} from \"@shopify/polaris\";\nimport { NoteIcon, AlertTriangleIcon } from \"@shopify/polaris-icons\";\nimport {\n useGetVendorPaymentsQuery,\n useDeleteVendorPaymentMutation,\n} from \"../../services/api\";\nimport { formatCurrency } from \"../../utilities\";\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\n\nconst VendorPaymentList = (props) => {\n const history = useHistory();\n\n const { opportunity, opportunityId, accountId } = props;\n const resourceName = {\n singular: \"vendor quote\",\n plural: \"vendor quotes\",\n };\n\n const { data: vendorPayments = [], isLoading: isLoadingVendorPayments } =\n useGetVendorPaymentsQuery({opportunityId});\n\n const [deleteVendorPayment, { isLoading: isDeletingVendorPayment }] =\n useDeleteVendorPaymentMutation();\n\n const [selectedItems, setSelectedItems] = useState([]);\n const [filteredItems, setFilteredItems] = useState([]);\n\n const [randomNumber, setRandomNumber] = useState(12);\n\n useEffect(() => {\n if (vendorPayments.length) {\n setFilteredItems(vendorPayments);\n }\n }, [vendorPayments, isLoadingVendorPayments]);\n\n const handleNewVendorPayment = () => {\n history.push({\n pathname: `/opportunities/${opportunityId}/vendor_payments/new`,\n state: { opportunity: opportunity },\n });\n };\n\n const handleEditVendorPayment = (vendorPaymentId) => {\n history.push({\n pathname: `/opportunities/${opportunityId}/vendor_payments/${vendorPaymentId}`,\n state: { opportunity: opportunity },\n });\n };\n\n const handleDeleteVendorPayments = () => {\n selectedItems.forEach((vendorPaymentId, index) => {\n return deleteVendorPayment({ id: vendorPaymentId, opportunityId })\n .unwrap()\n .then((response) => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Vendor quote deleted.\");\n setFilteredItems([]);\n setSelectedItems([]);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n });\n };\n\n const [\n showDeleteVendorPaymentConfirmationModal,\n setShowDeleteVendorPaymentConfirmationModal,\n ] = useState(false);\n const handleShowDeleteVendorPaymentConfirmationModal = () => {\n setShowDeleteVendorPaymentConfirmationModal(true);\n };\n const handleCloseModal = () => {\n setShowDeleteVendorPaymentConfirmationModal(false);\n };\n const deleteVendorPaymentConfirmationModal = (\n 1\n ? \"vendor quotes\"\n : \"vendor quote\"\n }`}\n primaryAction={{\n content: \"Delete\",\n onAction: handleDeleteVendorPayments,\n destructive: true,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: handleCloseModal,\n },\n ]}\n >\n \n \n Are you sure?\n

\n Deleting the vendor quote will delete the existing finance\n options and rebuild new finance options from the new finance amount.\n

\n
\n
\n \n );\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const promotedBulkActions = [\n {\n content: `Delete ${\n selectedItems.length == 1\n ? resourceName[\"singular\"]\n : resourceName[\"plural\"]\n }`,\n onAction: handleShowDeleteVendorPaymentConfirmationModal,\n },\n ];\n\n const renderItem = (item, index) => {\n const {\n id,\n attributes: {\n name,\n product_description,\n total_amount,\n invoice_number,\n vendor_name,\n confirmed_at,\n },\n } = item;\n const thumbnail = (\n \n );\n\n const handleVendorPaymentClick = (vendorPaymentId) => {\n handleEditVendorPayment(vendorPaymentId);\n };\n\n return (\n \n \n \n \n \n

\n \n \n {vendor_name} - {invoice_number}\n \n \n

\n\n { !confirmed_at && \n \n \n \n \n Unconfirmed\n \n \n \n }\n
\n\n \n \n {product_description}\n \n \n
\n
\n\n \n\n

{formatCurrency(total_amount)}

\n
\n \n );\n };\n\n const emptyStateMarkup = !filteredItems.length ? (\n \n

Add your first vendor quote to see them here.

\n \n ) : undefined;\n\n const vendorPaymentsResourceList = (\n {\n return renderItem(item, id, index);\n }}\n selectedItems={selectedItems}\n onSelectionChange={setSelectedItems}\n selectable={true}\n promotedBulkActions={promotedBulkActions}\n alternateTool={\n \n }\n emptyState={emptyStateMarkup}\n />\n );\n\n return (\n <>\n {vendorPaymentsResourceList}\n {deleteVendorPaymentConfirmationModal}\n {toastMarkup}\n \n );\n};\n\nVendorPaymentList.propTypes = {\n accountId: PropTypes.string,\n opportunity: PropTypes.object,\n opportunityId: PropTypes.string,\n}\n\nexport default VendorPaymentList;\n","import React, { Component } from \"react\";\nimport ReactCanvasConfetti from \"react-canvas-confetti\";\n\nconst canvasStyles = {\n position: \"fixed\",\n pointerEvents: \"none\" as const,\n width: \"100%\",\n height: \"100%\",\n top: 0,\n left: 0,\n zIndex: 9999999,\n};\n\ntype ConfettiProps = {\n active: boolean;\n foo?: string;\n};\n\nclass Confetti extends Component {\n animationInstance: any = null;\n\n constructor(props: ConfettiProps) {\n super(props);\n this.handleKeyPress = this.handleKeyPress.bind(this);\n }\n\n componentDidMount() {\n document.addEventListener(\"keydown\", this.handleKeyPress, false);\n\n if (this.props.active) {\n this.fire();\n }\n }\n\n componentWillUnmount() {\n document.removeEventListener(\"keydown\", this.handleKeyPress, false);\n }\n\n componentDidUpdate(prevProps: ConfettiProps) {\n if (this.props.active && !prevProps.active) {\n this.fire();\n }\n }\n\n handleKeyPress(e: KeyboardEvent) {\n if (e.key === \"ç\") {\n this.fire();\n }\n }\n\n makeShot = (particleRatio: number, opts: any) => {\n this.animationInstance &&\n this.animationInstance({\n ...opts,\n origin: { y: -0.3 },\n angle: 270,\n particleCount: Math.floor(200 * particleRatio),\n });\n };\n\n fire = () => {\n this.makeShot(0.25, {\n spread: 26,\n startVelocity: 55,\n });\n\n this.makeShot(0.2, {\n spread: 60,\n });\n\n this.makeShot(0.35, {\n spread: 100,\n decay: 0.91,\n scalar: 0.8,\n });\n\n this.makeShot(0.1, {\n spread: 120,\n startVelocity: 25,\n decay: 0.92,\n scalar: 1.2,\n });\n\n this.makeShot(0.1, {\n spread: 120,\n startVelocity: 45,\n });\n };\n\n handlerFire = () => {\n this.fire();\n };\n\n getInstance = (instance: any) => {\n this.animationInstance = instance;\n };\n\n render() {\n return (\n \n );\n }\n}\n\nexport default Confetti;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Text } from \"@shopify/polaris\";\n\nconst DateChunk = (props) => {\n const { index, item } = props;\n\n return (\n
  • \n \n \n {item.label}\n \n \n
  • \n );\n};\n\nDateChunk.propTypes = {\n index: PropTypes.number,\n item: PropTypes.object,\n};\n\nexport default DateChunk;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Text } from \"@shopify/polaris\";\n\nconst ActivityChunk = (props) => {\n const { index, item } = props;\n\n const timeString = new Date(item.attributes.created_at).toLocaleString(\n \"en-US\",\n {\n hour: \"numeric\",\n minute: \"2-digit\",\n }\n );\n\n const getAuthorName = (item) => {\n const { event_type: eventType, author_name: authorName } = item.attributes;\n\n if (!authorName || authorName === \"-\" || authorName === \" \") {\n return \"A guest\";\n }\n\n if (eventType === \"OpportunityEnvelopeCompleted\") {\n return \"Designated signer\";\n } else if (eventType === \"StripePaymentFailed\") {\n return \"\"\n }\n\n return authorName;\n };\n\n const sharedActivityEmails = (item) => {\n const emails = item.attributes.event_type.split(\" - \")[1];\n const separateEmails = emails.split(\",\");\n if (separateEmails.length > 1) {\n return \"multiple contacts\";\n } else {\n return emails;\n }\n };\n\n const RenderEventStatus = ({ eventType }) => {\n const statusMap = {\n OpportunityEnvelopeCompleted: \"completed\",\n FinancingOptionApproved: \"approved\",\n FinancingOptionUnapproved: \"unapproved\",\n FinancingOptionViewed: \"viewed\",\n VendorPaymentAttachmentViewed: \"viewed\",\n VendorPaymentUpdated: \"updated\",\n OpportunityNotificationDelivered: \"delivered\",\n OpportunityNotificationOpen: \"opened\",\n OpportunityViewed: \"viewed\",\n OpportunityShared: \"shared\",\n OpportunityInvoiceUploaded: \"uploaded an invoice to\",\n OpportunityQuoteUploaded: \"uploaded a quote to\",\n OpportunityFileUploaded: \"uploaded a file to\",\n PaymentAuthorizationSaved: \"setup a payment method for\",\n TransactionCompleted: \"completed transaction\",\n TransactionCreated: \"created new transaction\",\n TransactionScheduled: \"scheduled transaction\",\n TransactionsScheduled: \"scheduled transactions\",\n TransactionFailed: \"has failed transaction\",\n StripePaymentReminderSent: \"was sent\",\n StripePaymentFailed: \"failed\"\n // Add other event types here as needed\n };\n\n const selectedEvents = [\n \"FinancingOptionSelected\",\n \"OpportunityNetTermsSelectedSelected\",\n \"OpportunityStandardFinancingSelected\",\n \"OpportunityFairMarketValueSelected\",\n \"OpportunityDollarOutLeaseSelected\",\n \"OpportunityRentalSelected\",\n \"OpportunitySoftwareAsAServiceSelected\",\n ];\n\n const createdEvents = [\n \"FinancingOptionCreated\",\n \"OpportunityCreated\",\n ];\n\n if (selectedEvents.includes(eventType)) {\n return \"selected\";\n }\n\n if (createdEvents.includes(eventType)) {\n return \"created\";\n }\n\n return statusMap[eventType] || eventType;\n };\n\n const RenderEventType = ({ eventType }) => {\n const typeMap = {\n OpportunityEnvelopeCompleted: \"Docusign envelope\",\n FinancingOptionApproved: \"financing option\",\n FinancingOptionUnapproved: \"financing option\",\n FinancingOptionViewed: \"financing option\",\n FinancingOptionCreated: \"financing option\",\n FinancingOptionSelected: \"financing option\",\n VendorPaymentAttachmentViewed: \"quote/invoice\",\n VendorPaymentUpdated: \"quote/invoice\",\n OpportunityNetTermsSelectedSelected: \"net terms option\",\n OpportunityStandardFinancingSelected: \"standard financing option\",\n OpportunityFairMarketValueSelected: \"fair market value option\",\n OpportunityDollarOutLeaseSelected: \"dollar out lease option\",\n OpportunityRentalSelected: \"rental option\",\n OpportunitySoftwareAsAServiceSelected: \"software as a service option\",\n OpportunityViewed: \"client portal\",\n StripePaymentReminderSent: \"a payment reminder\"\n // Add other event types here as needed\n };\n\n return typeMap[eventType] || \"\";\n };\n\n const isOpportunityNotification = item.attributes.event_type.includes(\n \"OpportunityNotification\"\n );\n\n const RenderEventSubjectName = ({ eventType }) => {\n const noSubjectTypes = [\n \"StripePaymentReminderSent\",\n \"TransactionsScheduled\"\n ]\n\n if (noSubjectTypes.includes(eventType)) {\n return \"\"\n } else {\n return item.attributes.subject_name\n }\n }\n\n const isStripePaymentFailed = item.attributes.event_type === \"StripePaymentFailed\"\n\n return (\n
  • \n
    \n
    \n
    \n
    \n

    \n {isOpportunityNotification && \"Email for \"}\n {isStripePaymentFailed && \"A payment \"}\n {getAuthorName(item)} {isOpportunityNotification && \" was \"}\n \n \n {\" \"}\n {isOpportunityNotification && \"for sharing \"}\n {isStripePaymentFailed && \"for \"}\n {\" \"}\n \n

    \n
    \n
    \n {timeString}\n
    \n
    \n
    \n
  • \n );\n};\n\nActivityChunk.propTypes = {\n index: PropTypes.number,\n item: PropTypes.object,\n};\n\nexport default ActivityChunk;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n Avatar,\n Card,\n Box,\n Text,\n LegacyStack,\n Button,\n Tooltip,\n} from \"@shopify/polaris\";\nimport { XSmallIcon, EmailNewsletterIcon } from \"@shopify/polaris-icons\";\n\nimport {\n formatHumanFriendlyTimeDifference,\n} from \"../../utilities\";\n\nconst CommentChunk = (props) => {\n const {\n index,\n item,\n currentContact,\n notification,\n handleDeleteCommentRequest,\n handleMarkUnreadComment\n } = props\n\n return (\n \n
    \n \n \n
    \n \n
    \n \n \n \n {item.attributes.author_name}\n \n \n\n \n \n {formatHumanFriendlyTimeDifference(\n new Date(item.attributes.created_at)\n )}\n \n \n\n { (\n currentContact.attributes.is_organization_admin ||\n currentContact.id === item.attributes.author_id\n ) &&\n (\n \n {notification && notification.read_at == null ?\n (<>) : (\n \n {\n handleMarkUnreadComment(notification.id);\n }}\n variant=\"plain\"\n />\n \n )}\n {\n handleDeleteCommentRequest(item.id);\n }}\n variant=\"plain\" />\n \n )\n }\n\n\n \n
    \n
    \n\n
    \n

    \n {item.attributes.note}\n

    \n
    \n
    \n
    \n
    \n \n );\n};\n\nCommentChunk.propTypes = {\n index: PropTypes.number,\n item: PropTypes.object,\n notification: PropTypes.object,\n currentContact: PropTypes.object,\n handleDeleteCommentRequest: PropTypes.func,\n handleMarkUnreadComment: PropTypes.func,\n};\n\nexport default CommentChunk;\n","import React, {\n useState,\n useCallback,\n useEffect,\n useContext,\n useMemo,\n} from \"react\";\nimport PropTypes from \"prop-types\";\nimport classNames from \"classnames\";\n\nimport {\n Avatar,\n TextField,\n Button,\n Text,\n Modal,\n Checkbox,\n BlockStack,\n InlineStack,\n Toast,\n} from \"@shopify/polaris\";\n\nimport {\n useField,\n useForm,\n notEmpty,\n lengthLessThan,\n} from \"@shopify/react-form\";\n\nimport { useAuth0 } from \"@auth0/auth0-react\";\n\nimport {\n useGetCommentsQuery,\n useCreateCommentMutation,\n useDeleteCommentMutation,\n useMarkUnreadCommentNotificationMutation,\n useGetOpportunityTransactionsQuery,\n useLazyGetCommentsQuery,\n} from \"../../../javascript/services/api\";\n\nimport DateChunk from \"./DateChunk\";\nimport ActivityChunk from \"./ActivityChunk\";\nimport CommentChunk from \"./CommentChunk\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\nimport AsyncLocalStorage from \"../../../javascript/AsyncLocalStorage\";\n\nconst OpportunityCommentList = (props) => {\n const { commentableId, commentableType } = props;\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const [showComments, setShowComments] = useState(true);\n const [showActivities, setShowActivities] = useState(true);\n const [showEmailActivities, setShowEmailActivities] = useState(false);\n\n const { data: transactions = [], isLoading: isLoadingTransactions = false } =\n useGetOpportunityTransactionsQuery(commentableId, { skip: !commentableId });\n\n const {\n data: comments = [],\n isLoading: isLoadingComments,\n refetch: refetchComments,\n } = useGetCommentsQuery(\n {\n commentableId: commentableId,\n comments: showComments,\n activity: showActivities,\n },\n { skip: !commentableId }\n );\n\n // This filters out specific email activities from the comments list\n const filteredComments = useMemo(() => {\n const filteredEvents = [\n \"OpportunityNotificationOpen\",\n \"OpportunityNotificationDelivered\",\n ];\n return showEmailActivities\n ? comments\n : comments.filter(\n (comment) => !filteredEvents.includes(comment.attributes.event_type)\n );\n }, [comments, showEmailActivities]);\n\n const [transactionComments, setTransctionComments] = useState([]);\n\n const [\n getLazyGetCommentsQuery,\n { isLoading: isLoadingTransactionComments },\n lastPromiseInfo,\n ] = useLazyGetCommentsQuery();\n\n // Get comments from transaction activity feed\n useEffect(() => {\n async function fetchTransactionComments() {\n if (transactions) {\n let allTransactionActivity = [];\n for (let i = 0; i < transactions.length; i++) {\n let transactionId = transactions[i].id;\n\n let rawTransactionActivities = await getLazyGetCommentsQuery({\n commentableId: transactionId,\n comments: false,\n activity: true,\n });\n\n if (rawTransactionActivities.isError) {\n console.log(\"ERROR\");\n console.log(rawTransactionActivities);\n return;\n }\n\n let transactionActivityData = rawTransactionActivities.data;\n for (let j = 0; j < transactionActivityData.length; j++) {\n allTransactionActivity.push(transactionActivityData[j]);\n }\n }\n\n setTransctionComments(allTransactionActivity);\n }\n }\n\n fetchTransactionComments();\n }, [getLazyGetCommentsQuery, transactions]);\n\n const [deleteComment] = useDeleteCommentMutation();\n\n const [createComment] = useCreateCommentMutation();\n\n const changeShowEmailActivities = (value) => {\n setShowEmailActivities(value);\n };\n\n const changeShowComments = (value) => {\n setShowComments(value);\n refetchComments();\n };\n\n const [markUnreadCommentNotification] =\n useMarkUnreadCommentNotificationMutation();\n\n const [commentActivityList, setCommentActivityList] = useState([]);\n\n useEffect(() => {\n let combinedList = [...filteredComments, ...transactionComments];\n\n combinedList.sort(function (a, b) {\n let aDate = a.attributes.created_at\n ? new Date(a.attributes.created_at)\n : new Date(a.attributes.timestamp);\n let bDate = b.attributes.created_at\n ? new Date(b.attributes.created_at)\n : new Date(b.attributes.timestamp);\n if (bDate > aDate) {\n return 1;\n } else {\n return -1;\n }\n });\n\n let combinedListWithDates = [];\n\n for (let i = 0; i < combinedList.length; i++) {\n if (i == 0) {\n let currentDate = combinedList[i].attributes.created_at\n ? new Date(combinedList[i].attributes.created_at)\n : new Date(combinedList[i].attributes.timestamp);\n\n const month = currentDate.toLocaleString(\"default\", { month: \"long\" });\n const day = currentDate.getDate();\n const year = currentDate.getFullYear();\n\n let label = `${month} ${day}`;\n if (year != new Date().getFullYear()) {\n label = `${label}, ${year}`;\n }\n\n combinedListWithDates.push({ type: \"date\", label: label });\n } else {\n let currentDate = combinedList[i].attributes.created_at\n ? new Date(combinedList[i].attributes.created_at)\n : new Date(combinedList[i].attributes.timestamp);\n let lastDate = combinedList[i - 1].attributes.created_at\n ? new Date(combinedList[i - 1].attributes.created_at)\n : new Date(combinedList[i - 1].attributes.timestamp);\n if (\n currentDate.getMonth() != lastDate.getMonth() ||\n currentDate.getDate() != lastDate.getDate()\n ) {\n const month = currentDate.toLocaleString(\"default\", {\n month: \"long\",\n });\n const day = currentDate.getDate();\n const year = currentDate.getFullYear();\n\n let label = `${month} ${day}`;\n if (year != new Date().getFullYear()) {\n label = `${label}, ${year}`;\n }\n combinedListWithDates.push({ type: \"date\", label: label });\n }\n }\n\n combinedListWithDates.push(combinedList[i]);\n }\n\n setCommentActivityList(combinedListWithDates);\n }, [filteredComments, showComments, showActivities, transactionComments]);\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: commentFormDirty,\n } = useForm({\n fields: {\n commentBoxText: useField({\n value: \"\",\n validates: [\n notEmpty(\"Comment text is required\"),\n lengthLessThan(2000, \"Comment must be less than 2000 characters\"),\n ],\n }),\n },\n async onSubmit({ commentBoxText }) {\n // Return if no text\n if (commentBoxText === \"\") return;\n\n let body = {\n note: commentBoxText,\n commentable_type: commentableType,\n commentable_id: commentableId,\n };\n\n try {\n const key = `fortify-app-opportunity-${commentableId}-commentbox`;\n await AsyncLocalStorage.removeItem(key);\n localStorage.removeItem(key);\n } catch (error) {\n console.error(\"Error clearing saved comment:\", error);\n }\n\n return createComment({\n body: body,\n })\n .then(() => {\n reset();\n setShowToast(true);\n setToastMessage(\"Comment added.\");\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n const [commentIdToDelete, setCommentIdToDelete] = useState();\n\n const handleDeleteCommentRequest = (id) => {\n setCommentIdToDelete(id);\n handleShowDeleteCommentConfirmationModal();\n };\n\n const handleDeleteComment = () => {\n return deleteComment({\n id: commentIdToDelete,\n commentableId: commentableId,\n })\n .then(() => {\n handleCloseModal();\n setShowToast(true);\n setToastMessage(\"Comment deleted.\");\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleMarkUnreadCommentNotification = (notification_id) => {\n return markUnreadCommentNotification({\n notification_id: notification_id,\n })\n .then(() => {\n setShowToast(true);\n setToastMessage(\"Comment marked unread.\");\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n useEffect(() => {\n async function saveComment() {\n const key = `fortify-app-opportunity-${commentableId}-commentbox`;\n\n try {\n // Attempt to store the adjusted index in AsyncLocalStorage\n await AsyncLocalStorage.setItem(\n key,\n JSON.stringify({\n value: fields.commentBoxText.value,\n timestamp: Date.now(),\n })\n );\n } catch (error) {\n // Log errors to the console\n console.error(\"Error storing comment\", error);\n }\n }\n if (fields.commentBoxText.value.length > 0) {\n saveComment();\n }\n }, [fields.commentBoxText.value, commentableId]);\n\n useEffect(() => {\n const commentThreshold = 1000 * 60 * 60 * 6; // 6 hours until it expires\n // Retrieve the views object from localStorage, or initialize an empty object if not set\n const key = `fortify-app-opportunity-${commentableId}-commentbox`;\n\n try {\n const savedComment = localStorage.getItem(key);\n const commentObj = savedComment ? JSON.parse(savedComment) : {};\n\n const now = Date.now();\n if (savedComment) {\n if (now - commentObj.timestamp > commentThreshold) {\n fields.commentBoxText.value = \"\";\n localStorage.removeItem(key);\n } else {\n fields.commentBoxText.value = commentObj.value;\n }\n }\n } catch (error) {\n console.error(\"Error retrieving comment:\", error);\n }\n }, []);\n\n const [\n showDeleteCommentConfirmationModal,\n setShowDeleteCommentConfirmationModal,\n ] = useState(false);\n const handleShowDeleteCommentConfirmationModal = () => {\n setShowDeleteCommentConfirmationModal(true);\n };\n const handleCloseModal = () => {\n setShowDeleteCommentConfirmationModal(false);\n };\n const deleteCommentConfirmationModal = (\n \n \n \n \n Are you sure?\n \n

    \n Confirm that you would like to remove this comment from the Activity\n timeline.\n

    \n
    \n
    \n \n );\n\n const [showToast, setShowToast] = useState(false);\n const [toastMessage, setToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n toggleShowToast();\n setToastMessage(\"\");\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const commentFieldClass = classNames({\n FortComments__CommentField: true,\n \"FortComments__CommentField--empty-list\": !comments.length,\n });\n\n return (\n
    \n
    \n \n Activity\n \n\n \n \n \n \n
    \n\n
    \n
    \n \n \n
    \n\n
    \n \n Post\n \n }\n />\n
    \n
    \n\n
    \n
      \n {commentActivityList.map((item, index) => {\n if (item.type === \"date\") {\n return (\n \n );\n } else if (item.attributes.is_activity) {\n return (\n \n );\n } else {\n return (\n \n handleDeleteCommentRequest(id)\n }\n handleMarkUnreadComment={(id) =>\n handleMarkUnreadCommentNotification(id)\n }\n />\n );\n }\n })}\n
    \n
    \n
    \n\n {deleteCommentConfirmationModal}\n {toastMarkup}\n \n );\n};\n\nOpportunityCommentList.propTypes = {\n commentableId: PropTypes.string,\n commentableType: PropTypes.string,\n};\n\nexport default OpportunityCommentList;\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n Page,\n Layout,\n Link,\n EmptyState,\n BlockStack,\n} from \"@shopify/polaris\";\nimport { WithinContentContext } from \"@shopify/polaris/build/esm/utilities/within-content-context\";\nimport fourZeroFourSVG from \"../assets/404.svg\";\n\nconst FourZeroFour = (props) => {\n const history = useHistory();\n\n const handleNavigateBack = () => {\n history.goBack();\n };\n\n return (\n \n \n
    \n \n \n \n

    \n We can't seem to find the page you are looking for. Try\n going back to the previous page or{\" \"}\n \n contact us\n {\" \"}\n for more information.\n

    \n
    \n \n
    \n
    \n
    \n
    \n );\n};\n\nexport default FourZeroFour;\n","import React, { useState, useEffect } from \"react\";\nimport { useDebounce } from \"use-debounce\";\nimport {\n useSearchOpportunityOriginatorsQuery,\n useUpdateOpportunityOriginatorMutation,\n} from \"../../services/api\";\n\nimport {\n Autocomplete,\n Button,\n Icon,\n LegacyStack,\n Tag,\n BlockStack,\n} from \"@shopify/polaris\";\nimport { SearchIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\n\nconst OpportunityOriginatorForm = (props) => {\n const { opportunityId, onUpdateOriginator, selectedOriginator } = props;\n\n const [\n updateOpportunityOriginator,\n { isLoading: isUpdatingOpportunityOriginator },\n ] = useUpdateOpportunityOriginatorMutation();\n\n const [selectedOriginatorOptions, setSelectedOriginatorOptions] = useState(\n []\n );\n const [originatorOptions, setOriginatorOptions] = useState([]);\n const [originatorSearchValue, setOriginatorSearchValue] = useState(\"\");\n const [originatorSearchQuery] = useDebounce(originatorSearchValue, 500);\n const [skipOriginatorQuery, setSkipOriginatorQuery] = useState(false);\n const [originatorHasSearchFocus, setOriginatorHasSearchFocus] =\n useState(false);\n\n const {\n data: searchOriginators = [],\n isLoading: isLoadingSearchOriginators,\n isFetching: isFetchingSearchOriginators,\n } = useSearchOpportunityOriginatorsQuery(\n { search: originatorSearchQuery, opportunityId: opportunityId },\n {\n skip: skipOriginatorQuery,\n }\n );\n\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 300);\n\n const handleOriginatorQueryChange = (value) => {\n setQueryValue(value);\n setOriginatorHasSearchFocus(true);\n setOriginatorSearchValue(value);\n };\n\n useEffect(() => {\n if (searchValue) {\n setSkipOriginatorQuery(false);\n setSelectedOriginatorOptions([]);\n }\n }, [searchValue]);\n\n const onSelectOriginator = (value) => {\n setSelectedOriginatorOptions(value);\n setOriginatorHasSearchFocus(false);\n\n const membershipId = value[0].id;\n const form = { originator: { id: membershipId } };\n\n return updateOpportunityOriginator({\n opportunityId: opportunityId,\n ...form,\n })\n .unwrap()\n .then(() => {\n onUpdateOriginator();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleRemoveOriginator = () => {\n setSelectedOriginatorOptions([]);\n };\n\n const handleCancelSelectOriginator = () => {\n setSelectedOriginatorOptions([...selectedOriginator]);\n };\n\n useEffect(() => {\n if (searchOriginators.length) {\n let originatorList = [];\n for (let i = 0; i < searchOriginators.length; i++) {\n originatorList.push({\n value: searchOriginators[i],\n label: `${searchOriginators[i].attributes.contact_full_name} - ${searchOriginators[i].attributes.contact_email} - ${searchOriginators[i].attributes.team_name}`,\n });\n }\n setOriginatorOptions(originatorList);\n }\n }, [searchOriginators]);\n\n useEffect(() => {\n if (selectedOriginator) {\n setSelectedOriginatorOptions([...selectedOriginator]);\n }\n }, [selectedOriginator]);\n\n const originatorTextField =\n selectedOriginatorOptions.length > 0 ? (\n \n {selectedOriginatorOptions.map((option) => {\n return (\n \n

    \n {option.attributes.full_name} - {option.attributes.team_name}\n

    \n \n );\n })}\n
    \n ) : (\n }\n placeholder=\"Search contacts...\"\n focused={originatorHasSearchFocus}\n connectedRight={\n \n }\n />\n );\n\n const emptyState = (\n <>\n \n
    \n Could not find any results\n
    \n \n );\n\n return (\n \n );\n};\n\nOpportunityOriginatorForm.propTypes = {\n opportunityId: PropTypes.string,\n onUpdateOriginator: PropTypes.func,\n selectedOriginator: PropTypes.array,\n};\n\nexport default OpportunityOriginatorForm;\n","import React from \"react\";\nimport { useGetOpportunityContactsQuery } from \"../../services/api\";\n\nimport {\n Avatar,\n Spinner,\n LegacyStack,\n Tooltip,\n} from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\n\nconst OpportunityContactAvatarList = (props) => {\n const { opportunityId, onAvatarClick } = props;\n\n const DESIGNATED_SIGNER_EMOJI = \"✍️\"\n\n const {\n data: opportunityContacts = [],\n isLoading,\n isFetching,\n } = useGetOpportunityContactsQuery(opportunityId, { skip: !opportunityId });\n\n return (\n \n {isLoading || isFetching ? (\n \n ) : (\n opportunityContacts.map((contact, index) => {\n const { email, full_name, initials, signer } = contact.attributes;\n\n return (\n \n {full_name} {email}\n {signer && (\n <>\n {\" \"}\n
    {DESIGNATED_SIGNER_EMOJI} Designated signer
    \n \n )}\n \n }\n key={`avatar-${index}`}\n >\n
    \n {signer && (\n \n {DESIGNATED_SIGNER_EMOJI}\n \n )}\n \n
    \n \n );\n })\n )}\n
    \n );\n};\n\nOpportunityContactAvatarList.propTypes = {\n onAvatarClick: PropTypes.func,\n opportunityId: PropTypes.string,\n};\n\nexport default OpportunityContactAvatarList;\n","import React, {\n useState,\n useEffect,\n useCallback,\n forwardRef,\n useImperativeHandle,\n useRef,\n useContext,\n} from \"react\";\nimport { useDebounce } from \"use-debounce\";\nimport {\n useGetContactQuery,\n useSearchContactsQuery,\n useCreateOpportunityContactMutation,\n} from \"../../services/api\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport {\n Autocomplete,\n Button,\n FormLayout,\n Icon,\n LegacyStack,\n Tag,\n TextField,\n Checkbox,\n Text,\n} from \"@shopify/polaris\";\nimport { SearchIcon, PlusCircleIcon } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { validateEmail } from \"../../utilities\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nconst OpportunityContactForm = forwardRef((props, ref) => {\n const {\n contactId,\n opportunityId,\n onAfterShareWithContacts,\n onSelectContact,\n onNewContact,\n onDeselectContacts,\n onShowNewContactForm,\n setSelectedContactEmails,\n } = props;\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const [notifMsg, setNotifMsg] = useState(\"\");\n const [notifSubject, setNotifSubject] = useState(\n `${currentContact?.attributes?.full_name} sent you a proposal on Fortify`\n );\n const [notifyContacts, setNotifyContacts] = useState(true);\n const [showCCTextBox, setShowCCTextBox] = useState(false);\n const handleCheckboxChange = useCallback((newChecked) => {\n setNotifyContacts(newChecked);\n setNotifSubject(\n `${currentContact?.attributes?.full_name} sent you a proposal on Fortify`\n );\n }, []);\n\n const [\n createOpportunityContact,\n { isLoading: isCreatingOpportunityContact },\n ] = useCreateOpportunityContactMutation();\n\n const [contactSearchValue, setContactSearchValue] = useState(\"\");\n const [contactSearchQuery] = useDebounce(contactSearchValue, 500);\n\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery({ search: contactSearchQuery });\n\n const { data: requestedContact, isLoading: isLoadingContact } =\n useGetContactQuery(contactId, { skip: !contactId });\n\n const [selectedContactOptions, setSelectedContactOptions] = useState([]);\n const [selectedContactOptionIds, setSelectedContactOptionIds] = useState(\n contactId != undefined ? [contactId] : []\n );\n const [selectedCCContactOptions, setSelectedCCContactOptions] = useState([]);\n const [selectedCCContactOptionIds, setSelectedCCContactOptionIds] = useState(\n contactId != undefined ? [contactId] : []\n );\n const [contactOptions, setContactOptions] = useState([]);\n\n useEffect(() => {\n if (requestedContact) {\n setSelectedContactOptions([requestedContact]);\n }\n }, [requestedContact]);\n\n useEffect(() => {\n if (selectedContactOptions.length > 0) {\n setSelectedContactEmails(\n selectedContactOptions.map((contact) => {\n return contact.attributes.email;\n })\n );\n } else {\n setSelectedContactEmails([]);\n }\n }, [selectedContactOptions]);\n\n const handleSelectContact = useCallback(\n (selectedContactIds) => {\n onSelectContact();\n\n if (selectedContactIds.includes(selectedContactIds)) {\n return;\n } else {\n setSelectedContactOptionIds((previousSelectedOptionIds) => {\n return [\n ...new Set([...previousSelectedOptionIds, ...selectedContactIds]),\n ];\n });\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedContactIds.includes(contact.id);\n });\n\n setNotifMsg(\n `Hi ${newSelectedContacts[0].attributes.first_name}, here's the latest proposal for your review. To access these options, create an account on Fortify by following the link below.`\n );\n setSelectedContactOptions([\n ...new Set([...selectedContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedContactOptions]\n );\n\n const handleSelectCCContact = useCallback(\n (selectedCCContactIds) => {\n if (selectedCCContactIds.includes(selectedCCContactIds)) {\n return;\n } else {\n setSelectedCCContactOptionIds(selectedCCContactIds);\n\n const newSelectedContacts = searchContacts.filter((contact) => {\n return selectedCCContactIds.includes(contact.id);\n });\n\n setSelectedCCContactOptions([\n ...new Set([...selectedCCContactOptions, ...newSelectedContacts]),\n ]);\n }\n },\n [searchContacts, selectedCCContactOptions]\n );\n\n const handleRemoveContact = useCallback(\n (contact) => {\n const options = [...selectedContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedContactOptions(options);\n\n const optionIds = [...selectedContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedContactOptionIds(optionIds);\n if (optionIds.length < 1) {\n setNotifyContacts(true);\n onDeselectContacts();\n }\n },\n [onDeselectContacts, selectedContactOptionIds, selectedContactOptions]\n );\n\n const handleRemoveCCContact = useCallback(\n (contact) => {\n const options = [...selectedCCContactOptions];\n options.splice(options.indexOf(contact), 1);\n setSelectedCCContactOptions(options);\n\n const optionIds = [...selectedCCContactOptionIds];\n optionIds.splice(optionIds.indexOf(contact.id), 1);\n setSelectedCCContactOptionIds(optionIds);\n },\n [selectedCCContactOptionIds, selectedCCContactOptions]\n );\n\n const shareButton = useRef(null);\n\n const handleShareWithContacts = () => {\n if (!selectedContactOptionIds.length) return;\n setNotifyContacts(true);\n\n const form = {\n contact_ids: selectedContactOptionIds,\n cc_contact_ids: selectedCCContactOptionIds,\n notifSubject: notifSubject,\n notifMsg: notifMsg,\n notifyContacts: notifyContacts,\n };\n\n // Reset message and subject\n setNotifMsg(\"\");\n setNotifSubject(\"\");\n return createOpportunityContact({ opportunityId: opportunityId, ...form })\n .unwrap()\n .then(() => {\n // Reset contacts\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setSelectedCCContactOptionIds([]);\n setSelectedCCContactOptions([]);\n setContactSearchValue(\"\");\n\n // pull focus from autocomplete\n shareButton.current.click();\n\n onAfterShareWithContacts();\n\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleShareWithOrCreateContacts = () => {\n if (showNewContactForm) {\n submit();\n } else {\n handleShareWithContacts();\n }\n };\n\n const handleShowNewContactForm = () => {\n onNewContact();\n\n setShowNewContactForm(true);\n onShowNewContactForm(true);\n resetNewContactForm();\n };\n\n const handleHideNewContactForm = () => {\n setShowNewContactForm(false);\n onShowNewContactForm(false);\n resetNewContactForm();\n };\n\n const resetNewContactForm = () => {\n setShowCCTextBox(false);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n setNotifSubject(\n `${currentContact?.attributes?.full_name} sent you a proposal on Fortify`\n );\n };\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n const contactList = searchContacts.map((contact, index) => {\n return {\n value: contact.id,\n label: `${contact.attributes.full_name} - ${contact.attributes.email}`,\n };\n });\n\n setContactOptions(contactList);\n }\n }, [searchContacts]);\n\n const resetContactSelection = () => {\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setSelectedCCContactOptionIds([]);\n setSelectedCCContactOptions([]);\n setContactSearchValue(\"\");\n onDeselectContacts();\n };\n\n useImperativeHandle(ref, () => ({\n handleShareWithContacts: handleShareWithContacts,\n handleShareWithOrCreateContacts: handleShareWithOrCreateContacts,\n handleHideNewContactForm: handleHideNewContactForm,\n resetContactSelection: resetContactSelection,\n }));\n\n const verticalContentMarkup =\n selectedContactOptions.length > 0 ? (\n \n {selectedContactOptions.map((contact, index) => {\n return (\n handleRemoveContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const verticalCCContentMarkup =\n selectedCCContactOptions.length > 0 ? (\n \n {selectedCCContactOptions.map((contact, index) => {\n return (\n handleRemoveCCContact(contact)}\n >\n {contact.attributes.full_name}\n \n );\n })}\n \n ) : null;\n\n const contactShareTextField = (\n <>\n }\n placeholder=\"Add people\"\n value={contactSearchValue}\n verticalContent={verticalContentMarkup}\n disabled={isLoadingContact}\n />\n \n );\n\n const ccTextField = (\n <>\n \n \n );\n\n const {\n fields,\n submit,\n submitting,\n reset,\n submitErrors,\n makeClean,\n dirty: newContactFormDirty,\n } = useForm({\n fields: {\n firstname: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n lastname: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n phone: useField({\n value: \"\",\n validates: [],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n (email) => {\n if (email.length <= 3 || !validateEmail(email)) {\n return \"Email must be valid\";\n }\n },\n ],\n }),\n },\n async onSubmit(form) {\n return createOpportunityContact({\n opportunityId: opportunityId,\n notifyContacts: true,\n inviteUser: true,\n notifMsg: notifMsg,\n cc_contact_ids: selectedCCContactOptionIds || null,\n contact: { ...form },\n })\n .unwrap()\n .then(() => {\n reset();\n setSelectedContactOptionIds([]);\n setSelectedContactOptions([]);\n setContactSearchValue(\"\");\n\n setShowNewContactForm(false);\n onShowNewContactForm(false);\n setNotifyContacts(true);\n setNotifMsg(\"\");\n setNotifSubject(\n `${currentContact?.attributes?.full_name} sent you a proposal on Fortify`\n );\n onAfterShareWithContacts();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n });\n\n useEffect(() => {\n if (fields.firstname.value.length > 0) {\n setNotifMsg(\n `Hi ${fields.firstname.value}, here's the latest proposal for your review. To access these options, create an account on Fortify by following the link below.`\n );\n }\n }, [fields.firstname.value]);\n\n return <>\n {showNewContactForm ? (\n \n \n \n\n \n \n\n \n \n\n {!showCCTextBox && (\n {\n setShowCCTextBox(true);\n }}\n >\n CC\n \n )}\n\n {showCCTextBox && (\n <>\n \n
    \n \n )}\n\n \n \n
    \n ) : (\n <>\n \n\n \n \n \n\n {notifyContacts && selectedContactOptions.length > 0 && (\n
    \n {!showCCTextBox && (\n {\n setShowCCTextBox(true);\n }}\n variant=\"plain\"\n >\n CC\n \n )}\n\n {showCCTextBox && (\n <>\n \n
    \n \n )}\n\n \n Subject\n \n
    \n \n\n
    \n\n \n Message\n \n
    \n \n
    \n )}\n \n \n \n \n )}\n ;\n});\n\nOpportunityContactForm.displayName = \"OpportunityContactForm\";\nOpportunityContactForm.propTypes = {\n contactId: PropTypes.string,\n onNewContact: PropTypes.func,\n onShowNewContactForm: PropTypes.func,\n onAfterShareWithContacts: PropTypes.func,\n onSelectContact: PropTypes.func,\n onDeselectContacts: PropTypes.func,\n opportunityId: PropTypes.string,\n setSelectedContactEmails: PropTypes.func,\n};\n\nexport default OpportunityContactForm;\n","import React, { useState, useCallback, useRef, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport pluralize from \"pluralize\";\nimport {\n Modal,\n Button,\n ButtonGroup,\n Icon,\n Text,\n BlockStack,\n InlineStack,\n} from \"@shopify/polaris\";\nimport {\n LinkIcon,\n LockIcon,\n GlobeIcon,\n EmailIcon,\n} from \"@shopify/polaris-icons\";\n\nimport OpportunityContactForm from \"../OpportunityContact/Form\";\nimport OpportunityContactList from \"../OpportunityContact/List\";\nimport { useUpdateOpportunityMutation } from \"../../services/api\";\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nconst ShareModal = (props) => {\n const {\n contactId,\n opportunityId,\n opportunity,\n toggleShowToast,\n showContactShareModal,\n setCustomToastMessage,\n setShowContactShareModal,\n } = props;\n\n const [updateOpportunity, { isLoading: isUpdatingOpportunity }] =\n useUpdateOpportunityMutation();\n\n const [hideNewContactForm, setHideNewContactForm] = useState(false);\n const [showOpportunityContactList, setShowOpportunityContactList] =\n useState(true);\n\n const [isLoadingAccessToggle, setIsLoadingAccessToggle] = useState(false);\n const [isSharing, setIsSharing] = useState(false);\n const [hasContactsSelected, setHasContactsSelected] = useState(false);\n const [selectedContactEmails, setSelectedContactEmails] = useState([]);\n\n const { currentContact, isCustomer } = useContext(CurrentContactContext);\n\n const handleHideNewContactForm = useCallback((hide) => {\n setHideNewContactForm(hide);\n }, []);\n\n const handleSelectContact = () => {\n setHasContactsSelected(true);\n setShowOpportunityContactList(false);\n setIsSharing(true);\n };\n\n const handleDeselectContacts = () => {\n setHasContactsSelected(false);\n setShowOpportunityContactList(true);\n setIsSharing(false);\n };\n\n const handleNewContact = () => {\n setShowOpportunityContactList(false);\n setIsSharing(true);\n };\n\n const handleShareWithOrCreateContacts = () => {\n opportunityContactFormRef.current.handleShareWithOrCreateContacts();\n };\n\n const handleAfterShareWithContacts = () => {\n setIsSharing(false);\n setHideNewContactForm(false);\n setShowOpportunityContactList(true);\n setCustomToastMessage(\"Opportunity shared\");\n toggleShowToast();\n setShowContactShareModal(false);\n };\n\n const handleCancelSharing = () => {\n setShowOpportunityContactList(true);\n setHideNewContactForm(false);\n setIsSharing(false);\n opportunityContactFormRef.current.handleHideNewContactForm();\n opportunityContactFormRef.current.resetContactSelection();\n };\n\n const handleAfterRemoveOpportunityContacts = (removedContactsLength) => {\n setCustomToastMessage(\n `${pluralize(\"Contact\", removedContactsLength)} removed`\n );\n toggleShowToast();\n };\n\n const toggleAccess = () => {\n setIsLoadingAccessToggle(true);\n return updateOpportunity({\n id: opportunityId,\n public: !opportunity.attributes.public,\n })\n .unwrap()\n .then(() => {\n setCustomToastMessage(\"Access updated\");\n toggleShowToast();\n\n setTimeout(() => {\n setIsLoadingAccessToggle(false);\n }, 800);\n return { status: \"status\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const opportunityContactFormRef = useRef();\n\n const opportunityShareLink = () => {\n let hostname = window.location.hostname;\n hostname = hostname == \"localhost\" ? `${hostname}:3000` : hostname;\n return `${hostname}/opportunities/${opportunityId}/share`;\n };\n\n const copyOpportunityShareLink = () => {\n navigator.clipboard.writeText(opportunityShareLink());\n setCustomToastMessage(\"Link copied\");\n toggleShowToast();\n };\n\n // const copyOpportunityShareLink = () => {\n // let hostname = window.location.hostname;\n // hostname = hostname == \"localhost\" ? `${hostname}:3000` : hostname;\n // const opportunityShareLink = `${hostname}/opportunities/${opportunityId}/share`;\n // navigator.clipboard.writeText(opportunityShareLink);\n // setCustomToastMessage(\"Link copied\");\n // toggleShowToast();\n // };\n\n const launchEmailClient = useCallback(() => {\n const subject = `Purchase options for ${opportunity.attributes.name}`;\n const body = `Hello,%0D%0A%0D%0APlease see your opportunity link here: ${opportunityShareLink()}%0D%0A%0D%0ABe sure to save support@fortifypay.com to your contacts so you never miss an important update regarding your purchase.%0D%0A%0D%0ALet us know if you have any questions,%0D%0A%0D%0A${\n currentContact?.attributes?.full_name || \"\"\n }`;\n const email =\n selectedContactEmails.length > 0\n ? `mailto:${selectedContactEmails}?subject=${subject}&body=${body}`\n : `mailto:?subject=${subject}&body=${body}`;\n\n window.open(email, \"_blank\");\n }, [selectedContactEmails]);\n\n const handleCloseModal = () => {\n handleCancelSharing();\n setShowContactShareModal(false);\n };\n\n return (\n {\n setShowContactShareModal(false);\n },\n }\n }\n secondaryActions={\n isSharing ? [{ content: \"Cancel\", onAction: handleCancelSharing }] : []\n }\n footer={\n !isSharing ? (\n \n \n {currentContact && !isCustomer && (\n \n )}\n \n ) : hasContactsSelected && currentContact && !isCustomer ? (\n \n ) : null\n }\n // secondaryActions={[\n // {\n // content: \"Copy link\",\n // icon: ,\n // onAction: () => copyOpportunityShareLink(),\n // },\n // ]}\n >\n \n {\n handleHideNewContactForm(hide);\n }}\n onAfterShareWithContacts={handleAfterShareWithContacts}\n onNewContact={handleNewContact}\n onSelectContact={handleSelectContact}\n onDeselectContacts={handleDeselectContacts}\n setSelectedContactEmails={setSelectedContactEmails}\n opportunityId={opportunityId}\n contactId={contactId}\n ref={opportunityContactFormRef}\n />\n \n {!hideNewContactForm && showOpportunityContactList && (\n \n
    \n \n People with acccess\n \n
    \n \n
    \n )}\n {currentContact && !isCustomer && !isSharing && (\n \n \n \n General access\n \n \n \n \n \n \n {opportunity.attributes.public ? (\n \n \n Anyone with the link can view\n \n

    Anyone on the internet with the link can view.

    \n
    \n ) : (\n \n \n Restricted\n \n

    Only people with access can open the link.

    \n
    \n )}\n
    \n {\n toggleAccess();\n }}\n >\n {opportunity.attributes.public ? \"Make private\" : \"Make public\"}\n \n
    \n
    \n
    \n )}\n \n );\n};\n\nShareModal.propTypes = {\n contactId: PropTypes.string,\n opportunityId: PropTypes.string,\n opportunity: PropTypes.object,\n toggleShowToast: PropTypes.func,\n setCustomToastMessage: PropTypes.func,\n showContactShareModal: PropTypes.bool,\n setShowContactShareModal: PropTypes.func,\n};\n\nexport default ShareModal;\n","import React from \"react\";\n\nimport {\n BlockStack,\n Spinner,\n InlineStack,\n Text,\n Box,\n SkeletonBodyText,\n} from \"@shopify/polaris\";\nimport { Pip } from \"@shopify/polaris/build/esm/components/Badge/components/Pip/Pip\";\n\nimport PropTypes from \"prop-types\";\nimport { useGetOpportunityTasksQuery } from \"../../services/api\";\n\nconst TaskList = (props) => {\n const { opportunityId } = props;\n\n const { data: tasks, isLoading: isLoadingTasks } =\n useGetOpportunityTasksQuery(opportunityId, { skip: !opportunityId });\n\n return (\n <>\n {isLoadingTasks && (\n \n {[...Array(5)].map((_, index) => {\n return (\n \n \n \n );\n })}\n \n )}\n\n {!isLoadingTasks && (\n \n {tasks?.map((task, index) => {\n return (\n \n \n \n \n\n \n {task.attributes.description}\n \n \n );\n })}\n \n )}\n \n );\n};\n\nTaskList.propTypes = {\n opportunityId: PropTypes.string.isRequired,\n};\n\nexport default TaskList;\n","import React, { useState, useCallback } from \"react\";\n\nimport {\n InlineStack,\n Text,\n ProgressBar,\n Box,\n Button,\n Popover,\n Card,\n Bleed,\n} from \"@shopify/polaris\";\nimport { CaretDownIcon } from \"@shopify/polaris-icons\";\n\nimport PropTypes from \"prop-types\";\nimport TaskList from \"./TaskList\";\n\nconst TaskListProgressBar = (props) => {\n const {\n completedTasksCount = 0,\n totalTasksCount = 0,\n opportunityId,\n hasPopover = true,\n } = props;\n\n const progress = ((completedTasksCount || 0) / (totalTasksCount || 1)) * 100;\n\n const [popoverActive, setPopoverActive] = useState(false);\n const togglePopoverActive = useCallback(\n () => setPopoverActive((popoverActive) => !popoverActive),\n []\n );\n\n const progressBarContent = (\n \n \n \n \n \n {completedTasksCount || \"-\"}\n \n \n /\n \n \n {totalTasksCount || \"-\"}\n \n \n \n\n {hasPopover && (\n \n \n \n \n \n )}\n \n );\n\n const popoverActivator = (\n
    \n {progressBarContent}\n
    \n );\n\n const popover = (\n \n \n \n \n \n );\n\n return hasPopover ? popover : progressBarContent;\n};\n\nTaskListProgressBar.propTypes = {\n completedTasksCount: PropTypes.number,\n totalTasksCount: PropTypes.number,\n hasPopover: PropTypes.bool,\n opportunityId: PropTypes.string,\n};\n\nexport default TaskListProgressBar;\n","import React, { useState, useEffect } from \"react\";\n\nimport {\n Box,\n TextField,\n Button,\n BlockStack,\n Form,\n FormLayout,\n Badge,\n Text,\n InlineStack,\n Card,\n Spinner,\n Scrollable,\n ButtonGroup,\n Icon,\n List,\n Bleed,\n} from \"@shopify/polaris\";\nimport {\n CalendarIcon,\n ChatIcon,\n CheckSmallIcon,\n GaugeIcon,\n ListBulletedIcon,\n} from \"@shopify/polaris-icons\";\nimport { useField, useForm } from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\nimport {\n useCreateCreditPreviewMutation,\n useGetCreditPreviewQuery,\n} from \"../../services/api\";\nimport { formatLongDateTime } from \"../../utilities\";\n\nconst CreditPreview = (props) => {\n const {\n opportunityId = null,\n viewOnly = false,\n creditPreviewId = null,\n } = props;\n\n const [createCreditPreview, { isLoading: isCreatingCreditPreview }] =\n useCreateCreditPreviewMutation();\n\n const {\n data: creditPreview = { attributes: {} },\n isLoading: isLoadingCreditPreview,\n } = useGetCreditPreviewQuery({ opportunityId, creditPreviewId });\n\n const [isRequestingCreditPreview, setIsRequestingCreditPreview] =\n useState(true);\n\n const { fields, submit, submitting, makeClean, reset } = useForm({\n fields: {\n input: useField({\n value: \"\",\n validates: [],\n }),\n },\n async onSubmit(form) {\n return createCreditPreview({\n opportunityId: opportunityId,\n input: form.input,\n })\n .unwrap()\n .then((response) => {\n reset();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Failed to create credit preview\" }],\n };\n });\n },\n });\n\n useEffect(() => {\n if (creditPreview?.id) {\n setIsRequestingCreditPreview(false);\n }\n }, [creditPreview]);\n\n const handleRequestCreditPreview = () => {\n reset();\n setIsRequestingCreditPreview(true);\n };\n\n const badgeTone =\n creditPreview?.attributes?.grade === \"green\"\n ? \"success\"\n : creditPreview?.attributes?.grade === \"yellow\"\n ? \"warning\"\n : creditPreview?.attributes?.grade === \"red\"\n ? \"critical\"\n : \"info\";\n\n const badgeEmoji =\n creditPreview?.attributes?.grade === \"green\"\n ? \"🟢 \"\n : creditPreview?.attributes?.grade === \"yellow\"\n ? \"🟡 \"\n : creditPreview?.attributes?.grade === \"red\"\n ? \"🔴 \"\n : \"⚪️ \";\n\n const badgeContent = (\n <>\n {badgeEmoji}\n {creditPreview?.attributes?.grade?.charAt(0).toUpperCase() +\n creditPreview?.attributes?.grade?.slice(1)}\n \n );\n\n const cardIsLoading = isLoadingCreditPreview || isCreatingCreditPreview;\n\n return (\n \n \n \n \n Credit preview\n \n\n {cardIsLoading ? (\n \n \n \n \n \n ) : creditPreview?.id && !isRequestingCreditPreview ? (\n \n \n \n \n \n \n {badgeContent}\n \n \n\n \n \n \n \n\n \n Requested{\" \"}\n {formatLongDateTime(\n new Date(creditPreview?.attributes?.created_at)\n )}\n \n \n\n {creditPreview?.attributes?.suggested_action_items?.length >\n 0 && (\n \n \n \n \n \n SUGGESTED ACTION ITEMS\n \n \n \n\n {creditPreview.attributes.suggested_action_items.map(\n (item) => (\n \n \n \n \n \n {item}\n \n \n )\n )}\n \n \n )}\n\n \n \n \n \n \n \n {creditPreview.attributes.rationale ||\n \"No rationale given.\"}\n \n \n \n \n ) : viewOnly ? (\n \n No credit previews for this client. Request a credit preview from\n an opportunity detail page.\n \n ) : (\n
    \n \n \n \n \n Request preview\n \n {creditPreview?.id && (\n {\n reset();\n setIsRequestingCreditPreview(false);\n }}\n >\n Cancel\n \n )}\n \n \n
    \n )}\n\n {!isRequestingCreditPreview && !viewOnly && (\n \n )}\n \n \n
    \n );\n};\n\nexport default CreditPreview;\n\nCreditPreview.propTypes = {\n opportunityId: PropTypes.string.isRequired,\n viewOnly: PropTypes.bool,\n creditPreviewId: PropTypes.string,\n};\n","import React, { useState, useCallback, useEffect, useContext } from \"react\";\nimport { useParams, useHistory, useLocation } from \"react-router-dom\";\nimport { usePostHog } from \"posthog-js/react\";\nimport { isMobile } from \"react-device-detect\";\n\nimport {\n Badge,\n Divider,\n Box,\n Link,\n Page,\n Banner,\n Layout,\n Button,\n TextField,\n Modal,\n Checkbox,\n Spinner,\n ProgressBar,\n InlineError,\n List,\n Icon,\n Thumbnail,\n Toast,\n ResourceItem,\n Truncate,\n ResourceList,\n BlockStack,\n LegacyStack,\n EmptyState,\n Tag,\n Text,\n InlineStack,\n Card,\n FormLayout,\n ChoiceList,\n} from \"@shopify/polaris\";\nimport {\n NoteIcon,\n StoreIcon,\n CheckIcon,\n ViewIcon,\n EditIcon,\n} from \"@shopify/polaris-icons\";\n\nimport OpportunityTab from \"../../components/Nav/OpportunityTab\";\nimport FinancingOptionList from \"../../components/FinancingOption/List\";\nimport DelayRender from \"../../components/DelayRender\";\nimport OpportunityShowSkeletonPage from \"../../components/Opportunity/SkeletonPage\";\nimport AddTagModalComponent from \"../../components/Opportunity/AddTagModal\";\n\nimport {\n useGetOpportunityQuery,\n useGetClientQuery,\n useUpdateOpportunityMutation,\n useUpdateOpportunityStageMutation,\n useCreateDocusignEmbeddedSigningMutation,\n useGetOpportunityCreditSubmissionsQuery,\n useGetOpportunityAttachmentsQuery,\n useCreateCreditReviewMutation,\n useGetOpportunityContactsQuery,\n useDeleteOpportunitiesMutation,\n usePushHubspotUpdateMutation,\n useUpdateTagOpportunitiesMutation,\n useGetTagsQuery,\n useGetOpportunityTagsQuery,\n useUpdateOpportunityTagsMutation,\n} from \"../../services/api\";\n\nimport OpportunitiesFundingChecklist from \"./FundingChecklist\";\nimport OpportunitiesPaymentsAndReview from \"./PaymentsAndReview\";\nimport OpportunitiesEmbeddedSending from \"./EmbeddedSending\";\n\nimport InternalFundingRequirements from \"./OpportunityDocuments/InternalFundingRequirements\";\n\nimport VendorPaymentList from \"../../components/VendorPayment/List\";\nimport Confetti from \"../../components/Confetti\";\nimport CardBoxTitle from \"../../components/Card/BoxTitle\";\nimport {\n formatMillisecondsToMinutes,\n formatLongDateTime,\n formatNumericDate,\n capitalizeFirstLetter,\n formatCurrency,\n} from \"../../utilities\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nimport OpportunityCommentList from \"../../components/Comment/OpportunityCommentList\";\nimport FourZeroFour from \"../../components/404\";\nimport LoadingScreen from \"../../components/Auth/Loading\";\n\nimport emptySearchCompanies from \"../../assets/emptySearchCompanies.svg\";\nimport OpportunityOriginatorForm from \"../../components/Opportunity/OriginatorForm\";\nimport OpportunityContactAvatarList from \"../../components/OpportunityContact/AvatarList\";\nimport ShareModal from \"../../components/Opportunity/ShareModal\";\nimport TaskListProgressBar from \"../../components/Opportunity/TaskListProgressBar\";\nimport CreditPreview from \"../../components/Opportunity/CreditPreview\";\nimport { useToast } from \"../../contexts/Toast\";\n\nconst OpportunitiesShow = () => {\n const history = useHistory();\n const location = useLocation();\n const posthog = usePostHog();\n\n const { showToastWithMessage } = useToast();\n\n const {\n currentContact,\n currentContactHasPermission,\n isLoadingPermissions,\n isOrganizationAdmin,\n isVendorAdmin,\n isFinanceSpecialist,\n isCustomer,\n } = useContext(CurrentContactContext);\n\n const [openSelectTagModal, setOpenSelectTagModal] = useState(false);\n\n const { id: opportunityId, clientId } = useParams();\n\n const navigateToOpportunityShare = useCallback(() => {\n history.push({\n pathname: `/opportunities/${opportunityId}/share`,\n });\n }, [history, opportunityId]);\n\n const navigateToRequestAccess = useCallback(() => {\n history.push({\n pathname: `/request_access/clients/${clientId}/opportunities/${opportunityId}`,\n });\n }, [clientId, history, opportunityId]);\n\n const { opportunity: opportunityObject } = location?.state?.opportunity\n ? location.state\n : {\n opportunity: { attributes: {} },\n };\n\n useEffect(() => {\n // check if current contact has access to this opportunity\n // redirect to request access page for denied access\n if (isLoadingPermissions) return;\n if (isOrganizationAdmin) return;\n if (currentContact.attributes.opportunity_ids.includes(opportunityId)) {\n if (isCustomer) {\n navigateToOpportunityShare();\n return;\n } else {\n return;\n }\n }\n\n navigateToRequestAccess();\n }, [\n currentContact.attributes.opportunity_ids,\n isCustomer,\n isLoadingPermissions,\n isOrganizationAdmin,\n opportunityId,\n navigateToRequestAccess,\n navigateToOpportunityShare,\n ]);\n\n useEffect(() => {\n return () => posthog?.reset();\n // Dependencies are intentionally omitted, this effect should only run once\n // on mount and run the cleanup function on unmount.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const {\n data: opportunity = opportunityObject,\n isLoading: isLoadingOpportunity,\n refetch: refetchOpportunity,\n error: opportunityError,\n isSuccess: isOpportunitySuccess,\n } = useGetOpportunityQuery(opportunityId);\n\n const {\n data: tags,\n isLoading: fetchingTags,\n refetch: refetchTags,\n } = useGetOpportunityTagsQuery(opportunityId);\n\n const [updateOpportunityTags, { isLoading: isUpdatingOpportunityTags }] =\n useUpdateOpportunityTagsMutation();\n\n useEffect(() => {\n if (!isLoadingOpportunity) {\n posthog?.group(\"opportunity\", opportunityId, opportunity.attributes);\n }\n }, [isLoadingOpportunity, opportunityId, opportunity, posthog]);\n\n const [deleteOpportunities, { isLoading: isDeleting }] =\n useDeleteOpportunitiesMutation();\n\n const [updateTagOpportunities, { isLoading: isTagging }] =\n useUpdateTagOpportunitiesMutation();\n\n const [documentList, setDocumentList] = useState([]);\n useEffect(() => {\n if (opportunity?.attributes?.document_package_list) {\n setDocumentList(opportunity.attributes.document_package_list);\n }\n\n return () => setDocumentList([]);\n }, [opportunity.attributes.document_package_list]);\n\n const { data: client = { attributes: {} }, isLoading: isLoadingClient } =\n useGetClientQuery(clientId || opportunity.attributes.client_id, {\n skip: !clientId && !opportunity.attributes.client_id,\n });\n\n const {\n data: opportunityContacts = [],\n isLoading: isLoadingOpportunityContacts,\n } = useGetOpportunityContactsQuery(opportunityId, { skip: !opportunityId });\n\n const {\n data: opportunityAttachments,\n refetch: refetchOpportunityAttachments,\n } = useGetOpportunityAttachmentsQuery(\n { opportunityId: opportunityId, isPublic: false },\n { skip: !opportunityId }\n );\n\n const navigateToAccountShow = () => {\n if (isOrganizationAdmin) {\n history.push({\n pathname: `/admin/clients/${clientId}`,\n });\n } else {\n history.push({\n pathname: `/clients/${clientId}`,\n state: { client: client },\n });\n }\n };\n\n const [updateOpportunity, { isLoading: isUpdatingOpportunity }] =\n useUpdateOpportunityMutation();\n\n const [updateOpportunityStage, { isLoading: isUpdatingOpportunityStage }] =\n useUpdateOpportunityStageMutation();\n\n const [\n createDocusignEmbeddedSigning,\n { isLoading: isCreatingDocusignEmbeddedSigning },\n ] = useCreateDocusignEmbeddedSigningMutation();\n\n const [isLoadingAccessToggle, setIsLoadingAccessToggle] = useState(false);\n const [docusignRedirectUrl, setDocusignRedirectUrl] = useState();\n const [\n docusignRedirectUrlExpirationCounter,\n setDocusignRedirectUrlExpirationCounter,\n ] = useState(5000);\n\n const [showGenereateDocsError, setShowGenerateDocsError] = useState(false);\n const generateDocs = () => {\n const body = {\n opportunityId: opportunityId,\n };\n\n return createDocusignEmbeddedSigning({\n opportunityId: opportunityId,\n ...body,\n })\n .then((response) => {\n if (response.data.redirect_url) {\n const fiveMinutesAsMilliseconds = 5 * 60 * 1000;\n setDocusignRedirectUrlExpirationCounter(fiveMinutesAsMilliseconds);\n setDocusignRedirectUrl(response.data.redirect_url);\n }\n\n return { status: \"success\" };\n })\n .catch((error) => {\n setShowGenerateDocsError(true);\n console.log(error);\n\n return { status: \"failure\" };\n });\n };\n\n const isOpportunityTbd = opportunity?.attributes?.human_stage_name === \"TBD\";\n const isOpportunityClosedLost =\n opportunity?.attributes?.human_stage_name === \"Closed lost\";\n const isOpportunityClosedWon =\n opportunity?.attributes?.human_stage_name === \"Closed won\";\n const isOpportunityFunded =\n opportunity?.attributes?.human_stage_name === \"Funded\" ||\n isOpportunityClosedWon;\n const isOpportunityOpen =\n !isOpportunityClosedLost && !isOpportunityFunded && !isOpportunityTbd;\n\n const handleOpportunityStatusUpdate = useCallback(\n (status = \"open\") => {\n return updateOpportunityStage({\n id: opportunityId,\n stage_name: status,\n })\n .unwrap()\n .then(() => {\n handleCloseModal();\n showToastWithMessage(\n `Opportunity ${\n status === \"open\"\n ? \"opened\"\n : status === \"closed_won\"\n ? \"closed - won\"\n : \"closed - lost\"\n }`\n );\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n },\n [opportunityId, showToastWithMessage, updateOpportunityStage]\n );\n\n const [activeGenerateDocumentsModal, setActiveGenerateDocumentsModal] =\n useState(false);\n\n const [showOpportunityStatusModal, setShowOpportunityStatusModal] =\n useState(false);\n\n const handleCloseModal = () => {\n setActiveGenerateDocumentsModal(false);\n setShowShareTermsConfirmation(true);\n setCheckedConfirmSend(false);\n setShowOpportunityStatusModal(false);\n setProgress(0);\n };\n\n const [\n selectedOpportunityClosedStatus,\n setSelectedOpportunityClosedLostStatus,\n ] = useState([\"won\"]);\n\n const handleChangeOpportunityClosedStatus = useCallback(\n (value) => setSelectedOpportunityClosedLostStatus(value),\n []\n );\n\n const handleConfirmOpportunityStatusChange = useCallback(() => {\n if (!isOpportunityOpen) return handleOpportunityStatusUpdate(\"open\");\n\n if (selectedOpportunityClosedStatus.includes(\"lost\"))\n return handleOpportunityStatusUpdate(\"closed_lost\");\n if (selectedOpportunityClosedStatus.includes(\"won\"))\n return handleOpportunityStatusUpdate(\"closed_won\");\n }, [\n handleOpportunityStatusUpdate,\n isOpportunityOpen,\n selectedOpportunityClosedStatus,\n ]);\n\n const opportunityStatusModal = (\n \n {isOpportunityOpen ? (\n \n \n \n \n \n ) : (\n \n \n Mark this opportunity as{\" \"}\n \n open\n \n . You will be able to continue working on this opportunity.\n \n \n )}\n \n );\n\n const navigateToFinancingOptionsShare = () => {\n window.open(`/opportunities/${opportunityId}/share`, \"_blank\");\n };\n\n const [createCreditReview, { isLoading: isCreatingCreditReview }] =\n useCreateCreditReviewMutation();\n\n const requestCreditReviewAction = () => {\n let body = {};\n\n return createCreditReview({\n opportunityId: opportunityId,\n ...body,\n })\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n\n return { status: \"failure\" };\n });\n };\n\n const [pushHubspotUpdate, { isLoading: isPushingHubspotUpdate }] =\n usePushHubspotUpdateMutation();\n\n const pushToHubspotAction = () => {\n return pushHubspotUpdate({\n opportunityId: opportunityId,\n })\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n\n return { status: \"failure\" };\n });\n };\n\n const [showShareTermsConfirmation, setShowShareTermsConfirmation] =\n useState(true);\n const [checkedConfirmSend, setCheckedConfirmSend] = useState(false);\n const [progress, setProgress] = useState(0);\n\n const handleConfirmSendChange = useCallback(\n (newChecked) => setCheckedConfirmSend(newChecked),\n []\n );\n\n const handleConfirmSendTerms = () => {\n setShowShareTermsConfirmation(false);\n generateDocs();\n };\n\n const [newVendorTagInputs, setNewVendorTagInputs] = useState({});\n const handleAddNewVendorTag = (tagName, vendor) => {\n let vendorTagInputs = JSON.parse(JSON.stringify(newVendorTagInputs));\n vendorTagInputs[vendor] = tagName;\n\n setNewVendorTagInputs(vendorTagInputs);\n };\n\n const returnTagDetailsFromAllTags = (id) => {\n for (let i = 0; i < choiceListTags.length; i++) {\n if (choiceListTags[i].value == id) {\n return choiceListTags[i];\n }\n }\n };\n\n const handleTagOpportunities = () => {\n // Format existing tags\n let tagsToUpdate = [];\n for (let i = 0; i < selectedTag.length; i++) {\n tagsToUpdate.push(returnTagDetailsFromAllTags(selectedTag[i]));\n }\n\n // Format new vendor tags\n for (let i = 0; i < Object.keys(newVendorTagInputs).length; i++) {\n let vendorName = Object.keys(newVendorTagInputs)[i];\n let tagName = newVendorTagInputs[vendorName];\n tagsToUpdate.push({ label: tagName, tagType: vendorName });\n }\n\n return updateOpportunityTags({\n opportunityId: opportunityId,\n tags: tagsToUpdate,\n })\n .unwrap()\n .then((response) => {\n setOpenSelectTagModal(false);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n useEffect(() => {\n if (!showShareTermsConfirmation) {\n let interval = setInterval(\n () =>\n setProgress((progress) => {\n if (progress <= 99) {\n return (progress += 1);\n } else {\n clearInterval(interval);\n return 100;\n }\n }),\n 75\n );\n }\n\n return () => setProgress(0);\n }, [showShareTermsConfirmation]);\n\n const handleExpiredEmbeddedSigningToken = useCallback(async () => {\n try {\n await updateOpportunity({\n id: opportunity.id,\n embedded_signing_token_expired: true,\n }).unwrap();\n refetchOpportunity();\n return { status: \"success\" };\n } catch (error) {\n console.log(error);\n }\n }, [opportunity.id, refetchOpportunity, updateOpportunity]);\n\n useEffect(() => {\n if (docusignRedirectUrl) {\n docusignRedirectUrlExpirationCounter > 0 &&\n setTimeout(() => {\n setDocusignRedirectUrlExpirationCounter(\n docusignRedirectUrlExpirationCounter - 1000\n );\n }, 1000);\n\n if (\n docusignRedirectUrlExpirationCounter <= 0 &&\n !opportunity.attributes.embedded_signing_token_expired\n ) {\n handleExpiredEmbeddedSigningToken();\n }\n }\n\n return () => setDocusignRedirectUrlExpirationCounter(5000);\n }, [\n docusignRedirectUrl,\n docusignRedirectUrlExpirationCounter,\n handleExpiredEmbeddedSigningToken,\n opportunity.attributes.embedded_signing_token_expired,\n ]);\n\n const handleNavigateToDocusignRedirectUrl = useCallback(() => {\n handleExpiredEmbeddedSigningToken();\n window.location = docusignRedirectUrl;\n }, [docusignRedirectUrl, handleExpiredEmbeddedSigningToken]);\n\n const confirmDocumentsModalCheckboxLabel = (\n <>I am ready for the customer to receive the following document package:\n );\n const generateDocumentsModal = (\n \n \n {showGenereateDocsError && (\n \n We were unable to generate the document package you requested due to\n a system error. Please try again in a few minutes.\n \n )}\n\n {showShareTermsConfirmation &&\n opportunity?.attributes?.has_accepted_financing_option &&\n opportunity?.attributes?.generate_documents_requested_at && (\n
    \n \n

    \n Re-generating documents will void any pre-existing document\n package.\n

    \n {opportunity.attributes.generate_documents_requested_at && (\n

    \n Documents were last generated on{\" \"}\n {formatLongDateTime(\n new Date(\n opportunity.attributes.generate_documents_requested_at\n )\n )}\n .\n

    \n )}\n
    \n

    \n
    \n )}\n\n {showShareTermsConfirmation && (\n \n \n Please confirm:\n \n \n
    \n \n {documentList.map((document_name, index) => {\n return (\n \n {document_name}\n \n );\n })}\n \n
    \n )}\n\n {!showShareTermsConfirmation &&\n !docusignRedirectUrl &&\n !showGenereateDocsError && (\n <>\n \n \n \n \n \n
    \n \n \n \n {progress < 100\n ? \"Creating document package... \"\n : \"Sending document package to Docusign... \"}\n \n {progress >= 100 && (\n \n \n \n )}\n \n \n \n )}\n\n {docusignRedirectUrl && (\n \n

    \n Financing documents have been emailed to the primary contact for\n signature. No further action required.\n

    \n

    \n You can also access the documents for in-person signing before the\n signing link expires.\n

    \n \n Time left:{\" \"}\n {formatMillisecondsToMinutes(\n docusignRedirectUrlExpirationCounter\n )}\n \n {docusignRedirectUrlExpirationCounter <= 0 && (\n \n )}\n
    \n )}\n
    \n \n );\n\n const [showToast, setShowToast] = useState(location?.state?.showToast);\n const [customToastMessage, setCustomToastMessage] = useState(\"\");\n const toggleShowToast = useCallback(\n () => setShowToast((active) => !active),\n []\n );\n const handleDismissToast = () => {\n const { state: currentState } = location;\n if (currentState) {\n delete currentState.toastMessage;\n delete currentState.showToast;\n }\n\n window.history.replaceState({ ...currentState }, \"\");\n setCustomToastMessage(\"\");\n toggleShowToast();\n };\n const toastMarkup = showToast ? (\n \n ) : undefined;\n\n const bulkDeleteOpportunities = () => {\n const opportunityIds = [opportunityId];\n\n return deleteOpportunities({\n opportunityIds: opportunityIds,\n })\n .unwrap()\n .then(() => {\n // Redirect to Home Index\n navigateToHome();\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n const [selectedTag, setSelectedTag] = useState([]);\n const [choiceListTags, setChoiceListTags] = useState([]);\n const handleSelectedTagChange = useCallback((tagVal) => {\n setSelectedTag(tagVal);\n }, []);\n const handleOpenConfirmationModal = () => {\n setOpenConfirmationModal(true);\n };\n const handleCloseConfirmationModal = () => {\n setOpenConfirmationModal(false);\n };\n const handleConfirmDeleteModal = () => {\n bulkDeleteOpportunities();\n setOpenConfirmationModal(false);\n };\n\n const areYouSureModal = (\n \n \n \n You are about to delete this opportunity. This action cannot be\n undone.\n \n \n \n );\n\n const accountsResourceList = (\n renderAccountItem(item)}\n loading={isLoadingClient}\n />\n );\n\n const renderAccountItem = (item) => {\n const {\n id,\n attributes: { name },\n } = item;\n const thumbnail = (\n \n );\n return (\n \n \n \n \n {name}\n \n \n \n \n );\n };\n\n function creatorMessage(opportunity) {\n return `Created by ${opportunity.attributes.creator_name}\n on\n ${formatLongDateTime(new Date(opportunity.attributes.created_at))}`;\n }\n\n const internalFundingAttachments = (\n \n );\n\n const [notes, setNotes] = useState(\"\");\n const [notesDirtyFlag, setNotesDirtyFlag] = useState(false);\n\n useEffect(() => {\n if (opportunity.attributes.notes) {\n setNotes(opportunity.attributes.notes);\n }\n }, [opportunity.attributes.notes]);\n\n const handleNoteChange = useCallback((newValue) => {\n setNotesDirtyFlag(true);\n setNotes(newValue);\n }, []);\n\n const updateNotes = () => {\n const form = { notes: notes };\n\n return updateOpportunity({ id: opportunity.id, ...form })\n .unwrap()\n .then(() => {\n setNotesDirtyFlag(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n setNotesDirtyFlag(false);\n console.log(error);\n });\n };\n\n const toggleAccess = () => {\n setIsLoadingAccessToggle(true);\n return updateOpportunity({\n id: opportunity.id,\n public: !opportunity.attributes.public,\n })\n .unwrap()\n .then(() => {\n setCustomToastMessage(\"Access updated\");\n toggleShowToast();\n\n setTimeout(() => {\n setIsLoadingAccessToggle(false);\n }, 800);\n return { status: \"status\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const pendingReviewBanner = opportunity?.attributes?.human_stage_name ===\n \"Approval Request\" && (\n \n \n The FORT credit team is reviewing the available finance options. You\n will be notified with a credit decision shortly.{\" \"}\n \n Learn more about credit decisions\n \n \n
    \n
    \n );\n\n const [selectedOriginator, setSelectedOriginator] = useState([]);\n\n useEffect(() => {\n if (opportunity?.attributes?.originator_id) {\n setSelectedOriginator([\n {\n id: opportunity.attributes.originator_id,\n attributes: {\n full_name: opportunity.attributes.originator_name,\n team_name: opportunity.attributes.originator_team_name,\n },\n },\n ]);\n }\n }, [opportunity]);\n\n const handleUpdateOriginator = () => {\n setCustomToastMessage(\"Originator updated\");\n toggleShowToast();\n };\n\n const [showContactShareModal, setShowContactShareModal] = useState(false);\n\n const handleAfterShareWithContacts = () => {\n posthog?.capture(\"Opportunity shared\");\n setCustomToastMessage(\"Access updated\");\n toggleShowToast();\n setShowContactShareModal(false);\n };\n\n const handleOpportunityContactAvatarClick = () => {\n setShowContactShareModal(true);\n };\n\n const contactShareModal = (\n \n );\n\n const [showOtherDetailsModal, setShowOtherDetailsModal] = useState(false);\n const [customIdValue, setCustomIdValue] = useState(\"\");\n const [documentationFee, setDocumentationFee] = useState(\n opportunity.attributes.documentation_fee\n );\n const [installDateValue, setInstallDateValue] = useState(\"\");\n const [updatingOtherDetails, setUpdatingOtherDetails] = useState(false);\n\n const updateOtherDetails = () => {\n setUpdatingOtherDetails(true);\n const form = {\n install_date: installDateValue,\n external_identifier: customIdValue,\n documentation_fee: documentationFee,\n };\n\n return updateOpportunity({ id: opportunity.id, ...form })\n .unwrap()\n .then(() => {\n setUpdatingOtherDetails(false);\n setShowOtherDetailsModal(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n setUpdatingOtherDetails(false);\n console.log(error);\n });\n };\n\n const editOtherDetailsModal = (\n setShowOtherDetailsModal(false)}\n title={\"Edit Other details\"}\n primaryAction={{\n content: \"Save\",\n loading: isLoadingOpportunity || updatingOtherDetails,\n onAction: updateOtherDetails,\n }}\n >\n \n \n \n\n
    \n\n \n\n {isOrganizationAdmin && (\n <>\n
    \n \n \n )}\n
    \n
    \n \n );\n\n const defaultLayout = (\n \n {pendingReviewBanner}\n\n \n {/* Vendor quotes & invoices */}\n \n \n \n \n Vendor quotes\n \n \n \n {isOrganizationAdmin && (\n <>\n \n \n \n {creatorMessage(opportunity)}\n \n \n \n )}\n \n\n {/* Deal terms */}\n \n \n \n Purchase options\n \n \n \n \n \n\n {/* Comments */}\n {/* */}\n \n \n\n \n \n {/* Credit preview */}\n {(isOrganizationAdmin || isFinanceSpecialist) && (\n \n )}\n\n {/* Originator */}\n \n \n \n \n Contacts\n \n {\n setShowContactShareModal(true);\n }}\n >\n Share\n \n \n \n {(isOrganizationAdmin ||\n isVendorAdmin ||\n currentContactHasPermission(\n \"team_admin\",\n opportunity.attributes.originator_team_id\n )) && (\n \n \n Originator\n \n \n \n )}\n\n \n\n \n \n Shared with\n \n \n \n \n\n {/* Account profile */}\n \n \n Client\n \n {accountsResourceList}\n \n\n {/* Other Details */}\n \n \n \n Other details\n \n\n {\n if (opportunity.attributes.install_date) {\n setInstallDateValue(\n new Date(\n opportunity.attributes.install_date\n ).toLocaleDateString(\"en-CA\")\n );\n }\n if (opportunity.attributes.external_identifier) {\n setCustomIdValue(\n opportunity.attributes.external_identifier\n );\n }\n if (opportunity.attributes.documentation_fee) {\n setDocumentationFee(\n opportunity.attributes.documentation_fee\n );\n }\n setShowOtherDetailsModal(true);\n }}\n variant=\"plain\"\n >\n Edit\n \n \n\n \n \n Install date\n \n \n {opportunity.attributes.install_date\n ? formatNumericDate(\n new Date(opportunity.attributes.install_date)\n )\n : \"-\"}\n \n \n\n
    \n\n \n \n Custom ID\n \n \n {opportunity.attributes.external_identifier\n ? opportunity.attributes.external_identifier\n : \"-\"}\n \n \n\n
    \n\n {isOrganizationAdmin && (\n \n \n Documentation fee\n \n \n {opportunity.attributes.documentation_fee_formatted\n ? opportunity.attributes.documentation_fee_formatted\n : \"-\"}\n \n \n )}\n
    \n\n {/* Notes */}\n {isOrganizationAdmin && (\n \n \n \n Organization admin notes\n \n \n Only organization admins can see these notes\n \n \n \n {!notesDirtyFlag ? null : (\n \n \n updateNotes()}\n loading={isUpdatingOpportunity}\n >\n Save changes\n \n \n \n )}\n \n )}\n\n {/* Attachments */}\n {(isFinanceSpecialist || isOrganizationAdmin) &&\n internalFundingAttachments}\n
    \n
    \n
    \n );\n\n const navigateToHome = () => {\n history.push({\n pathname: `/`,\n });\n };\n\n const navigateToCreditSubmissionNew = () => {\n history.push({\n pathname: `/opportunities/${opportunityId}/credit_submissions/new`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const { data: creditSubmissions, isLoading: isLoadingCreditSubmissions } =\n useGetOpportunityCreditSubmissionsQuery(opportunityId);\n\n const creditSubmissionResourceName = {\n singular: \"credit submission\",\n plural: \"credit submissions\",\n };\n\n const navigateToCreditSubmission = (id) => {\n history.push({\n pathname: `/opportunities/${opportunityId}/credit_submissions/${id}`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const creditSubmissionResourceList = (item) => {\n const id = item.id;\n const {\n lender_name,\n decision,\n amount_requested,\n submitted_at,\n created_at,\n updated_at,\n selected_at,\n } = item.attributes;\n\n const decisionBadgeStatus = () => {\n let status;\n switch (decision) {\n case \"Approved\":\n status = \"success\";\n break;\n case \"Needs more info\":\n status = \"warning\";\n break;\n case \"Declined\":\n status = \"critical\";\n break;\n default:\n status = \"default\";\n break;\n }\n return status;\n };\n\n return (\n {\n navigateToCreditSubmission(id);\n }}\n accessibilityLabel={`View details for credit submission name`}\n verticalAlignment=\"center\"\n media={}\n >\n \n
    \n

    \n \n \n {lender_name} - {formatCurrency(amount_requested)}\n \n \n

    \n \n \n Submitted{\" \"}\n {formatLongDateTime(new Date(submitted_at || created_at))} •\n Last updated {formatLongDateTime(new Date(updated_at))}\n \n \n
    \n\n
    \n \n {capitalizeFirstLetter(decision)}\n \n {selected_at && (\n \n Selected\n \n )}\n
    \n
    \n \n );\n };\n\n const newCreditSubmissionButton = (\n \n );\n\n const emptyCreditdSubmissionsState = (\n \n

    You can create a new credit submission below.

    \n \n );\n\n const credtSubmissionLayout = (\n \n {creditSubmissions ? (\n creditSubmissionResourceList(item)}\n emptyState={emptyCreditdSubmissionsState}\n loading={isLoadingCreditSubmissions}\n showHeader\n alternateTool={newCreditSubmissionButton}\n />\n ) : (\n creditSubmissionResourceList(item)}\n emptyState={emptyCreditdSubmissionsState}\n loading={true}\n showHeader\n alternateTool={newCreditSubmissionButton}\n />\n )}\n \n );\n\n const fundingChecklistLayout = ;\n\n const paymentsAndReviewLayout = (\n \n );\n\n const embeddedSending = ;\n\n const opportunityTabs = (\n \n );\n\n const [isEditingTitle, setIsEditingTitle] = useState(false);\n const toggleEditingTitle = () => {\n setIsEditingTitle(!isEditingTitle);\n\n if (opportunity.attributes.name != pageTitle) {\n const form = { name: pageTitle };\n\n return updateOpportunity({ id: opportunity.id, ...form })\n .unwrap()\n .then(() => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n }\n };\n const [pageTitle, setPageTitle] = useState(\"\");\n const [opportunityTags, setOpportunityTags] = useState([]);\n\n useEffect(() => {\n if (opportunity && tags) {\n let allTags = [];\n let allTagIds = [];\n for (let i = 0; i < Object.keys(tags).length; i++) {\n let tagType = Object.keys(tags)[i];\n\n for (let j = 0; j < tags[tagType].data.length; j++) {\n let currentTag = tags[tagType].data[j];\n if (!allTagIds.includes(currentTag.id)) {\n allTags.push({\n label: currentTag.attributes.name,\n tagType: tagType,\n value: currentTag.id,\n });\n allTagIds.push(currentTag.id);\n }\n }\n }\n\n setPageTitle(opportunity.attributes.name);\n setChoiceListTags(allTags);\n\n if (opportunity.included?.length > 0) {\n setOpportunityTags(\n opportunity.included.filter((tag) => {\n return !opportunity.attributes.ignore_tag_list.includes(\n tag.attributes.name\n );\n })\n );\n //setOpportunityTags(opportunity.included);\n\n let opTags = [];\n for (let i = 0; i < opportunity.included.length; i++) {\n opTags.push(opportunity.included[i].id);\n }\n handleSelectedTagChange(opTags);\n } else if (selectedTag) {\n handleSelectedTagChange([]);\n }\n }\n }, [opportunity, tags]);\n\n const adminLayout = opportunityTabs;\n\n const handleRemoveTag = (tag) => () => {\n const setTags = opportunityTags.filter(\n (previousTag) => previousTag !== tag\n );\n setOpportunityTags(setTags);\n\n const removedTag = choiceListTags\n .filter((tg) => setTags.includes(tg.name))\n .map((tg) => tg.name);\n unTag(removedTag[0] || tag);\n };\n\n const unTag = (removedTag) => {\n return updateTagOpportunities({\n opportunity_id: opportunityId,\n opportunity_ids: [opportunityId],\n single_remove: true,\n tag_name: removedTag,\n })\n .unwrap()\n .then(() => {\n refetchTags();\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const tagMarkup = opportunityTags?.map((option) => (\n \n {option.attributes.name}\n \n ));\n\n const titleComponent = (\n \n {isEditingTitle ? (\n \n \n \n }\n />\n ) : (\n \n \n \n {pageTitle}\n \n \n\n {!isMobile && !isOpportunityClosedLost && (\n
    \n \n \n \n
    \n )}\n
    \n )}\n {(isOrganizationAdmin || isVendorAdmin) && tagMarkup}\n {isTagging ? (\n \n ) : (\n <>\n )}\n
    \n );\n const [orderedTasks, setOrderedTasks] = useState([]);\n\n const orderTasks = (taskList) => {\n let partialList = [];\n let incompleteList = [];\n let completeList = [];\n\n for (let i = 0; i < taskList.length; i++) {\n if (taskList[i].status === \"complete\") {\n completeList.push(taskList[i]);\n } else if (taskList[i].status === \"partial\") {\n partialList.push(taskList[i]);\n } else {\n incompleteList.push(taskList[i]);\n }\n }\n\n setOrderedTasks([...completeList, ...partialList, ...incompleteList]);\n };\n\n useEffect(() => {\n if (opportunity && opportunity.attributes?.requirement_status) {\n orderTasks(opportunity.attributes?.requirement_status);\n }\n }, [opportunity]);\n\n const subtitleComponent = (\n <>\n \n \n \n \n );\n\n const titleMetadataComponent = (\n <>\n {isOpportunityClosedLost && Closed - Lost}\n {isOpportunityClosedWon && Closed - Won}\n {isOpportunityOpen && Open}\n {isOpportunityTbd && TBD}\n \n );\n\n const tagAction = {\n content: opportunity?.included?.length > 0 ? \"Update tags\" : \"Add tag\",\n onAction: () => setOpenSelectTagModal(true),\n loading: isTagging || isUpdatingOpportunityTags,\n };\n\n const viewClientPortalAction = {\n content: \"View client portal\",\n onAction: navigateToFinancingOptionsShare,\n external: true,\n };\n\n const submitForCreditApprovalAction = {\n content: \"Submit for credit review\",\n onAction: requestCreditReviewAction,\n loading: isCreatingCreditReview,\n };\n\n const pushToHubspotSecondaryAction = {\n content: \"Push to Hubspot\",\n onAction: pushToHubspotAction,\n };\n\n const openOpportunitySecondaryAction = {\n content: \"Open opportunity\",\n onAction: () => setShowOpportunityStatusModal(true),\n };\n\n const closeOpportunitySecondaryAction = {\n content: \"Close opportunity\",\n onAction: () => setShowOpportunityStatusModal(true),\n };\n\n const deleteOpportunitySecondaryAction = {\n content: \"Delete opportunity\",\n destructive: true,\n outline: true,\n onAction: handleOpenConfirmationModal,\n };\n\n function compileSecondaryActions() {\n const actions = [tagAction, viewClientPortalAction];\n\n if (isOrganizationAdmin && opportunity.attributes.hubspot_deal_id) {\n actions.push(\n {\n icon: ViewIcon,\n content: \"View on Hubspot\",\n external: true,\n url: `https://app.hubspot.com/contacts/${process.env.HUBSPOT_DEAL_CONTACT_ID}/deal/${opportunity.attributes.hubspot_deal_id}`,\n },\n submitForCreditApprovalAction,\n pushToHubspotSecondaryAction\n );\n } else {\n actions.push(submitForCreditApprovalAction);\n }\n\n if (isOpportunityClosedLost || isOpportunityClosedWon) {\n actions.push(openOpportunitySecondaryAction);\n } else {\n actions.push(closeOpportunitySecondaryAction);\n }\n\n actions.push(deleteOpportunitySecondaryAction);\n\n return actions.filter((action) => {\n if (!(isOrganizationAdmin || isVendorAdmin)) {\n return ![\"Add tag\", \"Update tags\"].includes(action.content);\n }\n return true;\n });\n }\n\n const secondaryActions = compileSecondaryActions();\n\n const [isDebugModalOpen, setIsDebugModalOpen] = useState(false);\n\n const handleKeyPress = useCallback((event) => {\n if (event.key === \"†\" || (event.altKey && event.key === \"t\")) {\n event.preventDefault();\n setIsDebugModalOpen((prevState) => !prevState);\n }\n }, []);\n\n useEffect(() => {\n document.addEventListener(\"keydown\", handleKeyPress);\n return () => {\n document.removeEventListener(\"keydown\", handleKeyPress);\n };\n }, [handleKeyPress]);\n\n const debugModal = (\n setIsDebugModalOpen(false)}\n title=\"Debug\"\n primaryAction={null}\n >\n \n \n \n Opportunity - {opportunity.id} - {opportunity.attributes.name}\n \n \n {Object.entries(opportunity.attributes).map(([key, value]) => (\n \n {key}: {JSON.stringify(value)}\n \n ))}\n \n \n \n \n );\n\n const pageMarkup =\n opportunity && !isLoadingOpportunity ? (\n opportunityError && [403, 404].includes(opportunityError.status) ? (\n \n ) : (\n
    \n \n \n\n {isOrganizationAdmin || isVendorAdmin ? adminLayout : defaultLayout}\n\n {contactShareModal}\n {editOtherDetailsModal}\n {generateDocumentsModal}\n {opportunityStatusModal}\n {areYouSureModal}\n {toastMarkup}\n {debugModal}\n \n \n
    \n )\n ) : (\n \n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default OpportunitiesShow;\n","import React, {\n useState,\n forwardRef,\n useImperativeHandle,\n useCallback,\n useEffect,\n useContext,\n} from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n FormLayout,\n TextField,\n BlockStack,\n Select,\n Button,\n Card,\n Box,\n Banner,\n Modal,\n Text,\n Tooltip,\n LegacyStack,\n Checkbox,\n Badge,\n ProgressBar,\n Divider,\n} from \"@shopify/polaris\";\nimport { useField, useForm, notEmpty } from \"@shopify/react-form\";\nimport PropTypes from \"prop-types\";\nimport {\n useGetTeamsQuery,\n useGetClientsQuery,\n // useCreateVendorPaymentConfirmationMutation,\n useGenerateVendorPaymentMutation,\n useCreateVendorPaymentOpportunityMutation,\n} from \"../../services/api\";\nimport {\n convertStateName,\n stateOptionsShort,\n} from \"../../utilities\";\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nconst CreateOpportunityForm = forwardRef((props, ref) => {\n const {\n handleErrorMessage,\n onConfirmationLoading,\n stateClientId,\n existingClientData,\n } = props;\n\n const history = useHistory();\n const navigateToOpportunityShow = useCallback(\n (clientId, opportunityId) => {\n history.push(`/clients/${clientId}/opportunities/${opportunityId}`);\n },\n [history]\n );\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const [generateVendorPayment, {}] =\n useGenerateVendorPaymentMutation();\n\n const [createVendorPaymentOpportunity, { isLoading }] =\n useCreateVendorPaymentOpportunityMutation();\n\n const { data: teamData = [], isLoading: queryIsLoading } = useGetTeamsQuery({\n contactId: currentContact.id,\n });\n\n const { data: clientData = [], isLoading: clientIsLoading } = useGetClientsQuery();\n\n const [vendorPaymentId, setVendorPaymentId] = useState('');\n const [teams, setTeams] = useState([]);\n const [clients, setClients] = useState([]);\n const [confirmedClient, setConfirmedClient] = useState({});\n // const [confirmedContact, setConfirmedContact] = useState({});\n const [confirmedVendor, setConfirmedVendor] = useState({});\n const [confirmedVendorPayment, setConfirmedVendorPayment] = useState({});\n\n const [matchedClient, setMatchedClient] = useState({});\n // const [matchedContact, setMatchedContact] = useState({});\n const [matchedVendor, setMatchedVendor] = useState({});\n\n const [submitMatchedClient, setSubmitMatchedClient] = useState(false);\n const [submitMatchedContact, setSubmitMatchedContact] = useState(false);\n const [submitMatchedVendor, setSubmitMatchedVendor] = useState(false);\n const [teamId, setTeamId] = useState(teamData[0]?.id);\n const [clientId, setClientId] = useState(clientData[0]?.id);\n const [vendorLocked, setVendorLocked] = useState(\n teamData[0]?.attributes?.vendor_locked\n );\n const [selectedTeam, setSelectedTeam] = useState(teamData[0]);\n const [selectedClient, setSelectedClient] = useState(clientData[0]);\n const handleTeamSelection = useCallback(\n (value) => {\n const selectedTeam = teamData.find(\n (team) => team?.attributes?.name == value\n );\n setSelectedTeam(selectedTeam);\n },\n [teamData]\n );\n\n useEffect(() => {\n if (teamData.length > 0) {\n const teamOption = teamData.map((t) => t?.attributes?.name);\n setTeams(teamOption);\n\n setSelectedTeam(teamData[0]);\n }\n }, [teamData]);\n\n useEffect(() => {\n if (selectedTeam) {\n setTeamId(selectedTeam?.id);\n setVendorLocked(selectedTeam?.attributes?.vendor_locked);\n\n // if vendor locked, force vendor name value in fields\n if(selectedTeam?.attributes?.vendor_locked) {\n fields.vendor_name.newDefaultValue(selectedTeam.attributes.locked_vendor_name)\n } else {\n fields.vendor_name.newDefaultValue(\"\")\n }\n }\n }, [selectedTeam, teamData]);\n\n useEffect(() => {\n if (clientData.length > 0) {\n const clientOption = clientData.map((c) => c?.attributes?.name);\n setClients(clientOption);\n\n setSelectedClient(clientData[0]);\n }\n }, [clientData]);\n\n useEffect(() => {\n if (selectedClient) {\n setClientId(selectedClient?.id);\n // setClientFieldsDefaults(selectedClient);\n }\n }, [selectedClient, clientData]);\n\n const setClientFieldsDefaults = useCallback((selectedClient) => {\n fields.customer_client_name.newDefaultValue(selectedClient.attributes.name);\n fields.customer_client_billing_street.newDefaultValue(selectedClient.attributes.billing_street);\n fields.customer_client_billing_city.newDefaultValue(selectedClient.attributes.billing_city);\n fields.customer_client_billing_state.newDefaultValue(convertStateName(selectedClient.attributes.billing_state, 2));\n fields.customer_client_billing_postal_code.newDefaultValue(selectedClient.attributes.billing_postal_code);\n }, [fields]);\n\n const basePaymentField = useField({\n value: ``,\n validates: [notEmpty(\"Base payment is required.\")],\n });\n\n const { fields, submit, submitting, reset, submitErrors, makeClean, dirty } =\n useForm({\n fields: {\n // CUSTOMER ACCOUNT\n customer_client_name: useField({\n value: (stateClientId ? existingClientData.attributes.name : \"\"),\n validates: [notEmpty(\"Account name is required\")],\n }),\n customer_client_billing_street: useField({\n value: (stateClientId ? existingClientData.attributes.billing_street : \"\"),\n validates: [notEmpty(\"Account street address is required\")],\n }),\n customer_client_billing_city: useField({\n value: (stateClientId ? existingClientData.attributes.billing_city : \"\"),\n validates: [],\n }),\n customer_client_billing_state: useField({\n value: (stateClientId ? convertStateName(existingClientData.attributes.billing_state, 2) : undefined),\n validates: [],\n }),\n customer_client_billing_postal_code: useField({\n value: (stateClientId ? existingClientData.attributes.billing_postal_code : undefined),\n validates: [],\n }),\n\n // CUSTOMER CONTACT\n // ...(isAdmin && contactFields),\n\n // QUOTE/INVOICE DETAILS\n vendor_name: useField({\n value: \"\",\n validates: [notEmpty(\"Vendor name is required.\")],\n }),\n invoice_number: useField({\n value: \"\",\n validates: [notEmpty(\"Quote number is required.\")],\n }),\n invoice_amount: useField({\n value: ``,\n validates: [notEmpty(\"Quote amount is required.\")],\n }),\n sales_tax: useField({\n value: ``,\n validates: [],\n }),\n\n // SHIPPING DETAILS\n location_address: useField({\n value: \"\",\n validates: [notEmpty(\"Shipping street is required.\")],\n }),\n location_city: useField({\n value: \"\",\n validates: [],\n }),\n location_state: useField({\n value: \"\",\n validates: [],\n }),\n location_zip: useField({\n value: \"\",\n validates: [],\n }),\n },\n async onSubmit(form) {\n onConfirmationLoading(true);\n const payload = formPayload(form);\n\n setConfirmedClient(payload.customer_client);\n setConfirmedVendor(payload.vendor);\n\n setMatchedClient({});\n setSubmitMatchedClient(false);\n\n setMatchedVendor({});\n setSubmitMatchedVendor(false);\n\n return generateVendorPayment({\n vendorLocked: vendorLocked,\n teamId: teamId,\n clientId: stateClientId,\n ...payload,\n })\n .unwrap()\n .then((response) => {\n setVendorPaymentId(response.vendor_payment.id);\n const hasMatches = stateClientId ? false : handleConfirmResponseMatches(response);\n if (hasMatches) {\n if (stateClientId) {\n handleSubmitMatches();\n } else { handleOpenMatchModal(); }\n } else {\n handleSubmitPayloadAsEntered(payload, response.vendor_payment.id);\n }\n\n onConfirmationLoading(false);\n\n return { status: \"success\" };\n })\n .catch((error) => {\n onConfirmationLoading(false);\n console.log(error);\n });\n },\n });\n\n const formPayload = (form) => {\n const customer_client = {\n name: form.customer_client_name,\n billing_street: form.customer_client_billing_street,\n billing_city: form.customer_client_billing_city,\n billing_state: form.customer_client_billing_state,\n billing_postal_code: form.customer_client_billing_postal_code,\n };\n\n const vendor_payment = {\n base_payment: form?.base_payment ? form.base_payment : undefined,\n product_type: form.product_type,\n invoice_number: form.invoice_number,\n invoice_amount: form.invoice_amount,\n sales_tax: form.sales_tax,\n location_address: form.location_address,\n location_city: form.location_city,\n location_state: form.location_state,\n location_zip: form.location_zip,\n };\n const vendor = {\n name: form.vendor_name,\n };\n return {\n customer_client: { ...customer_client },\n vendor_payment: { ...vendor_payment },\n vendor: { ...vendor },\n };\n };\n\n useImperativeHandle(ref, () => ({\n handleSubmitForm() {\n submit();\n },\n }));\n\n const handleConfirmResponseMatches = (response) => {\n let requiresClientMatch = false,\n requiresVendorMatch = false;\n\n if (response.customer_client) {\n setMatchedClient(response.customer_client);\n setSubmitMatchedClient(true);\n requiresClientMatch = true;\n }\n if (response.vendor) {\n if (selectedTeam.attributes.vendor_locked) {\n setSubmitMatchedVendor(false);\n requiresVendorMatch = false;\n } else {\n setMatchedVendor(response.vendor);\n setSubmitMatchedVendor(true);\n requiresVendorMatch = true;\n }\n }\n if (response.vendor_payment) {\n setConfirmedVendorPayment(response.vendor_payment);\n }\n\n return requiresClientMatch || requiresVendorMatch;\n };\n\n const [activeMatchModal, setActiveMatchModal] = useState(false);\n const handleOpenMatchModal = () => {\n setActiveMatchModal(true);\n };\n const handleCloseModal = () => {\n setActiveMatchModal(false);\n };\n\n const handleClientSelectionChange = useCallback(\n (newChecked) => setSubmitMatchedClient(newChecked),\n []\n );\n const handleVendorSelectionChange = useCallback(\n (newChecked) => setSubmitMatchedVendor(newChecked),\n []\n );\n\n const buildMatchPayload = useCallback(() => {\n return {\n customer_client: submitMatchedClient ? matchedClient : confirmedClient,\n vendor: submitMatchedVendor ? matchedVendor : confirmedVendor,\n };\n }, [\n confirmedClient,\n confirmedVendor,\n matchedClient,\n matchedVendor,\n submitMatchedClient,\n submitMatchedVendor,\n ]);\n\n const handleSubmitPayloadAsEntered = (payload, passedVendorPaymentId = \"\") => {\n const payloadStructured = {\n customer_client: payload.customer_client,\n vendor: payload.vendor,\n };\n\n if(!passedVendorPaymentId) return\n\n return createVendorPaymentOpportunity({\n vendorPaymentId: passedVendorPaymentId,\n vendorLocked: vendorLocked,\n teamId: teamId,\n // clientId: clientId,\n ...payloadStructured,\n })\n .unwrap()\n .then((response) => {\n handleCloseModal();\n navigateToOpportunityShow(response.attributes.client_id, response.id);\n return { status: \"success\" };\n })\n .catch((error) => {\n handleCloseModal();\n handleErrorMessage(error);\n });\n };\n\n const handleSubmitMatches = useCallback(() => {\n const payload = buildMatchPayload();\n\n return createVendorPaymentOpportunity({\n vendorPaymentId: vendorPaymentId,\n vendorLocked: vendorLocked,\n teamId: teamId,\n // clientId: clientId,\n ...payload,\n })\n .unwrap()\n .then((response) => {\n handleCloseModal();\n navigateToOpportunityShow(response.attributes.client_id, response.id);\n return { status: \"success\" };\n })\n .catch((error) => {\n handleCloseModal();\n handleErrorMessage(error);\n });\n }, [\n buildMatchPayload,\n createVendorPaymentOpportunity,\n handleErrorMessage,\n navigateToOpportunityShow,\n ]);\n\n const matchModal = (\n \n \n \n \n

    \n We found existing records similar to what you entered. Please\n select the records you would like to use.\n

    \n
    \n
    \n
    \n\n {matchedClient.attributes && (\n \n \n Account details\n\n \n \n \n Existing account\n \n {matchedClient.attributes.name}\n
    \n \n {matchedClient.attributes.billing_address ? (\n <>\n {matchedClient.attributes.billing_street}\n
    \n {matchedClient.attributes.billing_city ||\n \"-\"}, {matchedClient.attributes.billing_state}{\" \"}\n {matchedClient.attributes.billing_postal_code}\n \n ) : (\n \"No billing address\"\n )}\n
    \n \n }\n checked={submitMatchedClient}\n onChange={handleClientSelectionChange}\n />\n
    \n
    \n\n \n \n Entered account\n \n {confirmedClient.name}\n
    \n \n {confirmedClient.billing_street}\n
    \n {confirmedClient.billing_city},{\" \"}\n {confirmedClient.billing_state}{\" \"}\n {confirmedClient.billing_postal_code}\n
    \n \n }\n checked={!submitMatchedClient}\n onChange={(newChecked) =>\n handleClientSelectionChange(!newChecked)\n }\n />\n
    \n
    \n
    \n
    \n
    \n )}\n\n {matchedVendor.attributes && (\n \n \n Vendor details\n\n \n \n \n Existing vendor\n \n {matchedVendor.attributes.name}\n
    \n Vendor\n \n }\n checked={submitMatchedVendor}\n onChange={handleVendorSelectionChange}\n />\n
    \n
    \n\n \n \n Entered vendor\n \n {confirmedVendor.name}\n
    \n Vendor\n \n }\n checked={!submitMatchedVendor}\n disabled={true}\n onChange={(newChecked) =>\n handleVendorSelectionChange(!newChecked)\n }\n />\n
    \n
    \n
    \n
    \n
    \n )}\n \n );\n\n const ConfidenceBadge = (props) => {\n const { color, value } = props;\n return (\n (\n {value != 0 ? value : \"--\"}%\n )\n );\n };\n ConfidenceBadge.propTypes = {\n color: PropTypes.string,\n value: PropTypes.number,\n };\n\n const labelAction = (attribute, field, isSelect = false) => {\n const { score, ocr_score, value } = attribute || {\n score: 0,\n ocr_score: 0,\n value: null,\n };\n const { iconCritical, iconWarning, iconSuccess, iconSubdued } = {\n iconCritical: \"critical\", // \"#d72c0d\",\n iconWarning: \"warning\", // \"#ca9500\",\n iconSuccess: \"success\", // \"#007f5f\",\n iconSubdued: \"subdued\", //\"#8c9196\",\n };\n\n const pipColor = () => {\n if (value === null) {\n return iconSubdued;\n }\n\n if (ocr_score <= 0.7 || score <= 0.5) {\n return iconCritical;\n }\n\n if (score > 0.5 && score <= 0.7) {\n return iconWarning;\n }\n\n if (ocr_score >= 0.9 && score >= 0.7) {\n return iconSuccess;\n }\n };\n\n return (\n \n \n \n \n \n );\n };\n\n const completeFieldsProgress = (fields) => {\n let progress = 0;\n let completeFields = [];\n let fieldset = [];\n\n for (const [key, fieldValue] of Object.entries(fields)) {\n fieldset.push(key);\n if (fieldValue.value) {\n completeFields.push(key);\n }\n }\n\n progress =\n Math.round(\n (completeFields.length / Object.entries(fields).length) * 100\n ) || 0;\n\n return progress;\n };\n\n const [formProgress, setFormProgress] = useState(\n completeFieldsProgress(fields)\n );\n useEffect(() => {\n const progress = completeFieldsProgress(fields);\n setFormProgress(progress);\n return () => setFormProgress(0);\n }, [fields]);\n\n const FormProgressBar = ({ progress }) => {\n return ;\n };\n FormProgressBar.propTypes = {\n progress: PropTypes.number,\n };\n\n useEffect(() => {\n if(submitErrors.length > 0){\n console.log(submitErrors);\n console.dir(submitErrors);\n }\n }, [submitErrors]);\n\n const errorBanner =\n submitErrors.length > 0 ? (\n \n

    \n There were some issues with your submission. Please correct the errors\n below.\n

    \n
    \n ) : null;\n\n const handleCopyAccountAddress = () => {\n fields.location_address.newDefaultValue(\n stateClientId ? existingClientData?.attributes?.billing_street :\n fields.customer_client_billing_street.value\n );\n fields.location_city.newDefaultValue(\n stateClientId ? existingClientData?.attributes?.billing_city :\n fields.customer_client_billing_city.value\n );\n fields.location_state.newDefaultValue(\n stateClientId ? convertStateName(existingClientData.attributes.billing_state, 2) :\n fields.customer_client_billing_state.value\n );\n fields.location_zip.newDefaultValue(\n stateClientId ? existingClientData?.attributes?.billing_postal_code :\n fields.customer_client_billing_postal_code.value\n );\n };\n\n const CardSectionTitle = (title) => (\n \n \n {title}\n \n \n );\n\n return <>\n \n \n \n {errorBanner}\n \n \n {formProgress}% Complete\n \n \n \n \n {/* */}\n {/* */}\n {/* {CardSectionTitle(\"Client\")} */}\n {/* \n \n \n )}\n ;\n});\nVendorContactForm.displayName = \"VendorContactForm\";\nVendorContactForm.propTypes = {\n addNewContact: PropTypes.bool,\n setAddNewContact: PropTypes.func,\n isShowNewContactForm: PropTypes.func,\n onAfterShareWithContacts: PropTypes.func,\n vendorId: PropTypes.string,\n vendorAdmins: PropTypes.array,\n};\n\nexport default VendorContactForm;\n","import React, { useState, useCallback, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Card,\n IndexTable,\n Text,\n BlockStack,\n Modal,\n Box,\n InlineStack,\n Button,\n} from \"@shopify/polaris\";\n\nimport { useGetVendorAdminsQuery } from \"../../../../services/api\";\n\nimport { useDebounce } from \"use-debounce\";\nimport {\n formatShortDateTime,\n} from \"../../../../utilities\";\nimport VendorContactForm from \"../../../../components/VendorAdmin/Vendor/Contact/Form\";\n\nimport CardBoxTitle from \"../../../../components/Card/BoxTitle\";\n\nconst VendorAdminListTab = (props) => {\n const { vendorId } = props;\n\n const resourceName = {\n singular: \"admin\",\n plural: \"admins\",\n };\n\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [sortDirection, setSortDirection] = useState(\"descending\");\n const [showVendorAdminInviteModal, setShowVendorAdminInviteModal] =\n useState(false);\n const [showNewContactForm, setShowNewContactForm] = useState(false);\n const [addNewContact, setAddNewContact] = useState(false);\n\n const [taggedWith, setTaggedWith] = useState(undefined);\n const [originatorSearch] = useDebounce(taggedWith, 500);\n\n const handleTaggedWithRemove = useCallback(() => setTaggedWith(null), []);\n const handleQueryValueRemove = useCallback(\n () => setQueryValue(undefined),\n []\n );\n // const handleFiltersClearAll = useCallback(() => {\n // handleTaggedWithRemove();\n // handleQueryValueRemove();\n // }, [handleQueryValueRemove, handleTaggedWithRemove]);\n\n const { data: admins = [], isLoading: queryIsLoading } =\n useGetVendorAdminsQuery({ vendorId: vendorId });\n\n useEffect(() => {\n console.log(`vendor admin list is loading list: ${queryIsLoading}`);\n }, [queryIsLoading]);\n\n const handleTableSorting = (headingIndex, direction) => {\n let currentSortDirection = \"descending\";\n if (sortDirection === \"ascending\") {\n currentSortDirection = \"descending\";\n setSortDirection(\"descending\");\n } else {\n currentSortDirection = \"ascending\";\n setSortDirection(\"ascending\");\n }\n\n let sortTag = \"\";\n switch (headingIndex) {\n case 1:\n sortTag = \"CREATED_AT_\";\n break;\n case 2:\n sortTag = \"ORIGINATOR_\";\n break;\n case 3:\n sortTag = \"AMOUNT_\";\n break;\n }\n\n if (currentSortDirection === \"ascending\") {\n sortTag = `${sortTag}ASC`;\n } else {\n sortTag = `${sortTag}DESC`;\n }\n\n setSortValue(sortTag);\n };\n\n const rowMarkup =\n admins.length > 0\n ? admins.map((item, index) => (\n \n \n \n {item.attributes.full_name}\n \n \n {item.attributes.email}\n \n {item.attributes.last_logged_in_at\n ? formatShortDateTime(\n new Date(item.attributes.last_logged_in_at)\n )\n : \"\"}\n \n \n ))\n : [];\n\n const AdminIndexTable = (\n \n {rowMarkup}\n \n );\n\n const vendorContactFormRef = useRef();\n\n const inviteVendorAdminModal = (\n setShowVendorAdminInviteModal(false)}\n title={\"Add vendor admin\"}\n large={true}\n primaryAction={{\n content: \"Add\",\n loading: addNewContact,\n onAction: () => {\n if (showNewContactForm) {\n setAddNewContact(true);\n } else {\n vendorContactFormRef.current.handleAddAdminToVendor();\n setShowVendorAdminInviteModal(false);\n }\n },\n }}\n >\n \n {}}\n isShowNewContactForm={setShowNewContactForm}\n vendorId={vendorId}\n vendorAdmins={admins}\n ref={vendorContactFormRef}\n addNewContact={addNewContact}\n setAddNewContact={setAddNewContact}\n />\n \n \n );\n\n const indexTablePaged = (\n
    \n \n \n \n Admins\n { setShowVendorAdminInviteModal(true); }}\n >\n Add admin\n \n \n \n \n \n Admins have full access to teams, settings, reports, and features\n \n \n {/*
    */}\n \n {AdminIndexTable}\n \n \n \n {inviteVendorAdminModal}\n
    \n );\n\n return indexTablePaged;\n};\n\nVendorAdminListTab.propTypes = {\n vendorId: PropTypes.any,\n};\n\nexport default VendorAdminListTab;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Card,\n Box,\n Text,\n Link,\n Checkbox,\n Spinner,\n BlockStack,\n} from \"@shopify/polaris\";\nimport {\n useGetVendorProgramQuery,\n useUpdateAdminVendorProgramMutation\n } from \"../../../../services/api\";\n\nconst VendorAdminIntegratedPaymentsSettings = (props) => {\n const { vendor } = props;\n\n const { data: vendorProgram, isLoading: isLoadingVendorProgram } =\n useGetVendorProgramQuery({ id: vendor.attributes.vendor_program_id }, { skip: !vendor?.attributes?.vendor_program_id });\n\n const [updateAdminVendorProgram, { isLoading: isVendorProgramUpdating }] =\n useUpdateAdminVendorProgramMutation();\n\n useEffect(() => {\n if(vendorProgram) {\n setEmailSettings(vendorProgram.attributes.email_settings)\n }\n }, [vendorProgram])\n\n const [emailSettings, setEmailSettings] = useState({ failed_payment_email: true, payment_reminder_email: true})\n\n const handleChangeEmailSettings = (newChecked, id) => {\n let newEmailSettings = JSON.parse(JSON.stringify(emailSettings))\n newEmailSettings[id] = newChecked\n\n setEmailSettings(newEmailSettings)\n\n return updateAdminVendorProgram({ id: vendor.attributes.vendor_program_id, email_settings: newEmailSettings })\n .unwrap()\n .then((response) => {\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n return {\n status: \"fail\",\n errors: [{ message: \"Could not update vendor program\" }],\n };\n });\n }\n\n const tab = (\n <>\n
    \n\n { (isLoadingVendorProgram || isVendorProgramUpdating) && (\n \n \n \n
    \n \n )}\n\n { (!isLoadingVendorProgram && !isVendorProgramUpdating) && (\n \n \n \n \n \n Connected Account\n \n\n
    \n\n \n {vendorProgram?.attributes?.stripe_connected_account_id}\n \n\n
    \n
    \n
    \n\n \n \n \n \n \n Send failed email recovery email sequence\n \n\n \n Learn more about Fortify failed payment recovery\n \n \n }\n checked={emailSettings.failed_payment_email}\n onChange={handleChangeEmailSettings}\n />\n\n
    \n\n \n
    \n
    \n
    \n \n )}\n\n \n );\n\n return tab;\n};\n\nVendorAdminIntegratedPaymentsSettings.propTypes = {\n vendor: PropTypes.any,\n};\n\nexport default VendorAdminIntegratedPaymentsSettings;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { LegacyCard, IndexTable, Tag } from \"@shopify/polaris\";\n\nconst VendorAdminSettingsTagsTab = (props) => {\n const {\n vendor,\n tags,\n fetchingTags,\n isCreatingTag,\n isDeletingTags,\n selectedResources,\n setSelectedResources,\n allResourcesSelected,\n setAllResourcesSelected,\n setOpenConfirmationModal,\n handleCreateTagModalActiveChange,\n } = props;\n\n const resourceName = {\n singular: \"vendor tag\",\n plural: \"vendor tags\",\n };\n\n const promotedBulkActions = [\n {\n content: \"Delete vendor tags\",\n onAction: () => {\n setOpenConfirmationModal(true);\n },\n },\n ];\n\n const handleTagSelectionChange = (selectionType, toggleType, tagId) => {\n if (selectionType === \"single\") {\n if (selectedResources?.includes(tagId)) {\n setSelectedResources(selectedResources.filter((id) => id !== tagId));\n } else {\n setSelectedResources([...selectedResources, tagId]);\n }\n } else {\n setAllResourcesSelected(toggleType);\n if (toggleType) {\n setSelectedResources(tags.map((tag) => tag.id));\n } else {\n setSelectedResources([]);\n }\n }\n };\n\n const rowMarkup = tags.map((tag, index) => (\n \n \n {tag.attributes.name}\n \n \n ));\n\n return (\n \n \n
    \n \n {rowMarkup}\n \n
    \n );\n};\n\nVendorAdminSettingsTagsTab.propTypes = {\n vendor: PropTypes.any,\n tags: PropTypes.array,\n fetchingTags: PropTypes.bool,\n isCreatingTag: PropTypes.bool,\n isDeletingTags: PropTypes.bool,\n selectedResources: PropTypes.array,\n setSelectedResources: PropTypes.func,\n allResourcesSelected: PropTypes.bool,\n setAllResourcesSelected: PropTypes.func,\n setOpenConfirmationModal: PropTypes.func,\n handleCreateTagModalActiveChange: PropTypes.func,\n};\n\nexport default VendorAdminSettingsTagsTab;\n","import React, { useEffect, useState, useContext, useCallback } from \"react\";\nimport { useParams } from \"react-router-dom\";\nimport { Page, Layout, Tabs, Modal, Text, TextField } from \"@shopify/polaris\";\n\nimport {\n useGetVendorsQuery,\n useGetTagsQuery,\n useCreateTagMutation,\n useDeleteTagsMutation,\n // useGetVendorAdminsQuery,\n} from \"../../../services/api\";\n\nimport FadeIn from \"../../../components/FadeIn\";\nimport LoadingScreen from \"../../../components/Auth/Loading\";\nimport VendorAdminSettingsAccountDetailsTab from \"./Tabs/AccountDetails\";\nimport VendorAdminListTab from \"./Tabs/VendorAdminList\";\nimport VendorAdminIntegratedPaymentsSettings from \"./Tabs/IntegratedPaymentsSettings\";\nimport VendorAdminSettingsTagsTab from \"./Tabs/VendorTags\";\n\nimport { CurrentContactContext } from \"../../../contexts/Contact\";\n\nconst VendorAdminSettingsShow = (props) => {\n const { id: vendorId } = useParams();\n\n const { currentContact } = useContext(CurrentContactContext);\n\n const { data: vendors = [], isLoading: isLoadingVendors } =\n useGetVendorsQuery();\n\n const { data: tagsData = null, isLoading: fetchingTags } = useGetTagsQuery();\n\n const [createTag, { isLoading: isCreatingTag }] = useCreateTagMutation();\n\n const [deleteTags, { isLoading: isDeletingTags }] = useDeleteTagsMutation();\n\n // const { data: admins = [], isLoading: queryIsLoading } =\n // useGetVendorAdminsQuery({ vendorId: vendorId });\n\n const [currentVendor, setCurrentVendor] = useState();\n\n const [tagName, setTagName] = useState(\"\");\n const [tags, setTags] = useState([]);\n const [allTagsSelected, setAllTagsSelected] = useState(false);\n const [selectedTagIds, setSelectedTagIds] = useState([]);\n const [createTagModalActive, setCreateTagModalActive] = useState(false);\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n\n const handleTagSelectionChange = useCallback(\n (selectedTagIds) => setSelectedTagIds(selectedTagIds),\n [selectedTagIds]\n );\n\n const handleAllTagsSelectionChange = useCallback(() => {\n () => setAllTagsSelected(!allTagsSelected);\n }, [allTagsSelected]);\n\n const handleCreateTagModalActiveChange = useCallback(\n () => setCreateTagModalActive(!createTagModalActive),\n [createTagModalActive]\n );\n\n const handleSetTagName = useCallback((value) => setTagName(value), []);\n\n const handleCreateTag = () => {\n return createTag({ tag: tagName, vendor_tags: true })\n .unwrap()\n .then(() => {\n setTagName(\"\");\n handleCreateTagModalActiveChange();\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleDeleteTags = () => {\n setOpenConfirmationModal(false);\n\n return deleteTags({ tag_ids: selectedTagIds.join(\",\") })\n .unwrap()\n .then(() => {\n handleTagSelectionChange([]);\n handleAllTagsSelectionChange(false);\n return { status: \"success\" };\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n useEffect(() => {\n if (tagsData) {\n setTags(tagsData);\n }\n }, [tagsData]);\n\n useEffect(() => {\n if (vendors.length > 0) {\n for (let i = 0; i < vendors.length; i++) {\n if (vendors[i].id === vendorId) {\n setCurrentVendor(vendors[i]);\n break;\n }\n }\n }\n }, [vendors]);\n\n const [selected, setSelected] = useState(0);\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelected(selectedTabIndex),\n []\n );\n\n const tabs = [\n {\n id: \"vendor-admins\",\n content: \"Vendor Admins\",\n accessibilityLabel: \"Vendor Admins\",\n panelID: \"vendor-admins\",\n tab: ,\n },\n {\n id: \"account-details\",\n content: \"Account Details\",\n accessibilityLabel: \"Account Details\",\n panelID: \"account-details\",\n tab: ,\n },\n {\n id: \"integrated-payments-settings\",\n content: \"Integrated payments settings\",\n accessibilityLabel: \"Integrated payments settings\",\n panelID: \"integrated-payments-settings\",\n tab: ,\n },\n {\n id: \"vendor-tag-settings\",\n content: \"Vendor Tags\",\n accessibilityLabel: \"Vendor Tags\",\n panelID: \"vendor-tag-settings\",\n tab: (\n \n ),\n },\n //{\n // id: 'program-details',\n // content: 'Program Details',\n // accessibilityLabel: 'Program Details',\n // panelID: 'program-details',\n // tab:

    Program Details

    \n //},\n //{\n // id: 'payments-setup',\n // content: 'Payments Setup',\n // accessibilityLabel: 'Payments Setup',\n // panelID: 'payments-setup',\n // tab:

    Payments Setup

    \n //},\n ];\n\n const areYouSureModal = (\n setOpenConfirmationModal(false)}\n title=\"Are you sure?\"\n primaryAction={{\n content: \"Confirm\",\n onAction: handleDeleteTags,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setOpenConfirmationModal(false),\n },\n ]}\n >\n \n \n {`You are about to delete ${selectedTagIds.length} tags. This action cannot be undone.`}\n \n \n {`Deleting tags will remove them from all opportunities.`}\n \n \n \n );\n\n const createTagModal = (\n \n \n \n \n \n );\n\n const pageIndexMarkup = (\n <>\n \n \n \n \n \n {tabs[selected].tab}\n \n \n \n \n {createTagModal}\n {areYouSureModal}\n \n \n );\n\n return currentContact ? pageIndexMarkup : ;\n};\n\nexport default VendorAdminSettingsShow;\n","const attributes = [\n // 'stagename', - Remove stage\n 'created_at',\n 'originator_name',\n 'team_name',\n 'vendor_name',\n 'tags',\n 'booked_at',\n 'funded_at',\n 'approved_at',\n 'quote',\n 'task',\n 'credit_review',\n 'status',\n 'financing_type'\n]\n\nconst filters = {\n\n // Old Stage Name filter\n // 'stagename': {\n // label: 'Stage',\n // type: 'choice_string',\n // query: 'stagename = ?',\n // dynamic: false,\n // choices: [\n // {\n // value: 'lead',\n // label: 'Lead'\n // },\n // {\n // value: 'estimated_terms',\n // label: 'Estimated Terms'\n // },\n // {\n // value: 'credit_review',\n // label: 'Credit Review'\n // },\n // {\n // value: 'approved',\n // label: 'Approved'\n // },\n // {\n // value: 'booked',\n // label: 'Booked'\n // },\n // {\n // value: 'funded',\n // label: 'Funded'\n // },\n // {\n // value: 'closed_lost',\n // label: 'Closed'\n // },\n // ],\n // multiple: false // If true, FE should handle all choices selected and encapsulate within parenthesis\n // },\n\n // Remove stage again\n // 'stagename': {\n // label: 'Stage',\n // type: 'choice_string',\n // query: 'stagename in ?',\n // dynamic: false,\n // choices: [\n // {\n // value: \"('lead', 'estimated_terms', 'credit_review', 'approved', 'booked', 'funding')\",\n // label: 'Open'\n // },\n // {\n // value: \"('closed_won')\",\n // label: 'Closed - Won'\n // },\n // {\n // value: \"('closed_lost')\",\n // label: 'Closed - Lost'\n // },\n // ],\n // multiple: false\n // },\n\n 'created_at': {\n label: 'Date Created',\n type: 'date',\n query: \"created_at >= ?::date\"\n },\n\n 'originator_name': {\n label: 'Originator',\n type: 'search_string',\n query: 'LOWER(firstname) like LOWER(?) OR LOWER(lastname) like LOWER(?) OR LOWER(name) like LOWER(?) OR LOWER(email) like LOWER(?)',\n handleSearchChange: function (value, externalHandler) { externalHandler(value) }\n },\n\n 'team_name': {\n label: 'Team',\n type: 'search_string',\n query: 'LOWER(name) like LOWER(?)',\n handleSearchChange: function (value, externalHandler) { externalHandler() }\n },\n\n 'vendor_name': {\n label: 'Vendor',\n type: 'search_string',\n query: 'LOWER(name) like LOWER(?)',\n handleSearchChange: function (value, externalHandler) { externalHandler() }\n },\n\n 'tags': {\n label: 'Tags',\n type: 'choice_string',\n dynamic: true,\n multiple: true,\n query: ''\n },\n\n 'booked_at': {\n label: 'Booked date',\n type: 'date',\n query: \"booked_at >= ?::date\"\n },\n\n 'funded_at': {\n label: 'Funded date',\n type: 'date',\n query: \"funded_at >= ?::date\"\n },\n\n 'approved_at': {\n label: 'Date Approved',\n type: 'date',\n query: \"approved_at >= ?::date\"\n },\n\n 'credit_review': {\n label: 'Credit Review',\n type: 'choice_string',\n dynamic: true,\n query: ''\n },\n\n // Custom Task Filter\n\n 'task': {\n label: 'Requirement',\n type: 'task',\n },\n\n 'status': {\n label: 'Status',\n type: 'choice_string',\n dynamic: true,\n multiple: true,\n query: ''\n },\n\n 'financing_type': {\n label: 'Financing Type',\n type: 'choice_string',\n dynamic: true,\n multiple: true,\n query: ''\n },\n\n // Keep as comment - Number example\n // 'total_finance_amount': {\n // label: 'Total finance amount',\n // type: 'number',\n // min: 0,\n // max: 100,\n // step: 1,\n // query: 'amount COMPARISON ?' // Value of COMPARISON to be replaced in FE\n // },\n}\n\nconst initialValues = {\n 'stagename': [],\n 'created_at': [],\n 'originator_name': \"\",\n 'team_name': \"\",\n 'vendor_name': \"\",\n 'tags': [],\n 'booked_at': [],\n 'funded_at': [],\n 'approved_at': [],\n 'task': {},\n 'credit_review': [],\n 'status': [],\n 'financing_type': []\n\n // Keep as comment - Number example\n // 'total_finance_amount': [0, 50],\n}\n\nconst allowedTeamAdminAttributes = [\n 'created_at',\n 'originator_name',\n 'team_name',\n 'vendor_name',\n 'status'\n]\n\nexport {\n filters,\n attributes,\n initialValues,\n allowedTeamAdminAttributes\n};\n\n","import React, { useState } from \"react\";\n\nimport {\n ChoiceList,\n Listbox,\n Collapsible,\n Scrollable,\n Button,\n InlineStack\n} from \"@shopify/polaris\";\n\nimport { taskNameToChoices } from \"../../utilities\";\n\nconst TaskFilter = (props) => {\n const {\n filterValues,\n filterObject,\n handleFilterValueChange\n } = props;\n\n const segments = [\n {\n label: 'Quote',\n id: 'quote',\n value: 'quote'\n },\n {\n label: 'Purchase Option',\n id: 'purchase_option',\n value: 'purchase_option'\n },\n {\n label: 'Pre-approved',\n id: 'purchase_option_approved',\n value: 'purchase_option_approved'\n },\n {\n label: 'Credit review',\n id: 'credit_review',\n value: 'credit_review'\n },\n {\n label: 'Signer',\n id: 'signer',\n value: 'signer'\n },\n {\n label: 'File upload',\n id: 'file_upload',\n value: 'file_upload'\n },\n {\n label: 'Envelope',\n id: 'envelope',\n value: 'envelope'\n },\n {\n label: 'Payment auth',\n id: 'payment_auth',\n value: 'payment_auth'\n },\n {\n label: 'Invoice',\n id: 'invoice',\n value: 'invoice'\n },\n {\n label: 'Transactions',\n id: 'transaction',\n value: 'transaction'\n }\n ]\n\n const [collapsibleOpen, setCollapsibleOpen] = useState({\n 'quote': false,\n 'purchase_option': false\n })\n\n const handleSegmentSelect = (value) => {\n let newCollapsibleOpen = JSON.parse(JSON.stringify(collapsibleOpen))\n newCollapsibleOpen[value] = !collapsibleOpen[value]\n\n setCollapsibleOpen(newCollapsibleOpen)\n }\n\n const handleActiveOptionChange = (value, domId) => {}\n\n const handleTaskSelectionChange = (taskName, value) => {\n let currentTaskValues = JSON.parse(JSON.stringify(filterValues['task']))\n currentTaskValues[taskName] = value\n\n handleFilterValueChange(currentTaskValues)\n }\n\n const clearTaskValue = (taskName) => {\n let currentTaskValues = JSON.parse(JSON.stringify(filterValues['task']))\n delete currentTaskValues[taskName]\n\n handleFilterValueChange(currentTaskValues)\n }\n\n // Task Filter\n const taskFilter = (\n {}}\n >\n \n\n { \n segments.map(({label, id, value}) => {\n return (\n
    \n
    \n \n
    { handleSegmentSelect(id)}}>\n {label}\n
    \n \n { filterValues['task'][id]?.length > 0 && \n \n }\n \n
    \n\n \n { handleTaskSelectionChange(id, value) }}\n />\n \n
    \n );\n }) \n }\n \n \n )\n\n return taskFilter\n};\n\nexport default TaskFilter;\n","import React, { useState, useEffect } from \"react\";\n\nimport {\n ChoiceList,\n TextField,\n RangeSlider,\n Autocomplete,\n LegacyStack,\n Icon,\n Tag,\n} from \"@shopify/polaris\";\n\nimport { dateOptions } from \"../../utilities\";\nimport TaskFilter from \"./TaskFilter\";\nimport { SearchIcon } from \"@shopify/polaris-icons\";\n\nconst ViewFilter = (props) => {\n const {\n filterKey,\n filterObject,\n initialValues,\n filterValues,\n setFilterValues,\n savedViews,\n selectedView,\n handleUpdateSavedView,\n isUpdatingSavedView,\n appliedFilters,\n setAppliedFilters,\n viewFilterSelectedValues,\n setViewFilterSelectedValues,\n viewFilterHasSearchFocus,\n handleSearchValueChange,\n searchFilterOptions,\n handleRemoveViewFilter,\n isLoadingDynamic,\n } = props;\n\n // Function to set values\n const handleFilterValueChange = (value) => {\n // Reject if initial value or empty\n // if (value === initialValues[filterKey] || value === \"\" || value == undefined) return\n\n // Set Value in Parent component\n const newValues = JSON.parse(JSON.stringify(filterValues));\n newValues[filterKey] = value;\n\n setFilterValues(newValues);\n\n // Set Applied Filters in Parent component\n let newAppliedFilters = [];\n\n for (let i = 0; i < appliedFilters.length; i++) {\n if (appliedFilters[i].key !== filterKey) {\n newAppliedFilters.push(appliedFilters[i]);\n }\n }\n\n // Set label according to filter type\n let filterLabel = filterObject.label + \": \";\n let label = \"\";\n switch (filterObject.type) {\n case \"choice_string\":\n if (filterObject.dynamic) {\n label = value;\n filterLabel = filterLabel + value;\n } else {\n for (let i = 0; i < filterObject.choices.length; i++) {\n if (filterObject.choices[i].value == value) {\n label = filterObject.choices[i].label;\n filterLabel = filterLabel + filterObject.choices[i].label;\n break;\n }\n }\n }\n break;\n case \"date\":\n for (let i = 0; i < dateOptions.length; i++) {\n if (dateOptions[i].value == value) {\n label = dateOptions[i].label;\n filterLabel = filterLabel + dateOptions[i].label;\n break;\n }\n }\n break;\n case \"search_string\":\n label = value;\n filterLabel = filterLabel + value;\n break;\n case \"task\":\n label = \"Requirements\";\n filterLabel = \"Requirements\";\n break;\n default:\n label = value;\n filterLabel = filterLabel + value;\n break;\n }\n\n newAppliedFilters.push({\n key: filterKey,\n label: filterLabel,\n onRemove: function () {\n handleRemoveViewFilter(selectedView, filterKey);\n },\n });\n\n setAppliedFilters(newAppliedFilters);\n\n // Update Query\n let currentSavedViewIndex = selectedView - 1;\n let currentSavedView = savedViews[currentSavedViewIndex];\n\n let savedViewFilters = JSON.parse(currentSavedView.attributes.filters);\n let queryString = filterObject.query;\n\n switch (filterObject.type) {\n case \"choice_string\":\n savedViewFilters[filterKey] = {\n query: queryString,\n value: value,\n label: label,\n };\n break;\n case \"date\":\n savedViewFilters[filterKey] = {\n query: queryString,\n value: value,\n label: label,\n };\n break;\n case \"search_string\":\n savedViewFilters[filterKey] = {\n query: queryString,\n value: value,\n label: label,\n };\n break;\n case \"task\":\n // Build Query\n let taskKeys = Object.keys(value);\n\n let taskQueryString = \"\";\n let taskValues = [];\n for (let i = 0; i < taskKeys.length; i++) {\n let currentKey = taskKeys[i];\n taskQueryString = taskQueryString + currentKey + \"_status = ?\";\n\n taskValues.push(value[currentKey][0]);\n\n if (i != taskKeys.length - 1) {\n taskQueryString = taskQueryString + \" AND \";\n }\n }\n\n savedViewFilters[filterKey] = {\n query: taskQueryString,\n value: taskValues,\n label: \"Requirements\",\n };\n break;\n default:\n break;\n }\n\n // Create special case for new stage filter\n if (filterKey == \"stagename\") {\n let specialQueryString = queryString.replace(\"?\", value);\n savedViewFilters[filterKey] = {\n query: specialQueryString,\n value: \"\",\n label: label,\n };\n }\n\n let stringSavedViewFilters = JSON.stringify(savedViewFilters);\n\n handleUpdateSavedView(selectedView, undefined, stringSavedViewFilters);\n };\n\n // Function set search filter icon\n const handleSearchFilterIcon = (value) => {\n let newSelectedValues = JSON.parse(\n JSON.stringify(viewFilterSelectedValues)\n );\n newSelectedValues[filterKey] = value;\n setViewFilterSelectedValues(newSelectedValues);\n };\n\n const handleRemoveFilterIcon = () => {\n let newValues = JSON.parse(JSON.stringify(filterValues));\n delete newValues[filterKey];\n setFilterValues(newValues);\n\n let newSelectedValues = JSON.parse(\n JSON.stringify(viewFilterSelectedValues)\n );\n delete newSelectedValues[filterKey];\n setViewFilterSelectedValues(newSelectedValues);\n\n let currentSavedViewIndex = selectedView - 1;\n let currentSavedView = savedViews[currentSavedViewIndex];\n let savedViewFilters = JSON.parse(currentSavedView.attributes.filters);\n delete savedViewFilters[filterKey];\n\n let stringSavedViewFilters = JSON.stringify(savedViewFilters);\n\n handleUpdateSavedView(selectedView, undefined, stringSavedViewFilters);\n };\n\n // Choice Filter\n const choiceListFilter = () => {\n const { label, choices = [], dynamic, multiple } = filterObject;\n\n let choiceListChoices = dynamic\n ? searchFilterOptions[filterKey] || []\n : choices;\n\n return (\n \n );\n };\n\n // Text Filter\n const textFieldFilter = () => {\n const { label } = filterObject;\n\n return (\n \n );\n };\n\n const [searchTextFilterText, setSearchTextFilterText] = useState(\"\");\n\n // Search Text Filter\n const searchTextFieldFilter = () => {\n const { label } = filterObject;\n\n return (\n <>\n {filterKey in viewFilterSelectedValues &&\n filterValues[filterKey] &&\n filterValues[filterKey]?.length > 0 ? (\n \n \n

    {filterValues[filterKey]}

    \n \n
    \n ) : (\n 0\n ? searchFilterOptions[filterKey]\n : []\n }\n selected={[]}\n onSelect={(value) => {\n handleSearchFilterIcon(value);\n handleSearchValueChange(value);\n handleFilterValueChange(value);\n }}\n textField={\n {\n setSearchTextFilterText(value);\n handleSearchValueChange(value);\n handleFilterValueChange(value);\n }}\n value={searchTextFilterText}\n prefix={}\n placeholder={`Search ${label}...`}\n focused={viewFilterHasSearchFocus}\n />\n }\n loading={isLoadingDynamic}\n listTitle={label}\n preferredPosition=\"bottom\"\n />\n )}\n \n );\n };\n\n // Range Filter - Currently not working properly\n const rangeSliderFilter = () => {\n const { label, min, max, step } = filterObject;\n\n return (\n \n );\n };\n\n // Date Filter\n const dateFilter = () => {\n const { label } = filterObject;\n\n return (\n \n );\n };\n\n // Task Filter\n const taskFilter = () => {\n const { label } = filterObject;\n\n return (\n \n );\n };\n\n const returnFilter = () => {\n const { type } = filterObject;\n\n switch (type) {\n case \"free_string\":\n return textFieldFilter();\n break;\n case \"search_string\":\n return searchTextFieldFilter();\n break;\n case \"choice_string\":\n return choiceListFilter();\n break;\n case \"number\":\n return rangeSliderFilter();\n break;\n case \"date\":\n return dateFilter();\n break;\n case \"task\":\n return taskFilter();\n break;\n default:\n return null;\n }\n };\n\n return returnFilter();\n};\n\nexport default ViewFilter;\n","import React from \"react\";\n\nimport {\n InlineGrid,\n Card,\n SkeletonDisplayText,\n Text,\n} from \"@shopify/polaris\";\nimport { isMobile } from \"react-device-detect\";\n\nconst HomeTableSkeletonCards = () => {\n return (\n \n \n \n Total opportunities\n \n\n
    \n\n \n
    \n \n \n Total volume\n \n\n
    \n\n \n
    \n \n \n Average Opportunity amount\n \n\n
    \n\n \n
    \n
    \n );\n};\n\nexport default HomeTableSkeletonCards;\n","import {\n IndexTable,\n IndexFilters,\n useSetIndexFiltersMode,\n Text,\n ChoiceList,\n Card,\n BlockStack,\n InlineGrid,\n Link,\n InlineStack,\n Pagination,\n Tag,\n Modal,\n Avatar,\n Badge,\n Icon,\n ProgressBar,\n Box,\n Tooltip,\n} from \"@shopify/polaris\";\nimport React, { useState, useCallback, useEffect } from \"react\";\n\nimport { useDebounce } from \"use-debounce\";\n\nimport { NotificationFilledIcon } from \"@shopify/polaris-icons\";\n\nimport {\n useGetOpportunityStatsQuery,\n useGetOpportunitiesQuery,\n useUpdateTagOpportunitiesMutation,\n useDeleteOpportunitiesMutation,\n useGetSavedViewsQuery,\n useCreateSavedViewMutation,\n useUpdateSavedViewMutation,\n useDeleteSavedViewMutation,\n useSearchContactsQuery,\n useGetTagsQuery,\n useGetTeamsQuery,\n useGetVendorsQuery,\n} from \"../../services/api\";\nimport {\n formatCurrency,\n formatNumericDate,\n dateOptions,\n taskLabels,\n taskNameToLabel,\n taskLabelToName,\n taskNameToChoices,\n} from \"../../utilities\";\n\nimport {\n filters,\n attributes,\n initialValues,\n allowedTeamAdminAttributes,\n} from \"../../services/filters/opportunity\";\nimport ViewFilter from \"./ViewFilter\";\nimport HomeTableSkeletonCards from \"./HomeTableSkeletonCards\";\nimport { isMobile } from \"react-device-detect\";\nimport TaskList from \"./TaskList\";\nimport TaskListProgressBar from \"./TaskListProgressBar\";\n\nconst HomeTableWithIndexFilter = (props) => {\n const {\n isCurrentContactOrgAdmin,\n isVendorAdmin,\n onOpportunityClick,\n setExportSearchValue,\n setExportSortValue,\n setExportTabFilter,\n setExportSavedView,\n } = props;\n\n const headings = [\n { title: \"Opportunity\" },\n { title: \"Last modified\" },\n { title: \"Status\" },\n { title: \"Originator\" },\n { title: \"Amount\", alignment: \"end\" },\n // { title: \"Tasks\" },\n { title: \"Tag\" },\n ];\n\n const { data: tags = [], isLoading: fetchingTags } = useGetTagsQuery();\n\n const limit = 25;\n const [page, setPage] = useState(1);\n const [queryValue, setQueryValue] = useState(undefined);\n const [searchValue] = useDebounce(queryValue, 500);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [sortDirection, setSortDirection] = useState(\"descending\");\n const [tabFilter, setTabFilter] = useState(null);\n const [selected, setSelected] = useState(0);\n const [selectedTag, setSelectedTag] = useState(\n fetchingTags ? [] : tags[0]?.name\n );\n const [savedViewSearch, setSavedViewSearch] = useState(null);\n const [choiceListTags, setChoiceListTags] = useState([]);\n const [taskName, setTaskName] = useState(undefined);\n const [taskStatus, setTaskStatus] = useState(undefined);\n\n const [loadedLocalStorageView, setLoadedLocalStorageView] = useState(false);\n\n const handleSelectedTagChange = useCallback((tagVal) => {\n setSelectedTag(tagVal);\n }, []);\n\n const {\n data: opportunityData = { count: 0 },\n isLoading: queryIsLoading,\n isFetching: queryIsFetching,\n refetch: refetchOpportunities,\n } = useGetOpportunitiesQuery(\n {\n page: page,\n limit: limit,\n filters: tabFilter,\n task_name: taskName,\n status: taskStatus,\n sort: sortValue,\n search: searchValue,\n savedView: savedViewSearch,\n },\n { skip: !loadedLocalStorageView }\n );\n\n // PROD-34\n const {\n data: opportunityStatsData,\n isLoading: isLoadingStats,\n isFetching: isFetchingStats,\n } = useGetOpportunityStatsQuery(\n {\n filters: tabFilter,\n task_name: taskName,\n status: taskStatus,\n search: searchValue,\n savedView: savedViewSearch,\n },\n { skip: !loadedLocalStorageView }\n );\n\n useEffect(() => {\n if (tags) {\n setChoiceListTags(\n tags.map((tag) => {\n return { label: tag.attributes.name, value: tag.id };\n })\n );\n }\n }, [tags]);\n\n const [deleteOpportunities, { isLoading: isDeleting }] =\n useDeleteOpportunitiesMutation();\n\n const [updateTagOpportunities, { isLoading: isTagging }] =\n useUpdateTagOpportunitiesMutation();\n\n const {\n data: savedViews,\n isLoading: isLoadingSavedViews,\n refetch: refetchSavedViews,\n } = useGetSavedViewsQuery();\n\n const [createSavedView, { isLoading: isCreatingSavedView }] =\n useCreateSavedViewMutation();\n\n const [updateSavedView, { isLoading: isUpdatingSavedView }] =\n useUpdateSavedViewMutation();\n\n const [deleteSavedView, { isLoading: isDeletingSavedView }] =\n useDeleteSavedViewMutation();\n\n const [originatorSearchValue, setOriginatorSearchValue] = useState(\"\");\n const [originatorSearchQuery] = useDebounce(originatorSearchValue, 500);\n\n const { data: searchContacts = [], isLoading: isLoadingSearchContacts } =\n useSearchContactsQuery(\n { search: originatorSearchQuery },\n { skip: !originatorSearchQuery || originatorSearchQuery?.length === 0 }\n );\n\n const { data: searchTeams = [], isLoading: isLoadingSearchTeams } =\n useGetTeamsQuery({ is_home_index: true });\n\n const [opportunities, setOpportunities] = useState([]);\n const [isOpportunitiesLoading, setIsOpportunitiesLoading] = useState(true);\n const [selectedResources, setSelectedResources] = useState([]);\n const [allSelected, setAllSeleted] = useState(false);\n\n const [selectedTaskStatus, setSelectedTaskStatus] = useState(undefined);\n\n const handleSelectionChange = (selectionType, toggleType, selection) => {\n let selectionList = [...selectedResources];\n\n if (selectionType === \"single\") {\n // Check if in selection\n let inSelectionIndex = -1;\n for (let i = 0; i < selectedResources.length; i++) {\n if (selectedResources[i] === selection) {\n inSelectionIndex = i;\n break;\n }\n }\n\n if (inSelectionIndex != -1) {\n // Remove if in list\n selectionList.splice(inSelectionIndex, 1);\n } else {\n // Add if not\n selectionList.push(selection);\n }\n\n setSelectedResources(selectionList);\n setAllSeleted(false);\n } else {\n if (allSelected || selectedResources.length === opportunities.length) {\n // Clear selection\n setSelectedResources([]);\n setAllSeleted(false);\n } else {\n // Select all\n let list = [];\n for (let i = 0; i < limit; i++) {\n list.push(i);\n }\n setSelectedResources(list);\n setAllSeleted(true);\n }\n }\n };\n\n const resourceName = {\n singular: \"opportunity\",\n plural: \"opportunities\",\n };\n\n useEffect(() => {\n if (opportunityData?.opportunities?.data) {\n // Set up all tags\n let allTags = {};\n if (opportunityData?.opportunities?.included) {\n for (\n let i = 0;\n i < opportunityData?.opportunities?.included.length;\n i++\n ) {\n let currentTag = opportunityData.opportunities.included[i];\n allTags[currentTag.id] = {\n name: currentTag.attributes.name,\n count: currentTag.attributes.taggings_count,\n };\n }\n }\n\n // Set page and opportunities\n let lowerLimit = (page - 1) * limit;\n let upperLimit = page * limit;\n let list = [];\n\n let ocount = 0;\n for (let lcount = lowerLimit; lcount < upperLimit; lcount++) {\n if (opportunityData?.opportunities?.data[ocount]) {\n let o = { ...opportunityData.opportunities.data[ocount] };\n\n let oTags = [];\n for (let i = 0; i < o.relationships?.tags?.data.length; i++) {\n let tagId = o.relationships.tags.data[i].id;\n oTags.push(allTags[tagId]);\n }\n\n let vTags = [];\n for (let i = 0; i < o.relationships?.vendor_tags?.data.length; i++) {\n let tagId = o.relationships.vendor_tags.data[i].id;\n vTags.push(allTags[tagId]);\n }\n\n o.tags = oTags;\n o.vendor_tags = vTags;\n\n list[lcount] = o;\n }\n ocount += 1;\n }\n\n // Get and set Tags\n let all_tags = tags;\n\n let tagOptions = [];\n for (let i = 0; i < all_tags.length; i++) {\n tagOptions.push({\n key: all_tags[i].id,\n label: all_tags[i].attributes.name,\n value: all_tags[i].attributes.name,\n });\n }\n\n let creditReviewOptions = [\n {\n key: \"1_credit_review_option\",\n label: \"Requested\",\n value: \"Requested\",\n },\n {\n key: \"2_credit_review_option\",\n label: \"Not Requested\",\n value: \"Not Requested\",\n },\n ];\n\n let filterOptions = JSON.parse(JSON.stringify(searchFilterOptions));\n filterOptions[\"tags\"] = tagOptions;\n filterOptions[\"credit_review\"] = creditReviewOptions;\n\n let statusOptions = [];\n [\n \"1,Open,open\",\n \"2,Closed/Lost,closed_lost\",\n \"3,Closed/Won,closed_won\",\n \"4,TBD,tbd\",\n ].forEach((option) => {\n const op = option.split(\",\");\n statusOptions.push({\n key: `${op[0]}_${op[2]}`,\n label: op[1],\n value: op[2],\n });\n });\n filterOptions[\"status\"] = statusOptions;\n\n if (opportunityData?.financing_type_list) {\n let financingTypes = opportunityData.financing_type_list;\n let financingTypeOptions = [];\n for (let i = 0; i < financingTypes.length; i++) {\n financingTypeOptions.push({\n key: `${i}_${financingTypes[i]}`,\n label: financingTypes[i],\n value: financingTypes[i],\n });\n }\n filterOptions[\"financing_type\"] = financingTypeOptions;\n }\n\n setSearchFilterOptions(filterOptions);\n\n setOpportunities(list);\n setIsOpportunitiesLoading(false);\n } else if (\n opportunityStatsData?.count == 0 &&\n opportunityStatsData?.volume == 0 &&\n opportunityStatsData?.average == 0\n ) {\n setOpportunities([]);\n setIsOpportunitiesLoading(false);\n }\n }, [\n opportunityData,\n opportunityStatsData?.average,\n opportunityStatsData?.count,\n opportunityStatsData?.volume,\n page,\n searchFilterOptions,\n selected,\n tags,\n ]);\n\n useEffect(() => {\n setPage(1);\n }, [searchValue]);\n\n useEffect(() => {\n if (savedViews) {\n let viewNames = [];\n\n for (let i = 0; i < savedViews.length; i++) {\n viewNames.push(savedViews[i].attributes.name);\n }\n\n // setItemStrings([\"All\", ...taskLabels, ...viewNames]);\n setItemStrings([\"Open\", ...viewNames]);\n }\n }, [savedViews]);\n\n const handleTableSorting = (headingIndex, direction) => {\n let currentSortDirection = \"descending\";\n if (sortDirection === \"ascending\") {\n currentSortDirection = \"descending\";\n setSortDirection(\"descending\");\n } else {\n currentSortDirection = \"ascending\";\n setSortDirection(\"ascending\");\n }\n\n let sortTag = \"\";\n switch (headingIndex) {\n case 1:\n sortTag = \"CREATED_AT_\";\n break;\n case 2:\n sortTag = \"ORIGINATOR_\";\n break;\n case 3:\n sortTag = \"AMOUNT_\";\n break;\n }\n\n if (currentSortDirection === \"ascending\") {\n sortTag = `${sortTag}ASC`;\n } else {\n sortTag = `${sortTag}DESC`;\n }\n\n setSortValue(sortTag);\n };\n\n const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));\n\n // const [itemStrings, setItemStrings] = useState([\"All\", ...taskLabels]);\n const [itemStrings, setItemStrings] = useState([\"All\"]);\n\n const handleDeleteSavedView = (index) => {\n // Find existing saved view\n // let savedViewIndex = index - (taskLabels.length + 1);\n let savedViewIndex = index - 1;\n let savedViewId = savedViews[savedViewIndex].id;\n\n return deleteSavedView({\n id: savedViewId,\n })\n .unwrap()\n .then(() => {\n const newItemStrings = [...itemStrings];\n newItemStrings.splice(index, 1);\n setItemStrings(newItemStrings);\n setSelected(0);\n\n // delete the saved view from local storage\n localStorage.removeItem(\"fortify-app-selected-view-name\");\n localStorage.removeItem(\"fortify-app-selected-view-name-value\");\n\n return true;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const deleteView = (index) => {\n handleDeleteSavedView(index);\n };\n\n const [selectedView, setSelectedView] = useState(0);\n\n const handleSelectNewView = (viewIndex) => {\n let selectedViewName = itemStrings[viewIndex];\n\n if (viewIndex == 0) {\n setTaskName(undefined);\n setSelectedTaskStatus([]);\n setTaskStatus(undefined);\n // reset sorting for \"Open\" default view\n setSortValue(\"UPDATED_AT_DESC\");\n setSortSelected([\"updated_at desc\"]);\n }\n\n setTabFilter(null);\n setSavedViewSearch(selectedViewName);\n\n // Set page to one\n setPage(1);\n setSelectedView(viewIndex);\n\n // Save view name to local storage\n localStorage.setItem(\"fortify-app-selected-view-name\", selectedViewName);\n\n // Save view value to local storage\n localStorage.setItem(\"fortify-app-selected-view-name-value\", \"Complete\");\n };\n\n useEffect(() => {\n const savedSelectedView = localStorage.getItem(\n \"fortify-app-selected-view-name\"\n );\n\n if (savedViews) {\n if (savedSelectedView) {\n if (savedSelectedView === \"All\") {\n setLoadedLocalStorageView(true);\n return;\n }\n\n setTabFilter(null);\n setSavedViewSearch(savedSelectedView);\n\n let savedViewIndex = savedViews.findIndex(\n (view) => view.attributes.name === savedSelectedView\n );\n\n if (savedViewIndex !== -1) {\n setSelectedView(savedViewIndex + 1);\n }\n\n // Set page to one\n setPage(1);\n }\n\n setLoadedLocalStorageView(true);\n }\n }, [savedViews, loadedLocalStorageView]); // Add loadedLocalStorageView as a dependency\n\n const handleCreateNewSavedView = (viewName, index = 0) => {\n let filterString = \"{}\";\n\n // Find existing saved view\n // if (index >= taskLabels.length + 1) {\n // let savedViewIndex = index - (taskLabels.length + 1);\n // let currentSavedView = savedViews[savedViewIndex];\n\n // filterString = currentSavedView.attributes.filters;\n // }\n\n return createSavedView({\n saved_view: {\n name: viewName,\n type: \"OpportunitySavedView\",\n filters: filterString,\n sort: sortValue,\n },\n })\n .unwrap()\n .then(() => {\n // Set view search to name\n setSavedViewSearch(viewName);\n\n // Set to new saved view - Should be last in itemStrings\n setSelectedView(itemStrings.length);\n\n // Old Code - Search in itemStrings\n // for (let i = 0; i < itemStrings.length; i++) {\n // if (itemStrings[i] === viewName) {\n // setSelectedView(i);\n // break;\n // }\n // }\n\n // Refetch saved view\n refetchSavedViews();\n\n return true;\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const duplicateView = async (name, index) => {\n handleCreateNewSavedView(name, index);\n };\n\n const onCreateNewView = (value) => {\n handleCreateNewSavedView(value);\n };\n\n const handleUpdateSavedView = (index, rename, newFilters) => {\n // Find existing saved view\n // let savedViewIndex = index - (taskLabels.length + 1);\n let savedViewIndex = index - 1;\n let savedViewId = savedViews[savedViewIndex].id;\n\n // Actual Update\n let saved_view = {};\n\n if (rename) {\n saved_view.name = rename;\n }\n if (newFilters) {\n saved_view.filters = newFilters;\n }\n\n if (sortValue) {\n saved_view.sort = sortValue;\n }\n\n return updateSavedView({\n id: savedViewId,\n saved_view: saved_view,\n })\n .unwrap()\n .then(() => {\n if (rename) {\n const newItemsStrings = tabs.map((item, idx) => {\n if (idx === index) {\n return rename;\n }\n return item.content;\n });\n\n setItemStrings(newItemsStrings);\n\n // Refetch Opportunities if filters were changed\n if (newFilters) refetchOpportunities();\n\n return true;\n }\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const tabs = itemStrings.map((item, index) => ({\n content: item,\n index,\n onAction: () => {},\n id: `${item}-${index}`,\n isLocked: index === 0,\n actions:\n index <= 0\n ? []\n : [\n {\n type: \"rename\",\n onAction: () => {},\n onPrimaryAction: (value) => {\n handleUpdateSavedView(index, value, undefined);\n },\n },\n {\n type: \"duplicate\",\n onPrimaryAction: async (value) => {\n await sleep(1);\n\n duplicateView(value, index);\n return true;\n },\n },\n {\n type: \"delete\",\n onPrimaryAction: async () => {\n deleteView(index);\n },\n },\n ],\n }));\n\n const sortOptions = [\n { label: \"Opportunity\", value: \"name asc\", directionLabel: \"A-Z\" },\n { label: \"Opportunity\", value: \"name desc\", directionLabel: \"Z-A\" },\n\n // {\n // label: \"Completed tasks\",\n // value: \"completed_tasks_count asc\",\n // directionLabel: \"Ascending\",\n // },\n // {\n // label: \"Completed tasks\",\n // value: \"completed_tasks_count desc\",\n // directionLabel: \"Descending\",\n // },\n\n {\n label: \"Last modified\",\n value: \"updated_at asc\",\n directionLabel: \"Ascending\",\n },\n {\n label: \"Last modified\",\n value: \"updated_at desc\",\n directionLabel: \"Descending\",\n },\n\n {\n label: \"Amount\",\n value: \"amount asc\",\n directionLabel: \"Ascending\",\n },\n {\n label: \"Amount\",\n value: \"amount desc\",\n directionLabel: \"Descending\",\n },\n\n { label: \"Status\", value: \"stagename asc\", directionLabel: \"A-Z\" },\n { label: \"Status\", value: \"stagename desc\", directionLabel: \"Z-A\" },\n ];\n\n const [sortSelected, setSortSelected] = useState([\"updated_at desc\"]);\n\n const handleSortChange = (value) => {\n setSortSelected(value);\n\n const savedViewIndex = selectedView - 1;\n let currentSortValue = value[0];\n let sortString = currentSortValue.toUpperCase();\n let savedViewId = savedViews[savedViewIndex].id;\n sortString = sortString.split(\" \");\n sortString = sortString[0] + \"_\" + sortString[1];\n\n setSortValue(sortString);\n\n if (savedViewId) {\n updateSavedView({\n id: savedViewId,\n saved_view: { sort: sortString },\n })\n .unwrap()\n .then()\n .catch((error) => {\n console.log(error);\n });\n }\n };\n\n const { mode, setMode } = useSetIndexFiltersMode();\n const onHandleCancel = () => {};\n\n const onHandleSave = async () => {\n await sleep(1);\n return true;\n };\n\n const primaryAction =\n selectedView === 0\n ? {\n type: \"save-as\",\n onAction: onCreateNewView,\n disabled: false,\n loading: false,\n }\n : {\n type: \"save\",\n onAction: onHandleSave,\n disabled: false,\n loading: false,\n };\n\n const handleFiltersQueryChange = useCallback(\n (value) => setQueryValue(value),\n []\n );\n const handleFilterQueryClear = useCallback(\n () => setQueryValue(undefined),\n []\n );\n\n const handleFiltersClearAll = useCallback(() => {\n // Set page to 1\n setPage(1);\n\n // Ignore clear - Should not be able to remove filter\n // if (selectedView < taskLabels.length + 1) return;\n\n setViewFilterValues(initialValues);\n setAppliedFilters([]);\n\n // let savedViewIndex = selectedView - (taskLabels.length + 1);\n let savedViewIndex = selectedView - 1;\n let savedViewId = savedViews[savedViewIndex].id;\n\n return updateSavedView({\n id: savedViewId,\n saved_view: { filters: \"{}\", sort: null },\n })\n .unwrap()\n .then(() => {\n refetchOpportunities();\n })\n .catch((error) => {\n console.log(error);\n });\n }, [selectedView]);\n\n const [viewFilters, setViewFilters] = useState([]);\n const [appliedFilters, setAppliedFilters] = useState([]);\n const [viewFilterValues, setViewFilterValues] = useState(initialValues);\n const [viewFilterSelectedValues, setViewFilterSelectedValues] = useState({});\n\n const [vendorNameSearch, setVendorNameSearch] = useState(\n initialValues[\"vendor_name\"]\n );\n const [vendorNameSearchDebounce] = useDebounce(vendorNameSearch, 500);\n\n useEffect(() => {\n setVendorNameSearch(viewFilterValues[\"vendor_name\"]);\n }, [viewFilterValues]);\n\n const { data: searchVendors = [], isLoading: isLoadingSearchVendors } =\n useGetVendorsQuery({\n search: vendorNameSearchDebounce,\n is_home_index: true,\n });\n\n useEffect(() => {\n // Properly set search vendors\n\n if (searchVendors.length > 0) {\n // Reset other search\n setOriginatorSearchValue(null);\n\n let vendorOptions = [];\n for (let i = 0; i < searchVendors.length; i++) {\n vendorOptions.push({\n key: searchVendors[i].id,\n label: searchVendors[i].attributes.name,\n value: searchVendors[i].attributes.name,\n });\n }\n\n let filterOptions = JSON.parse(JSON.stringify(searchFilterOptions));\n filterOptions[\"vendor_name\"] = vendorOptions;\n\n setSearchFilterOptions(filterOptions);\n }\n }, [searchVendors]);\n\n // Task Filters\n\n const onChangeSetViewFilters = useCallback(\n (queryValue) => {\n setSelectedTaskStatus(queryValue);\n setTaskStatus(queryValue[0]);\n\n setAutomaticStatusFilterForTaskViews(queryValue, taskName);\n\n // Save change to local storage\n localStorage.setItem(\n \"fortify-app-selected-view-name-value\",\n queryValue[0]\n );\n },\n [taskName]\n );\n\n const setAutomaticStatusFilterForTaskViews = useCallback(\n (queryTaskStatus = [], task) => {\n let filterKey = \"taskName\";\n let taskNameKey = taskName || task;\n\n // Push status filter filter\n setViewFilters([\n {\n key: filterKey,\n label: \"Status\",\n filter: (\n \n ),\n },\n ]);\n\n if (queryTaskStatus[0]) {\n let newAppliedFilters = [];\n newAppliedFilters.push({\n key: filterKey,\n label: `Status`,\n onRemove: () => {}, //Purposefully blank - Should NOT be removed\n });\n\n setAppliedFilters(newAppliedFilters);\n }\n },\n [selectedTaskStatus, taskName]\n );\n\n // Search Filter\n const [searchFilterOptions, setSearchFilterOptions] = useState({\n originator_name: [],\n team_name: [],\n });\n const [viewFilterHasSearchFocus, setViewFilterHasSearchFocus] =\n useState(false);\n\n const setFilterListForSavedView = () => {\n let filterList = [];\n for (let i = 0; i < attributes.length; i++) {\n let attribute = attributes[i];\n let filter = filters[attribute];\n\n // Filter by user authorization (Org Admin, Team Admin, etc)\n // If tags and not org admin or vendor admin, skip\n if (!(isCurrentContactOrgAdmin || isVendorAdmin) && attribute === \"tags\")\n continue;\n // If team admin or member (not vendor admin or org admin), limit filters\n if (\n !isCurrentContactOrgAdmin &&\n !isVendorAdmin &&\n allowedTeamAdminAttributes.indexOf(attribute) < 0\n )\n continue;\n\n let originatorHandle = (value) => {\n filters[attribute].handleSearchChange(\n value,\n handleSearchFilterValueChangeForOriginator\n );\n };\n\n let teamHandle = (value) => {\n filters[attribute].handleSearchChange(\n value,\n handleSearchFilterValueChangeForTeams\n );\n };\n\n let vendorHandle = (value) => {\n filters[attribute].handleSearchChange(\n value,\n handleSearchFilterValueChangeForVendors\n );\n };\n\n let searchValueHandler = (value) => {\n switch (attribute) {\n case \"originator_name\":\n originatorHandle(value);\n break;\n case \"team_name\":\n teamHandle(value);\n break;\n case \"vendor_name\":\n vendorHandle(value);\n break;\n default:\n break;\n }\n };\n\n filterList.push({\n key: attribute,\n label: filters[attribute]?.label,\n filter: (\n {\n searchValueHandler(value);\n }}\n searchFilterOptions={searchFilterOptions}\n handleRemoveViewFilter={handleRemoveViewFilter}\n isLoadingDynamic={\n isLoadingSearchContacts ||\n isLoadingSearchTeams ||\n isLoadingSearchVendors ||\n queryIsFetching ||\n queryIsLoading\n }\n />\n ),\n shortcut: true,\n });\n }\n\n setViewFilters(filterList);\n };\n\n useEffect(() => {\n if (selectedView == 0) {\n setViewFilters([]);\n // } else if (selectedView < taskLabels.length + 1) {\n // setAutomaticStatusFilterForTaskViews(selectedTaskStatus);\n } else {\n setFilterListForSavedView();\n }\n }, [\n viewFilterValues,\n selectedView,\n searchFilterOptions,\n viewFilterSelectedValues,\n savedViews,\n ]);\n\n useEffect(() => {\n if (searchContacts.length > 0) {\n let contactOptions = [];\n for (let i = 0; i < searchContacts.length; i++) {\n let contactLabel = \"\";\n\n var regExp = /[a-zA-Z]/g;\n if (regExp.test(searchContacts[i].attributes.full_name))\n contactLabel = searchContacts[i].attributes.full_name + \" - \";\n contactLabel = contactLabel + searchContacts[i].attributes.email;\n\n contactOptions.push({\n key: searchContacts[i].id,\n // For some reason, adding the media causes the list to error\n // media: (\n // \n // ),\n label: contactLabel,\n value: searchContacts[i].attributes.email,\n });\n }\n\n let filterOptions = JSON.parse(JSON.stringify(searchFilterOptions));\n filterOptions[\"originator_name\"] = contactOptions;\n\n setSearchFilterOptions(filterOptions);\n }\n }, [searchContacts]);\n\n const handleRemoveViewFilter = useCallback(\n (selectedView, filterKey) => {\n // Set page to one\n setPage(1);\n\n // Remove value\n // let currentViewIndex = selectedView - (taskLabels.length + 1);\n let currentViewIndex = selectedView - 1;\n let currentViewFilters = JSON.parse(\n savedViews[currentViewIndex].attributes.filters\n );\n delete currentViewFilters[filterKey];\n\n let newAppliedFilters = [];\n if (appliedFilters.length > 0) {\n for (let i = 0; i < appliedFilters.length; i++) {\n if (appliedFilters[i].key !== filterKey) {\n newAppliedFilters.push(appliedFilters[i]);\n }\n }\n\n setAppliedFilters(newAppliedFilters);\n } else {\n for (let i = 0; i < Object.keys(currentViewFilters).length; i++) {\n let filterKey = Object.keys(currentViewFilters)[i];\n\n // Skip stage name - To remove soon\n // if (filterKey === \"stagename\") {\n // i = i + 1;\n // if (i < Object.keys(currentViewFilters).length) {\n // filterKey = Object.keys(currentViewFilters)[i];\n // } else {\n // return;\n // }\n // }\n\n let filterLabel = filters[filterKey].label;\n if (\n (currentViewFilters[filterKey].value != [] ||\n currentViewFilters[filterKey].value != \"\") &&\n currentViewFilters[filterKey].value != initialValues[filterKey]\n ) {\n filterLabel =\n filterLabel + \": \" + currentViewFilters[filterKey].label;\n }\n\n newAppliedFilters.push({\n key: filterKey,\n label: filterLabel,\n onRemove: function () {\n handleRemoveViewFilter(selectedView, filterKey);\n },\n });\n }\n\n setAppliedFilters(newAppliedFilters);\n }\n\n let currentViewFilterString = JSON.stringify(currentViewFilters);\n\n // Update BE\n handleUpdateSavedView(selectedView, undefined, currentViewFilterString);\n\n // Reset to initial value\n currentViewFilters[filterKey] = initialValues[filterKey];\n\n setViewFilterValues(currentViewFilters);\n },\n [viewFilterValues, savedViews]\n );\n\n useEffect(() => {\n // Allows the filters and their chosen values to persist\n // if (selectedView > taskLabels.length) {\n if (selectedView > 0) {\n let appliedViewFilters = [];\n let appliedFilterValues = JSON.parse(JSON.stringify(initialValues));\n\n // let currentViewIndex = selectedView - (taskLabels.length + 1);\n let currentViewIndex = selectedView - 1;\n\n if (savedViews[currentViewIndex]) {\n if (savedViews[currentViewIndex]?.attributes?.sort) {\n const sortIndex = sortOptions.findIndex((option) => {\n const value = option.value.replace(/ /g, \"_\").toUpperCase();\n return savedViews[currentViewIndex]?.attributes?.sort.includes(\n value\n );\n });\n\n if (sortIndex >= 0) {\n setSortSelected([sortOptions[sortIndex].value]);\n }\n }\n\n let currentViewFilters = JSON.parse(\n savedViews[currentViewIndex].attributes.filters\n );\n\n for (let i = 0; i < Object.keys(currentViewFilters).length; i++) {\n let filterKey = Object.keys(currentViewFilters)[i];\n\n let filterLabel = filters[filterKey].label;\n // Handle stage name filter setting specifically (filter label first)\n if (filterKey === \"stagename\") {\n filterLabel = \"Stage: \" + currentViewFilters[filterKey].label;\n } else if (filterKey === \"task\") {\n filterLabel = \"Requirements\";\n } else if (\n (currentViewFilters[filterKey].value != [] ||\n currentViewFilters[filterKey].value != \"\") &&\n currentViewFilters[filterKey].value != initialValues[filterKey]\n ) {\n filterLabel =\n filterLabel + \": \" + currentViewFilters[filterKey].label;\n }\n\n appliedViewFilters.push({\n key: filterKey,\n label: filterLabel,\n onRemove: function () {\n handleRemoveViewFilter(selectedView, filterKey);\n },\n });\n\n if (\n filterKey === \"created_at\" ||\n filterKey === \"booked_at\" ||\n filterKey === \"funded_at\" ||\n filterKey === \"approved_at\"\n ) {\n for (let i = 0; i < dateOptions.length; i++) {\n if (currentViewFilters[filterKey].label == dateOptions[i].label) {\n appliedFilterValues[filterKey] = dateOptions[i].value;\n }\n }\n } else if (filterKey === \"task\") {\n let taskBreakingString = currentViewFilters[\n filterKey\n ].query.replaceAll(\"_status = ?\", \"\");\n let taskKeys = taskBreakingString.split(\" AND \");\n let taskValues = currentViewFilters[filterKey].value;\n\n let taskValue = {};\n for (let i = 0; i < taskKeys.length; i++) {\n let key = taskKeys[i];\n taskValue[key] = [taskValues[i]];\n }\n\n appliedFilterValues[filterKey] = taskValue;\n } else {\n appliedFilterValues[filterKey] =\n currentViewFilters[filterKey].value;\n }\n\n // Then handle specific stagename value\n if (filterKey === \"stagename\") {\n if (filterLabel.indexOf(\"Lost\") >= 0) {\n appliedFilterValues[filterKey] = \"('closed_lost')\";\n } else if (filterLabel.indexOf(\"Won\") >= 0) {\n appliedFilterValues[filterKey] = \"('closed_won')\";\n } else {\n appliedFilterValues[filterKey] =\n \"('lead', 'estimated_terms', 'credit_review', 'approved', 'booked', 'funding')\";\n }\n }\n }\n\n setSortValue(savedViews[currentViewIndex]?.attributes?.sort);\n setAppliedFilters(appliedViewFilters);\n setViewFilterValues(appliedFilterValues);\n }\n }\n }, [selectedView, savedViews]);\n\n const handleSearchFilterValueChangeForOriginator = (value) => {\n setOriginatorSearchValue(value);\n };\n\n const handleSearchFilterValueChangeForTeams = () => {\n // Reset other search\n setOriginatorSearchValue(null);\n\n let teamOptions = [];\n for (let i = 0; i < searchTeams.length; i++) {\n teamOptions.push({\n key: searchTeams[i].id,\n label: searchTeams[i].attributes.name,\n value: searchTeams[i].attributes.name,\n });\n }\n\n let filterOptions = JSON.parse(JSON.stringify(searchFilterOptions));\n filterOptions[\"team_name\"] = teamOptions;\n\n setSearchFilterOptions(filterOptions);\n };\n\n const handleSearchFilterValueChangeForVendors = () => {\n // Reset other search\n setOriginatorSearchValue(null);\n\n let vendorOptions = [];\n for (let i = 0; i < searchVendors.length; i++) {\n vendorOptions.push({\n key: searchVendors[i].id,\n label: searchVendors[i].attributes.name,\n value: searchVendors[i].attributes.name,\n });\n }\n\n let filterOptions = JSON.parse(JSON.stringify(searchFilterOptions));\n filterOptions[\"vendor_name\"] = vendorOptions;\n\n setSearchFilterOptions(filterOptions);\n };\n\n useEffect(() => {\n if (!viewFilterHasSearchFocus) {\n setOriginatorSearchValue(null);\n setSearchFilterOptions({});\n }\n }, [viewFilterHasSearchFocus]);\n\n // Handle changes outside of table\n useEffect(() => {\n setExportSearchValue(searchValue);\n setExportSortValue(sortValue);\n setExportTabFilter(tabFilter);\n setExportSavedView(savedViewSearch);\n }, [searchValue, sortValue, tabFilter, savedViewSearch]);\n\n const handleChangePage = (mode) => {\n setIsOpportunitiesLoading(true);\n setPage((state) => {\n if (\n mode == \"next\" &&\n state == Math.ceil(opportunityStatsData?.count / limit)\n ) {\n return Math.ceil(opportunityStatsData?.count / limit);\n } else if (mode == \"previous\" && state == 1) {\n return 1;\n }\n\n if (mode == \"next\") {\n return state + 1;\n } else if (mode == \"previous\") {\n return state - 1;\n }\n });\n };\n\n const bulkDeleteOpportunities = () => {\n const opportunityIds = [];\n\n if (allSelected) {\n for (let i = 0; i < opportunityStatsData?.count; i++) {\n opportunityIds.push(opportunityData.opportunities.data[i].id);\n }\n } else {\n for (let i = 0; i < selectedResources.length; i++) {\n let selectedResourceIndex = selectedResources[i];\n if (opportunities[selectedResourceIndex]) {\n opportunityIds.push(opportunities[selectedResourceIndex].id);\n }\n }\n }\n\n return deleteOpportunities({\n opportunityIds: opportunityIds,\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleTagOpportunities = () => {\n let opportunityIds = [];\n\n if (allSelected) {\n opportunityIds = opportunityData.opportunities.data.map(\n (opportunity) => opportunity.id\n );\n } else {\n opportunityIds = selectedResources.map((resourceIndex) => {\n if (opportunities[resourceIndex]) {\n return opportunities[resourceIndex].id;\n }\n });\n }\n\n return updateTagOpportunities({\n opportunity_ids: opportunityIds.join(\",\"),\n tag_ids: selectedTag.join(\",\"),\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const untagOpportunities = () => {\n let opportunityIds = [];\n\n if (allSelected) {\n opportunityIds = opportunityData.opportunities.data.map(\n (opportunity) => opportunity.id\n );\n } else {\n opportunityIds = selectedResources.map((resourceIndex) => {\n if (opportunities[resourceIndex]) {\n return opportunities[resourceIndex].id;\n }\n });\n }\n\n return updateTagOpportunities({\n opportunity_ids: opportunityIds.join(\",\"),\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const handleRemoveTag = (opportunityId, tag) => {\n return updateTagOpportunities({\n opportunity_id: opportunityId,\n tag_name: tag.name,\n single_remove: true,\n })\n .unwrap()\n .then(() => {\n setAllSeleted(false);\n setSelectedResources([]);\n setOpenSelectTagModal(false);\n handleSelectedTagChange([]);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const [openSelectTagModal, setOpenSelectTagModal] = useState(false);\n const [openConfirmationModal, setOpenConfirmationModal] = useState(false);\n const handleOpenConfirmationModal = () => {\n setOpenConfirmationModal(true);\n };\n const handleCloseConfirmationModal = () => {\n setOpenConfirmationModal(false);\n };\n const handleConfirmDeleteModal = () => {\n bulkDeleteOpportunities();\n setOpenConfirmationModal(false);\n };\n\n const areYouSureModal = (\n \n \n \n You are about to delete{\" \"}\n {allSelected ? opportunityStatsData?.count : selectedResources.length}{\" \"}\n opportunities. This action cannot be undone.\n \n \n \n );\n\n const selectTagModal = (\n setOpenSelectTagModal(false)}\n title=\"Add tag\"\n loading={isTagging}\n primaryAction={{\n content: \"Add tag\",\n onAction: handleTagOpportunities,\n }}\n secondaryActions={[\n {\n content: \"Cancel\",\n onAction: () => setOpenSelectTagModal(false),\n },\n ]}\n >\n \n {tags && (\n \n )}\n \n \n );\n\n const promotedBulkActions = [\n {\n content: \"Add tag\",\n onAction: () => setOpenSelectTagModal(true),\n },\n {\n content: \"Remove all tags\",\n onAction: untagOpportunities,\n },\n {\n content: \"Delete opportunities\",\n onAction: handleOpenConfirmationModal,\n },\n ];\n\n const vendorPromotedBulkActions = promotedBulkActions.filter(\n (action) => action.content !== \"Delete opportunities\"\n );\n\n const tablePagination = (\n handleChangePage(\"previous\")}\n onNext={() => handleChangePage(\"next\")}\n label={\n \n Page {page} of {Math.ceil(opportunityStatsData?.count / limit)}\n \n }\n />\n );\n\n const [indexTableIsLoading, setIndexTableIsLoading] = useState(false);\n useEffect(() => {\n setIndexTableIsLoading(\n isLoadingSavedViews ||\n isOpportunitiesLoading ||\n queryIsLoading ||\n queryIsFetching ||\n isTagging ||\n isCreatingSavedView ||\n isDeletingSavedView ||\n isUpdatingSavedView\n );\n }, [\n isOpportunitiesLoading,\n queryIsLoading,\n queryIsFetching,\n isLoadingSavedViews,\n isTagging,\n isCreatingSavedView,\n isDeletingSavedView,\n isUpdatingSavedView,\n ]);\n\n const rowMarkup = opportunities.map((item, index) => {\n const isOpportunityTbd = item.attributes.stagename === \"tbd\";\n const isOpportunityClosedLost = item.attributes.stagename === \"closed_lost\";\n const isOpportunityClosedWon = item.attributes.stagename === \"closed_won\";\n const isOpportunityOpen =\n !isOpportunityClosedLost && !isOpportunityClosedWon && !isOpportunityTbd;\n\n return (\n \n \n onOpportunityClick(item)}\n >\n \n \n {/* Temporarily disabling this until we have a better handle on database notifications. */}\n {/* {opportunityData.has_notification_ids.includes(item.id) && (\n \n )} */}\n\n \n {item.attributes.name}\n \n \n \n \n \n \n {formatNumericDate(new Date(item.attributes.updated_at))}\n \n\n \n {isOpportunityTbd && TBD}\n {isOpportunityClosedLost && Lost}\n {isOpportunityClosedWon && Won}\n {isOpportunityOpen && Open}\n \n\n {item.attributes.originator_name}\n\n \n \n {formatCurrency(item.attributes.total_amount)}\n \n \n\n {/* \n \n \n \n }\n >\n \n \n \n \n */}\n\n {(isCurrentContactOrgAdmin || isVendorAdmin) && (\n \n \n {isCurrentContactOrgAdmin &&\n item.tags &&\n item?.tags?.map((tag, index) => (\n handleRemoveTag(item.id, tag)}\n >\n {tag.name}\n \n ))}\n\n {(isCurrentContactOrgAdmin || isVendorAdmin) &&\n item.vendor_tags &&\n item?.vendor_tags?.map((tag, index) => (\n handleRemoveTag(item.id, tag)}\n >\n {tag.name}\n \n ))}\n \n \n )}\n \n );\n });\n\n return (\n \n {isLoadingStats || isFetchingStats ? (\n \n ) : (\n \n \n \n Total opportunities\n \n\n
    \n\n \n {opportunityStatsData?.count}\n \n
    \n \n \n Total volume\n \n\n
    \n\n \n {opportunityStatsData?.volume\n ? formatCurrency(opportunityStatsData?.volume)\n : \"-\"}\n \n
    \n \n \n Average Opportunity amount\n \n\n
    \n\n \n {opportunityStatsData?.average\n ? formatCurrency(opportunityStatsData?.average)\n : \"-\"}\n \n
    \n
    \n )}\n\n \n \n\n heading.title !== \"Tag\")\n }\n sortable={[false, true, false, true, true, false]}\n defaultSortDirection={\"descending\"}\n sortDirection={sortDirection}\n onSort={handleTableSorting}\n >\n {rowMarkup}\n \n\n \n
    \n {opportunityStatsData?.count > 0 ? tablePagination : <>}\n
    \n
    \n
    \n\n {areYouSureModal}\n {selectTagModal}\n
    \n );\n};\n\nexport default HomeTableWithIndexFilter;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n Page,\n Layout,\n Banner,\n} from \"@shopify/polaris\";\n\nimport {\n useLazyGetOpportunitiesQuery,\n useCreateOpportunityCsvMutation,\n} from \"../../services/api\";\nimport { isMobile } from \"react-device-detect\";\n\nimport FadeIn from \"../../components/FadeIn\";\nimport AttachmentUpload from \"../../components/VendorPayment/AttachmentUpload\";\nimport DropQuoteCard from \"../../components/DropQuoteCard\";\nimport HomeTableWithIndexFilter from \"../../components/Opportunity/HomeTableWithIndexFilter\";\n\nimport LoadingScreen from \"../../components/Auth/Loading\";\n\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nconst HomeIndex = () => {\n const history = useHistory();\n\n const navigateToConfirmInvoice = (vendorPayment) => {\n history.push(`/invoices/${vendorPayment.id}/confirm`);\n };\n\n const {\n currentContact,\n currentContactId,\n isOrganizationAdmin,\n isVendorAdmin,\n } = useContext(CurrentContactContext);\n\n useEffect(() => {\n if (!currentContact.attributes.has_complete_profile) {\n history.push(`/profile`);\n }\n }, [currentContact]);\n\n const [\n getLazyGetOpportunitiesQuery,\n { isLoading: isLoadingOpportunitiesForExport },\n lastPromiseInfo,\n ] = useLazyGetOpportunitiesQuery();\n\n const [\n createOpportunityCsv,\n { isLoading: isCreatingOpportunityCsv },\n ] = useCreateOpportunityCsvMutation();\n\n const [isExportingCsv, setIsExportingCsv] = useState(false);\n const [showExportError, setShowExportError] = useState(false);\n const [showExportSuccess, setShowExportSuccess] = useState(false);\n\n const handleNewOpportunityClick = () => {\n history.push(\"/opportunity/new\");\n };\n\n const handleOpportunityClick = (opportunity) => {\n const clientId = opportunity.attributes.client_id;\n history.push({\n pathname: `/clients/${clientId}/opportunities/${opportunity.id}`,\n state: { opportunity: { ...opportunity } },\n });\n };\n\n const [searchValue, setSearchValue] = useState(\"\");\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [tabFilter, setTabFilter] = useState(null);\n const [savedView, setSavedView] = useState(null);\n\n const [isDraggingInvoice, setIsDraggingInvoice] = useState(false);\n const [hasDroppedInvoice, setHasDroppedInvoice] = useState(false);\n const handleInvoiceDragOver = () => {\n setIsDraggingInvoice(true);\n };\n const handleInvoiceDragEnter = () => {\n setIsDraggingInvoice(true);\n };\n const handleInvoiceDragLeave = () => {\n setIsDraggingInvoice(false);\n };\n const handleInvoiceDrop = () => {\n setTimeout(() => {\n setHasDroppedInvoice(true);\n }, 3500);\n };\n const handleInvoiceUploadSuccess = (vendorPayment) => {\n navigateToConfirmInvoice(vendorPayment);\n };\n\n const handleExportToCsv = async () => {\n setShowExportError(false);\n setShowExportSuccess(false);\n setIsExportingCsv(true);\n\n let rawResponse = await getLazyGetOpportunitiesQuery({\n filters: tabFilter,\n sort: sortValue,\n search: searchValue,\n savedView: savedView,\n forExport: true,\n });\n\n if (rawResponse.isError) {\n setShowExportError(true);\n setIsExportingCsv(false);\n return;\n }\n\n let rawOpportunities = rawResponse.data.opportunities.data;\n let opportunityIds = [];\n for (let i = 0; i < rawOpportunities.length; i++) {\n opportunityIds.push(rawOpportunities[i].id);\n }\n\n createOpportunityCsv({\n opportunityIds: opportunityIds,\n contact_id: currentContactId\n }).unwrap().then((result) => {\n setIsExportingCsv(false);\n setShowExportSuccess(true);\n }).catch((error) => {\n setShowExportError(true);\n setShowExportSuccess(false);\n console.log(error);\n });\n\n };\n\n const pageIndexMarkup = (\n <>\n {isDraggingInvoice && (\n \n \n \n \n \n \n \n )}\n {!isDraggingInvoice && (\n \n \n \n {showExportError && (\n \n \n

    An error occured with the export

    \n
    \n
    \n )}\n\n {showExportSuccess && (\n \n { setShowExportSuccess(false) }}>\n

    You'll receive an email in a few minutes when it's ready.

    \n
    \n
    \n )}\n \n \n }\n />\n\n {!isMobile && (\n
    \n \n
    \n )}\n
    \n\n \n \n \n
    \n \n
    \n )}\n \n );\n\n return currentContact ? pageIndexMarkup : ;\n};\n\nexport default HomeIndex;\n","import React, {useEffect} from \"react\";\nimport PropTypes from \"prop-types\";\n\n// a react component that renders a Hubspot form based on a formId\nconst HubspotForm = ({formId}) => {\n useEffect(() => {\n const script = document.createElement(\"script\");\n script.src = \"//js.hsforms.net/forms/embed/v2.js\";\n\n document.body.appendChild(script);\n\n script.addEventListener(\"load\", () => {\n if (window.hbspt) {\n window.hbspt.forms.create({\n region: \"na1\",\n portalId: process.env.HUBSPOT_PORTAL_ID,\n formId: formId,\n target: `#hubspotForm-${formId}`,\n });\n }\n });\n\n // Clean up the script element when the component unmounts\n return () => {\n document.body.removeChild(script);\n };\n }, [formId]);\n\n return
    ;\n}\n\nHubspotForm.propTypes = {\n formId: PropTypes.string.isRequired,\n};\n\nexport default HubspotForm;\n","import React, { useState, useContext, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n Card,\n Page,\n Layout,\n IndexTable,\n Truncate,\n InlineStack,\n BlockStack,\n ButtonGroup,\n Button,\n Text,\n Box,\n} from \"@shopify/polaris\";\n\nimport { formatNumericDate, formatCurrency } from \"../utilities\";\n\nimport { useGetOpportunitiesQuery } from \"../services/api\";\n\nimport LoadingScreen from \"../components/Auth/Loading\";\nimport CardBoxTitle from \"../components/Card/BoxTitle\";\n\nimport { CurrentContactContext } from \"../contexts/Contact\";\nimport HubspotForm from \"../components/HubspotForm\";\nimport { ExternalIcon } from \"@shopify/polaris-icons\";\n\nconst Customer = () => {\n const history = useHistory();\n\n const { currentContact, isLoadingPermissions, refetchCurrentContact } =\n useContext(CurrentContactContext);\n\n const [limit, setLimit] = useState(5);\n const [page, setPage] = useState(1);\n const [disambiguatedFilters, setDisambiguatedFilters] = useState(null);\n const [sortValue, setSortValue] = useState(\"UPDATED_AT_DESC\");\n const [queryValue, setQueryValue] = useState(undefined);\n\n useEffect(() => {\n if (currentContact) {\n if (isLoadingPermissions) return;\n\n if (!currentContact.attributes.has_complete_profile) {\n refetchCurrentContact()\n .unwrap()\n .then((fetchedContact) => {\n if (!fetchedContact.attributes.has_complete_profile) {\n history.push(`/profile`);\n }\n });\n }\n }\n }, [\n currentContact,\n currentContact?.attributes?.has_complete_profile,\n history,\n isLoadingPermissions,\n refetchCurrentContact,\n ]);\n\n const navigateToOpportunityShow = (id) => {\n history.push(`/opportunities/${id}/share`);\n };\n\n const {\n data: opportunityData = {},\n isLoading,\n isFetching,\n } = useGetOpportunitiesQuery(\n {\n clientAccountId: \"\",\n page: page,\n limit: limit,\n filters: disambiguatedFilters,\n sort: sortValue,\n search: queryValue,\n expand: true,\n },\n { skip: !currentContact || isLoadingPermissions }\n );\n\n const [customerOpportunities, setCustomerOpportunities] = useState([]);\n\n useEffect(() => {\n if (opportunityData?.opportunities?.data.length > 0) {\n const oppList = opportunityData?.opportunities?.data?.map((item) => item);\n setCustomerOpportunities(oppList);\n }\n }, [opportunityData]);\n\n const rowMarkup = customerOpportunities.map((item, index) => {\n console.log(item);\n return (\n navigateToOpportunityShow(item.id)}\n >\n \n \n \n \n {item.attributes.primary_vendor_name}\n \n \n \n \n \n {item.attributes.commencement_date\n ? formatNumericDate(new Date(item.attributes.commencement_date))\n : \"--\"}\n \n \n {formatCurrency(item.attributes.total_finance_amount)}\n \n \n );\n });\n\n const dealTable = (\n \n {rowMarkup}\n \n );\n\n const [showForm, setShowForm] = useState(false);\n const toggleShowForm = () => setShowForm(!showForm);\n\n const pageMarkup = (\n \n \n \n \n \n \n Your deals\n \n \n\n {dealTable}\n \n \n\n \n \n \n \n Making more purchase?\n \n \n {!showForm ? (\n \n \n

    \n Meet with your FORT representative for a free credit consult\n and get pre-qualified for up to $500k in equipment financing\n

    \n \n \n \n Add a new request\n \n\n {process.env.CALENDLY_LINK && (\n \n Talk to a FORT representative\n \n )}\n \n \n
    \n
    \n ) : (\n \n \n \n )}\n
    \n
    \n
    \n
    \n );\n\n return currentContact ? pageMarkup : ;\n};\n\nexport default Customer;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport {\n Card,\n Page,\n Layout,\n FormLayout,\n InlineStack,\n Button,\n TextField,\n Select,\n BlockStack,\n Labelled,\n Tabs,\n List,\n Link,\n Text,\n Box,\n RangeSlider,\n Divider,\n Bleed,\n RadioButton,\n Tooltip,\n} from \"@shopify/polaris\";\nimport {\n useField,\n useForm,\n useReset,\n useChoiceField,\n asChoiceField,\n getValues,\n} from \"@shopify/react-form\";\nimport { ResetMinor } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { ResponsivePie } from \"@nivo/pie\";\n\nimport { formatCurrency } from \"../../utilities\";\n\nimport { calculatePaymentAndDiscount } from \"../../finance\";\n\nconst PaymentCalculator = (props) => {\n\n const {\n solvingMode = \"payment\",\n totalFinanceAmount = 100000.0,\n baseTermLength = 36,\n customerInterestRate = 5.0,\n basePayment = 0,\n period = \"monthly\",\n paymentType = \"arrears\",\n downPayment = 0,\n onCalculatorChange = () => {},\n } = props;\n\n const paymentTypeOptions = [\n { label: \"Advance\", value: \"advance\" },\n { label: \"Arrears\", value: \"arrears\" },\n ];\n\n const { fields } = useForm({\n fields: {\n solving_mode: useField(solvingMode),\n total_finance_amount: useField({\n value: totalFinanceAmount,\n validates: [],\n }),\n base_term_length: useField({\n value: baseTermLength,\n validates: [],\n }),\n customer_interest_rate: useField({\n value: customerInterestRate,\n validates: [],\n }),\n base_payment: useField({\n value: basePayment,\n validates: [],\n }),\n period: useField({\n value: period,\n validates: [],\n }),\n payment_type: useField({\n value: paymentType,\n validates: [],\n }),\n down_payment: useField({\n value: downPayment,\n validates: [],\n }),\n },\n async onSubmit(form) {\n console.log(form);\n\n return { status: \"success\" };\n },\n });\n\n const [netPayment, setNetPayment] = useState(0);\n const [principal, setPrincipal] = useState(0);\n const [totalInterest, setTotalInterest] = useState(0);\n\n const handleChangeCustomerInterestRate = useCallback(\n (newValue) => {\n fields.customer_interest_rate.onChange(newValue / 100);\n },\n [fields.customer_interest_rate]\n );\n\n const handleChangeCustomerInterestRateTextField = useCallback(\n (newValue) => {\n if (newValue == \"-\") return;\n fields.customer_interest_rate.onChange(newValue);\n },\n [fields.customer_interest_rate]\n );\n\n const handleBasePaymentChange = useCallback(\n (newValue) => {\n if (newValue !== fields.base_payment.value) {\n fields.base_payment.onChange(newValue);\n }\n },\n [fields.base_payment]\n );\n\n const handleChangeBaseTermLength = useCallback(\n (newValue) => {\n fields.base_term_length.onChange(newValue);\n },\n [fields.base_term_length]\n );\n\n const handleChangeBaseTermLengthTextField = useCallback(\n (newValue) => {\n if (newValue == \"-\") return;\n fields.base_term_length.onChange(newValue);\n },\n [fields.base_term_length]\n );\n\n useEffect(() => {\n const calculatedTotalFinanceAmount =\n fields.total_finance_amount.value - fields.down_payment.value;\n\n if (fields.solving_mode.value == \"payment\") {\n console.log(\"solving for payment\");\n\n const customerInterestRateSpreadUpdate = calculatePaymentAndDiscount(\n fields.total_finance_amount.value,\n fields.customer_interest_rate.value,\n fields.customer_interest_rate.value,\n fields.base_term_length.value,\n fields.payment_type.value,\n []\n );\n\n const { payment: customerPayment } = customerInterestRateSpreadUpdate;\n\n const netPayment = customerPayment * fields.base_term_length.value;\n\n handleBasePaymentChange(customerPayment);\n\n setNetPayment(netPayment);\n\n const totalInterest = netPayment - calculatedTotalFinanceAmount;\n const principal = calculatedTotalFinanceAmount;\n\n setTotalInterest(totalInterest);\n setPrincipal(principal);\n } else if (fields.solving_mode.value == \"rate\") {\n console.log(\"solving for rate\");\n }\n }, [\n fields.base_term_length.value,\n fields.customer_interest_rate.value,\n fields.down_payment.value,\n fields.payment_type.value,\n fields.solving_mode.value,\n fields.total_finance_amount.value,\n handleBasePaymentChange,\n ]);\n\n // on every change, call a function that calls a prop function with\n // the calculators updated values\n\n useEffect(() => {\n onCalculatorChange(getValues(fields))\n });\n\n const nivoChartData = [\n {\n id: \"principal\",\n label: \"Principal\",\n value: principal,\n color: \"tomato\",\n },\n {\n id: \"interest\",\n label: \"Interest\",\n value: Math.round(totalInterest * 100) / 100,\n color: \"blue\",\n },\n Number(fields.down_payment.value) > 0\n ? {\n id: \"down\",\n label: \"Down\",\n value: Number(fields.down_payment.value),\n color: \"green\",\n }\n : null,\n ].filter((data) => data !== null);\n\n const DataDisplayField = ({ label, value }) => {\n return (\n \n \n \n \n {label}\n \n \n \n\n \n \n {value || \"-\"}\n \n
    \n
    \n
    \n );\n };\n DataDisplayField.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.string,\n };\n\n const pageMarkup = (\n \n \n \n \n \n \n Calculator\n \n\n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n\n \n \n
    \n }\n />\n\n {fields.solving_mode.value == \"rate\" ? (\n \n ) : (\n \n )}\n \n \n\n \n \n \n\n \n \n \n\n \n \n \n }\n suffix={\n \n }\n />\n \n \n \n \n \n\n \n \n \n \n \n Chart - nivo\n \n
    \n formatCurrency(value)}\n defs={[\n {\n id: \"dots\",\n type: \"patternDots\",\n background: \"inherit\",\n color: \"rgba(255, 255, 255, 0.3)\",\n size: 4,\n padding: 1,\n stagger: true,\n },\n {\n id: \"lines\",\n type: \"patternLines\",\n background: \"inherit\",\n color: \"rgba(255, 255, 255, 0.3)\",\n rotation: -45,\n lineWidth: 6,\n spacing: 10,\n },\n ]}\n />\n
    \n
    \n
    \n\n \n \n \n Summary\n \n\n \n \n Total of payments\n\n {formatCurrency(netPayment)}\n \n\n \n Down payment\n\n \n {formatCurrency(fields.down_payment.value)}\n \n \n\n \n Principal\n\n {formatCurrency(principal)}\n \n\n \n Interest\n\n {formatCurrency(totalInterest)}\n \n \n \n \n
    \n
    \n \n \n );\n\n return pageMarkup;\n};\n\nexport default PaymentCalculator;\n","import React, { useState, useCallback, useEffect } from \"react\";\nimport {\n Card,\n Page,\n Layout,\n FormLayout,\n InlineStack,\n Button,\n TextField,\n Select,\n BlockStack,\n Labelled,\n Tabs,\n List,\n Link,\n Text,\n Box,\n RangeSlider,\n Divider,\n Bleed,\n RadioButton,\n Tooltip,\n} from \"@shopify/polaris\";\nimport {\n useField,\n useForm,\n useReset,\n useChoiceField,\n asChoiceField,\n getValues,\n} from \"@shopify/react-form\";\nimport { ResetMinor } from \"@shopify/polaris-icons\";\nimport PropTypes from \"prop-types\";\nimport { ResponsivePie } from \"@nivo/pie\";\n\nimport { formatCurrency } from \"../utilities\";\n\nimport PaymentCalculator from \"../components/Calculator/PaymentCalculator\";\n\nconst PublicPaymentCalculator = () => {\n\n const handleCalculatorChange = (values) => {\n console.log(values);\n };\n \n const pageMarkup = (\n \n );\n\n return pageMarkup;\n};\n\nexport default PublicPaymentCalculator;\n","import React, { useState, useCallback } from \"react\";\nimport {\n Card,\n Page,\n Layout,\n FormLayout,\n InlineStack,\n Button,\n TextField,\n Select,\n BlockStack,\n Labelled,\n Tabs,\n List,\n Link,\n Text,\n Box,\n} from \"@shopify/polaris\";\nimport { formatCurrency, validateCurrency } from \"../utilities\";\n\nimport fortLogo from \"../assets/fort/logo.png\";\nimport calculatorBackground from \"../assets/calculatorBackground.jpeg\";\nimport calculatorCTABanner from \"../assets/calculatorCTABanner.png\";\n\nconst Section179Calculator = () => {\n const [equipmentCostString, setEquipmentCostString] = useState(\"0\");\n const [equipmentCost, setEquipmentCost] = useState(\"0\");\n\n const handleEquipmentCostChange = useCallback((newValue) => {\n setEquipmentCostString(newValue);\n if (validateCurrency(newValue))\n setEquipmentCost(validateCurrency(newValue));\n }, []);\n\n const [taxBracket, setTaxBracket] = useState(\"35\");\n\n const handleTaxBracketChange = useCallback(\n (value) => setTaxBracket(value),\n []\n );\n\n const taxBracketOptions = [\n { label: \"10%\", value: \"10\" },\n { label: \"12%\", value: \"12\" },\n { label: \"21%\", value: \"21\" },\n { label: \"22%\", value: \"22\" },\n { label: \"24%\", value: \"24\" },\n { label: \"32%\", value: \"32\" },\n { label: \"35%\", value: \"35\" },\n { label: \"37%\", value: \"37\" },\n ];\n\n const [firstYearDeduction, setFirstYearDeduction] = useState();\n const [cashSavings, setCashSavings] = useState();\n const [loweredCost, setLoweredCost] = useState();\n const calculateSavings = () => {\n setFirstYearDeduction(equipmentCost);\n const savings = equipmentCost * (taxBracket / 100);\n setCashSavings(savings);\n const cost = equipmentCost - savings;\n setLoweredCost(cost);\n };\n\n const [selectedTab, setSelectedTab] = useState(0);\n\n const handleTabChange = useCallback(\n (selectedTabIndex) => setSelectedTab(selectedTabIndex),\n []\n );\n\n const year = new Date().toLocaleString(\"en-US\", {\n year: \"numeric\",\n });\n const lastYear = year - 1;\n\n const DEDUCTION_LIMIT = \"$1,160,000\";\n const PURCHASE_LIMIT = \"$2,890,000\";\n\n const deductionLimitMarkup = (\n \n \n Section 179 is meant for small and mid-sized companies\n \n

    \n The Section 179 deduction limit for {year} is {DEDUCTION_LIMIT}, an\n $80,000 increase from last year. This means your company can deduct the\n full cost of qualifying equipment (new or used), up to {DEDUCTION_LIMIT}\n , from your {year} taxable income. This deduction is good until you\n reach {PURCHASE_LIMIT} (up from $2.7 million in {lastYear}). The\n deduction can include both new and used qualified equipment.\n

    \n

    \n In addition, businesses can take advantage of 80% bonus depreciation on\n both new and used equipment for the entirety of {year}. Remember to keep\n supply chain issues and delivery times in mind when making your Section\n 179 purchases for {year}, as equipment must be purchased and put into\n service by midnight 12/31.\n

    \n \n Section 179 deadline\n \n

    \n The Section 179 deduction has proven wildly popular with small and\n mid-sized companies. But there is a deadline: to use the deduction for{\" \"}\n {year}, the equipment must be purchased/financed, and put into service\n by 11:59 pm, 12/31/{year}. To claim the deduction, use Form 4562.\n

    \n
    \n );\n\n const qualifyingPropertyMarkup = (\n \n \n \n Most tangible business equipment (both new and used) will qualify for\n the deduction. This includes production machinery, computers/printers,\n office furniture, copiers and other office machines, signage,\n shelving, storage tanks, and most other general equipment.\n \n \n Commercial use vehicles will usually qualify. This means vehicles with\n seating for 9+ passengers, a 6’ cargo area, or a fully enclosed\n cab-over driving compartment.\n \n \n Passenger vehicles exceeding 6,000+ pounds GVW (gross vehicle weight)\n will usually qualify, however, they are usually limited to a $25,000\n deduction.\n \n “Heavy equipment” qualifies.\n \n Section 179 is good for software as well. The caveat is the software\n must be available for purchase by the general public, and carry a\n non-exclusive license, without custom modifications. This means\n operating systems, common office suites, common graphics programs, and\n similar will qualify. This does not include websites and/or apps.\n \n \n Many storage structures (such as those used for agricultural purposes)\n will qualify. This will not include your primary building.\n \n \n Many building improvements like HVAC, alarm and/or fire systems,\n roofs, and similar can qualify.\n \n \n Used/preowned versions of the preceding (save for software of course)\n will generally qualify for Section 179.\n \n \n If you have questions regarding Section 179 eligibility of equipment\n you wish to lease or finance, you can always contact us, or reference\n IRS Publication 946.\n \n \n

    \n The equipment listed above need not be new – it can be used (but new to\n you). Almost any "portable" (non-permanently installed) piece\n of business equipment will likely qualify. If you have any questions on\n whether something you wish to lease or finance will qualify for Section\n 179, you can always{\" \"}\n \n ask us\n \n , or reference{\" \"}\n \n IRS Publication 946\n \n .\n

    \n
    \n );\n\n const tabs = [\n {\n id: \"deduction-limits\",\n content: \"Deduction limits\",\n accessibilityLabel: \"Deduction limits\",\n panelID: \"deduction-limits-content\",\n markup: deductionLimitMarkup,\n },\n {\n id: \"qualifying-property\",\n content: \"Qualifying property\",\n accessibilityLabel: \"Qualifying property\",\n panelID: \"qualifying-property-content\",\n markup: qualifyingPropertyMarkup,\n },\n ];\n\n return (\n <>\n \n \n \n \n \n
    \n \n
    \n
    \n\n \n \n How The Section 179 Deduction Benefits You\n \n \n \n
    \n
    \n\n \n \n \n {tabs[selectedTab].markup}\n \n \n \n\n \n \n \n \n \n\n \n\n \n Show My Savings\n \n \n\n \n \n \n \n \n \n {formatCurrency(firstYearDeduction)}\n \n \n \n \n \n\n \n \n \n \n \n {formatCurrency(cashSavings)}\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n {formatCurrency(loweredCost)}\n \n \n \n \n \n \n \n\n

    \n \n The calculator presents a potential tax scenario based on\n typical assumptions that may not apply to your business.\n This page and calculator are not tax advice. The indicated\n tax treatment applies only to transactions deemed to reflect\n a purchase of the equipment or a capitalized lease purchase\n transaction. Please consult your tax advisor to determine\n the tax ramifications of acquiring equipment or software for\n your business.\n \n

    \n
    \n
    \n
    \n\n \n \n \n About FORT Capital Resources, Inc.\n \n

    \n FORT is an integrated finance platform for manufacturers,\n resellers, and their clients. We bring together finance, sales,\n operations, and accounting on one platform to make financing\n your customer transactions seamless, transparent, and fast.\n FORT’s platform integrates financing options into the buying\n flow, impacting all of your business functions, from the\n board/executive level to operations and accounting.\n

    \n
    \n
    \n\n \n \n \n \n \n\n {/*
    \n \n \n \n
    */}\n\n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n powered by\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Section179Calculator;\n","import React, { useEffect, useState } from \"react\";\n\nimport { Page, Layout, Card, Text, BlockStack } from \"@shopify/polaris\";\n\nimport Confetti from \"./Confetti\";\n\ntype Props = {\n foo: string;\n bar: string;\n baz: number;\n};\n\nconst Sandbox = ({ foo, bar, baz }: Props) => {\n // This is a sandbox component. Use it to test out new components or\n // functionality.\n\n console.log(foo, bar, baz);\n\n // loadContent() handles the files that the\n // the plugin system doesn't support\n\n // for Card title\n // set Card padding=\"0\"\n // \n // Vendor quotes\n // \n\n // for Card title with action\n // set Card padding=\"0\"\n // \n // \n // Vendor quotes\n // {\n //\n // }}\n // >\n // card action\n // \n // \n // \n\n\n return (\n \n \n \n \n\n \n \n Text in a card\n\n More text in a card\n\n Foo: {foo}\n Bar: {bar}\n Baz: {baz}\n \n \n \n \n \n );\n};\n\nexport default Sandbox;\n","import React, { useState, useCallback, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useLocation } from \"react-router-dom\";\nimport { isMobile } from \"react-device-detect\";\n\nimport { Frame, Navigation } from \"@shopify/polaris\";\nimport { useAuth } from \"../../contexts/Auth/CommonAuthProvider\";\nimport { usePostHog } from \"posthog-js/react\";\nimport { CurrentContactContext } from \"../../contexts/Contact\";\n\nimport Navbar from \"../Nav/Navbar\";\n\nimport {\n StoreIcon,\n SettingsIcon,\n HomeIcon,\n ProfileIcon,\n PersonIcon,\n ProductIcon,\n BankIcon,\n AutomationIcon,\n ReceiptDollarIcon,\n BlogIcon,\n TransactionIcon,\n} from \"@shopify/polaris-icons\";\nimport FortifyLogo from \"images/fortify-logo-white-topbar.svg\";\n\nconst FrameWrapper = ({ children }) => {\n const { isAuthenticated, error, logout } = useAuth();\n const posthog = usePostHog();\n const location = useLocation();\n const {\n currentContact,\n currentContactId,\n currentContactHasPermission,\n isOrganizationAdmin,\n isVendorAdmin,\n isTeamAdmin,\n isTeamMember,\n isCustomer,\n isLoadingPermissions,\n permissions,\n } = useContext(CurrentContactContext);\n\n const handleAuth0Logout = () => {\n posthog.reset();\n logout({ returnTo: window.location.origin });\n };\n\n const isCurrentPath = useCallback(\n (path) => {\n return path === location.pathname;\n },\n [location.pathname]\n );\n\n const currentPathIncludes = useCallback(\n (path) => {\n return location.pathname.includes(path);\n },\n [location.pathname]\n );\n\n const getCurrentRoleTitle = useCallback(() => {\n if (isOrganizationAdmin) {\n return \"Organization Admin\";\n } else if (isVendorAdmin) {\n return \"Vendor Admin\";\n } else if (isTeamAdmin) {\n return \"Team Admin\";\n } else {\n return \"Team Member\";\n }\n }, [isOrganizationAdmin, isVendorAdmin, isTeamAdmin]);\n\n const getOrganizationAdminNavigationItems = useCallback(\n () => [\n {\n label: \"Opportunities\",\n icon: ReceiptDollarIcon,\n accessibilityLabel: \"Home\",\n selected:\n isCurrentPath(\"/\") &&\n !currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/accounts\"),\n url: \"/\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Transactions\",\n icon: TransactionIcon,\n accessibilityLabel: \"Transactions\",\n selected: isCurrentPath(\"/transactions\"),\n url: \"/transactions\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Credit submissions\",\n icon: BlogIcon,\n accessibilityLabel: \"Credit submissions\",\n selected: isCurrentPath(\"/credit_submissions\"),\n url: \"/credit_submissions\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Teams\",\n icon: ProfileIcon,\n accessibilityLabel: \"Teams\",\n selected: currentPathIncludes(\"/admin/teams\"),\n url: \"/admin/teams\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Contacts\",\n icon: ProfileIcon,\n accessibilityLabel: \"Contacts\",\n selected: currentPathIncludes(\"/admin/contacts\"),\n url: \"/admin/contacts\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Clients\",\n icon: PersonIcon,\n accessibilityLabel: \"Clients\",\n selected: currentPathIncludes(\"/admin/clients\"),\n url: \"/admin/clients\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Vendors\",\n icon: ProductIcon,\n accessibilityLabel: \"Vendors\",\n selected: currentPathIncludes(\"/admin/vendors\"),\n url: \"/admin/vendors\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Lenders\",\n icon: BankIcon,\n accessibilityLabel: \"Lenders\",\n selected: currentPathIncludes(\"/admin/lenders\"),\n url: \"/admin/lenders\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Documents\",\n icon: BlogIcon,\n accessibilityLabel: \"Documents\",\n selected: currentPathIncludes(\"/admin/documents\"),\n url: \"/admin/documents\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Vendor Programs\",\n icon: AutomationIcon,\n accessibilityLabel: \"Vendor Programs\",\n selected: currentPathIncludes(\"/admin/vendor_programs\"),\n url: \"/admin/vendor_programs\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Settings\",\n icon: SettingsIcon,\n accessibilityLabel: \"Admin Settings\",\n selected: currentPathIncludes(\"/admin/settings\"),\n url: \"/admin/settings\",\n onClick: isMobile && handleNavigationToggle,\n },\n ],\n [currentPathIncludes, handleNavigationToggle, isCurrentPath]\n );\n\n const getVendorAdminNavigationItems = useCallback(\n () => [\n {\n label: \"Opportunities\",\n icon: ReceiptDollarIcon,\n accessibilityLabel: \"Home\",\n selected:\n isCurrentPath(\"/\") &&\n !currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/accounts\"),\n url: \"/\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Transactions\",\n icon: TransactionIcon,\n accessibilityLabel: \"Transactions\",\n selected: isCurrentPath(\"/transactions\"),\n url: \"/transactions\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Clients\",\n icon: StoreIcon,\n accessibilityLabel: \"Clients\",\n selected:\n currentPathIncludes(\"/accounts\") &&\n !currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/admin\"),\n url: \"/accounts\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Teams\",\n icon: ProfileIcon,\n accessibilityLabel: \"Teams\",\n selected:\n currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/accounts\") &&\n !currentPathIncludes(\"/admin\"),\n url: \"/vendor_admin/teams\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Vendor Settings\",\n icon: SettingsIcon,\n accessibilityLabel: \"Vendor Settings\",\n selected:\n currentPathIncludes(\"/vendor_settings\") &&\n !currentPathIncludes(\"/admin\"),\n url: \"/vendor_settings\",\n onClick: isMobile && handleNavigationToggle,\n },\n ],\n [currentPathIncludes, handleNavigationToggle, isCurrentPath]\n );\n\n const getTeamMemberNavigationItems = useCallback(\n () => [\n {\n label: \"Opportunities\",\n icon: ReceiptDollarIcon,\n accessibilityLabel: \"Home\",\n selected:\n isCurrentPath(\"/\") &&\n !currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/accounts\"),\n url: \"/\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Clients\",\n icon: StoreIcon,\n accessibilityLabel: \"Clients\",\n selected:\n currentPathIncludes(\"/accounts\") &&\n !currentPathIncludes(\"/vendor_admin/teams\") &&\n !currentPathIncludes(\"/admin\"),\n url: \"/accounts\",\n onClick: isMobile && handleNavigationToggle,\n },\n {\n label: \"Teams\",\n icon: ProfileIcon,\n accessibilityLabel: \"Teams\",\n selected: isCurrentPath(\"/teams\"),\n url: \"/teams\",\n onClick: isMobile && handleNavigationToggle,\n },\n ],\n [currentPathIncludes, handleNavigationToggle, isCurrentPath]\n );\n\n const getNavigationItems = useCallback(() => {\n if (isOrganizationAdmin) {\n return getOrganizationAdminNavigationItems();\n } else if (isVendorAdmin) {\n return getVendorAdminNavigationItems();\n } else {\n return getTeamMemberNavigationItems();\n }\n }, [\n getOrganizationAdminNavigationItems,\n getTeamMemberNavigationItems,\n getVendorAdminNavigationItems,\n isOrganizationAdmin,\n isVendorAdmin,\n ]);\n\n const [mobileNavigationActive, setMobileNavigationActive] = useState(false);\n const handleNavigationToggle = useCallback(\n () =>\n setMobileNavigationActive(\n (mobileNavigationActive) => !mobileNavigationActive\n ),\n []\n );\n\n const logo = {\n width: 24,\n topBarSource: FortifyLogo,\n contextualSaveBarSource: FortifyLogo,\n url: \"/\",\n accessibilityLabel: \"Fortify App\",\n };\n\n const topbarMarkup =\n (isAuthenticated || error) &&\n !(\n location.pathname.includes(\"/share\") ||\n location.pathname.includes(\"/callback\")\n ) ? (\n \n ) : null;\n\n const navigationMarkup = isAuthenticated &&\n !(\n location.pathname.includes(\"/share\") ||\n location.pathname.includes(\"/callback\") ||\n location.pathname.includes(\"/request_access\") ||\n location.pathname.includes(\"/profile\")\n ) &&\n (isTeamMember || isVendorAdmin || isOrganizationAdmin) && (\n \n \n \n );\n\n return (\n \n {children}\n \n );\n};\n\nFrameWrapper.propTypes = {\n children: PropTypes.any,\n};\n\nexport default FrameWrapper;\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport {\n Route,\n Switch,\n useHistory,\n useLocation,\n Link as ReactRouterLink,\n Redirect,\n} from \"react-router-dom\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { useAuth0 } from \"@auth0/auth0-react\";\nimport { usePostHog } from \"posthog-js/react\";\nimport PropTypes from \"prop-types\";\nimport { isMobile } from \"react-device-detect\";\n\nimport AppProviderWrapper from \"./App/AppProviderWrapper\";\nimport ErrorBoundary from \"./ErrorBoundary\";\nimport ProtectedRoute from \"./ProtectedRoute\";\nimport { ToastProvider } from \"../contexts/Toast\";\n\nimport Navbar from \"./Nav/Navbar\";\n\nimport { CurrentContactContext } from \"../contexts/Contact\";\n\n// USER AUTH\nimport Auth0Callback from \"../features/User/Auth0Callback\";\n\n// ACCOUNTS\nimport AccountsIndex from \"../features/Account/Index\";\nimport AccountsShow from \"../features/Account/Show\";\nimport Profile from \"../features/Profile\";\n\n// ADMIN\nimport Admin from \"../features/Admin\";\n\n// VENDOR ADMIN\nimport VendorAdmin from \"../features/VendorAdmin\";\n\n// OPPORTUNITIES\nimport OpportunitiesShow from \"../features/Opportunity/Show\";\nimport CreateOpportunity from \"../features/Opportunity/Create\";\nimport OpportunitiesEmbeddedSendingSent from \"../features/Opportunity/EmbeddedSendingSent\";\n\n// TEAMS\nimport Teams from \"../features/Team/Index\";\nimport TeamShow from \"../features/Team/Show\";\n\n// TRANSACTIONS\nimport TransactionIndex from \"../features/Transaction/Index\";\n\n// CREDIT SUBMISSIONS\nimport CreditSubmissionIndex from \"../features/CreditSubmission/Index\";\n\n// FINANCING OPTIONS\nimport FinancingOptionsNew from \"../features/FinancingOption/New\";\nimport FinancingOptionsShow from \"../features/FinancingOption/Show\";\nimport FinancingOptionsShare from \"../features/FinancingOption/Share/v1.5/Share\";\n\n// VENDORS\nimport VendorsNew from \"../features/Vendor/New\";\n\n// VENDOR PAYMENTS\nimport VendorPaymentsNew from \"../features/VendorPayment/New\";\nimport VendorPaymentsShow from \"../features/VendorPayment/Show\";\nimport InvoiceConfirm from \"../features/Invoice/Confirm\";\n\n// CREDIT SUBMISSIONS\nimport CreditSubmissionNew from \"../features/CreditSubmission/New\";\nimport CreditSubmissionShow from \"../features/CreditSubmission/Show\";\n\n// VENDOR SETTINGS\nimport VendorAdminSettingsIndex from \"../features/VendorAdmin/Settings/Index\";\nimport VendorAdminSettingsShow from \"../features/VendorAdmin/Settings/Show\";\n\n// HOME\nimport HomeIndex from \"../features/Home/Index\";\n\n// OTHER PAGES\nimport Customer from \"../features/Customer\";\nimport PublicPaymentCalculator from \"../features/PublicPaymentCalculator\";\nimport Section179Calculator from \"../features/Section179Calculator\";\nimport FourZeroFour from \"./404\";\nimport LoadingScreen from \"./Auth/Loading\";\nimport RequestAccess from \"../features/Opportunity/RequestAccess\";\nimport Sandbox from \"./Sandbox\";\nimport FrameWrapper from \"./App/FrameWrapper\";\n\nconst App = (props) => {\n // Auth0 setup\n const {\n logout,\n user,\n error,\n isAuthenticated,\n isLoading: isLoadingAuth,\n } = useAuth0();\n\n const {\n currentContact,\n currentContactId,\n currentContactHasPermission,\n isOrganizationAdmin,\n isVendorAdmin,\n isTeamAdmin,\n isTeamMember,\n isCustomer,\n isLoadingPermissions,\n permissions,\n } = useContext(CurrentContactContext);\n\n // Pendo setup\n useEffect(() => {\n try {\n if (\n isAuthenticated &&\n currentContact.attributes &&\n pendo &&\n !isLoadingPermissions\n ) {\n pendo.initialize({\n visitor: {\n id: currentContactId, // Required if user is logged in\n email: currentContact.attributes.email, // Recommended if using Pendo Feedback, or NPS Email\n full_name: currentContact.attributes.name, // Recommended if using Pendo Feedback\n role: currentContact.attributes.is_organization_admin, // Optional\n is_organization_admin: isOrganizationAdmin,\n is_vendor_admin: isVendorAdmin,\n is_team_admin: isTeamAdmin,\n is_team_member: isTeamMember,\n is_customer: isCustomer,\n permissions: permissions,\n },\n // disableGuides: true,\n });\n }\n } catch (error) {\n console.warn(error);\n }\n }, [\n currentContact,\n currentContactId,\n isAuthenticated,\n isCustomer,\n isLoadingPermissions,\n isOrganizationAdmin,\n isTeamAdmin,\n isTeamMember,\n isVendorAdmin,\n permissions,\n ]);\n\n // Posthog setup\n const posthog = usePostHog();\n useEffect(() => {\n try {\n if (currentContact) {\n posthog?.identify(currentContact.id, {\n email: currentContact.attributes.email,\n name: currentContact.attributes.full_name,\n organization_admin: isOrganizationAdmin,\n customer: isCustomer,\n });\n }\n } catch (error) {\n console.warn(error);\n }\n }, [currentContact, isCustomer, isOrganizationAdmin, posthog, user]);\n\n const financingOptionsShare = () => ;\n\n if (isLoadingAuth || isLoadingPermissions) return ;\n\n const sandbox = () => ;\n\n const customerRoutes = (\n \n \n \n\n \n \n\n \n\n \n\n {/* */}\n\n }\n />\n\n \n\n \n \n );\n\n const vendorRoutes = (\n \n \n }\n />\n\n \n\n \n\n \n \n\n \n\n \n\n \n\n {/* */}\n\n \n : () => \n : () => \n }\n />\n\n \n : () => \n : () => \n }\n />\n\n \n : () => \n : () => \n }\n />\n\n \n \n\n \n\n \n \n\n \n\n \n\n \n\n \n\n \n\n (\n \n )}\n />\n \n\n \n\n \n\n \n\n \n\n \n\n \n : () => \n : () => \n }\n />\n\n \n\n \n\n \n\n \n \n\n \n \n );\n\n const publicRoutes = (\n \n \n\n \n\n \n\n \n \n );\n\n return (\n \n \n \n \n {isLoadingPermissions ? (\n \n ) : currentContact ? (\n isCustomer ? (\n customerRoutes\n ) : (\n vendorRoutes\n )\n ) : (\n publicRoutes\n )}\n \n \n \n \n );\n};\n\nconst ProtectedOpportunityShowComponent = ({ match }) => {\n const { currentContact, isLoadingPermissions } = useContext(\n CurrentContactContext\n );\n\n if (!currentContact || isLoadingPermissions) return ;\n\n return ;\n};\nProtectedOpportunityShowComponent.propTypes = {\n match: PropTypes.shape({\n params: PropTypes.shape({\n id: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n};\n\nexport default App;\n","import React from \"react\";\nimport ReactDOM from \"react-dom/client\";\n\nimport { BrowserRouter as Router, Route } from \"react-router-dom\";\n\nimport TimeAgo from \"javascript-time-ago\";\nimport en from \"javascript-time-ago/locale/en\";\nimport { Provider } from \"react-redux\";\n\nimport { store } from \"../store\";\nimport Auth0ProviderWithHistory from \"../contexts/Auth/Auth0Provider\";\nimport { CurrentUserProvider } from \"../contexts/User\";\nimport { CurrentContactProvider } from \"../contexts/Contact\";\nimport { FinancingProvider } from \"../contexts/FinancingOption/FinancingContext\";\nimport { AxiosInterceptorProvider } from \"../contexts/Auth/AxiosInterceptorProvider\";\nimport { CommonAuthProvider } from \"../contexts/Auth/CommonAuthProvider\";\nimport { PostHogProvider } from \"posthog-js/react\";\n\nimport ScrollToTop from \"../components/ScrollToTop\";\nimport App from \"../components/App\";\n\nasync function render() {\n const posthogOptions = {\n api_host: process.env.POSTHOG_HOST,\n opt_in_site_apps: true,\n };\n\n const root = ReactDOM.createRoot(\n document.body.appendChild(document.createElement(\"div\"))\n );\n\n root.render(\n \n \n (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n />\n \n );\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n TimeAgo.addDefaultLocale(en);\n render();\n});\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","axios","create","baseURL","headers","authHeaderKeys","setAuthHeaders","forEach","key","http","defaults","common","persistAuthHeadersInDeviceStorage","Storage","setItem","AsyncLocalStorage","getItem","Promise","reject","window","localStorage","error","value","removeItem","clear","getAllKeys","multiGet","multiSet","keyValuePairs","keyValuePair","_regeneratorRuntime","Op","prototype","hasOwn","hasOwnProperty","defineProperty","obj","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","invoke","record","result","__await","then","unwrapped","previousPromise","callInvokeWithMethodAndArg","state","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","iter","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","baseQuery","_ref2","_callee","_ref","url","data","params","responseType","response","meta","_err$response","_err$response2","_err$response3","_err$response4","_err$response5","_err$response8","_err$response9","_err$response6","_err$response7","_context","t0","status","_x","staggeredBaseQuery","retry","_ref3","_callee2","api","extraOptions","_result$error","_result$error2","_result$error3","_result$error4","_result$error5","_result$error6","_context2","fail","console","log","_x2","_x3","_x4","maxRetries","fortApi","createApi","reducerPath","tagTypes","endpoints","builder","getClientStats","query","_ref4","account_id","transformResponse","providesTags","getOpportunityStats","_ref5","filters","task_name","search","originator","savedView","queries","concat","getOpportunities","_ref6","page","limit","sort","forExport","_ref6$expand","expand","opportunities","_toConsumableArray","_ref7","getOpportunity","_objectSpread","included","createOpportunity","mutation","_ref8","clientAccountId","body","_objectWithoutProperties","_excluded","opportunity","invalidatesTags","updateOpportunity","_ref9","patch","_excluded2","updateOpportunityStage","_ref10","stage_name","deleteOpportunities","_ref11","opportunityIds","opportunityQuery","requestOpportunityAccess","_ref12","exportOpportunities","getOpportunityAttachments","_ref13","opportunityId","_ref13$isPublic","isPublic","_ref14","createOpportunityAttachments","_ref15","updateOpportunityAttachment","_ref16","opportunity_attachment","purgeOpportunityAttachment","_ref17","attachmentId","dIndex","deleteOpportunityAttachment","_ref18","getOpportunityEnvelopeTemplates","_ref19","vendorProgramId","_ref19$opportunityId","opportunity_id","Array","isArray","_ref20","getOpportunityEnvelopeTemplate","_ref21","createOpportunityEnvelopeTemplate","_ref22","updateOpportunityEnvelopeTemplate","_ref23","opportunity_envelope_templates","deleteOpportunityEnvelopeTemplate","_ref24","generateOpportunityEnvelopeTemplate","_ref25","generateOpportunityEnvelopeTemplates","_ref26","getOpportunityEvents","_ref27","createOpportunityEvent","_ref28","_excluded3","event","getCompaniesSearch","_ref29","address","results","getContact","getContacts","accountId","_ref30","searchContacts","_ref31","fetchContact","email","encodeURIComponent","createContact","_ref32","teamId","_ref32$isPublicCaptur","isPublicCapture","_excluded4","contact","team_id","public_capture","captureContact","_ref33","_ref33$isPublicCaptur","_excluded5","updateContact","_ref34","_ref34$isPublicCaptur","_excluded6","_ref35","getOpportunityContacts","_ref36","createOpportunityContact","_ref37","_excluded7","updateOpportunityContact","_ref38","_excluded8","opportunity_contact","_ref39","_ref40","deleteOpportunityContacts","_ref41","_excluded9","captureOpportunityContact","_ref42","_ref42$isPublicCaptur","_excluded10","searchOpportunityOriginators","_ref43","updateOpportunityOriginator","_ref44","_excluded11","_ref45","createDesignatedSigner","_ref46","_excluded12","designated_signer","_ref47","getAccount","getAccounts","_ref48","createAccount","account","updateAccount","_ref49","_excluded13","_ref50","getAccountEvents","_ref51","_ref52","getClient","getClients","_ref53","getClientOpportunities","_ref54","clientId","getClientAccount","getClientAccounts","_ref55","updateClientAccount","_ref56","_excluded14","client","_ref57","getTeamAccounts","_ref58","getTeamClients","_ref59","createClient","_ref60","_excluded15","updateClient","_ref61","_excluded16","_ref62","createTeamContact","_ref63","_excluded17","searchTeamContacts","_ref64","getAccountTeams","_ref65","getTeams","_ref66","_ref66$contactId","contactId","is_home_index","contact_id","_ref67","getTeam","_ref68","updateTeam","_ref69","_excluded18","getFinancingOptions","_ref70","getFinancingOption","_ref71","getNewFinancingOption","_ref72","createFinancingOption","_ref73","_excluded19","financing_option","updateFinancingOption","_ref74","_excluded20","deleteFinancingOption","_ref75","createFinancingOptionEvent","_ref76","financingOptionId","_excluded21","getFinancingOptionSegments","financing_option_id","_ref77","getFinancingOptionTemplates","_ref78","createFinancingOptionTemplate","_ref79","segments","_excluded22","vendor_program_id","financing_option_template","_ref80","updateFinancingOptionTemplate","_ref81","financing_option_template_id","_excluded23","_ref82","getAdminCreditSubmissions","_ref83","clientIdFilter","clientShowPage","lender","join","credit_submissions","_ref84","getOpportunityCreditSubmissions","_ref85","getOpportunityCreditSubmission","_ref86","createOpportunityCreditSubmission","_ref87","_excluded24","credit_submission","updateOpportunityCreditSubmission","_ref88","_excluded25","_ref89","deleteOpportunityCreditSubmission","_ref90","updateOpportunityCreditSubmissionSubmitToLender","_ref91","ssn","invalidate","updateOpportunityCreditSubmissionSelectLender","_ref92","_excluded26","_ref93","updateOpportunityCreditSubmissionDeselectLender","_ref94","_excluded27","_ref95","getVendors","_ref96","_ref96$filter","filter","_ref97","createVendor","vendor","updateVendor","_ref98","_excluded28","getVendorPayments","_ref99","finalInvoice","_ref100","getVendorPayment","_ref101","createVendorPayment","_ref102","_excluded29","vendor_payment","updateVendorPayment","_ref103","_excluded30","_result$data","deleteVendorPayment","_ref104","getVendorPaymentAttachment","_ref105","vendorPaymentId","createVendorPaymentAttachment","_ref106","final_invoice","_ref107","generateVendorPayment","_ref108","_extends","_objectDestructuringEmpty","_ref109","createVendorPaymentConfirmation","_ref110","_excluded31","createVendorPaymentOpportunity","_ref111","_excluded32","getVendorProgram","_ref112","getVendorPrograms","createDocusignEmbeddedSigning","_ref113","_excluded33","getDocusignEmbeddedSigningStatus","_ref114","createDocusignEmbeddedSending","_ref115","_excluded34","getDocusignPdfsForSigning","_ref116","getDocusignRegeneratedEmbeddedSendingUrl","_ref117","envelopeId","getDocusignSigningUrl","_ref118","getLenders","_ref119","createLender","getOpportunityDocuments","_ref120","getDocuments","_ref121","_ref122","getDocument","_ref123","createDocument","_ref124","document","updateDocument","_ref125","_excluded35","document_id","_ref126","previewDocument","_ref127","getGuarantors","_ref128","getGuarantor","_ref129","searchGuarantors","_ref130","createGuarantor","_ref131","guarantor","removeGuarantors","_ref132","getTransactions","_ref133","transactions","_ref134","getOpportunityTransactions","_ref135","getOpportunityTransaction","_ref136","createOpportunityTransaction","_ref137","_excluded36","transaction","updateOpportunityTransaction","_ref138","_excluded37","_ref139","attributes","updateOpportunityTransactions","_ref140","transactionIds","_excluded38","transaction_ids","_ref141","deleteOpportunityTransaction","_ref142","deleteOpportunityTransactions","_ref143","scheduleOpportunityTransactions","_ref144","_result$map","_ref145","getOpportunityTasks","_ref146","getOpportunityTags","updateOpportunityTags","_ref147","tags","_ref148","createOpportunityPaymentAuthorization","_ref149","_excluded39","payment_authorization","getDocusignEnvelopes","_ref150","getDocusignEnvelope","_ref151","createDocusignEnvelope","_ref152","updateDocusignEnvelope","_ref153","_excluded40","opportunity_envelope","_ref154","deleteDocusignEnvelope","_ref155","getComments","_ref156","commentableId","comments","activity","_ref157","createComment","_ref158","deleteComment","_ref159","commentable_id","markUnreadCommentNotification","_ref160","notification_id","getCombinePdfsPrototype","_ref161","getAdminAccounts","_ref162","getAdminAccount","updateAdminAccount","_ref163","_excluded41","_ref164","createAdminAccountReview","_ref165","_excluded42","_ref166","getAdminContacts","_ref167","_ref167$page","_ref167$limit","contacts","_ref168","createAdminContact","_ref169","orgAdmin","_excluded43","updateAdminContact","_ref170","_excluded44","getAdmins","_ref171","addAdmin","_ref172","contact_ids","ids","notify_contacts","notifyContacts","notif_msg","notifMsg","_excluded45","revokeAdmins","_ref173","createAdminFinancingOptionApproval","_ref174","_excluded46","_ref175","removeAdminFinancingOptionApproval","_ref176","_excluded47","_ref177","getTags","createTag","_ref178","deleteTags","_ref179","updateTagOpportunities","_ref180","_ref181","getSavedViews","_ref182","createSavedView","_ref183","updateSavedView","_ref184","_excluded48","_ref185","deleteSavedView","_ref186","getAdminOpportunities","_ref187","_ref188","deleteAdminOpportunities","_ref189","getAdminClientOpportunities","_ref190","_ref191","getAdminVendorOpportunities","_ref192","vendorId","relationships","_ref193","getAdminVendorPrograms","_ref194","getAdminVendorProgramTemplates","_ref195","template","_ref196","getAdminVendorProgram","updateAdminVendorProgram","_ref197","attachment_set","allowed_finance_types","attachment","_excluded49","vendor_program","_ref198","createAdminVendorProgram","_ref199","_ref200","createVendorProgramEnvelopeTemplate","_ref201","document_ids","envelope_template","_excluded50","_ref202","deleteVendorProgramTemplates","_ref203","templateIds","which_template","_ref204","_ref205","split","_ref206","deleteVendorProgramAttachment","_ref207","_ref208","getAdminAccountTeams","_ref209","getAdminUserTeams","_ref210","getAdminTeams","_ref211","getAdminTeam","_ref212","searchAdminTeams","_ref213","_ref214","createAdminTeam","_ref215","vendor_id","team","team_name","created_from_account_id","getAdminVendorAdmins","_ref216","createAdminVendorAdmin","_ref217","_excluded51","updateAdminVendorAdmins","_ref218","_excluded52","admin","updateAdminVendorTeams","_ref219","_excluded53","updateAdminVendorVendorProgram","_ref220","_excluded54","getMembershipsByContact","_ref221","getMembershipsByTeam","_ref222","inviteMembershipsByTeam","_ref223","_excluded55","updateAdminMembershipRole","_ref224","memberId","_excluded56","deleteAdminMembership","_ref225","_excluded57","getMembershipsByAdminTeam","_ref226","createMembershipsByTeam","_ref227","_ref228","getVendorAdminTeams","_ref229","getVendorAdminTeam","_ref230","createVendorAdminTeam","_ref231","getVendorAdminMembershipsByTeam","_ref232","updateVendorAdminMembershipRole","_ref233","_excluded58","getVendorAdmins","_ref234","_ref235","addContactsAsVendorAdmin","_ref236","_ref237","createVendorAdminContact","_ref238","_excluded59","createCreditReview","_ref239","_excluded60","pushHubspotUpdate","_ref240","createPaymentLink","payment_link","getStripeSetupIntent","_ref241","getStripeSetupIntents","_ref242","createStripeSetupIntent","_ref243","updateStripeCustomerReference","_ref244","_excluded61","stripe_customer_reference","validateStripeCustomerReference","_ref245","getStripeListAllPaymentMethods","_ref246","onClientPortal","getStripeListPaymentMethods","_ref247","cloneStripePaymentMethods","_ref248","createChatOpenai","_ref249","report_text","getCreditPreview","_ref250","creditPreviewId","createCreditPreview","_ref251","_excluded62","credit_preview","createOpportunityCsv","_ref252","createTransactionCsv","_ref253","createCreditSubmissionCsv","_ref254","creditSubmissionIds","createContactCsv","getRateCards","lenderId","createRateCard","_ref255","post","_excluded63","rate_card","updateRateCard","_ref256","_excluded64","useGetClientStatsQuery","useGetStripeSetupIntentQuery","useCreatePaymentLinkMutation","useCreateStripeSetupIntentMutation","useGetStripeSetupIntentsQuery","useUpdateStripeCustomerReferenceMutation","useValidateStripeCustomerReferenceMutation","useGetStripeListAllPaymentMethodsQuery","useGetStripeListPaymentMethodsQuery","useCloneStripePaymentMethodsMutation","useCreateCreditPreviewMutation","useCreateChatOpenaiMutation","useGetCreditPreviewQuery","useGetOpportunitiesQuery","useLazyGetOpportunitiesQuery","useGetOpportunityStatsQuery","useGetOpportunityQuery","useCreateOpportunityMutation","useUpdateOpportunityMutation","useUpdateOpportunityStageMutation","useDeleteOpportunitiesMutation","useRequestOpportunityAccessMutation","useGetOpportunityAttachmentsQuery","useCreateOpportunityAttachmentMutation","useCreateOpportunityAttachmentsMutation","useUpdateOpportunityAttachmentMutation","usePurgeOpportunityAttachmentMutation","useDeleteOpportunityAttachmentMutation","useGetOpportunityEnvelopeTemplatesQuery","useGenerateOpportunityEnvelopeTemplatesMutation","useCreateOpportunityEnvelopeTemplateMutation","useUpdateOpportunityEnvelopeTemplateMutation","useDeleteOpportunityEnvelopeTemplateMutation","useGenerateOpportunityEnvelopeTemplateMutation","useCreateOpportunityEventMutation","useGetOpportunityEventsQuery","useCreateOpportunityCsvMutation","useCreateTransactionCsvMutation","useCreateCreditSubmissionCsvMutation","useCreateContactCsvMutation","useGetCompaniesSearchQuery","useGetContactQuery","useSearchContactsQuery","useGetContactsQuery","useFetchContactQuery","useUpdateContactMutation","useCreateContactMutation","useCaptureContactMutation","useGetOpportunityContactsQuery","useCreateOpportunityContactMutation","useUpdateOpportunityContactMutation","useDeleteOpportunityContactsMutation","useCreateDesignatedSignerMutation","useCaptureOpportunityContactMutation","useSearchOpportunityOriginatorsQuery","useUpdateOpportunityOriginatorMutation","useGetAccountQuery","useCreateAccountMutation","useGetAccountsQuery","useGetClientQuery","useUpdateAccountMutation","useGetAccountEventsQuery","useGetClientsQuery","useGetClientOpportunitiesQuery","useGetClientAccountQuery","useUpdateClientAccountMutation","useGetClientAccountsQuery","useGetTeamsQuery","useGetTeamAccountsQuery","useGetAccountTeamsQuery","useGetTeamQuery","useUpdateTeamMutation","useCreateClientMutation","useGetTeamClientsQuery","useUpdateClientMutation","useCreateTeamContactMutation","useGetFinancingOptionsQuery","useSearchTeamContactsQuery","useGetFinancingOptionQuery","useGetNewFinancingOptionQuery","useCreateFinancingOptionMutation","useUpdateFinancingOptionMutation","useDeleteFinancingOptionMutation","useCreateFinancingOptionEventMutation","useGetFinancingOptionSegmentsQuery","useCreateFinancingOptionTemplateMutation","useGetFinancingOptionTemplatesQuery","useUpdateFinancingOptionTemplateMutation","useGetAdminCreditSubmissionsQuery","useGetOpportunityCreditSubmissionsQuery","useGetOpportunityCreditSubmissionQuery","useCreateOpportunityCreditSubmissionMutation","useUpdateOpportunityCreditSubmissionMutation","useUpdateOpportunityCreditSubmissionSubmitToLenderMutation","useDeleteOpportunityCreditSubmissionMutation","useUpdateOpportunityCreditSubmissionSelectLenderMutation","useUpdateOpportunityCreditSubmissionDeselectLenderMutation","useGetVendorsQuery","useCreateVendorMutation","useUpdateVendorMutation","useGetVendorPaymentsQuery","useGetVendorPaymentQuery","useCreateVendorPaymentMutation","useUpdateVendorPaymentMutation","useDeleteVendorPaymentMutation","useGetVendorPaymentAttachmentQuery","useCreateVendorPaymentAttachmentMutation","useGenerateVendorPaymentMutation","useCreateVendorPaymentConfirmationMutation","useCreateVendorPaymentOpportunityMutation","useGetVendorProgramQuery","useCreateDocusignEmbeddedSigningMutation","useGetVendorProgramsQuery","useCreateDocusignEmbeddedSendingMutation","useGetDocusignEmbeddedSigningStatusQuery","useLazyGetDocusignRegeneratedEmbeddedSendingUrlQuery","useGetDocusignPdfsForSigningQuery","useGetDocusignRegeneratedEmbeddedSendingUrlQuery","useLazyGetDocusignSigningUrlQuery","useGetDocusignSigningUrlQuery","useGetLendersQuery","useCreateLenderMutation","useGetOpportunityDocumentsQuery","useGetDocumentsQuery","useGetDocumentQuery","useCreateDocumentMutation","useUpdateDocumentMutation","usePreviewDocumentMutation","useGetGuarantorsQuery","useSearchGuarantorsQuery","useGetGuarantorQuery","useCreateGuarantorMutation","useRemoveGuarantorsMutation","useGetTransactionsQuery","useLazyGetTransactionsQuery","useGetOpportunityTransactionsQuery","useCreateOpportunityTransactionMutation","useGetOpportunityTransactionQuery","useUpdateOpportunityTransactionMutation","useUpdateOpportunityTransactionsMutation","useDeleteOpportunityTransactionsMutation","useDeleteOpportunityTransactionMutation","useScheduleOpportunityTransactionsMutation","useGetOpportunityTasksQuery","useGetOpportunityTagsQuery","useUpdateOpportunityTagsMutation","useCreateOpportunityPaymentAuthorizationMutation","useGetDocusignEnvelopesQuery","useUpdateDocusignEnvelopeMutation","useGetDocusignEnvelopeQuery","useCreateDocusignEnvelopeMutation","useDeleteDocusignEnvelopeMutation","useGetCommentsQuery","useLazyGetCommentsQuery","useCreateCommentMutation","useDeleteCommentMutation","useMarkUnreadCommentNotificationMutation","useGetAdminAccountsQuery","useGetCombinePdfsPrototypeQuery","useGetAdminAccountQuery","useUpdateAdminAccountMutation","useCreateAdminAccountReviewMutation","useGetAdminClientOpportunitiesQuery","useGetAdminVendorOpportunitiesQuery","useGetAdminContactsQuery","useCreateAdminContactMutation","useUpdateAdminContactMutation","useGetAdminsQuery","useAddAdminMutation","useRevokeAdminsMutation","useCreateAdminFinancingOptionApprovalMutation","useRemoveAdminFinancingOptionApprovalMutation","useGetTagsQuery","useCreateTagMutation","useDeleteTagsMutation","useUpdateTagOpportunitiesMutation","useGetSavedViewsQuery","useCreateSavedViewMutation","useUpdateSavedViewMutation","useDeleteSavedViewMutation","useGetAdminOpportunitiesQuery","useDeleteAdminOpportunitiesMutation","useGetAdminVendorProgramsQuery","useGetAdminVendorProgramTemplatesQuery","useGetAdminVendorProgramQuery","useUpdateAdminVendorProgramMutation","useCreateAdminVendorProgramMutation","useDeleteVendorProgramTemplatesMutation","useDeleteVendorProgramAttachmentMutation","useCreateVendorProgramEnvelopeTemplateMutation","useGetAdminAccountTeamsQuery","useGetAdminTeamsQuery","useGetAdminUserTeamsQuery","useGetAdminTeamQuery","useSearchAdminTeamsQuery","useCreateAdminTeamMutation","useGetAdminVendorAdminsQuery","useCreateAdminVendorAdminMutation","useUpdateAdminVendorAdminsMutation","useUpdateAdminVendorTeamsMutation","useUpdateAdminVendorVendorProgramMutation","useUpdateAdminMembershipRoleMutation","useDeleteAdminMembershipMutation","useGetVendorAdminTeamQuery","useGetVendorAdminTeamsQuery","useGetVendorAdminMembershipsByTeamQuery","useGetVendorAdminsQuery","useAddContactsAsVendorAdminMutation","useCreateVendorAdminTeamMutation","useCreateVendorAdminContactMutation","useInviteMembershipsByTeamMutation","useUpdateVendorAdminMembershipRoleMutation","useGetMembershipsByTeamQuery","useGetMembershipsByAdminTeamQuery","useCreateCreditReviewMutation","useCreateMembershipsByTeamMutation","useGetMembershipsByContactQuery","usePushHubspotUpdateMutation","useGetRateCardsQuery","useCreateRateCardMutation","useUpdateRateCardMutation","store","configureStore","reducer","middleware","getDefaultMiddleware","serializableCheck","ignoredPaths","children","history","useHistory","useLocation","queryString","domain","process","audience","login_hint","screen_hint","React","Auth0Provider","authorizationParams","redirect_uri","useRefreshTokens","onRedirectCallback","appState","returnTo","location","pathname","cacheLocation","CurrentUserContext","CurrentUserProvider","_useState2","_slicedToArray","useState","Intl","DateTimeFormat","resolvedOptions","timeZone","timezone","useEffect","Provider","AppProvider","Frame","Page","Layout","Section","style","height","display","justifyContent","alignItems","marginTop","Image","source","FortifyLogo","CurrentContactContext","CurrentContactProvider","_useAuth","useAuth0","user","isAuthenticated","isLoadingAuth","isLoading","loginWithRedirect","currentContact","setCurrentContact","_useState4","contactPermissions","setContactPermissions","_useState6","isOrganizationAdmin","setIsOrganizationAdmin","_useState8","isVendorAdmin","setIsVendorAdmin","_useState10","isFinanceSpecialist","setIsFinanceSpecialist","_useState12","isTeamAdmin","setIsTeamAdmin","_useState14","isTeamMember","setIsTeamMember","_useState16","isCustomer","setIsCustomer","_useFetchContactQuery","skip","isFetching","refetchCurrentContact","refetch","permissions","hasPermission","every","permission","useCallback","resource_id","includes","LoadingScreen","currentContactId","currentContactHasPermission","emailVerified","email_verified","isLoadingPermissions","FinancingContext","financingTypes","FinancingProvider","_React$Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","_key","newFinancingOptionType","handleNewFinancingOptionTypeChange","setState","this","props","returnPublicRoutes","some","route","AxiosInterceptorContext","isTokenSet","setAxiosTokenInterceptor","accessToken","interceptors","request","use","config","Authorization","AxiosInterceptorProvider","getAccessTokenSilently","setIsTokenSet","isLoadingToken","setIsLoadingToken","isPublicRoute","setIsPublicRoute","setToken","_callee3","_context3","IS_EXTERNAL_LINK_REGEX","i18n","enTranslations","linkComponent","_ref2$url","external","rest","ref","test","target","rel","assign","href","ReactRouterLink","to","theme","_ref$error","message","handleLogout","heading","isEmailVerificationError","setIsEmailVerificationError","buildContent","primaryAction","content","onAction","AppProviderWrapper","narrowWidth","sectioned","className","WithinContentContext","EmptyState","image","imageContained","action","FooterHelp","Button","onClick","variant","PolarisPage","plain","AuthContext","CommonAuthProvider","logout","ErrorScreen","VerifyEmail","ScrollToTop","scrollTo","_props$hideRefreshAct","hideRefreshAction","fatalErrorSVG","reload","BlockStack","Link","ErrorBoundary","hasError","env","AIRBRAKE_PROJECT_KEY","airbrake","Notifier","projectId","projectKey","notify","FatalError","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","Component","component","Route","withAuthenticationRequired","onRedirecting","fade","ToastContext","createContext","useToast","useContext","ToastProvider","showToast","setShowToast","toastMessage","setToastMessage","toastMarkup","Toast","onDismiss","showToastWithMessage","handleAuth0Logout","handleNavigationToggle","isUserMenuOpen","setIsUserMenuOpen","isSecondaryMenuOpen","setIsSecondaryMenuOpen","toggleIsUserMenuOpen","toggleIsSecondaryMenuOpen","userMenuMarkup","TopBar","UserMenu","actions","items","icon","ArrowLeftIcon","avatar","picture","detail","initials","open","onToggle","secondaryMenuMarkup","Menu","activatorContent","Icon","QuestionCircleIcon","Text","visuallyHidden","as","onOpen","onClose","showNavigationToggle","userMenu","secondaryMenu","onNavigationToggle","invite_opportunity_id","replace","stateOptions","stateOptionsShort","equipmentProductTypeOptions","convertServerDate","serverDateString","date","Date","userTimezoneOffset","getTimezoneOffset","getTime","fallbackCopyTextToClipboard","text","textArea","createElement","top","left","position","appendChild","focus","select","execCommand","removeChild","formatLongDateTime","datetime","dateString","toLocaleString","weekday","year","month","day","timeString","hour","minute","formatShortDateTime","formatShortDate","formatNumericDate","formatCurrency","amount","parseFloat","isNumeric","NumberFormat","currency","minimumFractionDigits","maximumFractionDigits","format","Number","validateCurrency","String","isDateNotPast","_value$split$map2","num","parseInt","inputDate","today","setHours","valueFormatted","match","isValidCurrency","toSentenceCase","toLowerCase","c","toUpperCase","firstLetterUpper","toTitleCase","capitalizeNext","char","uuidv4","charCode","crypto","getRandomValues","Uint8Array","toString","ConversionType","convertStateName","input","TO_NAME","regions","Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","Ohio","Oklahoma","Oregon","Pennsylvania","Tennessee","Texas","Utah","Vermont","Virginia","Washington","Wisconsin","Wyoming","Alberta","Manitoba","Newfoundland","Nunavut","Ontario","Quebec","Saskatchewan","Yukon","TO_ABBREVIATED","formattedInput","txt","substr","upperInput","find","setToMidnight","validateEmail","validatePhone","phone","capitalizeFirstLetter","string","toHumanReadableFinanceType","standard","fair_market_value","net_terms","subscription","dollar_out_lease","saas","rental","toFinanceTypeSlug","Rental","dateOptions","label","toISOString","now","taskNameToChoices","quote","purchase_option","purchase_option_approved","credit_review","signer","file_upload","envelope","payment_auth","invoice","showPaymentScheduleTypes","selectCompany","deselectCompany","_props$resourceName","resourceName","queryValue","setQueryValue","searchQuery","useDebounce","addressQuery","skipQuery","setSkipQuery","hasSearchFocus","setHasSearchFocus","handleQueryChange","setOptions","_useGetCompaniesSearc","refetchOnMountOrArgChange","_useGetCompaniesSearc2","_useGetCompaniesSearc4","companies","selectedOptions","setSelectedOptions","options","updateSelection","selected","selectedValue","selectedItem","matchedOption","option","_companies$find","company","company_number","selectedCompany","formattedCompaniesArray","registered_address_in_full","emptyState","SearchIcon","textAlign","padding","textField","Autocomplete","TextField","onChange","prefix","tone","placeholder","focused","FormLayout","onSelect","loading","listTitle","ownKeys","enumerableOnly","symbols","sym","getOwnPropertyDescriptor","_defineProperty","getOwnPropertyDescriptors","defineProperties","hint","prim","toPrimitive","res","_toPrimitive","_toPropertyKey","arr","_arrayWithHoles","_i","_s","_e","_r","_arr","_n","_d","_iterableToArrayLimit","minLen","_arrayLikeToArray","n","from","_unsupportedIterableToArray","_nonIterableRest","len","arr2","AccountForm","forwardRef","_props$account","accountObject","_props$isAdminUser","isAdminUser","_props$isAdminContext","isAdminContext","_props$onCreateOrUpda","onCreateOrUpdate","_props$onEdit","onEdit","isClient","isVendor","isLender","_useGetAccountQuery","_useGetAccountQuery$d","_useGetAccountQuery$i","_useGetTeamsQuery","_useGetTeamsQuery$dat","teamData","teams","setTeams","selectedTeamId","setSelectedTeamId","selectedTeam","setSelectedTeam","teamOption","_team$attributes","_team$attributes3","_team$attributes2","_useUpdateClientMutat2","_useUpdateAdminAccoun2","_useCreateAccountMuta2","_useCreateVendorMutat2","_useCreateLenderMutat2","_useCreateClientMutat2","_useForm","useForm","fields","useField","validates","notEmpty","dba","newAccount","ein","billing_street","billing_country","billing_city","billing_state","billing_postal_code","onSubmit","form","updateFunction","payload","newAccountFormPayload","unwrap","makeClean","setShowErrorBanner","errors","_error$data","_error$data2","_error$data3","_error$data4","submit","submitErrors","submitting","accountFormDirty","dirty","useImperativeHandle","handleSubmitForm","setNewAccount","handleFormatLegalName","formattedName","showErrorBanner","errorBanner","Banner","title","index","Spinner","Modal","AccountSearchForm","newAccountFromCompany","_company$registered_a","_company$registered_a2","_company$registered_a3","_company$registered_a4","_company$registered_a5","_company$registered_a6","_company$registered_a7","_company$registered_a8","_company$registered_a9","_company$registered_a10","_company$registered_a11","opencorporates_company_number","opencorporates_company_type","company_type","opencorporates_current_status","current_status","opencorporates_jurisdiction_code","jurisdiction_code","opencorporates_incorporation_date","incorporation_date","opencorporates_registry_url","registry_url","opencorporates_url","registered_address","street_address","locality","region","postal_code","country","accountFromCompany","Select","Form","Group","requiredIndicator","disabled","connectedRight","WandIcon","defaultProps","_ref$fadeIn","fadeIn","_ref$duration","duration","defaultStyle","opacity","transition","transitionStyles","entering","entered","exiting","exited","Transition","in","timeout","appear","enter","exit","mountOnEnter","unmountOnExit","secondaryActions","renderItem","item","_item$attributes","thumbnail","Avatar","Thumbnail","StoreIcon","size","alt","navigateToAccountShow","billingCityState","ResourceItem","media","accessibilityLabel","verticalAlignment","LegacyStack","spacing","alignment","Item","fill","fontWeight","Truncate","_useContext","_useGetClientsQuery","_useGetClientsQuery$d","accounts","selectedItems","setSelectedItems","filteredItems","setFilteredItems","handleQueryValueRemove","filterControl","Filters","onQueryChange","onQueryClear","currentPage","setCurrentPage","itemsPerPage","paginatedFilteredItems","setPaginatedFilteredItems","currentPageItems","setCurrentPageItems","perPage","reduce","resultArray","pageIndex","Math","floor","accountsResourceList","ResourceList","singular","plural","onSelectionChange","paginationMarkup","Pagination","hasPrevious","onPrevious","hasNext","onNext","footerHelp","accountFormRef","useRef","showAddAccountModal","setShowAddAccountModal","handleCloseModal","_useState18","setAccountFormDirty","addAccountModal","current","isDirty","_account$meta","_account$meta2","redirect_to_opportunity_id","navigateToNewOpportunityShow","accountIndexPageMarkup","FadeIn","Card","Box","distribution","disambiguateLabel","isEmpty","onOpportunityClick","skeletonFormat","itemFormat","human_stage_name","total_finance_amount","product_description","originator_name","formattedTotalFinanceAmount","NoteIcon","maxWidth","isDesktop","width","Badge","SkeletonThumbnail","SkeletonBodyText","lines","stageFilters","onCreateOpportunity","_props$pageLimit","pageLimit","searchValue","sortValue","setSortValue","opportunityStage","setOpportunityStage","handleOpportunityStageChange","setPage","setIsLoading","appliedFilters","setAppliedFilters","_useState20","disambiguatedFilters","setDisambiguatedFilters","_useGetClientOpportun","_useGetClientOpportun2","opportunityData","queryIsLoading","queryIsFetching","_useState22","setOpportunities","count","_list$lowerLimit","_list$lowerLimit$attr","emptyOpportunity","financing_option_count","financing_type","has_financing_option","has_unapproved_financing_options","list","lowerLimit","upperLimit","j","handleOpportunityStageRemove","ChoiceList","titleHidden","choices","allowMultiple","shortcut","opportunityStageList","splice","handleFiltersClearAll","queryPlaceholder","onClearAll","disambiguatedFilterList","filterList","onRemove","_useState24","_useState26","ceil","emptyStateMarkup","secondaryAction","emptySearchCompanies","opportunitiesResourceList","sortOptions","onSortChange","paddingBlockEnd","paddingInlineEnd","paddingBlockStart","paddingInlineStart","_location$state","_location$state2","useParams","navigateToAccountsIndex","_useGetClientAccountQ","_useGetClientAccountQ2","clientAccount","_useCreateOpportunity2","showEditAccountDetailsModal","setShowAccountDetailsModal","handleCreateOpportunity","client_id","editAccountModal","ClientOpportunityList","toggleShowToast","active","currentState","replaceState","labelStyles","minHeight","paddingTop","pageMarkup","subtitle","primary","InlineStack","align","Labelled","CardBoxTitle","_useUpdateContactMuta2","updatingContact","setContactId","showDetailsBanner","setShowDetailsBanner","first_name","given_name","last_name","family_name","gap","has_complete_profile","InlineGrid","columns","xs","md","sm","roundedAbove","PageActions","billing_address","reviewed","has_unapproved_opportunities","navigateToAdminClientShow","Tooltip","AlertCircleIcon","AlertTriangleIcon","_useGetAdminAccountsQ","_useGetAdminAccountsQ2","selectedTab","setSelectedTab","selectedTabIndex","filtered","clients","flushFilters","flush","paddingBottom","setCount","setIds","_props$clientShowPage","creditSubmissions","setCreditSubmissions","_useGetAdminCreditSub","_useGetAdminCreditSub2","creditSubmissionData","ocount","lcount","_useIndexResourceStat","useIndexResourceState","selectedResources","allResourcesSelected","handleSelectionChange","rowMarkup","IndexTable","Row","Cell","truncate","removeUnderline","monochrome","creditSubmission","handleCreditSubmissionClick","opportunity_name","client_name","lender_name","submitted_at","decision","decisionBadgeStatus","selected_at","marginLeft","amount_requested","approved_amount","approved_at","itemCount","selectable","sortable","selectedItemsCount","headings","summaryStatCardItems","resultsKey","right","AccountStatistics","_useGetClientStatsQue","isError","Grid","lg","xl","SkeletonDisplayText","AccountInformation","handleEditAccountDetails","Divider","borderColor","_useGetAdminClientOpp","_useGetAdminClientOpp2","AccountOpportunities","navigateToOpportunityShow","AdminClientOpportunityList","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","_location$state3","selectedLender","setSelectedLender","lenderChoiceList","setLenderChoiceList","sortSelected","setSortSelected","setSelected","_useSetIndexFiltersMo","useSetIndexFiltersMode","mode","setMode","navigateToAdminAccountsIndex","clientObject","_useGetAdminAccountQu2","_useCreateAdminAccoun2","createAccountReview","isCreatingAccountReview","_useGetLendersQuery$d","lenders","onCreateNewView","sleep","setItemStrings","itemStrings","handleFiltersQueryChange","handleChangePage","tablePagination","setShowReviewAccountModal","clientFormDirty","clientFormRef","showReviewAccountModal","reviewAccountModal","alert","_useState28","fullWidth","IndexFilters","onSort","cancelAction","tabs","viewIndex","canCreateNewView","filteringAccessibilityTooltip","CreditSubmissionTable","_props$itemLimit","itemLimit","onRowClick","sortDirection","setSortDirection","_useGetAdminContactsQ","_useGetAdminContactsQ2","contactData","refetchContacts","setContacts","currentlyDisplayedContacts","setCurrentlyDisplayedContacts","emptyContact","full_name","updateList","headingIndex","direction","currentSortDirection","sortTag","_editingContact$attri","_editingContact$attri2","_editingContact$attri3","_editingContact$attri4","showContactFormModal","setShowContactFormModal","viewingContact","setViewingContact","setOrgAdmin","_useCreateContactCsvM2","newChecked","_useCreateAdminContac2","isCreatingContact","_useUpdateAdminContac2","isUpdatingContact","editingContact","setEditingContact","contactFormDirty","contactFormModal","exportContactCsv","filename","file","fileUrl","fileLink","File","URL","createObjectURL","download","click","PageMarkup","ContactAdminList","navigateToAdminAccountShow","navigateToNewLenderShow","DatePickerPopUp","setEditingDate","datePickerLabel","initialDate","dateValue","setDateValue","popoverActive","setPopoverActive","togglePopoverActive","useMemo","getMonth","getFullYear","_useState6$","setDate","start","end","selectedDate","setSelectedDate","handleMonthChange","validRubyDateFormat","formatDate","getDate","rubyStringDate","setRubyStringDate","handleDateTextChange","trim","convertedDate","parsedDate","parse","formattedDate","setDirty","handleDateChange","range","onBlurinvoiceDueDateChange","activator","CalendarIcon","datePopover","Popover","ariaHaspopup","DatePicker","onMonthChange","onBlur","autoComplete","LenderRateForm","lenderRate","addDeletedRate","removeOwnedRateItem","Bleed","marginInline","marginBlockStart","background","paddingInline","blockAlign","condensed","suffix","term_length_minimum","term_length_maximum","minimum_lending_amount","maximum_lending_amount","interest_rate","grade","removeRate","RateCardForm","_rateCard$attributes","_rateCard$attributes2","_rateCard$attributes3","_rateCard$attributes4","_lastRateCard$attribu","rateCard","lenderRates","lastRateCard","setDisableRateCardSave","_useCreateRateCardMut2","_useUpdateRateCardMut2","ownedRates","setOwnedRates","emptyOwnedRateFactory","_useDynamicList","useDynamicList","ownedRatesFields","addOwnedRateItem","addItem","_rateCard$relationshi","_rateCard$relationshi2","oRates","includedRates","rates","newRate","deletedRates","setDeletedRates","dRates","JSON","stringify","_destroy","version_number","version_name","effective_date","is_current","rates_attributes","_rateCard$id","submitForm","uRates","toUpdateableRates","r","errorPresent","cKey","currentRateIndex","currentRate","_currentRate$cjKey$er","cjKey","Checkbox","asChoiceField","PlusCircleIcon","setShowEditQualificationFieldsModal","color","portal_available","submission_method","rate_guidance_general","rate_guidance_startup","rate_guidance_medical","cbrp_pull_type","cbr_details","ebo_details","bank_statements_required","financials_required","financial_level","e_docs_available","ink_signed_app_required","corp_only_allowed","startup_friendly","titling_handling","lienholder_info","paynet_base","paynet_required","min_fico_score","min_time_in_business","min_annual_gross_revenue","app_only_limit_general","app_only_limit_med_core","app_only_limit_med_non_core","app_only_limit_working_capital","min_ownership","point_range","doc_fee","doc_fee_additional","time_to_decision","max_term_length","structured_pays_allowed","deferrals_allowed","typical_deal_size","credit_box_details","prior_bk_restriction","comp_percentage_needed","age_restrictions","fleet_requirements","pps_titled_allowed","pps_non_titled_allowed","otr_details","funding_comments","restrictions","additional_notes","showEditQualificationFieldsModal","isAdminUpdating","setBooleanField","field","formLayout","multiline","checked","rateCardResponse","rateCards","setRateCards","setLenderRates","lrHash","reviewedByMessage","reviewed_by_name","reviewed_at","rateCardRef","currentRateCard","setCurrentRateCard","showRateCardModal","setShowRateCardModal","disableRateCardSave","closeEditRateCardModal","rateCardModal","a","b","QualificationFields","QualificationFieldsForm","taggedWith","setTaggedWith","originatorSearch","panelID","handleTabChange","refetchOpportunities","_useGetAdminOpportuni","_useGetAdminOpportuni2","_useDeleteAdminOpport2","isDeleting","currentlyDisplayedOpportunities","setCurrentlyDisplayedOpportunities","setSelectedResources","allSelected","setAllSeleted","handleTaggedWithRemove","handleClearAll","created_at","openConfirmationModal","setOpenConfirmationModal","handleCloseConfirmationModal","areYouSureModal","bulkDeleteOpportunities","promotedBulkActions","Tabs","fitted","flex","selectionType","toggleType","selection","selectionList","inSelectionIndex","quotes","keyframes","_templateObject2","_taggedTemplateLiteral","LoadingText","currentQuotesIndex","startQuotes","nextProps","clearInterval","quotesInterval","random","_this2","speedInMilliseconds","speed","setInterval","getRandomQuote","getNextQuote","Loader","styled","div","_templateObject3","setLoader","Quotes","_templateObject","isMobile","get","PropTypes","isRequired","backgroundColorQuotes","backgroundColorBackground","opacityBackground","fontSizeTitle","colorTitle","fontFamilyTitle","backgroundColorLoader","aiCanvas","neuralNet","maxHeight","w","h","ctx","getContext","opts","baseConnections","addedConnections","baseSize","minSize","dataToConnectionSize","sizeMultiplier","allowedDist","baseDist","addedDist","connectionAttempts","dataToConnections","baseSpeed","addedSpeed","baseGlowSpeed","addedGlowSpeed","rotVelX","rotVelY","repaintColor","isWithinCard","connectionColor","rootColor","endColor","dataColor","wireframeWidth","wireframeColor","depth","focalLength","vanishPoint","x","y","squareRange","squareAllowed","mostDistant","sinY","cosY","sinX","cosX","connections","toDevelop","all","tick","animating","Tau","PI","Connection","z","screen","links","probabilities","isEnd","glowSpeed","Data","connection","setConnection","squareDist","anim","requestAnimationFrame","globalCompositeOperation","fillStyle","fillRect","rotX","rotY","cos","sin","datum","beginPath","lineWidth","strokeStyle","step","stroke","draw","setTimeout","rootStep","link","shift","alpha","beta","cosA","sinA","cosB","sinB","passedExisting","passedBuffered","connectionsNum","attempt","pos","setScreen","moveTo","lineTo","arc","scale","ended","proportion","ox","dx","oy","dy","oz","dz","os","ds","nextConnection","lastX","lastY","nx","ny","nz","ns","Y","Z","onDragEnter","onDragLeave","onDragOver","onDrop","onFileDialogClose","onUploadSuccess","openFileDialog","hasDroppedInvoice","_useCreateVendorPayme2","setFile","rejectedFiles","setRejectedFiles","setFileUploadSuccess","fileUploadError","setFileUploadError","handleDropZoneDrop","_dropFiles","acceptedFiles","_rejectedFiles","handleUpload","validImageTypes","fileUpload","DropZone","FileUpload","uploadedFiles","vertical","fileTypeErrorMessage","List","token","uid","DirectUploadProvider","multiple","onSuccess","signedIds","render","uploads","ready","flexDirection","AiLoader","margin","accept","dropOnPage","errorOverlayText","variableHeight","dropzone","setOpenFileDialog","MobileView","stopPropagation","BrowserView","isDraggingInvoice","setIsDraggingInvoice","setHasDroppedInvoice","handleInvoiceDragOver","handleInvoiceDrop","handleInvoiceUploadSuccess","vendorPayment","navigateToConfirmInvoice","AttachmentUpload","bottom","DropQuoteCard","AdminOpportunityTable","vendor_locked","navigateToAdminTeamShow","_useGetAdminTeamsQuer","_useGetAdminTeamsQuer2","isLoadingTeam","teamsResourceList","AdminTeamContactForm","memberships","onAfterShareWithContacts","setInviteParams","isShowNewContactForm","addNewContact","setAddNewContact","_useInviteMemberships2","_useCreateTeamContact2","contactSearchValue","setContactSearchValue","contactSearchQuery","setNotifyContacts","showNewContactForm","setShowNewContactForm","selectedRole","setSelectedRole","setNotifMsg","handleSelectChange","handleCheckboxChange","_useSearchContactsQue","_useSearchContactsQue2","isLoadingSearchContacts","selectedContactOptions","setSelectedContactOptions","selectedContactOptionIds","setSelectedContactOptionIds","contactOptions","setContactOptions","handleSelectContact","selectedContactIds","newSelectedContacts","Set","handleRemoveContact","optionIds","shareButton","contactIds","isManager","contactList","filteredContactList","inMemberships","inviteUser","teamAdmin","verticalContentMarkup","Tag","contactShareTextField","verticalContent","paddingLeft","preferredPosition","actionBefore","ellipsis","_team$attributes4","_team$attributes5","_team$attributes6","_team$attributes7","toggleVendorLock","setVendorLocked","isLoadingVendorLock","setIsLoadingVendorLock","handleToggleVendorLock","vendorLocked","contentStatus","toggleId","mdDown","useBreakpoints","badgeStatus","badgeContent","settingStatusMarkup","toneAndProgressLabelOverride","settingTitle","htmlFor","actionMarkup","role","ariaChecked","headerMarkup","minWidth","descriptionMarkup","vendor_origin_name","togglePurchaseOptionLock","financing_option_locked","setPurchaseOptionLocked","isLoadingPurchaseOptionLock","setIsLoadingPurchaseOptionLock","handleTogglePurchaseOptionLock","purchaseOptionLocked","AdminTeamForm","_useUpdateTeamMutatio2","isUpdatingTeam","teamFormDirty","inviteParams","showMembersInviteModal","setShowMembersInviteModal","selectedMemberUpdate","setSelectedMemberUpdate","memberToRemove","setMemberToRemove","navigateToAdminIndex","inviteMember","_useUpdateAdminMember2","updateMemberRole","isUpdatingRole","_useDeleteAdminMember2","removeMembership","isRemovingMember","_useGetAdminTeamQuery","_useGetAdminTeamQuery2","_useGetMembershipsByA","_useGetMembershipsByA2","isLoadingMemberships","isFetchingMemberships","handleInviteToTeam","handleSelectFocus","handleUpdateRole","contact_full_name","contact_email","last_logged_in_at","onFocus","is_team_admin","is_finance_specialist","DeleteIcon","inviteMembersModal","large","teamContactFormRef","VendorLockCard","PurchaseOptionLockCard","defaultSortDirection","vendors","navigateToNewVendorShow","_useGetAdminAccountTe","_useGetAdminAccountTe2","isLoadingTeams","customer","_useGetAdminVendorAdm","_useGetAdminVendorAdm2","admins","isLoadingAdmins","adminsResourceList","_tags$","tagContext","_useGetAdminVendorOpp","_useGetAdminVendorOpp2","_useGetAdminVendorOpp3","_useGetAdminVendorOpp4","_useGetAdminVendorOpp6","_useUpdateTagOpportun2","isTagging","_useGetTagsQuery","fetchingTags","choiceListTags","setChoiceListTags","selectedTag","setSelectedTag","_useState30","handleSelectedTagChange","tagVal","tag","total_count","min","listIndex","_useState32","_useState34","_useState36","openSelectTagModal","setOpenSelectTagModal","selectTagModal","resourceIndex","opportunity_ids","tag_context","tag_ids","_opportunity$attribut","total_amount","updated_at","stagename","_opportunity$attribut2","vendor_tags","isOpportunityTbd","isOpportunityClosedLost","isOpportunityClosedWon","isOpportunityOpen","numeric","tag_name","single_remove","handleRemoveTag","opportunityIndexTable","externalSelectedHandler","_props$canSelectMulti","canSelectMultiple","_useGetAdminVendorPro","_useGetAdminVendorPro2","vendorPrograms","isLoadingVendorPrograms","_filteredItems$vendor","_filteredItems$vendor2","vendor_programs","vendorProgramsResourceList","setValue","default_financing_option_type","navigateToAdminVendorProgramShow","class","VendorContactForm","onNotifyContacts","_useCreateAdminVendor2","addVendorAdmin","handleShareWithContacts","_account$attributes","refetchTeams","teamName","setTeamName","teamSearchValue","setTeamSearchValue","teamSearchQuery","_useSearchAdminTeamsQ","_useSearchAdminTeamsQ2","searchTeams","isLoadingSearchTeams","_useUpdateAdminVendor2","isUpdatingAdminVendorTeams","refetchAdmins","_useUpdateAdminVendor4","_useCreateAdminTeamMu2","_useUpdateAdminVendor6","teamOptions","setTeamOptions","teamList","selectedTeamOptions","setSelectedTeamOptions","selectedTeamOptionIds","setSelectedTeamOptionIds","handleSelectTeam","selectedTeamIds","newSelectedTeams","AdminVendorOpportunityList","showAddTeamModal","setShowAddTeamModal","showNewTeamModal","setShowNewTeamModal","teamTextField","newTeamModal","addTeamModal","TeamList","showAddAdminModal","setShowAddAdminModal","_useState38","_useState40","_useState42","vendorContactFormRef","handleNotifyContacts","addAdminModal","_useState44","showEditVendorProgramModal","setShowEditVendorProgramModal","_useState46","selectedVendorProgramList","setSelectedVendorProgramList","_useState48","loadingSaveVendorProgram","setLoadingSaveVendorProgram","editVendorProgramModal","VendorProgramList","subdued","paddingRight","AdminList","VendorProgramForm","vendorProgram","setIsCreatingVendorProgram","navigateToVendorProgramShow","newVendorProgramId","vendorProgramRequiresCreditSubmission","requires_credit_submission","standard_interest_rate","standard_buy_rate","term_length_max","term_length_min","newVendorProgram","vendorProgramFormDirty","vendorProgramData","setVendorPrograms","_item$attributes$docu","financing_option_templates","envelope_templates","document_list","showAddVendorProgramModal","setShowAddVendorProgramModal","isCreatingVendorProgram","setVendorProgramFormDirty","vendorProgramFormRef","addVendorProgramModal","VendorProgramIndexTable","isDeletingAttachment","updateVendorProgram","actionHint","templates","isFetchingTemplates","handleOpenConfirmationModal","handleShowEditFinanceOptionModal","customer_interest_rate","estimated_buy_rate","interest_rate_visible","selectType","isCreatingEnvelopeTemplate","countersignature_required","document_names","docu","iindex","attachments","setIsDeletingTemplates","isUpdatingVendorProgram","setAllSelected","newAttachments","deleteIndex","listOfResources","removeIndex","bulkActions","_financingTypes$","_vendorProgram$attrib","_vendorProgram$attrib10","_vendorProgram$attrib11","_vendorProgram$attrib12","_vendorProgram$attrib13","_vendorProgram$attrib14","_vendorProgram$attrib15","_vendorProgram$attrib16","_vendorProgram$attrib17","_useToast","_useParams","_useGetAdminVendorPro3","_useGetAdminVendorPro4","financeOptionTemplates","isLoadingFinanceOptionTemplates","isFetchingFinanceOptionTemplates","_useGetAdminVendorPro5","_useGetAdminVendorPro6","envelopeTemplates","isLoadingEnvelopeTemplates","isFetchingEnvelopeTemplates","_useDeleteVendorProgr","_useDeleteVendorProgr2","_useGetDocumentsQuery","_useGetDocumentsQuery2","documents","_useDeleteVendorProgr3","_useDeleteVendorProgr4","_useState","requiresCreditReview","setRequiresCreditReview","_useState3","achPaymentsOnly","setAchPaymentsOnly","requiresCreditApplication","setRequiresCreditApplication","termLengthMaximum","setTermLengthMaximum","setName","setDisplayName","docusignBrandId","setDocusignBrandId","showFinanceOptionModal","setShowFinanceOptionModal","showAddEnvelopeModal","setShowAddEnvelopeModal","showAddAttachmentModal","setShowAddAttachmentModal","paymentStructure","setPaymentStructure","showPercentageErrorBanner","setShowPercentageErrorBanner","setFinancingTypes","paymentTypes","setPaymentTypes","envelopeFinancingType","setEnvelopeFinancingType","visibleClientRate","setVisibleClientRate","baseSegmentsMonths","setBaseSegmentsMonths","counterSignature","setCounterSignature","filteredDocuments","setFilteredDocuments","attachmentDocuments","setAttachmentDocuments","financeTypesChecks","setFinanceTypesChecks","selectedEnvelopeTemplateDocuments","setSelectedEnvelopeTemplateDocuments","attachmentChecks","setAttachmentChecks","_useState50","setSegments","_useState52","interestRate","setInterestRate","_useState54","buyRate","setBuyRate","_useState56","sellRate","setSellRate","_useState58","customerDiscount","setCustomerDiscount","_useState60","discountVisible","setDiscountVisible","_useState62","downPaymentVisible","setDownPaymentVisible","_useState64","paymentInstallments","setPaymentInstallments","_useState66","enableDownPaymentField","setEnableDownPaymentField","_useState68","submittingEnvelopeTemplate","setSubmittingEnvelopeTemplate","_useState70","financeOptionTemplateModalTitle","setFinanceOptionTemplateModalTitle","_useState72","toUpdateFinanceOptionTemplate","setToUpdateFinanceOptionTemplate","_useState74","financeOptionTemplateId","setFinanceOptionTemplateId","handleDownPaymentVisibleChange","down_payment","handleChangeSegments","segment","addSegments","segmentKeys","months","_useState76","selectedFOResources","setSelectedFOResources","_useState78","selectedEnResources","setSelectedEnResources","_useState80","selectedAttachResources","setSelectedAttachResources","_useState82","allSelectedFinance","setAllSelectedFinance","_useState84","allSelectedEnvelope","setAllSelectedEnvelope","_useState86","allSelectedAttachment","setAllSelectedAttachment","_useState88","selectedTemplateBulkDelete","setSelectedTemplateBulkDelete","_useState90","isDeletingTemplates","handleSelectTemplateBulkDelete","tableTemplate","_useState92","selectedTable","tableSelect","resourceList","allSelectedResource","selectedTemplates","opportunity_attachment_templates","resource","handleIndexTableSelection","isSelectAll","custom_name","payment_type","all_payment_type","down_payment_percent","default_total_financing_amount","percentPaymentInstallments","totalSegmentCount","customSegments","financeType","installmentPaymentsToUpdate","newFinanceOptionTemplateFormPayload","payment","percent","term_length","sell_rate","installment_payments","discount","discount_visible","handleChangeVisibleClientRate","handleCloseFinanceOptionModal","handleSubmitTemplate","createEnvelopeTemplate","handleSetCounterSignature","handleSelectEnvelopeFinancingType","filteredDocu","finance_type_docu_list","_vendorProgram$attrib2","_vendorProgram$attrib3","_vendorProgram$attrib4","_vendorProgram$attrib5","ach_payments_only","requires_credit_application","_vendorProgram$attrib6","_vendorProgram$attrib7","_vendorProgram$attrib8","docusign_brand_id","finance_types","all_opportunity_attachment_templates","financing_option_type","documentFinanceType","_useCreateFinancingOp2","isCreatingFinanceOptionTemplate","_useUpdateFinancingOp2","isUpdateFinanceOptionTemplate","_useCreateVendorProgr2","changeVendorProgram","attachmentSet","financeTypesSet","finance_type","allowed","RangeSlider","max","handleChangeAllowedFinanceTypes","handleChangeDiscount","newValue","handleChangeDiscountTextField","handleDiscountVisibleChange","handleAddPayments","payments","toFixed","days","handleRemovePayment","handleEditPayment","days_percent","handlePaymentStructureChange","updatedInstallments","installment","percents","handleSubmitFinanceOptionTemplate","totalPercent","t","financeOptionTemplateModal","PlusIcon","marginBottom","getOwnPropertyNames","tempSegments","deleteSegments","_useState94","availableEnvelopeDocuments","setAvailableEnvelopeDocuments","handleCloseAddEnvelopeTemplateModal","_useState96","integratedPaymentsOn","setIntegratedPaymentsOn","_useState98","connectedStripeAccountId","setConnectedStripeAccountId","_useState100","applicationFee","setApplicationFee","_vendorProgram$attrib9","stripe_payments","stripe_connected_account_id","stripe_application_fee","_useState102","showEditPaymentsSettingsModal","setShowEditPaymentsSettingsModal","handleUpdatePaymentsSettings","passPaymentsOn","paymentsValue","editPaymentsSettingsModal","addEnvelopeModal","documentId","handleChangeSelectedEnvelopeTemplateDocuments","addAttachmentModal","handleChangeAttachmentChecks","handleChangeAttachmentDocuments","whichAllSelected","whichSelectedResources","whichTemplates","bulkDeleteFinanceOptionTemplates","backAction","attachment_url","src","FinanceOptionIndexTable","financeOption","uses_milestone_payments","totalSegmentMonths","EnvelopeIndexTable","AttachmentsIndexTable","isLoadingDocuments","documentsResourceList","openAddDocumentModal","toggleAddDocumentModal","_useCreateDocumentMut2","isCreatingDocument","newDocumentName","setNewDocumentName","setOpenAddDocumentModal","addDocumentModal","AddDocumentModal","AdminDocumentsList","openEditDocumentModal","toggleEditDocumentModal","refetchDocument","documentName","setDocumentName","_useUpdateDocumentMut2","isUpdatingDocument","openEditDocumentAssociationModal","toggleEditDocumentAssociationModal","selectedFinanceOptions","setSelectedFinanceOptions","_document$attributes$","financeTypeRows","documentTypeChoices","entries","nestedMenu","submenuItems","Utilities","insertContent","Opportunity","Docusign","Client","_useGetDocumentQuery","_useGetDocumentQuery$","isLoadingDocument","_usePreviewDocumentMu2","templateContents","setTemplateContents","htmlContents","setHtmlContents","showHtmlContents","setShowHtmlContents","editorRef","handleShowHtmlEditorButton","setShowSnippetsPopover","editorContents","getContent","wysiwygEditorBlock","Editor","apiKey","onInit","evt","editor","onEditorChange","init","menubar","plugins","toolbar","table_default_attributes","border","setup","ui","registry","addMenuButton","fetch","callback","_loop","currentMenu","subMenu","_loop2","subMenuItem","menu","getSubmenuItems","editorSnippets","content_style","insertLiquidSnippet","snippet","newText","el","getElementById","selectionStart","selectionEnd","typeInTextarea","htmlEditorBlock","showSnippetsPopover","toggleShowSnippetsPopover","showSnippetsButton","htmlEditorSnippets","setHtmlEditorSnippets","snippets","_loop3","_loop4","htmlSnippets","setOpenEditDocumentModal","editDocumentModal","EditDocumentModal","setOpenEditDocumentAssociationModal","editDocumentAssociationModal","EditDocumentAssociationModal","sortedFinanceOptionTypeRows","setSortedFinanceOptionTypeRows","sortAlphabetically","rows","rowA","rowB","itemA","itemB","handleFinanceOptionSort","sortedRows","sortedVendorProgramRows","setSortedVendorProgramRows","handleVendorProgramSort","_document$attributes$2","associated_vendor_programs","vendorProgramRows","write","ActionList","actionRole","sections","DataTable","columnContentTypes","initialSortColumnIndex","hasZebraStripingOnData","fetchingAdmins","isRevokingOrgAdmin","setSelectedUsers","setConfirmRevokeAdminRole","LegacyCard","Header","isCreatingTag","isDeletingTags","setAllResourcesSelected","handleCreateTagModalActiveChange","tagId","AdminContactForm","_useAddAdminMutation2","createOrgAdminContact","_useGetAdminsQuery","_useGetAdminsQuery$da","_useGetTagsQuery$data","tagsData","_useCreateTagMutation2","_useDeleteTagsMutatio2","addOrgAdminContact","_useRevokeAdminsMutat2","revokeOrgAdminRole","selectedUsers","tagName","setTagName","setTags","allTagsSelected","selectedTagIds","setSelectedTagIds","createTagModalActive","setCreateTagModalActive","confirmRevokeAdminRole","handleTagSelectionChange","handleAllTagsSelectionChange","handleSetTagName","tab","AdminSettingsOrgAdminsTab","AdminSettingsTagsTab","createTagModal","helpText","Switch","exact","path","Redirect","AdminClientIndex","AdminClientShow","AdminVendorIndex","AdminVendorShow","AdminLenderIndex","AdminLenderShow","AdminVendorProgramsShow","AdminVendorPrograms","AdminOpportunities","AdminTeams","AdminTeamShow","AdminContacts","AdminDocuments","AdminDocumentShow","AdminSettings","_useGetMembershipsByT","_useGetMembershipsByT2","teamMembers","member","_member$attributes","contact_initials","cursor","onTeamClick","vendor_name","TeamMemberAvatarList","member_count","TeamIndexTable","selectedVendorId","setSelectedVendorId","selectedVendorStr","setSelectedVendorStr","vendorItems","setVendorItems","_useCreateVendorAdmin2","isCreatingTeam","_useGetVendorsQuery","_useGetVendorsQuery$d","vendorData","_vendor$attributes","VendorAdminTeamContactForm","_useUpdateVendorAdmin2","_useGetVendorAdminTea","_useGetVendorAdminTea2","_useGetVendorAdminMem","_useGetVendorAdminMem2","VendorAdminTeams","VendorAdminTeamShow","opportunityDetail","fundingChecklist","paymentsAndReview","isOrgAdmin","initialTabState","URLSearchParams","adjustedIndex","_fetchAndSetSelectedTabIndex","retrievedTabIndex","parsedTabIndex","cardContent","fetchAndSetSelectedTabIndex","pluralize","_contact$attributes","_props$onRemoveContac","onRemoveContacts","_props$removeable","removeable","_useGetOpportunityQue2","_useGetOpportunityCon","_useGetOpportunityCon2","opportunityContacts","_useUpdateOpportunity2","isUpdatingOpportunityContact","_useDeleteOpportunity2","selectedContacts","setSelectedContacts","handleRemoveSelectedContacts","opportunity_contact_ids","handleMarkContactSigner","opportunityContactId","innerHTML","has_opportunity_envelopes","replaceAll","setAttribute","hasSignerContact","selectedContactsHasSigner","selectedContactId","indicator","_props$canCreateFinan","canCreateFinanceOption","setContactList","tempList","tempContact","setEditableContactList","_useGetFinancingOptio","_useGetFinancingOptio2","financingOptions","isLoadingFinancingOptions","isUpdatingFinancingOption","_useDeleteFinancingOp2","isDeletingFinancingOption","_useCreateAdminFinanc2","createApproval","_useRemoveAdminFinanc2","removeApproval","hasAcceptedFinancingOption","handleMarkAsAccepted","selectedFinancingOptionId","_returnedOption$attri","returnedOption","handleCreateOpportunityEvent","closeSignerModal","selectedItemsMissingPaymentInfo","itemObject","base_payment","setShowConfirmDesignatedSignerModal","showCreateFinancingOptionModal","setShowCreateFinancingOptionModal","handleCreateFinancingOption","itemId","_item$attributes2","approved","resourceItem","financingOption","handleFinancingClick","downPayment","subDetail","installmentCount","percentage","netTermsSubDetails","CheckCircleIcon","ThumbsUpIcon","financingOptionsResourceList","alternateTool","lockedFinancingOptionsResourceList","_useContext2","handleNewFinancingTypeRadioChange","_checked","availableFinancingOptionTypes","setAvailableFinancingOptionTypes","available_financing_option_types","default_finance_type","createFinancingOptionModal","purchaseOptionType","RadioButton","hasDesignatedSigner","showConfirmDesignatedSignerModal","confirmDesignatedSignerModal","OpportunityContactList","DelayRender","_React$useState2","show","setShow","delay","propTypes","withPage","layoutMarkup","SkeletonPage","newVendorTagInputs","handleAddNewVendorTag","handleTagOpportunities","categorizedTags","setCategorizedTags","catTags","newTags","currentTag","tagType","vendorName","categoryTagName","OptionList","_currentGuarantorCont","_currentGuarantorCont2","_currentGuarantorCont3","_currentGuarantorCont4","_currentGuarantorCont5","_currentGuarantorCont6","_currentGuarantorCont7","_currentGuarantorCont8","_currentGuarantorCont9","_currentGuarantorCont10","_currentGuarantorCont11","_currentGuarantorCont12","_currentGuarantorCont13","_currentGuarantorCont14","_currentGuarantorCont15","_currentGuarantorCont16","guarantors","guarantorContactId","setGuarantorContactId","currentGuarantorContact","isLoadingGuarantorContact","_useRemoveGuarantorsM2","isRemovingGuarantor","showGuarantorContactSpinner","setShowGuarantorContactSpinner","showSSN","setShowSSN","showGuarantorContactFormModal","setShowGuarantorContactFormModal","guarantorsEmptyStateSideCard","guarantorContactFormModal","birth_date","ViewIcon","HideIcon","showGuarantorDeleteButton","setShowGuarantorDeleteButton","showConfirmRemoveGuarantorModal","setShowConfirmRemoveGuarantorModal","confirmRemoveGuarantorModal","guarantorId","renderGuarantorItem","is_individual","entity_id","onMouseOver","onMouseOut","openGuarantorContactModal","_useGetOpportunityAtt","opportunityAttachments","refetchOpportunityAttachments","_useGetOpportunityCre","selected_credit_submission_id","refetchCreditSubmission","_useGetGuarantorsQuer","_useGetGuarantorsQuer2","_useGetGuarantorsQuer3","isLoadingGuarantors","refetchGuarantors","_useGetDocusignEnvelo","_useGetDocusignEnvelo2","docusignEnvelopes","_useGetDocusignEnvelo3","isDocusignEnvelopesLoading","refetchDocusignEnvelopes","_useDeleteDocusignEnv2","isEnvelopeBeingDeleted","setIsEnvelopeBeingDeleted","isUrlBeingRegenerated","setIsUrlBeingRegenerated","urls","documentGuarantors","setDocumentGuarantors","selectedDocumentGuarantors","setSelectedDocumentGuarantors","gSelect","_useGetOpportunityDoc","_useGetOpportunityDoc2","isDocumentsLoading","selectedLenderCard","buy_rate","notes","generateDocsModalOpen","setGenerateDocsModalOpen","documentOptionList","setDocumentOptionList","toggleGenerateDocsModalOpen","setDocumentInput","setDocumentsToSend","setCountersignatureRequired","pdfOptionList","excludedDocuments","commencement_date","documentsToSend","_useCreateDocusignEmb2","isCreatingDocusignEmbeddedSending","docusignRedirectUrl","setDocusignRedirectUrl","_useLazyGetDocusignRe2","getLazyDocusignRegeneratedEmbeddedSendingUrl","countersignatureRequired","generateDocsModal","handleViewOrEditEnvelope","docusign_envelope_sent_at","docusign_envelope_delivered_at","docusign_envelope_completed_at","redirect_url","documentPackageUrl","docusign_envelope_id","docusignEnvelopeCard","draft","EmailIcon","description","OrderFulfilledIcon","docusignEnvelopeTimestamps","timestamp","ExternalIcon","confirm","handleRemoveEnvelope","handlePreviewDocs","slug","document_package_vendor_slug","docusignEnvelopeEmptyState","has_accepted_financing_option","documentPackage","showGuarantorModal","setShowGuarantorModal","skipGuarantorQuery","setSkipGuarantorQuery","guarantorQueryValue","setGuarantorQueryValue","guarantorSearchValue","_useSearchGuarantorsQ","_useSearchGuarantorsQ2","searchedGuarantors","_useSearchGuarantorsQ3","isSearchGuarantorsLoading","isSearchGuarantorsFetching","guarantorOptions","setGuarantorOptions","selectedGuarantorsOptions","setSelectedGuarantorsOptions","canCreateGuarantor","setCanCreateGuarantor","gOptions","guarantorSearchTextField","updateGuarantorSelection","_useCreateGuarantorMu2","isCreatingGuarantor","handleCloseGuarantorsModal","guarantorsSearchEmptyState","addGuarantorsModal","requireCreditApplication","setRequireCreditApplication","selectedAcceptance","setSelectedAcceptance","equipment_acceptance","isCopyingLink","setIsCopyingLink","copyLinkToClipboard","navigator","clipboard","writeText","copyTextToClipboard","linksSideCard","inlineAlign","borderRadius","ClipboardIcon","guarantorSideCard","isUpdating","marginInlineStart","marginInlineEnd","ButtonGroup","marginBlockEnd","GuarantorList","onAddGuarantor","loadingDocuments","setLoadingDocuments","setDocumentToLoadingState","acceptedFilenames","standardDocuments","setStandardDocuments","selectedStandardDocuments","setSelectedStandardDocuments","previousYearPresetDocs","currentYearPresetDocs","currentYear","currentMonth","presetDocs","monthNames","documentInput","listChecked","listNames","changeCustomerDocumentListChecked","listToAdd","addToCustomerDocumentList","publicDocuments","public","customerDocumentsModalOpen","toggleCustomerDocumentsModalOpen","internalFundingRequirementsModalOpen","toggleInternalFundingRequirementsModalOpen","setCustomerDocumentsModalOpen","addToCustomerDocumentsModal","_useUpdateOpportunity4","handleAttachment","purgeAttachment","attachment_id","deleteDocument","documentPopovers","setDocumentPopovers","documentPopoverStatus","toggleDocumentPopover","customerDocuments","AttachmentIcon","MenuHorizontalIcon","autofocusTarget","d","backgroundColor","borderBottom","filenames","setInternalFundingRequirementsModalOpen","addToInternalFundingRequirementsModal","internalFundingRequirements","roundedDollarAmount","round","periodicInterest","presentValue","periodicInterestRate","paymentsPerYear","presentValueInterestFactor","termLength","pow","PAYMENTS_PER_YEAR","calculatePaymentAndDiscount","totalFinanceAmount","paymentType","termSegments","residualAmount","_computeAmortizationS","calculatedTotalFinanceAmount","termSegementsTotalAmount","total","termSegment","termSegmentsPaymentCount","numberOfPayments","balance","schedule","pvif","calculateTotalFinanceAmount","firstRow","remainingInterest","paymentNumber","segmentsIndex","_termSegment$attribut","interest","paymentAmount","principal","row","calculatedTotalFinanceAmountRemaining","amortizedPayment","formattedInterest","amortizationScheduleRow","computeAmortizationSchedule","baseTermLength","presentValueAfterCustomSegmentsPlusOne","termSegmentsPresentValue","_segment$attributes","PV","buyPresentValue","spread","calculatePaymentDerivative","delta","paymentAtCurrentRate","DateTextField","_this$props","inputName","onDateSave","CheckIcon","_opportunity$attribut3","_opportunity$attribut4","_opportunity$attribut5","_opportunity$attribut6","_opportunity$attribut7","_opportunity$attribut8","_opportunity$attribut9","_opportunity$attribut10","_opportunity$attribut11","_opportunity$attribut12","_opportunity$attribut13","_opportunity$attribut14","_opportunity$attribut15","_opportunity$attribut16","_opportunity$attribut17","_opportunity$attribut18","_opportunity$attribut19","_opportunity$attribut20","_opportunity$attribut21","_opportunity$attribut22","_opportunity$attribut23","computeTransactions","_useGetOpportunityQue","install_date","booked_at","acceptance_date","closing_date","first_payment_date","last_payment_date","next_payment_date","isEditingValue","setIsEditingValue","pro_rata","editedValue","setEditedValue","toggleInputBox","editing","grossYield","setGrossYield","proRata","abs","totalGrossYield","vendor_points","progress_payment_interim_rent","progress_payment_interest_cost","gross_yield","validDate","handleDateSave","toggleKey","updateOpportunityWithNewValues","updateValue","dateObject","isFinite","reviewLayout","payment_agreement_number","placeholderText","customInput","EditIcon","total_base_payments_count","total_base_payments_amount","documentation_fee_paid","origination_fee_from_customer","sum_of_remaining_payments","total_paid_to_vendor","payments_total_including_tax","total_sales_tax","total_months","total_final_invoice_amount","total_fees","total_transaction_expense","apr","InfoIcon","debt_present_value","origination_fee_lender","total_finance_charge","net_debt_pv","debt_pv_base_payment","doc_fee_lender","other_fee_lender","subsidy","associate_referral_fee","days_between_invoice_date_and_created_date","seconds_from_created_at_to_paid_date","days_between_invoice_due_date_and_invoice_paid","_useGetVendorPayments","_useGetVendorPayments2","vendorPayments","isLoadingVendorPayments","_useDeleteVendorPayme2","randomNumber","handleNewVendorPayment","showDeleteVendorPaymentConfirmationModal","setShowDeleteVendorPaymentConfirmationModal","deleteVendorPaymentConfirmationModal","destructive","invoice_number","confirmed_at","handleEditVendorPayment","vendorPaymentsResourceList","showNewTransactionModal","toggleNewTransactionModal","createTransaction","transaction_type","scheduled_date","resetNewTransactionForm","submitNewTransaction","newTransactionFormDirty","_transaction$attribut","_transaction$attribut2","_transaction$attribut3","_transaction$attribut4","transactionId","_props$transaction","showEditTransactionModal","toggleEditTransactionModal","updateTransaction","isUpdatingTransaction","scheduledPayableDetails","completed_at","toLocaleDateString","setShowConfirmModal","resetEditTransactionForm","submitUpdateTransaction","editTransactionFormDirty","showConfirmModal","confirmModal","editModal","card","us_bank_account","_props$resourceItem","cardLogo","brand","last4","brandNameTitleCase","require","breakWord","bank_name","bankNameTitleCase","BankIcon","bankContent","_props$status","formatBadgeStatus","paymentSchedule","setPaymentSchedule","_useMeasure2","useMeasure","componentWidth","widthFactor","exp","widthStyle","hasFullDisplay","hasTypeColumn","paymentSched","payment_schedule","formattedPaymentScheduleRows","limited_type","TransactionBadge","flat","Scrollable","shadow","focusable","increasedTableDensity","_acceptedFinancingOpt","handleScheduleTransactionPrompt","acceptedFinancingOption","accepted_financing_option_id","installment_payment_start_date","_useState2$","disabledDates","setDisabledDates","installmentPaymentStartDatePickerRef","isEditingInstallmentPaymentStartDate","setIsEditingInstallmentPaymentStartDate","installmentPaymentStartDatePickerVisible","setInstallmentPaymentStartDatePickerVisible","installmentPaymentStartDateText","setInstallmentPaymentStartDateText","installmentPaymentStartDate","setInstallmentPaymentStartDate","handleInstallmentPaymentDateTextChange","handleSaveInstallmentPaymentDate","updateOpportunityInstallmentPayment","handleInstallmentPaymentDateTextFieldBlur","existingInstallmentPaymentStartDate","setExistingInstallmentPaymentStartDate","newInstallmentPaymentDate","existingInstallmentPaymentDate","financingOptionToDisplay","orderedOpportunityTransactions","setOrderedOpportunityTransactions","orderedList","showClearDateModal","setShowClearDateModal","handleClearDateConfirmation","datePickerSelectedDate","setDatePickerSelectedDate","payments_authorized_at","XIcon","preferredAlignment","preferInputActivator","preventCloseOnChildOverlayClick","startDateText","disableDatesAfter","PaymentScheduleTable","inCardDisplay","showSchedule","borderWidth","_stripeSetupIntent$at","_stripeSetupIntent$at2","_stripeSetupIntent$at3","_stripeSetupIntent$at4","_stripeSetupIntent$at5","validatePurchaseMethod","stripeSetupIntent","paymentMethod","allPaymentMethodsLength","setActive","toggleActive","PaymentMethodResourceItem","destination","ConnectIcon","stripe_customer_link","valid","_opportunity$attribut26","_opportunity$attribut27","transactionIdState","isLoadingOpportunity","designatedSignerId","setDesignatedSignerId","stripeVendorId","setStripeVendorId","_useGetStripeSetupInt","isLoadingStripeSetupIntent","designated_signer_id","final_invoice_ids","currentStripeVendorId","vendor_stripe_connected_account_id","_useGetStripeListPaym","_useGetStripeListPaym2","paymentMethods","isLoadingPaymentMethods","isFetchingPaymentMethods","_useGetStripeListAllP","_useGetStripeListAllP2","allPaymentMethods","_useValidateStripeCus2","selectedFinancingOption","setSelectedFinancingOption","selectedCreditSubmission","setSelectedCreditSubmission","_useGetOpportunityAtt2","_useGetOpportunityAtt3","isLoadingopportunityAttachments","_useGetOpportunityAtt4","_useGetOpportunityTra","_useGetOpportunityTra2","_useGetOpportunityTra3","isLoadingTransactions","refetchTransactions","updateTransactions","deleteTransactions","installment_payment_id","setCurrentTransactionId","setCurrentTransaction","base_payments_count","base_payments_value","origination_fee_customer","doc_fee_paid","transaction_expense","vendor_admin_payables","setComputeTransactions","computeValue","_transactions$i$attri","computeOriginationFeeFromLender","computeDocFeeToLender","computeOtherFeeToLender","computeProgressPaymentInterimRent","computeProgressPaymentInterestCost","computeVendorPoints","computeAssociateReferralFee","computeSumOfAllVendorPayments","computeSubsidy","totalPaidToVendor","computeVendorAdminPayables","computeDebtPVBasePayment","lenderBuyRate","_calculatePaymentAndD","sellPayment","docFeeToLender","otherFeeToLender","debt_pv","computations","selectedAttachments","setSelectedAttachments","emptyAttachmentsState","attachmentBulkActions","transactionSelectedItems","setTransactionSelectedItems","setShowNewTransactionModal","hasCompletedTransactionsSelected","hasCompletedTransactionsWithStripePaymentsSelected","stripe_payment_intent_id","hasVendorPayoutsSelected","hasCustomerChargeSelected","canConvertToLenderPayments","bulkDeleteTransactions","handleChangeToVendorPayments","changeTransactionDetails","handleChangeToLenderPayments","handleChangeToCustomerCharges","detailToConvert","detail_conversion","completedAtDate","setCompletedAtDate","transactionPromotedBulkActions","setTransactionPromotedBulkActions","showMarkCompleteModal","setShowMarkCompleteModal","markCompleteModal","newTransactionModal","NewTransactionModal","setShowEditTransactionModal","currentTransactionId","currentTransaction","editTransactionModal","EditTransactionModal","transactionResourceListAlternateTool","handleScheduleTransactions","transactionEmptyState","transactionsResourceList","payout_destination","limited_detail","showHeader","documentList","setDocumentList","payProceedsDocumentList","initializeDocuments","_vendorPayments$_i3$a","invoice_url","finalInvoiceName","PackageGenerateDocumentListItem","deleteItem","Draggable","draggableId","provided","snapshot","innerRef","draggableProps","isDragging","listStyle","dragHandleProps","DragHandleIcon","XSmallIcon","PackageGenerateDocumentList","handleDragEnd","oldItems","newItems","temp","handleDelete","DragDropContext","onDragEnd","Droppable","droppableId","droppableProps","openGeneratePackageModal","setOpenGeneratePackageModal","toggleOpenGeneratePackageModal","emailSummary","setEmailSummary","emailSummaryModalVisible","setEmailSummaryModalVisible","toggleEmailSummaryModalVisible","copyEmailSummary","loadingCombinedPdf","setLoadingCombinedPdf","axiosCombinedPdf","documentListQuery","emailSummaryModal","generatePackageModal","fundingPackageEmptyState","showConfirmScheduleTransactionsModal","setShowConfirmScheduleTransactionsModal","toggleShowConfirmScheduleTransactionsModal","confirmScheduleTransactionsModal","isSchedulingTransactions","callScheduleTransactions","setShowTransactionErrorBanner","setTransactionErrorBannerMessage","_useScheduleOpportuni2","setShowScheduleTransactionPromptModal","showTransactionErrorBanner","transactionErrorBannerMessage","transactionErrorBanner","showScheduleTransactionPromptModal","toggleShowScheduleTransactionPromptModal","scheduleTransactionPromptModal","FinalInvoiceList","OpportunitiesReviewForm","all_vendor_payments","InstallmentPaymentScheduleCard","_opportunity$attribut24","_opportunity$attribut25","PaymentMethodCard","setUrlLoading","componentMounted","_usePurgeOpportunityA2","popoverStatus","addToInternalDocumentList","canvasStyles","pointerEvents","zIndex","_Component","Confetti","animationInstance","makeShot","particleRatio","origin","angle","particleCount","fire","startVelocity","decay","scalar","handlerFire","getInstance","instance","handleKeyPress","bind","_assertThisInitialized","addEventListener","removeEventListener","prevProps","ReactCanvasConfetti","refConfetti","textTransform","RenderEventStatus","eventType","OpportunityEnvelopeCompleted","FinancingOptionApproved","FinancingOptionUnapproved","FinancingOptionViewed","VendorPaymentAttachmentViewed","VendorPaymentUpdated","OpportunityNotificationDelivered","OpportunityNotificationOpen","OpportunityViewed","OpportunityShared","OpportunityInvoiceUploaded","OpportunityQuoteUploaded","OpportunityFileUploaded","PaymentAuthorizationSaved","TransactionCompleted","TransactionCreated","TransactionScheduled","TransactionsScheduled","TransactionFailed","StripePaymentReminderSent","StripePaymentFailed","RenderEventType","FinancingOptionCreated","FinancingOptionSelected","OpportunityNetTermsSelectedSelected","OpportunityStandardFinancingSelected","OpportunityFairMarketValueSelected","OpportunityDollarOutLeaseSelected","OpportunityRentalSelected","OpportunitySoftwareAsAServiceSelected","isOpportunityNotification","event_type","RenderEventSubjectName","subject_name","isStripePaymentFailed","authorName","author_name","getAuthorName","dateTime","notification","handleDeleteCommentRequest","handleMarkUnreadComment","author_initials","is_organization_admin","author_id","read_at","EmailNewsletterIcon","note","commentableType","showComments","setShowComments","showActivities","showEmailActivities","setShowEmailActivities","_useGetCommentsQuery","_useGetCommentsQuery$","refetchComments","filteredComments","filteredEvents","comment","transactionComments","setTransctionComments","_useLazyGetCommentsQu2","getLazyGetCommentsQuery","_fetchTransactionComments","allTransactionActivity","rawTransactionActivities","transactionActivityData","fetchTransactionComments","commentActivityList","setCommentActivityList","combinedList","aDate","combinedListWithDates","currentDate","lastDate","commentBoxText","lengthLessThan","commentable_type","commentFormDirty","commentIdToDelete","setCommentIdToDelete","_saveComment","saveComment","savedComment","commentObj","showDeleteCommentConfirmationModal","setShowDeleteCommentConfirmationModal","handleShowDeleteCommentConfirmationModal","deleteCommentConfirmationModal","commentFieldClass","classNames","FortComments__CommentField","marginRight","DateChunk","is_activity","ActivityChunk","CommentChunk","contact_notification","fourZeroFourSVG","goBack","onUpdateOriginator","selectedOriginator","selectedOriginatorOptions","setSelectedOriginatorOptions","originatorOptions","setOriginatorOptions","originatorSearchValue","setOriginatorSearchValue","originatorSearchQuery","skipOriginatorQuery","setSkipOriginatorQuery","originatorHasSearchFocus","setOriginatorHasSearchFocus","_useSearchOpportunity","_useSearchOpportunity2","searchOriginators","isLoadingSearchOriginators","isFetchingSearchOriginators","handleRemoveOriginator","originatorList","originatorTextField","membershipId","onAvatarClick","OpportunityContactForm","_currentContact$attri","onSelectContact","onNewContact","onDeselectContacts","onShowNewContactForm","setSelectedContactEmails","notifSubject","setNotifSubject","showCCTextBox","setShowCCTextBox","_currentContact$attri2","_useGetContactQuery","requestedContact","isLoadingContact","selectedCCContactOptions","setSelectedCCContactOptions","selectedCCContactOptionIds","setSelectedCCContactOptionIds","previousSelectedOptionIds","handleSelectCCContact","selectedCCContactIds","handleRemoveCCContact","cc_contact_ids","handleShareWithOrCreateContacts","handleHideNewContactForm","resetNewContactForm","_currentContact$attri3","resetContactSelection","verticalCCContentMarkup","ccTextField","firstname","lastname","_currentContact$attri4","showContactShareModal","setCustomToastMessage","setShowContactShareModal","hideNewContactForm","setHideNewContactForm","showOpportunityContactList","setShowOpportunityContactList","isLoadingAccessToggle","setIsLoadingAccessToggle","isSharing","setIsSharing","hasContactsSelected","setHasContactsSelected","selectedContactEmails","hide","handleCancelSharing","opportunityContactFormRef","opportunityShareLink","hostname","launchEmailClient","subject","footer","LinkIcon","removedContactsLength","GlobeIcon","LockIcon","_useGetOpportunityTas","tasks","isLoadingTasks","_","task","Pip","progress","textDecorationLine","_props$completedTasks","completedTasksCount","_props$totalTasksCoun","totalTasksCount","_props$hasPopover","hasPopover","progressBarContent","ProgressBar","CaretDownIcon","popoverActivator","popover","TaskList","_creditPreview$attrib","_creditPreview$attrib2","_creditPreview$attrib3","_creditPreview$attrib4","_creditPreview$attrib5","_creditPreview$attrib6","_creditPreview$attrib7","_creditPreview$attrib8","_creditPreview$attrib9","_creditPreview$attrib10","_creditPreview$attrib11","_creditPreview$attrib12","_creditPreview$attrib13","_props$opportunityId","_props$viewOnly","viewOnly","_props$creditPreviewI","_useCreateCreditPrevi2","isCreatingCreditPreview","_useGetCreditPreviewQ","_useGetCreditPreviewQ2","creditPreview","isLoadingCreditPreview","isRequestingCreditPreview","setIsRequestingCreditPreview","badgeTone","badgeEmoji","cardIsLoading","GaugeIcon","suggested_action_items","horizontal","CheckSmallIcon","ChatIcon","rationale","_opportunity$included2","posthog","usePostHog","navigateToOpportunityShare","navigateToRequestAccess","opportunityObject","refetchOpportunity","opportunityError","_useGetOpportunityTag","isSuccess","refetchTags","isUpdatingOpportunityTags","group","_useDeleteOpportuniti2","document_package_list","_useGetClientQuery","_useGetClientQuery$da","isLoadingClient","isUpdatingOpportunity","_useUpdateOpportunity6","docusignRedirectUrlExpirationCounter","setDocusignRedirectUrlExpirationCounter","showGenereateDocsError","setShowGenerateDocsError","isOpportunityFunded","handleOpportunityStatusUpdate","activeGenerateDocumentsModal","setActiveGenerateDocumentsModal","showOpportunityStatusModal","setShowOpportunityStatusModal","setShowShareTermsConfirmation","setCheckedConfirmSend","setProgress","selectedOpportunityClosedStatus","setSelectedOpportunityClosedLostStatus","handleChangeOpportunityClosedStatus","handleConfirmOpportunityStatusChange","opportunityStatusModal","_useCreateCreditRevie2","isCreatingCreditReview","_usePushHubspotUpdate2","showShareTermsConfirmation","checkedConfirmSend","handleConfirmSendChange","setNewVendorTagInputs","returnTagDetailsFromAllTags","interval","handleExpiredEmbeddedSigningToken","embedded_signing_token_expired","milliseconds","minutes","seconds","handleNavigateToDocusignRedirectUrl","confirmDocumentsModalCheckboxLabel","generateDocumentsModal","generate_documents_requested_at","document_name","InlineError","customToastMessage","navigateToHome","renderAccountItem","internalFundingAttachments","InternalFundingRequirements","setNotes","notesDirtyFlag","setNotesDirtyFlag","handleNoteChange","pendingReviewBanner","setSelectedOriginator","originator_id","originator_team_name","contactShareModal","ShareModal","handleAfterShareWithContacts","capture","showOtherDetailsModal","setShowOtherDetailsModal","customIdValue","setCustomIdValue","documentation_fee","documentationFee","setDocumentationFee","installDateValue","setInstallDateValue","updatingOtherDetails","setUpdatingOtherDetails","editOtherDetailsModal","external_identifier","defaultLayout","VendorPaymentList","creator_name","creatorMessage","FinancingOptionList","has_vendor_payment","OpportunityCommentList","CreditPreview","originator_team_id","OpportunityOriginatorForm","OpportunityContactAvatarList","documentation_fee_formatted","navigateToCreditSubmissionNew","isLoadingCreditSubmissions","creditSubmissionResourceName","creditSubmissionResourceList","navigateToCreditSubmission","newCreditSubmissionButton","emptyCreditdSubmissionsState","credtSubmissionLayout","fundingChecklistLayout","OpportunitiesFundingChecklist","paymentsAndReviewLayout","OpportunitiesPaymentsAndReview","embeddedSending","OpportunitiesEmbeddedSending","opportunityTabs","OpportunityTab","isEditingTitle","setIsEditingTitle","toggleEditingTitle","pageTitle","setPageTitle","opportunityTags","setOpportunityTags","_opportunity$included","allTags","allTagIds","ignore_tag_list","opTags","adminLayout","unTag","removedTag","tagMarkup","previousTag","tg","titleComponent","setOrderedTasks","requirement_status","taskList","partialList","incompleteList","completeList","orderTasks","subtitleComponent","TaskListProgressBar","completed_tasks_count","total_tasks_count","titleMetadataComponent","tagAction","submitForCreditApprovalAction","pushToHubspotSecondaryAction","openOpportunitySecondaryAction","closeOpportunitySecondaryAction","deleteOpportunitySecondaryAction","outline","hubspot_deal_id","isDebugModalOpen","setIsDebugModalOpen","altKey","preventDefault","prevState","debugModal","FourZeroFour","titleMetadata","AddTagModalComponent","vendorTagInputs","tagsToUpdate","OpportunityShowSkeletonPage","CreateOpportunityForm","_teamData$","_clientData$","_teamData$2","_teamData$2$attribute","_selectedTeam$attribu3","_selectedTeam$attribu4","_selectedTeam$attribu5","handleErrorMessage","onConfirmationLoading","stateClientId","existingClientData","_useGenerateVendorPay2","clientData","setVendorPaymentId","setClients","confirmedClient","setConfirmedClient","confirmedVendor","setConfirmedVendor","setConfirmedVendorPayment","matchedClient","setMatchedClient","matchedVendor","setMatchedVendor","submitMatchedClient","setSubmitMatchedClient","submitMatchedVendor","setSubmitMatchedVendor","setTeamId","setClientId","selectedClient","setSelectedClient","handleTeamSelection","_t$attributes","_selectedTeam$attribu","_selectedTeam$attribu2","newDefaultValue","locked_vendor_name","clientOption","_c$attributes","customer_client_name","customer_client_billing_street","customer_client_billing_city","customer_client_billing_state","customer_client_billing_postal_code","invoice_amount","sales_tax","location_address","location_city","location_state","location_zip","formPayload","customer_client","handleConfirmResponseMatches","handleSubmitMatches","handleOpenMatchModal","handleSubmitPayloadAsEntered","product_type","requiresClientMatch","requiresVendorMatch","activeMatchModal","setActiveMatchModal","handleClientSelectionChange","handleVendorSelectionChange","buildMatchPayload","passedVendorPaymentId","payloadStructured","matchModal","completeFieldsProgress","completeFields","fieldset","_i2","_Object$entries","fieldValue","formProgress","setFormProgress","FormProgressBar","animated","dir","CardSectionTitle","_existingClientData$a","_existingClientData$a2","_existingClientData$a3","confirmFormRef","handleConfirmInvoiceUpload","locationState","setSubmitErrorMessage","existingClientIsLoading","legal_business_name","isLoadingConfirmation","setIsLoadingConfirmation","embeddedSendingLayout","TeamContactForm","is_vendor_admin","_useGetTeamQuery","_useGetTeamQuery$data","isAuthorized","statusName","setVolume","setTransactions","_useGetTransactionsQu","_useGetTransactionsQu2","transactionData","volume","_item$attributes$sche","_item$attributes$comp","op","handleOpportunityClick","is_completed","sortString","ms","setStatusName","setQueryPlaceholder","_useLazyGetTransactio2","isLoadingTransactionsForExport","_useCreateTransaction2","isExportingCsv","setIsExportingCsv","showExportError","setShowExportError","setShowExportSuccess","isLocked","onHandleSave","handleExportToCsv","_callee4","_context4","directionLabel","hideFilters","TransactionTable","Ids","setClientIdFilter","_useCreateCreditSubmi2","isCreatingCreditSubmissionCsv","showExportSuccess","labelHidden","_props$customSegments","_props$colorClassInde","colorClassIndex","_props$wrapWidth","wrapWidth","chartBlocks","setChartBlocks","colorClasses","customSegmentsTotalCount","sum","runningSegmentTotal","blocks","dismissOnMouseOut","purchaseOptionId","solvingMode","setSolvingMode","formattedSolvingMode","handleSolvingModeToggle","helpLink","purchaseOptionPaymentsEnabled","paymentsEnabled","setPaymentsEnabled","payments_enabled","titleMarkup","_props$period","period","setBaseTermLength","periodAsLabel","handleChangeBaseTermLength","base_term_length","handleChangeBaseTermLengthTextField","initialBasePayment","setInitialBasePayment","hasDiscount","setHasDiscount","handleRemoveDiscount","_installmentPayments","_installmentPayments$","hasDownPayment","setHasDownPayment","downPaymentCompletedAt","_ref$usesMilestonePay","usesMilestonePayments","_ref$installmentPayme","installmentPayments","navigateToTransaction","downPaymentTransaction","useReset","lastPaymentPercent","setLastPaymentPercent","checkLastPaymentPercent","_installmentPayments$2","_installmentPayments$3","lastIndex","handleDownPaymentPercentChange","_installmentPayments$4","_installmentPayments$5","existingTotalFinanceAmount","currentTotalFinanceAmount","lastPercent","acc","_installmentPayments$6","_installmentPayments$7","_installmentPayments$8","_installmentPayments$9","newLastPercent","_installmentPayments$10","_installmentPayments$11","_installmentPayments$12","_installmentPayments$13","handleModifyDownPaymentPercent","parts","evenPartPercentage","totalPercentage","handleAddDownPayment","handleRemoveDownPayment","handleSwitchToMilestonePayment","assignPercent","transactionStatusBadge","statusBadge","_fields","_fields$percent","addInstallmentPayment","handleRemoveInstallmentPayment","removeInstallmentPayments","navigateToTransactions","_props$usesMilestoneP","_props$downPaymentPer","downPaymentPercent","_props$hasDownPayment","_fields$lastIndex","_fields$lastIndex$per","handleChangePaymentPercent","hasCompletePayments","installmentPaymentField","_installmentPaymentFi","fieldIndex","_installmentPaymentFi2","_installmentPaymentFi3","customerRateLocked","setCustomerRateLocked","handleChangeCustomerInterestRate","handleChangeCustomerInterestRateTextField","handleChangeSellRate","handleChangeSellRateTextField","resetFields","ResetIcon","pressed","LockFilledIcon","addPurchaseOptionSegment","removePurchaseOptionSegment","filteredFields","purchaseOptionSegmentField","handlePurchaseOptionSegmentCountChange","hasBalloonPayment","setHasBalloonPayment","balloonPaymentCompletedAt","handleAddBalloonPayment","balloon_payment","purchaseOptionSegmentFields","paymentTypeOptions","handlePaymentTypeSelectChange","lockPaymentType","setLockPaymentType","optionsForPaymentType","setOptionsForPaymentType","destroyCount","estimatedLenderBuyRate","residualValue","customerInterestRate","_props$blindDiscount","blindDiscount","buyRateSpread","sellRateSpread","netPayment","onEditSummary","blindDiscountPercent","blindDiscountPercentRounded","customerRateSpread","totalSpread","totalSpreadPercent","totalSpreadPercentRounded","formattedBuyRateSpread","_props$sellRateSpread","fortSpreadAmount","fortSpreadPercent","sellRateSpreadPercent","sellRateSpreadPercentRounded","invoiceTotal","purchaseOptionSegments","amortizationSchedulePayment","VerticalDivider","borderLeft","discountAmount","ScheduleBarChart","_purchaseOption$attri","_purchaseOption$attri2","_purchaseOption$attri3","_purchaseOption$attri4","_purchaseOption$attri5","_purchaseOption$attri6","_purchaseOption$attri7","_purchaseOption$attri8","_purchaseOption$attri9","_fields$discount2","_fields$down_payment2","_fields$balloon_payme2","_fields$discount4","_fields$residual_valu5","_downPaymentFields$do3","_fields$discount5","_props$onBackAction","onBackAction","onSaveAction","_props$opportunity","_props$purchaseOption","purchaseOption","_props$purchaseOption2","setDownPaymentCompletedAt","setTotalFinanceAmount","totalTermLength","setTotalTermLength","lender_buy_rate","setInvoiceTotal","setBuyRatePayment","setSellRatePayment","customerPayment","setCustomerPayment","buyRateDiscount","setBuyRateDiscount","sellRateDiscount","setSellRateDiscount","setNetPayment","setUsesMilestonePayments","includeDownPayment","includeBalloonPayment","down_payment_completed_at","timingFields","interestRateFields","estimated_lender_buy_rate","default_standard_interest_rate","discountFields","downPaymentFields","installmentPaymentFields","_field$percent","balloonPaymentFields","_downPaymentFields$do2","_field$percent2","fieldsToAdd","calculateInstallmentPaymentAmount","indexes","_totalFinanceAmount","existingInstallmentPayments","_payment$percent","adjustedPercent","percentAmount","_payment$percent2","percentValue","newInstallmentPayments","paymentLength","lastPayment","newInstallmentPaymentsTotal","lastPaymentRemainder","_downPaymentFields$do","removeInstallmentPayment","removeItems","runValidation","returnFields","baseFields","existingPurchaseOptionSegments","_useDynamicList2","handleRemovePurchaseOptionSegment","baseSegmentFields","default_term_length_min","default_term_length_max","residualValueFields","residual_value","purchase_option_segments","amount_to_fund","blind_discount","financing_option_segments_attributes","isSubmitting","handleBasePaymentChange","handleCustomerInterestRateChange","remainingInstallmentPayments","remainingInstallmentPaymentsFormatted","_payment$percent3","_payment$percent4","installmentPaymentCount","_fields$discount","_fields$down_payment","_fields$balloon_payme","totalAmount","recalculateInstallmentPaymentAmounts","zeroPercents","indexesToRemove","_payment$percent5","_payment$days","_payment$id","_payment$status","_payment$percent6","totalPaymentCount","initialTotalTermLength","totalPurchaseOptionSegmentsTermLength","initializeCalculator","_fields$discount3","purchaseOptionSegmentList","calculatedTotalTermLength","calculateTotalTermLength","_fields$estimated_len","_fields$buy_rate","_fields$payment_type","_fields$residual_valu","_fields$buy_rate2","_fields$sell_rate","_fields$payment_type2","_fields$residual_valu2","_fields$sell_rate2","_fields$customer_inte","_fields$payment_type3","_fields$residual_valu3","buyRateSpreadUpdate","sellRateSpreadUpdate","customerInterestRateSpreadUpdate","buyRatePayment","sellRatePayment","_fields$sell_rate3","_fields$payment_type4","_fields$residual_valu4","basePayment","difference","maxIterations","tolerance","iteration","derivative","calculateInterestRate","handleChangePaymentStructure","showEditAdminSummaryModal","setShowEditAdminSummaryModal","editAdminSummaryModal","showEditFinanceSummaryModal","setShowEditFinanceSummaryModal","editFinanceSummaryModal","showStructureSettingsModal","setShowStructureSettingsModal","structureSettingsModal","SelectedIndicator","ApprovedBanner","PaymentsEnabledToggle","CalculatorModeToggle","TimingFields","InterestRateFields","DiscountFields","DownPaymentFields","down_payment_transaction","InstallmentPaymentFields","PurchaseOptionSegmentFields","BalloonPaymentFields","BaseSegmentFields","OverviewCard","SummaryCard","FinanceSummaryCard","AdminSummaryCard","_useGetNewFinancingOp","newFinancingOption","isLoadingFinancingOption","navigateToOpportunitiesShow","handleSavePurchaseOption","filteredSegments","LoadingSkeleton","PurchaseOptionCalculator","_financingOption$attr","financingOptionObject","_useGetFinancingOptio3","financingOptionSegments","isLoadingFinancingOptionSegments","_props$progress","navigateHome","shareModal","ChevronRightIcon","ShareIcon","name_slug","displayVendorLogo","_props$invoiceContent","invoiceContentType","invoiceUrl","_props$fullHeight","fullHeight","pdfEmbed","overflow","borderTop","chrome","imageEmbed","objectFit","objectPosition","finalInvoiceId","openInvoiceModal","toggleOpenInvoiceModal","getElementsByClassName","classList","add","InvoiceEmbed","optionIndex","onSelectOption","selectedOption","handleClickShowTerms","cardClass","financingType","details","showDisplayTermsModal","toggleShowDisplayTermsModal","SelectTerms","_optionSelection$attr","hasFinalInvoice","setCanClickNext","setShowNextStepSpinner","_props$hasStandardOpt","hasStandardOptions","_props$hasDollarOutOp","hasDollarOutOptions","renderAddresss","firstLine","secondLine","customerBillToAddress","client_address","handleCreateFinancingOptionEvent","setOpenInvoiceModal","invoiceModal","InvoiceModal","setSelectedOption","optionSelection","setOptionSelection","showTermSelectionConfirmationModal","setShowTermSelectionConfirmationModal","handleSelectOption","handleConfirmOptionSelection","termSelectionConfirmationModal","handleNextSelectOption","_response$data","_response$data$attrib","_response$data2","_response$data2$attri","listOfFinancingOptions","setListOfFinancingOptions","hasRentalOption","setHasRentalOption","hasSaasOption","setHasSaasOption","setHasSection179Ad","netTermsOptions","standardFinancingOptions","subscriptionOptions","saasOptions","fairMarketValueOptions","dollarOutOptions","rentalOptions","sortedOptions","setShowDisplayTermsModal","currentFinancingOption","setCurrentFinancingOption","displayTermsModal","DisplayTermsModal","thumbnail_filename","thumbnail_url","viewBox","xmlns","rx","cx","cy","final_invoice_id","primary_contact_name","product_address","vendorShipToAddress","Section179Ad","TermCard","handleRemovePaymentMethod","localShowLoadingSpinner","isLoadingAllPaymentMethods","isFetchingAllPaymentMethods","nextAction","next_action","stripe_status","verify_with_microdeposits","hosted_verification_url","microdeposit_type","requiresActionBanner","payment_method","_designatedSigner$att","_designatedSigner$att2","opportunityStageName","clientSecret","paymentsAuthorizedAt","forceShowCard","setForceShowCard","setClientSecret","setUniqueElementsKey","setErrorBannerMessage","setShowGenerateErrorBanner","setShowGeneralBanner","setGeneralBannerMessage","setGeneralBannerStatus","stripePaymentMethodList","stripe","useStripe","elements","useElements","designatedSigner","isLoadingDesignatedSigner","savingPaymentMethod","setSavingPaymentMethod","currentClientSecret","setCurrentClientSecret","reloadingPaymentMethodList","setReloadingPaymentMethodList","_useCreateStripeSetup2","isCreatingSetupIntent","_useUpdateStripeCusto2","_useCloneStripePaymen2","hasClientSecret","retrieveSetupIntent","setupIntent","handleCompleteSetupIntentSubmit","hostUrl","_yield$stripe$confirm","paymentMethodId","confirmSetup","confirmParams","return_url","redirect","handleNextAction","client_secret","stripe_payment_method_id","stripe_setup_intent_status","getElement","handleSubmit","iframesLoaded","setIframesLoaded","paymentElementStyle","visibility","PaymentElement","onReady","defaultValues","billingDetails","PaymentMethodList","stripeAccountId","showGeneralBanner","generalBannerStatus","generalBannerMessage","errorBannerMessage","showGenerateErrorBanner","finalInvoiceVendorPayment","setFinalInvoiceVendorPayment","uniqueElementsKey","skipCache","stripeSetupIntentError","opportunityTransactions","isCreatingOpportunityPaymentAuthorization","currentFinalInvoice","stripePromise","setStripePromise","promise","loadStripe","stripeAccount","_a$attributes","_finalInvoiceVendorPa","_b$attributes","_finalInvoiceVendorPa2","invoice_due_date","handleAuthorizePayments","LoadingSpinnerWithPadding","Elements","CustomerCardSetupForm","copyOpportunityShareLink","_clientAccount$attrib","_clientAccount$attrib2","ClientForm","_clientAccount$attrib3","_clientAccount$attrib4","_clientAccount$attrib5","_clientAccount$attrib6","setShowClientCard","_useUpdateClientAccou2","_useSubmit","useSubmit","_clientAccount$attrib7","errorList","errorMessage","_contact$attributes2","_contact$attributes3","_contact$attributes4","_contact$attributes5","_contact$attributes6","_contact$attributes7","signerIndex","handleSelectSigner","selectedContact","SignerForm","setShowSignerList","_useCreateDesignatedS2","isCreatingDesignatedSigner","setErrors","_guarantor$attributes","_guarantor$attributes2","_guarantor$attributes3","_guarantor$attributes4","padStart","isValidDate","monthLengths","dateRegex","fullYear","shortYear","partialYear","partialDate","invalidChars","invalidYearLength","parseDate","preserveFormat","allowPartial","isPartialInput","fullYearMatch","shortYearMatch","setFullYear","setMonth","validateDateInput","isPartialYear","isFullYearFormat","isShortYearFormat","isInvalidCalendarDate","initDatePickerState","displayMonth","displayYear","inputValue","formatError","internalValue","isEditing","datePickerReducer","isTwoDigitYear","_action$payload","keepInputValue","isCompleteFullYearDate","isCompleteTwoDigitYearDate","validationError","formattedValue","_ref$placeholder","_ref$disabled","_ref$allowClear","allowClear","disableDatesBefore","_ref$showTodayButton","showTodayButton","_ref$requiredIndicato","_useReducer2","useReducer","dispatch","externalError","displayError","handleDateSelection","handleClearDate","handleTextFieldChange","hasInvalidChars","handleTextFieldBlur","handleTextFieldFocus","handleTodayClick","XCircleIcon","Pane","GuarantorForm","guarantorCount","setShowGuarantorList","isCreatingOpportunityContact","guarantorBirthDate","setGuarantorBirthDate","street","city","authorized","matchingContact","authorized_at","DatePickerPopup2","isNetTerms","isGuarantorsLoading","setSelectedContact","showSignerList","showGuarantorList","showClientCard","hasOpportunityEnvelopes","ClientCard","SignerCard","ExceptionList","GuarantorFrom","GuarantorCard","_useCookies2","useCookies","cookies","isLoadingOpportunityAttachments","attachmentCount","setUploadingFilenames","opportunityDocumentCardTitle","uploaded_by_id","_useGenerateOpportuni2","isGeneratingOpportunityEnvelopeTemplates","isLoadingDocusignEnvelopes","_useGetOpportunityEnv","primary_vendor_program_id","_useGetOpportunityEnv2","opportunityEnvelopeTemplates","getLazyDocusignSigningUrl","showLoadingSpinner","setShowLoadingSpinner","loadingEnvelopeId","setLoadingEnvelopeId","hasPendingEnvelopes","docusign_status","isEnvelopeCompletedOrSigned","canClickNextBasedOnEnvelopes","axiosGetDocusignDocuments","isComplete","has_designated_signer","emptyDocumentsSrc","listString","stringList","documentListToString","iCanHasConfetti","setICanHasConfetti","readyState","handleConfetti","ChevronLeftIcon","successSVG","paramsOpportunityId","paramsClientId","requestSent","setRequestSent","_useRequestOpportunit2","isRequesting","handleRequestAccess","footerContent","_selectedFinancingOpt2","_selectedFinancingOpt5","_selectedFinancingOpt7","pageStepId","setHasDollarOutOptions","setHasStandardOptions","nextOrBackButtonPressed","setNextOrBackButtonPressed","_useUpdateDocusignEnv2","setIsPublic","_useGetVendorProgramQ","_useGetVendorProgramQ2","isLoadingVendorProgram","isLoadingOpportunityEnvelopeTemplates","handleViewOpportunity","viewsString","views","lastViewed","canClickNext","showNextStepSpinner","steps","setSteps","currentStep","setCurrentStep","selectTermsStep","stepId","paymentScheduleStep","PaymentSchedule","confirmSignerStep","_selectedFinancingOpt","ConfirmSigner","uploadAttachmentsStep","UploadAttachments","signDocumentsStep","SignDocuments","finishStep","Finish","pushStep","stepList","order","buildSteps","_selectedFinancingOpt3","_selectedFinancingOpt4","signingStep","signingStepIndex","JumpToUploadAttachments","JumpToConfirmSigner","JumpToPaymentSchedule","JumpToSignDocuments","handleNextStepButton","proceedToNextStep","_selectedFinancingOpt6","currentOrder","stepToMoveTo","hasDifferentVendorIds","envelope_id","remainingQuery","ShareHeader","Router","RequestAccess","VendorForm","_props$vendor","newVendorFormPayload","vendorFormDirty","_location$state4","newContact","navigateToPreviousPath","previousPath","setSelectedCompany","newVendor","setNewVendor","vendorFromCompany","handleSelectVendorProfile","_args","VendorPaymentForm","_vendorPayment$attrib","_invoiceData$invoice_","_invoiceData$invoice_3","_invoiceData$location","_invoiceData$location2","_invoiceData$location3","_invoiceData$location4","_invoiceData$product_","_invoiceData$product_2","_invoiceData$sales_ta","_vendorPayment$attrib5","_vendorData$name4","onAddVendor","_useState4$","invoiceData","setInvoiceData","setVendorData","isLoadingAccount","isLoadingVendors","isCreating","_useUpdateVendorPayme2","invoiceNumberField","invoiceDueDate","setInvoiceDueDate","ocr_response_normalized","_vendorPayment$attrib3","_vendorPayment$attrib2","tempInvoiceData","k","_invoiceData$k","_invoiceData$k2","_vendorPayment$attrib4","_invoiceData$invoice_2","invoiceDueDateString","correctedDate","location_is_hq_address","vendorPaymentBodyPayload","is_final_invoice","callOpportunityVendorQuoteEvent","setVendorPaymentFormDirty","handleUpdateOrSubmit","hasFieldErrors","fieldsData","hasErrors","fieldErrors","allErrors","handleShowUpdateVendorPaymentConfirmationModal","handleShowDifferentInvoiceAmountModal","deselectedVendorOptions","selectedVendorOptions","setSelectedVendorOptions","vendorInputValue","setVendorInputValue","vendorOptions","setVendorOptions","updateVendorText","filterRegex","RegExp","resultOptions","_vendorPayment$attrib6","_vendorData$name","_vendorPayment$attrib8","selectedVendor","_vendorPayment$attrib7","_vendorData$name2","_vendorData$name3","lowercaseVendorName","_selectedVendor$attri","updateVendorSelection","removeVendorTag","vendorAutocompleteTextField","showUpdateVendorPaymentConfirmationModal","setShowUpdateVendorPaymentConfirmationModal","updateVendorPaymentConfirmationModal","showDifferentInvoiceAmountModal","setShowDifferentInvoiceAmountModal","handleCloseShowDifferentInvoiceAmountModal","differentInvoiceAmountModal","DuplicateIcon","billing_state_abbreviated","navigateToVendorPaymentEdit","vendorPaymentFormRef","eventName","vendorFormRef","showAddVendorModal","setShowAddVendorModal","setVendorFormDirty","vendorFormQuery","setVenorFormQuery","addVendorModal","pagePrimaryAction","setFinalInvoice","_useGetVendorPaymentQ","_useGetVendorPaymentQ2","setFieldErrors","Pluralize","content_type","InvoiceConfirmForm","_invoiceData$base_pay","_invoiceData$customer","_invoiceData$customer2","_invoiceData$customer3","_invoiceData$customer4","_invoiceData$customer5","_invoiceData$invoice","_invoiceData$invoice2","_invoiceData$invoice3","_invoiceData$invoice4","_invoiceData$invoice5","_invoiceData$invoice6","_invoiceData$invoice7","_invoiceData$invoice8","_invoiceData$customer6","_invoiceData$customer7","_invoiceData$customer8","_invoiceData$customer9","_invoiceData$customer10","_invoiceData$customer11","_invoiceData$customer12","_invoiceData$invoice9","_invoiceData$invoice10","_invoiceData$invoice11","_invoiceData$invoice12","_invoiceData$invoice13","_invoiceData$invoice14","_invoiceData$invoice15","_invoiceData$invoice16","_useCreateVendorPayme4","invoiceTags","setInvoiceTags","basePaymentField","vendorNameField","quote_type","quote_total_amount","invoice_type","ConfidenceBadge","displayValue","labelAction","attribute","score","ocr_score","iconCritical","iconWarning","iconSuccess","iconSubdued","isMultilineField","ConfidenceField","_useGetVendorPaymentA","_useGetVendorPaymentA2","isLoadingVendorPayment","submitErrorMessage","submitErrorBanner","_useGetLendersQuery","isLoadingLenders","selectedLenders","setSelectedLenders","lenderOptionList","setLenderOptionList","lenderList","createCreditSubmission","isCreatingCreditSubmission","lenderIds","lender_ids","dynamicLists","setFiles","files","financing_option_structure","customer_billing_street","customer_billing_city","customer_billing_state","customer_billing_postal_code","ApprovedForm","_creditSubmission$att","_creditSubmission$att2","_creditSubmission$att3","creditSubmissionId","_props$creditSubmissi","creditSubmissionObject","_props$onUpdate","onUpdate","_useGetOpportunityCre2","updateCreditSubmission","end_option","min_term_length","expires_at","approvedFormDirty","useDirty","makeCleanFields","account_name","DeclinedForm","decline_reason","NeedsInfoForm","needsInfoFormDirty","PendingForm","pendingFormDirty","lender_id","attachmentOptions","setAttachmentOptions","opSelect","updateCreditSubmissionSubmitToLender","openSubmitToLenderModal","setOpenSubmitToLenderModal","toggleSubmitToLenderModal","openSubmitSsnToMacquarieModal","setOpenSubmitSsnToMacquarieModal","toggleOpenSubmitSsnToMacquarieModal","ssnNumbers","setSsnNumbers","submitToLender","setLenderErrorMessage","setMultipleLenderErrorMessage","toggleLenderErrorBanner","table","errorMessages","message_text","submitToLenderModal","lender_integration","showSsnErrorBanner","setShowSsnErrorBanner","ssnErrorMessage","setSsnErrorMessage","ssnValidationErrorBanner","ssnFields","addSsnFieldItem","ssnNumberFields","submitToMacquarie","submitSsnToMacquarieModal","showSendToLenderSuccessBanner","showSendToLenderErrorBanner","setShowSendToLenderErrorBanner","lenderSuccessBanner","lenderErrorMessage","multipleLenderErrorMessage","lenderErrorBanner","submittedBanner","canSelectAsLender","setCanSelectAsLender","updateCreditSubmissionSelectLender","updateCreditSubmissionDeselectLender","handleDecisionChange","_useUpdateOpportunity8","approvedFormRef","vendorResourceList","pageIndexMarkup","_useUpdateVendorMutat2","showEditBasicInfoModal","setShowEditBasicInfoModal","showEditBillAddressModal","setShowEditBillAddressModal","updateVendorFormPayload","editBasicInfoModal","editBillAddressModal","vendorAdmins","_useAddContactsAsVend2","handleAddAdminToVendor","showVendorAdminInviteModal","setShowVendorAdminInviteModal","_useGetVendorAdminsQu","_useGetVendorAdminsQu2","AdminIndexTable","inviteVendorAdminModal","isVendorProgramUpdating","setEmailSettings","email_settings","failed_payment_email","payment_reminder_email","emailSettings","handleChangeEmailSettings","newEmailSettings","currentVendor","setCurrentVendor","VendorAdminListTab","VendorAdminSettingsAccountDetailsTab","VendorAdminIntegratedPaymentsSettings","VendorAdminSettingsTagsTab","handleSearchChange","externalHandler","dynamic","initialValues","allowedTeamAdminAttributes","filterValues","handleFilterValueChange","filterObject","collapsibleOpen","setCollapsibleOpen","handleSegmentSelect","newCollapsibleOpen","taskFilter","borderBottomLeftRadius","borderBottomRightRadius","onScrolledToBottom","Listbox","onActiveOptionChange","domId","_filterValues$task$id","taskName","currentTaskValues","Collapsible","timingFunction","expandOnPrint","handleTaskSelectionChange","filterKey","setFilterValues","savedViews","selectedView","handleUpdateSavedView","isUpdatingSavedView","viewFilterSelectedValues","setViewFilterSelectedValues","viewFilterHasSearchFocus","handleSearchValueChange","searchFilterOptions","handleRemoveViewFilter","isLoadingDynamic","newValues","newAppliedFilters","filterLabel","currentSavedView","savedViewFilters","taskKeys","taskQueryString","taskValues","currentKey","specialQueryString","stringSavedViewFilters","handleRemoveFilterIcon","newSelectedValues","searchTextFilterText","setSearchTextFilterText","searchTextFieldFilter","_filterValues$filterK","_searchFilterOptions$","handleSearchFilterIcon","_filterObject$choices","choiceListChoices","choiceListFilter","output","rangeSliderFilter","dateFilter","TaskFilter","returnFilter","isCurrentContactOrgAdmin","setExportSearchValue","setExportSortValue","setExportTabFilter","setExportSavedView","tabFilter","setTabFilter","savedViewSearch","setSavedViewSearch","setTaskName","taskStatus","setTaskStatus","loadedLocalStorageView","setLoadedLocalStorageView","_useGetOpportunitiesQ","_useGetOpportunitiesQ2","_useGetOpportunitySta","opportunityStatsData","isLoadingStats","isFetchingStats","_useGetSavedViewsQuer","isLoadingSavedViews","refetchSavedViews","_useCreateSavedViewMu2","isCreatingSavedView","_useUpdateSavedViewMu2","_useDeleteSavedViewMu2","isDeletingSavedView","isOpportunitiesLoading","setIsOpportunitiesLoading","selectedTaskStatus","setSelectedTaskStatus","_opportunityData$oppo","_opportunityData$oppo2","_opportunityData$oppo3","taggings_count","_opportunityData$oppo4","oTags","_o$relationships","_o$relationships$tags","vTags","_o$relationships2","_o$relationships2$ven","all_tags","tagOptions","filterOptions","statusOptions","financing_type_list","financingTypeOptions","setSearchFilterOptions","average","viewNames","deleteView","savedViewId","newItemStrings","handleDeleteSavedView","setSelectedView","savedSelectedView","savedViewIndex","findIndex","view","handleCreateNewSavedView","viewName","saved_view","duplicateView","rename","newFilters","newItemsStrings","idx","onPrimaryAction","_onPrimaryAction","_onPrimaryAction2","handleFilterQueryClear","setViewFilterValues","viewFilters","setViewFilters","viewFilterValues","vendorNameSearch","setVendorNameSearch","vendorNameSearchDebounce","searchVendors","isLoadingSearchVendors","onChangeSetViewFilters","setAutomaticStatusFilterForTaskViews","queryTaskStatus","taskNameKey","setFilterListForSavedView","_filters$attribute","searchValueHandler","handleSearchFilterValueChangeForOriginator","originatorHandle","handleSearchFilterValueChangeForTeams","teamHandle","handleSearchFilterValueChangeForVendors","vendorHandle","ViewFilter","contactLabel","currentViewIndex","currentViewFilters","currentViewFilterString","appliedViewFilters","appliedFilterValues","_savedViews$currentVi","_savedViews$currentVi2","_savedViews$currentVi5","_savedViews$currentVi6","sortIndex","_savedViews$currentVi3","_savedViews$currentVi4","taskValue","selectedResourceIndex","vendorPromotedBulkActions","indexTableIsLoading","setIndexTableIsLoading","_item$tags","_item$vendor_tags","HomeTableSkeletonCards","selectedViewName","_useLazyGetOpportunit2","getLazyGetOpportunitiesQuery","isLoadingOpportunitiesForExport","setSearchValue","setSavedView","rawResponse","rawOpportunities","HomeTableWithIndexFilter","formId","script","hbspt","forms","portalId","fetchedContact","customerOpportunities","setCustomerOpportunities","oppList","onNavigation","primary_vendor_name","dealTable","showForm","setShowForm","HubspotForm","CALENDLY_LINK","_props$solvingMode","_props$totalFinanceAm","_props$baseTermLength","_props$customerIntere","_props$basePayment","_props$paymentType","_props$downPayment","_props$onCalculatorCh","onCalculatorChange","solving_mode","setPrincipal","totalInterest","setTotalInterest","getValues","nivoChartData","DataDisplayField","hasUnderline","ResponsivePie","colors","scheme","innerRadius","padAngle","cornerRadius","activeOuterRadiusOffset","modifiers","arcLinkLabelsSkipAngle","arcLinkLabelsTextColor","arcLinkLabelsThickness","arcLinkLabelsColor","arcLabelsSkipAngle","arcLabelsTextColor","valueFormat","defs","stagger","rotation","PaymentCalculator","equipmentCostString","setEquipmentCostString","equipmentCost","setEquipmentCost","handleEquipmentCostChange","taxBracket","setTaxBracket","handleTaxBracketChange","firstYearDeduction","setFirstYearDeduction","cashSavings","setCashSavings","loweredCost","setLoweredCost","lastYear","DEDUCTION_LIMIT","markup","fortLogo","backgroundImage","calculatorBackground","savings","calculatorCTABanner","boxShadow","foo","bar","baz","useAuth","isCurrentPath","currentPathIncludes","getCurrentRoleTitle","getOrganizationAdminNavigationItems","ReceiptDollarIcon","TransactionIcon","BlogIcon","ProfileIcon","PersonIcon","ProductIcon","AutomationIcon","SettingsIcon","getVendorAdminNavigationItems","getTeamMemberNavigationItems","getNavigationItems","mobileNavigationActive","setMobileNavigationActive","logo","topBarSource","contextualSaveBarSource","topbarMarkup","Navbar","navigationMarkup","Navigation","topBar","navigation","showMobileNavigation","onNavigationDismiss","ProtectedOpportunityShowComponent","OpportunitiesShow","pendo","initialize","visitor","is_team_member","is_customer","warn","identify","organization_admin","financingOptionsShare","FinancingOptionsShare","customerRoutes","ProtectedRoute","Customer","Profile","PublicPaymentCalculator","Section179Calculator","vendorRoutes","HomeIndex","Sandbox","Auth0Callback","Admin","VendorAdmin","FinancingOptionsNew","FinancingOptionsShow","VendorPaymentsNew","VendorPaymentsShow","CreditSubmissionNew","CreditSubmissionShow","AccountsShow","OpportunitiesEmbeddedSendingSent","VendorsNew","InvoiceConfirm","CreateOpportunity","TransactionIndex","CreditSubmissionIndex","Teams","TeamShow","AccountsIndex","VendorAdminSettingsIndex","VendorAdminSettingsShow","publicRoutes","FrameWrapper","_render","posthogOptions","api_host","opt_in_site_apps","ReactDOM","PostHogProvider","Auth0ProviderWithHistory","App","TimeAgo","addDefaultLocale","en"],"sourceRoot":""}