@extends('layouts.app') @section('content')
{{ $product->name }} @if($product->barcode) · {{ $product->barcode }} @endif
| Date | Movement | Branch | Recorded by | Before | Change | After |
|---|---|---|---|---|---|---|
| {{ \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. | ||||||