@extends('layouts.app') @section('title', 'Purchase Order') @section('breadcrumb') Pembelian Purchase Order @endsection @section('content')
Kelola pembelian bahan baku dan kebutuhan produksi dari supplier
| No. PO | Supplier | Tgl PO | Tgl Kirim | Total | Status | Status Bayar | Dibuat Oleh | Aksi |
|---|---|---|---|---|---|---|---|---|
| {{ $po->no_po }} |
{{ $po->supplier->nama ?? '-' }}
{{ $po->supplier->telepon ?? '' }}
|
{{ $po->tgl_po?->format('d/m/Y') }} | {{ $po->tgl_kirim?->format('d/m/Y') }} | Rp {{ number_format($po->total, 0, ',', '.') }} | {{ $statusLbl }} | @php $bayarCls = ['belum'=>'pf-status-draft','dp'=>'pf-status-pending','lunas'=>'pf-status-selesai'][$po->status_bayar] ?? 'pf-status-draft'; @endphp {{ ucfirst($po->status_bayar ?? 'belum') }} | {{ $po->createdBy->name ?? '-' }} |