## Orders Sub-Module: Your Guide to Managing Deliveries
### 1. Executive Summary
This guide helps you understand and use the Orders sub-module within the Dispatch Management system. This sub-module is your central hub for managing delivery requests. You can use it to add new orders, update existing ones, assign deliveries to drivers, track order progress, and review order history. The Orders sub-module streamlines your dispatch operations, ensuring efficient and accurate deliveries. You can map merchants with multiple delivery combinations, including single pickup–single delivery, multiple pickup–single delivery, single pickup–multiple delivery, and multiple pickup–multiple delivery.
### 2. Introduction
Are you struggling to keep track of your delivery orders? Do you need a better way to assign deliveries and monitor their progress? The Orders sub-module addresses these pain points by providing a user-friendly interface for managing all aspects of your dispatch operations.
**Purpose:** This guide will walk you through the Orders sub-module, explaining its features and how they can benefit you. We'll focus on practical examples and step-by-step instructions to help you get the most out of this tool.
**Key Terms:**
*   **Order:** A request for delivery or dispatch of goods.
*   **Dispatch:** The process of sending out an order for delivery.
*   **Merchant:** A business or individual providing goods for delivery.
*   **Driver:** The person responsible for delivering the order.
*   **Vehicle:** The mode of transportation used for delivery.
### 3. Main Content (User-Focused Sections)
#### What This Means for You
*   **Efficient Order Management:** Easily create, update, and track delivery orders in one place.
*   **Improved Dispatch Operations:** Streamline the process of assigning orders to drivers and vehicles.
*   **Enhanced Visibility:** Monitor the progress of deliveries in real-time.
*   **Better Decision-Making:** Access historical data to identify trends and optimize your delivery operations.
*   **Add/Edit Merchants:** Map merchants with multiple delivery combinations, including single pickup–single delivery, multiple pickup–single delivery, single pickup–multiple delivery, and multiple pickup–multiple delivery.
#### How It Works
The Orders sub-module provides a centralized system for managing your deliveries, following this workflow.
**Order Management Workflow**
```mermaid
graph LR
    A[Start: New Order Request] --> B(Add Order Details);
    B --> C{Is Driver and Vehicle Available?};
    C -- Yes --> D(Assign Order to Driver and Vehicle);
    C -- No --> E(Set Order to Pending);
    D --> F(Monitor Delivery Progress);
    F --> G{Delivery Completed?};
    G -- Yes --> H(Mark Order as Delivered);
    G -- No --> I(Address Delivery Issues);
    H --> J[End: Order Completed];
    I --> F;
    E --> D
Getting Started
- Navigate to the Dispatch Management module.
 - Click on the "Orders" sub-module.
 - View existing orders, or Click "+Add Order" to create a new one.
 - Fill in the required order details.
 - Assign the order to a driver and vehicle.
 - Monitor the order's progress.
 
Key Features You'll Use
- Add Order: Create new delivery requests, adding details such as order date and time, vehicle type, package size, drop details, and merchant information.
 - Edit Order: Modify existing order details to update delivery information or reassign drivers.
 - Delete Order: Remove orders that are no longer needed.
 - Assign Trip: Assign orders to specific drivers and vehicles.
 - View Order: Check the current status and details of an order.
 - Order History: Review past orders and their outcomes.
 - Search: Quickly find orders by customer name, phone number, or order number.
 - +Add Order: Both the admin and vehicle Attendant can create a new order in the Dispatch Order module by clicking the "Add Order" button under the Order sub-module.
 - Customer Search: Check to see if the customer has provided all necessary details for delivery.
 - Bulk Import: Upload multiple orders at once using an Excel template.
 - Map View: Track orders in real-time using a map interface.
 - Reassign Driver: Change the driver assigned to an order if needed.
 - Filters: Sort orders based on their status (e.g., pending, in progress, history).
 - Export Data: Download order data in CSV or Excel format for analysis.
 - Add Merchant Add a new merchant and map delivery details such as single pickup – single delivery, multiple pickup – single delivery, single pickup – multiple delivery, and multiple pickup – multiple delivery.
 - Delete Order: User can delete the order by clicking on the delete button for an order
 - Customer Search: In the Orders submenu of the Dispatch Management module, access the Orders page and utilize the search bar to quickly locate the order by entering the customer's name or phone number.
 
Common Scenarios
- Creating a New Order: You can create a new order in the Dispatch Order module by clicking the "Add Order" button under the Order sub-module.
 - Assigning an Order to a Driver: To assign an order to a driver, follow these steps:Navigate to the "Orders" submodule under the Dispatch Management module.Locate the desired order from the list of already created orders.In the Actions column, click on "Assign Trip" for that order.An "Assign Order" popup will appear.From the popup, select the appropriate Vehicle and Driver, then click Assign to complete the process successfully.
 - Updating an Order's Delivery Address: To change the delivery address, go to the Orders page in the Dispatch Management module, select Edit for the order, update the delivery address fields, and save the changes.
 - Reassigning a Driver to an Order: You can reassign a driver by navigating to the Dispatch Management module, selecting the Orders submenu, opening the Orders page, clicking on InProgress, and then selecting Reassign Driver in the Action column.
 - Cancelling an Order: Navigate to the “Orders” submenu.Find the specific order.Select “Delete” in the action column to cancel the order.Notify the customer of the cancellation.
 - Tracking an Order in Real-Time: You can check your order history by navigating to the Dispatch Management module, clicking on the Orders submenu, opening the Orders page, and selecting the History option. This will display a list of your past orders, along with filter and search features for easy access.
 
What to Expect
- Easy Navigation: The Orders sub-module is designed for intuitive use, with clear menus and straightforward workflows.
 - Real-Time Updates: You'll see immediate updates on order status and driver locations.
 - Improved Accuracy: The system helps minimize errors by providing clear data entry fields and validation checks.
 - Increased Efficiency: By streamlining your dispatch operations, you'll save time and resources.
 
4. Visual Elements & Supporting Information
Screenshot 1: DispatchManagement_Orders_MerchantDetails_Submit
This screenshot shows the merchant details submission page.
Table 1: Merchant Details Submission Fields
| Section | Mandatory | Field Type | Data Type | Field Size | Is Editable | Description | 
|---|---|---|---|---|---|---|
| User ID | Yes | Text | String | 20 | No | Unique identifier for the user. | 
| Yes | Text | String | 50 | Yes | User's email address. | |
| Password | Yes | Password | String | 20 | Yes | User's password for login. | 
| Merchant Name | Yes | Text | String | 100 | Yes | Name of the merchant. | 
| Address | Yes | Text | String | 255 | Yes | Physical address of the merchant. | 
| Contact Number | Yes | Text | String | 20 | Yes | Phone number of the merchant. | 
| Customer Name | Yes | Text | String | 100 | Yes | Name of the customer. | 
| Delivery Address | Yes | Text | String | 255 | Yes | Delivery address for the order. | 
| Order Number | Yes | Text | String | 50 | Yes | Unique number of the order. | 
| Order Date | Yes | Date | Date | N/A | Yes | Date when the order was placed. | 
| Total Amount | Yes | Number | Decimal | N/A | Yes | Total cost of the order. | 
| Payment Status | Yes | Dropdown | String | N/A | Yes | Current payment status of the order. | 
Screenshot 2: DispatchManagement_Orders_OrderPage_View
This screenshot shows the main Orders page, where you can view and manage existing orders.
Table 2: Order Details Fields
| Section | Mandatory | Field Type | Data Type | Field Size | Is Editable | Description | 
|---|---|---|---|---|---|---|
| Order Number | Yes | Text | String | 50 | No | Unique number assigned to the order. | 
| Customer Name | Yes | Text | String | 100 | No | Name of the customer who placed the order. | 
| Delivery Address | Yes | Text | String | 255 | No | Address where the order needs to be delivered. | 
| Order Date | Yes | Date | Date | N/A | No | Date when the order was placed. | 
| Status | Yes | Dropdown | String | N/A | Yes | Current status of the order (e.g., Pending, In Progress, Delivered). | 
| Actions | N/A | Buttons | N/A | N/A | N/A | Buttons to View, Edit, Delete, or Assign the order. | 
Screenshot 3: DispatchManagement_Orders_EditOrderUpdate_View
This screenshot shows the page for editing and updating order details.
Table 3: Edit Order Details Fields
| Section | Mandatory | Field Type | Data Type | Field Size | Is Editable | Description | 
|---|---|---|---|---|---|---|
| Order Number | Yes | Text | String | 50 | No | Unique number assigned to the order. | 
| Customer Name | Yes | Text | String | 100 | Yes | Name of the customer who placed the order. | 
| Delivery Address | Yes | Text | String | 255 | Yes | Address where the order needs to be delivered. | 
| Order Date | Yes | Date | Date | N/A | Yes | Date when the order was placed. | 
| Status | Yes | Dropdown | String | N/A | Yes | Current status of the order. | 
| Driver | Yes | Dropdown | String | N/A | Yes | Assigned driver for the order. | 
| Vehicle | Yes | Dropdown | String | N/A | Yes | Assigned vehicle for the order. | 
Screenshot 4: DispatchManagement_Orders_DeleteOrder_View
This screenshot shows the page for deleting an order.
Table 4: Delete Order Fields
| Section | Mandatory | Field Type | Data Type | Field Size | Is Editable | Description | 
|---|---|---|---|---|---|---|
| Order Number | Yes | Text | String | 50 | No | Unique number assigned to the order being deleted. | 
| Customer Name | Yes | Text | String | 100 | No | Name of the customer associated with the order. | 
| Delivery Address | Yes | Text | String | 255 | No | Delivery address for the order being deleted. | 
| Order Date | Yes | Date | Date | N/A | No | Date when the order was placed. | 
| Status | Yes | Dropdown | String | N/A | No | Current status of the order. | 
| Delete Button | N/A | Button | N/A | N/A | N/A | Button to confirm and delete the order. | 
Screenshot 5: DispatchManagement_Orders_DeleteOrder_Select
This screenshot shows the page for selecting an order to delete.
Table 5: Select Order for Delete Fields
| Section | Mandatory | Field Type | Data Type | Field Size | Is Editable | Description | 
|---|---|---|---|---|---|---|
| Order Number | Yes | Text | String | 50 | No | Unique number assigned to the order being selected for deletion. | 
| Customer Name | Yes | Text | String | 100 | No | Name of the customer associated with the order. | 
| Delivery Address | Yes | Text | String | 255 | No | Delivery address for the order selected for deletion. | 
| Order Date | Yes | Date | Date | N/A | No | Date when the order was placed. | 
| Status | Yes | Dropdown | String | N/A | No | Current status of the order. | 
| Select Checkbox | N/A | Checkbox | Boolean | N/A | N/A | Checkbox to select the order for deletion. | 
5. Summary & Benefits
The Orders sub-module is a powerful tool for managing your dispatch operations efficiently and accurately. By using its features, you can:
- Save Time: Streamline order creation, assignment, and tracking.
 - Reduce Errors: Minimize manual data entry and improve data accuracy.
 - Improve Customer Satisfaction: Ensure timely and accurate deliveries.
 - Gain Insights: Analyze historical data to optimize your delivery processes.
 - Successfully add a new order
 - Easily track payment status
 
By following this guide, you'll be well-equipped to leverage the Orders sub-module to achieve your delivery goals and improve your overall dispatch operations.