Adding payment stats
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
<%= link_to 'IPN', ipns_path %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>Payments by Month</h3>
|
||||
<dl>
|
||||
<% @payments_by_month.each do |month| %>
|
||||
<dt><%= month[:month] %></dt>
|
||||
<dd><%= month[:sum] %></dd>
|
||||
<% end %>
|
||||
</dl>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Payee</th>
|
||||
|
||||
Reference in New Issue
Block a user