Sha256: cc8ee3ba2e0bcf1bfa58058db47cea3d8cdfdd1f84474c53b09e7fdb071b0f2d

Contents?: true

Size: 1.11 KB

Versions: 28

Compression:

Stored size: 1.11 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]
    USER_TABS          ||= [:users, :store_credits]
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
solidus_backend-1.2.3 app/models/spree/backend_configuration.rb
solidus_backend-1.1.4 app/models/spree/backend_configuration.rb
solidus_backend-1.0.7 app/models/spree/backend_configuration.rb
solidus_backend-1.0.6 app/models/spree/backend_configuration.rb
solidus_backend-1.2.2 app/models/spree/backend_configuration.rb
solidus_backend-1.2.1 app/models/spree/backend_configuration.rb
solidus_backend-1.1.3 app/models/spree/backend_configuration.rb
solidus_backend-1.0.5 app/models/spree/backend_configuration.rb
solidus_backend-1.2.0 app/models/spree/backend_configuration.rb
solidus_backend-1.2.0.rc2 app/models/spree/backend_configuration.rb
solidus_backend-1.0.4 app/models/spree/backend_configuration.rb
solidus_backend-1.1.2 app/models/spree/backend_configuration.rb
solidus_backend-1.2.0.rc1 app/models/spree/backend_configuration.rb
solidus_backend-1.2.0.beta1 app/models/spree/backend_configuration.rb
solidus_backend-1.0.3 app/models/spree/backend_configuration.rb
solidus_backend-1.1.1 app/models/spree/backend_configuration.rb
solidus_backend-1.1.0 app/models/spree/backend_configuration.rb
solidus_backend-1.1.0.pre2 app/models/spree/backend_configuration.rb
solidus_backend-1.1.0.pre1 app/models/spree/backend_configuration.rb
solidus_backend-1.1.0.beta1 app/models/spree/backend_configuration.rb