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