/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $directHire = parent::getDirectHire(null, 0);
     $directHireAnnual = parent::getDirectHireAnnual(null, 0);
     $directHireTarget = parent::getDirectHireTarget(null, 0);
     $gmp = parent::getGMP(null, 0);
     $gmpAnnual = parent::getGMPAnnual(null, 0);
     $pointMonthly = parent::getPointMonthly(null, 0);
     $pointDaily = parent::getPointDaily(null, 0);
     //        $gmpTarget = parent::getGMPTarget( null );
     //        $recruitingData = parent::getRecruitingPoints( null );
     //        $recruitingGoal = parent::getRecruitingGoal( null );
     //        return view('prodSales.report', compact('recruitingData', 'recruitingGoal', 'directHire', 'directHireAnnual', 'directHireTarget', 'gmp', 'gmpAnnual', 'gmpTarget'));
     return view('prodSales.report', compact('directHireTarget', 'directHireAnnual', 'directHire', 'gmp', 'gmpAnnual', 'pointMonthly', 'pointDaily'));
 }
 public function statistics($id)
 {
     $user = User::findOrFail($id);
     $directHire = parent::getDirectHire($user->id);
     $directHireAnnual = parent::getDirectHireAnnual($user->id, 0);
     $directHireTarget = parent::getDirectHireTarget($user->id);
     $gmp = parent::getGMP($user->id);
     $gmpAnnual = parent::getGMPAnnual($user->id);
     return view('prodSales.report', compact('directHireTarget', 'directHireAnnual', 'directHire', 'gmp', 'gmpAnnual', 'user'));
 }