| @forelse($user_filter_list as $key => $item) @if($key == 4) @if(\Illuminate\Support\Facades\Auth::user()->department_id == 3) | Tin nhắn | @endif @else{{$item}} | @endif @empty @endforelseChỉnh sửa | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ date('d-m-Y H:i:s', strtotime($customer->created_at)) }} |
@if($customer->FB_ID)
@else
@endif
{{ $customer->full_name }}
{{ $customer->groupComments->count() }}
@if(!empty($customer->social_link))
({{$customer->account_code}}) |
{{ auth()->user()->permission('phone.open')? $customer->phone :str_limit($customer->phone,7,'xxx') }} @if(!empty($customer->call_back)) @endif | @if(\Illuminate\Support\Facades\Auth::user()->department_id == \App\Constants\DepartmentConstant::MARKETING)@endif | {{str_limit($customer->group_text,30)}} | {{ @$customer->status->name }} | {{ @$customer->telesale->full_name }} | {{-- | {{$customer->expired_text}} | --}} {{--{{@$customer->time_move}} | --}}{{@$customer->branch->name}} | {{str_limit($customer->group_tips,30)}} | {{count($customer->genitive)?implode(', ',$customer->genitive->pluck('name')->toArray()):''}} | {{@$customer->carepage->full_name}} | {{@$customer->cskh->full_name}} | {!! $customer->schedules_text !!} | {{ date('d-m-Y', strtotime($customer->birthday)) }} | {{ @$customer->marketing ? @$customer->marketing->full_name: '' }} | {{ @$customer->source_customer->name}} | {{ @$customer->facebook}} | {{ $customer->gender_text }} | {{ count($customer->orders) }} | {{ number_format($customer->SumAllTotal) }} | {{ number_format($customer->TotalRevenue)}} | {{ number_format($customer->wallet) }} | ||
| Không tồn tại dữ liệu | |||||||||||||||||||||||||||