π Release Scope: Admin Portal & Staff Portal
π 1. Introduction #
The Route Optimization Module is a powerful delivery management solution designed to bring geographic intelligence into logistics operations.
β¨ It enables:
- Automated route assignment
- Real-time delivery tracking
- Streamlined status workflows for riders & dispatchers
π 2. Module Activation & Security Configurations #
βοΈ Core Activation #
- π Path: Admin Portal β Manage Modules
- π Toggle “Route Optimization Module” β YES
- β Click Activate Module
π₯ Granular Staff Permissions #
π Path: Staff Portal β User Management β Roles β Integrations
π Permission Keys:
- π Route optimization redirect β Show/hide module menu
- πΊοΈ View all order map β Global order visibility
- π¦ View unscheduled orders β Access pending queue
- π View routes β Monitor routes
- β Create routes β Build delivery routes
- βοΈ Edit order status β Update order status
- π Show re-optimize β Recalculate route

π 3. Interactive Route Optimization Module UI #
π Location: Integrations β Route Optimization
β‘ Note: Data loads only when the tab is clicked
πΊοΈ A. All Orders (Map View) #
π Global visualization of delivery load
π Default Filter:
- Assigned to Destination Rider
π― Visual Indicators:
- π΅ Light Blue β Single order
- π· Dark Blue β Clustered orders
π Pop-up Details:
- Waybill Number
- Status
- Customer Name
- Destination City
- Weight
- Rider
π§ Navigation:
- Opens directly in Google Maps
π Pagination:
- Next / Previous for multiple orders


π¦ B. Unscheduled Orders #
π― Main dispatcher workspace
π Eligible Orders:
- Assigned to Destination Rider
- Received by Destination Rider
- Not assigned to a route
π Filters:
- Waybill
- Merchant
- Cities
- Customer
- Weight
- Order Date
- Status Change Date

π οΈ Route Creation Workflow #
1οΈβ£ Select Rider (Mandatory)
2οΈβ£ Select Orders (Checkbox / Bulk)
3οΈβ£ Click Add Route
βοΈ Route Setup:
- Date
- Start Time
- End Time
- Start/End Branch (Auto default)

π C. Routes #
π Route management hub
πͺͺ Route Card Info:
- Route ID
- Rider
- Date
- Parcel Count
- Progress Bar

π Route Status Lifecycle #
- π’ Optimized β Created
- π‘ In Progress β Started
- π΅ Completed β All orders done
π§ 4. Deep-Dive Route Management #
πΊοΈ Geographic Pathing #
β¨ Intelligent sequencing:
- Road-side logic (minimize U-turns)
ποΈ Map Controls:
- Toggle markers
- Toggle route line
- Toggle warehouse locations
π Metrics:
- Distance (KM)
- Total stops
π Re-optimization #
π Trigger when:
- Order added
- Cancelled
- Rescheduled
β‘οΈ Click Re-optimize to recalculate best route

π¦ 5. Status Workflow & Finalization #
β οΈ Mandatory Requirement:
- All orders must be Out for Delivery before finalization
β Final Status Options #
π¬ Delivered #
- βοΈ Successful delivery
- πΈ Upload up to 4 POD images
π¦ Partially Delivered #
- βοΈ Partial completion
- π° Enter adjusted COD
- π Select reason
β Failed to Deliver #
- βοΈ Delivery failed
- π Reason required
π Rescheduled #
- βοΈ Postponed delivery
- π Reason + New Date required


π 6. Returns & Last-Mile Operations #
β¨ New operational actions added:
π¦ Return Reschedules to Destination Warehouse #
- For future delivery processing
π¦ Return Failed Orders to Destination Warehouse #
- For return to the merchant/origin
π― Summary #
This release introduces a fully intelligent routing ecosystem with:
π Automated route planning
π Real-time tracking
π§ Smart optimization
π Dynamic recalculation
π¦ Complete delivery lifecycle control