9 lines
167 B
Ruby
9 lines
167 B
Ruby
module BillsHelper
|
|
|
|
def user_bills_count_due
|
|
return nil if not user_signed_in?
|
|
return (current_user.bills.next + current_user.bills.retard).count
|
|
end
|
|
|
|
end
|