changing view for group_order_invoices
testing ui of goi restructuring
This commit is contained in:
parent
de6643722a
commit
90c5450525
52 changed files with 783 additions and 57 deletions
8
app/models/sepa_account_holder.rb
Normal file
8
app/models/sepa_account_holder.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class SepaAccountHolder < ApplicationRecord
|
||||
belongs_to :group
|
||||
belongs_to :user
|
||||
|
||||
def all_fields_present?
|
||||
iban.present? && bic.present? && mandate_id.present? && user_id.present? && mandate_date_of_signature.present? && group_id.present?
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue