@extends('layouts.template') @section('content')
Coaching Mentoring
Status Pengajuan : {{$coaching->approve_1}}
Create Date : {{$coaching->create_date}}
Nama Pembimbing (SAM/SAS) : {{$sam->name}}
Nama Supervisor : {{$spv->nama_sdm}}
Lokasi Pertemuan : {{$coaching->places}}

@csrf @method('patch')
@foreach($detailKomitmen as $d) @endforeach
No Pembahasan Mengapa pembahasan itu penting ? Komitmen Type Status Due Date
{{ $loop->iteration }} {{$d->permasalahan}} {{$d->komitmen}} {{$d->reason}} {{$d->cat_permasalahan}} @if(Auth::user()->type_user == 'SPV') {{$d->status}} @else @endif @if(Auth::user()->type_user == 'SPV') {{$d->due_date}} @else @endif
@foreach($detailAnswerSpv as $a)

@endforeach @if($coaching->approve_1 != 'Approved' && Auth::user()->type_user == 'SAM') @csrf @method('patch')
Feedback
@foreach($question as $qu)
@endforeach

@else @if($coaching->approve_1 =='Approved')
Feedback
@foreach($detailAnswerSam as $answerSam)
{{$loop->iteration}}

@endforeach

@endif @endif @if(Auth::user()->type_user == 'SAM')
@endif
@endsection