@extends('layouts.app') @section('title', 'Stock Movement History') @section('content')
| Timestamp | Product | Warehouse | Type | Qty | User | Notes |
|---|---|---|---|---|---|---|
|
{{ $move->created_at->format('M d, H:i') }}
{{ $move->created_at->diffForHumans() }}
|
{{ $move->product->name }}
{{ $move->product->sku }}
|
{{ $move->warehouse->name }} | @php $m_colors = ['in' => 'success', 'out' => 'danger', 'transfer' => 'info', 'adjustment' => 'warning']; @endphp {{ $move->type }} | {{ $move->type == 'out' ? '-' : '+' }}{{ number_format($move->quantity, 2) }} | {{ $move->user->name ?? 'System' }} | {{ Str::limit($move->notes ?? '-', 30) }} |
| No stock movements recorded. | ||||||