@extends('layouts.app') @section('title', 'Purchase Orders') @section('content')
@foreach($orders as $o)@endforeach
PO #SupplierAmountStatusDate
{{ $o->po_number }}{{ $o->supplier->name ?? '' }}KES {{ number_format($o->total_amount) }}{{ ucfirst($o->status) }}{{ $o->created_at->format('d M') }}
{{ $orders->links() }}
@endsection