mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Comment out interface for turning standing orders ON for an enterprise
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user