@php $list = $orders->items ?? []; $total = $orders->total ?? 0; $nameMin = config('constant.name.min'); $nameMax = config('constant.name.max'); $addUrl = route('order.create'); $refreshUrl = route('order.index'); $advanceUrl = route('order.search'); @endphp @extends('shared.admin') @section('content')

Orders

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