@if(!empty($staffs)) @foreach($staffs as $staff)
@if( !empty($staff->avatar) ) @else @endif
{{ $staff->fname}} {{$staff->lname }}

{{ $staff->branchname }}

{{ $staff->position }}

@if( $staff->permissions == "read_write_delete") Read, Edit & Delete @elseif( $staff->permissions == "read_write") Read & Edit @else Read Only @endif

@endforeach @else

It's empty here!

@endif