@extends("layouts.app")

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


