@extends('layout.app') @section('_style') @php $roleGlobal = auth()->user()?:[]; @endphp @endsection @section('content')
Số dư ví
{{ @$customer->telesale->full_name }}
Người phụ trách
Tổng doanh thu
{{ $customer->full_name.' ('.$customer->account_code.')' }}
{{ auth()->user()->permission('phone.open')? $customer->phone :str_limit($customer->phone,7,'xxx')}}
Chi nhánh:
{{ @$customer->branch->name }}
Nguồn KH:
{{ @$customer->source_customer->name }}
Người phụ trách:
{{ @$customer->telesale->full_name }}
CSKH:
{{ @$customer->cskh->full_name }}
Mệnh:
{{@\App\Models\Customer::five_elements[$customer->five_elements]}}
Thần số học:
{{ @$customer->numerology }}
Tử huyệt:
{{ @$customer->death }}
Điện thoại:
--}} {{-- --}} {{--Nhóm tính cách:
{{count($customer->genitive)?implode(', ',$customer->genitive->pluck('name')->toArray()):''}}
Sinh nhật:
{{ $customer->birthday }}
Mối quan hệ:
{{ @$customer->status->name }}
Nhóm dịch vụ (Nỗi đau chính):
{{ $customer->GroupText }}
Nhóm DV khai thác thêm:
{{ $customer->GroupTips }}
Sở thích:
{{ $customer->interest }}
Nghề nghiệp:
{{ $customer->job }}
Tính cách:
{{ $customer->facebook }}
Mô tả:
{{ $customer->description }}
Địa chỉ:
{{ $customer->address }}
Số đơn hàng:
{{ $customer->orders->count() }}
Tổng doanh số:
{{number_format($customer->SumAllTotal)}}
Tổng doanh thu:
{{number_format($customer->TotalRevenue)}}