Thursday, February 9, 2012

Adding a New Report

Adding new reports for ASC is straightforward, though not yet automated. This example illustrates adding the TutorDropInReport.

  1. Add entry to routes file:
    resources :tutor_drop_in_reports, :controller => "tutor_reports"
  2. Create empty model TutorDropInReport that extends Report.
  3. Create ReportType entry. See seeds.rb
  4. Create field descriptors. See seeds.rb
  5. Add to menu view, views/organizations/orgs/AcademicSkillsCenterOrganization/_reports_menu.html.erb
  6. Add to MY_REPORTS in models/academic_skills_center_organization.rb
  7. Update config/locales/en.yml

No comments:

Post a Comment