PUQ Mautic

Traffic statistics

PUQVPNCP module WHMCS

Order now | Download | COMMUNITY | PUQVPNCP

A dedicated page in the client area showing monthly traffic for the VPN client. Entered from the service sidebar via Traffic statistics (action_m=traffic_statistics).

Traffic statistics — chart and totals 19-traffic-statistics.png

Controls

Chart

A line chart rendered with Chart.js showing per-day:

All values are formatted with a human-readable B / KB / MB / GB / TB scale on hover and on the Y axis.

Totals

Two cards below the chart show the aggregated total download (blue) and total upload (green) for the selected month.

Data source

The page calls GET /api/v1/client/{name}/traffic/{year}/{month} on the PUQVPNCP panel every time Load is pressed. The module does not cache samples — values come live from the panel each render.


Revision #2
Created 16 April 2026 15:04:16 by Ruslan
Updated 16 April 2026 15:04:37 by Ruslan