Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrolled only #528

Merged
merged 10 commits into from
Feb 6, 2016
Merged

Enrolled only #528

merged 10 commits into from
Feb 6, 2016

Conversation

VandorpeDavid
Copy link
Contributor

Allow tickets to be sold to all students known to FK Enrolment.
Feature requested by Benoit.

Bonus implementation: Allow tickets to be sold to any UGent student.

For UGent students in general or only for students in fkenrolment.
It is probably wise to change permit students/enrolled to members instead of everyone when rolling back.
@@ -4,7 +4,9 @@
<td><%= f.number_field :capacity, class: 'form-control', placeholder: 0 %></td>
<td><%= f.text_field :price, value: number_with_precision(f.object.price, precision: 2), class: 'form-control', placeholder: "0.00" %></td>
<td><%= form_check_box f, :public %></td>
<td width="130px"><%= form_check_box f, :member_only %></td>
<td width="130px">
<%= f.select :permit, AccessLevel.permits.keys.map{|k| [k,k]}, {}, class: 'form-control' %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use f.collection_select here to use the bootstrappy-select-helper.

VandorpeDavid added a commit that referenced this pull request Feb 6, 2016
@VandorpeDavid VandorpeDavid merged commit fc809f9 into ZeusWPI:master Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants