6 lines
269 B
Ruby
6 lines
269 B
Ruby
|
module SepaHelper
|
||
|
def foodsoft_sepa_ready?
|
||
|
FoodsoftConfig[:group_order_invoices]&.[](:iban) && FoodsoftConfig[:group_order_invoices]&.[](:bic) && FoodsoftConfig[:name].present? && FoodsoftConfig[:group_order_invoices]&.[](:creditor_identifier).present?
|
||
|
end
|
||
|
end
|