{{-- the order sheet (PRD §2 ج۳ steps 2–3, flow ج۳ «برگهٔ سفارش», slice 2). the customer types the weight OR the amount and the purity; every figure is computed by the SERVER from the locked offer (calc), the script only shows it. without the script the form is a plain post and «ادامه» shows the same figures on the confirmation. the limits and what is left of today's cap are shown BEFORE the order (demo #47). fields start empty, never «0» (demo #1); 16px inputs so iOS does not zoom (demo #49). --}} @extends('layouts.mz') @php $value = fn (string $field, string $default = '') => old($field, $prefill[$field] ?? $default); @endphp @section('title', $sideWord . ' ' . $product->title) @section('nav') @include('colleague._nav') @endsection @section('content')

{{ $sideWord }} «{{ $product->title }}»

قیمت {{ $priceUnit }} برای {{ $sideWord }} شما: {{ $unitPrice }}

@include('colleague._lock') @include('colleague._presence')
@if ($limits['min'] || $limits['max'] || $limits['remaining'])

حدهای این معامله

@endif @if ($errors->any()) @endif
@csrf @if ($coin) {{-- slice 5ه۱ (owner plan question 10): a coin is ordered by its COUNT only — no amount mode, no purity; the amount is count × the locked price per coin, exact --}}
چند سکه؟ فقط عدد صحیح. مبلغ = تعداد × قیمت هر عدد.

@else

با نوشتن مبلغ، بیشترین وزنی که مبلغش از آن بیشتر نشود حساب می‌شود. فقط یکی از وزن یا مبلغ را بنویسید.

{{ $silver ? 'در هزار؛ ۹۹۹ یعنی نقرهٔ خالص.' : 'در هزار؛ ۷۵۰ یعنی ۱۸ عیار.' }} عیار همان قطعه‌ای را بنویسید که معامله می‌کنید.
@endif @if ($noteRules['enabled']) {{-- slice 5ج۲ (decision 70): only while the seller has it on. NO maxlength — a browser would cut a pasted note silently; the server refuses a longer one under this field with its length (+SILENT-DISCARD). typing here does not re-ask the server for the figures (.stop), which the note does not change; and its error has no data-error-for, so the figures' live read never clears a refusal it did not judge --}}
حداکثر {{ \App\Support\Display::number($noteRules['max']) }} نویسه. فروشنده آن را کنار سفارش می‌بیند.
@endif
@include('colleague._order-summary', ['summary' => null, 'coin' => $coin])
برگشت به قیمت‌ها @if ($seller->contact_phone) {{-- the way out of a debt-cap or limit refusal (پ۴-۶ «دکمهٔ تماس با فروشنده») --}} تماس با فروشنده @endif
@endsection