Sha256: 6fb69b684534c0671feb55248f1adc05ed0051ff9c1350c4ce4cfde8675e2b6d

Contents?: true

Size: 471 Bytes

Versions: 34

Compression:

Stored size: 471 Bytes

Contents

module Workarea
  module Admin
    class StatusReportMailer < Admin::ApplicationMailer
      add_template_helper(InsightsHelper)

      def report(emails, date)
        @alerts = AlertsViewModel.wrap(Alerts.new)
        @date = date
        @dashboard = Dashboards::IndexViewModel.new

        mail(
          bcc: emails,
          from: Workarea.config.email_from,
          subject: t('workarea.admin.status_report_mailer.title')
        )
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

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