Sha256: ffcbee530888b8e67aeef1612e119d1cdbe8f85a45e4e1fc2c9f3a500ee7b196
Contents?: true
Size: 1.45 KB
Versions: 3
Compression:
Stored size: 1.45 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).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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kaui-0.1.18 | app/views/kaui/subscriptions/show.html.erb |
kaui-0.1.17 | app/views/kaui/subscriptions/show.html.erb |
kaui-0.1.16 | app/views/kaui/subscriptions/show.html.erb |