Reports
The Reports page was migrated to a React SPA with Chart.js in v4.37.x (Faz 1b). All chart rendering and data fetching is done client-side via REST API. 9 legacy PHP/JS report files were deleted. The date filter and 5 tab components are React components.
Reports is the advanced analytics hub that converts all of MHM Rentiva's operational data into financial and statistical outputs. Monitor your business's growth trends and efficiency via MHM Rentiva > Reports.
The Revenue Chart and Upcoming Operations widgets are available in the Pro edition only. These widgets are not visible in the Lite edition. Guard: Mode::canUseAdvancedReports().
Global Performance Metrics (Statistics Widget)
At the top of the page, four main performance indicators updated according to the selected date range are displayed in a 2x2 grid layout enriched with icons and colors:
- Total Bookings: All transactions within the defined range.
- This Month's Revenue: Total turnover for the current month (with currency symbol).
- Active Bookings: Number of vehicles currently in use (with the customer).
- Occupancy Rate (%): The capacity utilization percentage of your fleet.
The statistics widget is cached with the mhm_rentiva_dashboard_stats cache key prefix. All date calculations use the WordPress timezone (wp_date).
Report Tabs and Details
MHM Rentiva lets you process data from 5 different perspectives:
1. Overview
A "snapshot" summary of all reports. Presents revenue, booking, customer, and vehicle analyses in comparative charts on a single screen.
2. Revenue Report — Pro Only
Details your financial health.
- Revenue Analytics: Daily revenue average and total earnings.
- Revenue Trend: Bar charts showing which days of the week (Mon-Sun) are more profitable. Date format is localized using
date_i18n(get_option('date_format')). - Cancellation Dataset: Cancelled bookings are reflected in the chart as a separate dataset with a red dashed line.
- Daily Details: A date-by-date transparent revenue list.
3. Booking Distribution
Analyzes the status distribution of bookings and cancellation rates.
- Cancellation Rate (%): The percentage of cancelled bookings among total bookings.
- Status Distribution: A breakdown of Confirmed, Pending, Completed, and Cancelled bookings by count and percentage.
4. Vehicle Report (Vehicle Performance)
Measures which vehicles or categories generate more revenue.
- Most Popular Vehicles: Models with the highest number of rentals.
- Rental Count vs Total Revenue: Total revenue generated by each vehicle.
5. Customer Report (Customer Analysis)
Tracks customer loyalty and spending habits.
- Customer Summary: Total customers, repeat customers, and average spending amount.
- Lifecycle (LTV): Visualizes the ratio of new vs. returning customers in a chart.
Data Filtering and Export
- Custom Date Range: Select start and end dates to perform historical or forward-looking analyses.
- Dynamic Update: The calendar and charts recalculate instantly as soon as a filter is applied.
mhm-rentiva-reports-all-tabs
Section Summary
- Get an X-ray of your business with the Overview.
- Identify the most profitable segments with Revenue/Vehicle Reports.
- Develop loyalty strategies with Customer Reports.
React Components (v4.37.x+)
| Component | Purpose |
|---|---|
ReportsPage | Root — header stats + tab navigation + date range filter |
BookingsTab | Booking distribution chart + status table |
RevenueTab | Revenue bar chart (Chart.js) + daily detail list |
VehiclesTab | Vehicle performance KPI + top vehicles table |
CustomersTab | Customer lifecycle chart + summary metrics |
Date filter: Stacks vertically on mobile (≤782px) — class .mhm-reports__date-filter.
REST Namespace: GET /wp-json/mhm-rentiva/v1/reports/*
Changelog
| Date | Version | Note |
|---|---|---|
| 12.05.2026 | 4.49.0 | Date filter vertical stack mobile fix (782px breakpoint). |
| 11.05.2026 | 4.48.0 | Stats grid 2-column mobile layout. |
| 06.05.2026 | 4.37.x | Full React SPA migration with Chart.js. 9 legacy PHP/JS files removed. ReportsRestController + 5 tab components. |
| 23.04.2026 | 4.27.2 | Documentation synchronized with the current plugin release. |
| 27.03.2026 | 4.23.0 | Lite/Pro gating (Revenue Chart + Upcoming Ops), stats widget 2x2 grid design, timezone fixes (wp_date), cancellation dataset, and cache key prefix fix documented. |
| 19.03.2026 | 4.21.2 | Reports page updated against the real interface with 5 tabs and all chart details. |
| 26.02.2026 | 4.21.0 | Initial version created. |