@extends("layouts.app")

@section("content")
<div class="container">
    <h1>Knitting Type Details</h1>
    <div class="card">
        <div class="card-body">
            <h5 class="card-title">{{ $knittingType->name }}</h5>
            <p class="card-text"><strong>Charge:</strong> {{ $knittingType->charge }} USD/kg</p>
            <p class="card-text"><strong>Description:</strong> {{ $knittingType->description }}</p>
            <p class="card-text"><strong>Status:</strong> {{ $knittingType->is_active ? "Active" : "Inactive" }}</p>
            <a href="{{ route("knitting_types.edit", $knittingType->id) }}" class="btn btn-warning">Edit</a>
            <a href="{{ route("knitting_types.index") }}" class="btn btn-secondary">Back to List</a>
        </div>
    </div>
</div>
@endsection


