{{-- «معاملات من» (PRD §2 ج۵, flow ج۴; slice 5ج۲, decision 72, debt 19): every order of this customer, newest first, 50 to a page. a LIST of linked rows, not a wide table, so it reads on a phone without sideways scrolling (owner plan #4). each row: the trade, its weight and amount, Jalali date and time, the status in the customer's words with the reason of a refusal or a void. no balance figure, ever; in the menu whatever «دیدن گردش» says. --}} @extends('layouts.mz') @section('title', 'معاملات من') @section('nav') @include('colleague._nav') @endsection @section('content')

معاملات من

@if ($rows->isEmpty() && $rows->onFirstPage())

هنوز سفارشی ثبت نکرده‌اید. با زدن «خرید» یا «فروش» روی کارت یک کالا، نخستین سفارش را ثبت کنید.

قیمت‌ها
@else
    @foreach ($rows as $row)
  1. {{ $row['when'] }} {{ $row['status'] }} @if ($row['reason'] !== null) دلیل: {{ $row['reason'] }} @endif
  2. @endforeach
@if ($rows->previousPageUrl() || $rows->nextPageUrl())
@if ($rows->previousPageUrl())سفارش‌های تازه‌تر@endif @if ($rows->nextPageUrl())سفارش‌های قدیمی‌تر@endif
@endif @endif @endsection