| {{ $th('product', 'Product') }} | Supplier | Client / project | {{ $th('quantity', 'Quantity') }} | {{ $th('needed_by', 'Needed by') }} | {{ $th('status', 'Status') }} |
|---|---|---|---|---|---|
| {{ $p->product }} @if ($changed)New changes@endif @if ($p->comments_count > 0) @php $readAt = $threadViews[$p->id] ?? null; $unread = $p->last_other_comment && (! $readAt || \Illuminate\Support\Carbon::parse($p->last_other_comment)->gt($readAt)); @endphp @endif | {{ $p->supplier?->name ?? '—' }} | {{ $p->order ? $p->order->client : ($p->project ?: '—') }} | {{ number_format($p->quantity) }} | {{ $p->needed_by->format('d.m.Y') }}@if ($p->isOverdue()) overdue@endif | @include('purchases._status', ['status' => $p->status]) |
| No purchases found. | |||||
Loading ...
@include('purchases._composer')