%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
/* eslint-disable react-hooks/exhaustive-deps */ import React, { useEffect, useState } from "react"; import AuthService from "../../services/AuthService"; import Service from "../../services/Service"; import Leads from "./Leads"; import Report from "./Report"; import { Result, Tabs } from "antd"; export default function Multisource() { const modules = AuthService.getModules(); const [masters, setMasters] = useState({ states: [], programs: [], utm_sources: [], }); useEffect(() => { Service.mastersForLeads().then(({ data }) => setMasters(data.result)); }, []); if (!modules.multisource_leads) { return ( <Result status="403" title="403" subTitle="Sorry, you are not authorized to access this page." /> ); } return ( <div className="d-flex" style={{ gap: "16px", flexDirection: "column" }}> <div className="page-heading">Multi Source Leads</div> <Tabs items={[ { label: "Leads", key: "1", children: <Leads masters={masters} />, }, { label: "Report", key: "2", children: <Report />, }, ]} /> </div> ); }