@extends('layout') @section('body')
@include('partials.dosen-sidebar')
← Mahasiswa

{{ $student->name }}

{{ $student->nim }} · {{ $student->level }} {{ $student->study_program }} · {{ $student->phone }}

{{ $student->status }}
@if(session('ok'))
{{ session('ok') }}
@endif@if($errors->any())
{{ $errors->first() }}
@endif@if($student->status==='pending')

Pendaftar Baru

{{ $student->research_title }}

@csrf
@csrf
@endif
Penelitian

{{ $student->research_title }}

Tahap: {{ $student->research_stage ?: '-' }} · Metode: {{ $student->research_method ?: '-' }}

Kendala utama:
{{ $student->main_obstacles ?: '-' }}

Waktu penelitian:
{{ $student->research_availability ?: '-' }}

Aktivitas: {{ $student->activity_type ?: '-' }} @if($student->workplace) · {{ $student->workplace }} @endif

Kontrol Progress

{{ $supervision?->progress_percent ?? 0 }}% · Menunggu: {{ $supervision?->waiting_for ?? '-' }}

Next action
{{ $supervision?->next_action ?: '-' }}

@csrf

Bimbingan Masuk & Riwayat

@forelse($sessions as $x)
{{ $x->status }} {{ $x->created_at->format('d M Y H:i') }}
{{ $x->channel }}

Yang dikerjakan:
{{ $x->work_done ?: '-' }}

Pertanyaan:
{{ $x->questions ?: '-' }}

Kendala:
{{ $x->obstacles ?: '-' }}

@if($x->document_url)

Buka dokumen ↗

@endif @if($x->lecturer_feedback)
Respons dosen:
{{ $x->lecturer_feedback }}
@endif @if($x->status==='submitted')
@csrf
@endif
@empty

Belum ada sesi bimbingan.

@endforelse

Kirim Catatan Revisi

@csrf

Riwayat Revisi

@forelse($revisions as $r)
{{ $r->title }}{{ $r->status }}
Dibuka: {{ $r->opened_at?->format('d M H:i') ?: 'belum' }} · Konfirmasi: {{ $r->acknowledged_at?->format('d M H:i') ?: 'belum' }}
@foreach($r->items as $it)
{{ $it->is_completed?'☑':'☐' }}
{{ $it->instruction }} @if($it->is_verified)terverifikasi@elseif($it->is_completed)
@csrf
@endif
@endforeach
@empty

Belum ada revisi.

@endforelse

Diari Penelitian

@forelse($diaries as $d)
{{ $d->entry_date->format('d M Y') }} · {{ $d->title }}

{{ $d->progress }}

Rencana: {{ $d->next_plan }}
@empty

Belum ada diari.

@endforelse

Bank Referensi

@forelse($references as $ref)
{{ $ref->title }}
{{ $ref->authors }} {{ $ref->year }}
@if($ref->url)Sumber ↗@endif
@empty

Belum ada referensi.

@endforelse
@endsection