|
@@ -659,9 +659,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="single_ad_pref_item">
|
|
|
<div class="left" style="width:50%;">
|
|
|
<div class="uni_details" style="display:flex;">
|
|
|
- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
|
|
|
+ {{-- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
|
|
|
<i class="fa fa fa-university ms-1"></i>
|
|
|
- </div>
|
|
|
+ </div> --}}
|
|
|
+ @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>
|
|
|
<strong style="font-size:10px !important; font-weight:100 !important;"><i class="fa fa-birthday-cake" style="color: #908f8f;"></i><span class="ms-1">@if($row->dob){{date('d M Y',strtotime($row->dob))}} @endif</span></strong>
|
|
@@ -681,19 +684,29 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">{{$row->email}}
|
|
|
<div class="mt-1">
|
|
|
- <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">verified</span>
|
|
|
+ @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>
|
|
|
<!-- <div>
|
|
|
<span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">pending</span>
|
|
|
</div> -->
|
|
|
</td>
|
|
|
- <td style="font-size: 11px;">{{date('d M Y', strtotime($row->created_at))}}</td>
|
|
|
+ <td style="font-size: 11px;">{{date('d M Y h:i A', strtotime($row->created_at))}}</td>
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
|
+ @php
|
|
|
+ $total_std_proposal =\DB::table('proposal')->where('student_id',$row->id)->count();
|
|
|
+ $total_submitted_proposal =\DB::table('student_proposals')->where('student_id',$row->id)->count();
|
|
|
+ @endphp
|
|
|
<div>
|
|
|
- <span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">4</span>
|
|
|
+ <span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">
|
|
|
+ {{$total_std_proposal}}
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<div class="mt-1">
|
|
|
- <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">4</span>
|
|
|
+ <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">{{$total_submitted_proposal}}</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
@@ -710,6 +723,9 @@ tbody, td, tfoot, th, thead, 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>
|
|
@@ -910,21 +926,28 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
+ @if(count($landing_wishlist) >0)
|
|
|
+ @foreach($landing_wishlist as $key=>$row)
|
|
|
<tr>
|
|
|
- <td style="font-size: 11px;">1</td>
|
|
|
- <td style="font-size: 11px;"><span style="font-weight: bold !important;">name</span>
|
|
|
+ <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>
|
|
|
</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;">
|
|
|
- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
|
|
|
+ {{-- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
|
|
|
<i class="fa fa fa-university ms-1"></i>
|
|
|
- </div>
|
|
|
+ </div> --}}
|
|
|
+ @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">
|
|
|
- <strong style="font-size:13px;">university_name</strong></br>
|
|
|
- <strong style="font-size:10px !important; font-weight:100 !important;">uni_website</strong>
|
|
|
+ <strong style="font-size:13px;">{{$row->university->name}}</strong></br>
|
|
|
+ <strong style="font-size:10px !important; font-weight:100 !important;">{{$row->uni_website}}</strong>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -933,13 +956,18 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</td>
|
|
|
<td class="text-center" style="font-size: 11px;">invitation date</td>
|
|
|
<td class="text-center" style="font-size: 11px;">signedup date</td>
|
|
|
- <td class="text-center" style="font-size: 11px;">mail sd icn</td>
|
|
|
+ <td class="text-center" style="font-size: 11px;">
|
|
|
+ <span class="invitation hand" data-id="{{ $row->id }}"><i class="fa fa-paper-plane"></i></span>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
- <!-- <tr>
|
|
|
- <td colspan="5" class="text-center">
|
|
|
+ @endforeach
|
|
|
+ @else
|
|
|
+ <tr>
|
|
|
+ <td colspan="6" class="text-center">
|
|
|
<span class="text-danger">No data found!</span>
|
|
|
</td>
|
|
|
- </tr> -->
|
|
|
+ </tr>
|
|
|
+ @endif
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
@@ -1326,6 +1354,43 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
});
|
|
|
|
|
|
|
|
|
+ $('.invitation').on('click', function(e){
|
|
|
+ var self =$(this);
|
|
|
+ var id =$(this).data('id');
|
|
|
+
|
|
|
+ var form_data={
|
|
|
+ _token:"{{ csrf_token() }}",
|
|
|
+ 'id':id,
|
|
|
+ }
|
|
|
+ swal({
|
|
|
+ title: "Are you sure?",
|
|
|
+ text: "Do you want to send invaitation?",
|
|
|
+ type: "warning",
|
|
|
+ showCancelButton: true,
|
|
|
+ confirmButtonClass: "btn btn-md btn-success",
|
|
|
+ cancelButtonClass: 'btn btn-md btn-danger',
|
|
|
+ confirmButtonText: "Yes"
|
|
|
+ }, function(isConfirm){
|
|
|
+
|
|
|
+ if(isConfirm) {
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'landing_invitation_email_send'])}}" ,form_data).done(function(res){
|
|
|
+
|
|
|
+ pop_up_msg(res.msg);
|
|
|
+ }).fail(function(error){
|
|
|
+
|
|
|
+ let msg='Sorry!, form submission failed try again later.';
|
|
|
+
|
|
|
+ if(error.responseJSON.msg){
|
|
|
+ msg=error.responseJSON.msg;
|
|
|
+ }
|
|
|
+
|
|
|
+ pop_up_msg(msg, 'error');
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
fetch_sub_content(
|
|
|
'#country_wise_university',
|
|
|
"{{ route('sub-content', ['name'=>'country_wise_university']) }}"
|