Sha256: 79c58febd8fcc2c633b0103cdd2fdebd59aa8671451ef1d8616d54f4f1e23117
Contents?: true
Size: 781 Bytes
Versions: 3
Compression:
Stored size: 781 Bytes
Contents
<%= render 'header' %> <h1>Payments</h1> <table class="table table-responsive"> <thead> <tr> <th>Amount</th> <th>ID</th> <th>Customer</th> <th>Date</th> </tr> </thead> <tbody> <% @payments.each do |payment| %> <tr> <td> <%= link_to tang.admin_payment_path(payment) do %> <%= number_to_currency(payment.amount.to_f / 100.0) %> <%= payment.currency.upcase %> <% end %> </td> <td><%= payment.stripe_id %></td> <td><%= payment.invoice.customer.email if payment.invoice.present? %></td> <td><%= payment.created.strftime('%Y/%m/%d %H:%M:%S') %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @payments %> <%= render 'footer' %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tang-0.1.0 | app/views/tang/admin/payments/index.html.erb |
tang-0.0.9 | app/views/tang/admin/payments/index.html.erb |
tang-0.0.8 | app/views/tang/admin/payments/index.html.erb |