### Configuration
Preference.create(name: 'END_TIME', value: '2013-11-30 22:30:00+1100')

### Data
ImportUsers.import 'public/gala_tables.xlsx'
puts "Imported #{User.count()} users"
ImportItems.import 'public/gala_content.xlsx'
puts "Imported #{Item.count()} items"

# Staff
staff_table = UserGroup.create(name: "Staff", sort_order: UserGroup.maximum(:sort_order) + 1)
User.create(user_group: staff_table, title: '', first_name: 'iPad', last_name: '', pin: 1515, admin: true)

### Configuration
Preference.create(name: 'END_TIME', value: '2013-11-30 22:30:00+1100')

### Data
ImportUsers.import 'public/gala_tables.xlsx'
puts "Imported #{User.count()} users"
ImportItems.import 'public/gala_content.xlsx'
puts "Imported #{Item.count()} items"

# Staff
staff_table = UserGroup.create(name: "Staff", sort_order: UserGroup.maximum(:sort_order) + 1)
User.create(user_group: staff_table, title: '', first_name: 'iPad', last_name: '', pin: 1515, admin: true)
User.create(user_group: staff_table, title: 'Mr', first_name: 'Bruno', last_name: 'Chauvet', pin: 1234, admin: true)
User.create(user_group: staff_table, title: 'Mrs', first_name: 'Cecile', last_name: 'Reyes-Chauvet', pin: 1234)
User.create(user_group: staff_table, title: 'Mr', first_name: 'Alexis', last_name: 'Bouvot', pin: 1234)
User.create(user_group: staff_table, title: 'Mr', first_name: 'Nicolas', last_name: 'Teulier', pin: 1234)
User.create(user_group: staff_table, title: 'Mr', first_name: 'Denis', last_name: 'Gittar', pin: 1234)

Add staff to user list
Add staff to user list
