5 lines
132 B
Ruby
5 lines
132 B
Ruby
class ExtraBill < ApplicationRecord
|
|
def adjusted_amount
|
|
deduct_autopaid? ? amount - Expense.autopaid_total : amount
|
|
end
|
|
end
|