Sha256: 52bed0d1b175ef396328bd7cf61d9cbce7da91b344b9dbc9745f6b0df7feb2b7

Contents?: true

Size: 186 Bytes

Versions: 34

Compression:

Stored size: 186 Bytes

Contents

module Workarea
  module Admin
    module PricingOverridesHelper
      def allow_pricing_override?
        current_admin.present? && current_order.items.any?
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.44 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.43 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.42 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.41 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.40 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.39 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.38 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.37 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.36 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.35 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.34 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.33 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.32 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.31 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.30 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.29 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.28 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.27 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.26 app/helpers/workarea/admin/pricing_overrides_helper.rb