@extends('layouts.admin') @section('page-title', 'جزئیات مشتری') @section('main')

{{ $customer->full_name }}

مشاهده اطلاعات کامل مشتری

{{ mb_substr($customer->first_name ?? 'C', 0, 1) }}

{{ $customer->full_name }}

@if($customer->business_name)

{{ $customer->business_name }}

@endif
@if($customer->is_active) فعال @else غیرفعال @endif @if($customer->category) {{ $customer->category->name }} @endif

اطلاعات شخصی

نام و نام خانوادگی
{{ $customer->full_name }}
شماره موبایل
{{ $customer->mobile }}
@if($customer->national_code)
کد ملی
{{ $customer->national_code }}
@endif @if($customer->birth_date)
تاریخ تولد
{{ \Morilog\Jalali\Jalalian::fromDateTime($customer->birth_date)->format('Y/m/d') }}
@endif @if($customer->business_name)
نام کسب و کار
{{ $customer->business_name }}
@endif
دسته‌بندی
{{ $customer->category?->name ?? '—' }}
تاریخ ثبت
{{ \Morilog\Jalali\Jalalian::fromDateTime($customer->created_at)->format('Y/m/d H:i') }}
آخرین بروزرسانی
{{ \Morilog\Jalali\Jalalian::fromDateTime($customer->updated_at)->format('Y/m/d H:i') }}
@if($customer->notes)

یادداشت‌های داخلی

{{ $customer->notes }}

@endif

سرویس‌ها

{{ $customer->services->count() }} سرویس
@if($customer->services->count() > 0)
@foreach($customer->services as $service) @endforeach
سرویس دامنه مبلغ تاریخ تمدید وضعیت عملیات
{{ $service->product?->name ?? 'نامشخص' }}
{{ $service->domain ?? '—' }} {{ number_format($service->price) }} تومان @if($service->next_due_date) {{ \Morilog\Jalali\Jalalian::fromDateTime($service->next_due_date)->format('Y/m/d') }} @else — @endif @if($service->status === 'active') فعال @elseif($service->status === 'pending') در انتظار @elseif($service->status === 'suspended') تعلیق @else {{ $service->status }} @endif مشاهده
@else

هنوز سرویسی برای این مشتری ثبت نشده است

@endif
@endsection