{{-- a manual document for one customer (slice 4ب, flow م۵): the five kinds as links on top, and the form of ONE kind — it renders exactly App\Ledger\ManualDocument::FIELDS[$kind] and nothing else (+PARTIAL-SAVE twin). «ادامه» goes to the preview with the balances after; nothing is written before «ثبت سند» there. a refusal comes back here with its reason under the field, and a duplicate reference links the earlier document (flow م۵ table). --}} @extends('layouts.mz') @section('title', 'سند دستی') @section('credit', '1') @section('nav') @include('panel._nav') @endsection @php $has = fn (string $field) => in_array($field, $fields, true); $adjustment = $kind === \App\Models\LedgerEntry::KIND_ADJUSTMENT; @endphp @section('content')
این مشتری غیرفعال است: وارد اپ نمیشود و معاملهای برایش ثبت نمیشود، ولی سند دستی (مثلاً تسویهٔ بدهی) هنوز ثبت میشود.
@endif @include('ledger._balances') @if ($errors->any())سند ثبت نشد. خطای زیر هر فیلد را ببینید.
@endif @endsection