diff --git a/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb b/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb index cd71967963e..36202e403f3 100644 --- a/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb +++ b/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb @@ -13,7 +13,7 @@ <% if can?(:display, Spree::RefundReason) || can?(:display, Spree::ReimbursementType) || can?(:display, Spree::ReturnReason) || can?(:display, Spree::AdjustmentReason) %> - <%= tab :checkout, url: spree.admin_refund_reasons_path, match_path: %r(refund_reasons|reimbursement_types|return_reasons|adjustment_reasons) %> + <%= tab :checkout, url: spree.admin_refund_reasons_path, match_path: %r(refund_reasons|reimbursement_types|return_reasons|adjustment_reasons|store_credit_reasons) %> <% end %> <% if can?(:display, Spree::ShippingMethod) || can?(:display, Spree::ShippingCategory) || can?(:display, Spree::StockLocation) %> diff --git a/backend/lib/spree/backend_configuration.rb b/backend/lib/spree/backend_configuration.rb index 6a0b4780727..d1a10c9980b 100644 --- a/backend/lib/spree/backend_configuration.rb +++ b/backend/lib/spree/backend_configuration.rb @@ -17,7 +17,8 @@ class BackendConfiguration < Preferences::Configuration :payment_methods, :shipping_methods, :shipping_categories, :stock_locations, :refund_reasons, :reimbursement_types, - :return_reasons, :adjustment_reasons] + :return_reasons, :adjustment_reasons, + :store_credit_reasons] PROMOTION_TABS ||= [:promotions, :promotion_categories] STOCK_TABS ||= [:stock_items] USER_TABS ||= [:users, :store_credits]