@extends('admin.layout') @section('title', 'Riwayat Pergerakan Stok') @section('content')
| Tanggal | Produk | Tipe | Jumlah | Stok Sebelum | Stok Sesudah | Catatan |
|---|---|---|---|---|---|---|
| {{ $m->created_at->format('d/m/Y H:i') }} | {{ $m->product->name ?? '-' }} | @if($m->type === 'in') {{ $m->type_label }} @elseif($m->type === 'out') {{ $m->type_label }} @else {{ $m->type_label }} @endif | {{ $m->type === 'out' ? '-' : '+' }}{{ $m->quantity }} | {{ $m->stock_before }} | {{ $m->stock_after }} | {{ $m->notes ?? '-' }} |
| Belum ada riwayat pergerakan stok. | ||||||