@extends('layouts.admin') @section('title', 'Stock Management') @section('subtitle', 'View and manage inventory levels') @section('actions')
📋 View Movements 🔄 Transfer Stock
@endsection @section('content') {{-- Summary Cards --}}

Total Products

{{ number_format($summary['total_products']) }}

Low Stock

{{ number_format($summary['low_stock']) }}

Out of Stock

{{ number_format($summary['out_of_stock']) }}

{{-- Filters --}}
{{-- Stock Table --}}
@forelse($stock as $item) @empty @endforelse
Product SKU Branch Current Stock Min Level Status Actions
{{ $item->name_en }}
{{ $item->category->name_en ?? 'Uncategorized' }}
{{ $item->sku }} @if($item->branch_name) {{ $item->branch_name }} @else No Stock @endif {{ number_format($item->quantity ?? 0, 2) }} {{ number_format($item->min_stock) }} @if(($item->quantity ?? 0) <= 0) Out of Stock @elseif(($item->quantity ?? 0) <= $item->min_stock) Low Stock @else In Stock @endif Adjust

No products found

@if($stock->hasPages())
{{ $stock->links() }}
@endif
@endsection