@extends('admin.layout') @section('content')
{{ $obat->nama }}
{{ $obat->kategori->nama ?? 'Tidak ada kategori' }}
{{ $obat->created_at->format('d M Y H:i') }}
{{ $obat->updated_at->format('d M Y H:i') }}
{{ $detail->pembelian->supplier->nama }}
{{ $detail->pembelian->tanggal_pembelian->format('d M Y') }}
{{ $detail->jumlah }} {{ $detail->satuan }}
Rp {{ number_format($detail->harga_beli, 0, ',', '.') }}
Kadaluarsa: {{ $detail->expired_at->format('d M Y') }}
@endifBelum ada riwayat pembelian
@endif