Sha256: 8aebb237b190cc2a518016decc5013c40588b536b64923f0e84a841edde64e82
Contents?: true
Size: 1.93 KB
Versions: 9
Compression:
Stored size: 1.93 KB
Contents
<div class="page-header"> <h2>Subscription <%= @subscription.subscription_id %></h2> </div> <dl class="dl-horizontal"> <dt>Category</dt> <dd><%= humanized_product_category(@subscription) || ' '.html_safe %></dd> <dt>Product</dt> <dd><%= humanized_product_name(@subscription) || ' '.html_safe %></dd> <dt>Period</dt> <dd><%= humanized_billing_period(@subscription) || ' '.html_safe %></dd> <dt>Charged through</dt> <dd><%= humanized_charged_through_date(@subscription, @account) || ' '.html_safe %> <dt>Price list</dt> <dd><%= humanized_price_list(@subscription) || ' '.html_safe %></dd> <dt>Start date</dt> <dd><%= humanized_start_date(@subscription, @account) || ' '.html_safe %></dd> <dt>Cancelled date</dt> <dd><%= humanized_cancelled_date(@subscription, @account) || ' '.html_safe %></dd> <dt>Billing start date</dt> <dd><%= humanized_billing_start_date(@subscription, @account) || ' '.html_safe %></dd> <dt>Billing end date</dt> <dd><%= humanized_billing_end_date(@subscription, @account) || ' '.html_safe %></dd> </dl> <hr/> <% if is_future_cancelled?(@subscription) %> <%= link_to 'Reinstate', kaui_engine.reinstate_subscription_path(:id => sub.subscription_id), :method => :put, :class => 'btn btn-mini' %> <% elsif is_cancelled?(@subscription) %> <%= 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_product_name => @subscription.product_name, :product_category => 'ADD_ON'}), :class => 'btn btn-mini' %> <% end %> <%= link_to 'Go to bundle', kaui_engine.bundle_path(@subscription.bundle_id), :class => 'btn btn-mini' %>
Version data entries
9 entries across 9 versions & 1 rubygems