Class AttendanceAdmController
In: app/controllers/attendance_adm_controller.rb
Parent: Admin

Methods

Classes and Modules

Class AttendanceAdmController::NotForUs

Constants

Menu = [[_('Choose a timeslot'), :choose_session], [_('Take attendance'), :take], [_('Attendance lists'), :list], [_('Certificate formats'), :certif_formats_list]]

Public Instance methods

Produces the attendance detail for a given timeslot

Lists the registered certificate formats

Generates a certificate for the specified person / conference / format

Produces the list of certificates to be generated for the specified conference according to the minimum required attendance levels

Prompts the user which session to use for taking attendance. By default, shows only active sessions (those for which we are in the tolerance period); all sessions will be shown if params[:show_all] is true.

Gives the attendances detail for the specified person on the specified conference

Generate a sample certificate for the currently logged on user

Presents the number of attendances per timeslot for a given conference, and allows for listing all other past conferences which have timeslots registered

Registers the attendance for a given person / timeslot

Protected Instance methods

Genereates the PDF with the certificates for the people specified as the first parameter, using the format specified as the second parameter.

Get either the conference specified in the parameters, or the latest one with registered timeslots which started already

Draws a box in the PDF for the specified field (CertifFormatLine). This method is basically meant to be called from within certificate_pdf_for.

[Validate]