diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php
index ab8d9bd..d6f3d01 100644
--- a/resources/views/admin/dashboard.blade.php
+++ b/resources/views/admin/dashboard.blade.php
@@ -4,6 +4,7 @@
@section('content')
@@ -161,211 +390,19 @@ body, .container-fluid { background: #f4f7fc; }
Order Management
-
-
-
-
-
-
| # |
@@ -386,86 +423,306 @@ body, .container-fluid { background: #f4f7fc; }
Action |
-
@forelse($orders as $order)
| {{ $order->id }} |
-
{{ $order->order_id }}
|
-
{{ $order->mark_no }} |
{{ $order->origin }} |
{{ $order->destination }} |
-
{{ $order->ctn }} |
{{ $order->qty }} |
{{ $order->ttl_qty }} |
₹{{ number_format($order->ttl_amount, 2) }} |
-
{{ $order->cbm }} |
{{ $order->ttl_cbm }} |
{{ $order->kg }} |
{{ $order->ttl_kg }} |
-
{{ ucfirst($order->status) }}
|
-
{{ $order->created_at->format('d-m-Y') }} |
-
View
|
-
@empty
| No orders found |
@endforelse
-
-
-
-{{-- JS: LOCK MARK NO + LOAD ORIGIN/DESTINATION --}}
+
+
-
Order Details
+ Order Details
Detailed view of this shipment order
@@ -147,3 +147,4 @@
@endsection
+
diff --git a/routes/web.php b/routes/web.php
index abdae90..565bf32 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -39,7 +39,9 @@ Route::prefix('admin')->middleware('auth:admin')->group(function () {
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');
-
+ Route::get('/admin/orders/{id}/details', [OrderController::class, 'getOrderDetails'])->name('admin.orders.details');
+
+
// ✅ User Requests Controller Routes
@@ -78,6 +80,7 @@ Route::prefix('admin')->middleware('auth:admin')->group(function () {
+<<<<<<< HEAD
Route::get('/shipments', [ShipmentController::class, 'index'])
->name('admin.shipments');
@@ -89,5 +92,7 @@ Route::prefix('admin')->middleware('auth:admin')->group(function () {
Route::get('/shipments/{id}', [ShipmentController::class, 'show'])
->name('admin.shipments.show');
+=======
+>>>>>>> 2c5d19779b747ce1d7f0bc8978d8c417b374849f3b9023bf30ac502d14d9650d
});