| # | Mã đơn | landing Ngày data về |
Sale Ngày nhận data |
Họ tên | Tin nhắn | Trạng thái KH | T/G tác nghiệp | Chuyển vể CSKH | Sản phẩm | SL | Tổng tiền | Trạng thái đơn hàng | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{@$key+1}} | @if(count($item->orders) && $item->orders->last())
{{@$item->orders->last()->code}}
({{@$item->orders->last()->wareHouse->username}}) ({{@$item->orders->last()->wareHouse->name}}) |
{{--{{@str_limit($item->orders->last()->code,5,'xxxx')}} | --}} @else@endif |
{{@$item->source->name}}
({{\App\Helpers\Functions::dayMonthYear($item->created_at)}}) |
{{@$item->sale->name}}
({{@$item->sale->username}}) ({{$item->date_sale_nhan_data ? \App\Helpers\Functions::dayMonthYear($item->date_sale_nhan_data) : \App\Helpers\Functions::dayMonthYear($item->created_at)}}) |
{{@$item->name}} {{@$item->phone}} @if($item->customer_old) @endif |
{{----}}
|
|
{!! @$item->expired_text !!} | {!! @$item->time_move !!} | {!! @$item->order_text->products !!} | {{--{{@number_format($item->sum_quantity)}} | --}}{!! count($item->orders) ? @$item->orders->last()->order_text['product_quantity'] : '' !!} | {{@number_format($item->total_price)}} | {{----}} {{-- | --}} {{-- | --}} {{--@if (count($item->orders))--}} {{--{{dd($item->orders->last())->orderStatus->name}}--}} {{--@endif--}} @if(count($item->orders) && $item->orders->last()->status == 0) | Đã lưu đơn | @else{{count($item->orders)?@$item->orders->last()->orderStatus->name:""}} | @endif
| Không có dữ liệu | |||||||||||||||||||