<%= if @subscription_resumable, do: "Change subscription plan", else: "Upgrade to Enterprise" %>

<%= if @subscription_resumable, do: "We've prepared your account for an upgrade to custom limits outside the listed plans:", else: "We've prepared a custom enterprise plan for your account with the following limits:" %>
    The plan is priced at <%= case @price do %Money{} = money -> PlausibleWeb.Components.Billing.format_price(money) nil -> "N/A" end %> per <%= if @latest_enterprise_plan.billing_interval == :yearly, do: "year", else: "month" %> + VAT if applicable. <%= if @subscription_resumable, do: "On the next page, our payment provider will calculate the prorated amount that your card will be charged if you decide to upgrade now.", else: "Click the button below to upgrade." %>
<%= if @subscription_resumable do %> <.link id="preview-changes" href={ Routes.billing_path( @conn, :change_plan_preview, @latest_enterprise_plan.paddle_plan_id ) } class="inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-indigo-600 border border-transparent leading-5 rounded-md hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150" > Preview changes <% else %> Pay securely via Paddle <% end %>
Questions? Contact us