@extends('supervisor.layouts.master') @section('content')
@if(count($refer_users) > 0) @foreach($refer_users as $key=>$row) @endforeach @else @endif
Sl Name Email Invited on Applied Channel Total Invited
{{$key+1}} {{$row->first_name }} {{$row->last_name }} {{$row->email}} @if(!empty($row->invitation_date)) {{ date('d M Y h.i A', strtotime($row->invitation_date)) }} @else -- @endif @php $teacher_id =\Auth::guard('teacher')->user()->id; $submitted =\DB::table('student_proposals')->where( 'student_id',$row->id )->where( 'teacher_id',$teacher_id )->where( 'proposal_submit_status',1 )->orderBy('id','DESC')->first(); @endphp @if(!empty($submitted->submitted_date)) {{ date('d M Y h.i A', strtotime($submitted->submitted_date)) }} @else -- @endif @if($row->register_type==3) Q-Apply @else -- @endif @php $user_invited_count = \DB::table('refer_users')->where('email',$row->email)->count(); @endphp @if($user_invited_count > 1) {{ $user_invited_count }} @else -- @endif
No data found!
@endsection @push('js') @endpush