An enterprise-grade care-agency operations platform that unifies carers, clients, rotas, attendance, payroll/UTR, and council + private invoicing in one secure portal - with sheet imports, PDF/ZIP exports, and branded email delivery.
Rota Management: Care Agency Operations Portal by ZevIQ AI
Tech: React 18, Vite, Tailwind CSS, React Router 6, Zustand, Axios, React Hook Form + Zod, TanStack Table, Lucide Icons, Node.js (Express), MySQL 8, JWT (Access + Refresh), bcrypt / Helmet / CORS, SheetJS (xlsx), Mammoth (DOCX), Multer, PDFKit, Puppeteer-core + Chromium, Nodemailer (SMTP), Archiver (ZIP), PM2 + Nginx, Let’s Encrypt SSL
Case study
About This Project
Rota Management is a secure operations portal for UK care agencies, branded Rota Management by ZevIQ AI. It replaces fragmented spreadsheets and disconnected tools with one login that covers employees, clients, care staff rotas, attendance, payroll periods/payslips, UTR remittance advice, and both council and private (P) invoices.
Office staff work through role-based modules; linked carers get a focused self-service view (My Visits, optional payslips). Spreadsheet-driven agencies can ingest Care Staff Rota, Payroll Period, Employees, Clients, and PC Invoice Data through a guided Import Sheets wizard, then export professional PDFs/ZIPs and email invoices with branded templates.
Core Features
1. Unified Care Operations Portal
Clients, rotas, payroll, attendance, UTR, and private invoices live in one authenticated workspace - not scattered across Excel, email, and separate billing tools.
2. Role-Based Access & Permissions
Admin (system) full access; custom office roles with per-module Read / Create / Update / Delete; Employee/carer self-service when linked to an employee record. Sidebar and APIs enforce the same permission model.
3. Employee Lifecycle Management
Create/edit carers with Employee ID, NI, address, rates, travel rate, job role, optional login credentials, and UTR include toggle for remittance advice generation.
4. Dual Client Model
Clients (council / standard billing) and Private Clients (separate rates, emails, invoice numbers, type of care) - each feeding the correct invoice pipeline.
5. Rota Period Calendar
Named date windows (From/To) that drive Care Staff Rota imports, filters, conflict checks, Tax Period on payslips, and Rota PDF export scope.
6. Care Staff Rota
Import or manage visits with Employee ID, carer/client names, Address, Postal Code, date, week, start/end, minutes/hours. Highlights added/modified rows after re-import; filters overlapping Start/End conflicts for the same carer.
7. Rota PDF Export (Single + Multi)
Select period + one/many/all staff → one PDF per carer; multiple selections download as a ZIP. Columns: First Name, Last Name, Address, Postal Code, Date, Weeks, Start, End, Hours (landscape layout).
8. Import Sheets Wizard
Upload → Select Sheet → Map Columns → Process for Care Staff Rota, Attendance, Payroll Period, Employees, Clients, Private Clients, PC Invoice Data, and Custom. Accepts .xlsx / .xls / .csv / .docx / .pdf. Rota imports validate visit dates against the selected period and can archive/replace period data with change tracking.
9. Attendance from Rota
Auto-builds Present/Absent from active rota days; office can cycle P / A / H / SL / OFF. Re-importing rota refreshes the grid. Linked carers can view My Attendance.
10. Payroll Period → Payslips
Import payroll sheet rows, edit totals (hours/net), then Generate payroll. View/edit payslips, download PDF or multi-payslip ZIP. Staff allowlist can view own slips only.
11. UTR Remittance Advice
For UTR-enabled employees: hours × rate + travel → New / View / Print / PDF remittance advice documents.
12. Council Invoices
Generate from rota hours × client rate; draft/sent status; browser print + Puppeteer PDF; email client via SMTP with branded “Dear Name” style and public invoice logo.
13. Private (P) Invoices
Generate from PC Invoice Data × private client rate; email tracking; PDF; multi-select ZIP download. Shared Invoice Template (prefix, next number, bank/footer, payment details).
14. Demo Booking & Temporary Access
Public landing (Book a Rota demo) with validation; approval flow provisions temporary Admin + Employee demo logins with 3-day access for evaluation.
15. Secure Auth & Profile
JWT access + refresh tokens; bcrypt passwords; Helmet/CORS; Settings / My Profile (admin can change account details; carers limited to avatar where linked).
Platform Summary
| Area | Capability |
|---|---|
| Identity & Access | JWT auth, system Admin, custom CRUD roles, linked carer self-service |
| Workforce | Employees, rates, NI/UTR flags, optional logins |
| Service Users | Standard Clients + Private Clients |
| Scheduling | Rota Periods, Care Staff Rota, conflict filters, Address/Postal Code |
| Imports | SheetJS/Mammoth wizard with column mapping & period validation |
| Attendance | Rota-driven P/A grid + manual status cycle |
| Payroll | Payroll Period import → payslip generate → PDF/ZIP |
| UTR | Remittance Advice PDF for UTR staff |
| Billing | Council invoices + P Invoices, template, email, ZIP |
| Exports | PDFKit (rota/payslips), Puppeteer (invoices/UTR), Archiver ZIP |
| Delivery | Nodemailer SMTP, public logo endpoint, branded email copy |
| Ops | React/Vite SPA, Express /api/v1, MySQL, PM2, Nginx SSL |
How It Works (End-to-End)
- Admin sets Roles, Users, Rota Periods, Invoice Template.
- Import Employees / Clients / Care Staff Rota / Payroll Period / PC Invoice Data as needed.
- Office manages Care Staff Rota & Attendance; exports Rota PDFs.
- Generate payroll from Payroll Period → payslips; UTR for eligible staff.
- Generate Invoices (rota × rate) or P Invoices (PC data × private rate) → PDF / email / ZIP.
- Linked carers see Dashboard + My Visits (and optional My Payslips).
Tagline
Clients, rotas, payroll and private invoices in one secure portal.