% phc_title "Current Subscription" %> <% phc_title_tagline "Information on Your Subscription" %> <% phc_breadcrumb_one "Home" %> <% phc_breadcrumb_two yield(:phc_title_tagline) %>
Status | Start Date | Next Charge Date | Amount Due ($) |
---|---|---|---|
<%= subscription_item.status.capitalize %> | <%= Time.at(subscription_item.created).to_datetime.strftime("%B %d, %Y") %> | <%= Time.at(subscription_item.current_period_end).to_datetime.strftime("%B %d, %Y") %> | <%= '%.2f' % BigDecimal(subscription_item.plan.amount/100).to_i + ' ' + subscription_item.plan.currency.upcase %> |