Sha256: 7dd7905fddb7e3c9a9a64b3b56f669c3aed720419899adb43ca3e10a48a57e07
Contents?: true
Size: 1.49 KB
Versions: 11
Compression:
Stored size: 1.49 KB
Contents
<% if @subscription.present? %> <div class="page-header"> <h2>Subscription <%= @subscription.subscription_id %></h2> </div> <dl class="dl-horizontal"> <dt>Category</dt> <dd><%= @subscription.product_category.downcase.capitalize if @subscription.product_category.present? %></dd> <dt>Product</dt> <dd><%= @subscription.product_name.downcase.capitalize if @subscription.product_name.present? %></dd> <dt>Period</dt> <dd><%= @subscription.billing_period.downcase.capitalize if @subscription.billing_period.present? %></dd> <dt>Charged through</dt> <dd> <%= format_date(@subscription.charged_through_date, @account.timezone).html_safe if @subscription.charged_through_date.present? %> <dt>Price List</dt> <dd><%= @subscription.price_list %></dd> <dt>Start Date</dt> <dd> <%= format_date(@subscription.start_date, @account.timezone).html_safe if @subscription.start_date.present? %> </dl> <hr/> <%= link_to "Change", kaui_engine.edit_subscription_path(@subscription.subscription_id), :class => "btn btn-mini" %> <%= link_to "Cancel", kaui_engine.subscription_path(@subscription.subscription_id), :method => :delete, :confirm => "Are you sure?", :class => "btn btn-mini" %> <%= link_to "Add Addons", kaui_engine.new_subscription_path(:params => { :bundle_id => @subscription.bundle_id, :base_subscription => @subscription.product_name }), :class => "btn btn-mini" %> <% else %> <p>Subscription not found</p> <% end %> <%= link_to 'Back', :back, :class => 'btn' %>
Version data entries
11 entries across 11 versions & 1 rubygems