@extends('layouts.admin') @section('title', 'View Uniform') @section('page_title', 'View Uniform Details') @section('content')

{{ $uniform->name }}

Detailed information and inventory status.

General Information

{{ $uniform->name }}
@if($uniform->code) {{ $uniform->code }} @else Not Specified @endif
@if($uniform->active) Active @else Inactive @endif
{{ $uniform->description ?? 'No description provided.' }}

Inventory Variants

@forelse($uniform->variants as $variant) @empty @endforelse @if($uniform->variants->isNotEmpty()) @endif
Size Color Stock Quantity
{{ $variant->size ?: '-' }}
@if($variant->color) {{ $variant->color }} @else - @endif
{{ $variant->stock_quantity }}
No variants configured for this uniform.
Total Stock {{ $uniform->variants->sum('stock_quantity') }}

Metadata

Created At {{ $uniform->created_at->format('M d, Y') }}
Last Updated {{ $uniform->updated_at->format('M d, Y') }}
@endsection