|
@ -436,7 +436,8 @@ class ConferencesController < ApplicationController |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
@registrations.each do |r| |
|
|
@registrations.each do |r| |
|
|
if r.is_attending |
|
|
if r && r.is_attending |
|
|
|
|
|
begin |
|
|
@total_registrations += 1 |
|
|
@total_registrations += 1 |
|
|
|
|
|
|
|
|
@donation_count += 1 if r.registration_fees_paid |
|
|
@donation_count += 1 if r.registration_fees_paid |
|
@ -484,6 +485,10 @@ class ConferencesController < ApplicationController |
|
|
:other => r.other || '' |
|
|
:other => r.other || '' |
|
|
} |
|
|
} |
|
|
end |
|
|
end |
|
|
|
|
|
rescue |
|
|
|
|
|
logger.info "Error adding row to stats.xls" |
|
|
|
|
|
logger.info "\t#{r ? r.to_yaml.to_s : 'nil'}" |
|
|
|
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|