@php $list = $orders->items ?? []; $total = $orders->total ?? 0; $refreshUrl = route('order.index'); $orderStatus = $orderStatus ?? 'pending'; $status = (int)array_search($orderStatus, config('status.order')); $locale = $locale ?? app()->getLocale(); $noLabel = true; @endphp @extends('shared.admin') @section('content')

Orders

@include('admin.order.components.summary-report') @include('admin.order.components.tab')
@include('admin.components.elements.location')
@include('admin.components.elements.channel')
@include('admin.order.components.table-order',[ 'list' => $orders->items ?? [], 'listProduct' => $orders->products ?? [], 'current_page' => $orders->page ?? 1, 'page_size' => config('constant.limit.admin'), 'isHidePage' => true ]) @include('admin.components.elements.paging')
@include('admin.order.elements.delete-confirm') @endsection @include('admin.order.elements.static')