Module: E9Crm::OffersHelper

Defined in:
app/helpers/e9_crm/offers_helper.rb

Instance Method Summary collapse

Instance Method Details

#offer_mailing_listsObject



8
9
10
11
12
13
14
# File 'app/helpers/e9_crm/offers_helper.rb', line 8

def offer_mailing_lists
  @_offer_mailing_lists ||= begin
    retv =  MailingList.newsletters.all
    retv << MailingList.new_content_alerts
    retv.compact
  end
end

#records_table_field_map_for_offerObject



2
3
4
5
6
# File 'app/helpers/e9_crm/offers_helper.rb', line 2

def records_table_field_map_for_offer
  {
    :fields => { :name => nil }
  }
end