@extends('layouts.app') @section('title', 'Stock details - UniformFlow') @section('page-heading', 'Stock details') @section('content')
Uniform catalogue

Stock specifications & views.

Maintain materials, colors, care details, and front/back reference images for every uniform type.

View stock balances
@if(request('search')){{ $items->total() }} result(s) for “{{ request('search') }}”@endif
@forelse($items as $item)
{{ strtoupper(substr($item->name, 0, 2)) }}
{{ $item->code }}

{{ $item->name }}

{{ $item->variants->count() }} sizes / {{ $item->variants->sum('quantity') }} available units
{{ $item->material ? 'Documented' : 'Needs details' }}
@csrf @method('PUT')
@empty
{{ request('search') ? 'No stock details match your search.' : 'Add a uniform type in Inventory before entering stock details.' }}
@endforelse
@if($items->hasPages())@endif @endsection