# Implementation Tasks ## Backend - [x] Create `actuals` database migration with project_id, team_member_id, month, hours_logged - [x] Create `Actual` model with relationships to Project and TeamMember - [x] Create `ActualFactory` for testing - [x] Create `ActualsService` with variance calculation logic - [x] Create `ActualController` with CRUD operations - [x] `index` - Cartesian grid with filters and pagination - [x] `store` - Create/append hours with validation - [x] `show` - Get single actual with variance - [x] `update` - Update hours (replace mode) - [x] `destroy` - Delete actual - [x] Add `actuals` API resource route - [x] Create `ActualResource` for response formatting - [x] Add notes field to actuals table (migration) - [x] Create `config/actuals.php` for feature flags - [x] Add inactive project status validation - [x] Add future month validation ## Frontend - [x] Create `actuals.ts` types (Actual, ActualGridItem, requests, responses) - [x] Create `actualsService.ts` with API methods - [x] Create `/actuals` page with grid layout - [x] Implement month navigation (prev/next buttons) - [x] Implement project filter (MultiSelect) - [x] Implement team member filter (MultiSelect) - [x] Implement include inactive toggle - [x] Implement search functionality - [x] Implement pagination component - [x] Create logging modal for hour entry - [x] Implement additive hour logging - [x] Implement notes field in modal - [x] Implement delete functionality - [x] Display variance indicators with colors - [x] Handle untracked column (team_member_id = null) - [x] Style read-only cells for completed projects - [x] Add "Actuals" to navigation menu ## Testing - [x] Add e2e test for actuals page navigation - [x] Add unit test for team member constraint with actuals - [x] Create `ActualFactory` for test data generation ## Documentation - [x] Create proposal documenting the change - [x] Create specs for actuals-grid capability - [x] Create specs for actuals-logging capability - [x] Create specs for actuals-variance capability - [x] Create design document with architecture decisions