@php
$researcherMember = $result->researchers()->where('position', 'ketua')->first();
$researcher = $researcherMember?->researcher;
$researcher_detail = $researcher?->researcherDetail;
@endphp
| {{ $research->currentPage() * $perPage - $perPage + $loop->iteration }} |
{{ $result->number }} |
{{ Str::limit($result->research_title, 20) }} |
{{ $researcher->name ?? '-' }} |
{{ $researcher_detail?->degree?->name ?: $researcher_detail?->other_degree ?: '-' }} |
{{ $result->researchCategory?->name == 'Manusia Sebagai Subyek' ? 'Ya' : '-' }} |
{{ $result->researchCategory?->name == 'Non Klinik' ? 'Ya' : '-' }} |
{{ $result->researchCategory?->name == 'Hewan Coba' ? 'Ya' : '-' }} |
{{ $result->researchCategory?->name == 'Non Klinik' ? '-' : 'Melibatkan' }} |
{{ Str::limit($result->research_place, 20) }} |
{{ $result->research_type == 'exempted' ? 'Ya' : '-' }} |
{{ $result->research_type == 'expedited' ? 'Ya' : '-' }} |
{{ $result->research_type == 'full-board' ? 'Ya' : '-' }} |
@if (count($result->researchReviewers))
{{ Str::limit($result->researchReviewers->pluck('user.name')->join(', '), 20, '...') }}
@else
-
@endif
|
@if ($result->status === 'done')
Selesai
@elseif ($result->status === 'rejected')
Ditolak
@elseif ($result->status === 'awaiting-admin-verification')
Verifikasi Admin
@elseif ($result->status === 'awaiting-secretary-verification')
Verifikasi Sekretaris
@elseif ($result->status === 'under-review')
Ditinjau Penelaah
@elseif ($result->status === 'revision')
Direvisi
@else
{{ ucfirst(str_replace('-', ' ', $result->status)) }}
@endif
|
{{ $result->researchHistories()->where('description', 'like', '%' . 'Sekretaris' . '%')->orderBy('id', 'asc')->first()?->created_at?->format('d/m/Y') ?? '' }} |
{{ $result->done_at?->format('d/m/Y') ?? '-' }} |
{{ $result->amandments->count() }} |
0 |
- |
- |
@empty