@extends('layout') @section('title', $research->title) @section('content')

{{ $research->title }}

Kategori: {{ $research->category->category_name ?? '-' }}
Diterbitkan: {{ $research->publish_date?->translatedFormat('d M Y') ?? '-' }}
Diterbitkan

Kata Kunci

@if(!empty($research->keywords))
@foreach($research->keywords as $keyword) {{ $keyword }} @endforeach
@endif

Dokumen Penelitian

@if($research->files && $research->files->count())
@foreach($research->files as $file) @php $unlock = in_array($file->section, ['cover', 'abstrak', 'daftarisi', 'bab1', 'references']); @endphp
@if(Str::endsWith($file->file_name, '.pdf')) PDF @elseif(Str::endsWith($file->file_name, '.txt')) TXT @else DOC @endif

{{ $file->formatted_section }}

@if($unlock) Preview @else Terkunci @endif
@endforeach
@else

Tidak ada dokumen tersedia.

@endif

Statistik Views

Kembali
@endsection @push('meta') @foreach($research->authors as $author) @if(!empty($author->affiliation)) @endif @endforeach @if($research->publish_date) @endif @foreach($research->authors as $author) @endforeach @if(!empty($research->keywords)) @foreach($research->keywords as $keyword) @endforeach @endif @php $coverPdf = optional( $research->files ->where('section', 'cover') ->first() ); @endphp @if($coverPdf) @endif @endpush @push('scripts') @endpush