Confirm new subscription plan

Due now
Your card will be charged a pro-rated amount for the current billing period
Amount Date
<%= present_currency(@preview_info["immediate_payment"]["currency"]) %><%= @preview_info["immediate_payment"]["amount"] %> <%= present_date(@preview_info["immediate_payment"]["date"]) %>
Next payment
Amount Date
<%= present_currency(@preview_info["immediate_payment"]["currency"]) %><%= @preview_info["next_payment"]["amount"] %> <%= present_date(@preview_info["next_payment"]["date"]) %>
Back <%= button("Confirm plan change", to: Routes.billing_path(@conn, :change_plan, @preview_info["plan_id"]), method: :post, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150") %>
Questions? <%= link("Contact us", to: "https://plausible.io/contact", class: "text-indigo-500") %>