Sha256: c33cabcd8cc7f43eeded184f501e7df4454fb9422d4d64a78c5519b71ad63fe0

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

<table class="ui celled table">
  <thead>
  <tr>
    <th class="center aligned">Total Amount</th>
    <th class="center aligned">Order Amount</th>
    <th class="center aligned">Type</th>
    <th class="center aligned">Created At</th>
    <th class="center aligned">State</th>
    <th class="center aligned">Comment</th>
    <th class="center aligned">Refunded At</th>
  </tr>
  </thead>
  <tbody>
  <% @refunds.each do |refund| %>
      <tr>
        <td class="center aligned"><%= refund.total_amount.to_money(refund.currency).format %></td>
        <td class="center aligned"><%= refund.order_amount.to_money.format %></td>
        <td class="center aligned"><%= refund.type %></td>
        <td class="center aligned"><%= refund.created_at.to_s %></td>
        <td class="center aligned"><%= refund.state %></td>
        <td class="center aligned"><%= refund.comment %></td>
        <td class="center aligned">
          <% if refund.refunded_at %>
            <time><%= refund.refunded_at.to_s %></time>
          <% else %>
            <%= refund.reason.to_s.truncate(27) %>
          <% end %>
        </td>
      </tr>
  <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_trade-0.0.2 app/views/trade/admin/refunds/_logs_table.html.erb
rails_trade-0.0.1 app/views/rails_trade_admin/refunds/_logs_table.html.erb