@extends('admin.layouts.master') @section('title') العملاء @endsection @section('css') @endsection @section('content-header')

العملاء

@endsection @section('content')
@if(!auth('employee')->check())
اضافه عميل جديد
@endif
@include('admin.messages') {{-- --}} @foreach($data as $row) @include('admin.clients.sendboot') @include('admin.clients.deleted') @include('admin.clients.change') @include('admin.clients.changeStatus') @endforeach
# اسم العميل رقم العميل تاريخ اضافة العميل القناه المشترك فيها حالة العميل حاله البوتشاشة المحادثة اسم المشترك اسم الموظف العمليات
{{$loop->index+1}}
{{$row->name}} {{$row->phone}} {{Carbon\Carbon::createFromDate($row->start_date)->format('Y-m-d')}} {{$row->channel->name ?? null}} {{$row->status->name ?? null}} {{$row->messages_count_noTread()}} {{$row->subscriber->name ?? 'الاداراه'}} {{$row->employee->name ?? 'الاداراه'}}
{!! $data->appends(['sort' => 'department'])->links() !!}
@if(!auth('employee')->check()) @endif @endsection @section('js') @endsection