Sha256: 46ecca53b029c47768158aea5939cf0f4ebe3b195ab71a62ee8afbedb8ae403b

Contents?: true

Size: 1020 Bytes

Versions: 7

Compression:

Stored size: 1020 Bytes

Contents

<div class="page-header">
  <h3>Payments</h3>
</div>
<table class="table table-condensed table-striped data-table">
  <thead>
    <tr>
      <th>Requested date</th>
      <th>Effective date</th>
      <th>Total amount</th>
      <th>Paid amount</th>
      <th>Payment method</th>
      <th>Retry count</th>
      <th>Status</th>
    </tr>
  </thead>
  <tbody>
    <% if @payments.present? %>
      <% @payments.each do |payment| %>
        <tr>
          <td><%= format_date(payment.requested_dt).html_safe  if payment.requested_dt.present? %></td>
          <td><%= format_date(payment.effective_dt).html_safe  if payment.effective_dt.present? %></td>
          <td><%= payment.amount %> <%= @account.currency if payment.amount.present? %></td>
          <td><%= payment.paid_amount %> <%= @account.currency if payment.paid_amount.present? %></td>
          <td></td>
          <td><%= payment.retry_count %></td>
          <td><%= payment.status %></td>
        </tr>
      <% end %>
    <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kaui-0.1.0 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.9 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.8 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.7 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.6 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.5 app/views/kaui/payments/_payments_table.html.erb
kaui-0.0.4 app/views/kaui/payments/_payments_table.html.erb