@php $current_page = $current_page ?? 1; $page_size = $page_size ?? config('constant.limit.admin'); @endphp
{{trans('admin::order.item.label')}} | {{trans('admin::order.name.label')}} | {{trans('admin::order.date.created_at')}} | {{trans('admin::order.date.modified_at')}} | {{trans('admin::order.address.label')}} | {{trans('admin::order.phone.label')}} | {{trans('admin::order.product.label')}} | {{trans('admin::order.media.label')}} | Lalamove | {{trans('admin::message.status.label')}} | Action |
---|---|---|---|---|---|---|---|---|---|---|
{{ 'ORDER' . $m->id }} | {{ $m->fullname }} | {{ $m->created_at }} | {{ $m->updated_at }} | {{ $m->address }} | {{ $m->phone }} |
@if(!empty($m->promotion_name ?? '')){{trans('admin::order.promotion.label')}}: {{$m->promotion_name}} @endif @php $product = isset($listProduct[$i]) ? $listProduct[$i] : (isset($listProduct[$m->id]) ? $listProduct[$m->id] : []); $quanlity = 0; $price = 0; $subtotal = 0; if($product != null && count($product) > 0){ foreach($product as $item1) { $quanlity = $item1->quanlity; $price = $item1->price; echo '' . $item1->quanlity . ' x ' . $item1->title . ' '; // echo ' - Số lượng : ' . $item1->quanlity . ' '; $subtotal += $item1->quanlity * $item1->price; } if($m->promocode != '') { $discount = Common::numberFormat($m->discount) . ' VND'; echo 'Mã giảm giá: ' . $m->promocode . ' - ' . $discount . ' '; } if($m->totalprice != '' || $m->totalprice == '0'){ echo trans('admin::order.amount.label') . ': ' . Common::numberFormat($m->totalprice) . ' VND' . ' '; } else{ echo trans('admin::order.amount.label') . ': ' . Common::numberFormat($subtotal) . ' '; } if ($m->payment_amount) { $label = $m->payment_amount === $m->totalprice ? 'text-success">' : 'text-danger">'; echo 'Đã thanh toán: ' . strtoupper($m->paymentstatus) . ""; } } } @endphp |
@if($m->channel == 'Sapporo Landing Page') Website @elseif($m->channel == 'Leadbridge') Facebook @else @if($m->channel != '') {{ $m->channel }} @else Other @endif @endif |
{{ $m->customerOrderId }} {{ $m->delivery_status }} |
@php $orderColor = config('status.order_color.' . $m->status); $orderStatus = config('status.order.' . $m->status); @endphp {{trans('admin::message.status.' . $orderStatus)}} | $m->id]) }}")' title="Delete" title=""> |