@extends('layouts.app') @section('title', 'Meeting Workflow Audit') @push('stylesheets') @endpush @section('contents')
@php $mwsLifecycleBadgeClasses = [ 'draft' => 'badge-secondary', 'scheduled' => 'badge-info', 'confirmed' => 'badge-primary', 'ongoing' => 'badge-warning', 'completed' => 'badge-success', 'rescheduled' => 'badge-dark', 'missed' => 'badge-danger', 'cancelled' => 'badge-secondary', ]; @endphp

Meeting Workflow / Audit

Trace the complete meeting lifecycle — MoM co-signatory chain, forwarding history, and workflow actions.

Back to workspace

Search & filters

Reset

Meetings

{{ count($meetings) }} result{{ count($meetings) === 1 ? '' : 's' }}
@if ($meetings === [])

No meetings match your filters

Try adjusting the search criteria or reset filters to see all accessible meetings.

@else
@foreach ($meetings as $row) @php $statusVal = (string) ($row['status'] ?? ''); $statusBadge = $mwsLifecycleBadgeClasses[$statusVal] ?? 'badge-secondary'; $mwsTitleFull = trim((string) ($row['title'] ?? '')); $mwsTitleWords = $mwsTitleFull === '' ? [] : preg_split('/\s+/u', $mwsTitleFull, -1, PREG_SPLIT_NO_EMPTY); $mwsTitleWordLimit = 15; $mwsTitleNeedsTruncate = count($mwsTitleWords) > $mwsTitleWordLimit; $mwsTitleTruncated = $mwsTitleNeedsTruncate ? implode(' ', array_slice($mwsTitleWords, 0, $mwsTitleWordLimit)).'...' : $mwsTitleFull; @endphp @endforeach
Reference Meeting Type Date Organizer Status Action
@if (! empty($row['reference_id'])) {{ $row['reference_id'] }} @else @endif
@if ($mwsTitleNeedsTruncate) {{ $mwsTitleTruncated }} {{ $mwsTitleFull }} @else {{ $mwsTitleFull !== '' ? $mwsTitleFull : '—' }} @endif
@if (! empty($row['meeting_type'])) {{ $row['meeting_type'] }} @else @endif {{ $row['meeting_date'] !== '' ? $row['meeting_date'] : '—' }} {{ $row['organizer_name'] !== '' ? $row['organizer_name'] : '—' }} {{ $row['status_label'] ?? ucfirst($statusVal) }} View audit
@endif
@if ($meetings !== []) @endif
@endsection @push('scripts') @endpush