Styling the members-without-cards report
This commit is contained in:
parent
409227f2d5
commit
b23de1c1a2
|
@ -66,7 +66,7 @@
|
||||||
<td><%= user.member_level_string %></td>
|
<td><%= user.member_level_string %></td>
|
||||||
<td><% if user.payments.present? %>
|
<td><% if user.payments.present? %>
|
||||||
<% last_payment = user.payments.maximum(:date) %>
|
<% last_payment = user.payments.maximum(:date) %>
|
||||||
<% if Date.today-last_payment > 60 %>
|
<% if Date.today-last_payment > 90 %>
|
||||||
<span class="label label-danger">
|
<span class="label label-danger">
|
||||||
<% else %>
|
<% else %>
|
||||||
<span class="label label-success">
|
<span class="label label-success">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user