@extends('layouts.app') @section('title', 'Detail Barang') @section('page-title', $item->description) @section('content')
| Kode | {{ $item->code }} |
|---|---|
| Kategori | {{ $item->category->name }} |
| Merek/Tipe | {{ $item->brand_type ?: '-' }} |
| Satuan | {{ $item->unit }} |
| Unit Size | {{ $item->unit_size ?? '-' }} |
| Stok Saat Ini | {{ $item->current_stock }} {{ $item->unit }} |
| Stok Minimum | {{ $item->minimum_stock }} |
| Status | {{ ucfirst($item->stockStatus()) }} |
| Batch | Masuk | Sisa |
|---|---|---|
| {{ $b->batch_no }} {{ $b->received_at->format('d/m/Y') }} |
{{ $b->quantity_in }} | {{ $b->quantity_remaining }} |
| Tidak ada batch. | ||
| Tgl & Jam | Tipe | Qty | Stok | Oleh | Keterangan |
|---|---|---|---|---|---|
| {{ $t->transaction_at->format('d/m/Y H:i') }} | {{ $t->type }} | @if($t->type==='RCD' || ($t->type==='ADJ' && $t->quantity>0)) +{{ abs($t->quantity) }} @else -{{ abs($t->quantity) }} @endif | {{ $t->stock_before }} → {{ $t->stock_after }} | {{ $t->user->name }} | {{ $t->notes ?: '-' }} |
| Belum ada transaksi. | |||||