@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')

Search

@include('admin.components.elements.location')
@include('admin.components.elements.channel')
@include('admin.components.forms.search-rangedate')
@if($isResult)
@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')
@endif
@include('admin.order.elements.delete-confirm') @endsection @include('admin.order.elements.static')