Warehouse
Register your depots and parking locations, see which vehicles are in each one, and keep their hours up to date.
Warehouse is the list of your depots and parking locations. For each one you record the address, how many vehicles it can hold, who manages it and when it is open. The page also shows how full each warehouse is and which vehicles are parked in it.
Navigation: Fleet > Warehouse
Your role needs the warehouse permission to open the page; without it you see an Access Denied page.
The Warehouse List
The page title is Warehouse Management. You can show the warehouses as a table (List View, the default) or as cards (Grid View). The two small buttons at the right of the toolbar switch between them.

At the top right, Import opens the bulk import and Create New opens the Add Warehouse form.
List view columns
| Column | Description |
|---|---|
| Warehouse | The name, with the photo (or a warehouse icon) and the city |
| Capacity | Vehicles in the warehouse over its capacity (for example 3 / 35) and the percentage used |
| Vehicles | How many vehicles are in the warehouse |
| Manager | The manager's name and phone |
| Operating Hours (Day / Time) | The days it is open, with the opening and closing time |
| Operational Status | Active or Inactive |
| Action | The "..." menu of the row |
The newest warehouse is listed first.
Grid view
Each card shows the photo, the name and status, the address, the capacity, the operating days and hours, the manager and the number of vehicles. View Detail opens the warehouse page and the "..." button offers Edit Warehouse and Delete. The grid shows 12 cards per page.

Tabs, search and filters
The tabs All Warehouses, Active and Inactive filter by status.

The search box (Search warehouses...) finds a warehouse by its name, address, city or manager.
Filter opens a panel:
| Filter | Description |
|---|---|
| Status | All Status, Active or Inactive |
| Operating Days | Start Day and End Day (Sunday to Saturday). A warehouse is kept when its days start and end on the days you pick |
| Operating Hours | Start Time and End Time. A warehouse is kept when its opening and closing time are the ones you pick |
Apply closes the panel and keeps the filters; Reset clears them.

Choosing the columns
In list view, View opens Show Columns. Untick a column to hide it.

Adding a Warehouse
Click Create New.

| Section | Field | Required | Notes |
|---|---|---|---|
| Warehouse Information | Warehouse Name | Yes | |
| Vehicle Capacity (vehicles) | Yes | How many vehicles fit. Cannot be negative | |
| Manager | No | Choose from the list of managers | |
| Address | Yes | Full address | |
| Operating Hours | Start Day | Yes | Sunday to Saturday |
| End Day | Yes | Must not be before the start day | |
| Start Time | Yes | Hour and minute with AM / PM | |
| End Time | Yes | Hour and minute with AM / PM | |
| Warehouse Image | Photos | No | Click the box to upload PNG, JPG or JPEG images |
The Warehouse Image box at the bottom of the form takes PNG, JPG or JPEG photos:

A filled form:

Click Save. If something is missing, a message Please fill in all required fields correctly. appears and each field shows its error ("Warehouse name is required", "Address is required", "Start day is required", "End day is required", "Start time is required", "End time is required", or "End day must be after or equal to start day").

A new warehouse is always created as Active. Back leaves the form without saving.
Viewing a Warehouse
Open the "..." menu of a row and choose View Details (or click View Detail on a card).

At the top you see the photo, the name, the status badge and the address. The pencil button edits the warehouse and the red bin button deletes it. Below, three cards show the Vehicle Capacity (vehicles in the warehouse over the capacity), the Manager and the Operating Hours.
The Vehicle List shows the vehicles of the warehouse as a table or as cards. The table has the columns Name (model and plate), Service Type / Seat, Next Maintenance (kilometres with a progress bar), Mulkiya Expiry, Insurance Expiry, Operational Status and Action. You can search by plate number, and Filter by Status (Available, On Trip, Maintenance, Inactive, Unavailable), Model and Service Type. Add Vehicle opens the new vehicle form, and the "..." menu of a vehicle opens it or edits it.
A vehicle is placed in a warehouse in the Warehouse field of the vehicle form (Fleet > Vehicles). The warehouse page only lists the vehicles that point to it.
Editing a Warehouse
Open the "..." menu and choose Edit Warehouse (or the pencil button on the warehouse page). The form is the same as the Add form, with two extra things in a Status section: an Active switch and a Notes field.


When the edit form opens, the name, capacity, address, times and notes are filled in, but the Start Day, End Day and Manager boxes show their placeholders ("Select start day", "Select end day", "Select manager"). Choose the days again before you click Update, or the form stops with "Start day is required".
Turn Active off to make the warehouse Inactive (it then shows in the Inactive tab). Click Update to save. Back leaves the form without saving.
Deleting a Warehouse
Open the "..." menu of the row and choose Delete (or use the red bin button on the warehouse page). The dialog Delete this warehouse permanently? names the warehouse. Type delete in the box to enable the Delete button, then click it. A message Warehouse deleted successfully confirms it.

Row Actions

| Action | Result |
|---|---|
| View Details | Opens the warehouse page |
| Edit Warehouse | Opens the edit form |
| Delete | Opens the delete confirmation |
Importing Warehouses
Use Import to load many warehouses from an Excel file. The page has two tabs, Import and History, and three steps.

Step 1: Download Template
- Download Template gives you an empty Excel file with the right columns.
- Download Sample gives you a file with example rows.
The columns name and address are required. These are optional: capacity, manager, start_day, end_day, start_time and end_time.
Step 2: Upload & Validate
Drop your file in the Upload File box, or click it to browse. Only .xlsx or .xls files are accepted. Each row is checked before anything is created.

Step 3: Preview & Import
The page shows Total, Valid and Invalid counts and a table with the name, capacity, manager, address, days and times of each row. Rows with a problem show their error. Untick a row to leave it out, then click the import button.

A progress screen follows. When it ends you see how many rows succeeded, and Download Failed Rows gives you an Excel file with the rows that failed. The History tab lists every file you validated or imported.
Import the warehouses before the vehicles, so that the vehicles you import afterwards can be placed in them.