<div>
    @section('title')
    Donor | IAEA
    @endsection
    <div class="content d-flex flex-column flex-column-fluid " id="kt_content">
        <!--begin::Subheader-->
        <div class="subheader py-2 py-lg-6 subheader-solid" id="kt_subheader">
            <div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
                <!--begin::Info-->
                <div class="d-flex align-items-center flex-wrap mr-1">

                </div>
                <!--end::Info-->

            </div>
        </div>
        <!--end::Subheader-->
        <!--begin::Entry-->
        <div class="d-flex flex-column-fluid">
            <!--begin::Container-->
            <div class="container">
                <!--begin::Container-->
                <div class="container">
                    <!--begin::Card-->
                    <div class="card card-custom gutter-b">
                        <div class="card-body">
                            <div class="d-flex">
                                <!--begin: Info-->
                                <div class="flex-grow-1">
                                    <!--begin::Title-->
                                    <div class="d-flex align-items-center justify-content-between flex-wrap">
                                        <!--begin::User-->
                                        <div class="mr-3">
                                            <div class="d-flex align-items-center mr-3">
                                                <!--begin::Name-->
                                                <a href="#" class="d-flex align-items-center text-dark text-hover-primary font-size-h5 font-weight-bold mr-3">{{$donor->name ?? '' }}</a>
                                                <!--end::Name-->
                                            </div>
                                            <!--begin::Contacts-->
                                            
                                            <!--end::Contacts-->
                                        </div>
                                        <div class="mr-3">

                                            <div class="px-4 mt-4 mb-10">
                                                <a href="{{url()->previous() ?? '' }}" class="btn btn-block btn-warning font-weight-bold text-uppercase py-2 px-4 text-center">Go back</a>
                                                <a href="{{url('engineers/donors/'.$donor->id.'/edit') ?? '' }}" class="btn btn-block btn-primary font-weight-bold text-uppercase py-2 px-4 text-center">Edit</a>
                                            </div>

                                        </div>
                                        <!--begin::User-->
                                    </div>
                                    <!--end::Title-->
                                    <!--begin::Content-->
                                    <div class="d-flex align-items-center flex-wrap justify-content-between row">
                                        <!--begin::Description-->

                                        <div class="w-half" style="padding:20px;margin:none">
                                            <img class="img-thumbnail" style="width:100%;border:none; width:200px" src="{{asset('public/'.$donor->image) ?? '' }}">
                                        </div>
                                        <!--end::Description-->
                                        <!--begin::Progress-->

                                        <!--end::Progress-->
                                    </div>



                                    <!--end::Content-->
                                </div>
                                <!--end::Info-->
                            </div>
                        </div>
                    </div>
                    <!--end::Card-->
                    <!--begin::Row-->
                    <div class="row">


                        <div class="col-xl-12">
                            <!--begin::Card-->



                            <!--end::Card-->
                            <!--begin::Card-->
                            <div class="card card-custom">
                                <!--begin::Header-->
                                <div class="card-header h-auto py-4">
                                    <div class="card-title">
                                        <h3 class="card-label">Details
                                            <span class="d-block text-muted pt-2 font-size-sm"></span></h3>
                                    </div>
                                </div>
                                <!--end::Header-->




                                <!--begin::Body-->
                                <div class="card-body py-4">


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Storage Type</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->storage_type ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Drive Name</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->name ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Serial No</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->serial_no ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Model No</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->model_no ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Pcb No</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->pcb_no ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Shelve</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->shelve ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Row</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->row ?? '' }}</span>
                                        </div>
                                    </div>


                                    <div class="form-group row my-2">
                                        <label class="col-4 col-form-label">Note</label>
                                        <div class="col-8">
                                            <span class="form-control-plaintext font-weight-bolder">{{$donor->note ?? '' }}</span>
                                        </div>
                                    </div>







                                </div>
                                <!--end::Body-->
                            </div>
                            <!--end::Card-->
                        </div>









                    </div>

                    <!--end::Inbox-->
                    <!--begin::Compose-->

                    <!--end::Compose-->
                </div>
                <!--end::Card-->
            </div>
        </div>
        <!--end::Row-->
    </div>
</div>
