mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
16 lines
414 B
Ruby
16 lines
414 B
Ruby
# frozen_string_literal: false
|
|
|
|
class Invoice
|
|
class DataPresenter
|
|
class Distributor < Invoice::DataPresenter::Base
|
|
attributes :name, :abn, :acn, :logo_url, :display_invoice_logo, :invoice_text, :email_address,
|
|
:phone
|
|
attributes_with_presenter :contact, :address, :business_address
|
|
|
|
def display_invoice_logo?
|
|
display_invoice_logo == true
|
|
end
|
|
end
|
|
end
|
|
end
|