@extends('admin.layouts.app') @section('page-title', 'Dashboard') @section('content')
Admin Dashboard
Monitor operations and manage system
📦
Total Shipments
1,247
👥
Active Customers
342
💰
Total Revenue
₹123
Pending Order
23
📦
Total Orders
453
🧑‍💼
Total Staff
125
📦
Total Items
321
Inactive Customers
10
Order Management
New Order Form
{{-- FORM START --}}
@csrf
{{-- MARK NO --}}
@if(session('temp_order_items')) {{-- Mark No locked, cannot be changed --}} {{-- Hidden field to submit mark_no --}} @else {{-- Normal selectable dropdown --}} @endif
{{-- ORIGIN --}}
{{-- DESTINATION --}}

{{-- ITEM INPUTS --}}
Add Item
{{-- FORM END --}} {{-- RESET ORDER BUTTON --}} @if(session('temp_order_items'))
@csrf
@endif {{-- TEMPORARY ITEMS TABLE --}} @if(session('temp_order_items') && count(session('temp_order_items')) > 0)
Temporary Items
@foreach(session('temp_order_items') as $index => $item) @endforeach
# Description CTN QTY TTL/QTY Unit Price TTL Amount CBM TTL CBM KG TTL KG Shop No Remove
{{ $index + 1 }} {{ $item['description'] }} {{ $item['ctn'] }} {{ $item['qty'] }} {{ $item['ttl_qty'] }} {{ $item['unit'] }} {{ $item['price'] }} {{ $item['ttl_amount'] }} {{ $item['cbm'] }} {{ $item['ttl_cbm'] }} {{ $item['kg'] }} {{ $item['ttl_kg'] }} {{ $item['shop_no'] }}
@csrf
@csrf
@endif
Recent Orders
@forelse($orders as $order) @empty @endforelse
# Order ID Mark No Origin Destination Total CTN Total QTY Total TTL/QTY Total Amount (₹) Total CBM Total TTL CBM Total KG Total TTL KG Status Date Action
{{ $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
No orders found
{{-- JS: LOCK MARK NO + LOAD ORIGIN/DESTINATION --}} {{-- AUTO OPEN FORM AFTER REDIRECT --}} @endsection