@extends('backend.template.layouts.template-base') @section('title', 'Order Management | ' . config('app.name')) @section('styles') @endsection @section('content') @php $routeName = 'backend.template.order-management.index'; @endphp @php // The default "Today" range is not an active filter; anything else is. $hasActiveFilters = collect($filters)->only(['q', 'payment_method', 'delivery_type']) ->filter(fn ($value) => $value !== null && $value !== '') ->isNotEmpty() || !$filters['range_is_default']; @endphp Manage Orders Stats Filters New Orders Create Manual Order @include('backend.template.order-management.partials.stats') @include('backend.template.order-management.partials.tabs') All Payments COD Online All Delivery Now Scheduled Reset @include('backend.template.order-management.partials.list') @include($selectedSaladOrder ? 'backend.template.order-management.partials.detail-salad' : 'backend.template.order-management.partials.detail') @endsection @section('scripts') @endsection