Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added all registrant list on the check-in page
ij committed Apr 6, 2017
1 parent d3e9961 commit 3b7b089
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/sf/reg_registration.rb
@@ -134,6 +134,12 @@ def self.all_processed(code)
self.query(where_stmt, order_stmt)
end

def self.all_for_check_in(code)
where_stmt = "event_code__c = \'#{code}\' and status__c = \'processed\'"
order_stmt = self.order_by(last_name__c: "ASC")
self.query_with_reg_item_codes(where_stmt, order_stmt)
end

def self.all_checked_in(code)
where_stmt = "event_code__c = \'#{code}\' and check_in_at__c != null"
order_stmt = self.order_by(last_name__c: "ASC")

0 comments on commit 3b7b089

Please sign in to comment.