Sha256: 68e2a9e15f7b3e282d8b57bd0049e88037a4bd9b897d634d63c90b097f762d3e

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

<p id="notice"><%= notice %></p>

<h1>Customers</h1>

<table>
  <thead>
    <tr>
      <th>Customer</th>
      <th>Account balance</th>
      <th>Created</th>
      <th>Currency</th>
      <th>Default source</th>
      <th>Delinquent</th>
      <th>Description</th>
      <th>Discount</th>
      <th>Email</th>
      <th>Livemode</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @customers.each do |customer| %>
      <tr>
        <td><%= customer.customer_id %></td>
        <td><%= customer.account_balance %></td>
        <td><%= customer.created %></td>
        <td><%= customer.currency %></td>
        <td><%= customer.default_source %></td>
        <td><%= customer.delinquent %></td>
        <td><%= customer.description %></td>
        <td><%= customer.discount %></td>
        <td><%= customer.email %></td>
        <td><%= customer.livemode %></td>
        <td><%= link_to 'Show', customer %></td>
        <td><%= link_to 'Edit', edit_customer_path(customer) %></td>
        <td><%= link_to 'Destroy', customer, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Customer', new_customer_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stripe_wrapper-0.1.0 app/views/stripe_wrapper/customers/index.html.erb