mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
define attendees var
This commit is contained in:
parent
76614b858c
commit
c68126ab1f
1 changed files with 7 additions and 0 deletions
|
|
@ -21,6 +21,13 @@ class Admin::StatsController < ApplicationController
|
|||
@speaker_fields_reg = %w[with_partner need_access other_needs diet arrival departure]
|
||||
|
||||
@supporter_levels = @conference.supporter_levels
|
||||
@tickets = @conference.registrations.find_by_sql("select *
|
||||
from registrations inner join supporter_registrations
|
||||
ON registrations.id = supporter_registrations.registration_id
|
||||
inner join supporter_levels
|
||||
ON supporter_levels.id = supporter_registrations.supporter_level_id
|
||||
where registrations.conference_id = #{@conference.id}")
|
||||
|
||||
end
|
||||
|
||||
def reg_support(level)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue