diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 509e019..b27f7ed 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -27,10 +27,12 @@ class PagesController extends Controller $item_count_result = Items::count(); $bidder_count_result = Bidders::count(); $winner_count_result = WinningBids::count(); + $vehicle_count_result = Vehicles::count(); return view('home', [ 'item_count_result' => $item_count_result, 'bidder_count_result' => $bidder_count_result, - 'winner_count_result' => $winner_count_result + 'winner_count_result' => $winner_count_result, + 'vehicle_count_result' => $vehicle_count_result ]); } diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index e4be2c4..260aed6 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -20,7 +20,10 @@ Total Bidders: - Winners Entered: + Auction Winners Entered: + + + Total Vehicles: @@ -33,6 +36,9 @@ {{ $winner_count_result }} + + {{ $vehicle_count_result }} +