{{ __('Session Details') }}

{{ $activeDetail->status }}
{{ __('Started') }}
{{ $activeDetail->started_at_tz?->diffForHumans() ?? '-' }}
{{ __('Ended') }}
{{ $activeDetail->ended_at_tz?->diffForHumans() ?? '-' }}
{{ __('Duration') }}
@if ($activeDetail->duration) @php $minutes = floor($activeDetail->duration / 60); $seconds = $activeDetail->duration % 60; @endphp {{ $minutes }}m {{ $seconds }}s @else - @endif
{{ __('Participants') }}
{{ $activeDetail->meetingLogs->count() }}
@if (!empty($activeDetail->summary))
{!! $activeDetail->summary !!}
@else

{{ __('No summary available') }}

{{ __('Summary is not available for this session.') }}

@endif
@if (!empty($activeDetail->transcription)) @php $transcriptions = json_decode($activeDetail->transcription, true) ?? []; @endphp @if (count($transcriptions))
@foreach ($transcriptions as $item) @foreach ($item as $speaker => $text)
{{ ucfirst($speaker) }} :
{{ $text }}
@endforeach @endforeach
@else

{{ __('No transcription available') }}

{{ __('Transcription data is empty for this session.') }}

@endif @else

{{ __('No transcription available') }}

{{ __('Transcription is not available for this session.') }}

@endif
@if ($activeDetail->meetingLogs->count())
@foreach ($activeDetail->meetingLogs as $log) @endforeach
{{ __('Participant') }} {{ __('Status') }} {{ __('Joined At') }} {{ __('Left At') }} {{ __('Duration') }} {{ __('Role') }}
{{ $log->participant_name ?: __('Unknown Participant') }}
@php $statusClass = match (strtolower($log->status ?? '')) { 'joined' => 'bg-success-lt', 'left' => 'bg-secondary-lt', 'completed' => 'bg-success-lt', 'failed' => 'bg-danger-lt', 'missed' => 'bg-warning-lt', default => 'bg-azure-lt', }; @endphp {{ ucfirst($log->status ?? 'N/A') }} {{ $log->joined_at_tz ? \Carbon\Carbon::parse($log->joined_at_tz)->format('d M Y, h:i A') : '-' }} {{ $log->left_at_tz ? \Carbon\Carbon::parse($log->left_at_tz)->format('d M Y, h:i A') : '-' }} @if (!is_null($log->duration)) @php $hours = floor($log->duration / 3600); $minutes = floor(($log->duration % 3600) / 60); $seconds = $log->duration % 60; @endphp @if ($hours > 0) {{ $hours }}h {{ $minutes }}m {{ $seconds }}s @elseif ($minutes > 0) {{ $minutes }}m {{ $seconds }}s @else {{ $seconds }}s @endif @else - @endif @if ($log->is_moderator) {{ __('Moderator') }} @elseif ($log->user_id) {{ __('Participant') }} @else {{ __('Guest') }} @endif
@else

{{ __('No participants found') }}

{{ __('No participant activity was recorded for this session.') }}

@endif