@extends('layouts.app') @section('title', 'Stock Movements') @section('breadcrumb')
Complete audit trail of every stock in and out
| Date & Time | Product / Variant | Type | Direction | Qty | Before | After | Reference | By |
|---|---|---|---|---|---|---|---|---|
| {{ $movement->created_at->format('d M Y H:i') }} |
{{ $movement->productVariant->product->name }}
{{ $movement->productVariant->variant_name }}
|
@php $tc = ['purchase'=>'success','sale'=>'primary','adjustment'=>'warning','return'=>'info','damage'=>'danger','loss'=>'danger','transfer'=>'secondary']; @endphp {{ ucfirst($movement->movement_type) }} | {{ strtoupper($movement->direction) }} | {{ $movement->direction === 'in' ? '+' : '-' }}{{ $movement->quantity }} | {{ $movement->before_qty }} | {{ $movement->after_qty }} | {{ $movement->reference ?? '—' }} |
{{ $movement->creator->name }} |
| No stock movements found. | ||||||||