{{-- «کالاها» (flow م۷, slice 1): what a customer sees for each side — the price, or why it is closed. --}} @extends('layouts.mz') @section('title', 'کالاها') @section('credit', '1') @section('nav') @include('panel._nav') @endsection @section('content')
{{ session('mz.saved') }}
@endif @if ($rows->isEmpty())هنوز کالایی نساختهاید. همکاران تا وقتی کالایی با قیمت و طرف باز نباشد، چیزی برای معامله نمیبینند.
| کالا | قیمت مرجع | خرید مشتری | فروش مشتری |
|---|---|---|---|
|
{{ $row['product']->title }}
|
{{ $row['reference'] ?? 'قیمت ندارد' }} | @foreach (['buy', 'sell'] as $side)@if ($row['sides'][$side]['refusal'] === null) باز {{ $row['sides'][$side]['price'] }} @else بسته {{ $row['sides'][$side]['refusal'] }} @if ($row['sides'][$side]['price'] !== null) ({{ $row['sides'][$side]['price'] }}) @endif @endif {{-- slice 5د۲: a percent spread and the rials it gives at this reference --}} @if ($row['spreads'] !== null) {{ $row['spreads'][$side] }} @endif | @endforeach