@extends('layouts.app') @section('title', 'Inventory purchases') @section('content')
Active POs
{{ $st['active'] ?? 0 }}
Pending delivery
{{ $st['pending_delivery'] ?? 0 }}
Partially received
{{ $st['partial'] ?? 0 }}
This month value
{{ \App\Support\Format::mwkDecimal($st['month_value'] ?? 0) }}
| PO # | Supplier | Project | PO date | Expected | Items | Total | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $o->po_number }} | {{ $o->supplier?->company_name }} | {{ $o->project?->name ?? '—' }} | {{ $o->po_date?->format('Y-m-d') }} | {{ $o->expected_delivery_date?->format('Y-m-d') ?? '—' }} | {{ $o->items->count() }} | {{ \App\Support\Format::mwkDecimal($o->total_amount) }} | {{ $o->status }} | View @if(in_array($o->status, ['Ordered', 'Partially Received'], true)) Receive @endif |
| No purchase orders yet. | ||||||||
New purchase order