@extends('layouts.app') @section('title', 'App User Profile - Admin Panel') @section('page_title', 'App User Details') @section('content') @if(session('success'))
| Google UID | {{ $app_user->google_uid ?? 'N/A' }} |
|---|---|
| Full Name | {{ $app_user->name }} |
| {{ $app_user->email }} | |
| Gender | {{ ucfirst($app_user->gender ?? 'N/A') }} |
| Mobile Number | {{ $app_user->mobile ? ($app_user->country_code . ' ' . $app_user->mobile) : 'N/A' }} |
| Available Credits | {{ $app_user->credits }} |
| Account Status |
@if($app_user->is_suspended)
Suspended
@if($app_user->suspension_status_at)
Suspended on:
@endif
Suspension Reason:
@else
Active
@if($app_user->suspension_status_at)
{{ $app_user->suspension_reason ?? 'No reason provided' }}
Unsuspended on:
@endif
@endif
|
| Registered Date |
| Device Name | Brand | Model | System | App Version | Type | Carrier | Device Registered At | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $device->deviceName ?? 'N/A' }} | {{ $device->brand ?? 'N/A' }} | {{ $device->model ?? 'N/A' }} | {{ $device->systemName ?? 'N/A' }} {{ $device->systemVersion ?? '' }} | v{{ $device->appVersion ?? 'N/A' }} ({{ $device->buildNumber ?? 'N/A' }}) | {{ ucfirst($device->deviceType ?? 'N/A') }} @if($device->isTablet) Tablet @endif | {{ $device->carrier ?? 'N/A' }} | View Device | |
| No devices registered for this user. | ||||||||
Gender: {{ ucfirst($profile->gender) }}
Birth Place: {{ $profile->birth_place ?? 'N/A' }}
Created:
| TX ID | Date & Time | Action | Amount | Remaining | Expires At | Description |
|---|---|---|---|---|---|---|
#TX-{{ str_pad($tx->id, 5, '0', STR_PAD_LEFT) }} |
@if($tx->type === 'addition') Added @elseif($tx->type === 'deduction') Deducted @else {{ ucfirst($tx->type) }} @endif | {{ $tx->amount > 0 ? '+' : '' }}{{ $tx->amount }} | @if($tx->amount > 0 && in_array($tx->type, ['addition', 'refund'])) {{ $tx->remaining_amount }} / {{ $tx->amount }} @else N/A @endif |
@if($tx->expires_at)
|
{{ $tx->description }} | |
| No credit transactions recorded. | ||||||