@php $customers_count = 0; @endphp @foreach(@$statuses as $k => $item) @php $customers_count += $item->customers_count; @endphp @endforeach
{{$customers->firstItem()}} - {{$customers->lastItem()}}
{{ $customers->appends(['search' => request()->search ])->links('vendor.pagination.simple-bootstrap-4') }}
Sinh nhật hôm nay {{----}}
{{----}} @if (count($customers)) @if(count($customers) <7) @endif @foreach($customers as $key => $customer) {{----}} @endforeach @else @endif
STT Ngày tạo KH Họ tên SĐT Nhóm KH Trạng Thái Người phụ trách Mô tả C.NhánhNhóm tính cáchLich Hẹn Ngày sinh Người tạo KH Nguồn KH Link FB Giới tính Mã KH Số đơn Tổng doanh thu Đã thanh toán Còn lại Chỉnh sửa
{{ $rank ++ }} {{ date('d-m-Y H:i:s', strtotime($customer->created_at)) }} {{ $customer->full_name }} {{ $customer->groupComments->count() }} {{ $customer->phone }} {{str_limit($customer->group_text,30)}} {{ @$customer->status->name }} {{ @$customer->telesale->full_name }} {{@$customer->branch->name}}{{ @$customer->genitive->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 }} {{ $customer->account_code }} {{ count($customer->orders) }} {{ number_format($customer->orders->sum('all_total')) }} {{ number_format($customer->orders->sum('gross_revenue')) }} {{ number_format($customer->orders->sum('the_rest')) }}
Không tồn tại dữ liệu
{{ 'Tổng số ' . $customers->total() . ' khách hàng ' . (request()->search ? 'found' : '') }}
{{ $customers->appends(['search' => request()->search ])->links() }}
@include('customers.modal_view')