Sha256: 03fe9f6203d16c89f9f388ba511edb59c8a94c3776da8ddb77c319187aa87f0e

Contents?: true

Size: 1.09 KB

Versions: 12

Compression:

Stored size: 1.09 KB

Contents

<div class="page-header">
  <h3>Refunds</h3>
</div>
<table class="table table-condensed table-striped data-table">
  <thead>
    <tr>
      <th>Requested date</th>
      <th>Effective date</th>
      <th>Amount Refunded</th>
      <th>Adjusted</th>
      <th>Refund ID</th>
      <th>Payment ID</th>
    </tr>
  </thead>
  <tbody>
    <% if @payments.present? %>
      <% @payments.each do |payment| %>
        <% payment.refunds.each do |refund| %>
        <tr>
          <td><%= format_date(refund.requested_date, @account.timezone).html_safe if refund.requested_date.present? %></td>
          <td><%= format_date(refund.effective_date, @account.timezone).html_safe if refund.effective_date.present? %></td>
          <td><%= humanized_money_with_symbol refund.amount_to_money %> (<%= refund.currency %>)</td>
          <td><%= refund.adjusted %></td>
          <td><%= link_to refund.refund_id, refund_path(refund.refund_id) %></td>
          <td><%= refund.payment_id %></td>
        </tr>
        <% end #end refunds%>
      <% end #end payments%>
    <% end #end if payments present%>
  </tbody>
</table>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kaui-0.4.8 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.7 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.6 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.5 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.4 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.3 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.2 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.1 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.4.0 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.3.1 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.3.0 app/views/kaui/refunds/_refunds_table.html.erb
kaui-0.2.6 app/views/kaui/refunds/_refunds_table.html.erb