{{-- the seller panel's first page = the live queue (PRD §3 پ۱, flow م۲; slice 3), with «سفارش‌های امروز» under it. without the script it is a plain page that F5 refreshes and whose buttons are plain posts. with it: the queue is re-read every 2 s, a new order appears without a reload and with a SOUND (demo #38) — the browser only lets a page play sound after one click, so the bar says so — the countdowns run, and a failed read says «اتصال برقرار نیست» and switches every button off until a read succeeds (no action on stale data). --}} @extends('layouts.mz') @section('title', 'صف سفارش‌ها') @section('credit', '1') @section('nav') @include('panel._nav') @endsection @section('content')

صف سفارش‌ها

{{-- slice 6ب (debt 21): the freshness of the central prices this seller's products follow, replaced by every read --}}
@include('panel._price-health', ['health' => $alerts['health']])

مرورگر تا یک بار روی صفحه نزنید صدای هشدار سفارش تازه را پخش نمی‌کند.

@if (session('mz.saved'))

{{ session('mz.saved') }}

@endif @if (session('mz.refused'))

{{ session('mz.refused') }}

@endif

@foreach ($cards as $card) @include('panel._queue-card', ['card' => $card]) @endforeach

آخرین خواندن صف: ساعت {{ $readAt }}

{{-- slice 10 (PRD پ۳ «کنار صف … تراز امروز»): read with the page and every 30 seconds by its own script, never in the 2-second read --}}
@include('panel._daily-card')

سفارش‌های امروز

@include('panel._today')
@endsection