@extends('layouts.master') @php $fromPersetujuan = $fromPersetujuan ?? false; @endphp @section('title', $fromPersetujuan ? 'Persetujuan PO' : 'Detail Purchase Order') @section('styles') @endsection @section('content')
| No | Kode | Nama Barang | Jenis | Satuan | Qty | Tgl. ED | Harga Beli | Subtotal |
|---|---|---|---|---|---|---|---|---|
| {{ $no + 1 }} | {{ $item->kode_barang }} | {{ $item->nama_barang }} | {{ $item->jenis_barang ?? '—' }} | {{ $item->satuan_beli }} | {{ number_format($item->qty) }} | {{ $item->tgl_ed ? $item->tgl_ed->format('d-m-Y') : '—' }} | Rp {{ number_format($item->harga_beli, 0, ',', '.') }} | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |
| Subtotal | Rp {{ number_format($po->subtotal, 2, ',', '.') }} | |||||||
| DPP (11/12 × Subtotal) | Rp {{ number_format($po->dpp, 2, ',', '.') }} | |||||||
| PPN 12% | Rp {{ number_format($po->ppn, 2, ',', '.') }} | |||||||
| Total Harga | Rp {{ number_format($po->total_harga, 2, ',', '.') }} | |||||||