changed a model around

This commit is contained in:
2020-04-26 05:55:07 -05:00
parent 468cfd8810
commit 5cc9914c38

View File

@@ -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