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.25 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.24 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.23 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.22 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.21 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.20 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.19 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.18 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.17 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.16 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.15 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.14 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.13 app/helpers/workarea/admin/pricing_overrides_helper.rb
workarea-admin-3.4.12 app/helpers/workarea/admin/pricing_overrides_helper.rb