order list update

This commit is contained in:
Abhishek Mali
2025-11-12 19:44:04 +05:30
parent 47711478a6
commit 5f477c03d0
5 changed files with 162 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ Route::prefix('admin')->middleware('auth:admin')->group(function () {
Route::get('/customers', fn() => view('admin.customers'))->name('admin.customers');
Route::get('/reports', fn() => view('admin.reports'))->name('admin.reports');
Route::get('/chat-support', fn() => view('admin.chat_support'))->name('admin.chat_support');
Route::get('/orders', fn() => view('admin.orders'))->name('admin.orders');
Route::get('/staff', fn() => view('admin.staff'))->name('admin.staff');
Route::get('/account', fn() => view('admin.account'))->name('admin.account');
Route::get('/profile', fn() => view('admin.profile'))->name('admin.profile');
@@ -50,8 +50,9 @@ Route::prefix('admin')->middleware('auth:admin')->group(function () {
Route::get('/mark-list', [AdminMarkListController::class, 'index'])->name('admin.marklist.index');
Route::get('/mark-list/status/{id}', [AdminMarkListController::class, 'toggleStatus'])->name('admin.marklist.toggle');
Route::get('/orders', fn() => view('admin.orders'))->name('admin.orders');
// Orders Controller Routes
Route::get('/orders', [AdminOrderController::class, 'index'])->name('admin.orders.index');
Route::get('/orders/list', [AdminOrderController::class, 'index'])->name('admin.orders.index');
Route::post('/orders/store', [AdminOrderController::class, 'store'])->name('admin.orders.store');
Route::get('/orders/{id}', [AdminOrderController::class, 'show'])->name('admin.orders.show');