/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $order = Order::count();
     $supply = Supply::count();
     $spares = Spares::count();
     $car = Cars::count();
     $data = array('order' => $order, 'supply' => $supply, 'spares' => $spares, 'car' => $car);
     if ($this->manager) {
         return View::make('dashbord.manager')->with($data);
     } else {
         if ($this->salesman) {
             return View::make('dashbord.salesman')->with($data);
         } else {
             return redirect('/login');
         }
     }
 }