Sha256: f6603b1440b2824136a83aa84229cac7ef49fbe1879ee66e191d935a309de000
Contents?: true
Size: 1.44 KB
Versions: 15
Compression:
Stored size: 1.44 KB
Contents
<% if @subscription.present? %> <div class="page-header"> <h2>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).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).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
15 entries across 15 versions & 1 rubygems