Skip to content

Commit

Permalink
Merge pull request 4jean#20 from shailesh-matariya/master
Browse files Browse the repository at this point in the history
parent_id fix on edit student page
  • Loading branch information
4jean authored Mar 17, 2021
2 parents 7c65701 + 45bb6f0 commit c67f61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/pages/support_team/students/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<select data-placeholder="Choose..." name="my_parent_id" id="my_parent_id" class="select-search form-control">
<option value=""></option>
@foreach($parents as $p)
<option {{ (Qs::hash($sr->parent_id) == Qs::hash($p->id)) ? 'selected' : '' }} value="{{ Qs::hash($p->id) }}">{{ $p->name }}</option>
<option {{ (Qs::hash($sr->my_parent_id) == Qs::hash($p->id)) ? 'selected' : '' }} value="{{ Qs::hash($p->id) }}">{{ $p->name }}</option>
@endforeach
</select>
</div>
Expand Down

0 comments on commit c67f61e

Please sign in to comment.