@extends('layouts.app') @section('title','Detail Pembelian') @section('page-title','Detail Pembelian') @section('content')
{{ $purchase->date->format('d F Y') }} — {{ $purchase->supplier?->name }}
| Produk | Qty | Harga Beli | Subtotal |
|---|---|---|---|
| {{ $item->product?->name }} | {{ $item->quantity }} {{ $item->product?->unit }} | Rp {{ number_format($item->unit_price,0,',','.') }} | Rp {{ number_format($item->subtotal,0,',','.') }} |
| Subtotal | Rp {{ number_format($purchase->subtotal,0,',','.') }} | ||
| Diskon | - Rp {{ number_format($purchase->discount,0,',','.') }} | ||
| Pajak | Rp {{ number_format($purchase->tax,0,',','.') }} | ||
| Total | Rp {{ number_format($purchase->total,0,',','.') }} | ||