{{-- the state of one order (PRD §2 ج۳ steps 6–7, flow ج۴; slice 3), rendered ONLY here: by the order page and by its 2-second read. while pending: the seller's countdown from the SERVER clock (demo #45) and «انصراف» (demo #31). every ending has its message AND its way on (+NO-DEAD-END, the ج۳ step 7 table). --}} @php $number = \App\Support\Digits::toPersian((string) $order->id); $again = $order->status === \App\Orders\OrderStatus::REJECTED || $order->status === \App\Orders\OrderStatus::EXPIRED; @endphp
{{ $statusLabel }} زمان باقیمانده برای پاسخ فروشنده: {{ \App\Support\Display::countdown($secondsLeft) }}
قیمت این سفارش قفل شده است و با همین مبلغ معامله میشود. پاسخ فروشنده همینجا میآید؛ این صفحه را میتوانید ببندید و دوباره باز کنید.
@break @case(\App\Orders\OrderStatus::APPROVED)معامله تأیید شد و در حساب شما ثبت شد.
@if ($autoApproved ?? false) {{-- slice 5ب (flow ج۴ «تأیید خودکار»): approved the moment it was placed, no waiting window --}}این سفارش همان لحظهٔ ثبت، خودکار تأیید شد.
@endif @break @case(\App\Orders\OrderStatus::REJECTED)تأیید نشد — {{ $reason !== '' ? $reason : 'فروشنده دلیلی ننوشت' }}
@break @case(\App\Orders\OrderStatus::EXPIRED)فروشنده در زمان مقرر پاسخ نداد. چیزی از حساب شما کم یا زیاد نشد.
@break @case(\App\Orders\OrderStatus::CANCELLED)سفارش لغو شد. چیزی از حساب شما کم یا زیاد نشد.
@break @case(\App\Orders\OrderStatus::VOIDED) {{-- slice 4ب (پ۴-۳): the void, its reason, and that its effect was returned — no balance figure here --}}این معامله به دست فروشنده ابطال شد — {{ $reason !== '' && $reason !== null ? $reason : 'فروشنده دلیلی ننوشت' }}. اثر آن از حساب شما برگشت داده شد.
@break @default {{-- no other status exists today; a future one still says its word --}}{{ $statusLabel }}
@endswitchتوضیح شما: {{ $note }}
@endif