|
@@ -621,7 +621,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="col-md-12 mb-4" style="padding: 0px; margin-top: -2.4rem; ">
|
|
|
<ul class="nav nav-pills flex-column flex-sm-row d-md-inline-flex nav-justified mb-0 rounded-top position-relative overflow-hidden" id="pills-tab" role="tablist">
|
|
|
<li class="nav-item m-1 ms-2 tech">
|
|
|
- <a class="nav-link active rounded" id="student-register" data-bs-toggle="pill" href="#registers" role="tab" aria-controls="registers" aria-selected="false" style="width:114px;">
|
|
|
+ <a class="nav-link active rounded" id="student-pending" data-bs-toggle="pill" href="#student_pending" role="tab" aria-controls="student_pending" aria-selected="false" style="width:114px;">
|
|
|
+ Pending
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ <li class="nav-item m-1 ms-2 tech">
|
|
|
+ <a class="nav-link rounded" id="student-register" data-bs-toggle="pill" href="#registers" role="tab" aria-controls="registers" aria-selected="false" style="width:114px;">
|
|
|
Registered
|
|
|
</a>
|
|
|
</li>
|
|
@@ -638,7 +643,73 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="tab-content" id="pills-tabContent">
|
|
|
- <div class="card border-0 tab-pane fade show active" id="registers" role="tabpanel" aria-labelledby="student-register">
|
|
|
+
|
|
|
+ <div class="card border-0 tab-pane fade show active" id="student_pending" role="tabpanel" aria-labelledby="student-pending">
|
|
|
+ <div class="row align-items-center">
|
|
|
+ <div class="col-md-12">
|
|
|
+ <div class="table-responsive">
|
|
|
+ <table class="table table-bordered list_table" style="margin: 0px;">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Sl</th>
|
|
|
+ <th>Name</th>
|
|
|
+ <th>Email</th>
|
|
|
+ {{-- <th>Signed Up</th>
|
|
|
+ <th class="text-center">Application</th> --}}
|
|
|
+ <th class="text-center" style="width: 12%;">Action</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @if(count($pending_student_list) > 0)
|
|
|
+ @foreach($pending_student_list as $key=>$row)
|
|
|
+ <tr>
|
|
|
+ <td style="font-size: 11px;">{{++$key}}</td>
|
|
|
+ <td style="font-size: 11px;">
|
|
|
+ <div class="scrolled_content_part">
|
|
|
+ <div class="single_ad_pref_item">
|
|
|
+ <div class="left" style="width:50%;">
|
|
|
+ <div class="uni_details" style="display:flex;">
|
|
|
+ {{-- @if($row->nationality)
|
|
|
+ <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 35px;width: 35px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'country_name.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
|
|
|
+ @endif --}}
|
|
|
+ <div class="inner_right ms-2 mt-1">
|
|
|
+ <strong style="font-size:13px;">{{$row->first_name}} {{$row->last_name }}</strong></br>
|
|
|
+ @if(!empty($row->invitation_date)){{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else @endif
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td style="font-size: 11px;">{{$row->email}}
|
|
|
+ <div class="mt-1">
|
|
|
+ {{-- @if($row->email_verification ==1)
|
|
|
+ <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">verified</span>
|
|
|
+ @else
|
|
|
+ <span class="label_badge_radius" style="background-color: #f9edc7; color: rgb(228, 139, 38);">pending</span>
|
|
|
+ @endif --}}
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ @else
|
|
|
+ <tr>
|
|
|
+ <td colspan="6" class="text-center">
|
|
|
+ <span class="text-danger">No data found!</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endif
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="text-center mt-1" id="pagination">
|
|
|
+ {{-- {{ $register_student_list->appends(request()->all())->links('pagination::bootstrap-4') }} --}}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="card border-0 tab-pane fade show" id="registers" role="tabpanel" aria-labelledby="student-register">
|
|
|
<div class="row align-items-center">
|
|
|
<div class="col-md-12">
|
|
|
<div class="table-responsive">
|
|
@@ -692,7 +763,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@endif
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td style="font-size: 11px;">@if(!empty($row->registered_date)){{date('d M Y h:i A', strtotime($row->registered_date))}} @else @endif</td>
|
|
|
+ <td style="font-size: 11px;">@if(!empty($row->registered_date)){{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else @endif</td>
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
|
@php
|
|
|
$total_draft =\DB::table(
|
|
@@ -1005,8 +1076,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td class="text-center" style="font-size: 11px;">@if(!empty($row->invitation_date)) {{ date('d M Y H:i:A', strtotime($row->invitation_date)) }} @else -- @endif</td>
|
|
|
- <td class="text-center" style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y H:i:A', strtotime($row->registered_date)) }} @else -- @endif</td>
|
|
|
+ <td class="text-center" style="font-size: 11px;">@if(!empty($row->invitation_date)) {{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
|
|
|
+ <td class="text-center" style="font-size: 11px;">@if(!empty($row->registered_date)) {{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
|
|
|
<td class="text-center" style="font-size: 11px;">
|
|
|
<span class="invitation hand tooltips" data-id="{{ $row->id }}" data-email="{{$row->email}}" title="Sent Invitation"><i class="fa fa-paper-plane"></i></span>
|
|
|
</td>
|
|
@@ -1050,8 +1121,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<td style="font-size: 11px; width: 30%;">
|
|
|
{{ $row->email }}
|
|
|
</td>
|
|
|
- <td style="font-size: 11px;">@if(!empty($row->invitation_date)) {{ date('d M Y H:i:A', strtotime($row->invitation_date)) }} @else -- @endif</td>
|
|
|
- <td style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y H:i:A', strtotime($row->registered_date)) }} @else -- @endif</td>
|
|
|
+ <td style="font-size: 11px;">@if(!empty($row->invitation_date)) {{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
|
|
|
+ <td style="font-size: 11px;">@if(!empty($row->registered_date)) {{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
|
|
|
{{-- <td class="text-center">
|
|
|
@php
|
|
|
$user_invited_count = \DB::table('refer_users')->where('email',$row->email)->count();
|