@extends('layouts.app') @section('title', 'Stock Adjustments') @section('content')
| Date & Time | Product | Type | Quantity Change | Previous Qty | New Qty | Price Change | Reason | By |
|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($adjustment->created_at)->format('M d, Y H:i') }} |
@if($adjustment->product)
{{ $adjustment->product?->name ?? 'Deleted Product' }}
SKU: {{ $adjustment->product->sku }} @if($adjustment->batch) Batch: {{ $adjustment->batch->batch_no }}{{ $adjustment->batch->expiry_date ? ' (exp ' . $adjustment->batch->expiry_date->format('d M Y') . ')' : '' }} @endif @else Product Deleted @endif |
{{ $adjustment->adjustment_type_text }} | {{ $adjustment->quantity_change }} | {{ number_format($adjustment->previous_quantity) }} | {{ number_format($adjustment->new_quantity) }} | @if($adjustment->previous_price != $adjustment->new_price) {{ formatCurrency($adjustment->previous_price) }} → {{ formatCurrency($adjustment->new_price) }} @else No change @endif | {{ $adjustment->reason }} | {{ $adjustment->user->name }} |
| No stock adjustments found | ||||||||