Projects
Projects lists every project you can see, as a list or as cards. Opening a project shows its task board, arranged by stage.
Project → Projects lists projects as a list or as cards, switched with the two icons next to the search box. You see every project if you hold project.view_project. Otherwise you see the projects you manage, and the projects where you manage or belong to a task.

The Projects list: every project, filterable by status with one click.
The Create Project form asks for a Name, Project Managers, a Status (New by default), a Start Date and End Date (both start filled with today's date), a Project File, and a required Description, with Save and Save And Add Another buttons. Name, Status, Start Date, and Description are required. The name must be unique within a company. When projects of every company are shown together, a Company column and field appear. With a single company selected, new projects go to that company automatically, and managers can only be picked from it.

Creating a project.
The statuses are New (the default), In Progress, Completed, On Hold, Cancelled, and Expired. A row of coloured status dots filters the list with one click.
The project list
The columns are Name, Project Managers ("None" when there are none), Status, Start Date, End Date, Project File (a View button when a file is attached), Description, and Actions. A coloured stripe at the start of each row shows its status, and a Select button picks rows for the Actions menu. The toolbar has a search box (by name), the list / card switch, Filter, Actions, and Create.
- Filter opens a Filter Projects panel from the right, with a "Find a filter" box. Under Project it has Name or Badge ID (for managers, for example "John, PEP01, PEP02"), Project Managers, Status, and Active (the archived toggle). Under Advanced it has Start From and End Till, and there is a Group By section, with Clear all and Apply at the bottom. Two more filters, an end-from date and Overdue (projects past their end date that are not Completed, Cancelled or Expired), exist but are only set by links, such as the Dashboard's Projects Ending Soon card.
- Group by offers Status and Archived. The nested grouping also offers Name, dates, and Company.
- Create needs
project.add_project. Edit opens an Update Project form with the same fields, showing the current file under Change with a cross to remove it, and only a Save button. The Actions menu, for users withproject.view_project, holds Import, Export (for users with export access), Archive, Un-archive, and Delete for the selected rows.

Editing a project. The current file shows under Change, with a cross to remove it.
- Archive hides a project from the normal lists, and Un-archive brings it back. You can only archive projects you manage, and the rest of a selection is skipped. With rows selected, the Select button turns into Unselect (2), and choosing Archive from Actions asks "Do you really want to archive all the selected projects?" with OK and Cancel.
- Row buttons appear in the list only for superusers. The first, a bar-chart button, opens the Timesheet page filtered to that project. Then come Edit, Archive, and Delete. Edit is enabled for
project.change_projector the project's managers, Archive (or Un-Archive) forproject.delete_projector its managers, and Delete only forproject.delete_project. In the card view, the same three actions appear in each card's menu for the project's own managers and superusers.
Clicking a project opens its task board (below) if you manage it, manage or belong to one of its tasks, or hold project.view_project. Note that the board itself then needs project.change_project or one of the manager or task roles, so a user who holds only project.view_project can click through and be told they have no permission.
In the card view each project is a card with its initials, its name preceded by a badge showing how many tasks it holds, its Status, Start date, and End date, a coloured stripe for its status, and a menu. The same status buttons sit above the cards and filter them.

The same projects as cards, a quick-glance layout.
Things worth knowing about projects
- Creating a project adds one stage, titled "Todo". There is no "Done" stage seeded alongside it.
- A project whose end date has passed becomes Expired when it is saved, not on a schedule. There is no background job that expires projects. A project whose end date quietly lapses keeps its status until someone next saves it.
- An end date before the start date is rejected. The error currently appears under the Project File field rather than under End Date, so if saving fails with an unexpected message there, check the dates.
- Bulk delete does not delete anything yet. It reports "N project(s) deleted successfully" and correctly skips projects you do not manage, but the deletion itself is not carried out. Deleting one project at a time from the row or card menu works normally.
- Editing and deleting need more than the permission. Editing a project is allowed for its managers, for anyone who manages or belongs to one of its tasks, and for
project.change_project. Deleting or archiving is narrower: only that project's managers or a superuser. Holdingproject.delete_projectalone is not enough.
Import and export
- Import (needs
project.add_project) loads projects from a CSV or Excel file. Download the template first. The columns are Title, Manager Badge ID (several, comma-separated), Status, Start Date, End Date, Description, and Company. Title, Status, Start Date, and Description are required. A title that already exists in the same company updates that project instead of creating a new one. Rows that fail are returned in a file with an error column that says what was wrong, and the valid rows are still saved. The Import Project pop-up has a drop zone ("Upload a File: Drag and drop files here", accepting.xlsx,.xls, and.csv), a Download Template button ("Fill in the template and upload it here") that first asks "Do you want to download the template?", and an Upload button. - Export writes Title, Managers, Status, Start Date, End Date, and Description to Excel, for the selected rows or for every project.
On the employee profile
The employee profile has a Projects tab, visible to the employee themselves, their reporting manager, and anyone with project.view_project. It lists the projects the employee manages or belongs to.
A project's task board
Opening a project shows its task board. A header card holds the project's name and description, a Status dropdown and an edit (pencil) button at the right, and underneath the Start Date, the End Date (with a red marker once it has passed), and the Managers ("No managers assigned" when none). Below it, a Tasks section has a search box ("Search by Task Name"), a list / card switch, Filter, and a + Stage button, and shows the project's tasks arranged by Stage, as cards or as a list. The board needs project.change_project, or being a manager of the project, or managing or belonging to one of its tasks.

A project's own task board: a kanban scoped to just this project, arranged by stage.
- Status can be changed from the dropdown at the top by the project's managers, or by task managers and members of the project. Everyone who manages the project or belongs to any of its tasks is notified of the change.
- + Stage adds a column. Stage titles must be unique within the project, and stages can be edited, deleted, and dragged into a new order. Each stage header shows its task count, a folder icon that folds or unfolds the column, a + to add a task, and a menu with Edit and Delete for the project's managers.
- Each task card shows its title, the Assignees ("Unassigned" when none), the End Date with an overdue tag such as "Overdue by 111 days", the Managers, and a Status dropdown that changes the task's status in place. A card's own menu has Edit and Delete, and clicking the card opens its details.
- Add Task in the list view opens the full Create Task form for that stage. It has no Project or Stage field, since both are already chosen, and asks for the Title, Task Managers, Task Members, Status, dates, Allocated Hours, Task File, and Description. In the list view each stage row also has a collapse arrow and a menu.

Creating a task from a stage. Project and Stage are already chosen.
- Add task (the + on a stage in the card view) creates a task in that stage with a title and its task managers, and the end date is set to the project's end date. It is allowed for the project's managers and users with
project.add_task. The full task form is on the Tasks page. - Tasks can be dragged between stages and reordered within a stage. In the list view each task row has a Status dropdown and a Stage dropdown, so both can be changed in place, along with Edit and Delete buttons. Long stages load more cards as you scroll, or page by page in the list.
- The Create Project Stage form has a Title and an End Stage switch, with Save and Save And Add Another buttons.

Adding a stage to a project.
- A stage can be marked the project's end stage, and only one stage per project can be. Beyond that check, the flag does nothing: it does not complete the project or colour the column.
- A stage that holds tasks cannot be deleted. Move or delete its tasks first.
- Moving a task is blocked once its own end date has passed ("Cannot update status. Task has already expired."). Edit the end date forward first. This applies to dragging, to the stage dropdown, and to the status dropdown on the board.
Creating and deleting stages is limited to the project's managers and superusers. Editing a stage, and reordering stages, is also open to anyone who manages or belongs to a task in the project.
