Comment out interface for turning standing orders ON for an enterprise

This commit is contained in:
Rob Harrington
2017-12-06 15:41:18 +11:00
parent 76daa183d5
commit f9727de206
2 changed files with 13 additions and 13 deletions

View File

@@ -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

View File

@@ -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'