@props(['order']) {{-- mm:ss until the order is cancelled if nothing happens - the same instant the mobile apps count down to (Order::cancellationDeadline) and the deadline sweep enforces. Nothing is stored: the time left is always expires_at minus the browser clock. At zero it does not act. The sweep runs once a minute, so it re-asks the server every 15s until the order has actually moved on - the row/modal then re-renders without a deadline and this element goes away. wire:key carries expires_at so a new deadline re-initialises the timer. --}} @php($deadline = $order?->deadlinePayload()) @if ($deadline) merge(['class' => 'inline-block font-semibold']) }} > @endif