@if(count($data)) @foreach($data as $key=>$item) @if(count($item->orders) && $item->orders->last()) @else @endif @endforeach @else @endif
Mã đơn Landing
Ngày data về
Bài viết Họ tên
Số điện thoại
Tin Nhắn Sale
Ngày nhận data
Kết quả
Ngày sale tác nghiệp
Sản phẩm SL Đơn giá Thành tiền CK Phí VC
Thu của khách
Khách đặt cọc Tổng tiền Kho
PTGH
Mã giao vận
Trạng thái
giao hàng
ĐSBN
{{@str_limit($item->orders->last()->code,5,'xxxx')}} {{@$item->source->name}}
({{@$item->marketing->username}})
{{$item->created_at}}
{{!empty($item->post_id) ? @$item->post_id:''}} {{@$item->name}}
{{@$item->phone}} @if($item->duplicate) @endif @if($item->customer_old) @endif
{{$item->message}} {{@$item->user->name}}
{{$item->date_sale_nhan_data}}
{!!(isset($item->statusGroup)?$item->statusGroup->name:'').'
' !!}
{{$item->updated_at}}

{{$item->messages != "" && $item->messages != "[]" ? json_decode($item->messages)[0]->message : ''}}
{!! $item->product_text !!} {!! count($item->orders) ? @$item->orders->last()->order_text['product_quantity'] : '' !!} {!! count($item->orders) ? @$item->orders->last()->order_text['product_price'] : '' !!} {!! count($item->orders) ? @$item->orders->last()->order_text['product_total_price'] : '' !!} {{count($item->orders) ? @number_format($item->orders->last()->discount) : ''}} {{count($item->orders) ? @number_format($item->orders->last()->ship_price) : ''}} {{count($item->orders) ? @number_format($item->orders->last()->advance_price) : ''}} {{count($item->orders) ? @number_format($item->orders->last()->total+$item->orders->last()->advance_price) : ''}} {{count($item->orders) ? @$item->orders->last()->depot->name : ''}} {{count($item->orders) ? @$item->orders->last()->orderStatus->name : ''}}
Không có bản ghi nào.
@if($data->currentPage() == $data->lastPage()) ({{$data->total()}}/{{$data->total()}}) @else ({{$data->currentPage()*$data->perPage()}}/ {{$data->total()}}) @endif {{$data->links()}}