45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
# Next Steps
|
||
|
||
## Completed Phases
|
||
- Phase 0: Project Setup (T001-T003)
|
||
- Phase 1: Auth System (T004-T008)
|
||
- Phase 2: Contacts & Tags (T009-T011)
|
||
- Phase 3: Equipment Catalog (T012-T014)
|
||
- Phase 4: Crew Management (T015-T017)
|
||
- Phase 5: Vehicle Fleet (T018-T020)
|
||
|
||
## Current Phase: 6 – Projects
|
||
|
||
### Completed in Phase 6
|
||
- **T021**: DB-Modelle Project-Hierarchie ✅
|
||
- **T022**: Project CRUD API ✅
|
||
- **T023**: Project List & Detail UI ✅
|
||
|
||
### Priority Tasks
|
||
1. **T024**: Project function group and function editor UI
|
||
- Inside project detail, allow CRUD of function groups and functions
|
||
- Drag-and-drop reordering
|
||
- Time period inheritance from group
|
||
- Amount, rate fields
|
||
- Type: crew, equipment, transport
|
||
- **Estimated**: 14h | **Depends on**: T023 ✅
|
||
|
||
2. **T025**: Create database models for ProjectEquipment and ProjectCrew
|
||
- Models: ProjectEquipmentGroup, ProjectEquipment (quantity, price, discount)
|
||
- ProjectCrew (with function link, crew_id, period)
|
||
- Alembic migration
|
||
- **Depends on**: T021
|
||
|
||
3. **T026**: Implement project equipment group and items API
|
||
4. **T027**: Project equipment management UI
|
||
5. **T028**: Implement crew assignment API
|
||
6. **T029**: Crew assignment UI in project
|
||
7. **T030**: Implement vehicle assignment API and UI
|
||
|
||
## Implementation Notes
|
||
- Use existing patterns from contacts/equipment modules: models → schemas → router → frontend pages
|
||
- All endpoints must use tenant isolation (account_id filter)
|
||
- All endpoints must use RBAC permissions via require_permission dependency
|
||
- Frontend uses existing API client, Zustand for auth, React state for data
|
||
- FunctionGroupEditor.tsx already exists as initial component (from T023)
|