@extends('layouts.admin') @section('title', 'User Details') @section('content')
{{ ucfirst($user->role) }}
{{ ucfirst($user->status) }}{{ $user->email }}
{{ $user->phone }}
{{ $user->created_at->format('M d, Y') }}
{{ $user->last_login_at ? $user->last_login_at->diffForHumans() : 'Never' }}
| User ID | #{{ $user->id }} |
|---|---|
| Full Name | {{ $user->full_name }} |
| {{ $user->email }} @if($user->email_verified_at) Verified @endif | |
| Phone | {{ $user->phone }} @if($user->phone_verified_at) Verified @endif |
| Account Type | {{ ucfirst(str_replace('_', ' ', $user->account_type)) }} |
| Role | {{ ucfirst($user->role) }} |
| Status | {{ ucfirst($user->status) }} |
| Date of Birth | {{ $user->date_of_birth ?? 'Not provided' }} |
| Registered | {{ $user->created_at->format('M d, Y h:i A') }} |
| Last Updated | {{ $user->updated_at->format('M d, Y h:i A') }} |
| Last Login | {{ $user->last_login_at ? $user->last_login_at->format('M d, Y h:i A') : 'Never' }} |
| Business Name | {{ $user->business->business_name }} |
|---|---|
| License Number | {{ $user->business->trade_license_number }} |
| Status | {{ ucfirst($user->business->status) }} |
| Subscription | {{ ucfirst($user->business->subscription_status) }} |
| Total Venues | {{ $user->business->total_venues }} |
| Total Offers | {{ $user->business->total_offers }} |
| Plan | Status | Start Date | End Date |
|---|---|---|---|
| {{ $subscription->plan->name ?? 'N/A' }} | {{ ucfirst($subscription->status) }} | {{ $subscription->start_date->format('M d, Y') }} | {{ $subscription->end_date->format('M d, Y') }} |
No subscriptions
{{ $user->created_at->format('M d, Y h:i A') }}
{{ $user->email_verified_at->format('M d, Y h:i A') }}
{{ $user->last_login_at->format('M d, Y h:i A') }}