Skip to main content

Customer Management

Version Docs Updated

React SPA (since v4.39.0)

The Customers page was fully migrated to a React SPA backed by REST API in v4.39.0. Legacy CustomersListTable.php, CustomersListPage.php, customers.js, and related CSS files were deleted. The page now loads instantly with live search, sortable columns, a slide-in detail panel, and bulk delete β€” all without page reloads.

Customer Management is the central section for building a loyal customer base and tracking booking history. Access the full customer database via MHM Rentiva > Customers.


πŸ“Š Customer Analytics (Top Metrics)​

At the top of the page, four main cards display the growth and activity of your customer base:

Lite Notice Position (v4.22.2)

In the Lite edition, the limit notice is now positioned below the KPI cards, before the list begins. This standardization applies to VehicleColumns, BookingColumns, CustomersPage, and TransferAdmin.

  • Total Customers: The number of all users registered in the system.
  • Active Customers: Users who have made a booking or logged in within the last 30 days.
  • New This Month: The number of new customers who registered in the current month.
  • Monthly Average: The change rate (%) in the monthly registration trend compared to the previous month.

πŸ—“οΈ Customer Activity Calendar​

The calendar on the Customers page visualizes daily customer interactions (new registrations or activity volume). This lets you see at a glance which days have the highest customer traffic.

πŸ“Έ IMAGE: CUSTOMER LIST AND ANALYTICS PANEL
mhm-rentiva-customer-list-analytics

πŸ‘₯ Customer List and Financial Summary​

The customer table lets you measure the value (LTV - Lifetime Value) each user brings to your business:

  • Bookings: Total number of rental/transfer transactions completed by the customer.
  • Total Spent: Total revenue generated from all of the customer's transactions (with currency symbol).
  • Last Booking: The date of their most recent transaction.
  • Registration Date: The date they first joined the system.

βž• Adding a New Customer​

The manual customer registration screen is streamlined for operational speed. Click "Add New Customer" to enter the following data:

  • Customer Name: (Required)
  • Email: (Required) β€” the unique identifier in the system.
  • Phone: For communication purposes.
  • Address: Basic address information for billing or delivery point identification.

πŸ–±οΈ Customer Detail Slide Panel (v4.39.0+)​

Click any row in the customer table to open a slide-in detail panel without a page reload:

  • Name, Email, Phone, Address
  • Registered date
  • Total Bookings and Total Spent
  • First / Last Booking dates
  • Quick links: Edit Customer, View Bookings

Press Escape or click outside the panel to close it.


πŸ” Live Search and Column Sorting (v4.39.0+)​

  • Live search: 300 ms debounce β€” no page reload.
  • Sortable columns: Name, Email, Bookings, Total Spent, Last Booking, Registration Date. Click column header to toggle asc/desc.
  • Bulk delete: Select rows via checkbox, click "Delete Selected". A browser confirm guard prevents accidental deletion.
  • CSV Export: Downloads all customers (paged) or only selected IDs. Action is processed server-side via admin-post.php.

React Components (v4.39.0+)​

ComponentPurpose
StatsCardsFour KPI gradient cards at page top
SearchBarDebounced live search input
FilterBarStatus / segment filter controls
CustomerTableSortable paginated table
CustomerPanelSlide-in detail panel
PaginationPage navigation controls

REST Endpoints:

  • GET /wp-json/mhm-rentiva/v1/customers β€” paginated, search, sort
  • GET /wp-json/mhm-rentiva/v1/customers/{id} β€” detail
  • DELETE /wp-json/mhm-rentiva/v1/customers/bulk β€” bulk delete

All endpoints require manage_options capability.


Section Summary​

  • Monitor customer growth with Analytics Cards.
  • Identify your VIP customers with the Total Spent column.
  • View customer details instantly with the Slide Panel (no page reload).
  • Associate all bookings with customers via the Central Database.

Changelog​

DateVersionNote
11.05.20264.39.0Full React SPA migration. Live search, sortable columns, slide panel, bulk delete, CSV export. Legacy PHP list table + jQuery removed.
23.04.20264.27.2Documentation synchronized with the current plugin release.
27.03.20264.23.0Lite notice position (below KPI cards) documented.
19.03.20264.21.2Customer list, analytics cards, and registration form updated against the real interface.
26.02.20264.21.0Initial version created.