@section('title', 'Detail Rekapitulasi')

Detail Rekapitulasi


I. Data Awal

  1. Judul Penelitian

    {{ $research->research_title ?? '-' }}
  2. Tempat Penelitian

    {{ $research->research_place ?? '-' }}
  3. Kategori Penelitian

    {{ $research->researchCategory?->name ?? '-' }}
  4. TIPE PENELITIAN

    @if ($research->research_type) @if ($research->research_type == 'full-board')
    Full Board
    @elseif($research->research_type == 'expedited')
    Expedited
    @endif @else

    Belum Dipilih Sekretaris

    @endif

II. Protokol

    @foreach ($research_questions as $result) @if ($research_answers[$result->id]['answer'] || $research_answers[$result->id]['old_file_uploaded'])
  1. {{ $result->title }}

    @if (in_array($result->input_type, ['text', 'color', 'email', 'tel', 'time', 'textarea', 'radio', 'date']))
    {{ $research_answers[$result->id]['answer'] }}
    @elseif($result->input_type == 'checkbox') @foreach ($result->researchQuestionAnswers as $ans => $item)
    @endforeach @elseif($result->input_type == 'file')
    {{ asset('storage/' . $research_answers[$result->id]['old_file_uploaded']) }}
    @endif
  2. @endif @endforeach