Adding new reports for ASC is straightforward, though not yet automated. This example illustrates adding the TutorDropInReport.
- Add entry to routes file:
resources :tutor_drop_in_reports, :controller => "tutor_reports"
- Create empty model
TutorDropInReport
that extends Report.
- Create ReportType entry. See seeds.rb
- Create field descriptors. See seeds.rb
- Add to menu view, views/organizations/orgs/AcademicSkillsCenterOrganization/_reports_menu.html.erb
- Add to MY_REPORTS in models/academic_skills_center_organization.rb
- Update config/locales/en.yml
No comments:
Post a Comment