Stock: {{ $product->product_current_stock }}
| Date | Type | Before | Change | After | User | Remark |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($log->created_at)->format('d M Y H:i') }} | {{-- Action Type --}}@if ($log->action_type == 'in') IN @elseif($log->action_type == 'out') OUT @else {{ strtoupper($log->action_type) }} @endif | {{-- Before --}}{{ $log->qty_before }} | {{-- Change --}}@if ($log->qty_change > 0) +{{ $log->qty_change }} @else {{ $log->qty_change }} @endif | {{-- After --}}{{ $log->qty_after }} | {{-- User --}}{{ $log->user_fullname ?? '-' }} | {{-- Remark --}}{{ $log->remark ?? '-' }} |
| No stock history | ||||||