@extends('layouts.app') @section('title', 'Stock Movement History - Pavitram Agroz') @section('content')

Immutable Stock Movement Audit Ledger

Permanent, tamper-evident log of every physical unit transaction across manufacturing, warehouses, and stores.

@forelse($movements as $mov) @empty @endforelse
Movement # Timestamp Unit Serial Product & Batch Movement Type From → To Facility Status Transition Responsible User
{{ $mov->movement_number }} {{ $mov->occurred_at->format('d M Y, H:i') }} @if($mov->unit) {{ $mov->unit->serial_number }} @else N/A @endif
{{ $mov->product->name ?? 'N/A' }}
{{ $mov->batch->batch_number ?? '' }}
{{ str_replace('_', ' ', $mov->movement_type) }}
From: {{ $mov->from_location_display }}
To: {{ $mov->to_location_display }}
{{ $mov->from_status ?? 'Init' }} → {{ $mov->to_status }} {{ $mov->user->name ?? 'System' }}
No stock movement records found matching criteria.
@if($movements->hasPages()) @endif
@endsection