Sha256: 1e6b31520b6b191f31a61f16c3fff6359f23340023b7d8394b5ae95eb38b4812

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

module Spree
  class BackendConfiguration < Preferences::Configuration
    preference :locale, :string, default: Rails.application.config.i18n.default_locale

    ORDER_TABS         ||= [:orders, :payments, :creditcard_payments,
                            :shipments, :credit_cards, :return_authorizations,
                            :customer_returns, :adjustments, :customer_details]
    PRODUCT_TABS       ||= [:products, :option_types, :properties, :prototypes,
                            :variants, :product_properties, :taxonomies,
                            :taxons]
    REPORT_TABS        ||= [:reports]
    CONFIGURATION_TABS ||= [:configurations, :general_settings, :tax_categories,
                            :tax_rates, :zones, :countries, :states,
                            :payment_methods, :shipping_methods,
                            :shipping_categories, :stock_locations, :trackers,
                            :refund_reasons, :reimbursement_types, :return_authorization_reasons]
    PROMOTION_TABS     ||= [:promotions, :promotion_categories]
    STOCK_TABS         ||= [:stock_items, :stock_transfers]
    USER_TABS          ||= [:users, :store_credits]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/models/spree/backend_configuration.rb
solidus_backend-1.3.1 app/models/spree/backend_configuration.rb
solidus_backend-1.3.0 app/models/spree/backend_configuration.rb
solidus_backend-1.3.0.rc2 app/models/spree/backend_configuration.rb
solidus_backend-1.3.0.rc1 app/models/spree/backend_configuration.rb
solidus_backend-1.3.0.beta1 app/models/spree/backend_configuration.rb