> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mileapp.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Route Permission

This user manual will guide you through the various permissions and actions available within the application.

## Vehicle

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/71d2bd61-8928-48d5-bce3-a82c060ccb9a/image.png" alt="image" width="600" />
</div>

The Vehicle menu allows you to manage vehicle data that is used in the routing optimization process.

1. **View Vehicle**: This permission allows you to view the list of vehicles currently registered in the system.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/aeeb19b6-b855-453a-9e91-9cbb88fee645/image.png" alt="image" width="600" />
</div>

2. **Add Vehicle**: With this permission, you can add a new vehicle to the system. You will need to fill in the necessary data, such as the vehicle name, working time, tags, and any other relevant information.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/f45f6a90-3609-43e5-bc47-89946b1a29d5/image.png" alt="image" width="600" />
</div>

3. **Edit Vehicle**: This permission enables you to edit the details of a vehicle, such as its name, working time, or any other associated information.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/6618061f-de97-4437-a451-c0fd1d900c7f/image.png" alt="image" width="600" />
</div>

4. **Delete Vehicle**: With this permission, you can delete a vehicle from the system. You will find a trash icon next to each vehicle, as well as a "Delete All" button to remove all vehicles.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/5d932c15-cd31-42d4-a232-6b3b0c46f02d/image.png" alt="image" width="600" />
</div>

## Result

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/09ff0640-8000-4e5a-980c-7bb010cd9397/image.png" alt="image" width="600" />
</div>

The Result menu provides access to view and manage the results of the route optimization process.

1. **View Result**: This permission allows you to view the results of the route optimization, displaying the optimized routes for the assigned vehicles.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/e8acb966-e4b7-4b69-b6cb-2cea4e43271a/image.png" alt="image" width="600" />
</div>

2. **Edit Result**: With this permission, you can edit the details of the optimization results. This includes actions such as renaming the result, changing the assigned vehicles for specific visits, or moving visits to different vehicles.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/c801b66a-5aa4-4734-b424-3d86ecc20d10/image.png" alt="image" width="600" />
</div>

3. **Delete Result**: This permission enables you to delete a route optimization result from the system.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/5af2127e-2bef-4011-a69e-b71a065ba811/image.png" alt="image" width="600" />
</div>

4. **Dispatch Result**: The "Dispatch Result" permission lets you to designate specific roles with the authority to dispatch routing results. This essential feature facilitates the allocation of visits to designated assignees through a seamless dispatch process. Once dispatched, the assigned tasks can be conveniently monitored and managed in the Task menu.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/ea1894d3-d8ce-421d-b4fc-4fc679c8d31d/image.png" alt="image" width="600" />
</div>

5. **Route Optimization**: With this permission, you can initiate the route optimization process by clicking on the "Optimize" button. This action will optimize the routes based on the given parameters and configurations.

## Configuration

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/3e7bb8b5-d60c-4990-9a51-3671ef94cac1/image.png" alt="image" width="600" />
</div>

The Configuration menu provides access to the settings and configurations for routing optimization.

1. **View Configuration**: This permission allows you to view the current routing configuration, including default visit time, default speed, multitrip options, return to base options, clustering options, and other relevant configurations.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/3b18df25-1d62-4044-bc3f-7b2c99822945/image.png" alt="image" width="600" />
</div>

2. **Edit Configuration**: With this permission, you can modify the routing configuration based on your specific requirements. You can change default visit time, default speed, multitrip options, return to base options, clustering options, and other relevant configurations.

3. **Edit Constraint**: This permission enables you to manage capacity constraints within the routing optimization. You can add new constraints, edit existing ones, or delete constraints as needed.

<div align="center">
  <img src="https://t3837933.p.clickup-attachments.com/t3837933/e5b37ea0-eb89-490b-a785-146b55a28c4e/image.png" alt="image" width="600" />
</div>
