5 lines
111 B
Ruby
5 lines
111 B
Ruby
class CreditCardBill < ApplicationRecord
|
|
def unpaid
|
|
amount - Expense.credit_card_monthly_total
|
|
end
|
|
end
|