Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #condition #view #page #laravel
ADD COMMENT
Topic
Name
7+2 =