@extends('layouts.app') @section('title', 'Purchase Order') @section('content')
Daftar ini hanya menampilkan PO yang masih berjalan. PO yang sudah selesai otomatis dipindah ke Draft (Laporan).
| No. PO | No. Request | Vendor | Total | Status | Tanggal | Aksi |
|---|---|---|---|---|---|---|
| {{ $po->kode }} | @if($po->purchase_request_id) {{ $po->purchaseRequest->kode }} @else Langsung (Tanpa PR) @endif | {{ $po->vendorNames() }} @if($po->isMultiVendor())Multi-Vendor@endif | Rp {{ number_format($po->items->sum(fn($i) => $i->qty * $i->harga_satuan), 0, ',', '.') }} | {{ $po->statusLabel() }} @if($po->butuhReminder()) Belum Lengkap @endif | {{ $po->created_at->format('d M Y') }} |
|
| Belum ada Purchase Order. | ||||||