{{-- «سفارشها» = the archive (slice 10; PRD پ۶, پ۱۰-۱; flow م۱۰): one GET filter (it works without a script) over every order, newest first, 50 to a page; no field = today. a refused field is said under itself and NO list is drawn (+SILENT-DISCARD). «خروجی اکسل» downloads exactly these rows (the same query string); its script only changes the button's words while the file is made. «خرید» / «فروش» are the CUSTOMER's words; the mobile is in full. --}} @extends('layouts.mz') @section('title', 'سفارشها') @section('credit', '1') @section('nav') @include('panel._nav') @endsection @section('content')
همهٔ سفارشها، تازهترین بالا. بی فیلتر، سفارشهای امروز (از نیمهشب تهران) دیده میشوند. «خرید» و «فروش» از دید مشتری است. سفارشهای در انتظار را در صف زنده تأیید یا رد کنید؛ تراز هر روز در تراز روزانه است.
@if (session('mz.warning')){{ session('mz.warning') }}
@endif @if ($filter->errors !== [])فیلتر اعمال نشد و فهرستی نشان داده نمیشود. خطای زیر هر فیلد را ببینید، یا «امروز» یا «همهٔ سفارشها» را بزنید.
@elseif ($rows === [] && $page->onFirstPage()){{ $filter->today ? 'امروز هنوز سفارشی ثبت نشده است.' : 'در این فیلتر سفارشی نیست (' . $filter->describe() . ').' }}
این صفحه ردیفی ندارد؛ فهرست کوتاهتر از این است.
| شماره | زمان ثبت | مشتری | نوع | کالا | وزن یا تعداد | عیار | قیمت قفلشده | مبلغ دقیق | وضعیت | حسابداری |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['number'] }} | {{ $row['when'] }} |
@if ($row['customer'] !== null)
{{ $row['customer'] }} |
{{ $row['side'] }} | {{ $row['product'] }} | {{ $row['quantity'] }} | {{ $row['purity'] }} | {{ $row['price'] }} | {{ $row['amount'] }} | {{ $row['status'] }} @if ($row['reason'] !== null)دلیل: {{ $row['reason'] }}@endif @if ($row['void_url'] !== null)ابطال@endif | {{ $row['accounting'] }} |