@extends('layouts.admin.master') @section('title') Member Category Details @endsection @section('content')

Member Category Details

Back

Name

{{ $memberCategory->name }}

Status

{{ $memberCategory->status ? 'Active' : 'Inactive' }}

Description

{{ $memberCategory->description ?: 'No description provided' }}

Created At

{{ $memberCategory->created_at->format('d M Y, h:i A') }}

Last Updated

{{ $memberCategory->updated_at->format('d M Y, h:i A') }}

@if($memberCategory->personalInformations->count() > 0)
Members in this Category
@foreach($memberCategory->personalInformations as $index => $personalInfo) @endforeach
# Member Name Email Mobile Created At
{{ $index + 1 }} {{ $personalInfo->full_name_english ?: $personalInfo->user->name }} {{ $personalInfo->email ?: $personalInfo->user->email }} {{ $personalInfo->mobile_no ?: $personalInfo->user->phone }} {{ $personalInfo->created_at->format('d M Y') }}
@else
No Members: This category currently has no members assigned to it.
@endif
@endsection