@extends('front.layouts.main') @section('content')


@if (Auth::user()->role == 'supmin') @endif @foreach($data as $key => $item) @if (Auth::user()->role == 'supmin') @endif @endforeach
ID Name Email Phone Date Of BirthTeamPermissions Action
{{$key + 1}} {{$item->name}} {{$item->email}} {{$item->phone}} {{$item->dob}}{{$item->current_team_id}} Edit Delete
@endsection @section('js') @endsection