{{-- the seller's page of ONE order (slice 10, flow م۱۰ «هر ردیف به صفحهٔ معامله با تاریخچهٔ کامل وضعیت‌ها می‌رود»; debts 35 and 46): the figures locked when it was placed, the customer's note, every status move with who made it and why, the ledger rows it wrote, its accounting events, and «ابطال» while it is approved. read-only; nothing is computed again. --}} @extends('layouts.mz') @section('title', 'سفارش ' . $number) @section('credit', '1') @section('nav') @include('panel._nav') @endsection @section('content')

سفارش {{ $number }} {{ $status }}

@if (session('mz.saved'))

{{ session('mz.saved') }}

@endif

معامله

@foreach ($figures as $term => $value)
{{ $term }}
{{ $value }}
@endforeach
مشتری
@if ($customer !== null) {{ $customer->name }} @else — @endif
@if ($note !== null)

توضیح مشتری: {{ $note }}

@endif
@if ($voidUrl !== null)ابطال معامله@endif بازگشت به سفارش‌ها

تاریخچهٔ وضعیت

    @foreach ($history as $move)
  1. {{ $move['what'] }} {{ $move['when'] }}

    {{ $move['who'] }}

    @if ($move['reason'] !== null)

    دلیل: {{ $move['reason'] }}

    @endif
  2. @endforeach

دفتر و حسابداری

@if ($entries === [])

این سفارش تأیید نشده است، پس ردیف دفتر و رخداد حسابداری ندارد.

@else @endif
@endsection