From 5cc9914c3820e7715593dc8614e054bbcdd2ce19 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 26 Apr 2020 05:55:07 -0500 Subject: [PATCH] changed a model around --- app/Http/Controllers/Moons/MoonsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Moons/MoonsController.php b/app/Http/Controllers/Moons/MoonsController.php index 1d7d8a669..5d57001bc 100644 --- a/app/Http/Controllers/Moons/MoonsController.php +++ b/app/Http/Controllers/Moons/MoonsController.php @@ -240,7 +240,7 @@ class MoonsController extends Controller //Setup calls to the MoonCalc class $moonCalc = new MoonCalc(); //get all of the rental moons from the database - $moons = DB::table('Moons')->orderBy('System', 'asc')->get(); + $moons = DB::table('RentalMoons')->orderBy('System', 'asc')->get(); //Set the rental date as last month for moons not rented $lastMonth = Carbon::now()->subMonth(); //Set a variable for today's date