@extends("layouts.app")

@section("content")
<div class="container">
    <h1>Garment Add-on Details</h1>
    <div class="card">
        <div class="card-body">
            <h5 class="card-title">{{ $garmentAddon->name }}</h5>
            <p class="card-text"><strong>Consumption:</strong> {{ $garmentAddon->consumption }} {{ $garmentAddon->unit }}</p>
            <p class="card-text"><strong>Garment Type:</strong> {{ $garmentAddon->garment_type }}</p>
            <p class="card-text"><strong>Description:</strong> {{ $garmentAddon->description }}</p>
            <p class="card-text"><strong>Status:</strong> {{ $garmentAddon->is_active ? "Active" : "Inactive" }}</p>
            <a href="{{ route("garment_addons.edit", $garmentAddon->id) }}" class="btn btn-warning">Edit</a>
            <a href="{{ route("garment_addons.index") }}" class="btn btn-secondary">Back to List</a>
        </div>
    </div>
</div>
@endsection


