<?php $__env->startSection('title', __('dashboard.member_details')); ?>

<?php $__env->startSection('content'); ?>
<?php if (isset($component)) { $__componentOriginalcb19cb35a534439097b02b8af91726ee = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcb19cb35a534439097b02b8af91726ee = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.page-header','data' => ['title' => ''.e(__('dashboard.member_details')).'','breadcrumbs' => [__('dashboard.members') => route('admin.members.index'), __('dashboard.details') => '']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.page-header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => ''.e(__('dashboard.member_details')).'','breadcrumbs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([__('dashboard.members') => route('admin.members.index'), __('dashboard.details') => ''])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcb19cb35a534439097b02b8af91726ee)): ?>
<?php $attributes = $__attributesOriginalcb19cb35a534439097b02b8af91726ee; ?>
<?php unset($__attributesOriginalcb19cb35a534439097b02b8af91726ee); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcb19cb35a534439097b02b8af91726ee)): ?>
<?php $component = $__componentOriginalcb19cb35a534439097b02b8af91726ee; ?>
<?php unset($__componentOriginalcb19cb35a534439097b02b8af91726ee); ?>
<?php endif; ?>

<div class="row justify-content-center">
    <div class="col-xl-12">
        <!-- Header Card -->
        <div class="card bg-primary bg-gradient mb-4">
            <div class="card-body">
                <div class="d-flex align-items-center">
                    <div class="avatar-lg bg-white bg-opacity-25 rounded d-flex align-items-center justify-content-center me-4" style="width: 80px; height: 80px;">
                        <?php if($member->image): ?>
                            <img src="<?php echo e(asset('storage/' . $member->image)); ?>" alt="<?php echo e($member->name); ?>" class="rounded" style="width: 100%; height: 100%; object-fit: cover;">
                        <?php else: ?>
                            <i class="ri-user-line text-white fs-1"></i>
                        <?php endif; ?>
                    </div>
                    <div>
                        <h3 class="mb-1 text-white"><?php echo e($member->name); ?></h3>
                        <p class="text-white-50 mb-0"><i class="ri-phone-line me-1"></i> <?php echo e($member->phone); ?></p>
                        <?php if($member->email): ?>
                            <p class="text-white-50 mb-0"><i class="ri-mail-line me-1"></i> <?php echo e($member->email); ?></p>
                        <?php endif; ?>
                    </div>

                    <div class="ms-auto text-end">
                        <?php echo \App\Enums\MemberStatusEnum::badge($member->status); ?>

                        <span class="badge bg-info ms-1"><?php echo e(\App\Enums\MemberTypeEnum::label($member->member_type)); ?></span>
                    </div>
                </div>
            </div>
        </div>

        <!-- Info Card -->
        <div class="card mb-4">
            <div class="card-header">
                <h5 class="card-title mb-0"><?php echo e(__('dashboard.general_info')); ?></h5>
            </div>
            <div class="card-body">
                <div class="row">
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.id')).'','value' => $member->id]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.id')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->id)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.name')).'','value' => $member->name]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.name')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->name)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.phone')).'','value' => $member->phone ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.phone')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->phone ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.email')).'','value' => $member->email ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.email')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->email ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.qr_code')).'','value' => $member->qr_code ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.qr_code')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->qr_code ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.date_of_birth')).'','value' => $member->dob?->format('Y-m-d') ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.date_of_birth')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->dob?->format('Y-m-d') ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.address')).'','value' => $member->address ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.address')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->address ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.subscription_type')).'','value' => $member->subscriptionType?->name ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.subscription_type')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->subscriptionType?->name ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.start_date_subscription')).'','value' => $member->start_date_subscription?->format('Y-m-d') ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.start_date_subscription')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->start_date_subscription?->format('Y-m-d') ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.end_date_subscription')).'','value' => $member->end_date_subscription?->format('Y-m-d') ?? '-']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.end_date_subscription')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->end_date_subscription?->format('Y-m-d') ?? '-')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.created_at')).'','value' => $member->created_at]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.created_at')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->created_at)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginal40a0879f2990b42acf60bffd404c55f9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal40a0879f2990b42acf60bffd404c55f9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.view-col','data' => ['label' => ''.e(__('dashboard.updated_at')).'','value' => $member->updated_at]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('view-col'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['label' => ''.e(__('dashboard.updated_at')).'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($member->updated_at)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $attributes = $__attributesOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__attributesOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal40a0879f2990b42acf60bffd404c55f9)): ?>
<?php $component = $__componentOriginal40a0879f2990b42acf60bffd404c55f9; ?>
<?php unset($__componentOriginal40a0879f2990b42acf60bffd404c55f9); ?>
<?php endif; ?>
                </div>
            </div>
        </div>

        <?php if($member->dependents->isNotEmpty()): ?>
        <div class="card mb-4">
            <div class="card-header d-flex justify-content-between align-items-center">
                <h5 class="card-title mb-0"><?php echo e(__('dashboard.dependents')); ?></h5>
                <a href="<?php echo e(route('admin.dependents.create')); ?>?member_id=<?php echo e($member->id); ?>" class="btn btn-sm btn-success">
                    <i class="ri-add-line"></i> <?php echo e(__('dashboard.add_dependent')); ?>

                </a>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th><?php echo e(__('dashboard.name')); ?></th>
                                <th><?php echo e(__('dashboard.relationship')); ?></th>
                                <th><?php echo e(__('dashboard.phone')); ?></th>
                                <th><?php echo e(__('dashboard.status')); ?></th>
                                <th><?php echo e(__('dashboard.actions')); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $member->dependents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dependent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($dependent->name); ?></td>
                                <td><?php echo e(\App\Enums\RelationEnum::label($dependent->relation)); ?></td>
                                <td><?php echo e($dependent->phone ?? '-'); ?></td>
                                <td><?php echo \App\Enums\MemberStatusEnum::badge($dependent->status); ?></td>
                                <td>
                                    <a href="<?php echo e(route('admin.dependents.show', $dependent)); ?>" class="btn btn-sm btn-soft-info"><i class="ri-eye-line"></i></a>
                                    <a href="<?php echo e(route('admin.dependents.edit', $dependent)); ?>" class="btn btn-sm btn-soft-primary"><i class="ri-pencil-line"></i></a>
                                </td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <?php endif; ?>

        <?php if($member->parkings->isNotEmpty()): ?>
        <div class="card mb-4">
            <div class="card-header">
                <h5 class="card-title mb-0"><?php echo e(__('dashboard.parkings')); ?></h5>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th><?php echo e(__('dashboard.car_number')); ?></th>
                                <th><?php echo e(__('dashboard.make')); ?></th>
                                <th><?php echo e(__('dashboard.model')); ?></th>
                                <th><?php echo e(__('dashboard.qr_code')); ?></th>
                                <th><?php echo e(__('dashboard.status')); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $member->parkings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $parking): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><a href="<?php echo e(route('admin.parkings.show', $parking)); ?>"><?php echo e($parking->car_number); ?></a></td>
                                <td><?php echo e($parking->make ?? '-'); ?></td>
                                <td><?php echo e($parking->model ?? '-'); ?></td>
                                <td><?php echo e($parking->qr_code ?? '-'); ?></td>
                                <td><?php echo \App\Enums\ParkingStatusEnum::badge($parking->status); ?></td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <?php endif; ?>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/takwgzfj/montsportscamp.com/resources/views/admin/members/show.blade.php ENDPATH**/ ?>