@if (checkData())
@if (is_internship() == 1)
@if (is_permission_letter(auth()->user()->id, my_internship()->id) == 1)
@if (status_permission_letter(auth()->user()->id, my_internship()->id) == 'ACTIVE')
Nama Perusahaan :
{{ my_internship()->name }}
Kota Perusahaan :
{{ my_internship()->city }}
Alamat :
{{ my_internship()->address }}
Tanggal Mulai PKL :
{{ is_date(my_internship()->internship_start_date, 'l, d F Y') }}
Tanggal Selesai PKL :
{{ is_date(my_internship()->internship_end_date, 'l, d F Y') }}
{{-- @if (!is_internship())
@endif --}}
Pembimbing
@foreach (my_internship()->company_mentors as $key)
{{ $key->mentor->name }}
@endforeach
@if (!my_internship()->company_mentors->count())
Pembimbing belum ditentukan.
@endif
Kelompok
@foreach ($studentJoin as $key)
{{ $key->users->fullname == auth()->user()->fullname ? auth()->user()->fullname . ' (Anda)' : $key->users->fullname }} {{ status_internship($key->users->id, my_internship()->id) == 'ACTIVE' ? 'Disetujui' : 'Menunggu Disetujui'}}
@endforeach
@if (status_internship(auth()->user()->id, my_internship()->id) == 'ACTIVE')
{{--
--}}
@if(isset($search['student']) && $search['student'] != '')
@foreach ($searchStudent as $key)
@if(check_internship(encrypt($key->user->id),encrypt(my_internship()->id)) == false)
{{ $key->fullname }}Invite
@endif
@endforeach
@else
{{--
Cari teman dan invite untuk menambah kelompok.
--}}
@endif
@endif
@else
{{-- Upload surat Izin --}}
@endif
@else
@if(status_permission_letter(auth()->user()->id, my_internship()->id) == 'INACTIVE')
Menunggu surat izin orang tua di verifikasi oleh admin.
@endif
@if (is_internship())
@if (status_permission_letter(auth()->user()->id, my_internship()->id) != 'INACTIVE' && status_permission_letter(auth()->user()->id, my_internship()->id) != 'ACTIVE')
Tidak Setuju
Setuju
@endif
@endif
@endif
@else
@if ($state == 'create')
@elseif ($state == 'show')
Nama Perusahaan
{{ $show['name'] ? $show['name'] : '-' }}
Nomor Telepon
{{ $show['number_phone'] ? $show['number_phone'] : '-' }}
Alamat Lengkap
{{ $show['address'] }}
Tanggal Mulai PKL
{{ is_date($show['internship_start_date'], 'l, d F Y') }}
Tanggal Selesai PKL
{{ is_date($show['internship_end_date'], 'l, d F Y') }}
Kegiatan IDUKA
@if ($show['internship_activities'])
@foreach ($show['internship_activities'] as $key)
{{ $key->industrial_activities->activity }}
@endforeach
@else
Kegiatan belum ditambahkan..
@endif
@if (!is_internship())
@if (count_user_internship($show->id) != $show->max_join && count_user_internship($show->id) <= $show->max_join)
@if ($show->status == 'INACTIVE')
Gabung
@endif
@endif
@endif
@else
@foreach ($data as $key)
@endforeach
@if ($data->count() == 0)
Tempat PKL belum tersedia
@endif
@endif
@endif
@else
@endif