Automated notice about an enterprise account that has gone over their limits.
Customer email: <%= @user.email %>
Last billing cycle: <%= PlausibleWeb.TextHelpers.format_date_range(
@pageview_usage.last_cycle.date_range
) %>
Last cycle pageview usage: <%= PlausibleWeb.AuthView.delimit_integer(
@pageview_usage.last_cycle.total
) %> billable pageviews
Penultimate billing cycle: <%= PlausibleWeb.TextHelpers.format_date_range(
@pageview_usage.penultimate_cycle.date_range
) %>
Penultimate cycle pageview usage: <%= PlausibleWeb.AuthView.delimit_integer(
@pageview_usage.penultimate_cycle.total
) %> billable pageviews
Site usage: <%= @site_usage %> / <%= @site_allowance %> allowed sites