A full-featured, bilingual (English/Arabic with RTL) enterprise resource planning system built for construction companies in Kuwait. Built as a plain PHP/MySQL monolith with jQuery, Bootstrap 5, and DataTables — no framework, fully custom.
Core Modules:
- Project management with team assignments, Gantt scheduling, task dependencies, and BOQ
- Full procurement cycle: quotations, purchase orders, invoices with retention, change orders, and bid management
- HR suite: employees, leave management, site attendance with OT, payroll generation, and bank CSV export
- Financial tools: budgets with cost codes, job costing dashboard, cash flow forecasting, WIP reporting, and profit/loss per project
- Field operations: daily logs/site diary, RFIs, submittals, inspections, incidents, and project communications
- Asset management: vehicle fleet, equipment inventory with warehouse/yard system, and equipment rentals
- CRM with leads pipeline, Kanban board, and prospect-to-client conversion
Technical Highlights:
- RBAC system with 8 roles, 150+ permissions, and project-scoped access control
- REST API with 47 endpoints, Bearer token auth, and webhook support (HMAC-SHA256)
- PWA with mobile-optimized views, bottom nav, card layouts, and camera capture
- Configurable report builder and 16 drag-and-drop dashboard widgets
- CAD/3D file viewers (DWG/DXF via mlightcad, 3D via Three.js)
- Workflow notifications (in-app + email via PHPMailer) across 12 modules
- 2FA (TOTP + backup codes), CSP nonces, rate limiting, and full audit trail
- License validation engine with phpBolt encryption for commercial distribution
- SaaS-ready multi-tenant architecture (DB-per-tenant, domain-based routing)