{{-- the category form (flow م۹, slice 5الف; پ۵-۱). posts the name and, for every product it RENDERED, its id (`products[]`), «مجاز» (with a hidden «0» twin) and the special spreads — a product not on this page is never touched (+PARTIAL-SAVE). the price columns are the SERVER's: computed at render and, while typing, read again from the preview route; the script never computes a price (+STATE-TRUTH). without the script the form still saves and the page shows the prices after saving. --}} @extends('layouts.mz') @php $old = fn (string $field, int $id, string $default) => old($field . '.' . $id, $default); @endphp @section('title', $group ? 'دستهٔ ' . $group->name : 'دستهٔ تازه') @section('credit', '1') @section('nav') @include('panel._nav') @endsection @section('content')
{{ session('mz.saved') }}
@endif @if ($errors->any())چیزی ذخیره نشد. خطای زیر هر فیلد را ببینید.
@endif @if ($group)این دسته هنوز عضوی ندارد. دستهٔ هر مشتری در «حساب مشتری» صفحهٔ همان مشتری تعیین میشود.
@else