class Reporting::Accounting::StudentStatementJob < Reporting::Job
  def process
    student = @school.students.find(@params['id'])
    @tmp_file = Pdf::Accounting::StudentStatementService.call(student, @params)
    @filename = "accounting_student_statements_#{timestamp}.pdf"
    save_to_user
    send_report
  end
end
