Sha256: b69ea17d96fc22f46b6a6ced5b6b5a67d09a6cb60c258739bc3fba6240f7b975

Contents?: true

Size: 981 Bytes

Versions: 13

Compression:

Stored size: 981 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

13 entries across 13 versions & 1 rubygems

Version Path
kaui-0.4.3 app/views/kaui/refunds/show.html.erb
kaui-0.4.2 app/views/kaui/refunds/show.html.erb
kaui-0.4.1 app/views/kaui/refunds/show.html.erb
kaui-0.4.0 app/views/kaui/refunds/show.html.erb
kaui-0.3.1 app/views/kaui/refunds/show.html.erb
kaui-0.3.0 app/views/kaui/refunds/show.html.erb
kaui-0.2.6 app/views/kaui/refunds/show.html.erb
kaui-0.2.5 app/views/kaui/refunds/show.html.erb
kaui-0.2.4 app/views/kaui/refunds/show.html.erb
kaui-0.2.3 app/views/kaui/refunds/show.html.erb
kaui-0.2.2 app/views/kaui/refunds/show.html.erb
kaui-0.2.1 app/views/kaui/refunds/show.html.erb
kaui-0.2.0 app/views/kaui/refunds/show.html.erb