@extends('layouts.app') @section('title', $supplier->name) @section('page-title', 'Detail Supplier') @section('content')
| Nama | {{ $supplier->name }} |
| Telepon | {{ $supplier->phone ?? '—' }} |
| {{ $supplier->email ?? '—' }} | |
| Alamat | {{ $supplier->address ?? '—' }} |
| Tanggal | Barang | Qty | Harga/Satuan | Total |
|---|---|---|---|---|
| {{ $p->tanggal->format('d M Y') }} | {{ $p->barang->name ?? '-' }} | {{ $p->qty }} {{ $p->barang->satuan ?? '' }} | Rp {{ number_format($p->harga_satuan, 0, ',', '.') }} | Rp {{ number_format($p->total_harga, 0, ',', '.') }} |
| Belum ada riwayat pembelian | ||||