@extends('doctor.layouts.app') @section('content') {{-- Logo Marquee --}} @include('doctor.logos')
{{-- Tabs --}}
{{-- UPCOMING --}}
@foreach ($matches as $match)
@if(App\Models\Prediction::where('match_id',$match->match_id) ->where('doctor_id',Auth::guard('enroll_doctor')->user()->doctorid)->exists()) Predicted @endif
{{ $match->match_type }}
{{ $match->mt1shortname }}

{{ $match->match_started ? 'Live' : date('h:i A', strtotime($match->date_time_gmt.' +5 hours 30 minutes')) }}

{{ date('d M Y, H:i', strtotime($match->date_time_gmt.' +5 hours 30 minutes')) }}
View Details
{{ $match->mt2shortname }}
@endforeach
{{-- LIVE --}}
@if($livematches->count()) @foreach ($livematches as $match)
{{ $match->match_type }}
{{ $match->mt1shortname }}

{{ $match->match_ended ? 'ENDED' : 'LIVE' }}

{{ date('d M Y, H:i', strtotime($match->date_time_gmt.' +5 hours 30 minutes')) }}
View Details
{{ $match->mt2shortname }}
@endforeach @else

No Live Match Right Now

@endif
{{-- END --}}
@foreach ($endmatches as $match)
{{ $match->match_type }}
{{ $match->mt1shortname }}

ENDED

{{ date('d M Y, H:i', strtotime($match->date_time_gmt.' +5 hours 30 minutes')) }}
View Details
{{ $match->mt2shortname }}
@endforeach
@endsection