flex structure form
This commit is contained in:
@@ -276,7 +276,7 @@ class MoonsAdminController extends Controller
|
|||||||
|
|
||||||
//Create the rental end date
|
//Create the rental end date
|
||||||
if(isset($request->rental_end)) {
|
if(isset($request->rental_end)) {
|
||||||
$rentalEnd = new Carbon($request->date . '00:00:01');
|
$rentalEnd = new Carbon($request->rental_end . '00:00:01');
|
||||||
} else {
|
} else {
|
||||||
$rentalEnd = Carbon::now();
|
$rentalEnd = Carbon::now();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user