Part II · System Docs
Chapter 2 - Functional Modules
Each module: purpose / features / entry points (UI) / routes / models/tables / permissions / status / gaps.
- Authentication — login/register/forgot/reset/verify; routes web auth; controllers Auth\*. AuthMiddleware. Status Verified; gap: social login & 2FA core unresolved.
- Workspaces — CRUD/switch/invites/members. Routes
web.php405-422. Models Workspace/ WorkspaceMember/Invitation. Observers (defaults). Status Verified; gaps per workspace creation method edit/update/leave not present in controller (Route fallback gap).
- Users — user profiles, roles, logs. Controllers UserController, RoleController, PermissionController (controller methods partial). Status Partial (routes requesting unimplemented methods).
- Projects — full lifecycle, milestones/notes/attachments, budget, tasks link. Models Project*. Controllers 5. Status Verified.
- Tasks — Kanban + stage, comments, checklist, files, templates, approvals governance. Controllers 6. Status Verified (multi-assign aware but fillable gap).
- Bugs — statuses/custom flow, attachments/comments, severity. Controllers 3. Status Verified.
- Timesheets — manual/live timer/approvals/reports/entries. Models Timesheet/Entries/Approval. Controllers 5. Status Verified.
- Budgets — Project budgets & reports (dashboard, categories, revisions, recurring, alerts). Controller 3 + services BudgetService. Status Verified.
- Expenses — workflow approvals, multi-step, dashboards, receipts, recurring. Controller 4. Status Implemented (CSV export stub; auto recurring maybe not scheduled).
- Invoices — CRUD/items/payment/public checkout/33 gateways. Controllers 2 + 33 gateway controllers. Status Present (many “process payment” endpoints not individually verified).
- Contacts/Companies/Newsletters — marketing/CRM-like. Controllers 3. Status Verified (export CSV implemented for export buttons).
- Email Inbox + Automation — full IMAP sync, filter, rules, auto Project+Task, link. Services/Listener. Status Partial/Verified (manual execution not verified).
- AI Email assignment — Gemini triage/assign. Service: AI Assignment Service 31k LOC. Status Verified (structure, commands). Partial detail not read.
- AI Assistant — agent config, knowledge, file upload contexts, long conversation. Service 44k code. Status Verified (chat flow + token cost). Partial (tool frontend manual).
- Reports/Dashboards — dashboards differentiated by
_isaas; reports (budget, Expense, team, customer, lawyer, monthly). Performance evaluations. Status Verified.
- Admin/CMS configuration — landing pages, custom/legal CMS routes + media, landing subscribe, languages add/update/translate, mail/notification templates, system/brand/storage/brand, chatgpt settings. Status Verified.
- Integrations (Slack, Telegram, WhatsApp, Zoom) — notification agents; Zoom meetings. Status Verified (Slack getSettings missing, test-connection method mismatch).
- Media — library with batch upload; dedicated demo page. Status Verified.
Module owners? Not defined in code; all handled by company roles (owner/manager?) and superadmin for billing.