@Nakov thanks.
Can you tell me please what version of bootstrap do you use to take this test ?
Maybe I am not using the correct version with laravel 8.
Something is very strange if I use {{ Session::put('status', 'testing') }} and then {{ Session::get('status', 'testing') }} it works because it is in Session like you said, but not working with {{ Session::flush('status', 'testing') }} or with().
I think something is not fine from the beginning of this project, this Is my web.php content
Route::get('/', [FrontendController::class, 'index']);
Route::middleware(['auth'])->group(function () {
Route::get('checkout/{id}', [CheckoutController::class, 'index']);
Route::post('checkout', [CheckoutController::class, 'stripePost'])->name('stripe.post');
Route::get('my-orders', [UserController::class, 'index']);
Route::get('view-order/{id}', [UserController::class, 'view']);
});
Auth::routes();
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::middleware(['auth','isAdmin'])->group(function () {
Route::get('/dashboard', 'Admin\FrontendController@index')->name('dashboard');
Route::get('products', [ProductController::class, 'index']);
Route::get('add-product', [ProductController::class, 'add']);
Route::post('insert-product', [ProductController::class, 'insert']);
Route::get('edit-product/{id}', [ProductController::class, 'edit']);
Route::put('update-product/{id}', [ProductController::class, 'update']);
Route::get('delete-product/{id}', [ProductController::class, 'deleteProd']);
Route::get('orders', [OrderController::class, 'index']);
Route::get('admin/view-order/{id}', [OrderController::class, 'view']);
Route::put('update-order/{id}', [OrderController::class, 'update']);
Route::get('order-history', [OrderController::class, 'orderhistory']);
Route::get('users', [MembersController::class, 'users']);
Route::get('view-user/{id}', [MembersController::class, 'view']);
});
I will publish it on GitHub