Adding payment stats
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
<dd><%= @num_door_opens %> (<%= @today_door_opens %> today, <%= @recent_door_opens %> in the last 7 days)</dd>
|
||||
<dt># of Door Accesses Denied:</dt>
|
||||
<dd><%= @num_door_denieds %> (<%= @recent_door_denieds %> in the last 7 days)</dd>
|
||||
<dt># of Logins:</dt>
|
||||
<dd><%= @num_logins %> (<%= @recent_logins %> users today)</dd>
|
||||
<dt># of Computers in this DB:</dt>
|
||||
<dd><%= @num_macs %> (<%= @recent_macs %> seen today)</dd>
|
||||
</dl>
|
||||
|
||||
@@ -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