clientModel = new ClientModel(); $this->userModel = new UserModel(); $this->clientBranchModel = new ClientBranchModel(); $this->clientKYCDocsModel = new ClientKYCDocsModel(); $this->clientPolicyModel = new ClientPolicyModel(); $this->clientRMModel = new ClientRMModel(); $this->insurerBranchModel = new InsurerBranchModel(); $this->insurerModel = new InsurerModel(); $this->kycDocsModel = new KYCDocsModel(); $this->kycEntityTypeModel = new KYCEntityTypeModel(); $this->levelContactModel = new LevelContactModel(); $this->policesModel = new PolicesModel(); $this->tpaBranchModel = new TPABranchModel(); $this->tpaModel = new TPAModel(); } public function index() { echo view('layout/header'); echo view('client_list'); echo view('layout/footer'); } public function clientOnboarding(){ $data['contact_level'] = ['1'=>'level 1', '2'=>'level 2', '3'=>'level 3']; $data['entity'] = $this->kycEntityTypeModel->findAll(); $data['kyc_docs'] = $this->kycDocsModel->findAll(); $data['police'] = $this->policesModel->findAll(); $data['insurer'] = $this->insurerBranchModel ->getInsurerBranchesWithInsurerNames(); $data['RM'] = $this->userModel->findAll(); echo view('layout/header'); echo view('client_onboarding', $data); echo view('layout/footer'); } public function createClientGeneralInfo(){ } }