Exemplo n.º 1
0
 /** get client-distributor
  *
  */
 public function getDistributor()
 {
     $distributor = $this->distributor->getDistributorDetails();
     return view('clients.distributor', compact('distributor'));
 }
Exemplo n.º 2
0
 /**
  * Update the Authenticated agent details
  * @return \Illuminate\View\View
  * @param $id
  */
 public function updateAgent($id)
 {
     $this->repository->update($this->request, $id);
     Session::flash('flash_message', 'Agent status was updated!');
     return redirect('client/agent');
 }