{{-- the printable copy of a statement (slice 4ج, flow ج۵ «نسخهٔ چاپی»; built by App\Ledger\StatementPrint for the app and the panel alike). a document of its own, not the app layout: no menu, a header for paper, and its OWN @page in its own style (+CSS-SCOPE, +PRINT-NOT-PDF — the browser's «Save as PDF» makes the PDF). the vendored font and the bidi isolation are the screen's. «چاپ» is a script button shown only when the script runs; without it the browser's own print does the same. $rows = null ⇒ the filter was refused or keeps more than $limit rows. --}} گردش حساب {{ $customer->name }} — {{ $seller->name }} @vite(['resources/css/mz-app.css', 'resources/js/mz-app.js'])
برگشت به گردش حساب برای PDF، در پنجرهٔ چاپ «ذخیره به‌صورت PDF» را انتخاب کنید.

گردش حساب

{{-- slice 15ب: the pieces of a line split by a drawn rule (debt 50), the number in its one shape (debt 79) --}}

{{ $seller->name }}@if ($seller->contact_phone)تلفن @endif

مشتری
{{ $customer->name }}
بازه
{{ $filter->errors === [] ? $filter->describe() : '—' }}
تهیه‌شده
{{ $madeAt }}
واحدها
@if ($bounds !== null) {{-- slice 5د۱: the silver balance beside the gold one when this customer's screens show silver --}} @foreach (['start' => 'ماندهٔ ابتدای بازه', 'end' => 'ماندهٔ پایان بازه'] as $edge => $edgeLabel)
{{ $edgeLabel }}
{{-- slice 5ه۱: then each coin the customer's balances show, by name and count --}}
{{ $bounds[$edge]['rial'] }}{{ $bounds[$edge]['metal'] }} طلای ۷۵۰@isset($bounds[$edge]['silver']){{ $bounds[$edge]['silver'] }} نقرهٔ ۹۹۹@endisset @foreach ($bounds[$edge]['coins'] ?? [] as $coinTitle => $coinFigure){{ $coinFigure }} {{ $coinTitle }}@endforeach
@endforeach @endif
@if ($filter->errors !== [])
برگشت و اصلاح فیلتر
@elseif ($rows === null)
برگشت و کوچک کردن بازه
@elseif ($rows === [])

{{ $filter->typeLabel() !== null ? 'در این بازه ردیفی از نوع «' . $filter->typeLabel() . '» نیست.' : 'در این بازه ردیفی نیست.' }}

@else @if ($withBalance && $filter->type !== null)

ستون «مانده پس از ردیف» ماندهٔ کل حساب پس از همان ردیف است، نه جمع ردیف‌های این فیلتر.

@endif
@include('ledger._statement-table', ['rows' => $rows, 'withBalance' => $withBalance, 'forSeller' => false])

{{ \App\Support\Display::number(count($rows)) }} ردیف، تازه‌ترین بالا.

@endif