@extends('adminlte::page')
@section('title', 'Match #' . $match->id)
@section('content_header')
@stop
@section('content')
- ID
- {{ $match->id }}
- Member
-
{{ $match->member->name }}
({{ $match->member->email }})
- Matched With
-
{{ $match->matchedMember->name }}
({{ $match->matchedMember->email }})
- Status
-
@php
$badgeClass = match($match->status) {
'active' => 'success',
'expired' => 'secondary',
'blocked' => 'danger',
default => 'secondary',
};
@endphp
{{ ucfirst($match->status) }}
- Unread Count
- {{ $match->unread_count }}
- Reported
-
@if($match->is_reported)
Yes
@else
No
@endif
- Last Message
- {{ $match->last_message_at?->format('M d, Y H:i') ?? '—' }}
- Created
- {{ $match->created_at->format('M d, Y H:i') }}
- Last Updated
- {{ $match->updated_at->format('M d, Y H:i') }}
@stop