@extends('layouts.admin.app', ['page' => $menuAdmin['customers']['active'] ?? '', 'sub_page' => $menuAdmin['customers']['route']['customers']['sub_active'] ?? null]) @section('title', $customer->name ?? __('labels.customer_details')) @section('header_data') @php $page_title = $customer->name ?? __('labels.customer'); $page_pretitle = __('labels.customer_details'); @endphp @endsection @php $breadcrumbs = [ ['title' => __('labels.home'), 'url' => route('admin.dashboard')], ['title' => __('labels.customers'), 'url' => route('admin.customers.index')], ['title' => $customer->name ?? __('labels.customer'), 'url' => null], ]; @endphp @section('admin-content')
{{ $customer->referral_code }}
| {{ __('labels.full_name') }} | {{ $customer->name ?? 'N/A' }} |
| {{ __('labels.email') }} | {{ $customer->email ?? 'N/A' }} |
| {{ __('labels.mobile') }} | {{ $customer->mobile ?? 'N/A' }} |
| {{ __('labels.country') }} | {{ $customer->country ?? 'N/A' }} |
| {{ __('labels.country_code') }} | {{ $customer->country_code ?? 'N/A' }} |
| {{ __('labels.referral_code') }} | {{ $customer->referral_code ?? 'N/A' }} |
| {{ __('labels.friends_code') }} | {{ $customer->friends_code ?? 'N/A' }} |
| {{ __('labels.reward_points') }} | {{ getCurrencySymbol() . $customer->reward_points ?? 0 }} |
| {{ __('labels.email_verified') }} | @if ($customer->email_verified_at) {{ $customer->email_verified_at->format('d M Y H:i') }} @else {{ __('labels.not_verified') }} @endif |
| {{ __('labels.mobile_verified') }} | @if ($customer->mobile_verified_at) {{ $customer->mobile_verified_at->format('d M Y H:i') }} @else {{ __('labels.not_verified') }} @endif |
| {{ __('labels.login_type') }} | {{ ucfirst($customer->logged_in_type?->value ?? 'N/A') }} |
{{ __('labels.no_addresses_found') }}