10 lines
306 B
Ruby
10 lines
306 B
Ruby
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
|
class OffsitePayment < ApplicationRecord
|
|
|
|
attr_accessible :gross_amount, :kind, :date, :check_number
|
|
belongs_to :payment, dependent: :destroy
|
|
belongs_to :donation
|
|
belongs_to :nonprofit
|
|
belongs_to :supporter
|
|
|
|
end
|