@extends('layouts.admin') @section('title', 'Detail Pembelian - SI Apotek') @section('content')
Tanggal Transaksi
{{ \Carbon\Carbon::parse($purchase->date)->format('d M Y') }}
Dibuat Oleh
{{ $purchase->user->name }}
Supplier
{{ $purchase->supplier->name }}
Total Transaksi
Rp {{ number_format($purchase->total_amount, 0, ',', '.') }}
| Nama Obat | Batch / ED | Qty | Harga Beli | Subtotal |
|---|---|---|---|---|
|
{{ $item->medicine->name }} {{ $item->medicine->code }} |
{{ $item->batch_number ?? '-' }} ED: {{ \Carbon\Carbon::parse($item->expired_date)->format('d/m/Y') }} |
{{ $item->qty }} {{ $item->medicine->unit->name ?? '' }} | Rp {{ number_format($item->purchase_price, 0, ',', '.') }} | Rp {{ number_format($item->subtotal, 0, ',', '.') }} |