@extends('layouts.app') @section('content')

Product History

{{ $product->name }} @if($product->barcode) · {{ $product->barcode }} @endif

Back to Products
@forelse($movements as $movement) @empty @endforelse
DateMovementBranchRecorded byBeforeChangeAfter
{{ \Illuminate\Support\Carbon::parse($movement->created_at)->format('d M Y H:i') }} {{ \App\Support\StockMovementSource::label($movement->source) }} {{ $movement->branch_name ?? '–' }} {{ $movement->recorded_by ?? '–' }} {{ rtrim(rtrim(number_format($movement->quantity_before, 4), '0'), '.') }} {{ $movement->quantity_change > 0 ? '+' : '' }}{{ rtrim(rtrim(number_format($movement->quantity_change, 4), '0'), '.') }} {{ rtrim(rtrim(number_format($movement->quantity_after, 4), '0'), '.') }}
No recorded stock movements for this product.
{{ $movements->links() }}
@endsection