@php use App\Values; @endphp Formal Letter @if(isset($placeholder) && $placeholder !== '')
@if(isset($kopSuratImagePath))
@endif
{{$agenda->name}}

{{$agenda->description}}

Kepada: {{$placeholder}}

Waktu mulai: {{$agenda->startDateTime}}

Waktu selesai: {{$agenda->endDateTime}}

Ruangan: {{$agenda->building ? $agenda->building->name : ' '}}

Keperluan: {{$agenda->agenda_type_value}}

Keterangan
@endif @if(isset($participants['employees']) && count($participants['employees']) > 0) @foreach($participants['employees'] as $employee)
@if(isset($kopSuratImagePath))
@endif
{{$agenda->name}}

{{$agenda->description}}

Nama : {{$employee->name}}

Waktu mulai: {{$agenda->startDateTime}}

Waktu selesai: {{$agenda->endDateTime}}

Ruangan: {{$agenda->building ? $agenda->building->name : ' '}}

{{--

Keperluan: {{$agenda->agenda_type_value}}

--}}
Keterangan
@endforeach @endif @if(isset($participants['students']) && count($participants['students']) > 0) @foreach($participants['students'] as $student)
@if(isset($kopSuratImagePath))
@endif
{{$agenda->name}}

{{$agenda->description}}

Nama : {{$student->name}}

Waktu mulai: {{$agenda->startDateTime}}

Waktu selesai: {{$agenda->endDateTime}}

Ruangan: {{$agenda->building ? $agenda->building->name : ' '}}

{{--

Keperluan: {{$agenda->agenda_type_value}}

--}}
Keterangan
@endforeach @endif