name('password.request');
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
Route::get('/old-invoices', function(){
$bookings = \App\Booking::select('id')->where('status', 6)->whereHas('invoice', function($q){
$q->whereNotNull('invoice_path');
})->get();
foreach ($bookings as $booking) {
echo "".$booking->id."
";
}
})->name('home');
Route::group(['middleware' => ['role:admin']], function() {
Route::get('bulkBookings', function () {
return view('booking.bulkBooking');
})->name('booking.bulk.form');
Route::post('/bulkBookings', 'BulkBookingController@index')->name('booking.bulk');
});
Route::get('{path}', 'WelcomeController@index')->where('path', '(.*)');
Auth::routes();
//Route::get('/home', 'WelcomeController@index')->name('home');