Sha256: 04fd09ba320172d90aed8b939e84e7ef9e2dc530851028b16fed5630364fcf1f

Contents?: true

Size: 1.14 KB

Versions: 79

Compression:

Stored size: 1.14 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_transfers,
                            :stock_locations, :trackers, :refund_reasons,
                            :reimbursement_types, :return_authorization_reasons]
    PROMOTION_TABS     ||= [:promotions, :promotion_categories]
    USER_TABS          ||= [:users]
  end
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
spree_backend-3.4.6 app/models/spree/backend_configuration.rb
spree_backend-3.2.9 app/models/spree/backend_configuration.rb
spree_backend-3.1.14 app/models/spree/backend_configuration.rb
spree_backend-3.3.6 app/models/spree/backend_configuration.rb
spree_backend-3.2.8 app/models/spree/backend_configuration.rb
spree_backend-3.1.13 app/models/spree/backend_configuration.rb
spree_backend-3.4.5 app/models/spree/backend_configuration.rb
spree_backend-3.3.5 app/models/spree/backend_configuration.rb
spree_backend-3.4.4 app/models/spree/backend_configuration.rb
spree_backend-3.4.3 app/models/spree/backend_configuration.rb
spree_backend-3.3.4 app/models/spree/backend_configuration.rb
spree_backend-3.2.7 app/models/spree/backend_configuration.rb
spree_backend-3.1.12 app/models/spree/backend_configuration.rb
spree_backend-3.4.2 app/models/spree/backend_configuration.rb
spree_backend-3.3.3 app/models/spree/backend_configuration.rb
spree_backend-3.2.6 app/models/spree/backend_configuration.rb
spree_backend-3.1.11 app/models/spree/backend_configuration.rb
spree_backend-3.4.1 app/models/spree/backend_configuration.rb
spree_backend-3.4.0 app/models/spree/backend_configuration.rb
spree_backend-3.4.0.rc2 app/models/spree/backend_configuration.rb