Sha256: 102883df37269d091cb58a8d2f29e6e29a55babac1026e041a4ad7df5311d232

Contents?: true

Size: 982 Bytes

Versions: 17

Compression:

Stored size: 982 Bytes

Contents

<% if @refunds.present? and @refunds.size > 0 %>
<div class="page-header">
  <h2>Refunds</h2>
</div>
<table class="table table-condensed table-striped">
  <thead>
    <tr>
      <th>Refund id</th>
      <th>Payment id</th>
      <th>Amount</th>
      <th>Adjusted?</th>
      <th>Requested date</th>
      <th>Effective date</th>
      <th>Adjustments</th>
    </tr>
  </thead>
  <tbody>
    <% @refunds.each do |refund| %>
      <tr>
        <td><%= refund.refund_id %></td>
        <td><%= link_to refund.payment_id, payment_path(refund.payment_id) %></td>
        <td><%= refund.amount %>&nbsp;<%= refund.currency %></td>
        <td><%= refund.adjusted %></td>
        <td><%= format_date(refund.requested_date, @account.timezone).html_safe %></td>
        <td><%= format_date(refund.effective_date, @account.timezone).html_safe %></td>
        <td><%= refund.adjustments %></td>
      </tr>
    <% end %>
  </tbody>
</table>
<% else %>
  <p>Refund info not found</p>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
kaui-0.6.6 app/views/kaui/refunds/show.html.erb
kaui-0.6.5 app/views/kaui/refunds/show.html.erb
kaui-0.6.4 app/views/kaui/refunds/show.html.erb
kaui-0.6.3 app/views/kaui/refunds/show.html.erb
kaui-0.6.2 app/views/kaui/refunds/show.html.erb
kaui-0.6.1 app/views/kaui/refunds/show.html.erb
kaui-0.6.0 app/views/kaui/refunds/show.html.erb
kaui-0.5.3 app/views/kaui/refunds/show.html.erb
kaui-0.5.2 app/views/kaui/refunds/show.html.erb
kaui-0.5.1 app/views/kaui/refunds/show.html.erb
kaui-0.5.0 app/views/kaui/refunds/show.html.erb
kaui-0.4.9 app/views/kaui/refunds/show.html.erb
kaui-0.4.8 app/views/kaui/refunds/show.html.erb
kaui-0.4.7 app/views/kaui/refunds/show.html.erb
kaui-0.4.6 app/views/kaui/refunds/show.html.erb
kaui-0.4.5 app/views/kaui/refunds/show.html.erb
kaui-0.4.4 app/views/kaui/refunds/show.html.erb