From 0d10e2047bdfc7a4388b2a6fa83adaaa34bfe418 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 8 Feb 2020 15:22:52 -0500 Subject: [PATCH] testing --- app/Console/Commands/TabulateWinners.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/TabulateWinners.php b/app/Console/Commands/TabulateWinners.php index 0d712b3..79074a8 100644 --- a/app/Console/Commands/TabulateWinners.php +++ b/app/Console/Commands/TabulateWinners.php @@ -58,7 +58,7 @@ class TabulateWinners extends Command ->first(); return $mainWinnerQuery->vehicle; } - function categoryWinner($category) + /* function categoryWinner($category) { $categoryWinnerQuery = VehicleScores::join('vehicles', 'vehicle_scores.vehicle', '=', 'vehicles.id') ->groupBy('vehicles.id') @@ -66,14 +66,14 @@ class TabulateWinners extends Command ->whereNotIn('vehicle_scores.vehicle', function ($query) { $query->select('vehicle')->from('car_show_winners'); }) - //->where('vehicles.doNotJudge', '=', "0") + //->where('vehicles.doNotJudge', '=', 0) //->where('vehicles.type', '=', "$category") ->orderBy('totalscore', 'desc') ->first(); return $categoryWinnerQuery->vehicle; } - +*/ function pcWinner() { $peoplesChoiceWinnerQuery = DB::table('peoples_choice')