-
Release 0.8.0
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m9sreleased this
2026-02-03 19:23:10 +00:00 | 16 commits to main since this releaseAdded
- Admin Dashboard with comprehensive statistics:
- Occupancy overview card with current rate and comparison to last month
- Revenue summary card with this month, YTD, and comparison
- Bookings stat card with pending/confirmed counts
- Guests stat card with total, new, and repeat counts
- Today's Activity widget showing check-ins and check-outs
- Upcoming Bookings widget (next 7 days)
- Quick Actions widget for common tasks
- Chart.js integration for visual trend charts:
- Occupancy trend line chart (30 days)
- Revenue trend bar chart (6 months)
- Reports page with three report types:
- Occupancy Report: by room, by building, with progress bars
- Revenue Report: by room, by pricing tier, with averages
- Guest Statistics: top guests, nationality breakdown
- Date range filters (this month, last month, this year, custom)
- Export functionality:
- CSV export for all report types (native PHP)
- PDF export using mPDF library with professional styling
- New Composer dependency: mpdf/mpdf ^8.2 for PDF generation
- Dashboard and Reports CSS styles in admin.css (~350 lines)
- JavaScript chart initialization and report page handlers
Changed
- Dashboard now uses dedicated
src/Admin/Dashboard.phpclass - Admin menu now includes Reports submenu item
- Asset enqueuing conditionally loads Chart.js on dashboard page
Downloads
- Admin Dashboard with comprehensive statistics: