Sha256: 33c4614f1df29242d93a668bfcd15f3e033ee8d9ae2f8bc1f6448fc699942ace

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

<div class="table-responsive">
  <table class="table table-striped table-hover">
    <thead>
      <th>Invoice Number</th>
      <th>Transaction ID</th>
      <th>Billing Name</th>
      <th>Card</th>
      <th>Amount Charged</th>
      <th>Status</th>
      <th></th>
    </thead>
    <tbody>
      <% transactions.each do |transaction| %>
        <tr>
          <td><%= transaction.invoice_num %></td>
          <td><%= transaction.gateway_transaction_id %></td>
          <td class="no-wrap"><%= transaction.billing_full_name %></td>
          <td class="no-wrap"><%= transaction.card_display %> (<%= transaction.card_type %>)</td>
          <td><%= number_to_currency transaction.amount_charged %></td>
          <td><%= tb_checkout_status_label_for_transaction(transaction.status) %></td>
          <td><%= link_to 'Detail', tb_checkout_admin_transaction_path(transaction), :class => 'btn btn-sm btn-default' %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tb_checkout-1.0.5 app/views/tb_checkout/admin/transactions/_table.html.erb
tb_checkout-1.0.4 app/views/tb_checkout/admin/transactions/_table.html.erb