updates to controllers for moon requests:

This commit is contained in:
2020-02-26 21:09:09 -06:00
parent 4652e293b1
commit 94adec97b2

View File

@@ -143,6 +143,8 @@ class MoonsController extends Controller
'Moon' => $request->moon,
])->get();
dd($future);
if($future->Available != 'Available') {
return redirect('/moons/display/request')->with('error', 'The moon has already been reserved by another party.');
}