The problem
Fire safety checks can be exported for CQC, but only as PDF. Inspectors and managers sometimes want the raw data — a CSV export mirrors what we're adding for the visitor log in #3.
What to build
An Export CSV button on the fire safety log (manager + readonly roles) that downloads checks for a chosen date range: check type, date/time, result, notes, recorded by.
Where to look
frontend/src/components/fire/ — fire safety UI
backend/routes/fire.js — add the export endpoint (server-side role check!)
Acceptance criteria
Tip: if #3 (visitor log CSV) lands first, follow its pattern — or grab this one and set the pattern yourself. Comment to claim it.
The problem
Fire safety checks can be exported for CQC, but only as PDF. Inspectors and managers sometimes want the raw data — a CSV export mirrors what we're adding for the visitor log in #3.
What to build
An Export CSV button on the fire safety log (manager + readonly roles) that downloads checks for a chosen date range: check type, date/time, result, notes, recorded by.
Where to look
frontend/src/components/fire/— fire safety UIbackend/routes/fire.js— add the export endpoint (server-side role check!)Acceptance criteria
Tip: if #3 (visitor log CSV) lands first, follow its pattern — or grab this one and set the pattern yourself. Comment to claim it.