Module: SuppliersHelper

Defined in:
app/helpers/suppliers_helper.rb

Instance Method Summary collapse

Instance Method Details

#shared_sync_method_collectionObject



2
3
4
5
6
7
8
# File 'app/helpers/suppliers_helper.rb', line 2

def shared_sync_method_collection
  # TODO: See if we really need the import limit `shared_supplier_article_sync_limit`
  # also see https://github.com/foodcoops/foodsoft/pull/609/files and https://github.com/foodcoopsat/foodsoft_hackathon/issues/89
  Supplier.shared_sync_methods.keys.map do |m|
    [t("suppliers.shared_supplier_methods.#{m}"), m]
  end
end