@extends('backend.layouts.master') @section('title') Teams @endsection @section('main-content') @include('backend.layouts.notification')
Terms
@if(count($teams)>0) @foreach($teams as $team) @php $teamcat_info=DB::table('team_categories')->select('title')->where('id',$team->team_category_id)->get(); @endphp @endforeach
ID Name Email Photo Status Action
{{$team->id}} {{$team->name}} {{$team->email}} @if($team->photo) {{ Storage::url($team->photo) }} @else avatar.png @endif @if($team->status=='active') {{$team->status}} @else {{$team->status}} @endif
@csrf @method('delete')
@else
No teams found!!! Please add team
@endif
@endsection