{{--

 {{ $panel }} List

--}}
{{--
{{ $panel }} Record list on table. Filter {{ $panel }} using the filter.
--}}
@if (isset($data['assignment']) && $data['assignment']->count() > 0) @php($i=1) @foreach($data['assignment'] as $assignment) @php($i++) @endforeach @else @endif
S.N. Question Date Status
{{ $i }} {{ $assignment->title }} {{ \Carbon\Carbon::parse($assignment->publish_date)->format('M d, Y')}} TO {{ \Carbon\Carbon::parse($assignment->end_date)->format('M d, Y')}}
@php($now = date('Y-m-d')) @if($assignment->end_date) @if($assignment->end_date <= $now) @else @endif @endif
@php($approveStatus = $assignment->answers()->where('students_id',$data['student']->id)->first()) @if(isset($approveStatus)) @if( $approveStatus->approve_status == 1) @elseif( $approveStatus->approve_status == 2) @else @endif @else @endif
No {{ $panel }} data found. Please Filter {{ $panel }} to show.