@extends('layouts.public') @section('content') @php use App\Services\Cart; /** * @var array $items * @var float $subtotal * @var array|null $restaurant * @var array $totals CartController::totals() * * The basket itself lives in partials/cart-lines.php so that ONE piece of markup serves both this * full-page render and the /cart/fragment repaint after an AJAX change. Before that split there was * no repaint path at all: an upsell added from the recommendation band posted successfully and the * diner went on looking at a stale line list and a stale total until they reloaded. */ @endphp