|
@@ -548,7 +548,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span>{{cn($row,'student_details.country_name.name','')}}</span>
|
|
|
</div>
|
|
|
<div style="font-size: 11px;">
|
|
|
- <span style="color: black;">@if(!empty(cn($row,'student_details.dob'))){{date('d M Y', strtotime(cn($row,'student_details.dob','')))}} @endif</span>
|
|
|
+ <span style="color: black;">@if(!empty($row->student_details->dob)){{date('d M Y', strtotime(cn($row,'student_details.dob','')))}} @else @endif</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
@@ -558,14 +558,18 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div style="font-size: 11px;">
|
|
|
<span>{{cn($row,'teacher_details.designation','')}}</span>
|
|
|
<span>.</span>
|
|
|
- @if(isset($row->teacher_details->department_name))
|
|
|
- <span style="color: black;">{{cn($row,'teacher_details.department_name.name','')}}</span>
|
|
|
+ @if(isset($row->teacher_details->others_department))
|
|
|
+ <span style="color: black;">{{cn($row,'teacher_details.others_department','')}}</span>
|
|
|
@else
|
|
|
- <span style="color: black;">{{cn($row,'teacher_details.others_department','')}}<</span>
|
|
|
+ <span style="color: black;">{{cn($row,'teacher_details.department_name.name','')}}</span>
|
|
|
@endif
|
|
|
</div>
|
|
|
<div style="font-size: 11px;">
|
|
|
- <span style="color: black;">{{cn($row,'teacher_details.university.name','')}}</span>
|
|
|
+ @if($row->teacher_details->university_name)
|
|
|
+ <span style="color: black;">{{cn($row,'teacher_details.university_name','')}}</span>
|
|
|
+ @else
|
|
|
+ <span style="color: black;">{{cn($row,'teacher_details.university.name','')}}</span>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
@@ -853,15 +857,21 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
|
|
|
<span>{{$row->designation}}</span><br>
|
|
|
<span>{{$row->email}}</span>
|
|
|
- </td>
|
|
|
- <td style="font-size: 11px;">{{$row->university_name}}<br>
|
|
|
+ </td>
|
|
|
+ <td style="font-size: 11px;">
|
|
|
+ @if($row->university_name)
|
|
|
+ {{$row->university_name}}
|
|
|
+ @else
|
|
|
+ {{ cn($row, 'university.name','') }}
|
|
|
+ @endif
|
|
|
+ <br>
|
|
|
<span>{{$row->uni_website}}</span>
|
|
|
</td>
|
|
|
- <td style="font-size: 11px;">
|
|
|
- @if(isset($row->department))
|
|
|
- {{ cn($row, 'department_name.name','') }}
|
|
|
+ <td style="font-size: 11px;">
|
|
|
+ @if($row->others_department)
|
|
|
+ {{ $row->others_department }}
|
|
|
@else
|
|
|
- {{ $row->others_department }}
|
|
|
+ {{ cn($row, 'department_name.name','') }}
|
|
|
@endif
|
|
|
</td>
|
|
|
<td style="font-size: 11px; width: 9%;">
|
|
@@ -869,10 +879,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
|
|
|
<span class="top_part_status_name" style="background-color: #d8fdd8; color: green;">
|
|
|
@if($row->apply_status==1)
|
|
|
- Active
|
|
|
+ Approved
|
|
|
@endif
|
|
|
@if($row->apply_status==2)
|
|
|
- In active
|
|
|
+ Terminet
|
|
|
@endif
|
|
|
@if($row->apply_status==3)
|
|
|
Suspend
|
|
@@ -930,7 +940,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<td style="font-size: 11px;">{{++$key}}</td>
|
|
|
<td style="font-size: 11px;"><span style="font-weight: bold !important;">
|
|
|
{{ $row->first_name }} {{ $row->last_name }}
|
|
|
- </span>
|
|
|
+ </span><br>
|
|
|
+ {{$row->email}}
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
|
<div class="scrolled_content_part">
|
|
@@ -944,7 +955,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<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">
|
|
|
- <strong style="font-size:13px;">{{$row->university_name}}</strong></br>
|
|
|
+ @if($row->university_name)
|
|
|
+ <strong style="font-size:13px;">{{$row->university_name}}</strong>
|
|
|
+ @else
|
|
|
+ <strong style="font-size:13px;">{{ cn($row, 'university.name','') }}</strong>
|
|
|
+ @endif
|
|
|
+ <br>
|
|
|
<strong style="font-size:10px !important; font-weight:100 !important;">{{$row->uni_website}}</strong>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -952,10 +968,10 @@ 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', strtotime($row->invitation_date)) }} @else -- @endif</td>
|
|
|
- <td class="text-center" style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y', strtotime($row->registered_date)) }} @else -- @endif</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;">
|
|
|
- <span class="invitation hand tooltips" data-id="{{ $row->id }}" title="Sent Invitation"><i class="fa fa-paper-plane"></i></span>
|
|
|
+ <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>
|
|
|
</tr>
|
|
|
@endforeach
|
|
@@ -984,7 +1000,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<th>Email</th>
|
|
|
<th>Invited on</th>
|
|
|
<th>Registered</th>
|
|
|
- <th class="text-center">Invitation</th>
|
|
|
+ {{-- <th class="text-center">Invitation</th> --}}
|
|
|
</tr>
|
|
|
</thead>
|
|
|
|
|
@@ -997,9 +1013,9 @@ 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', strtotime($row->invitation_date)) }} @else -- @endif</td>
|
|
|
- <td style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y', strtotime($row->registered_date)) }} @else -- @endif</td>
|
|
|
- <td class="text-center">
|
|
|
+ <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 class="text-center">
|
|
|
@php
|
|
|
$user_invited_count = \DB::table('refer_users')->where('email',$row->email)->count();
|
|
|
@endphp
|
|
@@ -1010,7 +1026,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@else
|
|
|
--
|
|
|
@endif
|
|
|
- </td>
|
|
|
+ </td> --}}
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
@else
|
|
@@ -1370,6 +1386,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
$('.invitation').on('click', function(e){
|
|
|
var self =$(this);
|
|
|
var id =$(this).data('id');
|
|
|
+ var send_email =$(this).data('email');
|
|
|
|
|
|
var form_data={
|
|
|
_token:"{{ csrf_token() }}",
|
|
@@ -1377,7 +1394,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
}
|
|
|
swal({
|
|
|
title: "Are you sure?",
|
|
|
- text: "Do you want to send invaitation?",
|
|
|
+ text: "Do you want to send invaitation this " + send_email + "?",
|
|
|
type: "warning",
|
|
|
showCancelButton: true,
|
|
|
confirmButtonClass: "btn btn-md btn-success",
|