Sha256: 08ab1106c45bdabd15aa58ae1cde8651ff5bcd4e87c711ccfc70c59df579b8be

Contents?: true

Size: 943 Bytes

Versions: 16

Compression:

Stored size: 943 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).html_safe %></td>
        <td><%= format_date(refund.effective_date).html_safe %></td>
        <td><%= refund.adjustments %></td>
      </tr>
    <% end %>
  </tbody>
</table>
<% else %>
  <p>Refund info not found</p>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kaui-0.1.18 app/views/kaui/refunds/show.html.erb
kaui-0.1.17 app/views/kaui/refunds/show.html.erb
kaui-0.1.16 app/views/kaui/refunds/show.html.erb
kaui-0.1.15 app/views/kaui/refunds/show.html.erb
kaui-0.1.14 app/views/kaui/refunds/show.html.erb
kaui-0.1.12 app/views/kaui/refunds/show.html.erb
kaui-0.1.11 app/views/kaui/refunds/show.html.erb
kaui-0.1.10 app/views/kaui/refunds/show.html.erb
kaui-0.1.9 app/views/kaui/refunds/show.html.erb
kaui-0.1.8 app/views/kaui/refunds/show.html.erb
kaui-0.1.7 app/views/kaui/refunds/show.html.erb
kaui-0.1.6 app/views/kaui/refunds/show.html.erb
kaui-0.1.5 app/views/kaui/refunds/show.html.erb
kaui-0.1.4 app/views/kaui/refunds/show.html.erb
kaui-0.1.3 app/views/kaui/refunds/show.html.erb
kaui-0.1.2 app/views/kaui/refunds/show.html.erb