@extends('backend.template.layouts.template-base') @section('title', "Today's Salad Preparation | " . config('app.name')) @section('styles') {{-- Reuses the project's existing admin design system (Card-border stat cards, nav-tabs, table-search-box/js-example-basic-single filters, status-btn badges, DataTables, Bootstrap modal) — no new design language introduced. .cm-stat-icon is the same small helper class already used on the Customers page (customers/index.blade.php). The rest below is a purely visual polish pass — hover lift + colored accent on the stat tiles, a nicer Salad Summary header, a rotating collapse chevron, and a softened table container — no markup was changed in a way that affects the DataTable/filter/status JS. --}} @endsection @section('content') @php $routeName = 'backend.template.salad-preparation.index'; @endphp
@if (session('error')) @endif

Today's Salad Preparation

Vital Kitchen > Today's Salad Preparation

{{-- ── Summary Cards ─────────────────────────────────────────── --}} {{-- 8 tiles = 2 rows of 4: row 1 "what to make" (by source), row 2 "where it is" (kitchen → delivery). --}}
@include('backend.template.salad-preparation.partials.summary-cards')
{{-- ── Salad Summary ─────────────────────────────────────────── --}}
Salad Summary
{{-- Export the rollup over a timeline (any date range, up to 62 days) — one row per date × salad plus whole-period totals. Defaults to the page's date. --}}
Export to
{{-- Collapse target is a wrapper AROUND #spSaladSummary, not the element itself — the filter JS replaces that element's innerHTML on every change, so the collapse must not live on it. --}} {{-- Collapsed by default: the production queue below is the main working view, so the rollup starts out of the way. --}}
@include('backend.template.salad-preparation.partials.salad-summary')
{{-- ── Production Queue (tabs + filters + DataTable) ─────────── --}}
{{-- Filters — same report-card recipe as the table below: white card, bordered header with an uppercase label and a text-style Reset link, body with the filter controls. --}}
Filters
Show entries
{{-- No .table-responsive wrapper here: its horizontal scroll would stop DataTables Responsive from detecting overflow, so the off-screen columns (Delivery Status, Action) would never collapse into the +/- show/hide control. --}}
Production No Salad Name Qty Customer Order Source Delivery Person Delivery Slot Kitchen Status Delivery Status Action
0-0 of 0 results
{{-- ── Detail Modal (same style as Manage Inventory's Update Stock Modal) ── --}} @endsection @section('scripts') @endsection