@extends('layouts.admin') @section('title', 'Daftar Pembelian - ' . $purchase->purchase_code) @section('content')
| No | Item | Unit | Quantity | Harga Satuan | Total |
|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $item->item_name }}
{{ ucfirst($item->item_type) }}
@if ($itemData)
@if ($item->item_type === 'material')
{{ $itemData->material_code ?? '-' }}
@if($itemData->category) • {{ $itemData->category }} @endif
@else
{{ $itemData->part_code ?? '-' }}
@if($itemData->brand) • {{ $itemData->brand }} @endif
@endif
@endif
|
{{ $item->unit ?? '-' }} | {{ number_format($item->quantity, 0, ',', '.') }} | Rp {{ number_format($item->unit_price, 0, ',', '.') }} | Rp {{ number_format($item->total_price, 0, ',', '.') }} |
| Total Pembelian: | Rp {{ number_format($purchase->total_amount, 0, ',', '.') }} | ||||
{{ $purchase->notes }}
Dibuat pada:
{{ \Carbon\Carbon::parse($purchase->created_at)->format('d F Y, H:i') }} WIB
Terakhir diperbarui:
{{ \Carbon\Carbon::parse($purchase->updated_at)->format('d F Y, H:i') }} WIB