@extends('layouts.master') @section('mainContent')
Meeting Minutes Details
  • Meeting ID
    {{ $meeting->meeting_id }}
  • Meeting Subject
    {{ $meeting->subject }}
  • Project name
    {{ $meeting->projectData->project_id . ' - ' . $meeting->projectData->project_name }}
  • Meeting called by
    {{ $meeting->meetcallData->first_name . ' - ' . $meeting->meetcallData->last_name }}
  • Date & Time
    {{ \Carbon\Carbon::parse($meeting->date_time)->format('d-M-Y H:i') }}
  • Participants
    @php $participants = $meeting->participants; $participantNames = $participants ->map(function ($participant) { return $participant->user->first_name . ' ' . $participant->user->last_name; }) ->toArray(); $participantLists = implode(',', $participantNames); @endphp {{ $participantLists }}
  • Apologies
    @php $apologyCount = $meeting->apologies_count; $apologies = $meeting->apologies; //$additionalApologiesCount = max(0, $apologyCount - 4); $fullNames = $apologies ->map(function ($apology) { return $apology->user->first_name . ' ' . $apology->user->last_name; }) ->toArray(); $apologyLists = implode(',', $fullNames); @endphp @if ($apologyCount > 0)
    {{ $apologyLists }}
    @else
    N/A
    @endif

Agenda Details

@foreach ($meeting->agendas as $agenda) @php $statusText = isset($agenda->status) ? $agenda->status->status_name : '-'; $colourText = isset($agenda->status) ? $agenda->status->color_name : ''; $actionBy = ($agenda->actionByData->first_name) ? $agenda->actionByData->first_name." ".$agenda->actionByData->last_name : '-'; @endphp @endforeach
Agenda Name Item Discussed Action Discussed Target Date Action By status
{{ $agenda->agenda_name }} {{ $agenda->item_discussed }} {{ $agenda->action_recommend ?? '-' }} {{ ConvertDateFormat($agenda->target_date) }} {{ $actionBy }} {{ $statusText }}
@endsection @section('customModal') @endsection