@extends('layouts.admin') @section('title','Products & Stock')@section('page_heading','Products & Stock') @section('content')

Products & Stock

Add Product

@csrf
@forelse($products as $p)@empty@endforelse
ProductSKUPurchase ₹Sale ₹GST %StockLow StockUpdateStock Adjustment
@csrf @method('PUT')
@if($p->image_path)Image saved@endif
{{ $p->stock_quantity }}
@csrf
No products found.
{{ $products->links() }}

Recent Stock Ledger

@forelse($movements as $m)@empty@endforelse
DateProductMovementQuantity ChangeBalanceReason
{{ $m->created_at->format('d-m-Y H:i') }}{{ $m->product?->name ?? 'Deleted product' }}{{ $m->movement_type }}{{ $m->quantity_change > 0 ? '+' : '' }}{{ $m->quantity_change }}{{ $m->balance_after }}{{ $m->reason }}
No stock movements yet.
@endsection