{{-- --}} @if(\Illuminate\Support\Facades\Auth::user()->department_id != \App\Constants\DepartmentConstant::ADMIN) @else @endif @if (count($customers)) @foreach($customers as $k => $c) @if(\Illuminate\Support\Facades\Auth::user()->department_id != \App\Constants\DepartmentConstant::ADMIN) @else @endif @endforeach @else @endif
STT Khách hàng SĐT Lịch hẹn Đơn hàng Doanh số Doanh thu Còn nợMô tảSale Mô tảTrạng thái Chi nhánh
{{ $k +1 }} {{@$c->customer->full_name}} {{ str_limit(@$c->customer->phone,7,'xxx') }} {{@$c->schedules->count()}} {{@$c->orders->count()}} {{@number_format($c->orders->sum('all_total'))}} {{@number_format($c->orders->sum('gross_revenue'))}} {{@number_format($c->orders->sum('all_total') - $c->orders->sum('gross_revenue'))}} {{@$c->sale->full_name}} {!! Form::select('the_rest', \App\Models\CustomerCampaign::statusLabel, @$c->status, array('class' => 'form-control status', 'data-id'=> $c->id,'placeholder'=>'Tất cả trạng thái')) !!} {{@$c->customer->branch->name}}
Không tồn tại dữ liệu
{{ 'Tổng số ' . $customers->total() . ' bản ghi ' . (request()->search ? 'found' : '') }}
{{ $customers->links() }}