@extends('layouts.master') @section('title') My Orders @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Supplier Portal @endslot @slot('title') My Orders @endslot @endcomponent
Purchase Orders awarded to {{ $supplier?->name }}
{{ $orders->count() }} order(s)
@if($orders->isEmpty())
You have no purchase orders yet. When the JCF awards you an order it will appear here, where you can view the PO and confirm receipt.
@else
@foreach($orders as $req) @php $po = $req->purchaseOrders->sortByDesc('id')->first(); @endphp @endforeach
PO #ReferenceStatusValueAction
{{ $po?->po_number ?? '—' }} {{ $req->reference_no }} {{ $req->status_label }} {{ $po ? $po->currency.' '.number_format($po->total,2) : '—' }} @if($po) View PO Delivery Sheet @endif Details
@endif
@endsection