Adding payment stats

This commit is contained in:
2013-09-28 01:30:52 -07:00
parent 4631489eba
commit d1985dae12
4 changed files with 37 additions and 2 deletions

View File

@@ -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>