@extends('layouts/base_view') @section('title') {!! $variables['header_routes'] !!} @endsection @section('content')

Profil End User

Nama{{ $endUser->full_name }}
No. HP{{ $endUser->phone }}
Email{{ $endUser->email ?? '-' }}
Tgl Lahir{{ $endUser->birth_date?->format('d/m/Y') ?? '-' }}
Alamat{{ $endUser->address ?? '-' }}
Verifikasi @if($endUser->is_verified) Verified @else Unverified @endif
Total Poin {{ number_format($endUser->total_points, 0, ',', '.') }}
Terdaftar{{ $endUser->created_at?->format('d/m/Y H:i') ?? '-' }}
Login Terakhir{{ $endUser->last_login_at?->format('d/m/Y H:i') ?? '-' }}

Riwayat Klaim

@forelse($endUser->claims as $claim) @empty @endforelse
Tanggal Promosi IMEI Status Poin
{{ $claim->claimed_at?->format('d/m/Y') }} {{ $claim->promotion->name ?? '-' }} {{ $claim->imei }} {!! $claim->status_badge !!} {{ number_format($claim->points_awarded, 0, ',', '.') }}
Belum ada klaim.

Riwayat Poin

@forelse($endUser->pointTransactions->take(20) as $tx) @empty @endforelse
Tanggal Deskripsi Tipe Poin
{{ $tx->created_at?->format('d/m/Y') }} {{ $tx->description ?? '-' }} {!! $tx->type_badge !!} {{ $tx->formatted_points }}
Belum ada transaksi poin.
@include('partials.audit-log')
@endsection