Module: Spree::Admin::CustomerNotificationsHelper
- Defined in:
- app/helpers/spree/admin/customer_notifications_helper.rb
Instance Method Summary collapse
Instance Method Details
#send_all_description(notification) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'app/helpers/spree/admin/customer_notifications_helper.rb', line 11 def send_all_description(notification) if notification.taxons.any? send_all_taxons_description(notification) elsif notification.vendor.present? send_all_vendor_description(notification.vendor) else content_tag(:p, 'This notification will be sent to all BookMe+ users, excluding tenant users.') end end |