moon reservations
This commit is contained in:
@@ -144,13 +144,10 @@ class MoonsController extends Controller
|
||||
'Moon' => $request->moon,
|
||||
])->first();
|
||||
|
||||
dd($future);
|
||||
|
||||
if($future->Availability != 'Available') {
|
||||
return redirect('/moons/display/request')->with('error', 'The moon has already been reserved by another party.');
|
||||
}
|
||||
|
||||
|
||||
//Create the new object to save into the database
|
||||
$moonRequest = new AllianceMoonRequest;
|
||||
$moonRequest->region = $region;
|
||||
|
||||
Reference in New Issue
Block a user