|
@@ -701,6 +701,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
'student_id',$row->id
|
|
'student_id',$row->id
|
|
)->where(
|
|
)->where(
|
|
'proposal_submit_status',0
|
|
'proposal_submit_status',0
|
|
|
|
+ )->where(
|
|
|
|
+ 'draft_status',1
|
|
)->count();
|
|
)->count();
|
|
|
|
|
|
$total_submitted =\DB::table(
|
|
$total_submitted =\DB::table(
|
|
@@ -709,11 +711,13 @@ tbody, td, tfoot, th, thead, tr {
|
|
'student_id',$row->id
|
|
'student_id',$row->id
|
|
)->where(
|
|
)->where(
|
|
'proposal_submit_status',1
|
|
'proposal_submit_status',1
|
|
|
|
+ )->where(
|
|
|
|
+ 'draft_status',0
|
|
)->count();
|
|
)->count();
|
|
@endphp
|
|
@endphp
|
|
<div>
|
|
<div>
|
|
<span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">
|
|
<span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">
|
|
- @if($total_draft > 1)
|
|
|
|
|
|
+ @if($total_draft > 0)
|
|
{{$total_draft}}
|
|
{{$total_draft}}
|
|
@else
|
|
@else
|
|
{{'0'}}
|
|
{{'0'}}
|
|
@@ -724,7 +728,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
<div class="mt-1">
|
|
<div class="mt-1">
|
|
|
|
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">
|
|
- @if($total_submitted > 1)
|
|
|
|
|
|
+ @if($total_submitted > 0)
|
|
{{$total_submitted}}
|
|
{{$total_submitted}}
|
|
@else
|
|
@else
|
|
{{'0'}}
|
|
{{'0'}}
|
|
@@ -776,7 +780,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
<td style="font-size: 11px;">{{$key+1}}</td>
|
|
<td style="font-size: 11px;">{{$key+1}}</td>
|
|
<td style="font-size: 11px;">{{$row->first_name}} {{$row->last_name}}</td>
|
|
<td style="font-size: 11px;">{{$row->first_name}} {{$row->last_name}}</td>
|
|
<td style="font-size: 11px;">{{$row->email}}</td>
|
|
<td style="font-size: 11px;">{{$row->email}}</td>
|
|
- <td style="font-size: 11px;">{{date('y M', strtotime($row->invitation_date))}}</td>
|
|
|
|
|
|
+ <td style="font-size: 11px;">@if(!empty($row->invitation_date)){{date('y M', strtotime($row->invitation_date))}} @else @endif</td>
|
|
<td style="font-size: 11px;">
|
|
<td style="font-size: 11px;">
|
|
@php
|
|
@php
|
|
$reffered_by =\DB::table('users')->find($row->created_by);
|
|
$reffered_by =\DB::table('users')->find($row->created_by);
|
|
@@ -790,7 +794,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Yes</span><br>
|
|
<span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Yes</span><br>
|
|
<span>{{date('y M', strtotime($row->registered_date))}}</span>
|
|
<span>{{date('y M', strtotime($row->registered_date))}}</span>
|
|
@else
|
|
@else
|
|
- <span class="label_badge_radius" style="background-color: #d8fdd8; color: rgb(230, 13, 13);">No</span><br>
|
|
|
|
|
|
+ <span class="label_badge_radius" style="background-color: #d8fdd8; color: rgb(230, 13, 13);">--</span><br>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
</td>
|
|
</td>
|