Module: Workarea::Admin::PricingOverridesHelper

Defined in:
app/helpers/workarea/admin/pricing_overrides_helper.rb

Instance Method Summary collapse

Instance Method Details

#allow_pricing_override?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/helpers/workarea/admin/pricing_overrides_helper.rb', line 4

def allow_pricing_override?
  current_admin&.orders_manager? && current_order.items.any?
end