@extends('admin.layouts.master') @section('customer', 'active') @section('title') {{ $data['title'] ?? '' }} @endsection @push('style') @endpush @php $user = $data['user']; @endphp @section('content')

{{ $data['title'] ?? '' }}

View Customer

@if ($user->phone) @endif @if ($user->email_verified_at) @endif @if($user->user_plan_id) @endif {{-- Document Verify --}} @if ($user->verification && $user->verification_document && $user->verification->document_verified == 0 && Auth::user()->can('admin.customer.edit')) @csrf @endif {{-- Full Photo Verify --}} @if ($user->verification && $user->full_photo && $user->verification->photo_verified == 0 && Auth::user()->can('admin.customer.edit')) @csrf @endif @if($user->receivedTrades->count() > 0) @endif
Customer Name {{ $user->name }}
Customer Email {{ $user->email }}
Customer Phone {{ $user->phone }}
Registered At {{ now()->parse($user->created_at)->format('d-m-Y h:i:s a') }}
Account Status @if($user->status == 1) Active @else In-Active @endif
Account Verified At {{ now()->parse($user->email_verified_at)->format('d-m-Y h:i:s a') }}
Current Plan Name {{$user->currentPlan->plan->name}}
Current Plan Validity {{ date('d M Y', strtotime($user->currentPlan->expired_date))}}
Buyer Feedback
@endsection