Skip to content

Commit

Permalink
Hides interview slot when filled
Browse files Browse the repository at this point in the history
  • Loading branch information
pkfoury committed Jun 27, 2018
1 parent 76658ac commit 4d06295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/interview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<select class="form-control" id="inputSlot" name="slot">
<option disabled selected>Please select a slot</option>
@foreach($slots as $interview)
@if($interview->applicationsCount < 3)
@if($interview->applicationsCount < 1)
<option value="{{$interview->id}}">{{$interview->formattedDay}} from {{$interview->formattedStartTime}} to {{$interview->formattedEndTime}}</option>
@endif
@endforeach
Expand Down

1 comment on commit 4d06295

@kedarv
Copy link
Member

@kedarv kedarv commented on 4d06295 Jul 19, 2018

Choose a reason for hiding this comment

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

Can this be converted into an env variable / something configurable? Would be a nice upstream contribution!

Please sign in to comment.