diff --git a/app/views/admin/enterprises/form/_shop_preferences.html.haml b/app/views/admin/enterprises/form/_shop_preferences.html.haml index 0f3aa2f69b..17a3406da5 100644 --- a/app/views/admin/enterprises/form/_shop_preferences.html.haml +++ b/app/views/admin/enterprises/form/_shop_preferences.html.haml @@ -78,15 +78,15 @@ = f.label :allow_order_changes, t('.allow_order_changes_true'), value: :true -.row - .alpha.eleven.columns - .three.columns.alpha - %label= t '.enable_standing_orders' - %div{'ofn-with-tip' => t('.enable_standing_orders_tip')} - %a= t 'admin.whats_this' - .three.columns - = f.radio_button :enable_standing_orders, true - = f.label :enable_standing_orders, t('.enable_standing_orders_true'), value: :true - .five.columns.omega - = f.radio_button :enable_standing_orders, false - = f.label :enable_standing_orders, t('.enable_standing_orders_false'), value: :false +-# .row +-# .alpha.eleven.columns +-# .three.columns.alpha +-# %label= t '.enable_standing_orders' +-# %div{'ofn-with-tip' => t('.enable_standing_orders_tip')} +-# %a= t 'admin.whats_this' +-# .three.columns +-# = f.radio_button :enable_standing_orders, true +-# = f.label :enable_standing_orders, t('.enable_standing_orders_true'), value: :true +-# .five.columns.omega +-# = f.radio_button :enable_standing_orders, false +-# = f.label :enable_standing_orders, t('.enable_standing_orders_false'), value: :false diff --git a/spec/features/admin/enterprises_spec.rb b/spec/features/admin/enterprises_spec.rb index c3ef7be463..506292e17f 100644 --- a/spec/features/admin/enterprises_spec.rb +++ b/spec/features/admin/enterprises_spec.rb @@ -91,7 +91,7 @@ feature %q{ expect(page).to have_checked_field "enterprise_allow_guest_orders_true" choose "Visible to registered customers only" expect(page).to have_no_checked_field "enterprise_require_login_false" - expect(page).to have_checked_field "enterprise_enable_standing_orders_false" + # expect(page).to have_checked_field "enterprise_enable_standing_orders_false" within(".side_menu") { click_link "Users" } select2_search user.email, from: 'Owner'