{{-- --}} @if (count($orders)) @foreach($orders as $order) {{-- --}} @endforeach @else @endif
Trừ liệu trình C.Nhánh Ngày tạo Ng.hết hạn Tên SP Loại đơnNgười thực hiệnTư vấn viên Buổi còn lại Số tiền DH Đã thanh toán Còn lại Thao tác
@if($order->count_day > 0 && Auth::user()->role != \App\Constants\UserConstant::CSKH) @endif {{ @$order->branch->name }} {{ date('d/m/Y',strtotime($order->created_at)) }} {{ @$order->hsd}} @foreach($order->orderDetails as $orderDetail) {{ @$orderDetail->service->name }}, @endforeach {{ $order->name_type }}{{ @$order->customer->marketing->full_name }}{{@getUser($order->support_id)->full_name}} {{ $order->count_day }} {{ number_format($order->all_total) }} {{ number_format($order->gross_revenue) }} {{ number_format($order->the_rest) }} @if (Auth::user()->role == \App\Constants\UserConstant::ADMIN||Auth::user()->role == \App\Constants\UserConstant::WAITER||Auth::user()->role == \App\Constants\UserConstant::CSKH) @endif
Không tồn tại dữ liệu
@if (count($orders))
{{ 'Tổng số ' . $orders->total(). ' bản ghi ' . (request()->search ? 'found' : '') }}
{{ $orders->appends(['search' => request()->search ])->links() }}
@endif
@include('customers.modal_order') @include('customers.modal_update_history_order')