if condition view page of laravel
@if($user->status =='waiting')
<td>
<a href="#" class="viewPopLink btn btn-default1" role="button" data-id="{{ $user->travel_id }}" data-toggle="modal" data-target="#myModal">
Approve/Reject
<a>
</td>
@else
<td>
{{ $user->status }}
</td>
@endif