Sha256: aa1c3f95c2fa807f5afbc74a7f025c98780fa384a32c596014cb281ad6d7eba2

Contents?: true

Size: 916 Bytes

Versions: 3

Compression:

Stored size: 916 Bytes

Contents

<div class="table-responsive">
  <table class="table table-striped table-hover">
    <thead>
      <th>Transaction ID</th>
      <th>Shipping Name</th>
      <th>Amount Charged</th>
      <th>Status</th>
      <th>Created</th>
      <th></th>
    </thead>
    <tbody>
      <% transactions.each do |transaction| %>
        <tr>
          <td><%= link_to_for_stripe_charge(transaction) %></td>
          <td class="no-wrap"><%= transaction.order.full_name %></td>
          <td><%= number_to_currency transaction.amount_charged %></td>
          <td><%= tb_commerce_status_label_for_transaction(transaction.status) %></td>
          <td><%= timestamp transaction.created_at %></td>
          <td class="table-actions">
            <%= link_to 'Detail', tb_commerce_admin_transaction_path(transaction), :class => 'btn btn-sm btn-default' %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 app/views/tb_commerce/admin/transactions/_table.html.erb
tb_commerce-0.0.3 app/views/tb_commerce/admin/transactions/_table.html.erb
tb_commerce-0.0.2 app/views/tb_commerce/admin/transactions/_table.html.erb